/* =========================================
   FPオフィス オカモトフィナンシャル 共通スタイル
   ========================================= */
:root {
  --blue: #00439C;        /* メイン：落ち着いた青 */
  --blue-dark: #002f6e;
  --green: #357a62;       /* アクセント：落ち着いた緑 */
  --green-light: #a8d5c2;
  --gold: #f3c95a;        /* 差し色：明るめのゴールド（2026-10-22 さらに明るく） */
  --gold-dark: #9a7412;   /* 白背景の文字用 */
  --text: #2b2b2b;
  --text-sub: #5f6470;
  --bg: #ffffff;
  --bg-alt: #f1f6f5;
  --border: #dde7e5;
  --font-sans: "Noto Sans JP", sans-serif;
  --font-serif: "Noto Serif JP", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  transition: opacity .2s, background .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { opacity: .85; }
.btn-outline { border: 1px solid #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 12px; color: var(--green); letter-spacing: .1em; }
.logo-main { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--blue); }
.global-nav ul { display: flex; align-items: center; gap: 24px; }
.global-nav li { white-space: nowrap; }
.logo { white-space: nowrap; }
.global-nav a { font-size: 14px; color: var(--blue); }
.global-nav a:hover { color: var(--green); }
.global-nav .nav-cta { background: var(--gold); color: var(--blue-dark); font-weight: 700; padding: 8px 18px; border-radius: 4px; }
.global-nav .nav-cta:hover { color: var(--blue-dark); opacity: .85; }
.nav-toggle { display: none; }

/* ---------- メインビジュアル ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a6a7a 100%);
  color: #fff;
  padding: 120px 0;
}
.hero-lead { color: var(--green-light); letter-spacing: .2em; font-size: 14px; margin-bottom: 16px; }
.hero-title { font-family: var(--font-serif); font-size: 44px; line-height: 1.5; margin-bottom: 24px; }
.hero-text { color: rgba(255,255,255,.85); margin-bottom: 40px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--blue);
  text-align: center;
  margin-bottom: 40px;
}
.section-title span {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--green);
  letter-spacing: .2em;
  margin-bottom: 4px;
}
.section-title-left { text-align: left; }
.section-text { max-width: 760px; margin: 0 auto 48px; text-align: center; color: var(--text-sub); }

/* ---------- サービス ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 32px 24px; }
.service-card h3 { color: var(--blue); font-size: 18px; margin-bottom: 12px; padding-left: 12px; border-left: 3px solid var(--green); line-height: 1.4; }
.service-card p { color: var(--text-sub); font-size: 15px; }
@media (max-width: 900px) and (min-width: 769px) {
  .service-card { padding: 28px 16px; }
  .service-card h3 { font-size: 15px; padding-left: 10px; white-space: nowrap; }
}

/* ---------- 代表紹介 ---------- */
.profile { display: flex; gap: 48px; align-items: flex-start; }
.profile-photo {
  flex: 0 0 220px; aspect-ratio: 4 / 5; overflow: hidden;
  background: linear-gradient(160deg, #e6f1ee 0%, #d3e3f3 100%);
  border-radius: 10px; border-bottom: 4px solid var(--green);
  box-shadow: 0 10px 24px rgba(0,67,156,.12);
}
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.profile-body .section-title { margin-bottom: 24px; }
.profile-name { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
.profile-text { color: var(--text-sub); }

/* 代表紹介の詳細 */
.profile-name-kana { display: block; font-size: 13px; font-weight: 400; letter-spacing: .1em; color: var(--text-sub); }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.profile-badges li { font-size: 13px; font-weight: 700; color: var(--blue); border: 1px solid var(--blue); border-radius: 99px; padding: 2px 12px; }
.career { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 14px; }
.career li { background: var(--bg-alt); padding: 4px 12px; border-radius: 4px; color: var(--text); }
.career li:not(:last-child)::after { content: "→"; margin-left: 12px; color: var(--green); }
.section-alt .career li { background: #fff; }
.career li:last-child { background: var(--blue); color: #fff; }
.profile-text + .profile-text { margin-top: 10px; }

/* ---------- お問い合わせ ---------- */
.contact-boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.contact-box { border: 1px solid var(--border); border-radius: 6px; padding: 32px 16px; text-align: center; }
.contact-label { color: var(--green); font-size: 14px; letter-spacing: .1em; }
.contact-value { font-size: 20px; font-weight: 700; color: var(--blue); margin: 8px 0; overflow-wrap: anywhere; }
.contact-note { color: var(--text-sub); font-size: 14px; }
.contact-value a:hover { color: var(--green); }
.contact-address { text-align: center; margin-top: 32px; color: var(--text-sub); }
.footer-address a { color: inherit; }

/* ---------- フッター ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,.8); padding: 48px 0 32px; text-align: center; font-size: 14px; }
.footer-name { font-family: var(--font-serif); font-size: 18px; color: #fff; margin-bottom: 8px; }
.copyright { margin-top: 24px; font-size: 12px; color: rgba(255,255,255,.5); }

/* ---------- 差し色（ゴールド） ---------- */
.btn-accent { background: var(--gold); color: var(--blue-dark); font-weight: 700; }
.btn-accent:hover { opacity: .9; }
.hero-mark { background: linear-gradient(transparent 72%, var(--gold) 72%, var(--gold) 92%, transparent 92%); }

/* ---------- 追加ボタン ---------- */
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { opacity: .85; }
.btn-large { padding: 18px 40px; font-size: 17px; }
.center { text-align: center; margin-top: 40px; }
.hero-note { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.7); }

/* ---------- 問いかけ ---------- */
.worry-list { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.worry-list li {
  position: relative; padding: 16px 20px 16px 52px;
  background: var(--bg-alt); border-radius: 6px; color: var(--text);
}
.section-alt .worry-list li { background: #fff; }
.worry-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- 2つの柱 ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pillar { border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: 8px; padding: 36px 32px; background: #fff; }
.pillar-num { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--green); margin-bottom: 8px; }
.pillar-title { font-family: var(--font-serif); font-size: 22px; line-height: 1.6; color: var(--blue); margin-bottom: 16px; }
.pillar > p { color: var(--text-sub); font-size: 15px; }
.pillar-points { margin-top: 20px; }
.pillar-points li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; }
.pillar-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ladder { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-top: 24px; padding: 0 4px; border-bottom: 1px solid var(--border); }
.rung { flex: 1; height: var(--h); background: linear-gradient(var(--blue), #3a6fc0); border-radius: 4px 4px 0 0; position: relative; }
.rung span { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12px; color: var(--text-sub); }
.ladder-caption { margin-top: 32px; font-size: 13px; color: var(--text-sub); text-align: center; }

/* ---------- 3ステップ ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.step { position: relative; text-align: center; padding: 24px 16px; border: 1px solid var(--border); border-radius: 8px; }
.step:not(:last-child)::after {
  content: "▶"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--green); font-size: 12px;
}
.step-num { font-size: 12px; letter-spacing: .15em; color: var(--green); font-weight: 700; }
.step-title { font-size: 18px; font-weight: 700; color: var(--blue); margin: 4px 0; }
.step p:last-child { font-size: 14px; color: var(--text-sub); }

/* ---------- 無料スライド ---------- */
.content-block { margin-bottom: 64px; }
.block-title { font-family: var(--font-serif); font-size: 22px; color: var(--blue); margin-bottom: 20px; padding-left: 12px; border-left: 4px solid var(--green); }
.slide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.slide-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px 24px; border-radius: 8px; border: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 60%, var(--bg-alt));
  transition: transform .2s, box-shadow .2s;
}
.slide-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.slide-tag { align-self: flex-start; font-size: 12px; color: #fff; background: var(--green); padding: 2px 10px; border-radius: 99px; }
.slide-title { font-weight: 700; color: var(--blue); line-height: 1.6; flex: 1; }
.slide-link { font-size: 14px; color: var(--green); font-weight: 500; }

/* ---------- 無料ウェビナー ---------- */
.webinar {
  display: flex; gap: 40px; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff; border-radius: 10px; padding: 48px;
}
.webinar-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue-dark); background: var(--gold); padding: 4px 12px; border-radius: 99px; margin-bottom: 12px; }
.webinar-title { font-family: var(--font-serif); font-size: 26px; line-height: 1.5; margin-bottom: 16px; }
.webinar-points li { position: relative; padding-left: 22px; margin-bottom: 6px; color: rgba(255,255,255,.9); }
.webinar-points li::before { content: "●"; position: absolute; left: 0; font-size: 10px; top: 6px; color: var(--green-light); }
.webinar-date { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,.75); }
.webinar-action { text-align: center; flex-shrink: 0; }
.webinar-small { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- 最後の導線 ---------- */
.final-cta { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a6a7a 100%); color: #fff; text-align: center; padding: 80px 0; }
.final-title { font-family: var(--font-serif); font-size: 30px; margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,.85); margin-bottom: 32px; }
.center-buttons { justify-content: center; }
.disclaimer { max-width: 720px; margin: 16px auto 0; font-size: 12px; color: rgba(255,255,255,.6); }

/* ---------- FPメニュー（トップ） ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.menu-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 28px 22px; border: 1px solid var(--border); border-top: 3px solid var(--green);
  border-radius: 8px; background: #fff; transition: transform .2s, box-shadow .2s;
}
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.menu-en { font-size: 12px; letter-spacing: .12em; color: var(--green); font-weight: 700; }
.menu-card h3 { font-size: 17px; word-break: keep-all; overflow-wrap: anywhere; color: var(--blue); line-height: 1.5; }
.menu-card p:not(.menu-en) { font-size: 14px; color: var(--text-sub); flex: 1; }
.menu-link { font-size: 14px; color: var(--green); font-weight: 500; }

.menu-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 入門編スライド ---------- */
.intro { background: var(--bg-alt); }
.intro-inner { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; align-items: center; }
.intro-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue-dark); background: var(--gold); padding: 4px 12px; border-radius: 99px; margin-bottom: 14px; }
.intro-title { font-family: var(--font-serif); font-size: 30px; line-height: 1.5; color: var(--blue); margin-bottom: 16px; }
.intro-title span { display: block; font-size: 16px; color: var(--green); letter-spacing: .1em; }
.intro-text > p { color: var(--text-sub); }
.intro-points { margin: 20px 0 24px; }
.intro-points li { position: relative; padding-left: 24px; margin-bottom: 8px; }
.intro-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.intro-next { color: var(--green); font-weight: 700; font-size: 15px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); box-shadow: 0 10px 28px rgba(0,67,156,.2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; gap: 6px; }
.video-play { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; margin-bottom: 10px; }
.video-placeholder p { font-family: var(--font-serif); font-size: 18px; }
.video-placeholder .video-soon { font-family: var(--font-sans); font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- 下層ページ ---------- */
.page-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, #1a6a7a 100%); color: #fff; padding: 56px 0 64px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 28px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero-en { color: var(--green-light); letter-spacing: .2em; font-size: 13px; margin-bottom: 6px; }
.page-hero-title { font-family: var(--font-serif); font-size: 34px; line-height: 1.5; }
.page-catch { font-family: var(--font-serif); font-size: 28px; line-height: 1.6; color: var(--blue); text-align: center; margin-bottom: 24px; }
.support-grid { grid-template-columns: repeat(2, 1fr); }
.support-num { font-family: var(--font-serif); font-size: 24px; color: var(--green); margin-bottom: 4px; }
.steps-4 { grid-template-columns: repeat(4, 1fr); margin-bottom: 0; }
.steps-4 .step { background: #fff; }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.cover-col { border: 1px solid var(--border); border-radius: 8px; padding: 28px; }
.cover-col h3 { font-size: 19px; color: var(--blue); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green); }
.cover-col li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.cover-col li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other-card { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: 6px; color: var(--blue); font-weight: 700; font-size: 15px; }
.other-card span { color: var(--green); }
.other-card:hover { border-color: var(--green); }
.footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-menu a { color: rgba(255,255,255,.85); font-size: 13px; }
.footer-menu a:hover { color: #fff; text-decoration: underline; }

/* ---------- 個人情報保護方針 ---------- */
.policy { max-width: 820px; }
.policy > p { margin-bottom: 12px; }
.policy h2 { font-size: 19px; color: var(--blue); margin: 40px 0 12px; padding-left: 12px; border-left: 4px solid var(--green); line-height: 1.5; }
.policy ul { margin: 8px 0 12px; }
.policy ul li { position: relative; padding-left: 20px; margin-bottom: 6px; }
.policy ul li::before { content: "・"; position: absolute; left: 2px; color: var(--green); font-weight: 700; }
.policy-table { display: grid; grid-template-columns: 9.5em 1fr; border-top: 1px solid var(--border); margin: 8px 0 12px; }
.policy-table dt, .policy-table dd { margin: 0; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.policy-table dt { background: var(--bg-alt); font-weight: 700; color: var(--blue); }
.policy-table a { color: var(--blue); text-decoration: underline; }
.policy-note { background: #fff8e6; border: 1px dashed var(--gold); padding: 10px 14px; border-radius: 6px; font-size: 14px; }
.policy-date { margin-top: 48px; text-align: right; color: var(--text-sub); font-size: 14px; }
.footer-legal { margin-top: 16px; font-size: 13px; }
.footer-legal a { color: rgba(255,255,255,.85); text-decoration: underline; }
.contact-privacy { text-align: center; margin-top: 8px; font-size: 13px; color: var(--text-sub); }
.contact-privacy a { color: var(--blue); text-decoration: underline; }
.sp-only { display: none; }

/* ---------- ヘッダー：幅が狭い画面 ---------- */
@media (max-width: 1100px) {
  .global-nav ul { gap: 16px; }
  .global-nav a { font-size: 13px; }
  .global-nav .nav-cta { padding: 6px 12px; }
  .logo-main { font-size: 18px; }
}
@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; gap: 6px;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue); }
  .global-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
  }
  .global-nav.is-open { display: block; }
  .global-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
  .global-nav li { width: 100%; }
  .global-nav a { display: block; padding: 12px 0; font-size: 15px; }
  .global-nav .nav-cta { text-align: center; margin-top: 8px; }
}

/* ---------- 全国対応・WEB面談 ---------- */
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: -16px 0 28px; }
.area-tags li { font-size: 14px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.12); padding: 6px 16px; border-radius: 99px; }
.area-tags li::before { content: "✓"; color: var(--gold); margin-right: 6px; }
.area-banner { max-width: 760px; margin: 0 auto 32px; padding: 24px 28px; border-radius: 8px; background: var(--bg-alt); border-left: 4px solid var(--green); }
.area-banner-title { font-size: 19px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.area-banner p:last-child { color: var(--text-sub); font-size: 15px; }
.footer-area { display: inline-block; font-size: 13px; color: var(--gold); border: 1px solid var(--gold); border-radius: 99px; padding: 2px 14px; margin-bottom: 10px; }

/* ---------- スマートフォン ---------- */
@media (max-width: 768px) {
  .hero { padding: 72px 0; }
  .hero-title { font-size: 28px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 24px; }
  .sp-only { display: inline; }
  .policy-table { grid-template-columns: 1fr; }
  .policy-table dt { border-bottom: 0; padding-bottom: 4px; }
  .intro-inner { grid-template-columns: 1fr; gap: 28px; }
  .intro-title { font-size: 24px; }
  .service-grid, .contact-boxes, .pillars, .slide-grid, .steps, .support-grid, .steps-4, .cover-grid, .menu-grid, .other-grid { grid-template-columns: 1fr; }
  .page-hero-title { font-size: 26px; }
  .page-catch { font-size: 21px; }
  .page-catch br { display: none; }
  .step:not(:last-child)::after { content: "▼"; right: auto; left: 50%; top: auto; bottom: -14px; transform: translateX(-50%); }
  .section-text br { display: none; }
  .pillar { padding: 28px 20px; }
  .pillar-title { font-size: 19px; }
  .pillar-title br { display: none; }
  .webinar { flex-direction: column; align-items: stretch; padding: 32px 20px; gap: 24px; }
  .webinar-title { font-size: 21px; }
  .btn-large { display: block; padding: 16px; }
  .final-title { font-size: 23px; }
  .profile { flex-direction: column; gap: 24px; }
  .profile-photo { flex: none; width: 180px; }
  .section-title-left { text-align: center; }
}

/* ---------- 改行位置の調整（読みやすい区切りで折り返す） ---------- */
body { word-break: auto-phrase; }
h1, h2, h3, h4, li, dt, .btn, .slide-title, .step p, .flow-step p, .service-card p, .menu-card p, .support-card p, .card p, .ladder-caption, .webinar-date, .contact-privacy, .hero-lead, .page-catch, .final-title { text-wrap: balance; }
p, dd { text-wrap: pretty; }

/* FPメニュー：見出しは必ず2行（各行を折り返さず、幅に合わせて文字を縮める） */
.menu-card h3 .nw { white-space: nowrap; }
.menu-card h3 { font-size: min(17px, 1.45vw); }
@media (max-width: 900px) and (min-width: 769px) {
  .menu-card { padding: 24px 14px; }
  .menu-card h3 { font-size: 1.7vw; }
}
@media (max-width: 768px) { .menu-card h3 { font-size: 17px; } }

/* =========================================
   デザイン刷新（2026-10-21、Studio試作を参考に）
   ========================================= */
body { letter-spacing: .04em; }

/* 見出し：大きな英字＋点つきの日本語 */
.section-title { margin-bottom: 56px; color: var(--text); }
.section-title .en + .ja { margin-top: 0; }
.section-title .en {
  display: block; margin-bottom: 14px;
  font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1.2;
  color: var(--blue); letter-spacing: .04em;
}
.section-title .ja {
  display: inline-flex; align-items: center;
  font-family: var(--font-serif); font-size: 26px; font-weight: 700; letter-spacing: .12em; color: var(--text);
}
.section-title .ja::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; margin-right: 24px;
  background: var(--blue); box-shadow: 11px 0 0 #cdd6e2;
}

/* ヘッダー：電話・メールの丸ボタン */
.global-nav { margin-left: auto; }
.header-icons { display: flex; gap: 10px; margin-left: 24px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--blue); transition: opacity .2s; }
.icon-btn:hover { opacity: .8; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--blue); }
.icon-mail { background: var(--blue); }
.icon-mail svg { fill: #fff; }

/* メインビジュアル：代表の写真 */
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero::before {
  content: ""; position: absolute; right: -8%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 70%);
}
.hero-photo { position: absolute; bottom: 0; right: max(16px, calc((100vw - 1100px) / 2)); width: min(32vw, 420px); margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 32px rgba(0,20,60,.35)); }

/* 番号つきカード */
.pillars, .service-grid { counter-reset: num; }
.pillar, .service-card { position: relative; counter-increment: num; }
.pillar::after {
  content: counter(num, decimal-leading-zero); position: absolute; top: 28px; right: 32px;
  font-family: var(--font-serif); font-size: 52px; font-weight: 700; line-height: 1; color: var(--blue);
}
.pillar-title { padding-right: 72px; }
.service-card::before {
  content: counter(num, decimal-leading-zero); display: block; margin-bottom: 14px;
  font-family: var(--font-serif); font-size: 40px; font-weight: 700; line-height: 1; color: var(--blue);
}

/* 片側だけ色を敷いた背景 */
#difference, .company { background: var(--bg-alt); }

/* 事務所概要 */
.company-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.company-table { display: grid; grid-template-columns: 8.5em 1fr; border-top: 1px solid var(--border); }
.company-table dt, .company-table dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--border); font-family: var(--font-serif); }
.company-table dt { color: var(--text-sub); }
.company-table dd { letter-spacing: .08em; }
.company-table a { color: var(--blue); }

@media (max-width: 1100px) {
  .header-icons { margin-left: 16px; gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .section-title .en { font-size: 36px; }
}
@media (max-width: 900px) {
  .header-icons { order: 2; margin-left: auto; margin-right: 8px; }
  .nav-toggle { order: 3; }
  .hero { padding-bottom: 0; }
  .hero-photo { position: static; width: 260px; margin: 40px auto 0; }
  .company-inner { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 768px) {
  .section-title { margin-bottom: 40px; }
  .section-title .en { font-size: 30px; }
  .section-title .ja { font-size: 21px; }
  .pillar::after { top: 22px; right: 20px; font-size: 40px; }
  .pillar-title { padding-right: 56px; }
  #difference, .company { background: var(--bg-alt); }
  .company-table { grid-template-columns: 1fr; }
  .company-table dt { border-bottom: 0; padding: 16px 0 0; font-size: 13px; }
  .company-table dd { padding: 2px 0 16px; }
}

@media (max-width: 1040px) and (min-width: 901px) { .header-icons { display: none; } }

/* お問い合わせフォーム */
.contact-form { max-width: 760px; margin: 40px auto 32px; padding: 40px 40px 32px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.form-lead { text-align: center; font-family: var(--font-serif); font-size: 18px; color: var(--blue); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 13em 1fr; gap: 16px; align-items: center; margin-bottom: 18px; }
.form-row-top { align-items: start; }
.form-row-top label { padding-top: 10px; }
.form-row label { font-family: var(--font-serif); font-size: 15px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.req, .opt { font-family: var(--font-sans); font-size: 12px; padding: 2px 8px; border-radius: 3px; letter-spacing: .05em; }
.req { background: var(--blue); color: #fff; }
.opt { border: 1px solid var(--border); color: var(--text-sub); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  border: 1px solid #c9d3d1; border-radius: 4px; background: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.contact-form textarea { resize: vertical; }
.form-agree { text-align: center; margin: 24px 0 8px; font-size: 15px; }
.form-agree input { width: 18px; height: 18px; vertical-align: -3px; margin-right: 4px; accent-color: var(--blue); }
.form-agree a { color: var(--blue); text-decoration: underline; }
.form-error { text-align: center; color: #b3261e; font-size: 14px; margin: 8px 0; }
.form-submit { min-width: 240px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.form-thanks { text-align: center; font-size: 16px; color: var(--blue); padding: 24px 0; }
@media (max-width: 768px) {
  .contact-form { padding: 28px 18px 24px; margin-top: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 6px; margin-bottom: 16px; }
  .form-row label { justify-content: flex-start; }
  .form-row-top label { padding-top: 0; }
}

/* ---------- NISAはじめてパック ---------- */
.pack-price {
  max-width: 560px; margin: 0 auto; padding: 40px 32px 32px; text-align: center;
  border: 1px solid var(--border); border-top: 4px solid var(--gold); border-radius: 10px;
  background: #fff; box-shadow: 0 10px 28px rgba(0,67,156,.10);
}
.pack-price-label { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--blue); }
.pack-price-value { font-family: var(--font-serif); font-size: 56px; font-weight: 700; line-height: 1.3; color: var(--blue); margin: 4px 0 16px; }
.pack-price-value .yen { font-size: 26px; margin-left: 4px; }
.pack-price-value .tax { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--text-sub); margin-left: 4px; }
.pack-price-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pack-price-tags li { font-size: 13px; font-weight: 700; color: var(--green); border: 1px solid var(--green); border-radius: 99px; padding: 2px 14px; }
.pack-price-note { margin-top: 14px; font-size: 13px; color: var(--text-sub); }
.pack-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pack-reason { padding: 28px 24px; border-top: 3px solid var(--green); background: var(--bg-alt); border-radius: 0 0 8px 8px; }
.pack-reason-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.pack-reason p:last-child { color: var(--text-sub); font-size: 15px; }
.pack-notes { max-width: 820px; margin: 0 auto; padding: 28px 32px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.pack-notes li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: var(--text-sub); }
.pack-notes li:last-child { margin-bottom: 0; }
.pack-notes li::before { content: "※"; position: absolute; left: 0; color: var(--green); }

/* トップページのバナー */
.pack-banner-section { padding-top: 0; }
.pack-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 40px 48px; border: 1px solid var(--border); border-left: 6px solid var(--gold); border-radius: 10px;
  background: linear-gradient(120deg, #fff 55%, #fdf6e3); transition: transform .2s, box-shadow .2s;
}
.pack-banner:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.pack-banner-label { font-size: 13px; letter-spacing: .15em; font-weight: 700; color: var(--gold-dark); margin-bottom: 4px; }
.pack-banner-title { font-family: var(--font-serif); font-size: 28px; color: var(--blue); margin-bottom: 12px; }
.pack-banner-body > p:last-child { color: var(--text-sub); font-size: 15px; }
.pack-banner-side { flex-shrink: 0; text-align: center; }
.pack-banner-price { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.2; margin-bottom: 14px; }
.pack-banner-price span { font-family: var(--font-sans); font-size: 14px; font-weight: 400; color: var(--text-sub); margin-left: 4px; }
@media (max-width: 768px) {
  .pack-price { padding: 32px 18px 24px; }
  .pack-price-value { font-size: 44px; }
  .pack-reasons { grid-template-columns: 1fr; }
  .pack-notes { padding: 20px 18px; }
  .pack-banner { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 20px; }
  .pack-banner-title { font-size: 23px; }
}
.service-card p.pack-card-note { margin-top: 12px; padding: 8px 12px; background: var(--bg-alt); border-radius: 4px; font-size: 14px; color: var(--blue); font-weight: 500; }

/* NISAはじめてパックへの小さな入口 */
.pack-inline {
  display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 48px; padding: 20px 28px; background: #fff;
  border: 1px solid var(--border); border-left: 5px solid var(--gold); border-radius: 8px;
  transition: box-shadow .2s;
}
.pack-inline:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.pack-inline-label { font-family: var(--font-serif); font-weight: 700; color: var(--blue); white-space: nowrap; }
.pack-inline-text { flex: 1; min-width: 16em; font-size: 15px; color: var(--text-sub); }
.pack-inline-link { color: var(--green); font-weight: 700; font-size: 15px; white-space: nowrap; }
.pack-inline-section { padding: 0 0 72px; }
.pack-inline-section .pack-inline { margin-top: 0; background: var(--bg-alt); }
@media (max-width: 768px) {
  .pack-inline { padding: 18px; }
  .pack-inline-label { white-space: normal; }
  .pack-inline-text { min-width: 0; flex-basis: 100%; }
}
.pack-pay { margin-top: 28px; text-align: center; font-size: 15px; color: var(--blue); font-weight: 500; }

/* 無料ウェビナー（準備中の案内） */
.webinar-soon { margin-top: 24px; padding: 20px 28px; border: 1px dashed #b9c6d8; border-radius: 8px; background: #fff; }
.webinar-soon-title { font-family: var(--font-serif); font-weight: 700; color: var(--blue); font-size: 17px; }
.webinar-soon-badge { display: inline-block; font-family: var(--font-sans); font-size: 12px; font-weight: 700; color: var(--blue-dark); background: var(--gold); border-radius: 99px; padding: 1px 10px; margin-right: 10px; vertical-align: 2px; }
.webinar-soon-text { color: var(--text-sub); font-size: 14px; margin: 4px 0 6px; }
.webinar-soon-link { font-size: 14px; font-weight: 700; color: var(--green); }
.webinar-soon-link:hover { text-decoration: underline; }
@media (max-width: 768px) { .webinar-soon { padding: 18px 18px; } }
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

/* 入門編スライド（動画）のポップアップ */
.video-modal { width: min(960px, 92vw); padding: 0; border: 0; border-radius: 10px; background: #000; overflow: visible; }
.video-modal::backdrop { background: rgba(0, 20, 50, .75); }
.video-modal-frame { aspect-ratio: 16 / 9; }
.video-modal video { display: block; width: 100%; height: 100%; border-radius: 10px; }
.video-modal-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: var(--blue-dark); font-size: 22px; line-height: 1; cursor: pointer; }

/* ---------- 株式オーナー投資プラン ---------- */
.pack-banner.pack-banner-owner { margin-top: 32px; border-left-color: var(--blue); background: linear-gradient(120deg, #fff 55%, #eaf1fa); }
.pack-banner-owner .pack-banner-label { color: var(--blue); }
.pack-banner-plans { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 14px; }
.pack-inline.pack-inline-owner { border-left-color: var(--blue); }
.pack-inline-section .pack-inline-owner { margin-top: 16px; }
#slides .pack-inline-owner { margin-top: 32px; }
.owner-slide-link { margin-top: 32px; margin-bottom: 0; }
.owner-slide-link a { color: var(--blue); text-decoration: underline; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; margin-top: 8px; }
.plan-card {
  position: relative; display: flex; flex-direction: column; padding: 36px 28px 28px;
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--green); border-radius: 10px;
}
.plan-card-featured { border-top-color: var(--gold); box-shadow: 0 10px 28px rgba(0,67,156,.12); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--blue-dark); font-size: 13px; font-weight: 700; padding: 2px 16px; border-radius: 99px; white-space: nowrap;
}
.plan-en { font-size: 12px; letter-spacing: .15em; font-weight: 700; color: var(--green); text-align: center; }
.plan-name { font-family: var(--font-serif); font-size: 22px; color: var(--blue); text-align: center; margin: 2px 0 6px; }
.plan-catch { font-size: 14px; color: var(--text-sub); text-align: center; min-height: 3em; }
.plan-price { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--blue); text-align: center; line-height: 1.3; margin: 8px 0 12px; }
.plan-price .yen { font-size: 20px; margin-left: 2px; }
.plan-price .tax { font-family: var(--font-sans); font-size: 13px; font-weight: 400; color: var(--text-sub); margin-left: 2px; }
.plan-price .plan-sub { font-family: var(--font-sans); font-size: 14px; font-weight: 500; margin-right: 6px; }
.plan-tbd { color: #9aa3b0; }
.plan-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.plan-tags li { font-size: 12px; font-weight: 700; color: var(--green); border: 1px solid var(--green); border-radius: 99px; padding: 1px 12px; }
.plan-list { flex: 1; border-top: 1px solid var(--border); padding-top: 18px; margin-bottom: 24px; }
.plan-list li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 14.5px; line-height: 1.7; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan-btn { display: block; text-align: center; width: 100%; }
.plan-note { margin-top: 28px; text-align: center; font-size: 14px; color: var(--text-sub); }
@media (max-width: 900px) {
  .plan-grid { grid-template-columns: 1fr; gap: 32px; max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-catch { min-height: 0; }
}

/* お知らせ（トップ） */
.news-inner { display: grid; grid-template-columns: 1fr 2.6fr; gap: 56px; align-items: start; }
.news-list { border-top: 1px solid var(--border); }
.news-list a { display: grid; grid-template-columns: 7.5em auto 1fr 24px; gap: 20px; align-items: center; padding: 24px 8px; border-bottom: 1px solid var(--border); transition: background .2s; }
.news-list a:hover { background: var(--bg-alt); }
.news-list time, .news-meta time { font-family: var(--font-serif); font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.news-cat { display: inline-block; font-size: 12px; color: var(--green); border: 1px solid var(--green); border-radius: 99px; padding: 1px 10px; white-space: nowrap; }
.news-title { font-family: var(--font-serif); color: var(--text); }
.news-arrow { font-size: 22px; color: var(--blue); text-align: center; }
.news-more { text-align: right; margin-top: 32px; }
.btn-more { display: inline-block; min-width: 200px; text-align: center; font-family: var(--font-serif); letter-spacing: .1em; color: var(--blue); border: 1px solid var(--blue); border-radius: 99px; padding: 10px 28px; transition: background .2s, color .2s; }
.btn-more:hover { background: var(--blue); color: #fff; }

/* お知らせ（一覧ページ） */
.news-page { max-width: 820px; }
.news-article { padding: 32px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 96px; }
.news-article:first-child { padding-top: 0; }
.news-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.news-article-title { font-family: var(--font-serif); font-size: 21px; color: var(--blue); line-height: 1.6; margin-bottom: 12px; }
.news-article p:not(.news-meta) { color: var(--text-sub); margin-bottom: 8px; }
.news-article a { color: var(--blue); text-decoration: underline; }

@media (max-width: 900px) {
  .news-inner { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 768px) {
  .news-list a { grid-template-columns: auto 1fr 20px; gap: 6px 12px; padding: 18px 4px; }
  .news-list .news-title { grid-column: 1 / 3; }
  .news-list .news-arrow { grid-row: 1 / 3; grid-column: 3; }
  .news-more { text-align: center; }
}

/* ヘッダー：メニュー項目が増えたため、狭い幅で詰める */
@media (max-width: 1240px) and (min-width: 901px) {
  .global-nav ul { gap: 16px; }
  .global-nav a { font-size: 13px; }
  .global-nav .nav-cta { padding: 6px 12px; }
  .header-icons { margin-left: 16px; gap: 8px; }
  .icon-btn { width: 38px; height: 38px; }
  .icon-btn svg { width: 17px; height: 17px; }
}
@media (max-width: 1040px) and (min-width: 901px) {
  .global-nav ul { gap: 11px; }
  .global-nav a { font-size: 12px; }
  .logo-main { font-size: 16px; }
}
@media (min-width: 901px) { .global-nav { padding-left: 16px; } }
@media (max-width: 1100px) and (min-width: 1041px) { .global-nav ul { gap: 12px; } }

/* 企業型DC追加（2026-10-22）：FPメニューを4枚に。番号は自動の連番だけを表示 */
.service-card .support-num { display: none; }
.menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.menu-grid .menu-card { padding: 28px 18px; }
.menu-grid .menu-card h3 { font-size: min(15px, calc(1.72vw - 4px)); }
@media (max-width: 1100px) and (min-width: 769px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid .menu-card h3 { font-size: 17px; }
}
@media (max-width: 768px) {
  .menu-grid { grid-template-columns: 1fr; }
  .menu-grid .menu-card h3 { font-size: 17px; }
}

/* ヒーロー下の一文のリンク */
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.btn .nw, .slide-title .nw { white-space: nowrap; }

/* 動画の終わりの「ご相談はこちら」に重ねるリンク（映像のボタンの位置に合わせる） */
.video-modal-frame { position: relative; }
.video-cta {
  position: absolute; left: 41%; top: 54%; width: 30.5%; height: 13%;
  border-radius: 999px; font-size: 0; color: transparent; z-index: 2;
  box-shadow: 0 0 0 3px rgba(255,255,255,.0); animation: video-cta-pulse 1.8s ease-out infinite;
}
.video-cta[hidden] { display: none; }
.video-cta:hover, .video-cta:focus-visible { box-shadow: 0 0 0 3px var(--blue); animation: none; outline: none; }
@keyframes video-cta-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,67,156,.45); }
  100% { box-shadow: 0 0 0 14px rgba(0,67,156,0); }
}
/* 個人情報保護方針の表：項目名（金融商品仲介業者など）を1行に */
.policy-table { grid-template-columns: 11em 1fr; }
.policy-table dt { white-space: nowrap; }
@media (max-width: 768px) { .policy-table { grid-template-columns: 1fr; } }

/* お問い合わせはメールのみ（2026-10-24） */
.contact-lead { text-align: center; margin: 0 auto 20px; }
.contact-boxes-single { grid-template-columns: 1fr; max-width: 420px; }

/* 資産形成ページ：ご相談の例・料金・よくある質問（2026-10-24） */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.case-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 28px 24px; }
.case-who { display: inline-block; font-size: 13px; font-weight: 700; color: #fff; background: var(--green); border-radius: 99px; padding: 2px 14px; margin-bottom: 14px; }
.case-q { font-weight: 700; color: var(--blue); line-height: 1.8; margin-bottom: 16px; }
.case-a-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--green); border-top: 1px solid var(--border); padding-top: 14px; margin-bottom: 4px; }
.case-a { font-size: 14.5px; line-height: 1.8; }
.case-note { margin-top: 20px; font-size: 13px; color: var(--text-sub); text-align: center; }
.plan-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
.faq-container { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 20px 44px 20px 40px; font-weight: 700; color: var(--blue); line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: "Q"; position: absolute; left: 8px; top: 18px; font-family: var(--font-serif); font-size: 20px; color: var(--green); }
.faq-item summary::after { content: "+"; position: absolute; right: 12px; top: 16px; font-size: 22px; color: var(--blue); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 16px 22px 40px; line-height: 1.9; }
.faq-item a { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 768px) { .plan-grid-2 { grid-template-columns: 1fr; } }
.pack-banner-range { font-size: 14px; color: var(--text-sub); margin: -8px 0 14px; }

/* 2年目以降・顧問サポートの料金表 */
.price-more { max-width: 860px; margin: 48px auto 0; padding: 32px; background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.price-more-title { font-family: var(--font-serif); font-size: 20px; color: var(--blue); text-align: center; margin-bottom: 20px; }
.price-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.price-table th, .price-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.price-table thead th { font-size: 13px; color: var(--text-sub); font-weight: 500; }
.price-table tbody th { color: var(--blue); font-weight: 700; white-space: nowrap; }
.price-table td { font-weight: 700; }
.price-table td span { display: block; font-size: 12.5px; font-weight: 400; color: var(--text-sub); margin-top: 2px; }
.price-more-notes { margin-top: 20px; }
.price-more-notes li { position: relative; padding-left: 20px; margin-bottom: 6px; font-size: 14px; color: var(--text-sub); }
.price-more-notes li::before { content: "※"; position: absolute; left: 0; color: var(--green); }
.pack-next { margin-top: 12px; text-align: center; font-size: 14px; color: var(--text-sub); }
.pack-next a { color: var(--blue); text-decoration: underline; }
@media (max-width: 768px) {
  .price-more { padding: 22px 14px; }
  .price-table { font-size: 14px; }
  .price-table th, .price-table td { padding: 10px 6px; }
  .price-table tbody th { white-space: normal; }
}

/* FPメニューの料金（フロント＋セカンド） */
.plan-grid-1 { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
.second-plan { max-width: 640px; margin: 28px auto 0; padding: 20px 24px; background: #fff; border: 1px dashed var(--border); border-left: 4px solid var(--blue); border-radius: 8px; }
.second-plan-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.second-plan-name { font-family: var(--font-serif); font-weight: 700; color: var(--blue); font-size: 17px; }
.second-plan-price { font-weight: 700; color: var(--blue); }
.second-plan-text { font-size: 14px; color: var(--text-sub); margin: 4px 0 10px; }
.second-plan-list li { position: relative; padding-left: 18px; font-size: 14px; margin-bottom: 4px; }
.second-plan-list li::before { content: "＋"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.price-notes-menu { max-width: 640px; margin: 24px auto 0; }
.price-notes-menu a { color: var(--blue); text-decoration: underline; }
.price-consult { max-width: 560px; margin: 0 auto; padding: 32px 24px; text-align: center; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--blue); border-radius: 10px; }
.price-consult-value { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.price-consult p:not(.price-consult-value) { font-size: 15px; color: var(--text-sub); margin-bottom: 20px; }

/* ---------- 背景写真 ---------- */
.hero {
  background:
    linear-gradient(100deg, rgba(0,40,100,.94) 0%, rgba(0,67,156,.86) 50%, rgba(0,67,156,.55) 100%),
    url(../images/bg-top.jpg) center / cover no-repeat;
}
.page-hero-photo { background-size: cover; background-position: center; background-repeat: no-repeat; }
.page-hero-owner {
  background-image:
    linear-gradient(100deg, rgba(0,40,100,.92) 0%, rgba(0,67,156,.82) 55%, rgba(0,67,156,.55) 100%),
    url(../images/bg-owner-plan.jpg);
  background-position: center, center 62%;
}
.profile-photo img[src*="profile-photo"] { object-position: center top; }
.page-hero-nisa-pack, .page-hero-dc, .page-hero-asset-planning, .page-hero-insurance, .page-hero-retirement {
  --page-hero-overlay: linear-gradient(100deg, rgba(0,40,100,.92) 0%, rgba(0,67,156,.82) 55%, rgba(0,67,156,.55) 100%);
}
.page-hero-nisa-pack { background-image: var(--page-hero-overlay), url(../images/bg-nisa-pack.jpg); background-position: center, center 60%; }
.page-hero-dc { background-image: var(--page-hero-overlay), url(../images/bg-dc.jpg); background-position: center, 45% 38%; }
.page-hero-asset-planning { background-image: var(--page-hero-overlay), url(../images/bg-asset-planning.jpg); background-position: center, center 55%; }
.page-hero-insurance { background-image: var(--page-hero-overlay), url(../images/bg-insurance.jpg); background-position: center, center 74%; }
.page-hero-retirement { background-image: var(--page-hero-overlay), url(../images/bg-retirement.jpg); background-position: center, 57% 45%; }
/* 投資の考え方：2枚のカードの図を下端でそろえる */
.pillar { display: flex; flex-direction: column; }
.pillar .ladder { margin-top: auto; }
.pillar-points + .ladder, .pillar > p + .ladder { margin-top: auto; padding-top: 24px; }
.pillar .ladder { min-height: 110px; box-sizing: content-box; }
.ladder-dividend .rung { background: linear-gradient(var(--green), #5fa58a); }
.pillar .ladder-caption { min-height: 2lh; }
/* 投資の考え方：図（株式＝株価と配当、債券＝満期をずらした階段と利息） */
.pillar-figure { margin: auto 0 0; padding-top: 24px; }
.pillar-figure svg { display: block; width: 100%; height: auto; overflow: visible; }
.fig-axis { stroke: var(--border); stroke-width: 1; }
.fig-label, .fig-name { font-size: 12px; fill: var(--text-sub); font-family: var(--font-sans); }
.fig-label { text-anchor: middle; }
.fig-div { fill: var(--green); opacity: .85; }
.fig-price { fill: none; stroke: #9aa7b8; stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 5 4; }
.fig-bond { fill: var(--blue); }
.fig-bond.b2 { fill: #2a63b3; } .fig-bond.b3 { fill: #357a62; } .fig-bond.b4 { fill: #4f8fc9; } .fig-bond.b5 { fill: #1f5a4a; }
.fig-coin { fill: var(--gold); stroke: #fff; stroke-width: 1.5; }
.fig-renew { font-size: 15px; font-weight: 700; fill: var(--green); }
.fig-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; color: var(--text-sub); }
.lg::before { content: ""; display: inline-block; vertical-align: middle; margin-right: 6px; }
.lg-price::before { width: 18px; border-top: 2px dashed #9aa7b8; }
.lg-div::before { width: 12px; height: 12px; border-radius: 2px; background: var(--green); opacity: .85; }
.lg-coin::before { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.lg-renew::before { content: "↻"; color: var(--green); font-weight: 700; font-size: 14px; }
.pillar-figure .ladder-caption { margin-top: 10px; }
.fig-name { text-anchor: end; font-size: 10.5px; }
.fig-label { font-size: 11px; }
.fig-legend { font-size: 11.5px; }
.pillar-figure .ladder-caption { font-size: 12.5px; }
@media (max-width: 768px) { .fig-name { font-size: 12px; } .fig-label { font-size: 13px; } .fig-legend { font-size: 11px; } .pillar-figure .ladder-caption { font-size: 12px; } }
