/* ============================================================
   AI経営共創パートナーズ — Site Style v5 "Simple & Modern"
   白基調 × ネイビー × ゴールド（控えめ）/ 装飾排除・余白主義
   クラス名・変数名は v4 互換（全ページ共通で適用される）
   ============================================================ */

:root {
  /* Brand tokens */
  --ink:           #0f2142;
  --navy:          #16284a;
  --navy-deep:     #0b1830;
  --accent:        #a3802f;
  --accent-bright: #d8b562;
  --accent-soft:   rgba(163, 128, 47, .28);

  /* v5 tokens */
  --bg:        #ffffff;
  --bg-alt:    #f7f8fa;
  --bg-dark:   #0f2142;
  --body-c:    #4a556b;
  --muted:     #8a93a6;
  --line:      #e7eaf0;
  --line-dark: rgba(255, 255, 255, .14);
  --radius:    16px;
  --radius-sm: 10px;
  --maxw:      1120px;
  --shadow-sm: 0 1px 2px rgba(15, 33, 66, .05);
  --shadow-md: 0 8px 30px rgba(15, 33, 66, .08);
  --shadow-lg: 0 20px 60px rgba(15, 33, 66, .12);
  --ease:      cubic-bezier(.22, 1, .36, 1);

  /* v4 互換エイリアス（ページローカルCSSが参照） */
  --cream:      #f7f8fa;
  --cream-2:    #eef0f4;
  --paper:      #ffffff;
  --text:       #4a556b;
  --text-light: #8a93a6;
  --line-soft:  #eef0f4;
  --w-line:     rgba(255, 255, 255, .14);
  --serif-en:   "Inter", "Noto Sans JP", system-ui, sans-serif;
  --serif-it:   "Inter", "Noto Sans JP", system-ui, sans-serif;
  --serif-jp:   "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --sans:       "Inter", "Noto Sans JP", "Hiragino Sans", system-ui, sans-serif;
  --ease-out:   cubic-bezier(.22, 1, .36, 1);
  --dur:        .7s;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .015em;
  color: var(--body-c);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
}

::selection { background: rgba(163, 128, 47, .18); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.mt-60 { margin-top: 56px; }
.sep { margin: 0 .6em; color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: 10px 18px; z-index: 200; font-size: .8rem;
}
.skip-link:focus { left: 0; }

/* 旧装飾は無効化 */
.ghost-word { display: none; }
.hero__grid, .hero__canvas, .hero__side, .hero__scroll, .hero__mouse { display: none; }
.footer__ornament { display: none; }
.footer__pulse { color: var(--accent-bright); }
.cursor-dot, .cursor-ring { display: none; }
.decode-char { display: inline-block; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line);
}
.header__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.header__logo {
  display: block;
  flex: none;
  width: 270px;
}
.header__logo-image {
  display: block;
  width: 100%;
  height: auto;
}
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__link { position: relative; padding: 6px 0; }
.header__link-en { display: none; }
.header__link-ja {
  display: block;
  color: var(--ink); font-size: 14px; font-weight: 500;
  transition: color .25s;
}
.header__link:hover .header__link-ja { color: var(--accent); }
.header__link--active .header__link-ja { font-weight: 700; }
.header__link--active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent); border-radius: 2px;
}
.header__link--sauna {
  display: inline-flex;
  min-height: 42px;
  padding: 0 14px 0 7px;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0b2877 0%, #00195f 100%);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(5, 41, 120, .2);
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.header__link--sauna::after { display: none; }
.header__link--sauna .header__link-ja {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.header__link--sauna:hover {
  background: linear-gradient(135deg, #0d328f 0%, #00227e 100%);
  box-shadow: 0 11px 26px rgba(5, 41, 120, .28);
  transform: translateY(-2px);
}
.header__link--sauna:hover .header__link-ja { color: #fff; }
.header__sauna-steam {
  display: grid;
  flex: none;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #0757e7;
  background: #fff;
  border-radius: 50%;
}
.header__sauna-steam svg {
  width: 17px;
  height: 17px;
  overflow: visible;
}
.header__sauna-steam path {
  transform-box: fill-box;
  transform-origin: center;
  animation: headerSteam 2.4s ease-in-out infinite;
}
.header__sauna-steam path:nth-child(2) { animation-delay: -.7s; }
.header__sauna-steam path:nth-child(3) { animation-delay: -1.4s; }
@keyframes headerSteam {
  0%, 100% { opacity: .55; transform: translateY(1px); }
  50% { opacity: 1; transform: translateY(-2px); }
}
.header__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600;
  padding: 10px 22px; border-radius: 999px;
  transition: background .25s, transform .25s;
}
.header__cta svg { width: 14px; height: 14px; }
.header__cta:hover { background: var(--navy); transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  z-index: 120;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(15, 33, 66, .35);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .header__logo { width: 234px; }
  .hamburger { display: flex; }
  /* backdrop-filter は fixed 子要素の containing block になるため、
     ドロワーを使うモバイルでは外して不透明背景にする */
  .header,
  .header.is-scrolled {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .header__nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
    width: min(320px, 84vw);
    background: #fff;
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 8px; padding: 40px 36px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .header__nav.is-open { transform: translateX(0); }
  .header__link { padding: 10px 0; width: 100%; }
  .header__link-ja { font-size: 17px; }
  .header__link--active::after { right: auto; width: 28px; }
  .header__link--sauna {
    min-height: 50px;
    padding: 0 14px 0 10px;
    justify-content: center;
  }
  .header__link--sauna .header__link-ja { font-size: 15px; }
  .header__cta { margin-top: 20px; }
}

@media (max-width: 420px) {
  .header__inner { gap: 12px; }
  .header__logo { width: 203px; }
}

@media (max-width: 360px) {
  .header__logo { width: 179px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline {
  border: 1.5px solid var(--line); color: var(--ink); background: #fff;
}
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--lg { padding: 17px 42px; font-size: 16px; }

/* ダーク背景上のボタンはゴールド塗り × ネイビー文字 */
.section--dark .btn--primary,
.cta .btn--primary {
  background: var(--accent-bright); color: var(--ink);
}
.section--dark .btn--primary:hover,
.cta .btn--primary:hover { background: #e5c67c; }

.view-more {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
}
.view-more__en {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.view-more__ja {
  color: var(--ink); font-weight: 600; font-size: 15px;
  border-bottom: 1.5px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .25s, color .25s;
}
.view-more:hover .view-more__ja { border-color: var(--accent); color: var(--accent); }
.section--dark .view-more__ja { color: #fff; border-color: var(--line-dark); }
.section--dark .view-more__en { color: var(--accent-bright); }
.section--dark .view-more:hover .view-more__ja { color: var(--accent-bright); border-color: var(--accent-bright); }

/* ---------- Section 基本 ---------- */
.section { padding: 110px 0; background: var(--bg); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); }
.section--wedge { clip-path: none; }

.section--dark p { color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3 { color: #fff; }

.section__header { max-width: 720px; margin-bottom: 64px; }
.section__header--center { margin-left: auto; margin-right: auto; text-align: center; }

.s-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.s-label::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent);
}
.section__header--center .s-label::after {
  content: ""; width: 22px; height: 1.5px; background: var(--accent);
}
.s-label--left::after { display: none; }
.section--dark .s-label { color: var(--accent-bright); }
.section--dark .s-label::before,
.section--dark .s-label::after { background: var(--accent-bright); }

.s-title {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.5;
  letter-spacing: .01em;
}
.s-title em, .jp-em { color: var(--accent); font-weight: inherit; }
.section--dark .s-title em, .section--dark .jp-em { color: var(--accent-bright); }

.s-line { display: none; }

.s-sub {
  margin-top: 20px;
  font-size: 15.5px; color: var(--body-c);
  max-width: 640px;
}
.section__header--center .s-sub { margin-left: auto; margin-right: auto; }
.section--dark .s-sub { color: rgba(255, 255, 255, .72); }

/* ---------- Hero（トップ） ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  background:
    radial-gradient(ellipse 60% 55% at 88% 0%, rgba(163, 128, 47, .07), transparent 60%),
    linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
  overflow: hidden;
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 64px;
  align-items: center;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero__tag::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.hero__tag-en {
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.hero__title {
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.42;
  letter-spacing: .01em;
  font-weight: 800;
  word-break: keep-all;
}
.hero__title .line { display: block; }
.hero__title em, .hero__title .jp-em {
  color: var(--accent);
  background: none;
}
.hero__desc {
  margin-top: 26px;
  font-size: 16px; color: var(--body-c);
  max-width: 520px;
}
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media { position: relative; }
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.hero__badge-num {
  font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.3;
}
.hero__badge-num em { color: var(--accent); font-size: 14px; font-weight: 700; }
.hero__badge-label { font-size: 12px; color: var(--muted); font-weight: 500; }

.hero__meta {
  grid-column: 1 / -1;
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero__meta-row {
  display: flex; flex-direction: column; gap: 4px;
  padding: 24px 28px 0;
}
.hero__meta-row + .hero__meta-row { border-left: 1px solid var(--line); }
.hero__meta-num {
  font-size: 11px; font-weight: 700; letter-spacing: .16em;
  color: var(--accent);
}
.hero__meta-key { font-size: 17px; font-weight: 700; color: var(--ink); }
.hero__meta-key em { color: var(--accent); }
.hero__meta-val { font-size: 13px; color: var(--muted); }

@media (max-width: 960px) {
  .hero { padding: 130px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__desc { max-width: none; }
  .hero__badge { left: 12px; bottom: 14px; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta-row { padding: 16px 0 0; }
  .hero__meta-row + .hero__meta-row { border-left: none; }
}

/* ---------- Ledger（課題リスト） ---------- */
.ledger { border-top: 1px solid var(--line); }
.ledger__row {
  display: grid;
  grid-template-columns: 90px 300px 1fr;
  gap: 28px;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background .3s;
}
.ledger__row:hover { background: rgba(255, 255, 255, .75); }
.ledger__num {
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent);
}
.ledger__title { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.ledger__text { font-size: 14.5px; color: var(--body-c); }

@media (max-width: 860px) {
  .ledger__row { grid-template-columns: 1fr; gap: 8px; padding: 26px 4px; }
}

/* ---------- Split（テキスト × ビジュアル） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split__text .s-title { margin-bottom: 8px; }
.split__text p { margin-top: 18px; font-size: 15.5px; }
.split__features {
  margin-top: 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px;
}
.split__features li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.split__features li::before {
  content: "";
  position: absolute; left: 0; top: .5em;
  width: 14px; height: 7px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.split__visual { position: relative; }
.split__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.split__badge {
  position: absolute; top: -16px; right: 22px; z-index: 2;
  background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  padding: 9px 18px; border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.split__caption {
  margin-top: 14px;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); text-align: right;
}

/* 旧 split__panel（company / service で使用）: シンプルなカードに */
.split__panel {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 340px;
  display: grid; place-items: center;
  overflow: hidden;
}
.split__panel-grid { display: none; }
.split__panel-core { text-align: center; padding: 40px; }
.split__glyph {
  font-size: 64px; font-weight: 800; color: var(--ink);
  line-height: 1.2; letter-spacing: .04em;
}
.split__panel-line {
  display: block; width: 40px; height: 2px;
  background: var(--accent); margin: 18px auto;
}
.split__panel-caption {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.split__panel-sub { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.split__panel-num {
  position: absolute; right: 20px; bottom: 10px;
  font-size: 60px; font-weight: 800; color: rgba(15, 33, 66, .05);
  line-height: 1;
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Stats ---------- */
.stats { padding: 110px 0; background: var(--bg); }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat { padding: 36px 28px 8px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-d { display: none; }
.stat__num {
  display: flex; align-items: baseline; gap: 4px;
  color: var(--ink);
}
.stat__count { font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
.stat__unit { font-size: 16px; font-weight: 700; color: var(--body-c); }
.stat--accent .stat__count, .stat--accent .stat__unit { color: var(--accent); }
.stat__label { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--ink); }
.stat__note { margin-top: 4px; font-size: 12.5px; color: var(--muted); }

@media (max-width: 960px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- Photo banner（セクション内ワイド写真） ---------- */
.photo-banner { margin-bottom: 48px; }
.photo-banner img {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) {
  .photo-banner img { aspect-ratio: 16 / 9; }
}

/* ---------- Phases（サービス3段階） ---------- */
.phases {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.phase {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px 34px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.phase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.phase--accent { border-top: 3px solid var(--accent); }
.phase__num {
  font-size: 15px; font-weight: 800; letter-spacing: .1em;
  color: var(--accent);
}
.phase__tag {
  margin-top: 14px;
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.phase__title { margin-top: 8px; font-size: 20px; }
.phase__text { margin-top: 14px; font-size: 14px; color: var(--body-c); }
.phase__keys { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.phase__keys span {
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ダーク背景上の phase */
.section--dark .phase {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}
.section--dark .phase__title { color: #fff; }
.section--dark .phase__text { color: rgba(255, 255, 255, .72); }
.section--dark .phase__tag { color: var(--accent-bright); }
.section--dark .phase__num { color: var(--accent-bright); }
.section--dark .phase__keys span {
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .06);
  border-color: var(--line-dark);
}
.section--dark .phase--accent { border-top-color: var(--accent-bright); }

@media (max-width: 960px) {
  .phases { grid-template-columns: 1fr; }
}

/* ---------- Compare（Before / After） ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 20px;
  align-items: stretch;
}
.compare__box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}
.compare__box--accent {
  background: var(--ink);
  border-color: var(--ink);
}
.compare__box--accent .compare__title { color: #fff; }
.compare__box--accent .compare__text { color: rgba(255, 255, 255, .78); }
.compare__box--accent .compare__label { color: var(--accent-bright); }
.compare__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.compare__title { margin-top: 12px; font-size: 21px; }
.compare__text { margin-top: 12px; font-size: 14px; color: var(--body-c); }
.compare__arrow { display: grid; place-items: center; }
.compare__arrow span {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.compare__arrow svg { width: 18px; height: 18px; }

@media (max-width: 860px) {
  .compare { grid-template-columns: 1fr; }
  .compare__arrow span { transform: rotate(90deg); }
}

/* ---------- Cards（汎用3カラム） ---------- */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__num {
  font-size: 13px; font-weight: 800; letter-spacing: .12em;
  color: var(--accent);
}
.card__title { margin-top: 14px; font-size: 19px; line-height: 1.6; }
.card__text { margin-top: 14px; font-size: 14px; color: var(--body-c); }

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; }
}

/* ---------- Visions ---------- */
.visions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.vision {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px;
}
.vision__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(163, 128, 47, .1);
  color: var(--accent);
  margin-bottom: 20px;
}
.vision__icon svg { width: 24px; height: 24px; }
.vision__title { font-size: 18px; }
.vision__text { margin-top: 12px; font-size: 14px; color: var(--body-c); }

.section--dark .vision {
  background: rgba(255, 255, 255, .04);
  border-color: var(--line-dark);
}
.section--dark .vision__icon {
  background: rgba(216, 181, 98, .12);
  color: var(--accent-bright);
}
.section--dark .vision__title { color: #fff; }
.section--dark .vision__text { color: rgba(255, 255, 255, .72); }

@media (max-width: 960px) {
  .visions { grid-template-columns: 1fr; }
}

/* ---------- Timeline（News） ---------- */
.timeline { max-width: 800px; margin: 0 auto; }
.timeline__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.timeline__item:first-child { border-top: 1px solid var(--line); }
.timeline__date { display: flex; flex-direction: column; line-height: 1.4; }
.timeline__year { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .08em; }
.timeline__md { display: flex; align-items: baseline; gap: 6px; color: var(--ink); }
.timeline__month { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.timeline__day { font-size: 22px; font-weight: 800; }
.timeline__marker { display: none; }
.timeline__card { display: flex; flex-direction: column; gap: 6px; }
.timeline__cat {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent);
  background: rgba(163, 128, 47, .08);
  border-radius: 999px;
  padding: 3px 12px;
}
.timeline__title { font-size: 15px; font-weight: 600; color: var(--ink); }

@media (max-width: 640px) {
  .timeline__item { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- CTA ---------- */
.cta { padding: 110px 0; background: var(--bg-alt); }
.cta__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 48px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(216, 181, 98, .12), transparent 55%),
    var(--bg-dark);
  border-radius: 24px;
  text-align: center;
  color: rgba(255, 255, 255, .82);
}
.cta__label {
  font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent-bright);
}
.cta__title { margin-top: 16px; font-size: clamp(24px, 3vw, 32px); color: #fff; }
.cta__text { margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.cta__actions { margin-top: 32px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.cta__quote {
  margin-top: 40px;
  font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .65);
  line-height: 2;
}

@media (max-width: 640px) {
  .cta__inner { padding: 52px 24px; border-radius: 20px; }
}

/* ---------- Page header（下層ページ） ---------- */
.page-header {
  padding: 150px 0 56px;
  background: linear-gradient(180deg, #fbfcfd 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-header__crumb {
  font-size: 12.5px; color: var(--muted); margin-bottom: 22px;
}
.page-header__crumb a { color: var(--muted); transition: color .25s; }
.page-header__crumb a:hover { color: var(--accent); }
.page-header__en {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--ink);
}
.page-header__ja {
  margin-top: 10px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--accent);
}
.page-header__ja::before {
  content: ""; width: 22px; height: 1.5px; background: var(--accent);
}
.page-header__side { display: none; }

/* ============================================================
   Motion refinement — 押下の即応・ホバーの質感（2026-07-24）
   ============================================================ */
/* フィードバックは押した瞬間に（pointer-down応答） */
.btn:active, .header__cta:active {
  transform: translateY(0) scale(.97);
  transition-duration: .08s;
}
.card:active, .phase:active {
  transform: translateY(-1px) scale(.995);
  transition-duration: .08s;
}

/* ホバーにゴールドの気配（アクセント1色を保つ） */
.card { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.phase { transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover, .phase:hover { border-color: rgba(163, 128, 47, .38); }

/* 大型英字ディスプレイのオプティカル・トラッキング */
.page-header__en { letter-spacing: -0.02em; }

/* ヒーローバッジの浮遊（気配レベル・reduced-motionで停止） */
@keyframes badge-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
.hero__badge { animation: badge-float 3.6s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) {
  .hero__badge { animation: none; }
}

/* 本文内リンクの可視化（全ページ共通） */
.ledger__text a, .card__text a, .phase__text a, .s-sub a, .compare__text a, .def-table__def a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color .2s var(--ease);
}
.ledger__text a:hover, .card__text a:hover, .phase__text a:hover, .s-sub a:hover, .compare__text a:hover, .def-table__def a:hover {
  border-bottom-color: var(--accent);
}

.page-intro { padding-top: 52px; color: #3d4961; }
.page-intro .container--narrow { max-width: 760px; }
.page-intro p { font-size: 17px; line-height: 2.15; letter-spacing: .02em; }
.page-intro strong { color: var(--ink); }
.page-intro p a { color: var(--accent); border-bottom: 1px solid var(--accent-soft); }
@media (max-width: 720px) {
  .page-intro { padding-top: 36px; }
  .page-intro p { font-size: 16px; line-height: 2.05; }
  .page-intro .container--narrow { padding: 0 28px; }
}

/* ---------- Def table / Glossary ---------- */
.def-table { border-top: 1px solid var(--line); }
.def-table__row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}
.def-table__term { font-weight: 700; color: var(--ink); font-size: 15px; }
.def-table__def { font-size: 14.5px; color: var(--body-c); }
@media (max-width: 720px) {
  .def-table__row { grid-template-columns: 1fr; gap: 6px; }
}

.glossary__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 16px;
}
.glossary__num {
  font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: var(--accent);
  margin-right: 12px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 700; color: var(--ink); font-size: 15px;
  cursor: pointer;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  flex: none;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--accent);
  font-weight: 600;
  transition: transform .3s;
}
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 22px;
  font-size: 14px; color: var(--body-c);
}

/* ---------- Contact ---------- */
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.contact-card__icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(163, 128, 47, .1);
  color: var(--accent);
}
.contact-card__icon svg { width: 22px; height: 22px; }
.contact-card__kind {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.contact-card__value { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--ink); word-break: break-all; }
.contact-card__value a:hover { color: var(--accent); }
.contact-card__note { margin-top: 6px; font-size: 12px; color: var(--muted); }
@media (max-width: 860px) {
  .contact-cards { grid-template-columns: 1fr; }
}

.form { max-width: 680px; margin: 0 auto; }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 14px; font-weight: 700; color: var(--ink);
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px; font-weight: 700; color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 1px 8px;
  vertical-align: 2px;
}
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color .25s, box-shadow .25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(15, 33, 66, .08);
}
.form textarea { min-height: 160px; resize: vertical; }
.form__submit { text-align: center; margin-top: 32px; }
.form__note { margin-top: 16px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Case ---------- */
.case-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card__tag {
  display: inline-block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em;
  color: var(--accent);
  background: rgba(163, 128, 47, .08);
  border-radius: 999px;
  padding: 4px 14px;
}
.case-card__title { margin-top: 16px; font-size: 18px; }
.case-card__text { margin-top: 12px; font-size: 14px; color: var(--body-c); }
.case-card--soon {
  border-style: dashed;
  background: var(--bg-alt);
  display: grid; place-items: center;
  min-height: 200px;
}
.case-card--soon:hover { transform: none; box-shadow: none; }
.case-card__soon {
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--muted);
}
@media (max-width: 860px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---------- Prose（プライバシーポリシー等） ---------- */
.prose { font-size: 15px; color: var(--body-c); }
.prose h2 {
  font-size: 20px;
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-size: 16.5px; margin: 28px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 14px 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose-date { font-size: 13px; color: var(--muted); margin-bottom: 32px; }

.quote {
  border-left: 3px solid var(--accent);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px;
  font-size: 16px; font-weight: 600; color: var(--ink);
  line-height: 2;
}
.quote em { color: var(--accent); }
.quote__note { margin-top: 12px; font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---------- Manifesto / Pillars ---------- */
.manifesto-list { max-width: 760px; margin: 0 auto; }
.manifesto-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.manifesto-item:first-child { border-top: 1px solid var(--line); }
.manifesto-num {
  font-size: 14px; font-weight: 800; letter-spacing: .1em;
  color: var(--accent);
}
.manifesto-statement { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.7; }
.manifesto-statement em { color: var(--accent); }
.manifesto-note { margin-top: 8px; font-size: 13.5px; color: var(--body-c); font-weight: 400; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.pillar__num { font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--accent); }
.pillar__title { margin-top: 12px; font-size: 19px; }
.pillar__text { margin-top: 12px; font-size: 14px; color: var(--body-c); }
.pillar__keys { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pillar__keys span {
  font-size: 12px; font-weight: 600; color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Sauna ページ互換 ---------- */
/* ページローカルCSSは暗背景前提。グローバル見出し色(--ink)を打ち消す */
.sauna-hero-banner__title { color: #fff; }
.sauna-cta-section .btn--primary { color: #fff; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: grid; place-items: center;
  text-align: center;
  padding: 140px 24px 80px;
}
.notfound__code {
  font-size: clamp(72px, 14vw, 130px);
  font-weight: 800; color: var(--ink); line-height: 1;
  letter-spacing: .02em;
}
.notfound__title { margin-top: 16px; font-size: 20px; color: var(--ink); font-weight: 700; }
.notfound__text { margin-top: 12px; font-size: 14.5px; color: var(--body-c); }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .75);
  padding: 72px 0 0;
}
.footer__tagline {
  max-width: var(--maxw); margin: 0 auto 48px; padding: 0 24px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.footer__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand { font-size: 17px; font-weight: 700; color: #fff; }
.footer__brand-en {
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-top: 4px;
}
.footer__desc { margin-top: 18px; font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .6); }
.footer__heading {
  font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}
.footer__links li { margin-bottom: 10px; font-size: 13.5px; line-height: 1.8; }
.footer__links a { color: rgba(255, 255, 255, .75); transition: color .25s; }
.footer__links a:hover { color: var(--accent-bright); }
.footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding: 22px 24px;
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 12px; color: rgba(255, 255, 255, .5);
  flex-wrap: wrap;
}
.footer__bottom a { color: rgba(255, 255, 255, .6); }
.footer__bottom a:hover { color: var(--accent-bright); }

@media (max-width: 960px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- To top ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--bg-alt); }

/* ---------- Reveal（スクロール表示） ---------- */
.js .reveal,
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in,
.js .reveal-stagger.is-in > * { opacity: 1; transform: translateY(0); }
.js .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .4s; }

/* Hero エントランス（CSSのみ） */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.js .hero__tag,
.js .hero__title,
.js .hero__desc,
.js .hero__actions,
.js .hero__media,
.js .hero__meta {
  animation: heroUp .8s var(--ease) both;
}
.js .hero__title   { animation-delay: .08s; }
.js .hero__desc    { animation-delay: .18s; }
.js .hero__actions { animation-delay: .28s; }
.js .hero__media   { animation-delay: .2s; }
.js .hero__meta    { animation-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .header__sauna-steam path { animation: none; }
  .js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  .js .hero__tag, .js .hero__title, .js .hero__desc,
  .js .hero__actions, .js .hero__media, .js .hero__meta { animation: none; }
}

/* ---------- Responsive misc ---------- */
@media (max-width: 720px) {
  .hide-sp { display: none; }
  .section { padding: 76px 0; }
  .stats { padding: 76px 0; }
  .cta { padding: 76px 0; }
  .section__header { margin-bottom: 44px; }
}

/* ============================================================
   Article (column) — 記事ページ専用（main.article スコープ）
   ============================================================ */
.article .section { padding: 76px 0; }
.article .s-title { font-size: clamp(22px, 3vw, 30px); }
.article [id] { scroll-margin-top: 96px; }

/* page-intro のリード書式は全ページ共通（.page-intro 本体で定義） */

.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-top: 22px; font-size: 13px; color: var(--muted);
}
.article-meta__cat {
  padding: 5px 14px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; border-radius: 999px; background: var(--bg);
}
.article-meta__sep { opacity: .5; }

.article-toc { max-width: 800px; margin: 40px auto 0; padding: 0 24px; }
.article-toc__box {
  background: var(--bg-alt); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); padding: 26px 30px;
}
.article-toc__label {
  font-size: 12px; font-weight: 800; letter-spacing: .18em;
  color: var(--accent); margin-bottom: 14px;
}
.article-toc__box ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.article-toc__box li { font-size: 14.5px; color: var(--body-c); }
.article-toc__box a {
  color: var(--ink); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid transparent; transition: color .2s var(--ease), border-color .2s var(--ease);
}
.article-toc__box a:hover { color: var(--accent); border-bottom-color: var(--accent-soft); }

.article-highlight {
  background: linear-gradient(135deg, rgba(163, 128, 47, .07), rgba(163, 128, 47, .02));
  border: 1px solid rgba(163, 128, 47, .28);
  border-radius: var(--radius); padding: 36px 40px;
}
.article-highlight p { margin: 0 0 18px; line-height: 2.1; }
.article-highlight p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .article .section { padding: 56px 0; }
  .article-toc { padding: 0 28px; }
  .article-toc__box { padding: 20px 22px; }
  .article-highlight { padding: 26px 22px; }
}

/* ============================================================
   Modern Refinement — 空気感・光・大胆なタイポ（2026-07-24）
   白×ネイビー×ゴールドのブランドは維持し、上質な先進性を足す
   ============================================================ */

/* --- 微細なグレイン: 平坦な白に紙のような質感を与える --- */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: .038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- ヒーロー: 光をまとわせ、奥行きをつくる --- */
.hero { padding: 176px 0 104px; }
.hero::before {
  content: "";
  position: absolute; inset: -12%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 38% 36% at 18% 18%, rgba(163, 128, 47, .17), transparent 62%),
    radial-gradient(ellipse 34% 32% at 80% 28%, rgba(22, 40, 74, .13), transparent 64%),
    radial-gradient(ellipse 44% 30% at 55% 96%, rgba(163, 128, 47, .07), transparent 58%);
  animation: hero-aurora 20s ease-in-out infinite;
}
@keyframes hero-aurora {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(1.8%, -1.4%, 0) scale(1.07); }
}
.hero__inner { position: relative; z-index: 1; }

/* --- 大胆なタイポグラフィ（大きく、詰めて、締める） --- */
.hero__title {
  font-size: clamp(32px, 4.9vw, 58px);
  line-height: 1.27;
  letter-spacing: -.022em;
}
.hero__title em, .hero__title .jp-em {
  color: var(--accent);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--accent);
}
.s-title { line-height: 1.36; letter-spacing: -.015em; }
.article .s-title { line-height: 1.44; }

/* --- ガラスの質感 --- */
.hero__tag {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(16px) saturate(175%);
  backdrop-filter: blur(16px) saturate(175%);
  border-color: rgba(163, 128, 47, .24);
}
.hero__badge {
  background: rgba(255, 255, 255, .74);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-color: rgba(255, 255, 255, .85);
  box-shadow: 0 24px 56px -20px rgba(15, 33, 66, .34);
}

/* --- 写真: 色のついた深い影で浮かせる --- */
.hero__photo {
  border-radius: 24px;
  box-shadow: 0 54px 96px -30px rgba(15, 33, 66, .34), 0 0 0 1px rgba(15, 33, 66, .05);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.hero__media:hover .hero__photo {
  transform: translateY(-6px);
  box-shadow: 0 66px 110px -30px rgba(15, 33, 66, .38), 0 0 0 1px rgba(15, 33, 66, .06);
}

/* --- CTAに厚みを --- */
.btn--primary {
  background: linear-gradient(135deg, #1b3057 0%, #0f2142 100%);
  box-shadow: 0 14px 32px -12px rgba(15, 33, 66, .5);
}
.btn--primary:hover { box-shadow: 0 20px 44px -14px rgba(15, 33, 66, .56); }

/* --- リビール: ぼけから結ぶ --- */
.js .reveal,
.js .reveal-stagger > * {
  filter: blur(5px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.js .reveal.is-in,
.js .reveal-stagger.is-in > * { filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
  .js .reveal, .js .reveal-stagger > * { filter: none; transition: none; }
}

/* --- ヒーロー: 大型タイポを1行に収める（改行崩れ対策） --- */
@media (min-width: 1025px) {
  .hero__inner { grid-template-columns: 1.16fr .84fr; gap: 56px; }
}
.hero__title { font-size: clamp(31px, 4.3vw, 51px); }

/* ============================================================
   和モダン × 先端 — 明朝・金箔・和紙・間（2026-07-26）
   日本のものづくりをAIで更新する会社としての「格」
   ============================================================ */
:root {
  --mincho: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

/* --- 大見出しを明朝へ。ここが転換の核 --- */
.hero__title,
.s-title,
.cta__title,
.page-header__ja,
.split__text h2,
.compare__title {
  font-family: var(--mincho);
  font-weight: 700;
}
.hero__title {
  font-size: clamp(29px, 4.05vw, 48px);
  line-height: 1.4;
  letter-spacing: -.004em;
}
.s-title { line-height: 1.52; letter-spacing: .006em; }
.article .s-title { line-height: 1.56; }
.cta__title { letter-spacing: .012em; }
.page-header__ja { font-weight: 600; letter-spacing: .04em; }

/* --- 金箔の罫線 --- */
.s-line {
  height: 1px; border: 0;
  background: linear-gradient(90deg, #a3802f 0%, #d8b562 34%, rgba(163, 128, 47, .12) 100%);
}
.section--dark .s-line {
  background: linear-gradient(90deg, #d8b562 0%, #a3802f 40%, rgba(219, 182, 104, .12) 100%);
}

/* --- 縦書きのサイドラベル（和の意匠） --- */
@media (min-width: 1100px) {
  .page-header { position: relative; }
  .page-header__side {
    display: block;
    position: absolute; right: 44px; top: 104px;
    writing-mode: vertical-rl;
    font-family: var(--serif-en);
    font-size: 10.5px; font-weight: 600;
    letter-spacing: .34em; text-transform: uppercase;
    color: rgba(163, 128, 47, .6);
    padding-left: 20px;
    border-left: 1px solid rgba(163, 128, 47, .22);
  }
}

/* --- 和紙の繊維感（粒を大きく、やわらかく） --- */
body::after {
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 .78' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23w)'/%3E%3C/svg%3E");
}

/* --- 間（ま）: 余白を思い切って広げる --- */
.section { padding: 132px 0; }
.section__header { margin-bottom: 62px; }
.article .section { padding: 84px 0; }
@media (max-width: 720px) {
  .section { padding: 78px 0; }
  .article .section { padding: 58px 0; }
  .section__header { margin-bottom: 44px; }
}

/* --- 見出しラベルを控えめな金に --- */
.s-label { letter-spacing: .26em; }

/* --- 濃紺の面にも和紙の質感を（暗部では明るい粒が要る） --- */
.section--dark { position: relative; }
.section--dark::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='wd'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55 .78' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23wd)'/%3E%3C/svg%3E");
}
.section--dark > .container { position: relative; z-index: 1; }

/* --- 和は直線的。角丸を引き締める --- */
.card, .phase, .glossary__item, .timeline__card { border-radius: 10px; }

/* --- ヒーローに墨の一筆（乗算で和紙の地は白に馴染ませ、墨だけを残す） --- */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: url("/images/sumi-hero.jpg") left bottom / auto 118% no-repeat;
  mix-blend-mode: multiply;
  opacity: .34;
}
@media (max-width: 1024px) {
  .hero::after { background-size: auto 78%; opacity: .22; }
}

/* 墨を効かせる: 濃度を上げ、左下から立ち上がる構図に */
.hero::after {
  background-position: -6% bottom;
  background-size: auto 132%;
  opacity: .62;
}
@media (max-width: 1024px) {
  .hero::after { background-size: auto 62%; background-position: -22% bottom; opacity: .3; }
}

/* 墨だけを残す: 和紙の地を白へ飛ばし、墨のコントラストを立てる */
.hero::after {
  filter: brightness(1.16) contrast(1.28) saturate(.92);
  opacity: .5;
}
@media (max-width: 1024px) { .hero::after { opacity: .26; } }

/* 墨は「気配」に留める: 左端から流れ込み、本文には掛からない */
.hero::after {
  background-size: 620px auto;
  background-position: -132px bottom;
  filter: brightness(1.06) contrast(1.06);
  opacity: .5;
}
@media (max-width: 1024px) {
  .hero::after { background-size: 320px auto; background-position: -96px bottom; opacity: .3; }
}

/* 墨の矩形境界を溶かす（左下から放射状にフェード） */
.hero::after {
  background-size: 700px auto;
  background-position: -150px bottom;
  -webkit-mask-image: radial-gradient(ellipse 58% 76% at 10% 90%, #000 34%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 76% at 10% 90%, #000 34%, transparent 72%);
  filter: brightness(1.04) contrast(1.08);
  opacity: .6;
}
@media (max-width: 1024px) {
  .hero::after { background-size: 360px auto; background-position: -110px bottom; opacity: .34; }
}

/* 墨のヒーロー合成は取り下げ（矩形境界が消えず品質を下げるため）。
   素材 images/sumi-hero.jpg は記事アイキャッチ等で活用する。 */
.hero::after { display: none; }

/* --- 写真のグレーディング: 撮って出しを「作品」に寄せる（和紙に焼いた質感） --- */
.hero__photo,
.split__photo,
.photo-banner img {
  filter: contrast(1.13) saturate(.93) sepia(.07) brightness(1.02);
}

/* 新ヒーロー写真: 3:2 の構図を活かし、グレーディングは既に焼き込み済みなので最小限に */
.hero__photo { aspect-ratio: 3 / 2; filter: contrast(1.03) saturate(.98); }

/* ledger 行の中に def-table を置く場合、行グリッド(90px/300px/1fr)の
   4つ目の要素として90px列に押し込まれるため、全カラムを跨がせる。
   1 / -1 はカラム数に依存しないので 860px 以下の1カラム時もそのまま効く。 */
.ledger__row > .def-table {
  grid-column: 1 / -1;
  margin-top: 22px;
}
