@charset "UTF-8";

/* ==========================================================================
   虎ノ門ファミリーオフィス — Design System
   Base : Navy + Gray / Accent : Matte Gold + Matte Silver
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Navy — 信頼・静けさ・夜の書斎 */
  --navy-900: #0E1728;
  --navy-800: #141F33;
  --navy-700: #1D2C47;
  --navy-600: #2A3B59;
  --navy-500: #3C4F70;

  /* Gray — 中立・実務 */
  --gray-900: #1F2733;
  --gray-700: #3F4A59;
  --gray-600: #56616F;
  --gray-500: #66707C;
  /* WCAG AA: 白背景で 5.03:1 */
  --gray-400: #A9AFB8;
  /* matte silver */
  --gray-300: #C9CED6;
  --gray-200: #E3E6EB;
  --gray-100: #EFF1F4;
  --gray-050: #F7F8FA;
  --white: #FFFFFF;

  /* Accent — 艶消しの金・銀。光沢や彩度は意図的に落としている */
  --gold-600: #75613A;
  /* WCAG AA: 白背景で 5.95:1 */
  --gold-700: #5D4D2E;
  --gold-500: #B09A6B;
  --gold-400: #C4B28D;
  --gold-100: #EFE9DC;
  --silver: #A9AFB8;

  /* Semantic */
  --bg: var(--white);
  --bg-subtle: var(--gray-050);
  --bg-deep: var(--navy-800);
  --text: var(--gray-900);
  --text-muted: var(--gray-600);
  --text-invert: #EEF1F6;
  --text-invert-m: #A8B4C6;
  --line: var(--gray-200);
  --line-deep: rgba(255, 255, 255, .14);

  /* Typography */
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Cormorant Garamond", "Noto Serif JP", serif;

  /* Layout */
  --container: 1140px;
  --container-narrow: 820px;
  --gutter: 24px;
  --header-h: 76px;

  /* Effects */
  --radius: 2px;
  --radius-lg: 4px;
  --shadow-sm: 0 1px 2px rgba(20, 31, 51, .06), 0 2px 8px rgba(20, 31, 51, .05);
  --shadow-md: 0 2px 4px rgba(20, 31, 51, .06), 0 12px 32px rgba(20, 31, 51, .08);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .04em;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-100);
  color: var(--navy-800);
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 112px 0;
  position: relative;
}

.section--subtle {
  background: var(--bg-subtle);
}

.section--deep {
  background: var(--navy-800);
  color: var(--text-invert);
}

.section--deep .section-title {
  color: var(--white);
}

.section--deep .section-lead {
  color: var(--text-invert-m);
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 200;
  background: var(--navy-800);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 8px;
}

/* --------------------------------------------------------------------------
   4. Section headings
   -------------------------------------------------------------------------- */
.section-head {
  margin-bottom: 56px;
}

.section-head--center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.section--deep .eyebrow {
  color: var(--gold-400);
}

.section--deep .eyebrow::before,
.section--deep .eyebrow::after {
  background: var(--gold-400);
}

.section-title {
  font-family: var(--font-serif);
  /* 最長の文節（16文字）が 320px 幅でも1行に収まるよう調整 */
  font-size: clamp(19px, 5.2vw, 36px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--navy-800);
  letter-spacing: .05em;
}

.section-title .accent {
  color: var(--gold-600);
}

/* --- 日本語の改行制御 --------------------------------------------------
   見出しは <span class="u-nb"> で意味のまとまり（文節）ごとに区切る。
   inline-block にすることで、まとまりの途中では絶対に改行されず、
   画面幅に応じて「区切りの位置でのみ」折り返される。
   text-wrap: balance と word-break: auto-phrase は、対応ブラウザでの
   さらなる最適化（プログレッシブ・エンハンスメント）。
   ---------------------------------------------------------------------- */
.u-nb {
  display: inline-block;
}

.hero__title,
.section-title,
.page-hero__title,
.problem-answer__text,
.thanks__title,
.plan__name,
.seminar__title,
.flow__title,
.case__q-text {
  text-wrap: balance;
  word-break: auto-phrase;
}

.section-lead {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-muted);
  max-width: 800px;
}

.section-head--center .section-lead {
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(20, 31, 51, 0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}

.header.is-scrolled {
  background: rgba(20, 31, 51, .96);
  backdrop-filter: saturate(150%) blur(10px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
  height: 66px;
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__ja {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .12em;
  color: #fff;
}

/* 文字ロゴ（assets/logo-wordmark.svg）。
   Noto Serif CJK の字形をアウトライン化した画像なので、
   閲覧環境のフォントに左右されず常に同じ形で表示される。 */
.brand__logo {
  height: 19px;
  width: auto;
  display: block;
}

.header.is-scrolled .brand__logo {
  height: 17px;
}

.footer .brand__logo {
  height: 21px;
}

.brand__en {
  font-family: var(--font-en);
  font-size: 9.5px;
  white-space: nowrap;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav__link {
  font-size: 13px;
  letter-spacing: .06em;
  white-space: nowrap;
  color: rgba(255, 255, 255, .85);
  position: relative;
  padding: 6px 0;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width .3s var(--ease);
}

.nav__link:hover {
  color: #fff;
}

.nav__link:hover::after {
  width: 100%;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--navy-800);
  background: var(--gold-400);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.btn-nav:hover {
  background: var(--gold-500);
  color: var(--navy-900);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 620px at 78% 12%, rgba(176, 154, 107, .16), transparent 62%),
    radial-gradient(900px 700px at 12% 88%, rgba(60, 79, 112, .55), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 48px) 0 72px;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 50% 40%, #000 20%, transparent 78%);
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 12.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 30px;
}

.hero__eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--gold-500);
}

.hero__title {
  font-family: var(--font-serif);
  /* 「「家族と、資産の未来」を守る。」の15文字が、320px 幅でも折り返さずに
     1行で収まるサイズ。字送りは 1.04em（letter-spacing .04em を含む）なので、
     必要幅は 15.6em。画面幅から左右の余白（--gutter × 2）を引いた値に収まるよう
     calc で追従させている。 */
  font-size: clamp(17px, calc(6.2vw - 2.6px), 58px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .04em;
  margin-bottom: 30px;
}

.hero__title .em {
  color: var(--gold-400);
}

.hero__lead {
  /* 1行目（42文字）をPCで折り返さずに収めるための幅 */
  max-width: 780px;
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 2.2;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 44px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .24em;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, var(--gold-500), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .25;
    transform: scaleY(.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .1em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background .28s var(--ease), color .28s var(--ease),
    border-color .28s var(--ease), transform .28s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn .arrow {
  transition: transform .28s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* 白抜き文字は艶消しゴールド上でコントラストが取れないため、濃紺文字を採用（6.03:1） */
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn--primary:hover {
  background: var(--gold-400);
  color: var(--navy-900);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
}

.btn--outline {
  border-color: var(--navy-700);
  color: var(--navy-800);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy-800);
  color: #fff;
}

.btn--lg {
  padding: 20px 46px;
  font-size: 15.5px;
}

.btn--block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. Problems（このようなこと、ありませんか）
   -------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.problem {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.problem::before,
.problem::after {
  position: absolute;
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 1;
  color: var(--gray-200);
  transition: color .3s var(--ease);
}

/* 開き引用符：左上 */
.problem::before {
  content: "“";
  top: 8px;
  left: 18px;
}

/* 閉じ引用符：右下（グリフのインクが上寄りのため下方向にオフセット） */
.problem::after {
  content: "”";
  bottom: 8px;
  right: 18px;
  transform: translateY(26px);
}

.problem:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.problem:hover::before,
.problem:hover::after {
  color: var(--gold-100);
}

.problem__text {
  font-size: 15px;
  line-height: 2;
  color: var(--gray-700);
  position: relative;
  z-index: 1;
}

.problem-answer {
  margin-top: 48px;
  padding: 38px 36px;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold-500);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.problem-answer__text {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.8;
  color: #fff;
  letter-spacing: .04em;
  flex: 1 1 420px;
}

/* 一文を折り返さずに見せたい場合の縦積みレイアウト。
   ボタンを下段に回すことで、テキストが横幅いっぱいを使える。
   （スマートフォンでは物理的に1行に収まらないため、u-nb の区切りで折り返す） */
.problem-answer--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.problem-answer--stack .problem-answer__text {
  flex: 0 1 auto;
  font-size: clamp(14px, 2.45vw, 26px);
}

/* ボタンだけ中央に配置する（本文は左揃えのまま） */
.problem-answer--stack .btn {
  align-self: center;
}

.problem-answer__text .em {
  color: var(--gold-400);
}

/* --------------------------------------------------------------------------
   9. Philosophy（Vision / Mission / Value）
   -------------------------------------------------------------------------- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.philo {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line-deep);
  border-radius: var(--radius-lg);
  padding: 40px 32px 38px;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

.philo:hover {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(196, 178, 141, .45);
  transform: translateY(-4px);
}

.philo__mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-family: var(--font-en);
  font-size: 19px;
  letter-spacing: .04em;
}

.philo__label {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 6px;
}

.philo__label-ja {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--text-invert-m);
  margin-bottom: 18px;
}

.philo__title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: .05em;
}

.philo__body {
  font-size: 14.5px;
  line-height: 2.05;
  color: var(--text-invert-m);
}

/* --------------------------------------------------------------------------
   10. Trinity（三位一体）
   -------------------------------------------------------------------------- */
.trinity {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.trinity__figure {
  display: grid;
  place-items: center;
}

.trinity__body p+p {
  margin-top: 20px;
}

.trinity__body p {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--gray-700);
}

.trinity__body strong {
  color: var(--navy-800);
  font-weight: 600;
}

.venn {
  width: 100%;
  max-width: 420px;
}

.venn circle {
  transition: fill-opacity .35s var(--ease);
}

.venn:hover circle {
  fill-opacity: .16;
}

/* --------------------------------------------------------------------------
   10-2. Differentiation（プライベート・バンキングとの違い）
   金融機関からの提案を「窓口」として受け止める構図を、円と矢印で表している。
   -------------------------------------------------------------------------- */
.section-kicker {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.section--deep .section-kicker {
  color: var(--text-invert-m);
}

/* 1画面に収めるため、このセクションだけ上下の余白を詰めている */
.section--tight {
  padding: 84px 0;
}

.section--tight .section-head {
  margin-bottom: 40px;
}

.diff {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.diff__body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-invert-m);
}

.diff__body p+p {
  margin-top: 17px;
}

.diff__body strong {
  color: var(--white);
  font-weight: 600;
}

.diff__body .diff__note {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-deep);
  font-size: 13px;
  line-height: 1.9;
}

.diff__figure {
  display: grid;
  place-items: center;
}

.gatekeep {
  width: 100%;
  max-width: 470px;
}

/* 円＝虎ノ門ファミリーオフィス。内側をわずかに明るくして「守られた領域」を示す */
.gatekeep__ring {
  fill: rgba(255, 255, 255, .05);
  stroke: var(--gold-400);
  stroke-width: 1.2;
}

.gatekeep__people {
  fill: var(--text-invert);
}

.gatekeep__cfo {
  fill: var(--gold-400);
}

/* 外側から押し寄せる提案。主役ではないため彩度と明度を落としている */
.gatekeep__arrows path {
  fill: rgba(168, 180, 198, .30);
}

.gatekeep__label,
.gatekeep__center {
  font-family: var(--font-serif);
  fill: var(--white);
  letter-spacing: .06em;
}

.gatekeep__label {
  font-size: 13.5px;
}

.gatekeep__center {
  font-size: 13px;
}

.gatekeep__cfo-label {
  font-family: var(--font-serif);
  font-size: 12.5px;
  fill: var(--gold-400);
  letter-spacing: .06em;
}

.gatekeep__source text {
  font-family: var(--font-sans);
  font-size: 11.5px;
  fill: var(--text-invert-m);
  letter-spacing: .02em;
}

/* 提案元の人物アイコン（スーツ姿）。円の中の人物より彩度を落としている */
.gatekeep__figure .suit {
  fill: #5C6C88;
}

.gatekeep__figure .shirt {
  fill: #DDE3EC;
}

.gatekeep__figure .tie {
  fill: #97A5BA;
}

/* スマートフォンでは図を画面幅いっぱいまで広げ、図中の文字も相対的に大きくする */
@media (max-width: 640px) {
  .diff__figure {
    margin-inline: calc(var(--gutter) * -1);
  }

  .gatekeep {
    max-width: none;
  }

  .gatekeep__source text {
    font-size: 13.5px;
  }

  .gatekeep__label {
    font-size: 15px;
  }

  .gatekeep__center {
    font-size: 14.5px;
  }

  .gatekeep__cfo-label {
    font-size: 13.5px;
  }
}

/* --------------------------------------------------------------------------
   11. Plans
   -------------------------------------------------------------------------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}

.plan:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--gray-300);
}

.plan__head {
  padding: 36px 34px 30px;
  background: var(--navy-800);
  color: #fff;
}

.plan--family .plan__head {
  background: var(--navy-700);
}

.plan__for {
  font-size: 12.5px;
  letter-spacing: .12em;
  color: var(--gold-400);
  margin-bottom: 12px;
}

/* プラン名は必ず1行で見せる（クライアント指定）。
   nowrap にしたうえで、最小幅 320px のカード内でも収まるサイズに調整している。 */
.plan__name {
  font-family: var(--font-serif);
  font-size: clamp(18px, 3.6vw, 34px);
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}

.plan__features {
  padding: 32px 34px;
  flex: 1;
}

.plan__feature {
  display: flex;
  gap: 18px;
}

.plan__feature+.plan__feature {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
}

.plan__num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--gold-600);
  background: var(--gold-100);
}

.plan__feature p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--gray-700);
}

.plan__price {
  padding: 18px 34px 22px;
  background: var(--gray-050);
  border-top: 1px solid var(--line);
}

.plan__price-label {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--gray-500);
  margin-bottom: 3px;
}

.plan__price-value {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--navy-800);
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.plan__price-value .unit {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: .06em;
}

.plan__price-note {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--gray-500);
}

.plan-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.95;
  text-align: center;
}

/* --------------------------------------------------------------------------
   12. Cases（ご相談事例）
   -------------------------------------------------------------------------- */
.case-list {
  border-top: 1px solid var(--line);
}

.case {
  border-bottom: 1px solid var(--line);
}

.case__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 4px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--navy-800);
  transition: color .25s var(--ease);
}

.case__q:hover {
  color: var(--gold-600);
}

.case__no {
  flex: none;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .08em;
  color: var(--gold-500);
  padding-top: 4px;
  min-width: 28px;
}

.case__q-text {
  flex: 1;
  font-family: var(--font-serif);
  font-size: clamp(15.5px, 2vw, 18px);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: .03em;
}

.case__icon {
  flex: none;
  width: 24px;
  height: 24px;
  position: relative;
  margin-top: 6px;
}

.case__icon::before,
.case__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--gold-500);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.case__icon::before {
  width: 14px;
  height: 1.5px;
}

.case__icon::after {
  width: 1.5px;
  height: 14px;
}

.case__q[aria-expanded="true"] .case__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.case__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}

.case__a>div {
  overflow: hidden;
  min-height: 0;
}

.case.is-open .case__a {
  grid-template-rows: 1fr;
}

.case__a-inner {
  padding: 0 4px 30px 68px;
}

.case__a-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.case__a-text {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   13. Seminars
   -------------------------------------------------------------------------- */
.seminar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.seminar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
}

.seminar:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-400);
}

.seminar__no {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-600);
  margin-bottom: 16px;
}

.seminar__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--navy-800);
  margin-bottom: 8px;
  letter-spacing: .03em;
}

.seminar__sub {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.8;
}

.seminar__body {
  font-size: 14px;
  line-height: 2.05;
  color: var(--gray-700);
  padding-top: 20px;
  border-top: 1px solid var(--line);
  flex: 1;
}

/* --- セミナー：ステータス表示 -------------------------------------------- */
.seminar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.seminar__head .seminar__no {
  margin-bottom: 0;
}

.seminar__status {
  flex: none;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

.seminar__status.is-open {
  background: var(--gold-100);
  color: var(--gold-700);
}

.seminar__status.is-closed,
.seminar__status.is-full,
.seminar__status.is-ended {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* --- セミナー：開催情報 --------------------------------------------------- */
.seminar__meta {
  margin: 18px 0 4px;
  padding: 16px 18px;
  background: var(--gray-050);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
}

.seminar__meta > div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
  align-items: start;
}

.seminar__meta dt {
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--gray-500);
  padding-top: 2px;
}

.seminar__meta dd {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--gray-900);
}

.seminar__meta a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

/* --- セミナー：申込ボタン ------------------------------------------------- */
.seminar__action {
  margin-top: 22px;
}

.btn--disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  border-color: var(--gray-200);
  cursor: not-allowed;
  pointer-events: none;
}

.btn--disabled:hover {
  transform: none;
}

.seminar-more {
  margin-top: 48px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   ニュース・リリース
   -------------------------------------------------------------------------- */
.news-list {
  border-top: 1px solid var(--line);
}

.news-item {
  border-bottom: 1px solid var(--line);
}

.news-item__link {
  display: grid;
  grid-template-columns: 9.5em 1fr 1.5em;
  align-items: baseline;
  gap: 4px 22px;
  padding: 24px 4px;
  transition: color .25s var(--ease);
}

.news-list--full .news-item__link {
  grid-template-columns: 9.5em auto 1fr 1.5em;
}

.news-item__link:hover {
  color: var(--gold-600);
}

.news-item__date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--gray-500);
  white-space: nowrap;
}

.news-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.news-tag {
  font-size: 11px;
  letter-spacing: .06em;
  padding: 3px 10px;
  border: 1px solid var(--gold-400);
  border-radius: 2px;
  color: var(--gold-600);
  white-space: nowrap;
}

.news-item__title {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--navy-800);
  transition: color .25s var(--ease);
}

.news-item__link:hover .news-item__title {
  color: var(--gold-600);
}

.news-item__arrow {
  color: var(--gold-500);
  justify-self: end;
  transition: transform .25s var(--ease);
}

.news-item__link:hover .news-item__arrow {
  transform: translateX(4px);
}

.news-empty {
  padding: 40px 4px;
  font-size: 14.5px;
  color: var(--gray-500);
  text-align: center;
}

/* --- ニュース詳細ページ --------------------------------------------------- */
.page-hero--compact {
  padding-bottom: 40px;
}

.news-detail__head {
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.news-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.news-detail__date {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--gray-500);
}

.news-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3.4vw, 32px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--navy-800);
  text-wrap: balance;
  word-break: auto-phrase;
}

.news-detail__figure {
  margin: 0 0 32px;
}

.news-detail__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}

.news-detail__lead {
  font-size: 16px;
  line-height: 2.1;
  color: var(--navy-700);
  padding: 22px 24px;
  background: var(--gray-050);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius);
  margin-bottom: 36px;
}

.news-detail__body p {
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--gray-700);
  margin-bottom: 22px;
}

.news-detail__body a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-detail__body strong {
  color: var(--navy-800);
  font-weight: 600;
}

.news-detail__body code {
  font-size: 13px;
  background: var(--gray-100);
  padding: 2px 7px;
  border-radius: 2px;
}

.news-detail__sign {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 2;
  color: var(--gray-700);
  text-align: right;
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.news-nav__link {
  font-size: 13.5px;
  color: var(--gray-600);
}

.news-nav__link:hover {
  color: var(--gold-600);
}

.news-detail__back {
  margin-top: 40px;
  text-align: center;
}

/* --- 申込ページ：選択中セミナーの確認表示 --------------------------------- */
.apply-summary {
  margin-bottom: 36px;
  padding: 26px 28px;
  background: var(--gray-050);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
}

.apply-summary__label {
  font-size: 11.5px;
  letter-spacing: .16em;
  color: var(--gold-600);
  margin-bottom: 8px;
}

.apply-summary__title {
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.7;
  color: var(--navy-800);
  margin-bottom: 16px;
}

.apply-summary__meta {
  display: grid;
  gap: 8px;
}

.apply-summary__meta > div {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 10px;
}

.apply-summary__meta dt {
  font-size: 11.5px;
  color: var(--gray-500);
  padding-top: 2px;
}

.apply-summary__meta dd {
  font-size: 13.5px;
  color: var(--gray-900);
}

/* 申込ページのフォームは背景が白のため、影付きのカードにしない */
.form--flat {
  padding: 0;
}

.form__note {
  margin-top: 24px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--gray-500);
}

.form__note a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.thanks__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   14. Company
   -------------------------------------------------------------------------- */
.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

/* 右カラムを使わない場合の1カラム表示（現在は未使用） */
.company-layout--single {
  grid-template-columns: minmax(0, 760px);
}

/* --- 実績（Track Record） ------------------------------------------------ */
.records {
  display: grid;
  gap: 14px;
}

.record {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}

.record:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.record__icon {
  flex: none;
  width: 48px;
  height: 48px;
  color: var(--navy-700);
  display: grid;
  place-items: center;
  transition: color .3s var(--ease);
}

.record__icon svg {
  width: 100%;
  height: 100%;
}

.record:hover .record__icon {
  color: var(--gold-600);
}

.record__body {
  min-width: 0;
}

.record__value {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-800);
  letter-spacing: .02em;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.record__unit {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gray-600);
}

.record__label {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--gray-600);
}

.records__note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--gray-500);
  text-align: right;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  line-height: 1.9;
  vertical-align: top;
}

.info-table th {
  width: 34%;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: .06em;
  white-space: nowrap;
}

.info-table td {
  color: var(--gray-900);
}

.leaders {
  display: grid;
  gap: 16px;
}

.leader {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.leader__avatar {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-en);
  font-size: 18px;
  letter-spacing: .04em;
}

.leader__role {
  font-size: 12.5px;
  letter-spacing: .1em;
  color: var(--gold-600);
  margin-bottom: 4px;
}

.leader__name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--navy-800);
  letter-spacing: .04em;
}

.leader__org {
  font-size: 12.5px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   15. Contact（お問い合わせの流れ）
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.flow__step {
  position: relative;
  padding: 30px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

/* ステップ間の矢印。以前は細い線だけで気づかれにくかったため、
   金の円を敷いて「次へ進む」動きが一目で分かるようにしている。 */
.flow__step::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 2px 8px rgba(117, 97, 58, .22);
  transform: translateY(-50%);
}

.flow__step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform: translateY(-50%) rotate(45deg);
}

.flow__step:last-child::before,
.flow__step:last-child::after {
  display: none;
}

.flow__no {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold-600);
  margin-bottom: 12px;
}

.flow__title {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy-800);
  margin-bottom: 10px;
}

.flow__text {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--gray-600);
}

/* --------------------------------------------------------------------------
   16. Contact form
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.contact-aside__note {
  padding: 26px 28px;
  border: 1px solid var(--line-deep);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04);
}

.contact-aside__note+.contact-aside__note {
  margin-top: 16px;
}

.contact-aside__note h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-aside__note p {
  font-size: 13.5px;
  line-height: 2;
  color: var(--text-invert-m);
}

.contact-aside__note a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 44px 40px;
  color: var(--text);
}

.form__row {
  margin-bottom: 26px;
}

.form__row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gray-900);
  margin-bottom: 10px;
}

.req,
.opt {
  font-size: 10.5px;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 500;
}

.req {
  background: var(--navy-800);
  color: #fff;
}

.opt {
  background: var(--gray-100);
  color: var(--gray-600);
}

.form__control {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  background: var(--gray-050);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

/* background-color を使う（shorthand だと select の矢印画像が消えるため） */
.form__control:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(176, 154, 107, .16);
}

.form__control::placeholder {
  color: var(--gray-400);
}

textarea.form__control {
  min-height: 150px;
  resize: vertical;
}

select.form__control {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%237A8494' stroke-width='1.4' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.form__error {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: #A6362F;
}

.form__row.has-error .form__control {
  border-color: #A6362F;
  background-color: #FCF5F4;
}

.form__row.has-error .form__error {
  display: block;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--gray-700);
  cursor: pointer;
}

.form__check input {
  margin-top: 5px;
  width: 17px;
  height: 17px;
  accent-color: var(--gold-600);
  flex: none;
}

.form__check a {
  color: var(--gold-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__submit {
  margin-top: 32px;
}

.form__status {
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.9;
  display: none;
  padding: 14px 16px;
  border-radius: var(--radius);
}

.form__status.is-visible {
  display: block;
}

.form__status.is-error {
  background: #FCF5F4;
  color: #8E2F28;
  border: 1px solid #E7C9C6;
}

.form__status.is-success {
  background: #F2F7F3;
  color: #2C5D3B;
  border: 1px solid #C6DDCC;
}

.form__status.is-info {
  background: var(--gray-050);
  color: var(--gray-700);
  border: 1px solid var(--line);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: var(--text-invert-m);
  padding: 72px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-deep);
}

.footer__brand .brand {
  margin-bottom: 20px;
}

.footer__desc {
  font-size: 13.5px;
  line-height: 2;
  max-width: 380px;
}

.footer__col-title {
  font-family: var(--font-en);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.footer__list li+li {
  margin-top: 12px;
}

.footer__list a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
}

.footer__list a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  justify-content: space-between;
}

.footer__copy {
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .5);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__legal a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
}

.footer__legal a:hover {
  color: var(--gold-400);
}

.disclaimer {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line-deep);
  border-radius: var(--radius);
  font-size: 11.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, .5);
}

/* --------------------------------------------------------------------------
   18. Legal page (privacy / terms)
   -------------------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--header-h) + 88px) 0 72px;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: .06em;
}

.page-hero__en {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
  display: block;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--gray-500);
  padding: 22px 0;
}

.breadcrumb a:hover {
  color: var(--gold-600);
}

.breadcrumb .sep {
  color: var(--gray-300);
}

.legal-body {
  padding: 24px 0 112px;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-800);
  margin: 52px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  letter-spacing: .05em;
}

.legal-body h2:first-child {
  margin-top: 0;
}

.legal-body h3 {
  font-size: 15.5px;
  color: var(--navy-700);
  margin: 28px 0 10px;
}

.legal-body p {
  font-size: 15px;
  line-height: 2.15;
  color: var(--gray-700);
  margin-bottom: 16px;
}

.legal-body ul {
  margin: 0 0 18px;
  padding-left: 0;
}

.legal-body ul li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.legal-body ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.legal-body ol {
  counter-reset: n;
  margin-bottom: 18px;
}

.legal-body ol li {
  counter-increment: n;
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  line-height: 2.05;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.legal-body ol li::before {
  content: counter(n) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-en);
  color: var(--gold-600);
}

.legal-body .updated {
  font-size: 13px;
  color: var(--gray-500);
  text-align: right;
  margin-top: 40px;
}

/* Thanks page */
.thanks {
  min-height: 78svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 80px) 0 100px;
}

.thanks__mark {
  width: 68px;
  height: 68px;
  margin: 0 auto 30px;
  color: var(--gold-500);
}

.thanks__title {
  font-family: var(--font-serif);
  font-size: clamp(23px, 3.4vw, 32px);
  color: var(--navy-800);
  margin-bottom: 20px;
}

.thanks__text {
  font-size: 15px;
  line-height: 2.1;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: .08s;
}

.reveal[data-delay="2"] {
  transition-delay: .16s;
}

.reveal[data-delay="3"] {
  transition-delay: .24s;
}

.reveal[data-delay="4"] {
  transition-delay: .32s;
}

.reveal[data-delay="5"] {
  transition-delay: .40s;
}

/* --------------------------------------------------------------------------
   20. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .section {
    padding: 88px 0;
  }

  .trinity,
  .diff,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .problem-grid,
  .philosophy-grid,
  .seminar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__step:nth-child(2)::before,
  .flow__step:nth-child(2)::after {
    display: none;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  :root {
    --gutter: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    background: rgba(14, 23, 40, .985);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .nav__link {
    font-size: 16px;
  }

  .plan-grid {
    grid-template-columns: 1fr;
  }

  /* 1カラムではカード幅に余裕があるため、プラン名をもう一段大きく見せる */
  .plan__name {
    font-size: clamp(18px, 5.4vw, 30px);
  }

  /* プラン名を1行で収めるため、狭い画面ではカードの左右余白を詰める */
  .plan__head,
  .plan__features,
  .plan__price {
    padding-left: 22px;
    padding-right: 22px;
  }

  .problem-grid,
  .philosophy-grid,
  .seminar-grid {
    grid-template-columns: 1fr;
  }

  .form {
    padding: 32px 24px 30px;
  }

  .form__row--split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .case__a-inner {
    padding-left: 48px;
  }

  /* ニュース一覧：狭い画面では日付・タグ・タイトルを縦積みにする */
  .news-item__link,
  .news-list--full .news-item__link {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .news-item__date {
    grid-column: 1;
  }

  .news-item__tags {
    grid-column: 1 / -1;
    order: 2;
  }

  .news-item__title {
    grid-column: 1 / -1;
    order: 3;
  }

  .news-item__arrow {
    grid-column: 2;
    grid-row: 1;
  }

  .news-nav {
    flex-direction: column;
    gap: 14px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    gap: 12px;
  }

  .problem-answer {
    padding: 28px 24px;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 72px 0;
  }

  body {
    font-size: 15px;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border: 0;
    padding-bottom: 4px;
  }

  .info-table td {
    padding-top: 0;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow__step::before,
  .flow__step::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {

  .header,
  .nav,
  .hero__scroll,
  .form,
  .footer__legal {
    display: none !important;
  }

  body {
    color: #000;
  }

  .section--deep,
  .hero {
    background: #fff !important;
    color: #000 !important;
  }
}