/* ============================================================
   00-base.css
   ============================================================ */
@charset "utf-8";
/* =========================================================
   Wealth Partner 10th Anniversary LP
   00-base.css : reset / design tokens / typography / layout

   数値はすべて PSD（1339 x 6932px）からの実測値。
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand ------------------------------------------------ */
  --navy:        #0F2236;   /* セクション見出し・本文濃色 */
  --navy-msg:    #1B2350;   /* 「10周年を迎えて」見出し */
  --ink:         #1B2236;   /* お悩みカード本文・理由バッジ数字 */
  --text:        #000000;   /* 挨拶文・プロフィール・会社紹介の本文 */
  --gold:        #C9A861;   /* 見出し下線・セミナー項目名 */
  --gold-text:   #A78130;   /* 「資産配分診断」文字色 */
  --note:        #E9D8B7;   /* セミナー注記 */
  --seminar-desc:#DDDDDD;   /* セミナー説明文 */

  /* Surface --------------------------------------------- */
  --bg:          #FFFFFF;
  --bg-cream:    #F7F5F0;
  --bg-banner:   #F9F7F3;
  --seminar-bg:  #1B2350;
  --footer-bg:   #00090D;
  --border-soft: rgba(15, 34, 54, .12);

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

  /* PSD実測: 見出し40px / サブ見出し30px / 本文16px */
  --fs-h2:   clamp(26px, 3.1vw, 40px);
  --fs-h3:   clamp(19px, 2.3vw, 30px);
  --fs-body: clamp(14px, 1.25vw, 16px);
  --fs-sm:   clamp(12.5px, 1.1vw, 14px);

  /* Layout ---------------------------------------------- */
  /* PSD: セクション内コンテンツ 159〜1183 = 1024px
          ワイドブロック（MV・セミナー枠・CTAバナー） 98〜1242 = 1144px */
  --container:      1024px;
  --container-wide: 1144px;
  --container-narrow: 768px;
  --gutter: 24px;
  --section-y: clamp(56px, 7.5vw, 100px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease, color .25s ease; }
a:hover { opacity: .72; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.section { padding: var(--section-y) 0; }
.section--cream { background: var(--bg-cream); }
.section--white { background: var(--bg); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

/* ---------- Section heading ----------
   PSD実測: 見出し 40px、下線は「見出しテキストと同じ幅」で
   セクションごとに長さが違う（統一しない）。
   → inline-block + ::after{width:100%} で自動追従させる。
   下線: 高さ4px / 文字の下から約19px下 / #C9A861
--------------------------------------- */
.sec-head {
  text-align: center;
  margin-bottom: clamp(34px, 4.6vw, 62px);
}
.sec-head__title {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-h2);
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--navy);
}
.sec-head__title::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: clamp(8px, 1vw, 11px);
  background: var(--gold);
}
/* 濃紺背景のセクション用 */
.sec-head--invert .sec-head__title { color: #FFFFFF; }
/* 「10周年を迎えて」だけ見出し色が違う */
.sec-head--msg .sec-head__title { color: var(--navy-msg); }

/* スマホでは見出しが折り返して1文字だけ次行に落ちるのを防ぐ。
   実測：最長の「こんなお悩みはありませんか？」は font-size 26px で幅379px。
   使える幅（100vw − 左右余白48px）に収まるサイズまで自動で縮める。 */
@media (max-width: 600px) {
  .sec-head__title {
    font-size: min(26px, calc(6.6vw - 3px));
  }
}

/* セクション内サブ見出し（富裕層に選ばれ続ける5つの理由） */
.sec-sub {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: .04em;
  line-height: 1.5;
  color: #232C46;
}

/* ---------- Buttons ----------
   PSD/書き出しPNGから採取したグラデーションを再現
------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 62px;
  padding: 12px 24px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(15px, 1.55vw, 20px);
  letter-spacing: .04em;
  line-height: 1.4;
  color: #FFFFFF;
  border-radius: 6px;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn:hover { opacity: 1; transform: translateY(-2px); filter: brightness(1.06); }

.btn--gold {
  background: linear-gradient(180deg, #C7A96A 0%, #E0C684 10%, #C9AF72 32%, #9A824B 54%, #95773C 80%, #967538 100%);
  box-shadow: 0 4px 14px rgba(149, 119, 59, .3);
  text-shadow: 0 1px 2px rgba(88, 66, 20, .4);
}
.btn--purple {
  background: linear-gradient(180deg, #3479F0 0%, #4867E9 30%, #5849E0 58%, #5E30DA 78%, #6109D4 100%);
  box-shadow: 0 4px 16px rgba(78, 44, 216, .34);
}
.btn--navy {
  background: linear-gradient(180deg, #212C65 0%, #131F52 52%, #010A36 100%);
  box-shadow: 0 4px 14px rgba(10, 20, 60, .3);
}
.btn--block { display: flex; width: 100%; }

/* ---------- 金のピルラベル（10周年記念） ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 24px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(14px, 1.55vw, 20px);
  letter-spacing: .06em;
  line-height: 1.4;
  color: #FFFFFF;
  background: linear-gradient(180deg, #D8C293 0%, #C1A566 45%, #A2854B 76%, #967638 100%);
  text-shadow: 0 1px 2px rgba(88, 66, 20, .35);
}

/* ---------- Utilities ---------- */
.serif { font-family: var(--font-serif); }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   01-hero.css
   ============================================================ */
/* =========================================================
   01-hero.css : ヒーロー（フルブリード）
   prefix: .hero__

   PSD実測（キャンバス 1339 x 670）
     背景      images/mainvisual.jpg（夜景のみ・文字なし／左側のぼかし込み）
     エンブレム images/emblem.png を x860 / y65 / 408 x 386 に重ねる
               → 支給された一体版と重ねて誤差ほぼゼロで一致することを確認済み
     h1        x99  / y121 / 50px / 行送り72px / #FFFFFF
     リード     x99  / y311 / 20px / 行送り40px / #FFFFFF
     ボタン     x98 w314 ＋ x428 w313 / y429〜493（高さ64px・間隔16px）

   ※ .hero は aspect-ratio 1339/670 を保つので、背景はどの幅でも
      デザインキャンバスの等倍スケールになる。よってエンブレムの位置は
      %指定（860/1339・65/670・408/1339）にすれば全幅で正確に重なる。
   ========================================================= */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 56px;
  overflow: hidden;
  /* width:100% 必須。min-height が比率高さを上回ると
     aspect-ratio が幅側に転写されて横スクロールが出るため。 */
  width: 100%;
  aspect-ratio: 1339 / 670;
  min-height: clamp(420px, 50vw, 670px);
  background-color: #061838;
  background-image: url("../images/mainvisual.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* ---------- 10th ANNIVERSARY エンブレム ----------
   中心座標を基準に置いているので、--hero-emblem-w を変えるだけで
   位置を保ったまま大小を調整できる。
   PSD原寸は 30.471%（408px）／中心 left 79.462%・top 38.507%。
   デザイン調整により、やや小さく・左下寄りに配置している。
--------------------------------------------------- */
.hero {
  --hero-emblem-w: 23%;
}
.hero__emblem {
  position: absolute;
  left: 72.462%;   /* 中心 970 / 1339 */
  top: 43.507%;    /* 中心 292 /  670 */
  translate: -50% -50%;
  width: var(--hero-emblem-w);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

/* ---------- コンテンツ ---------- */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

/* h1 : 50px / line-height 72px = 1.44 */
.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(24px, 3.74vw, 50px);
  line-height: 1.44;
  letter-spacing: .03em;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}
.hero__title-line { display: block; }

/* リード : 20px / line-height 40px = 2.0 / h1 との間隔 40px */
.hero__lead {
  margin-top: clamp(22px, 3vw, 40px);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 400;
  line-height: 2;
  letter-spacing: .03em;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
}
.hero__lead-line { display: block; }

/* ボタン : 高さ64px / 幅314px / 間隔16px / リードとの間隔 40px */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(24px, 3vw, 40px);
}
.hero__btn {
  min-width: 314px;
  min-height: 64px;
  /* .btn の左右パディング24pxのままだと文字幅で314pxを超えるため詰める */
  padding-inline: 18px;
}

/* =========================================================
   タブレット以下
   900px を切ると min-height が aspect-ratio 由来の高さを上回り、
   背景が cover で横方向にトリミングされてキャンバスの等倍スケールで
   なくなる。エンブレムの%配置がズレるので、ここから縦積みに切り替える。
   ========================================================= */
@media (max-width: 900px) {
  .hero {
    /* エンブレムを静的配置に戻すので、縦積みのフレックスに切り替える */
    flex-direction: column;
    aspect-ratio: auto;
    min-height: 0;
    padding-top: clamp(40px, 7vw, 64px);
    padding-bottom: clamp(40px, 7vw, 64px);
    background-position: center center;
  }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(4, 14, 36, .3);
    pointer-events: none;
  }

  .hero__emblem {
    position: static;
    translate: none;
    display: block;
    width: clamp(180px, 27vw, 240px);
    margin: 0 auto clamp(18px, 3.4vw, 28px);
  }

  .hero__inner { text-align: center; }
  .hero__title,
  .hero__lead { text-align: center; }

  .hero__actions {
    justify-content: center;
  }
  .hero__btn {
    /* 文言が2行に折り返さない最低幅を確保しつつ、収まらなければ縦積み */
    flex: 0 1 auto;
    min-width: 280px;
    min-height: 58px;
    padding-inline: 16px;
  }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }
  .hero__emblem {
    width: clamp(180px, 52vw, 240px);
    margin-bottom: clamp(14px, 4vw, 22px);
  }

  .hero__title {
    font-size: clamp(22px, 6.4vw, 26px);
    line-height: 1.55;
    letter-spacing: .01em;
  }
  .hero__title-line { display: inline; }

  .hero__lead {
    font-size: clamp(13.5px, 3.8vw, 16px);
    line-height: 1.9;
    letter-spacing: .01em;
  }
  .hero__lead-line { display: inline; }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero__btn {
    flex: 0 0 auto;
    width: 100%;
    min-height: 56px;
  }
}

/* ============================================================
   02-message.css
   ============================================================ */
/* =========================================================
   02-message.css : 10周年を迎えて（ご挨拶）
   prefix: .message__

   PSD実測
     本文ブロック  x361〜x968 = 607px（中央）
     本文          18px / 行送り30px / #000000 / 中央揃え / 明朝
     段落間        30px（空行1つ分）
     署名          y1386〜1436・2行 / 16px + 18px / 行送り25px
   ========================================================= */

/* ---------- 本文ブロック ---------- */
.message__body {
  /* PSDのテキストブロックは607pxだが、Noto Serif JP は実測で
     最長行（一棟RCマンション投資〜）が644pxになるため折り返してしまう。
     フォント差の余裕を見て660pxにしている。 */
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  /* PSD 18px */
  font-size: clamp(15px, 1.72vw, 18px);
  /* PSD 30px / 18px = 1.67 */
  line-height: 1.67;
  letter-spacing: .04em;
  color: var(--text);
}

/* 段落間 = 空行1つ分（PSD 30px） */
.message__p {
  margin-top: clamp(20px, 2.7vw, 30px);
}
.message__p:first-child {
  margin-top: 0;
}

/* PCはカンプどおりの改行位置。600px以下で自然折り返しに戻す */
.message__line {
  display: block;
}

/* ---------- 署名（PSD y1386〜1436） ---------- */
.message__sign {
  margin-top: clamp(34px, 4.7vw, 52px);
  text-align: center;
  font-family: var(--font-serif);
  color: var(--text);
}
.message__sign-company {
  /* PSD 16px / 行送り25px */
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 25px;
  letter-spacing: .06em;
}
.message__sign-name {
  /* PSD 18px / 行送り25px */
  font-size: clamp(15px, 1.72vw, 18px);
  line-height: 25px;
  letter-spacing: .06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .message__body {
    /* この幅域はフォントが 1.72vw で縮むので最長行は537〜554px。
       余裕を持たせて580px。 */
    max-width: 580px;
  }
}

@media (max-width: 600px) {
  .message__body {
    max-width: none;
    line-height: 1.9;
    letter-spacing: .02em;
  }
  .message__line {
    display: inline;
  }
  .message__sign-company,
  .message__sign-name {
    line-height: 1.8;
  }
}

/* ============================================================
   03-profile.css
   ============================================================ */
/* =========================================================
   03-profile.css : 代表プロフィール
   prefix: .profile__

   PSD実測（コンテンツ幅 1024px = x159〜x1183）
     写真     x160〜572 = 412 × 304px
     間隔     49px
     テキスト x621〜1180 = 559px
     会社名   12px / 行送り18px
     氏名     18px（ふりがな 11px・同じベースライン）
     経歴     16px / 行送り24px（「（現・◯◯）」は 14px）
     説明文   16px / 行送り30px / 両端揃え
   ========================================================= */

.profile__inner {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 49px;
  align-items: start;
}

/* ---------- 写真（グレー背景込みで既に 412:304） ---------- */
.profile__figure {
  margin: 0;
}
.profile__photo {
  width: 100%;
  height: auto;
}

/* ---------- 会社名・氏名（PSD y1806〜1853） ---------- */
.profile__company {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: .04em;
  color: var(--text);
}
.profile__name {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--text);
}
.profile__kana {
  margin-left: .4em;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--text);
}

/* ---------- 経歴（PSD y1886〜2033） ---------- */
.profile__career {
  margin-top: clamp(22px, 2.9vw, 33px);
}
.profile__career-item {
  margin-top: 12px;
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 24px;
  letter-spacing: .02em;
  color: var(--text);
}
.profile__career-item:first-child {
  margin-top: 0;
}

/* 同じ行に続けて出る注記 */
.profile__career-note {
  display: inline;
  font-size: clamp(12px, 1.3vw, 14px);
}

/* 次の行に送る注記。PSD実測でブロック幅559pxの33%（184px）字下げ */
.profile__career-sub {
  display: block;
  padding-left: 33%;
  font-size: clamp(12px, 1.3vw, 14px);
}

/* ---------- 説明文（PSD y2072〜2148） ---------- */
.profile__desc {
  margin-top: 24px;
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 30px;
  letter-spacing: .02em;
  text-align: justify;
  color: var(--text);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .profile__inner {
    grid-template-columns: 320px 1fr;
    gap: 32px;
  }
  .profile__career-sub {
    padding-left: 24%;
  }
  .profile__career-item,
  .profile__desc {
    line-height: 1.75;
  }
}

@media (max-width: 600px) {
  .profile__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .profile__figure {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }
  .profile__text {
    text-align: left;
  }
  /* スマホは字下げすると他の行と揃わず浮いて見えるので左端に揃える */
  .profile__career-sub {
    padding-left: 0;
  }
}

/* ============================================================
   04-about.css
   ============================================================ */
/* =========================================================
   04-about.css : ウェルス・パートナーとは
   PSD実測（コンテンツ幅 1024px = x159〜x1183）
     ロゴ  x161〜461 / 300 x 146px
     本文  x581〜1180 / 599px / 17px / 行送り24px / #000 / 両端揃え
   ========================================================= */

/* ---------- 本文ブロック ---------- */
.about__body {
  display: grid;
  grid-template-columns: 420px 1fr;   /* 左カラム = ロゴ + 余白（本文は x581 = 左端から422px） */
  gap: 0;
  align-items: center;                /* ロゴを本文に対して縦中央 */
}

/* ---------- 左：ロゴ ---------- */
.about__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;        /* PSD: ロゴ左端 x161 ＝ コンテンツ左端 */
}
.about__logo {
  width: 300px;                       /* 実寸 600x292 を1/2表示 */
  max-width: 100%;
  height: auto;
}

/* ---------- 右：本文 ---------- */
.about__text {
  color: var(--text);
}
.about__p {
  font-size: 17px;
  line-height: 24px;                  /* PSD実測 行送り24px = 1.41 */
  letter-spacing: 0;
  text-align: justify;
  text-justify: inter-ideograph;
}
.about__p + .about__p {
  margin-top: 24px;                   /* 空行1つ分 */
}

/* PCでの意図的な改行 */
.about__line {
  display: block;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .about__body {
    grid-template-columns: 300px 1fr;
    gap: 0 24px;
  }
  .about__logo {
    width: 100%;
    max-width: 300px;
  }
  .about__p {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.75;
  }
  .about__p + .about__p {
    margin-top: 1.75em;
  }
}

@media (max-width: 600px) {
  .about__body {
    grid-template-columns: 1fr;
    gap: 28px 0;
  }
  .about__logo-wrap {
    justify-content: center;
  }
  .about__logo {
    width: 220px;
  }
  .about__p {
    font-size: 15px;
    line-height: 1.8;
    text-align: left;
  }
  .about__p + .about__p {
    margin-top: 1.4em;
  }
  .about__line {
    display: inline;
  }
}

/* ============================================================
   05-reasons.css
   ============================================================ */
/* =========================================================
   05-reasons.css : 当社が選ばれる理由
   PSD実測（コンテンツ幅 1024px = x159〜x1183）
     見出し下線 → サブ見出し        53px
     サブ見出し → カード1枚目        36px
     カード  1024 x 73px / カード間 7px / 角丸2px / 枠1px 淡金
     バッジ  40 x 40px / 左17px・上16px / 角丸6px / 数字 明朝30px #1B2236
     テキスト 20px / 行送り24px / #0F2236 / 明朝 太字
   ========================================================= */

/* 見出しまわりの縦間隔（PSD実測に合わせた当セクション固有の調整） */
.reasons .sec-head {
  margin-bottom: clamp(30px, 4vw, 53px);
}

/* ---------- カードリスト ---------- */
.reasons__list {
  display: flex;
  flex-direction: column;
  gap: 7px;                            /* PSD: カード間の空き 7px */
  margin-top: clamp(22px, 2.7vw, 36px);
}

/* ---------- カード ---------- */
.reason-card {
  display: flex;
  align-items: center;
  gap: 14px;                           /* バッジ右端 → テキスト 14px */
  min-height: 73px;
  padding: 16px 17px;
  background: var(--bg);
  border: 1px solid rgba(201, 168, 97, .6);   /* --gold #C9A861 の淡色 */
  border-radius: 2px;
  transition: box-shadow .28s ease, transform .28s ease;
}
.reason-card:hover {
  box-shadow: 0 6px 18px rgba(15, 34, 54, .10);
  transform: translateY(-2px);
}

/* ---------- 番号バッジ ---------- */
.reason-card__num {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #C6B084 0%, #B49C6A 42%, #927641 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 3px rgba(146, 118, 65, .35);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);                   /* PSD実測: 数字は濃紺 #1B2236 */
}

/* ---------- テキスト ---------- */
.reason-card__text {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: .02em;
  color: var(--navy);
  text-align: left;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 900px) {
  .reason-card__num {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 26px;
  }
  .reason-card__text {
    font-size: clamp(15px, 2.1vw, 20px);
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .reasons__list {
    gap: 8px;
  }
  .reason-card {
    gap: 10px;
    min-height: auto;
    padding: 14px 12px;
  }
  .reason-card__num {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 22px;
    border-radius: 5px;
  }
  .reason-card__text {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* ============================================================
   06-worries.css
   ============================================================ */
/* =========================================================
   06-worries.css : こんなお悩みはありませんか？
   PSD実測 / コンテナ1024px
   カード幅192px × 5 + gap15px × 4 = 1020px
   画像 192 × 152px（実画像 384 × 304px の 1/2）
   ========================================================= */

/* 見出し下線からカードまで PSD実測 56px */
.worries .sec-head { margin-bottom: 56px; }

.worries__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.worry-card {
  background: var(--bg);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(15, 34, 54, .06);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.worry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 34, 54, .14);
}

/* 画像はカード上端に密着 */
.worry-card__img {
  width: 100%;
  aspect-ratio: 192 / 152;
  object-fit: cover;
}

/* PSD実測: 画像下14px / 左右18px / 下22px / 14px・行送り20px */
.worry-card__text {
  margin: 14px 18px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .01em;
  color: var(--ink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .worries .sec-head { margin-bottom: 42px; }
  .worries__list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
  .worries .sec-head { margin-bottom: 34px; }
  .worries__list { grid-template-columns: repeat(2, 1fr); }
  /* 2列だと5枚目が最終行に1枚だけ残るので、幅は1列分のまま中央に置く */
  .worries__list > .worry-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 7.5px);   /* gap 15px の半分を引いた1列分 */
    margin-inline: auto;
  }
  .worry-card__text {
    margin: 12px 14px 18px;
    font-size: 13px;
    line-height: 19px;
  }
}

/* ============================================================
   07-seminar.css
   ============================================================ */
/* =========================================================
   07-seminar.css : 10周年記念セミナーのご案内
   prefix: .seminar__

   PSD実測
     セクション   y4244〜y5015（約771px）／地色 #1B2350 ＋ seminar-bg.png
     見出し下線 → カード上端  80px
     カード枠     x97〜x1241（1144px）／ y4506〜y4890（384px）
     左テキスト   x129 起点（カード左から32px）／テキスト幅336px
     中央情報     x513〜x893（380px）／項目名x518・値x616（差98px）
     注記バー     378 × 32px
     写真         カード右端に 450 × 380px（左端フェードは画像に焼き込み済み）
   ========================================================= */

/* ---------- セクション ----------
   背景はCSSグラデーションではなく書き出し済みPNG（星・グロー入り）を使う */
.seminar {
  position: relative;
  overflow: hidden;
  background-color: var(--seminar-bg);
  background-image: url(../images/seminar-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 見出し下線からカード上端まで PSD実測 80px */
.seminar .sec-head {
  margin-bottom: clamp(40px, 6.4vw, 80px);
}

/* ---------- カード ---------- */
.seminar__card {
  position: relative;
  overflow: hidden;
  display: grid;
  /* PSD: 左テキスト 384px（x129→x513）／中央情報 428px（注記378pxを含む）／残りは写真域 */
  grid-template-columns: minmax(340px, 384px) minmax(340px, 428px) 1fr;
  align-content: start;
  min-height: 384px;
  padding: 30px 0 22px 32px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 2px;
  background: rgba(9, 18, 52, .55);
}

/* ---------- 会場写真 ----------
   画像に左端フェードが焼き込まれているのでCSSマスクは使わない */
.seminar__photo {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  width: 450px;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* ---------- 左カラム: セミナー概要 ---------- */
.seminar__intro {
  position: relative;
  z-index: 2;
  min-width: 340px;
}

/* PSD実測 204 × 34px */
.seminar__intro .pill {
  min-width: 204px;
  height: 34px;
  padding-block: 0;
}

/* PSD 20px / 行送り26px / #FFFFFF / 明朝・太字
   ※PSDのアキ18pxは文字の外形基準。line-heightの半行送り(3px)を
     差し引いた12pxにすると、結果としてPSDと同じ位置に載る。 */
.seminar__title {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.3;
  letter-spacing: .04em;
  color: #FFFFFF;
}
.seminar__title-line {
  display: block;
}

/* PSD 16px / 行送り22px / #DDDDDD / テキストブロック幅336px
   ※アキ18px − 半行送り3px = 12px（上の見出しと同じ考え方） */
.seminar__desc {
  margin-top: 12px;
  max-width: 336px;
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.375;
  letter-spacing: .02em;
  color: var(--seminar-desc);
}
.seminar__desc-line {
  display: block;
}

/* PSD実測 312 × 63px */
.seminar__btn {
  margin-top: 17px;
  width: 312px;
  max-width: 100%;
  min-height: 63px;
}

/* ---------- 中央カラム: 開催情報 ---------- */
.seminar__info {
  position: relative;
  z-index: 2;
  max-width: 380px;
}

.seminar__row {
  display: grid;
  /* PSD: 項目名x518 / 値x616 → 98px */
  grid-template-columns: 98px 1fr;
  padding-bottom: 12px;
  /* PSD実測 x519〜x893 */
  border-bottom: 1px solid rgba(255, 255, 255, .28);
}
.seminar__row + .seminar__row {
  padding-top: 14px;
}
.seminar__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

/* 項目名: PSD 14px / #C9A861 */
.seminar__row dt {
  font-size: var(--fs-sm);
  line-height: 24px;
  letter-spacing: .04em;
  color: var(--gold);
}

/* 値: PSD 14px / 行送り24px / #FFFFFF */
.seminar__row dd {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 24px;
  letter-spacing: .02em;
  color: #FFFFFF;
}

/* 日時 — 日付だけ 18px */
.seminar__date {
  display: block;
  font-size: clamp(15px, 1.72vw, 18px);
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .02em;
}
.seminar__time {
  display: block;
  font-weight: 700;
  line-height: 24px;
}

/* 会場 — 会場名のあとに1行分あけて住所（行送り18px） */
.seminar__place {
  display: block;
  line-height: 24px;
}
.seminar__addr {
  display: block;
  line-height: 18px;
}
.seminar__place + .seminar__addr {
  margin-top: 10px;
}
.seminar__map {
  display: block;
  margin-top: 6px;
  line-height: 18px;
}
.seminar__map-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* 注記バー: PSD実測 378 × 32px */
.seminar__note {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 378px;
  max-width: 100%;
  min-height: 32px;
  margin-top: 16px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, .14);
  font-size: clamp(11px, 1.1vw, 12px);
  line-height: 1.5;
  letter-spacing: .04em;
  text-align: center;
  color: var(--note);
}

/* ---------- Responsive ----------
   カード幅1144pxを保てなくなるのは約1100px。
   ここで写真をカード全体の背景写真に切り替える（仕様の「900px以下」を内包）。 */
@media (max-width: 1100px) {
  .seminar__card {
    grid-template-columns: 1fr 1fr;
    gap: 30px 32px;
    align-content: stretch;
    min-height: 0;
    padding: 28px;
  }
  .seminar__photo {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .22;
  }
  .seminar__intro {
    min-width: 0;
  }
  .seminar__desc {
    max-width: none;
  }
  .seminar__info {
    max-width: none;
  }
  .seminar__note {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .seminar .sec-head {
    margin-bottom: 36px;
  }
  .seminar__card {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 20px;
  }
  .seminar__intro .pill {
    min-width: 0;
  }
  /* スマホは2行構成にする。
     1行目「資産運用セミナー」／2行目「富裕層が実践する〜資産運用戦略」
     2行目は画面幅で自然に折り返させる。
     （span同士はHTML上で隣接して書いてあるので余分な空白は出ない） */
  .seminar__title-line {
    display: inline;
  }
  .seminar__title-line:first-child {
    display: block;
  }

  .seminar__desc-line {
    display: inline;
  }
  .seminar__desc {
    line-height: 1.8;
  }
  .seminar__btn {
    display: flex;
    width: 100%;
  }
  .seminar__row {
    grid-template-columns: 76px 1fr;
  }
  .seminar__note {
    padding: 6px 10px;
    line-height: 1.6;
  }
}

/* ============================================================
   08-cta.css
   ============================================================ */
/* =========================================================
   08-cta.css : 資産配分診断 CTAバナー
   prefix: .cta__

   PSD実測
     セクション上下余白  46px
     バナー外形          x98〜x1242（1144px）／ 204px高
     二重罫              外 rgba(201,168,97,.75) / 内 inset 5px
     写真                内側左端に 314 × 192px（右端フェードは画像に焼き込み済み）
     テキスト左端        バナー左端から345px（PSD x443）
     「10」48px ／「周年記念」24px ／「無料」ピル 92×42px
     「資産配分診断」36px（ピルの右に34pxのアキ）
     ボタン              313 × 62px（バナー右端から36px）
   ========================================================= */

/* PSD実測でこのセクションの上下余白は46px */
.cta {
  padding: clamp(32px, 4vw, 46px) 0;
}

/* ---------- バナー本体（全体がリンク） ---------- */
.cta__banner {
  position: relative;
  display: grid;
  /* 1列目は写真ぶんの空きスペース（写真は絶対配置） */
  grid-template-columns: 345px 1fr auto;
  align-items: center;
  min-height: 204px;
  padding: 20px 36px 20px 0;
  border: 1px solid rgba(201, 168, 97, .75);
  border-radius: 2px;
  background: var(--bg-banner);
  color: var(--navy);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* 内側の金の細罫（二重罫） */
.cta__banner::after {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: 3;
  border: 1px solid rgba(201, 168, 97, .5);
  pointer-events: none;
}

.cta__banner:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(15, 34, 54, .16);
}

/* ---------- 打合せ写真 ----------
   画像に右端フェードが焼き込まれているのでCSSマスクは使わない
   （内側罫と同じ inset 5px にぴったり収まる） */
.cta__photo {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
  width: 314px;
  max-width: none;
  height: 192px;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* ---------- テキスト ---------- */
/* 写真は絶対配置＝グリッドアイテムではないので、列は明示的に指定する */
.cta__body {
  position: relative;
  z-index: 2;
  grid-column: 2;
}

/* 「10周年記念」: 24px 明朝／「10」だけ48px・ベースライン揃え */
.cta__eyebrow {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1;
  letter-spacing: .04em;
  color: var(--navy);
}
.cta__num {
  font-size: clamp(37px, 3.8vw, 48px);
  line-height: 1;
  letter-spacing: .01em;
}

/* 「無料 資産配分診断」: 36px 明朝・太字 / #A78130 */
.cta__title {
  display: flex;
  align-items: center;
  margin-top: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(24px, 2.9vw, 36px);
  line-height: 1.1;
  letter-spacing: .04em;
  white-space: nowrap;
  color: var(--gold-text);
}

/* 「無料」ピル: PSD実測 92 × 42px */
.cta__free {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 42px;
  /* ピルの右に34pxのアキ */
  margin-right: 34px;
  border-radius: 4px;
  background: linear-gradient(180deg, #D8C293 0%, #C1A566 45%, #A2854B 76%, #967638 100%);
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .04em;
  text-align: center;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(88, 66, 20, .35);
}

/* リード文: 16px / 行送り24px / #0F2236 */
.cta__lead {
  margin-top: 12px;
  font-size: clamp(13.5px, 1.5vw, 16px);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--navy);
}

/* ---------- ボタン: PSD実測 313 × 62px ---------- */
.cta__btn {
  position: relative;
  z-index: 2;
  grid-column: 3;
  width: 313px;
  max-width: 100%;
  min-height: 62px;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */
/* バナー幅1144pxを保てなくなったら、写真ぶんの1列目から先に詰める */
@media (max-width: 1180px) {
  .cta__banner {
    grid-template-columns: minmax(180px, 345px) 1fr auto;
    column-gap: 24px;
  }
}

/* 900〜1000pxの狭い帯ではボタンをPSDの313pxから自然幅に落とす */
@media (max-width: 1000px) {
  .cta__btn {
    width: auto;
  }
}

@media (max-width: 900px) {
  .cta__banner {
    grid-template-columns: 240px 1fr;
    gap: 20px 24px;
    min-height: 0;
    padding: 20px;
  }
  .cta__photo {
    position: static;
    grid-column: 1;
    width: 100%;
    /* グリッドの自動最小サイズが画像の実寸(628px)にならないようにする */
    min-width: 0;
    max-width: 100%;
    height: 170px;
  }
  .cta__btn {
    grid-column: 1 / -1;
    display: flex;
    width: 100%;
  }
  .cta__free {
    margin-right: 22px;
  }
}

@media (max-width: 600px) {
  .cta__banner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    text-align: center;
  }
  .cta__photo {
    grid-column: auto;
    width: 100%;
    height: 150px;
  }
  .cta__body {
    grid-column: auto;
    min-width: 0;
  }
  .cta__title {
    justify-content: center;
  }
  .cta__free {
    width: 76px;
    height: 36px;
    margin-right: 16px;
  }
  .cta__lead {
    line-height: 1.7;
  }
  .cta__btn {
    grid-column: auto;
  }
}

/* ============================================================
   09-voices.css
   ============================================================ */
/* =========================================================
   09-voices.css : お客様の声
   PSD実測 / コンテナ1024px
   カード幅322px × 3 + gap27px × 2 = 1020px
   画像 280 × 160px（実画像 560 × 320px の 1/2）
   ========================================================= */

/* 見出し下線からカードまで PSD実測 71px */
.voices .sec-head { margin-bottom: 71px; }

.voices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  align-items: start;
}

/* カード内側余白 PSD実測 21px */
.voice-card {
  height: 100%;
  padding: 21px;
  background: var(--bg);
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(15, 34, 54, .07);
}

.voice-card__img {
  width: 100%;
  aspect-ratio: 280 / 160;
  object-fit: cover;
}

/* 属性: 画像下17px / 明朝 16px・行送り24px / 右寄せ / 下6px に罫線 */
.voice-card__meta {
  margin-top: 17px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: .02em;
  color: var(--navy);
  text-align: right;
}

/* 本文: 罫線から28px / ゴシック 16px・行送り25px / 両端揃え */
.voice-card__body {
  margin-top: 28px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 25px;
  letter-spacing: .01em;
  color: var(--navy);
  text-align: justify;
  text-justify: inter-ideograph;
}
/* 段落間の空きは空行1つ分 = 25px */
.voice-card__body p + p { margin-top: 25px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .voices .sec-head { margin-bottom: 48px; }
  .voices__list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .voices .sec-head { margin-bottom: 36px; }
  .voices__list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .voice-card__body { font-size: 15px; line-height: 24px; }
  .voice-card__body p + p { margin-top: 24px; }
}

/* ============================================================
   10-footer.css
   ============================================================ */
/* =========================================================
   10-footer.css : サイトフッター
   prefix: .site-footer__

   カンプ実測（1339px 幅・フッター地色 #00090D）
     上段パディング  上 約96px / 下 約96px
     4カラム         見出し15px / リンク14px / 行間2.2
     区切り線        コンテンツ幅に合わせて内側に収まる
     下段バー        SNS → 法定リンク4本 → コピーライト（右寄せ）→ ページ上部へ
   ========================================================= */

.site-footer {
  background: var(--footer-bg);
  color: #FFFFFF;
  font-family: var(--font-sans);
}

/* ---------- 上段：4カラム ---------- */
.site-footer__top {
  padding-top: clamp(48px, 7.2vw, 96px);
  padding-bottom: clamp(40px, 6.4vw, 92px);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}

.site-footer__col { min-width: 0; }

.site-footer__heading {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
  color: #FFFFFF;
}
.site-footer__heading-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.site-footer__heading-link::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid rgba(255, 255, 255, .8);
  border-bottom: 1.5px solid rgba(255, 255, 255, .8);
  transform: rotate(45deg);
}

.site-footer__list {
  margin-top: 16px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, .22);
}

.site-footer__item {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .02em;
}

.site-footer__link {
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255, 255, 255, .86);
}
.site-footer__link:hover { color: #FFFFFF; opacity: .78; }

/* ご相談事例の子リスト（行頭に "–"） */
.site-footer__sublist {
  margin: 2px 0 18px;
  padding-left: 12px;
}
.site-footer__subitem {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .02em;
}
.site-footer__subitem::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, .6);
}

/* ---------- 下段バー ---------- */
.site-footer__bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  padding-bottom: 30px;
}
/* 区切り線はガター内側 ＝ コンテンツ左右端にぴったり合わせる */
.site-footer__bar-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, .18);
}

/* SNS */
.site-footer__sns {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}
.site-footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}
.site-footer__sns-icon { display: block; }
.site-footer__sns-icon--yt { border-radius: 5px; }

/* 法定リンク */
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 14px;
  flex: 0 1 auto;
  min-width: 0;
}
.site-footer__legal-item {
  position: relative;
  padding-right: 14px;
  font-size: 13px;
  line-height: 1.9;
}
.site-footer__legal-item::after {
  content: "|";
  position: absolute;
  right: 0;
  top: 0;
  color: rgba(255, 255, 255, .35);
}
.site-footer__legal-item:last-child { padding-right: 0; }
.site-footer__legal-item:last-child::after { content: none; }

.site-footer__legal-link {
  font-size: 13px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .88);
}
.site-footer__legal-link:hover { color: #FFFFFF; opacity: .78; }

/* コピーライト（右寄せ） */
.site-footer__copy {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .7);
  white-space: nowrap;
}

/* ページ上部へ戻る */
.site-footer__totop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, .85);
}
.site-footer__totop:hover { color: #FFFFFF; opacity: .78; }
.site-footer__totop-icon { display: block; }

/* ---------- タブレット ---------- */
@media (max-width: 900px) {
  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .site-footer__bar-inner {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  .site-footer__legal {
    order: 3;
    flex: 1 1 100%;
  }
  .site-footer__copy { margin-left: auto; }
}

/* ---------- スマホ ---------- */
@media (max-width: 600px) {
  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer__bar-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }
  .site-footer__legal {
    order: 0;
    justify-content: center;
  }
  .site-footer__copy {
    margin-left: 0;
    white-space: normal;
  }
}
