/* ============================================================
   renewal.css  （白基調シネマティック v4 / 全ページ 3D）
   ホワイト × フロステッドガラス × 常駐3D × スクロール演出
   ※ 既存 style.css とは独立。文言は変更せずデザインのみ刷新
   ============================================================ */

:root {
  --bg:        #ffffff;
  --ink:       #0c1320;
  --text:      #1a1f29;
  --muted:     #5d6677;
  --faint:     #9aa3b2;
  --line:      rgba(12, 19, 32, 0.10);
  --line-soft: rgba(12, 19, 32, 0.055);
  --accent:    #1a56db;
  --accent-br: #4f86f7;
  --accent-bg: #eef3ff;
  --glass:     rgba(255, 255, 255, 0.66);
  --glass-strong: rgba(255, 255, 255, 0.82);

  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Outfit', sans-serif;

  --container: 1280px;
  --pad: clamp(20px, 5.5vw, 76px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-cine: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-ja); color: var(--text);
  background: transparent;          /* 背後の 3D キャンバスを見せる */
  line-height: 1.8; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
p { overflow-wrap: break-word; word-break: auto-phrase; }
h1, h2, h3 { word-break: keep-all; overflow-wrap: anywhere; font-weight: 700; color: var(--ink); }

/* ------------------------------------------------------------
   3D キャンバス（ページ全体の背後に固定）
------------------------------------------------------------ */
#rn-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.rn-page { position: relative; z-index: 2; }

/* ------------------------------------------------------------
   レイアウト共通
------------------------------------------------------------ */
.rn-container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { position: relative; }

/* フロステッドガラスのパネル（背後で 3D が透ける） */
.rn-panel {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  border-top: 1px solid rgba(255,255,255,0.7);
  border-bottom: 1px solid var(--line-soft);
}

.rn-eyebrow {
  font-family: var(--font-en); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 14px;
}
.rn-eyebrow::before { content: ''; width: 34px; height: 1px; background: var(--accent); }
.rn-section-title { font-size: clamp(28px, 4.6vw, 56px); line-height: 1.22; letter-spacing: -0.02em; margin-top: 22px; }

/* ------------------------------------------------------------
   シネマティック・リビール
------------------------------------------------------------ */
[data-reveal] {
  opacity: 0; transform: translateY(46px) scale(0.985); filter: blur(6px);
  transition: opacity 1.1s var(--ease-cine), transform 1.25s var(--ease-cine), filter 1.1s var(--ease-cine);
  transition-delay: var(--d, 0s); will-change: opacity, transform, filter;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }

.rn-mask { display: block; overflow: hidden; }
.rn-mask > span { display: block; transform: translateY(110%); transition: transform 1.15s var(--ease-cine); transition-delay: var(--d, 0s); }
.is-in .rn-mask > span, .rn-mask.is-in > span { transform: none; }

.rn-rule { height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease-cine); }
.rn-rule.is-in { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], .rn-mask > span, .rn-rule { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ============================================================
   ローダー
============================================================ */
/* ロゴが現れ、ネイビーの幕が上下に割れて開幕 */
.rn-loader { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.rn-loader__panel { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--ink); transition: transform 1.05s var(--ease-cine); will-change: transform; }
.rn-loader__panel--top { top: 0; }
.rn-loader__panel--bottom { bottom: 0; }
.rn-loader.is-done .rn-loader__panel--top { transform: translateY(-100%); }
.rn-loader.is-done .rn-loader__panel--bottom { transform: translateY(100%); }
.rn-loader.is-done { visibility: hidden; transition: visibility 0s linear 1.05s; }
.rn-loader__brand { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-cine); }
.rn-loader.is-done .rn-loader__brand { opacity: 0; transform: scale(1.04); transition-duration: 0.45s; }
.rn-loader__logo { width: 168px; opacity: 0; transform: translateY(14px) scale(0.96); animation: rnLogoIn 1.1s var(--ease-cine) 0.2s forwards; }
.rn-loader__line { width: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-br)); border-radius: 2px; animation: rnLineGrow 1.4s var(--ease-cine) 0.45s forwards; }
@keyframes rnLogoIn { to { opacity: 1; transform: none; } }
@keyframes rnLineGrow { to { width: 200px; } }

/* 開幕：幕が割れた後、ページ本体がふわっと迫り上がる */
.rn-page { opacity: 1; }
/* 開幕の迫り上がりはトップ（ローダーあり）のみ。サブページは遷移フェードに任せる */
body.rn-entered:not(.rn-sub) .rn-page { animation: rnPageIn 1.3s var(--ease-cine) 0.2s both; }
@keyframes rnPageIn { from { opacity: 0; transform: translateY(28px) scale(0.992); } to { opacity: 1; transform: none; } }

.rn-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-br)); z-index: 1000; }

/* ページ遷移オーバーレイ（上品なフェード）
   ・サブページは is-cover 付きで開始 → 読み込み後にフェードアウトして開幕
   ・内部リンククリックで is-cover を付与 → フェードで覆ってから遷移 */
.rn-transition {
  position: fixed; inset: 0; z-index: 9500; background: var(--bg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.7s var(--ease-cine), visibility 0s linear 0.7s;
}
.rn-transition.is-cover {
  opacity: 1; visibility: visible; pointer-events: all;
  transition: opacity 0.5s var(--ease-cine), visibility 0s;
}

/* ============================================================
   ヘッダー
============================================================ */
.rn-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 900; transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease); border-bottom: 1px solid transparent; }
.rn-header.is-scrolled { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line-soft); }
/* 端いっぱいに広げてロゴ＝左端・ナビ＝右端に（中央寄りを解消）*/
.rn-header__inner { max-width: none; display: flex; align-items: center; justify-content: space-between; height: 96px; }
.rn-header__logo img { height: 46px; width: auto; }

.rn-nav { display: flex; align-items: center; gap: 44px; }
.rn-nav__link { position: relative; display: flex; flex-direction: column; line-height: 1.2; padding: 4px 0; }
.rn-nav__link .en { font-family: var(--font-en); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink); }
.rn-nav__link .ja { font-size: 0.66rem; color: var(--muted); letter-spacing: 0.06em; }
.rn-nav__link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.rn-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.rn-nav__cta { font-family: var(--font-en); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; background: var(--ink); padding: 13px 28px; border-radius: 999px; transition: background 0.35s var(--ease), transform 0.35s var(--ease); }
.rn-nav__cta:hover { background: var(--accent); transform: translateY(-2px); }

.rn-burger { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; position: relative; z-index: 1001; }
.rn-burger span { position: absolute; left: 9px; width: 26px; height: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.3s ease; }
.rn-burger span:nth-child(1) { top: 15px; }
.rn-burger span:nth-child(2) { top: 22px; }
.rn-burger span:nth-child(3) { top: 29px; }
.rn-burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.rn-burger.is-open span:nth-child(2) { opacity: 0; }
.rn-burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.rn-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); opacity: 0; visibility: hidden; transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease); }
.rn-drawer.is-open { opacity: 1; visibility: visible; }
.rn-drawer a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.rn-drawer .en { font-family: var(--font-en); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.rn-drawer .ja { font-size: 0.8rem; color: var(--muted); margin-left: 12px; }

/* ============================================================
   ヒーロー（透明 → 背後の 3D が主役）
============================================================ */
.rn-hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad) 90px; }

/* ヒーロー背景動画（ファイルが無ければ非表示＝背後の3Dが見える） */
.rn-hero__video { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.rn-hero__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1s linear; will-change: opacity; }
.rn-hero__video video.is-active { opacity: 1; }
/* 左寄せの文字を読みやすくする白スクリム（動画が明/暗で見えにくい時はここを調整） */
.rn-hero__video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.55) 36%, rgba(255,255,255,0.14) 68%, rgba(255,255,255,0) 100%); }
/* 左寄せ：中央寄せをやめ、ヒーロー自身の左パディングを基準に左揃え */
.rn-hero__inner { position: relative; z-index: 2; width: 100%; max-width: 760px; margin: 0; text-align: left; will-change: transform, opacity; }
.rn-hero__label { font-family: var(--font-en); font-size: 0.7rem; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease-cine); }
.rn-hero__label::before { content: ''; width: 0; height: 1px; background: var(--accent); transition: width 0.8s var(--ease-cine) 0.35s; }
.rn-hero.is-ready .rn-hero__label { opacity: 1; transform: none; transition-delay: 0.15s; }
.rn-hero.is-ready .rn-hero__label::before { width: 40px; }

.rn-hero__heading {
  font-family: var(--font-ja);                 /* ゴシック */
  font-size: clamp(21px, 4.8vw, 56px);
  line-height: 1.48; letter-spacing: 0.015em; font-weight: 700;
  color: var(--ink); margin: 28px 0 34px;
}
/* 各行を1行で固定しつつ、文字や下線の下端が切れないよう余白を確保 */
.rn-hero__heading .rn-mask { white-space: nowrap; padding-bottom: 0.18em; }
.rn-hero__heading .rn-mask > span { transition-delay: calc(0.5s + var(--i) * 0.16s); }
.rn-hero.is-ready .rn-hero__heading .rn-mask > span { transform: none; }
/* キーワード「未来」だけを上品にアクセント（細い下線付き） */
.rn-hero__accent { position: relative; color: var(--accent); font-weight: 700; padding-bottom: 0.06em; }
.rn-hero__accent::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease-cine) 1.45s; }
.rn-hero.is-ready .rn-hero__accent::after { transform: scaleX(1); }

.rn-hero__sub { max-width: 440px; color: var(--muted); font-size: clamp(13px, 1.4vw, 15.5px); line-height: 2.15; margin-bottom: 48px; opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease-cine); }
.rn-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 1s var(--ease-cine); }
.rn-hero.is-ready .rn-hero__sub { opacity: 1; transform: none; transition-delay: 0.95s; }
.rn-hero.is-ready .rn-hero__actions { opacity: 1; transform: none; transition-delay: 1.12s; }
@keyframes rnFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.rn-btn { display: inline-flex; align-items: center; gap: 11px; font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em; padding: 15px 30px; border-radius: 999px; transition: transform 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease); }
.rn-btn .arrow { font-family: var(--font-en); transition: transform 0.4s var(--ease); }
.rn-btn:hover .arrow { transform: translateX(5px); }
.rn-btn--primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(12, 19, 32, 0.12); }
.rn-btn--primary:hover { transform: translateY(-2px); background: var(--accent); box-shadow: 0 10px 26px rgba(26, 86, 219, 0.22); }
.rn-btn--ghost { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.rn-btn--ghost:hover { transform: translateY(-2px); border-color: var(--ink); }

.rn-hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(12px); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; opacity: 0; transition: opacity 0.9s var(--ease), transform 1s var(--ease-cine); }
.rn-hero.is-ready .rn-hero__scroll { opacity: 1; transform: translateX(-50%); transition-delay: 1.5s; }
.rn-hero__scroll-line { width: 1px; height: 54px; background: linear-gradient(to bottom, transparent, var(--accent)); animation: rnScroll 1.9s ease-in-out infinite; }
.rn-hero__scroll-text { font-family: var(--font-en); font-size: 0.6rem; letter-spacing: 0.25em; color: var(--muted); text-transform: uppercase; }
@keyframes rnScroll { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   マーキー
============================================================ */
.rn-marquee { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; padding: 18px 0; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%); }
.rn-marquee__track { display: flex; width: max-content; animation: rnMarquee 36s linear infinite; }
.rn-marquee__group { display: flex; flex-shrink: 0; }
.rn-marquee__track span { font-family: var(--font-en); font-size: clamp(13px, 1.5vw, 16px); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); padding: 0 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.rn-marquee__track span::after { content: '／'; color: var(--accent-br); }
@keyframes rnMarquee { to { transform: translateX(-50%); } }

/* ============================================================
   課題提起
============================================================ */
.rn-issues { padding: clamp(90px, 13vw, 170px) 0; }
.rn-issues__head { margin-bottom: 56px; }
.rn-issues__list { border-top: 1px solid var(--line); }
.rn-issue { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 24px; padding: 32px 14px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; transition: padding 0.5s var(--ease); }
.rn-issue::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--accent-bg), transparent); transform: translateX(-100%); transition: transform 0.6s var(--ease-cine); }
.rn-issue:hover::before { transform: translateX(0); }
.rn-issue:hover { padding-left: 28px; }
.rn-issue__num { font-family: var(--font-en); font-size: 1.5rem; font-weight: 600; color: var(--accent); }
.rn-issue__text { font-size: clamp(17px, 2.2vw, 26px); font-weight: 500; color: var(--ink); }
.rn-issue__mark { font-family: var(--font-en); font-size: 1.4rem; color: var(--faint); transition: transform 0.45s var(--ease), color 0.45s var(--ease); }
.rn-issue:hover .rn-issue__mark { color: var(--accent); transform: rotate(90deg); }

/* ============================================================
   サービス
============================================================ */
.rn-services { padding: clamp(90px, 13vw, 170px) 0; }
.rn-services__head { margin-bottom: 26px; }
.rn-service { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 6vw, 90px); padding: clamp(40px, 5.5vw, 70px); border: 1px solid var(--line); border-radius: 18px; margin-top: 22px; align-items: start; background: rgba(255,255,255,0.55); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); transform-style: preserve-3d; }
.rn-service:hover { box-shadow: 0 30px 60px rgba(12,19,32,0.10); background: rgba(255,255,255,0.78); }
.rn-service__left { display: flex; flex-direction: column; gap: 18px; }
.rn-service__num { font-family: var(--font-en); font-size: clamp(58px, 9vw, 124px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(12, 19, 32, 0.16); transition: color 0.6s var(--ease-cine), -webkit-text-stroke 0.6s var(--ease-cine); }
.rn-service:hover .rn-service__num { color: var(--accent); -webkit-text-stroke: 1.5px transparent; }
.rn-service__name { font-size: clamp(22px, 3vw, 34px); line-height: 1.4; color: var(--ink); }
.rn-service__list { display: grid; gap: 0; }
.rn-service__list li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.rn-service__list li::before { content: ''; width: 7px; height: 7px; flex-shrink: 0; background: var(--accent-br); transform: translateY(8px) rotate(45deg); }
.rn-service__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--font-en); font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.rn-service__more .arrow { transition: transform 0.35s var(--ease); }
.rn-service__more:hover .arrow { transform: translateX(5px); }
.rn-services__foot { margin-top: 50px; text-align: center; }

/* ============================================================
   私たちについて（ミッションは全面 3D 上のステートメント）
============================================================ */
.rn-mission { min-height: 90vh; display: flex; align-items: center; padding: clamp(80px, 12vw, 160px) 0; }
.rn-mission__text { font-size: clamp(30px, 6vw, 82px); line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; max-width: 14em; text-shadow: 0 2px 30px rgba(255,255,255,0.6); }
.rn-mission__text .hl { background: linear-gradient(100deg, var(--accent), var(--accent-br)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.rn-about { padding: clamp(80px, 12vw, 160px) 0; }
.rn-about__desc { max-width: 640px; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); line-height: 2; margin: 28px 0 40px; }
.rn-values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 64px; }
.rn-value { background: rgba(255,255,255,0.6); border: 1px solid var(--line); border-radius: 16px; padding: clamp(28px, 4vw, 48px); position: relative; overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); transform-style: preserve-3d; }
.rn-value:hover { box-shadow: 0 26px 50px rgba(12,19,32,0.10); background: rgba(255,255,255,0.85); }
.rn-value::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-br)); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease-cine); }
.rn-value:hover::after { transform: scaleX(1); }
.rn-value__num { font-family: var(--font-en); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; color: var(--accent); }
.rn-value__title { font-size: clamp(18px, 2.4vw, 26px); margin: 14px 0; line-height: 1.4; color: var(--ink); }
.rn-value__desc { color: var(--muted); font-size: clamp(13px, 1.5vw, 15px); }

/* ============================================================
   お知らせ
============================================================ */
.rn-news { padding: clamp(90px, 13vw, 170px) 0; }
.rn-news__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; gap: 24px; }
.rn-news__list { border-top: 1px solid var(--line); }
.rn-news__item { border-bottom: 1px solid var(--line); }
.rn-news__link { display: grid; grid-template-columns: 130px 110px 1fr auto; align-items: center; gap: 20px; padding: 30px 14px; transition: padding 0.5s var(--ease), background 0.5s var(--ease); }
.rn-news__link:hover { padding-left: 26px; background: rgba(255, 255, 255, 0.6); }
.rn-news__date { font-family: var(--font-en); font-weight: 600; color: var(--muted); }
.rn-news__badge { justify-self: start; font-size: 0.72rem; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.rn-news__text { font-size: clamp(15px, 1.9vw, 19px); font-weight: 500; color: var(--ink); }
.rn-news__arrow { font-family: var(--font-en); color: var(--faint); transition: transform 0.45s var(--ease), color 0.45s var(--ease); }
.rn-news__link:hover .rn-news__arrow { color: var(--accent); transform: translateX(6px); }
.rn-news__more { display: inline-flex; gap: 10px; font-family: var(--font-en); font-weight: 600; font-size: 0.9rem; color: var(--accent); }

/* ============================================================
   お問い合わせ
============================================================ */
.rn-contact { padding: clamp(110px, 16vw, 200px) 0; text-align: center; }
.rn-contact__title { font-size: clamp(32px, 6vw, 78px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); margin: 24px 0 26px; text-shadow: 0 2px 30px rgba(255,255,255,0.6); }
.rn-contact__desc { color: var(--muted); max-width: 540px; margin: 0 auto 44px; font-size: clamp(14px, 1.6vw, 17px); line-height: 2; }
.rn-contact .rn-eyebrow { justify-content: center; }

/* ============================================================
   フッター
============================================================ */
.rn-footer { background: var(--glass-strong); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line-soft); padding: 70px 0 36px; }
/* フッターも端いっぱいに広げて、ロゴ＝左端・ナビ＝右端に */
.rn-footer > .rn-container { max-width: none; }
.rn-footer__body { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-soft); }
.rn-footer__logo img { height: 48px; margin-bottom: 22px; }
.rn-footer__info { color: var(--muted); font-size: 0.92rem; line-height: 2; }
.rn-footer__nav { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.rn-footer__nav a { font-family: var(--font-en); font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.3s ease; }
.rn-footer__nav a:hover { color: var(--ink); }
.rn-footer__copy { margin-top: 32px; font-family: var(--font-en); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--faint); text-align: center; }

/* ============================================================
   レスポンシブ
============================================================ */
@media (max-width: 880px) {
  .rn-service { grid-template-columns: 1fr; gap: 22px; }
  .rn-news__link { grid-template-columns: 100px 1fr auto; }
  .rn-news__badge { display: none; }
}
@media (max-width: 768px) {
  .rn-nav { display: none; }
  .rn-burger { display: block; }
  .rn-header__inner { height: 70px; }
  .rn-values { grid-template-columns: 1fr; }
  .rn-issue { grid-template-columns: 56px 1fr auto; gap: 14px; padding: 26px 6px; }
  .rn-issue__num { font-size: 1.15rem; }
  .rn-hero__actions { width: 100%; }
  .rn-hero__actions .rn-btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  .rn-news__link { grid-template-columns: 88px 1fr; }
  .rn-news__arrow { display: none; }
}

/* ============================================================
   サブページ共通（service / about / news / contact / privacy）
   ※ トップ（preview-renewal）と同じ rn- デザインを踏襲
============================================================ */

/* ---- ページヘッダー（固定ヘッダーの下・背後に3D） ---- */
.rn-pagehead { position: relative; padding: clamp(150px, 22vh, 260px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.rn-pagehead__inner { position: relative; z-index: 2; }
.rn-pagehead__title { font-size: clamp(34px, 7.4vw, 90px); line-height: 1.14; letter-spacing: -0.02em; margin-top: 20px; text-shadow: 0 2px 30px rgba(255, 255, 255, 0.6); }
.rn-pagehead__lead { margin-top: 26px; max-width: 640px; color: var(--muted); font-size: clamp(14px, 1.6vw, 17px); line-height: 2; }
/* 背後にうっすら浮かぶ巨大英字 */
.rn-pagehead__deco {
  position: absolute; right: -0.04em; bottom: -0.22em; z-index: 1;
  font-family: var(--font-en); font-weight: 700; line-height: 0.8;
  font-size: clamp(90px, 20vw, 260px); letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(12, 19, 32, 0.06);
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ---- パンくず ---- */
.rn-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 0.78rem; color: var(--faint); margin-bottom: 22px; }
.rn-crumb a { color: var(--muted); transition: color 0.3s ease; }
.rn-crumb a:hover { color: var(--accent); }
.rn-crumb span { color: var(--faint); }

/* ---- 汎用セクション余白 ---- */
.rn-block { padding: clamp(70px, 10vw, 130px) 0; }

/* ============================================================
   サービス詳細（preview-service）
============================================================ */
.rn-svc { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 6vw, 80px); padding: clamp(34px, 5vw, 64px); border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.58); margin-top: 24px; align-items: start; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); transform-style: preserve-3d; }
.rn-svc:hover { box-shadow: 0 30px 60px rgba(12, 19, 32, 0.10); background: rgba(255, 255, 255, 0.82); }
.rn-svc__left { display: flex; flex-direction: column; gap: 14px; }
.rn-svc__en { font-family: var(--font-en); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.rn-svc__num { font-family: var(--font-en); font-size: clamp(50px, 8vw, 108px); font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(12, 19, 32, 0.16); transition: color 0.6s var(--ease-cine), -webkit-text-stroke 0.6s var(--ease-cine); }
.rn-svc:hover .rn-svc__num { color: var(--accent); -webkit-text-stroke: 1.5px transparent; }
.rn-svc__name { font-size: clamp(22px, 3vw, 34px); line-height: 1.4; color: var(--ink); }
.rn-svc__line { width: 46px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-br)); margin: 4px 0; }
.rn-svc__desc { color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); line-height: 2.05; }
.rn-svc__right { display: flex; flex-direction: column; gap: 18px; }
.rn-svc__support { font-family: var(--font-en); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.rn-svc__tags { display: flex; flex-wrap: wrap; gap: 10px; }
.rn-svc__tag { font-size: 0.84rem; padding: 9px 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255, 255, 255, 0.55); transition: color 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); }
.rn-svc__tag:hover { color: var(--accent); border-color: var(--accent-br); background: var(--accent-bg); }

/* ============================================================
   私たちについて（preview-about）
============================================================ */
/* 代表挨拶 */
.rn-greet { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 76px); align-items: center; }
.rn-greet__photo { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); }
.rn-greet__photo img { width: 100%; height: 100%; object-fit: cover; }
.rn-greet__role { font-family: var(--font-en); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.rn-greet__name { font-size: clamp(24px, 3.4vw, 38px); color: var(--ink); margin: 8px 0 4px; }
.rn-greet__line { width: 46px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-br)); margin: 16px 0 26px; }
.rn-greet__text p { color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); line-height: 2.1; margin-bottom: 1.4em; }
.rn-greet__text p:last-child { margin-bottom: 0; }

/* ミッション・ビジョン */
.rn-mv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.rn-mv__card { position: relative; overflow: hidden; padding: clamp(30px, 4.5vw, 56px); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); transform-style: preserve-3d; }
.rn-mv__card:hover { box-shadow: 0 26px 50px rgba(12, 19, 32, 0.10); background: rgba(255, 255, 255, 0.85); }
.rn-mv__card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-br)); transform: scaleX(0); transform-origin: left; transition: transform 0.55s var(--ease-cine); }
.rn-mv__card:hover::after { transform: scaleX(1); }
.rn-mv__label { font-family: var(--font-en); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; color: var(--accent); }
.rn-mv__text { font-size: clamp(20px, 2.8vw, 32px); font-weight: 700; line-height: 1.5; color: var(--ink); margin-top: 16px; }

/* 会社情報テーブル */
.rn-company__table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.rn-company__table tr { border-bottom: 1px solid var(--line); }
.rn-company__table th, .rn-company__table td { text-align: left; padding: 22px 10px; vertical-align: top; font-size: clamp(14px, 1.6vw, 16px); line-height: 1.9; }
.rn-company__table th { width: 220px; color: var(--ink); font-weight: 600; letter-spacing: 0.02em; }
.rn-company__table td { color: var(--muted); }

/* ============================================================
   お知らせ記事本文（preview-news-detail）
============================================================ */
.rn-article__inner { max-width: 820px; margin: 0 auto; }
.rn-article__meta { display: flex; align-items: center; gap: 14px; padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.rn-article__date { font-family: var(--font-en); font-weight: 600; color: var(--muted); }
.rn-article__tag { font-size: 0.72rem; padding: 5px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.rn-article__body p { color: var(--text); font-size: clamp(15px, 1.7vw, 17px); line-height: 2.1; margin-bottom: 1.6em; }
.rn-article__body h3 { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.5; color: var(--ink); margin: 2.2em 0 0.8em; padding-left: 16px; border-left: 3px solid var(--accent); }
.rn-article__back { margin-top: 56px; }

/* 戻るボタン */
.rn-back { display: inline-flex; align-items: center; gap: 11px; font-size: 0.86rem; font-weight: 500; padding: 14px 28px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: rgba(255, 255, 255, 0.55); transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease); }
.rn-back .arrow { font-family: var(--font-en); transition: transform 0.4s var(--ease); }
.rn-back:hover { transform: translateY(-2px); border-color: var(--ink); }
.rn-back:hover .arrow { transform: translateX(-5px); }

/* ============================================================
   お問い合わせフロー（preview-contact）
============================================================ */
.rn-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.rn-step { position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, 0.6); text-align: center; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background 0.5s var(--ease); }
.rn-step:hover { box-shadow: 0 26px 50px rgba(12, 19, 32, 0.10); background: rgba(255, 255, 255, 0.85); }
.rn-step__num { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 1.05rem; font-weight: 600; transition: background 0.4s var(--ease); }
.rn-step:hover .rn-step__num { background: var(--accent); }
.rn-step__title { font-size: clamp(16px, 2vw, 20px); color: var(--ink); margin-bottom: 10px; }
.rn-step__desc { color: var(--muted); font-size: clamp(13px, 1.5vw, 15px); line-height: 1.9; }
.rn-contact__note { margin-top: 22px; color: var(--faint); font-size: 0.82rem; }

/* ============================================================
   プライバシーポリシー（preview-privacy）
============================================================ */
.rn-legal { max-width: 820px; margin: 0 auto; }
.rn-legal__intro { color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); line-height: 2.1; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.rn-legal__date { font-family: var(--font-en); font-size: 0.85rem; color: var(--faint); margin-bottom: 16px; }
.rn-legal__section { margin-bottom: 44px; }
.rn-legal__section:last-child { margin-bottom: 0; }
.rn-legal__section h2 { font-size: clamp(17px, 2.1vw, 21px); color: var(--ink); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.rn-legal__section p, .rn-legal__section ul { color: var(--muted); font-size: clamp(14px, 1.6vw, 16px); line-height: 2.1; }
.rn-legal__section ul { margin-top: 8px; }
.rn-legal__section ul li { position: relative; padding-left: 20px; }
.rn-legal__section ul li::before { content: ''; position: absolute; left: 2px; top: 0.95em; width: 6px; height: 6px; background: var(--accent-br); transform: rotate(45deg); }

/* ============================================================
   サブページ用レスポンシブ
============================================================ */
@media (max-width: 880px) {
  .rn-svc { grid-template-columns: 1fr; gap: 24px; }
  .rn-greet { grid-template-columns: 1fr; gap: 30px; }
  .rn-greet__photo { max-width: 360px; }
  .rn-steps { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .rn-mv { grid-template-columns: 1fr; }
  .rn-company__table th, .rn-company__table td { display: block; width: 100%; padding: 6px 6px; }
  .rn-company__table th { padding-top: 20px; }
  .rn-company__table td { padding-bottom: 20px; color: var(--text); }
}

/* ------------------------------------------------------------
   図面・書類データ化サービス（/scan/ LP への導線バナー）
------------------------------------------------------------ */
.rn-scan { padding: clamp(70px, 10vw, 130px) 0; }
.rn-scan__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}
@media (max-width: 860px) {
  .rn-scan__grid { grid-template-columns: 1fr; }
}
.rn-scan__card {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 28px;
  background: var(--ink); border-radius: 24px;
  padding: clamp(32px, 4.5vw, 52px) clamp(26px, 4vw, 56px);
  box-shadow: 0 18px 50px rgba(12, 19, 32, 0.18);
}
.rn-scan__card .rn-eyebrow { color: var(--accent-br); }
.rn-scan__card .rn-eyebrow::before { background: var(--accent-br); }
.rn-scan__title { color: #fff; font-size: clamp(22px, 3vw, 34px); line-height: 1.35; margin-top: 14px; }
.rn-scan__desc { color: rgba(255, 255, 255, 0.74); font-size: 0.95rem; margin-top: 12px; max-width: 560px; }
.rn-scan__btn { background: #fff; color: var(--ink); flex-shrink: 0; }
.rn-scan__btn:hover { background: var(--accent); color: #fff; }