/* ============================================================
   HiroshimAI — rough案（白背景 / ブランド・グラデは差し色のみ）
   参考: hiroshimai_site_light（ほどほどに）/ 企画書 v0.1 Part A・E
   ============================================================ */

:root {
  --ink: #14181f;            /* 主要テキスト */
  --ink-soft: #5b6473;       /* 補助テキスト */
  --line: #e6e9f0;           /* ヘアライン */
  --bg: #ffffff;             /* 背景＝白（要件） */
  --bg-alt: #f5f7fb;         /* 淡いパネル */

  /* ブランドカラー（企画書 Part E：ロゴ近似値） */
  --blue: #3d5aab;
  --purple: #8c5a9c;
  --magenta: #d6336c;
  --accent: #e0314e;         /* ロゴ差し色 */
  --grad: linear-gradient(90deg, #3d5aab 0%, #8c5a9c 50%, #d6336c 100%);
  --grad-soft: linear-gradient(90deg, rgba(61,90,171,.10), rgba(214,51,108,.10));

  --maxw: 1120px;
  --header-h: 72px;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-en: "Manrope", "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* clip は hidden と違いスクロールコンテナを作らない＝position:sticky を壊さずに横はみ出しを抑止 */
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.pc-only { display: inline; }
@media (max-width: 720px) { .pc-only { display: none; } }

/* shared layout */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 24px; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .en {
  font-family: var(--font-en);
  font-size: 13px; font-weight: 700; letter-spacing: .28em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 { font-size: clamp(24px, 3.6vw, 34px); font-weight: 800; margin-top: 8px; letter-spacing: .02em; }
.section-head p { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
}
.header-inner { max-width: var(--maxw); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-en); font-weight: 700; font-size: 21px; letter-spacing: .04em; }
.brand .logo-mark { width: 22px; height: 22px; display: inline-block; }
.brand .brand-logo { height: 30px; width: auto; display: block; }
.brand .brand-ai { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.global-nav { margin-left: auto; }
.global-nav ul { display: flex; gap: 22px; }
.global-nav a { font-size: 13.5px; font-weight: 500; position: relative; padding: 4px 0; white-space: nowrap; transition: color .2s; }
.global-nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad); transition: width .25s; }
.global-nav a:hover::after { width: 100%; }
.btn-head {
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  padding: 10px 18px; border-radius: 4px; white-space: nowrap;
  transition: background-position .35s, box-shadow .2s; box-shadow: 0 6px 16px rgba(214,51,108,.22);
}
.btn-head:hover { background-position: 100% 0; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .global-nav, .header-inner .btn-head { display: none; }
  .nav-burger { display: flex; }
  .mobile-drawer.open { display: block; }
}
.mobile-drawer { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); z-index: 999; }
.mobile-drawer ul { padding: 8px 24px 20px; }
.mobile-drawer li { border-bottom: 1px solid var(--line); }
.mobile-drawer a { display: block; padding: 15px 4px; font-weight: 500; }
.mobile-drawer .btn-head { display: inline-block; margin-top: 16px; }

/* ---------- Hero（Sony風：ゆったりした余白・薄く大きい見出し） ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 96px) 24px 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 45% at 92% 0%, rgba(214,51,108,.07), transparent 62%),
    radial-gradient(48% 42% at 2% 100%, rgba(61,90,171,.07), transparent 64%);
}
.hero-inner { max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-kicker { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .46em; color: var(--ink-soft); margin-bottom: 36px; }
.hero h1 { font-size: clamp(34px, 6.6vw, 78px); font-weight: 300; line-height: 1.34; letter-spacing: .045em; margin-bottom: 44px; }
.hero h1 .grad-text { font-weight: 400; }
.hero-lead { font-size: clamp(15px, 1.6vw, 18px); font-weight: 300; line-height: 2.05; color: var(--ink-soft); max-width: 640px; margin-bottom: 52px; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: .04em; color: #fff;
  background: var(--grad); background-size: 160% 100%;
  padding: 16px 38px; border-radius: 4px; transition: background-position .35s, transform .2s, box-shadow .2s;
  box-shadow: 0 10px 26px rgba(214,51,108,.22);
}
.btn-primary::after { content: "→"; }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(214,51,108,.32); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: .04em; color: var(--ink);
  border: 1px solid var(--line); padding: 16px 34px; border-radius: 4px; transition: border-color .2s, color .2s;
}
.btn-ghost::after { content: "↓"; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.hero-bar { height: 2px; width: 100%; background: var(--grad); border-radius: 2px; margin-top: 96px; opacity: .55; }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ""; width: 1px; height: 40px; background: linear-gradient(var(--ink-soft), transparent); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint::after { animation: none; } }

/* ---------- Mission strip ---------- */
.mission { text-align: center; }
.mission-text { font-size: clamp(20px, 3.2vw, 32px); font-weight: 300; line-height: 1.6; max-width: 880px; margin: 0 auto 22px; }
.mission-text strong { font-weight: 800; }
.mission-sub { font-size: 15px; color: var(--ink-soft); max-width: 760px; margin: 0 auto; }
.mission-sub em { font-style: normal; font-weight: 700; color: var(--magenta); }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px 26px;
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30,45,90,.10); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--magenta); margin-bottom: 12px; }
.service-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.service-card p.catch { font-size: 14px; color: var(--ink-soft); margin-bottom: 16px; min-height: 3.6em; }
.service-points li { font-size: 13px; padding-left: 16px; position: relative; margin-bottom: 5px; color: var(--ink-soft); }
.service-points li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- 実装 flow ---------- */
.impl-rule { max-width: 820px; margin: 0 auto 40px; text-align: center; font-size: 16px; }
.impl-rule b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.flow-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
@media (max-width: 860px) { .flow-list { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.flow-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px 18px; position: relative; text-align: center; }
.flow-item:not(:last-child)::after { content: "›"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--magenta); z-index: 2; }
@media (max-width: 860px) { .flow-item::after { display: none; } }
.flow-step { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.flow-item h3 { font-size: 16px; font-weight: 700; margin-top: 8px; }

/* ---------- 研修 ---------- */
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
@media (max-width: 820px) { .step-grid { grid-template-columns: 1fr; } }
.step-card { border: 1px solid var(--line); border-radius: 8px; padding: 30px 26px; background: #fff; }
.step-day { display: inline-block; font-family: var(--font-en); font-size: 12px; font-weight: 700; color: #fff; background: var(--grad); padding: 4px 14px; border-radius: 3px; margin-bottom: 14px; }
.step-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.step-card ul li { font-size: 13px; padding: 8px 0 8px 20px; position: relative; border-top: 1px dashed var(--line); color: var(--ink-soft); }
.step-card ul li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--magenta); font-weight: 700; }

.train-meta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.train-meta span { font-size: 13px; font-weight: 700; border: 1px solid var(--line); border-radius: 20px; padding: 8px 18px; color: var(--ink); }
.train-meta span b { color: var(--magenta); }

.flow4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 48px; }
@media (max-width: 860px) { .flow4 { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.flow4 .flow-item h3 { font-size: 15px; }
.flow4 .flow-item p { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }

/* 研修費用 box */
.price-box { max-width: 940px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 44px 28px; }
.price-box .lead { font-size: 17px; margin-bottom: 30px; }
.price-box .lead strong { font-size: 1.35em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.price-calc { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.price-cell { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 8px; padding: 20px 26px; min-width: 170px; }
.price-cell.accent { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 12px 28px rgba(214,51,108,.26); }
.price-cell .label { display: block; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 6px; }
.price-cell.accent .label { color: rgba(255,255,255,.9); }
.price-cell .num { display: block; font-family: var(--font-en); font-size: 40px; font-weight: 800; line-height: 1; }
.price-cell .num small { font-size: 15px; font-weight: 700; }
.price-op { font-size: 28px; color: var(--ink-soft); font-weight: 300; }
.price-foot { font-size: 12px; color: var(--ink-soft); margin-top: 16px; }

/* ---------- 顧問プラン ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-card { border: 1px solid var(--line); border-radius: 10px; padding: 28px 22px; display: flex; flex-direction: column; background: #fff; }
.plan-card.featured { border: 2px solid var(--magenta); box-shadow: 0 16px 40px rgba(214,51,108,.14); position: relative; }
.plan-card.featured::before { content: "人気"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; }
.plan-tag { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.plan-card h4 { font-size: 19px; font-weight: 800; margin: 6px 0 10px; }
.plan-price { font-family: var(--font-en); font-size: 26px; font-weight: 800; margin-bottom: 18px; }
.plan-price small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.plan-card ul li { font-size: 13px; padding: 8px 0 8px 18px; position: relative; border-top: 1px solid var(--line); color: var(--ink-soft); }
.plan-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--magenta); font-weight: 700; }
.plan-note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 18px; }

/* ---------- 理念 / Values ---------- */
.philo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 22px; }
@media (max-width: 820px) { .philo-grid { grid-template-columns: 1fr; } }
.philo-card { border: 1px solid var(--line); border-radius: 10px; padding: 30px 26px; background: #fff; }
.philo-card .tag { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--magenta); }
.philo-card h3 { font-size: 18px; font-weight: 800; margin: 8px 0 12px; line-height: 1.5; }
.philo-card p { font-size: 13.5px; color: var(--ink-soft); }
.philo-note { text-align: center; font-size: 14px; color: var(--ink-soft); }
.philo-note b { color: var(--ink); }

.values-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 820px) { .values-row { grid-template-columns: 1fr; } }
.values-box { border: 1px solid var(--line); border-radius: 10px; padding: 28px 26px; background: #fff; }
.values-box h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid; border-image: var(--grad) 1; }
.values-box dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; }
.values-box dt { font-weight: 700; white-space: nowrap; }
.values-box dd { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 会社概要 ---------- */
.profile-table { width: 100%; max-width: 880px; margin: 0 auto 48px; border-collapse: collapse; }
.profile-table th, .profile-table td { text-align: left; padding: 18px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: top; }
.profile-table th { width: 200px; font-weight: 700; background: var(--bg-alt); }
.history { max-width: 880px; margin: 0 auto; }
.history h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.history li { display: flex; gap: 18px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.history li span { font-family: var(--font-en); font-weight: 700; color: var(--blue); min-width: 48px; }

/* ---------- News ---------- */
.news-list { max-width: 880px; margin: 0 auto; }
.news-list li { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 6px; border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list time { font-family: var(--font-en); font-size: 13px; font-weight: 700; color: var(--ink-soft); min-width: 92px; }
.news-cat { font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); padding: 3px 12px; border-radius: 3px; }
.news-list a { font-size: 14.5px; flex: 1; }
.news-list a:hover { color: var(--magenta); }

/* ---------- Contact CTA ---------- */
.cta { text-align: center; color: #fff; background: var(--grad); border-radius: 0; }
.cta h2 { font-size: clamp(24px, 4vw, 38px); font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.cta p { opacity: .92; margin-bottom: 32px; }
.cta .btn-cta { display: inline-block; font-size: 16px; font-weight: 700; color: var(--magenta); background: #fff; padding: 17px 46px; border-radius: 4px; transition: transform .2s, box-shadow .2s; }
.cta .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.18); }

/* ---------- Footer ---------- */
.site-footer { background: #11151d; color: #c7ccd6; padding: 56px 24px 26px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 13px; opacity: .7; margin-top: 12px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 520px) { .footer-nav { grid-template-columns: repeat(2, 1fr); } }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; opacity: .75; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { max-width: var(--maxw); margin: 22px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copyright { font-size: 12px; opacity: .55; }
.footer-note { font-size: 11px; opacity: .5; max-width: 560px; }

/* ---------- scroll reveal（Sony風：なめらかなフェード＋スライドアップ、stagger は layout.js が付与） ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s cubic-bezier(.4,0,.2,1), transform .9s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
/* 画像サムネは下から拭き上げる clip リビール（Sonyの画像モーション） */
.s-thumb, .article-thumb, .case-thumb { transition: clip-path 1s cubic-bezier(.22,1,.36,1); }
[data-reveal]:not(.in) .s-thumb,
[data-reveal]:not(.in) .article-thumb,
[data-reveal]:not(.in) .case-thumb { clip-path: inset(0 0 100% 0); }
[data-reveal].in .s-thumb,
[data-reveal].in .article-thumb,
[data-reveal].in .case-thumb { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .s-thumb, .article-thumb, .case-thumb { clip-path: none !important; transition: none; }
}

/* ============================================================
   MULTI-PAGE additions（多ページ化：page-hero / breadcrumb / teaser ほか）
   ============================================================ */

/* active nav state */
.global-nav a.active { color: var(--magenta); }
.global-nav a.active::after { width: 100%; }

/* ---------- Page hero（白基調・グラデ見出し） ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 24px 52px;
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 92% 0%, rgba(214,51,108,.10), transparent 60%),
    radial-gradient(45% 60% at 4% 100%, rgba(61,90,171,.10), transparent 62%);
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-en); font-size: clamp(36px, 7vw, 72px); font-weight: 800; line-height: 1.08; letter-spacing: .01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .page-jp { margin-top: 12px; font-size: clamp(13px, 1.6vw, 16px); font-weight: 600; letter-spacing: .22em; color: var(--ink-soft); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb ol { max-width: var(--maxw); margin: 0 auto; padding: 13px 24px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--magenta); }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; opacity: .5; }

/* ---------- Generic page section ---------- */
.page-section { padding: 76px 24px; }
.page-section.alt { background: var(--bg-alt); }
.page-section .inner { max-width: var(--maxw); margin: 0 auto; }
.lead-text { max-width: 760px; margin: 0 auto 40px; text-align: center; font-size: 16px; color: var(--ink-soft); }
.block-head { text-align: center; margin-bottom: 40px; }
.block-head .en { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .26em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.block-head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin-top: 8px; }
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- more-link（テキストリンク・グラデ枠） ---------- */
.more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--blue); border: 1px solid var(--line); padding: 11px 26px; border-radius: 4px; transition: border-color .2s, color .2s, background .2s; }
.more-link::after { content: "→"; }
.more-link:hover { border-color: var(--magenta); color: var(--magenta); }
.center { text-align: center; margin-top: 40px; }

/* ---------- Home teaser blocks ---------- */
.teaser { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 840px) { .teaser { grid-template-columns: 1fr; gap: 28px; } }
.teaser.rev .teaser-main { order: 2; }
@media (max-width: 840px) { .teaser.rev .teaser-main { order: 0; } }
.teaser-en { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .26em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.teaser h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; margin: 8px 0 16px; letter-spacing: .01em; }
.teaser p { color: var(--ink-soft); font-size: 15px; margin-bottom: 24px; }
.teaser-side { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.teaser-chip { border: 1px solid var(--line); border-radius: 8px; padding: 18px 18px; background: #fff; }
.teaser-chip .n { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--magenta); letter-spacing: .1em; }
.teaser-chip h3 { font-size: 16px; font-weight: 700; margin-top: 6px; }
.teaser-chip p { font-size: 12.5px; color: var(--ink-soft); margin: 6px 0 0; }

/* ---------- Cases（導入事例） ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 900px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }
.case-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.case-thumb { aspect-ratio: 16/10; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 13px; letter-spacing: .1em; }
.case-body { padding: 22px 22px 26px; }
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.case-tags span { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(61,90,171,.08); padding: 3px 10px; border-radius: 3px; }
.case-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- Media（コラム/記事） ---------- */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .media-grid { grid-template-columns: 1fr; } }
.article-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(30,45,90,.10); }
.article-thumb { aspect-ratio: 16/9; background: var(--grad-soft); }
.article-body { padding: 20px 20px 24px; }
.article-meta { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--ink-soft); margin-bottom: 8px; }
.article-cat { font-size: 11px; font-weight: 700; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 3px; }
.article-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }

/* ---------- Recruit（採用） ---------- */
.role-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--maxw); margin: 0 auto; }
@media (max-width: 900px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .role-grid { grid-template-columns: 1fr; } }
.role-card { border: 1px solid var(--line); border-radius: 10px; padding: 26px 22px; background: #fff; }
.role-card .n { font-family: var(--font-en); font-size: 12px; font-weight: 700; color: var(--magenta); letter-spacing: .1em; }
.role-card h3 { font-size: 17px; font-weight: 800; margin: 8px 0 10px; }
.role-card p { font-size: 13px; color: var(--ink-soft); }

/* ---------- 代表メッセージ ---------- */
.message-block { max-width: 880px; margin: 0 auto; }
.message-block .rep-lead { font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; line-height: 1.6; margin-bottom: 18px; }
.message-block .rep-lead b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.message-block p { color: var(--ink-soft); margin-bottom: 14px; }
.message-block .sign { text-align: right; font-weight: 700; margin-top: 10px; }
.message-block .sign small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 12px; }

/* ---------- 準備中 placeholder note ---------- */
.placeholder-note { max-width: 720px; margin: 0 auto 36px; text-align: center; font-size: 14px; color: var(--ink-soft); background: var(--bg-alt); border: 1px dashed var(--line); border-radius: 8px; padding: 18px 20px; }

/* ---------- Contact form ---------- */
.contact-wrap { max-width: 720px; margin: 0 auto; }
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 14px; font-weight: 700; }
.form-row label .req { color: var(--accent); font-size: 11px; margin-left: 6px; }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--font); font-size: 15px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff; width: 100%; color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214,51,108,.12); }
.form-row textarea { min-height: 150px; resize: vertical; }
.form-submit { font-family: var(--font); font-size: 16px; font-weight: 700; color: #fff; background: var(--grad); background-size: 160% 100%; border: none; cursor: pointer; padding: 15px 46px; border-radius: 4px; justify-self: center; transition: background-position .35s, transform .2s; box-shadow: 0 10px 26px rgba(214,51,108,.24); }
.form-submit:hover { background-position: 100% 0; transform: translateY(-2px); }
.contact-note { text-align: center; font-size: 13px; color: var(--ink-soft); margin-top: 18px; }
.contact-direct { text-align: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-direct a { color: var(--magenta); font-weight: 700; }

/* ============================================================
   SONY THEME — sony.co.jp の雰囲気を再現（モノクローム基調・写真/カード
   グリッド・細く大きいディスプレイ・控えめなチェブロン・ゆったり余白）
   ブランドのグラデはロゴ／主要CTA／アクティブ状態のみに限定。
   ============================================================ */
:root {
  --ink: #111111;            /* Sony 本文＝#111 */
  --ink-strong: #111111;     /* 見出しも #111（Sony は黒一色を基調） */
  --ink-soft: #555555;       /* Sony サブテキスト */
  --line: #e5e5e5;           /* Sony ヘアライン */
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --font: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-en: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --maxw: 1160px;
  --header-h: 80px;          /* Sony ヘッダー高 */
}
body { color: var(--ink); font-weight: 400; letter-spacing: .012em; }

/* ---- Header：Sony風スリム＋言語トグル ---- */
.site-header { height: var(--header-h); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header.scrolled, .site-header:hover { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.header-inner { gap: 30px; }
.brand .brand-logo { height: 26px; }
.global-nav ul { gap: 26px; }
.global-nav a { font-size: 13px; font-weight: 500; color: #333; }
.global-nav a::after { height: 1px; background: var(--ink-strong); }
.global-nav a:hover, .global-nav a.active { color: var(--ink-strong); }
.global-nav a.active::after { background: var(--grad); height: 2px; }
.lang-toggle { display: inline-flex; gap: 7px; align-items: center; font-family: var(--font-en); font-size: 12px; font-weight: 600; color: var(--ink-strong); }
.lang-toggle .sep { color: var(--line); }
.lang-toggle a { color: var(--ink-soft); }
.lang-toggle a.on { color: var(--ink-strong); }
.btn-head { background: none; color: var(--ink-strong); border: 1px solid var(--ink-strong); box-shadow: none; font-weight: 600; padding: 8px 16px; }
.btn-head:hover { background: var(--ink-strong); color: #fff; }
@media (max-width: 860px) { .lang-toggle { display: none; } }

/* ---- Hero：Sonyのミッション文のように、細く大きく、たっぷり余白 ---- */
.hero { min-height: 92vh; padding: calc(var(--header-h) + 120px) 24px 140px; }
.hero::before { background:
  radial-gradient(46% 42% at 96% 2%, rgba(214,51,108,.05), transparent 64%),
  radial-gradient(44% 40% at 0% 100%, rgba(61,90,171,.05), transparent 66%); }
.hero-kicker { font-size: 11px; letter-spacing: .5em; font-weight: 600; color: var(--ink-soft); margin-bottom: 40px; }
.hero h1 { font-size: clamp(34px, 6.4vw, 80px); font-weight: 200; line-height: 1.36; letter-spacing: .03em; color: var(--ink-strong); margin-bottom: 48px; }
.hero h1 .grad-text { font-weight: 300; }
.hero-lead { font-size: clamp(15px, 1.55vw, 18px); font-weight: 300; line-height: 2.1; margin-bottom: 56px; }
.hero-bar { display: none; }
.btn-primary { background: var(--grad); font-weight: 600; padding: 15px 36px; box-shadow: 0 8px 22px rgba(214,51,108,.18); }
.btn-ghost { border-color: var(--line); color: var(--ink-strong); font-weight: 600; }
.btn-ghost::after { content: "›"; font-size: 1.2em; line-height: 1; }
.btn-ghost:hover { border-color: var(--ink-strong); color: var(--ink-strong); }
.scroll-hint { color: var(--ink-soft); font-size: 10px; letter-spacing: .34em; }

/* ---- Mission：白地に細い大きな文（Sonyのステートメント） ---- */
.section { padding: 104px 24px; }
.mission { padding: 128px 24px; }
.mission-text { font-weight: 200; letter-spacing: .02em; line-height: 1.7; }
.mission-text strong { font-weight: 600; }
.mission-sub em { color: var(--magenta); }

/* ---- Sony セクション見出し（左：EN小ラベル＋和文太字／右：もっと見る ›） ---- */
.s-head { max-width: var(--maxw); margin: 0 auto 44px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.s-head .en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .2em; color: var(--ink-soft); }
.s-head h2 { font-size: clamp(22px, 3vw, 31px); font-weight: 700; color: var(--ink-strong); margin-top: 8px; letter-spacing: .01em; }
.s-head .more { font-size: 13px; font-weight: 600; color: var(--ink-strong); white-space: nowrap; transition: color .2s; }
.s-head .more::after { content: " ›"; color: var(--magenta); }
.s-head .more:hover { color: var(--magenta); }
@media (max-width: 600px) { .s-head { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ---- Sony 画像カードグリッド ---- */
.s-grid { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 40px 32px; }
.s-grid.col4 { grid-template-columns: repeat(4, 1fr); }
.s-grid.col3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .s-grid.col4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .s-grid.col3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .s-grid.col4, .s-grid.col3 { grid-template-columns: 1fr; } }
.s-card { display: block; color: inherit; }
.s-thumb { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, #ececed 0%, #f6f6f7 100%); }
.s-thumb::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.s-thumb .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: #b7bac1; }
.s-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.s-card:hover .s-thumb img { transform: scale(1.05); }
.s-card:hover .s-thumb::after { transform: scaleX(1); }
.s-cat { margin-top: 15px; font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--ink-soft); }
.s-card h3 { font-size: 16px; font-weight: 600; line-height: 1.6; margin-top: 7px; color: var(--ink-strong); }
.s-card:hover h3 { color: #000; }
.s-card p { font-size: 13px; color: var(--ink-soft); margin-top: 7px; line-height: 1.85; }

/* ---- 既存コンポーネントを Sony トーンへ ---- */
.section-head .en, .block-head .en, .teaser-en { background: none; -webkit-text-fill-color: initial; color: var(--ink-soft); font-weight: 600; letter-spacing: .2em; }
.section-head h2, .block-head h2 { color: var(--ink-strong); font-weight: 700; }
.section-head p { color: var(--ink-soft); }
.more-link { border: none; padding: 0; color: var(--ink-strong); }
.more-link::after { content: " ›"; color: var(--magenta); }
.more-link:hover { background: none; color: var(--magenta); }
.center { margin-top: 48px; }

.service-card { border-radius: 8px; border-color: var(--line); }
.service-card::before { height: 3px; }
.service-card:hover { box-shadow: 0 14px 34px rgba(0,0,0,.07); }
.service-num { color: var(--ink-soft); }
.service-points li::before { background: var(--ink-strong); }

.page-hero { background: var(--bg-alt); }
.page-hero h1 { background: none; -webkit-text-fill-color: initial; color: var(--ink-strong); font-weight: 300; }
.page-hero .page-jp { color: var(--ink-soft); }

.plan-card { border-radius: 8px; }
.plan-card.featured { border-color: var(--ink-strong); }
.plan-card.featured::before { background: var(--grad); }
.plan-tag { color: var(--ink-soft); }
.plan-card ul li::before { color: var(--magenta); }

.step-card, .case-card, .article-card, .role-card, .philo-card, .values-box { border-radius: 8px; }
.flow-item { border-radius: 8px; }
.flow-item:not(:last-child)::after, .flow4 .flow-item::after { color: var(--ink-soft); }
.flow-step { color: var(--ink-soft); }

/* ---- CTA：Sony風の淡いグレー帯（フルグラデをやめる） ---- */
.cta { background: var(--bg-alt); color: var(--ink-strong); }
.cta h2 { color: var(--ink-strong); font-weight: 700; }
.cta p { color: var(--ink-soft); opacity: 1; }
.cta .btn-cta { background: var(--grad); color: #fff; }

/* ---- Footer：Sony風ダーク（#1a1a1a）＋ソーシャル＋規約行 ---- */
.site-footer { background: #1a1a1a; color: #b9bcc2; padding: 64px 24px 30px; }
.footer-inner { grid-template-columns: 1.3fr 2fr; border-bottom-color: rgba(255,255,255,.12); padding-bottom: 36px; }
.footer-brand p { opacity: .65; }
.footer-col h4 { color: #fff; font-size: 12px; letter-spacing: .04em; }
.footer-col a, .footer-meta li { color: #b9bcc2; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 16px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cfd2d8; transition: border-color .2s, color .2s; }
.footer-social a:hover { border-color: #fff; color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { align-items: center; margin-top: 24px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { font-size: 12px; color: #9a9da4; }
.footer-legal a:hover { color: #fff; }
.copyright { font-size: 12px; color: #82858c; }
.footer-note { color: #6f7178; }

/* ============================================================
   HERO VIDEO ＋ 透明ヘッダー（Sony風：トップビューに広島の動画、
   ヘッダーは動画の上では透明＝白ロゴ、スクロールで白地＝ダークロゴ）
   ============================================================ */
/* ===== HERO（a-x.inc 風：明るい背景に大きく太い宣言文・中央寄せ・ミニマル。
   サイト全体の動くグラデを淡い白ベール越しに透かす） ===== */
.hero { color: var(--ink-strong); position: relative; z-index: 0; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.56) 0%, rgba(255,255,255,.76) 58%, rgba(255,255,255,.9) 100%);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.hero::before { display: none; }
.hero-inner { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
.hero-actions { justify-content: center; }
.hero .scroll-hint { z-index: 2; }

/* ===== サイト全体の固定背景＝トンマナ（青→紫→マゼンタ）の緩やかに動くグラデ ===== */
.site-bg {
  position: fixed; inset: 0; z-index: -10; pointer-events: none;
  background:
    radial-gradient(48% 60% at 16% 22%, rgba(28,82,255,1) 0%, rgba(28,82,255,.55) 38%, transparent 72%),
    radial-gradient(52% 62% at 84% 16%, rgba(150,46,240,1) 0%, rgba(150,46,240,.55) 38%, transparent 72%),
    radial-gradient(58% 68% at 74% 84%, rgba(240,18,118,1) 0%, rgba(240,18,118,.55) 40%, transparent 74%),
    radial-gradient(46% 58% at 24% 92%, rgba(20,120,255,.95) 0%, rgba(20,120,255,.5) 38%, transparent 70%),
    linear-gradient(120deg, #0a1a8c 0%, #3a0fa0 50%, #7a0a52 100%);
  background-size: 200% 200%, 200% 200%, 220% 220%, 200% 200%, 100% 100%;
  background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, 0 0;
  animation: heroDrift 18s ease-in-out infinite;
}
@keyframes heroDrift {
  0%   { background-position: 0% 0%,   100% 0%,  50% 100%, 0% 100%, 0 0; }
  25%  { background-position: 80% 40%, 20% 50%,  80% 20%, 40% 60%, 0 0; }
  50%  { background-position: 100% 100%, 0% 100%, 100% 0%, 100% 0%, 0 0; }
  75%  { background-position: 30% 70%, 70% 30%,  20% 80%, 80% 20%, 0 0; }
  100% { background-position: 0% 0%,   100% 0%,  50% 100%, 0% 100%, 0 0; }
}
@media (prefers-reduced-motion: reduce) { .site-bg { animation: none; } }

/* ===== セクションを半透明にして、動く背景を透かす（白地は維持して可読性確保） ===== */
body { background: transparent; }
/* セクションの背景は全部そろえる（交互の色分けはしない） */
.section { background: rgba(255,255,255,.78); backdrop-filter: blur(7px) saturate(1.05); -webkit-backdrop-filter: blur(7px) saturate(1.05); }
.section.alt { background: rgba(255,255,255,.78); }
.mission-feature { background: rgba(255,255,255,.78); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.page-section { background: rgba(255,255,255,.78); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.page-section.alt { background: rgba(255,255,255,.78); }
.page-hero { background: rgba(255,255,255,.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.breadcrumb { background: rgba(255,255,255,.78); }
.cta.section { background: rgba(255,255,255,.78); }
/* a-x.inc 風：太い大きな宣言文（白動画ではなく明るい背景なのでダーク文字） */
.hero h1 { color: var(--ink-strong); font-weight: 700; letter-spacing: 0; line-height: 1.32; }
.hero-lead { color: var(--ink-soft); margin-left: auto; margin-right: auto; font-weight: 400; }
.hero .btn-ghost { color: var(--ink-strong); border-color: var(--line); }
.hero .btn-ghost:hover { color: var(--ink-strong); border-color: var(--ink-strong); }
.hero .scroll-hint { color: var(--ink-soft); }
.hero .scroll-hint::after { background: linear-gradient(var(--ink-soft), transparent); }
/* ※ ヘッダーのロゴ出し分け・配色は末尾「UNIFIED HEADER」に集約（常時ダーク＋白ロゴ） */

/* ============================================================
   MISSION FEATURE（Sony風：左に細い大きな文、右に段違いの画像コラージュ。
   各画像はスクロールで方向違いにスライドイン）
   ============================================================ */
.mission-feature {
  position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center;
  padding: 128px 24px; color: var(--ink);
  background: rgba(255,255,255,.78); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.mission-feature::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(42% 52% at 10% 14%, rgba(61,90,171,.05), transparent 62%),
    radial-gradient(42% 52% at 90% 88%, rgba(214,51,108,.05), transparent 64%);
}
/* 連続フロー：画像が左→右へ流れ続け、横66%付近で不透過・離れるほど透過（JSが配置/opacity制御） */
.mflow { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mflow .mtile { position: absolute; top: 0; left: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 44px rgba(20,30,60,.20); will-change: transform, opacity; }
.mflow .mtile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 左に文（フロー画像の上・読みやすさ確保） */
.mf-text { position: relative; z-index: 2; max-width: 460px; text-align: left; }
.mf-kicker { font-family: var(--font-en); font-size: 12px; letter-spacing: .32em; font-weight: 600; color: var(--ink-soft); margin-bottom: 24px; }
.mf-statement { font-size: clamp(24px, 3.4vw, 42px); font-weight: 200; line-height: 1.6; letter-spacing: .02em; margin-bottom: 22px; color: var(--ink-strong); }
.mf-statement strong { font-weight: 600; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mf-sub { font-size: 14.5px; line-height: 2.05; color: var(--ink-soft); max-width: 460px; margin-bottom: 28px; }
.mf-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; color: var(--ink-strong); }
.mf-link::after { content: "→"; font-family: var(--font-en); font-size: 16px; width: 42px; height: 42px; flex: none; border: 1px solid var(--line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .35s, color .3s, border-color .3s, transform .35s; }
.mf-link:hover::after { background: var(--grad); color: #fff; border-color: transparent; transform: translateX(3px); }

@media (max-width: 720px) {
  .mission-feature { min-height: 520px; padding: 92px 22px; }
  .mf-text { max-width: none; }
}

/* ============================================================
   SERVICE PRISM（透明な四角柱：各側面に事業画像／タップで回転）
   ============================================================ */
.prism-wrap { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 48px); max-width: var(--maxw); margin: 0 auto; }
.prism-stage { position: relative; width: clamp(280px, 62vw, 520px); aspect-ratio: 4 / 3; perspective: 2200px; }
.prism { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
/* 透明な四角柱：面は半透明（背面が透けて柱に見える）。正面に来た面のみ不透過に */
.prism-face {
  position: absolute; inset: 0; display: block; border-radius: 16px; overflow: hidden;
  background: rgba(14,16,32,.18); color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  opacity: .34;
  transition: opacity 1s cubic-bezier(.2,.8,.2,1);
}
.prism-face.is-front { opacity: 1; }              /* 正面の面だけ不透過 */
.prism-face img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prism-face::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,24,.02) 30%, rgba(8,10,24,.72) 100%); }
.pf-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 28px; display: flex; flex-direction: column; gap: 5px; opacity: 0; transition: opacity .7s ease; }
.prism-face.is-front .pf-cap { opacity: 1; }      /* キャプションも正面のみ表示 */
.pf-num { font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #fff; opacity: .82; }
.pf-title { font-size: clamp(19px, 2.4vw, 27px); font-weight: 700; line-height: 1.3; }
.pf-sub { font-size: 13px; font-weight: 400; opacity: .86; }
/* 6面（60°刻み）＝六角柱の見え方。面数を増やしたら角度も等分で増やす。
   scale(--fs)＝半径(--d)を広げても焦点面の見かけサイズを一定に保つ補正（画像サイズ不変） */
.prism-face:nth-child(1) { transform: rotateY(0deg)   translateZ(var(--d, 300px)) scale(var(--fs, 1)); }
.prism-face:nth-child(2) { transform: rotateY(60deg)  translateZ(var(--d, 300px)) scale(var(--fs, 1)); }
.prism-face:nth-child(3) { transform: rotateY(120deg) translateZ(var(--d, 300px)) scale(var(--fs, 1)); }
.prism-face:nth-child(4) { transform: rotateY(180deg) translateZ(var(--d, 300px)) scale(var(--fs, 1)); }
.prism-face:nth-child(5) { transform: rotateY(240deg) translateZ(var(--d, 300px)) scale(var(--fs, 1)); }
.prism-face:nth-child(6) { transform: rotateY(300deg) translateZ(var(--d, 300px)) scale(var(--fs, 1)); }

.prism-nav { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.92); color: var(--ink-strong); font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color .2s, color .2s, background .2s; }
.prism-nav:hover { border-color: var(--magenta); color: var(--magenta); }
@media (max-width: 560px) { .prism-nav { width: 40px; height: 40px; font-size: 19px; } }

.prism-dots { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.prism-dots button { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: rgba(255,255,255,.6);
  border: 1px solid var(--line); border-radius: 20px; padding: 7px 16px; cursor: pointer; transition: all .2s; }
.prism-dots button:hover { color: var(--ink-strong); border-color: var(--ink-soft); }
.prism-dots button.on { color: #fff; background: var(--grad); border-color: transparent; }
.prism-hint { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 14px; }

/* ============================================================
   UNIFIED HEADER（黒背景・80px・白文字・スクロールで不変／ロゴ＝白文字版PNG）
   Sony仕様の所作（ナビ14px/400/.02em・ホバー下線+opacity）はダーク上で踏襲
   ============================================================ */
.site-header {
  height: var(--header-h);
  background: #0e0f12;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: none;
}
/* ロゴは白文字版（PDFの黒背景を抜いた assets/logo.png）。ダークSVGは隠す */
.brand-logo.logo-light { display: block; height: 30px; width: auto; }
.brand-logo.logo-dark { display: none; }
/* ナビ：14px / 400 / .02em、白、ホバーは下線＋opacity */
.global-nav a { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 400; letter-spacing: .02em; transition: opacity .25s ease; }
.global-nav a:hover { opacity: .6; }
.global-nav a:hover::after, .global-nav a.active::after { width: 100%; }
.global-nav a::after { background: #ffffff; height: 1px; }
.global-nav a.active { color: #ffffff; }
.lang-toggle a { color: rgba(255,255,255,.6); }
.lang-toggle a.on, .lang-toggle .sep { color: #ffffff; }
/* お問い合わせ：控えめなアウトライン */
.btn-head { color: #ffffff; background: none; border: 1px solid rgba(255,255,255,.5); box-shadow: none; font-weight: 500; }
.btn-head:hover { background: #ffffff; color: #0e0f12; border-color: #ffffff; }
.nav-burger span { background: #ffffff; }
/* モバイルドロワー：ダーク */
.mobile-drawer { background: #131418; border-bottom-color: rgba(255,255,255,.12); }
.mobile-drawer a { color: #ffffff; }
.mobile-drawer li { border-bottom-color: rgba(255,255,255,.12); }

/* ============================================================
   SONY-STYLE DETAILS（丸い矢印ボタン・ヒーローの再生コントロール）
   構成・トンマナは維持し、デザインの所作だけ Sony に寄せる
   ============================================================ */
/* もっと見る＝テキスト＋円形の矢印ボタン（Sonyの定番） */
.s-head .more, .more-link {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; font-weight: 600; color: var(--ink-strong);
  border: none; padding: 0; background: none; white-space: nowrap;
}
.s-head .more::after, .more-link::after {
  content: "→"; font-family: var(--font-en); font-size: 16px; line-height: 1; color: var(--ink-strong);
  width: 42px; height: 42px; flex: none; border: 1px solid var(--line); border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .35s cubic-bezier(.22,1,.36,1), color .3s, border-color .3s, transform .35s cubic-bezier(.22,1,.36,1);
}
.s-head .more:hover, .more-link:hover { color: var(--ink-strong); background: none; }
.s-head .more:hover::after, .more-link:hover::after {
  background: var(--grad); color: #fff; border-color: transparent; transform: translateX(3px);
}

/* ヒーローの再生/一時停止（Sonyのヒーロー右下のコントロール） */
.hero-toggle {
  position: absolute; right: 28px; bottom: 26px; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: 13px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s, border-color .25s;
}
.hero-toggle:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: scale(1.06); }
@media (max-width: 560px) { .hero-toggle { right: 18px; bottom: 18px; width: 42px; height: 42px; } }

/* ============================================================
   TYPOGRAPHY & SPACING 微調整（Sonyスケール：見出し・字間・本文行間・余白）
   ============================================================ */
/* 見出し：Sonyの中〜やや大、字間は控えめ */
.s-head h2, .block-head h2, .section-head h2 { font-size: clamp(24px, 3.2vw, 33px); font-weight: 700; letter-spacing: .01em; line-height: 1.4; }
.s-head .en, .block-head .en, .section-head .en { letter-spacing: .22em; }
/* 本文行間：ゆったり（Sony） */
body { line-height: 1.9; }
.s-card p, .case-card p, .role-card p, .philo-card p, .article-card h3 { line-height: 1.9; }
.lead-text, .mf-sub, .hero-lead { line-height: 2.0; }
.profile-table th, .profile-table td { line-height: 1.85; }
/* 余白：セクションをよりゆったり（Sonyの“間”） */
.section { padding: 116px 24px; }
.page-section { padding: 96px 24px; }
.section-head { margin-bottom: 56px; }
@media (max-width: 720px) {
  .section { padding: 76px 22px; }
  .page-section { padding: 64px 22px; }
}

/* ============================================================
   HERO：フォント感を Sony に（Helvetica系＋やや軽め）＋左寄せ
   ============================================================ */
.hero { text-align: left; }
.hero-inner { max-width: var(--maxw); margin: 0 auto; }
.hero h1 { font-family: var(--font-en); font-weight: 500; letter-spacing: .005em; line-height: 1.42; }
.hero h1 .grad-text { font-weight: 500; }
.hero-lead { margin-left: 0; margin-right: 0; max-width: 600px; }
.hero-actions { justify-content: flex-start; }

/* ============================================================
   SONY HERO（仕様書準拠：左コピー＋16:9ビジュアルカルーセル＋スライド番号
   ＋Scroll表示。背景はトンマナの動くグラデを淡い白ベール越しに維持）
   ============================================================ */
.hero { text-align: left; color: var(--ink-strong);
  background: linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.9) 55%, rgba(255,255,255,.96) 100%); }
.hero-inner { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 60px; align-items: center; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-copy { max-width: 520px; }
.hero-copy h1 { font-family: var(--font); font-size: clamp(32px, 5vw, 72px); font-weight: 500; line-height: 1.35; letter-spacing: .02em; color: #111; margin-bottom: 32px; }
.hero-copy h1 .grad-text { font-weight: 500; }
.hero-copy .hero-lead { font-size: clamp(15px, 1.5vw, 17px); font-weight: 400; line-height: 1.9; color: #555; margin: 0 0 40px; max-width: 460px; }
.hero-actions { justify-content: flex-start; }

/* 16:9 カルーセル（Fade＋Subtle Zoom） */
.hero-slider { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #f1f1f3; box-shadow: 0 24px 60px rgba(17,17,17,.12); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 6.5s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-index { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 8px; align-items: center;
  color: #fff; font-size: 14px; font-weight: 400; letter-spacing: .08em; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.hero-index-sep { opacity: .55; }

/* Scroll 表示（仕様書：12px / #333 / 上下に静かに動く） */
.hero .scroll-hint { font-family: var(--font-en); font-size: 12px; font-weight: 400; letter-spacing: .12em; color: #333; text-transform: none; }
.hero .scroll-hint::after { background: linear-gradient(#333, transparent); }

/* ロードアニメーション（仕様書タイムライン：コピー0.2s→画像0.4s→Scroll0.8s） */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { opacity: 0; animation: heroFadeUp .9s cubic-bezier(.4,0,.2,1) .2s forwards; }
  .hero-slider { opacity: 0; animation: heroFadeUp 1s cubic-bezier(.4,0,.2,1) .4s forwards; }
  .hero .scroll-hint { opacity: 0; animation: heroFadeUp .8s ease-out .8s forwards; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { max-width: none; }
}

/* ============================================================
   HERO 動画背景に復帰（カルーセル/画像なし・白文字コピー）
   ============================================================ */
.hero { position: relative; z-index: 0; text-align: left; color: #fff; background: #0b0f1e; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, rgba(8,8,20,.66) 0%, rgba(8,8,20,.4) 48%, rgba(8,8,20,.14) 100%),
  linear-gradient(0deg, rgba(8,8,20,.5) 0%, rgba(8,8,20,0) 42%); }
.hero-inner { position: relative; z-index: 2; display: block; max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-copy { max-width: 640px; }
.hero-copy h1 { color: #fff; }
.hero-copy .hero-lead { color: rgba(255,255,255,.9); max-width: 560px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; }
.hero .scroll-hint { color: rgba(255,255,255,.78); }
.hero .scroll-hint::after { background: linear-gradient(rgba(255,255,255,.78), transparent); }

/* ============================================================
   余白拡大（各構成部の縦幅を大きく・HP全体にゆとり）
   ============================================================ */
.section { padding: 220px 24px; }
.mission-feature { padding: 220px 24px; }
.page-section { padding: 150px 24px; }
.s-head { margin-bottom: 84px; }
.section-head { margin-bottom: 88px; }
@media (max-width: 720px) {
  .section, .mission-feature { padding: 110px 22px; }
  .page-section { padding: 84px 22px; }
  .s-head, .section-head { margin-bottom: 56px; }
}

/* ============================================================
   ABOUT 3D TILT（私たちについて：マウス追従の立体チルト・なじむ控えめ動き）
   ============================================================ */
.about-3d { perspective: 1100px; }
.about-3d .s-card { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .4s ease; }
.about-3d .s-card.tilting { transition: transform .08s linear, box-shadow .4s ease; }
.about-3d .s-card .s-thumb { transform: translateZ(28px); transition: box-shadow .4s ease; }
.about-3d .s-card .s-cat,
.about-3d .s-card h3 { transform: translateZ(18px); }
.about-3d .s-card p { transform: translateZ(10px); }
.about-3d .s-card:hover { box-shadow: 0 30px 60px rgba(20,30,60,.18); }
@media (hover: none) { .about-3d { perspective: none; } .about-3d .s-card,
  .about-3d .s-card .s-thumb, .about-3d .s-card .s-cat, .about-3d .s-card h3, .about-3d .s-card p { transform: none; } }

/* ============================================================
   ABOUT カバーフロー（中央＝ピント／前後＝強めのぼかしで左右に覗く）
   ============================================================ */
.about-carousel { max-width: var(--maxw); margin: 0 auto; }
.ac-stage { position: relative; --ac-w: clamp(320px, 44vw, 580px); height: calc(var(--ac-w) * 9 / 16); overflow: hidden; }
.ac-slide { position: absolute; top: 0; left: 50%; width: var(--ac-w); aspect-ratio: 16 / 9;
  border-radius: 8px; overflow: hidden; background: var(--bg-alt); cursor: pointer;
  transform: translateX(-50%); filter: blur(12px); opacity: .55;
  transition: transform .75s cubic-bezier(.4,0,.2,1), filter .75s ease, opacity .75s ease;
  will-change: transform, filter, opacity; }
.ac-slide img { width: 100%; height: 100%; object-fit: cover; }
.ac-slide.is-active { filter: blur(0); opacity: 1; cursor: default; box-shadow: 0 28px 64px rgba(20,30,60,.22); }

/* 下段：矢印/番号は左下、見出し＋説明はピント画像の真下（marginLeft/widthはJSが設定） */
.ac-bottom { position: relative; max-width: var(--maxw); margin: 40px auto 0; min-height: 130px; }
.ac-controls { position: absolute; left: 0; top: 4px; display: flex; flex-direction: column; gap: 18px; }
.ac-arrows { display: flex; gap: 14px; }
.ac-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.55);
  color: var(--ink-strong); font-family: var(--font-en); font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: border-color .25s, color .25s, background .25s, transform .25s; }
.ac-arrow:hover { border-color: var(--magenta); color: var(--magenta); transform: translateY(-2px); }
.ac-bar { width: 128px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.ac-bar-fill { position: absolute; left: 0; top: 0; height: 100%; width: 33.333%; background: var(--ink-strong); transition: width .6s cubic-bezier(.4,0,.2,1); }
.ac-num { font-family: var(--font-en); font-size: 14px; letter-spacing: .08em; color: var(--ink-soft); }
.ac-num span { color: var(--ink-strong); font-weight: 600; }

.ac-cap { display: block; color: inherit; }
.ac-cat { font-family: var(--font-en); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-soft); }
.ac-cap h3 { font-size: clamp(19px, 2.2vw, 26px); font-weight: 700; margin-top: 8px; color: var(--ink-strong); line-height: 1.45; }
.ac-desc { font-size: 14.5px; color: var(--ink-soft); margin-top: 10px; line-height: 1.95; }

@media (max-width: 760px) {
  .ac-stage { --ac-w: 76vw; }
  .ac-bottom { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .ac-controls { position: static; flex-direction: row; align-items: center; gap: 16px; }
  .ac-arrow { width: 46px; height: 46px; font-size: 16px; }
  .ac-cap { text-align: center; }
}

/* ============================================================
   SERVICE SCROLLY（スクロール連動でピン留め・事業が順に進む＝Sony Creator Stories風）
   ============================================================ */
.scrolly { position: relative; height: 380vh; }   /* N=4 → 約95vh/事業ぶんスクロール */
.scrolly-sticky { position: sticky; top: 0; height: 100vh; min-height: 600px; overflow: hidden;
  display: flex; flex-direction: column; padding: calc(var(--header-h) + 44px) 48px 56px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* 見出しは他セクションと同じ .s-head を使用（フォントを全体と統一） */
.scrolly-sticky .s-head { width: 100%; margin-bottom: 0; }

.sc-slides { position: relative; flex: 1; max-width: var(--maxw); width: 100%; margin: 28px auto 0; }
.sc-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
  opacity: 0; visibility: hidden; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1), visibility .7s; }
.sc-slide.is-active { opacity: 1; visibility: visible; transform: none; }
.sc-img { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--bg-alt); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.sc-slide.is-active .sc-img img { transform: scale(1.04); }
.sc-num { font-family: var(--font-en); font-size: 14px; letter-spacing: .1em; color: var(--ink-soft); }
.sc-text h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; color: var(--ink-strong); margin: 10px 0 16px; line-height: 1.3; }
.sc-desc { font-size: 15px; color: var(--ink-soft); line-height: 2; max-width: 460px; }
.sc-tags { margin-top: 24px; display: flex; gap: 18px; flex-wrap: wrap; font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--magenta); }

.sc-progress { position: absolute; right: 38px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.sc-pg { width: 2px; height: 36px; background: var(--line); transition: background .4s ease; }
.sc-pg.on { background: var(--ink-strong); }

@media (max-width: 760px) {
  /* スマホでもピン留めを維持（スクロールで事業が順に進む）。スライドは画像上＋テキスト下に */
  .scrolly-sticky { padding: calc(var(--header-h) + 28px) 22px 40px; }
  .sc-slide { grid-template-columns: 1fr; gap: 16px; align-content: center; }
  .sc-text h3 { font-size: clamp(22px, 6vw, 30px); margin: 6px 0 12px; }
  .sc-desc { font-size: 14px; line-height: 1.85; }
  .sc-tags { margin-top: 16px; gap: 14px; }
  .sc-progress { right: 14px; }
}

/* ============================================================
   MEDIA LIST（Sony Corporate Activities風：2列、各項目=画像＋日付/タイトル横並び）
   ============================================================ */
.media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; max-width: var(--maxw); margin: 0 auto; }
.media-item { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 28px; align-items: center; color: inherit; }
.mi-img { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-alt); }
.mi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.media-item:hover .mi-img img { transform: scale(1.04); }
.mi-date { font-family: var(--font-en); font-size: 13px; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 12px; }
.mi-text h3 { font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; color: var(--ink-strong); line-height: 1.7; transition: color .2s; }
.media-item:hover .mi-text h3 { color: var(--magenta); }

@media (max-width: 900px) {
  .media-list { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .media-item { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   NEWS RELEASES 風（お知らせ・採用情報）
   左=大きいEN見出し＋和文＋一覧の丸ボタン／右=日付付きリスト（ヘアライン区切り＋右上向き矢印）
   ============================================================ */
.nr { display: grid; grid-template-columns: 0.82fr 1.6fr; gap: 64px; max-width: var(--maxw); margin: 0 auto; align-items: start; }
.nr-en { font-family: var(--font-en); font-size: clamp(34px, 4.6vw, 56px); font-weight: 300; letter-spacing: .01em; color: var(--ink-strong); line-height: 1.06; }
.nr-jp { font-size: 14px; letter-spacing: .14em; color: var(--ink-soft); margin-top: 18px; }
.nr-all { display: inline-flex; align-items: center; gap: 24px; margin-top: 52px; color: var(--ink-strong); font-size: 14px; font-weight: 600; }
.nr-allbtn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; color: var(--ink-strong); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.nr-all:hover .nr-allbtn { background: var(--ink-strong); color: #fff; border-color: var(--ink-strong); transform: translate(2px,-2px); }

.nr-list { display: block; }
.nr-item { display: block; position: relative; padding: 32px 64px 34px 0; border-top: 1px solid var(--line); color: inherit; }
.nr-item:last-child { border-bottom: 1px solid var(--line); }
.nr-meta { display: flex; align-items: baseline; gap: 24px; font-size: 14px; color: var(--ink-soft); letter-spacing: .02em; }
.nr-meta time { font-family: var(--font-en); }
.nr-title { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; color: var(--ink-strong); line-height: 1.6; margin-top: 16px; transition: color .2s; }
.nr-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.8; margin-top: 12px; }
.nr-arrow { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--ink-soft); transition: color .2s, transform .25s; }
.nr-item:hover .nr-title { color: var(--magenta); }
.nr-item:hover .nr-arrow { color: var(--magenta); transform: translateY(-50%) translate(4px,-4px); }

@media (max-width: 820px) {
  .nr { grid-template-columns: 1fr; gap: 36px; }
  .nr-all { margin-top: 28px; }
  .nr-item { padding: 26px 44px 28px 0; }
}
/* ============================================================
   トップ見出しの共通化：News/Recruit を他セクション(.s-head)と同じ表現へ
   小さいENラベル(大文字)＋太字の和文見出し。2カラムのレイアウトは維持。
   ============================================================ */
.nr-head .en { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .22em; color: var(--ink-soft); }
.nr-head h2 { font-size: clamp(24px, 3.2vw, 33px); font-weight: 700; color: var(--ink-strong); letter-spacing: .01em; line-height: 1.4; margin-top: 8px; }
.nr-head .nr-all { margin-top: 38px; }
/* ============================================================
   モバイル最適化（スマホでの挙動・見え方を整える）
   ============================================================ */
@media (max-width: 720px) {
  /* ヒーロー：上の余白(200px)を詰めてコピーを上寄りに・見出しを縮小 */
  .hero { min-height: 84vh; padding: calc(var(--header-h) + 40px) 22px 80px; }
  .hero-copy { max-width: none; }
  .hero-copy h1 { font-size: clamp(26px, 7vw, 40px); line-height: 1.34; margin-bottom: 20px; }
  .hero-copy .hero-lead { font-size: 14.5px; line-height: 1.95; }
  /* ミッション：背面の流れる画像を控えめにして本文の可読性を確保 */
  .mflow { opacity: .42; }
  .mf-statement { font-size: clamp(22px, 6vw, 30px); line-height: 1.55; }
}
@media (max-width: 560px) {
  .prism-wrap { gap: 8px; }   /* 矢印との間隔を詰め、四角柱を少し大きく */
}
/* ============================================================
   操作性・アクセシビリティの底上げ（Sony水準へ）
   ヒーロー再生/停止(.hero-toggle)は既存。ここでは focus-visible / skip / to-top。
   ============================================================ */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--magenta); outline-offset: 3px; border-radius: 3px;
}
main:focus { outline: none; }
.skip-link { position: fixed; left: 16px; top: -64px; z-index: 1000; background: #0e0f12; color: #fff;
  padding: 10px 18px; border-radius: 6px; font-size: 14px; font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: top .2s ease; }
.skip-link:focus { top: 14px; outline: 2px solid #fff; outline-offset: 2px; }
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); color: var(--ink-strong); cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(20,30,60,.18);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s, border-color .2s, color .2s; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--magenta); color: var(--magenta); }
@media (max-width: 560px) { .to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }
/* ============================================================
   イントロ（打ち込み/タイプライター）— Sony風の起動演出
   ============================================================ */
.intro-lock { overflow: hidden; }
.intro {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center;
  background: linear-gradient(120deg, #0c1538 0%, #1c1142 50%, #2e0f28 100%);
  transition: opacity .8s ease, visibility .8s ease;
}
.intro.done { opacity: 0; visibility: hidden; }
.intro-text { color: #fff; font-family: var(--font); font-weight: 300;
  font-size: clamp(26px, 5.2vw, 58px); line-height: 1.55; letter-spacing: .05em; }
.intro-caret { display: inline-block; width: .055em; height: 1.05em; margin-left: .06em;
  background: var(--magenta); vertical-align: -0.13em; animation: introBlink 1s steps(1, end) infinite; }
@keyframes introBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .intro-caret { animation: none; } }
/* ============================================================
   デザインシステム統一（大手感＝抑制・一貫性）
   ・角丸 / 影 / ホバー を1規格に
   ・グラデ文字 → 単色（ブランドの差し色＝マゼンタ）
   ・ヒーロー見出しを細く
   ※末尾に置き、各所のばらつきを上書き
   ============================================================ */
:root {
  --radius: 0px;
  --shadow: 0 12px 30px rgba(20,30,60,.10);
  --shadow-hi: 0 18px 42px rgba(20,30,60,.14);
  --lift: -4px;
  --img-zoom: 1.045;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --- 角丸を1規格に（円形ボタンは除く） --- */
.s-thumb, .sc-img, .ac-slide, .mi-img, .prism-face, .mflow .mtile,
.service-card, .plan-card, .case-card, .article-card, .role-card, .philo-card, .values-box,
.step-card, .flow-item, .price-box, .price-cell, .teaser-chip, .placeholder-note,
.hero-slider, .btn-primary, .btn-ghost, .more-link, .btn-head,
.form-row input, .form-row textarea, .form-row select, .form-submit, .cta .btn-cta {
  border-radius: var(--radius);
}

/* --- 影を1規格に（平常=フラット、強調のみ共通の影） --- */
.service-card, .article-card, .case-card, .role-card, .plan-card, .philo-card, .values-box,
.step-card, .teaser-chip, .s-card, .s-thumb, .mi-img { box-shadow: none; }
.ac-slide.is-active { box-shadow: var(--shadow-hi); }
.mflow .mtile { box-shadow: var(--shadow); }
.btn-primary, .form-submit, .cta .btn-cta { box-shadow: var(--shadow); }

/* --- ホバーを1規格に（カード=持ち上げ＋共通の影／画像=ズーム） --- */
.service-card, .article-card, .case-card, .role-card, .philo-card, .values-box, .teaser-chip, .s-card {
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .2s;
}
.service-card:hover, .article-card:hover, .case-card:hover, .role-card:hover,
.philo-card:hover, .values-box:hover, .teaser-chip:hover {
  transform: translateY(var(--lift)); box-shadow: var(--shadow-hi); border-color: var(--line);
}
.s-card:hover .s-thumb img, .media-item:hover .mi-img img,
.article-card:hover .article-thumb img, .case-card:hover .case-thumb img {
  transform: scale(var(--img-zoom));
}
.btn-primary:hover, .form-submit:hover, .cta .btn-cta:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-hi);
}

/* --- グラデ文字 → 単色（マゼンタ）。レインボー＝startup感をやめる --- */
.grad-text, .mf-statement strong, .impl-rule b, .price-box .lead strong, .message-block .rep-lead b {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--magenta); color: var(--magenta);
}

/* --- 見出しを細く（抑制＝大手感） --- */
.hero-copy h1 { font-weight: 300; letter-spacing: .015em; }
.hero-copy h1 .grad-text { font-weight: 400; }
.s-head h2, .section-head h2, .block-head h2 { font-weight: 600; }
.mf-statement strong { font-weight: 500; }
/* ============================================================
   [モバイル] ミッション：流れる画像を文字の「下」に（かぶり解消）
   PC=画像が背面に重なる演出 / スマホ=縦積み（文字→画像帯）
   ============================================================ */
@media (max-width: 720px) {
  .mission-feature { flex-direction: column; align-items: stretch; justify-content: flex-start; min-height: 0; }
  .mf-text { order: 0; position: relative; z-index: 2; max-width: none; }
  .mflow {
    position: relative; inset: auto; order: 1;
    width: 100%; height: 300px; margin-top: 26px;
    opacity: 1; overflow: hidden;
  }
}

/* ============================================================
   [モバイル] Sony 仕上げ — 挙動の磨き込み
   ・モバイルメニュー＝全画面オーバーレイ＋スクロールロック（中途半端なドロップを廃止）
   ・タップ領域を 44px 以上に（バーガー/矢印/トップへ戻る）
   ・四角柱の矢印を画像に重ねて柱を全幅に＋スワイプ対応（JS）
   ・ヒーロー/ピン留めの高さを svh/dvh 化（URLバー伸縮のガタつき防止）
   末尾追記＝既存ブロックは触らず cascade で上書き（revert容易）
   ============================================================ */

/* --- ヒーローの高さを small viewport 基準に（モバイルのURLバー伸縮で跳ねない） --- */
@media (max-width: 720px) {
  .hero { min-height: 84svh; }
}

/* --- モバイルメニュー：全画面オーバーレイ（Sony風） --- */
@media (max-width: 860px) {
  .mobile-drawer {
    display: block;                       /* 常時DOMに置きopacity/visibilityで開閉アニメ */
    top: var(--header-h);
    height: calc(100dvh - var(--header-h));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: 8px 0 32px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .3s ease, transform .4s cubic-bezier(.22,1,.36,1), visibility .3s;
  }
  .mobile-drawer.open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .mobile-drawer ul { padding: 6px 24px 8px; }
  .mobile-drawer li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .mobile-drawer a { display: block; padding: 19px 4px; font-size: 16px; font-weight: 500; }
  .mobile-drawer .btn-head {
    display: block; text-align: center; margin: 26px 24px 0;
    padding: 16px; font-size: 15px; font-weight: 600;
  }
  /* メニュー展開中は背後をスクロールさせない */
  html.nav-open, html.nav-open body { overflow: hidden; }
  /* タップ領域：バーガーを 44px 角に */
  .nav-burger { padding: 10px; }
}

/* --- タップ領域 44px 以上（矢印・トップへ戻る） --- */
@media (max-width: 560px) {
  .prism-nav { width: 44px; height: 44px; font-size: 19px; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* --- 四角柱：矢印を画像に重ねて柱を全幅に（小画面で柱が痩せるのを解消） --- */
@media (max-width: 560px) {
  .prism-wrap { position: relative; gap: 0; }
  .prism-stage { width: 100%; }
  .prism-nav {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
    background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(20,30,60,.18);
  }
  .prism-nav.prev { left: 6px; }
  .prism-nav.next { right: 6px; }
}

/* --- ピン留めサービス節：高さを svh 化（URLバー伸縮で内容が跳ねない） --- */
@media (max-width: 760px) {
  .scrolly-sticky { height: 100svh; }
}

/* ============================================================
   セクション縦余白の拡大（各セクションをより広々と＝上下の"間"を増やす）
   左右パディングは維持し top/bottom のみ上書き（末尾追記で cascade 上書き）
   ============================================================ */
.section { padding-top: 280px; padding-bottom: 280px; }
.mission-feature { padding-top: 280px; padding-bottom: 280px; }
.page-section { padding-top: 190px; padding-bottom: 190px; }
@media (max-width: 720px) {
  .section, .mission-feature { padding-top: 150px; padding-bottom: 150px; }
  .page-section { padding-top: 110px; padding-bottom: 110px; }
}

/* ============================================================
   [モバイル] セクション余白を Sony 相当へ引き締め（150→80px）
   Sony のモバイルは「広く見えて実は効率的」な縦リズム。見出し周りも整える。
   末尾追記＝上の拡大ブロックを後勝ちで上書き（PC は据置）
   ============================================================ */
@media (max-width: 720px) {
  .section, .mission-feature { padding-top: 80px; padding-bottom: 80px; }
  .page-section { padding-top: 64px; padding-bottom: 64px; }
  .s-head, .section-head { margin-bottom: 36px; }
}

/* ============================================================
   [モバイル] 文字・画像のスケールダウン（Sony 相当の控えめな大きさ）
   見出し/ヒーロー/ステートメントを一段小さく、画像の高さも抑える
   末尾追記＝既存のモバイル指定を後勝ちで上書き（PC は据置）
   ============================================================ */
@media (max-width: 720px) {
  /* 文字 */
  .hero-copy h1 { font-size: clamp(21px, 5.4vw, 28px); line-height: 1.42; }
  .hero-copy .hero-lead { font-size: 13.5px; line-height: 1.85; }
  .s-head h2, .section-head h2, .block-head h2 { font-size: 20px; line-height: 1.45; }
  .mf-statement { font-size: 20px; line-height: 1.55; }
  .mf-sub { font-size: 13.5px; }
  .sc-text h3 { font-size: 20px; }
  .sc-desc { font-size: 13.5px; }
  .ac-cap h3 { font-size: 18px; }
  .ac-desc { font-size: 13.5px; }
  .nr-title { font-size: 16px; }
  .mi-text h3 { font-size: 15px; }
  .pf-title { font-size: 18px; }
  /* 画像の高さを抑える */
  .ac-stage { --ac-w: 70vw; }
  .sc-img { aspect-ratio: 16 / 9; }
  .mi-img { aspect-ratio: 16 / 9; }
}
@media (max-width: 560px) {
  .prism-stage { aspect-ratio: 3 / 2; }   /* 導入事例の柱を少し低く */
}

/* ============================================================
   [モバイル] コラム(Media)：画像=左 / コメント=右 の横並びに
   （既存の ≤480px 縦積みを後勝ちで上書き＝Sony Corporate Activities 風の横並びを維持）
   ============================================================ */
@media (max-width: 600px) {
  .media-item { grid-template-columns: 0.82fr 1.18fr; gap: 16px; align-items: center; }
  .mi-img { aspect-ratio: 4 / 3; }
  .mi-date { margin-bottom: 8px; }
}

/* ============================================================
   Sony 文字リベール v2（公式サイト分析）
   ・入りは expo-out（減速して静かに着地・弾まない）＝Sony の所作
   ・見出し/ステートメントは「行が overflow:hidden のマスクからせり上がる」＝文字の挿入
   ・通常ブロックはフェード＋やや大きめの rise。すべて1回のみ発火
   末尾追記＝既存 reveal を後勝ち上書き
   ============================================================ */
[data-reveal] {
  transform: translateY(30px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1);
}
/* 画像サムネの拭き上げも Sony の減速カーブへ統一 */
.s-thumb, .article-thumb, .case-thumb { transition: clip-path 1.05s cubic-bezier(.16,1,.3,1); }

/* 行マスク：行を overflow:hidden で隠し、下からせり上げる（文字の挿入） */
.rl { display: block; overflow: hidden; }
.rl-i { display: block; transform: translateY(108%); transition: transform 1s cubic-bezier(.16,1,.3,1); will-change: transform; }
.rl-on .rl-i { transform: translateY(0); }
/* マスク見出しを内包する親は移動させない（二重移動防止＝opacity フェードのみ） */
.s-head[data-reveal], .nr-head[data-reveal], .mf-text[data-reveal] { transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  .rl-i { transform: none !important; transition: none; }
}

/* ============================================================
   フッターのブランドを正規ロゴ画像に（暗背景用の白ワードマーク）
   ============================================================ */
.footer-brand .brand { gap: 0; }
.footer-brand .brand-logo.footer-logo { height: 36px; width: auto; display: block; }
@media (max-width: 560px) { .footer-brand .brand-logo.footer-logo { height: 32px; } }

/* ============================================================
   規約・プライバシー・サイトマップ等のテキストページ（読みやすいプローズ）
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; }
.legal .legal-lead { color: var(--ink-soft); font-size: 15px; line-height: 1.95; margin-bottom: 40px; }
.legal h2 { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--ink-strong); margin: 40px 0 14px; letter-spacing: .01em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { font-size: 15px; line-height: 1.95; color: var(--ink); }
.legal p { margin-bottom: 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 1.4em; }
.legal ul li { list-style: disc; margin-bottom: 6px; }
.legal ol li { list-style: decimal; margin-bottom: 6px; }
.legal a { color: var(--magenta); text-decoration: underline; }
.legal .legal-note { margin-top: 48px; padding: 16px 18px; background: var(--bg-alt); color: var(--ink-soft); font-size: 13.5px; line-height: 1.9; }

.sitemap-cols { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sitemap-cols h2 { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--ink-soft); font-weight: 700; margin-bottom: 16px; }
.sitemap-cols ul li { margin-bottom: 12px; }
.sitemap-cols a { font-size: 15px; color: var(--ink-strong); transition: color .2s; }
.sitemap-cols a:hover { color: var(--magenta); }
@media (max-width: 700px) { .sitemap-cols { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================
   [モバイル] 事業案内サブページの整え
   実装フロー(5)＝縦ステッパー／料金計算＝縦積み／プランバッジ余白／
   リード左寄せ・カード余白の最適化。末尾追記で上書き
   ============================================================ */
@media (max-width: 560px) {
  /* ページヒーローの上余白を詰める */
  .page-hero { padding: calc(var(--header-h) + 36px) 22px 36px; }
  /* 長いリード文は左寄せ（中央寄せの行端ガタつき解消） */
  .lead-text { text-align: left; margin-bottom: 32px; }

  /* 実装フロー：5項目を縦1列のステッパーに（2列だと最後が孤立して不格好） */
  .flow-list { grid-template-columns: 1fr; gap: 10px; }
  .flow-list .flow-item { display: flex; align-items: center; gap: 14px; text-align: left; padding: 16px 18px; }
  .flow-list .flow-item .flow-step { min-width: 26px; }
  .flow-list .flow-item h3 { margin-top: 0; }

  /* 研修費用：通常 − 補助金 = 実質 を縦に積んで読みやすく */
  .price-box { padding: 32px 20px; }
  .price-calc { flex-direction: column; gap: 10px; }
  .price-cell { width: 100%; max-width: 280px; min-width: 0; padding: 16px 20px; }
  .price-cell .num { font-size: 34px; }
  .price-op { font-size: 22px; line-height: 1; }

  /* サービスカード：1列ではキャッチの最小高さ不要（余白を詰める） */
  .service-card { padding: 26px 22px; }
  .service-card .catch { min-height: 0; }
}
/* 顧問プランが1列になる幅では featured の「人気」バッジが上のカードと重ならないよう余白 */
@media (max-width: 520px) {
  .plan-card.featured { margin-top: 16px; }
}

/* ============================================================
   事業案内（services）モバイル整え
   - 料金計算：横並びが折返して「−」「=」が単独行で浮く＋セルが小さい問題を、
     全幅の縦積み（ラベル左／金額右の1行カード）＋中央寄せの整った演算子に。
   - 実装フロー(5項目)：2列だと5個目が孤児（半幅左寄り）になるのを全幅化で解消。
   ============================================================ */
@media (max-width: 560px) {
  .price-calc { flex-direction: column; align-items: stretch; gap: 10px; }
  .price-cell {
    min-width: 0; width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 16px 20px; text-align: left;
  }
  .price-cell .label { margin-bottom: 0; }
  .price-cell .num { font-size: 32px; }
  .price-cell .num small { font-size: 14px; }
  .price-op { text-align: center; font-size: 20px; line-height: 1; margin: -2px 0; }

  .flow-list .flow-item:last-child { grid-column: 1 / -1; }
}

/* ============================================================
   フッター：文字を全体的に小さく＋サイズを揃えてバランス調整
   ・会社概要カラム(.footer-meta li)が既定16pxで突出していたのをリンクと同サイズへ
   ・モバイルは下段(規約リンク＋著作権)を縦積みにし折返しの乱れを解消
   末尾追記＝既存ブロックは触らず cascade で上書き（revert容易）
   ============================================================ */
.footer-brand p { font-size: 12px; line-height: 1.75; }
.footer-col h4  { font-size: 11px; margin-bottom: 12px; }
.footer-col a   { font-size: 12px; }
.footer-meta li { font-size: 12px; line-height: 1.85; }   /* 既定16px→他カラムと統一 */
.footer-legal a { font-size: 11px; }
.copyright      { font-size: 11px; }
.footer-note    { font-size: 10.5px; line-height: 1.7; }

/* モバイルで brand と nav が横並び(1.3fr 2fr)のまま＝列が細く語中で改行が崩れる。
   後段の非メディア指定が 720px ルールを上書きしていたので、ここで1カラムに戻す */
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .footer-brand p { font-size: 11.5px; }
  .footer-col h4  { font-size: 10.5px; }
  .footer-col a, .footer-meta li { font-size: 11.5px; }
  /* 下段：space-between の折返しで崩れるため縦積み・左揃えに */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; }
  .footer-legal  { flex-wrap: wrap; gap: 8px 18px; }
  .footer-legal a { font-size: 11px; }
  .footer-note   { font-size: 10px; }
}

/* ============================================================
   [モバイル] ミッション：タイトルの下に「広い流動エリア」を確保し、
   PC同様ランダムに画像を流す（タイトルには重ねない／スクリム・影なし）。
   ＝flex縦並びでタイトルを上、.mflow を残り全域(flex:1)に広げて流す。
   末尾追記＝前段の帯/全面指定を上書き。
   ============================================================ */
@media (max-width: 720px) {
  .mission-feature {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    min-height: 92svh; padding: 88px 22px 40px; overflow: hidden;
  }
  /* タイトル＝通常フローで上に。スクリム/影は撤去（かぶせない方針） */
  .mf-text { order: 0; position: relative; z-index: 2; max-width: none; background: none; padding-bottom: 0; }
  .mf-statement, .mf-kicker, .mf-sub { text-shadow: none; }
  /* 画像＝タイトル下の残り全域を埋める広いエリアでランダムに流す */
  .mflow {
    order: 1; position: relative; inset: auto;
    width: 100%; height: auto; flex: 1 1 auto; min-height: 380px; margin-top: 26px;
    opacity: 1; overflow: hidden;
  }
}

/* ============================================================
   ヘッダー：ヒーロー下境界より下＝下スクロールで隠す/上スクロールで再表示。
   配色は変えない（常時 黒＋白ロゴ＝ヒーローと同色）。
   ============================================================ */
.site-header { transition: transform .35s cubic-bezier(.4,0,.2,1); will-change: transform; }
.site-header.header-hidden { transform: translateY(-100%); }

/* ============================================================
   イントロ背景にトンマナ（青→紫→マゼンタ）を反映。トップ背景(.site-bg)より
   彩度高め＝鮮やかなブランドグラデ。文字/キャレットは白で可読性確保。
   末尾追記＝既存の暗いイントロ指定を上書き。
   ============================================================ */
.intro {
  background:
    radial-gradient(58% 70% at 16% 18%, rgba(108,132,196,.34) 0%, transparent 60%),
    radial-gradient(60% 70% at 86% 24%, rgba(146,120,182,.30) 0%, transparent 62%),
    radial-gradient(74% 82% at 74% 92%, rgba(200,128,162,.30) 0%, transparent 66%),
    linear-gradient(125deg, #dfe4f2 0%, #e7e0ee 48%, #f1e2ea 100%);
}
.intro-text { color: var(--ink-strong); }
.intro-caret { background: var(--magenta); }

/* イントロ文字モーション（ハイテク×pop／デバッグ出力風）：
   左から「ぱたぱた」と貼られる split-flap 風の上ヒンジ flip。
   出現中は鮮やか(--cv)、定着すると可読性のため暗色グラデ(--cd)へ。 */
.intro-type .introc {
  display: inline-block; opacity: 0; transform-origin: 50% 0%;
  color: var(--cd, var(--ink-strong));     /* 定着色＝暗色グラデ */
  will-change: transform, opacity, color;
  animation: introSnap .5s cubic-bezier(.34,1.32,.44,1) both;
}
@keyframes introSnap {
  0%   { opacity: 0; transform: perspective(320px) rotateX(-92deg); color: var(--cv); }
  55%  { opacity: 1; transform: perspective(320px) rotateX(6deg); color: var(--cv); }  /* 貼り付く＝鮮やか */
  100% { opacity: 1; transform: perspective(320px) rotateX(0deg); color: var(--cd); }   /* 定着＝暗色 */
}
@media (prefers-reduced-motion: reduce) {
  .intro-type .introc { animation: none; opacity: 1; transform: none; color: var(--cd); }
}

/* ============================================================
   ミッション：構成（大きな "Mission" 見出し＋写真コラージュ）は維持し、
   背景・文字色は従来の明るいトーンに戻す（base/テーマ変数に委ねる）。見出しはやや小さく。
   ============================================================ */
/* ミッションは英字のみの見出し（和文ラベルなし）。見出し＞内容を維持＝
   "Mission" を見出しサイズ・細字、ステートメント(内容)はそれより小さく */
.mf-big {
  font-family: var(--font-en); font-weight: 300; line-height: 1.05;
  font-size: clamp(28px, 4vw, 46px); letter-spacing: .01em; color: var(--ink-strong);
  margin: 0 0 28px;
}
.mf-statement { font-size: clamp(16px, 2.2vw, 24px); line-height: 1.85; }

/* ============================================================
   「もっと見る」を各セクションの右下へ（ミッションは .mf-link のまま＝対象外）。
   .section は relative 化、Service は .scrolly-sticky(sticky) が基準。
   右端はコンテンツ幅(--maxw)の右辺に合わせる。
   ============================================================ */
.section { position: relative; }
/* [data-reveal] の will-change:transform が .s-head を含みブロック化し、abs の .more が
   見出し基準になってしまうのを解除（セクション基準にする）。s-head のリベールは opacity のみで影響なし */
.s-head[data-reveal] { will-change: auto; }
.s-head .more {
  position: absolute; margin: 0; z-index: 4;
  bottom: clamp(26px, 4vw, 56px);
  right: max(22px, calc((100% - var(--maxw)) / 2));
}
/* モバイルは下余白が狭く abs の .more がコンテンツに重なるため、.more を含むセクションだけ下余白を確保 */
@media (max-width: 720px) {
  .section:has(.s-head .more) { padding-bottom: 120px; }
}

/* ============================================================
   [モバイル] About カバーフローの下部を Sony「新製品・サービス」風の配置に：
   キャプション(カテゴリ/タイトル/説明)を上、コントロール(進捗バー＋番号は左／矢印は右)を下に。
   ＝説明文が左右バーの「上」に来る。左寄せ。本体のみ・モバイルのみ。
   ============================================================ */
@media (max-width: 760px) {
  .ac-bottom { align-items: stretch; text-align: left; gap: 22px; }
  .ac-cap { order: 0; text-align: left; }
  .ac-controls { order: 1; width: 100%; flex-direction: row; align-items: center; gap: 14px; }
  .ac-bar { order: 1; }
  .ac-num { order: 2; }
  .ac-arrows { order: 3; margin-left: auto; }   /* 矢印を右端へ（バー＋番号は左） */
}

/* ============================================================
   かくつき（スクロールジャンク）対策 — 末尾追記で上書き
   原因1: 大面積パネルの backdrop-filter:blur を、固定＋アニメーションする .site-bg の上で
          毎フレーム再ブラーしていた（スクロール時の主因）→ blur を解除（半透明白.78は維持）。
   原因2: .site-bg が background-position をアニメ（paintプロパティ＝全画面連続再描画）→
          transform(GPU合成)ベースのドリフトに変更し再ペイントを排除。
   ============================================================ */
.hero, .section, .section.alt, .cta.section,
.mission-feature, .page-section, .page-hero, .scrolly-sticky {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
.site-bg {
  inset: -8%;
  /* background-position は静止させ、要素自体を transform でゆっくり動かす（合成のみ＝再ペイントなし） */
  background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, 0 0;
  animation: bgDrift 30s ease-in-out infinite;
  will-change: transform;
}
@keyframes bgDrift {
  0%, 100% { transform: translate3d(-1.2%, -1%, 0) scale(1.05); }
  50%      { transform: translate3d(1.6%, 1.2%, 0) scale(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .site-bg { animation: none; transform: none; inset: 0; }
}

/* ===== フォーム送信ステータス（gas-form）===== */
.form-status { margin: 14px 0 0; font-size: 14px; font-weight: 700; text-align: center; min-height: 1.2em; }
.form-status.ok  { color: #1f8a4c; }
.form-status.err { color: var(--accent, #d6336c); }
.gas-form .form-submit[disabled] { opacity: .6; cursor: progress; }

/* ===== サブページ詳細（導入事例・コラム個別ページ）===== */
.detail-wrap { max-width: 760px; margin: 0 auto; }
.detail-title { font-size: clamp(24px, 4vw, 38px); font-weight: 700; line-height: 1.4; letter-spacing: .01em; margin: 14px 0 26px; }
.detail-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: #777; margin-bottom: 4px; }
.detail-meta time { color: #888; }
.detail-hero-figure { position: relative; aspect-ratio: 16 / 7; border-radius: 12px; background: var(--grad); background-size: 180% 180%; display: grid; place-items: center; overflow: hidden; margin-bottom: 30px; box-shadow: 0 16px 40px rgba(214,51,108,.18); }
.detail-hero-figure span { color: rgba(255,255,255,.92); font-weight: 800; letter-spacing: .12em; font-size: clamp(28px, 6vw, 56px); }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.case-stats .stat { background: rgba(255,255,255,.78); border: 1px solid rgba(0,0,0,.06); border-radius: 10px; padding: 22px 14px; text-align: center; }
.case-stats .stat-num { display: block; font-size: 30px; font-weight: 800; color: var(--magenta, #d6336c); line-height: 1; }
.case-stats .stat-label { display: block; margin-top: 8px; font-size: 12px; color: #666; }
.detail-body { margin-top: 14px; }
.detail-body h2 { position: relative; font-size: 20px; font-weight: 700; margin: 38px 0 14px; padding-left: 14px; }
.detail-body h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 2px; background: var(--grad); }
.detail-body p { font-size: 15px; line-height: 1.95; color: #333; margin: 0 0 16px; }
.detail-lead { font-size: 17px; line-height: 1.9; color: #222; font-weight: 500; margin-bottom: 8px; }
.detail-back { margin-top: 40px; }
.detail-back a { font-weight: 700; color: var(--magenta, #d6336c); text-decoration: none; }
.detail-back a:hover { text-decoration: underline; }
a.case-card, a.article-card { text-decoration: none; color: inherit; cursor: pointer; }
@media (max-width: 560px) { .case-stats { grid-template-columns: 1fr; } }

/* ===== [W-021] ヒーロー見出しのみブランドグラデ復活（Q-005: 青→紫→マゼンタ）=====
   他ページ・他箇所の .grad-text 単色マゼンタ（1118-1122の方針）は維持し、
   トップの第一印象＝ヒーロー見出しだけブランドのグラデに揃える。解除は本ブロック削除のみ。 */
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  /* 動画上での視認性：色は変えず、白の縁取り（4方向drop-shadow）＋薄い暗影で輪郭を出す。
     text-shadow/-webkit-text-strokeはclip:text環境で崩れやすいためfilterで実装。 */
  filter:
    drop-shadow(.5px .5px 0 rgba(255, 255, 255, .7)) drop-shadow(-.5px .5px 0 rgba(255, 255, 255, .7))
    drop-shadow(.5px -.5px 0 rgba(255, 255, 255, .7)) drop-shadow(-.5px -.5px 0 rgba(255, 255, 255, .7))
    drop-shadow(0 1px 4px rgba(0, 0, 0, .4));
}

/* ===== [Q-006] 送信結果モーダル（洗練デザイン）===== */
.form-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.form-modal.is-open { display: flex; }
.form-modal__overlay { position: absolute; inset: 0; background: rgba(10, 12, 28, .5); backdrop-filter: blur(8px) saturate(1.1); -webkit-backdrop-filter: blur(8px) saturate(1.1); opacity: 0; }
.form-modal.is-open .form-modal__overlay { animation: fmOverlay .35s ease forwards; }
@keyframes fmOverlay { to { opacity: 1; } }

.form-modal__box {
  position: relative; width: 100%; max-width: 432px; background: #fff; border-radius: 22px;
  padding: 46px 40px 34px; text-align: center; overflow: hidden;
  box-shadow: 0 40px 100px -24px rgba(20, 16, 50, .5);
  opacity: 0; transform: translateY(18px) scale(.96);
}
.form-modal.is-open .form-modal__box { animation: fmBox .5s cubic-bezier(.22, 1, .36, 1) forwards .04s; }
@keyframes fmBox { to { opacity: 1; transform: none; } }
.form-modal__box::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.form-modal__box::after { content: ""; position: absolute; top: 6px; left: 50%; width: 210px; height: 130px; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 40%, rgba(140, 90, 156, .15), transparent 70%); pointer-events: none; }

.form-modal__icon { position: relative; width: 76px; height: 76px; margin: 4px auto 22px; }
.fm-svg { width: 76px; height: 76px; display: block; }
.fm-ring { fill: none; stroke: url(#fmGrad); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 145; stroke-dashoffset: 145; }
.fm-check { fill: none; stroke: url(#fmGrad); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 44; stroke-dashoffset: 44; }
.fm-cross { display: none; fill: none; stroke: var(--magenta, #d6336c); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.form-modal.is-open .fm-ring { animation: fmDraw .6s ease forwards .12s; }
.form-modal.is-open .fm-check { animation: fmDraw .42s ease forwards .55s; }
.form-modal.is-error .fm-check { display: none; }
.form-modal.is-error .fm-cross { display: inline; }
.form-modal.is-error .fm-ring { stroke: var(--magenta, #d6336c); }
.form-modal.is-error.is-open .fm-cross { animation: fmDraw .4s ease forwards .55s; }
@keyframes fmDraw { to { stroke-dashoffset: 0; } }

.form-modal__eyebrow { font-family: var(--font-en, "Manrope", sans-serif); font-size: 11px; font-weight: 700; letter-spacing: .32em; margin: 0 0 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.form-modal.is-error .form-modal__eyebrow { background: none; -webkit-text-fill-color: var(--magenta, #d6336c); color: var(--magenta, #d6336c); }
.form-modal__title { font-size: 21px; font-weight: 700; letter-spacing: .01em; line-height: 1.45; margin: 0 0 12px; color: var(--ink, #161823); text-wrap: balance; word-break: keep-all; }
.form-modal__msg { font-size: 13.5px; line-height: 1.95; color: var(--ink-soft, #5a5d6b); margin: 0 auto 28px; max-width: 340px; text-wrap: pretty; }
.form-modal__msg .fm-ph { white-space: nowrap; }   /* 文節は途中で改行しない＝改行位置を文節境界に揃える */
.form-modal.is-open .form-modal__eyebrow,
.form-modal.is-open .form-modal__title,
.form-modal.is-open .form-modal__msg,
.form-modal.is-open .form-modal__btn { animation: fmUp .5s ease both; }
.form-modal.is-open .form-modal__eyebrow { animation-delay: .18s; }
.form-modal.is-open .form-modal__title { animation-delay: .24s; }
.form-modal.is-open .form-modal__msg { animation-delay: .3s; }
.form-modal.is-open .form-modal__btn { animation-delay: .36s; }
@keyframes fmUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.form-modal__btn {
  font-family: inherit; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: #fff;
  background: var(--grad); background-size: 180% 100%; background-position: 0 0; border: none; cursor: pointer;
  padding: 13px 44px; border-radius: 999px; transition: background-position .4s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 26px -6px rgba(214, 51, 108, .5);
}
.form-modal__btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(214, 51, 108, .6); }
.form-modal__btn:active { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .form-modal__overlay, .form-modal__box, .fm-ring, .fm-check, .fm-cross,
  .form-modal__eyebrow, .form-modal__title, .form-modal__msg, .form-modal__btn { animation: none !important; }
  .form-modal__box { opacity: 1; transform: none; }
  .form-modal__overlay { opacity: 1; }
  .fm-ring, .fm-check, .fm-cross { stroke-dashoffset: 0; }
}

/* ===== [W-021] トップ仕上げ：タイポの細部（行分けの整え）— 末尾追記で上書き =====
   見出しは text-wrap:balance で行長を均し、和文は word-break:keep-all で
   文節（句読点）境界を尊重して不自然な途中改行を防ぐ（長い英字/URLは anywhere で逃がす）。
   本文・リードは text-wrap:pretty で行末の孤立文字（orphan）を抑える。
   見た目の大枠は変えず、可読性と仕上がり感だけを底上げ。解除は本ブロック削除のみ。 */
.hero h1,
.s-head h2, .section-head h2, .block-head h2,
.mf-big, .mf-statement,
.nr-title, .media-item h3, .ac-cap h3,
.section.cta h2 {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-lead, .hero-copy .hero-lead,
.mf-sub, .sc-desc,
.nr-sub, .ac-desc, .pf-cap .pf-sub,
.section.cta p {
  text-wrap: pretty;
}

/* ===== [W-022] サブページもトップ(W-021)と同じ「行分けの整え」に揃える — 末尾追記で上書き =====
   page-hero／各カードの見出し(h3/h4)＝balance＋和文keep-all、リード/本文＝pretty。
   全ページの仕上がり感をトップと統一（services/about/recruit/cases）。解除は本ブロック削除のみ。 */
.page-hero h1, .page-jp, .catch,
.page-section h3, .page-section h4,
.service-card h3, .role-card h3, .plan-card h3, .philo-card h3, .step-card h3, .case-card h3 {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.lead-text, .placeholder-note, .case-body p, .req {
  text-wrap: pretty;
}
