/* 色はSNSと同じ（部門の CLAUDE.md のブランドカラー） */
:root {
  --blue: #2B6CA3;      /* 空の青：見出し・ボタン */
  --blue-deep: #1F5383; /* ボタンを押すときの少し濃い青 */
  --green: #7DBE6A;     /* 若葉の緑：印と飾りだけ */
  --green-soft: #EAF5E4;
  --cream: #FFF9EC;     /* 背景 */
  --coral: #F0694A;     /* 強調：無料の文字だけ */
  --ink: #14244A;       /* 文字 */
  --muted: #4A5872;
  --line: #E6DCC6;
  --white: #FFFFFF;
  --sky-soft: #E8F1F9;
  --topbar-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 17px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 900; line-height: 1.45; margin: 0; color: var(--blue); letter-spacing: .02em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
p { margin: 0 0 1em; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
section { padding: 88px 0; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: var(--white);
  font-weight: 700; text-decoration: none; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(43, 108, 163, .28);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 9px 20px rgba(43, 108, 163, .32); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn-large { min-height: 62px; padding: 14px 40px; font-size: 1.12rem; }
.btn-small { min-height: 42px; padding: 8px 20px; font-size: .95rem; box-shadow: none; }
.btn-block { width: 100%; min-height: 54px; font-size: 1.05rem; }

/* 0 上の帯 */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.topbar-inner { height: var(--topbar-h); display: flex; align-items: center; gap: 20px; }
.topbar-brand { flex: none; }
.logo { width: 170px; }
.topbar-note { color: var(--muted); font-size: .9rem; font-weight: 500; }
.topbar-btn { margin-left: auto; }

/* 1 一番上 */
.hero {
  padding: 56px 0 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero-text { padding-bottom: 72px; }
.label {
  display: inline-block; margin: 0 0 18px; padding: 6px 18px;
  background: var(--green-soft); color: #2F6B22; border-radius: 999px;
  font-weight: 700; font-size: .95rem;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.32; margin-bottom: 20px; }
.lead { font-size: 1.08rem; margin-bottom: 26px; }
.event { list-style: none; padding: 18px 22px; margin: 0 0 30px; background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.event li { padding: 4px 0; font-weight: 500; }
.event-key {
  display: inline-block; min-width: 4.5em; margin-right: 10px; padding: 0 8px;
  background: var(--sky-soft); color: var(--blue); border-radius: 6px;
  font-size: .85rem; font-weight: 700; text-align: center;
}
.free { color: var(--coral); font-weight: 900; }
.event small, .detail-table small { color: var(--muted); font-size: .9rem; }
.hero-photo { position: relative; display: flex; justify-content: center; }
.hero-photo::before {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #CFE2F2 0%, #9CC2E3 60%, #7BAAD4 100%);
}
.hero-photo img { position: relative; width: min(100%, 420px); border-radius: 210px 210px 0 0; }

/* 2 不安 */
.worries { background: var(--white); }
.worry-list { list-style: none; padding: 0; margin: 40px auto 0; max-width: 760px; display: grid; gap: 14px; }
.worry-list li {
  position: relative; padding: 18px 22px 18px 64px;
  background: var(--cream); border-radius: 14px; font-weight: 700;
}
.worry-list li::before {
  content: ""; position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--green);
}
.worry-list li::after {
  content: ""; position: absolute; left: 31px; top: 50%;
  width: 7px; height: 12px; border: solid var(--white); border-width: 0 3px 3px 0;
  transform: translateY(-62%) rotate(45deg);
}

/* 2-A 老後に4000万円？ */
.need-calc { display: flex; align-items: stretch; justify-content: center; gap: 14px; margin: 40px auto 0; max-width: 900px; }
.need-box { flex: 1; background: var(--white); border: 2px solid var(--line); border-radius: 18px; padding: 24px 16px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.need-box p { margin: 0; }
.need-label { font-weight: 700; color: var(--blue); }
.need-sub { color: var(--muted); font-size: .95rem; }
.need-num { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; color: var(--ink); line-height: 1.3; margin-top: 6px !important; }
.need-num span { font-size: .55em; margin-left: 2px; }
.need-box-result { background: var(--blue); border-color: var(--blue); }
.need-box-result .need-label, .need-box-result .need-num { color: var(--white); }
.need-op { align-self: center; font-size: 2rem; font-weight: 900; color: var(--green); }

/* 2-B あなたの場合は？ */
.check { background: var(--sky-soft); }
.check-box { max-width: 820px; margin: 0 auto; padding: 48px 32px; background: var(--white); border-radius: 24px; text-align: center; border: 3px solid var(--green); }
.check-box h2 { margin-bottom: 16px; }
.check-box p { color: var(--muted); margin-bottom: 26px; }
.btn-green { background: #4E9A3D; box-shadow: 0 6px 16px rgba(78, 154, 61, .3); }
.btn-green:hover { background: #3F8130; box-shadow: 0 9px 20px rgba(78, 154, 61, .35); }

/* 2-C 物価は 上がっていくもの */
.prices { background: var(--white); }
.prices-wrap { max-width: 760px; }
.prices h2 { margin-bottom: 28px; }
.prices-figure { margin: 30px 0; padding: 26px 24px 18px; background: var(--cream); border-radius: 18px; }
.prices-bar { display: grid; grid-template-columns: 5em 1fr; align-items: center; gap: 12px; margin-bottom: 14px; }
.prices-year { font-weight: 700; color: var(--blue); }
.prices-fill { width: var(--w); min-height: 46px; display: flex; align-items: center; justify-content: flex-end; padding: 0 16px; border-radius: 10px; background: var(--sky-soft); color: var(--blue); font-weight: 900; }
.prices-fill-later { background: var(--blue); color: var(--white); }
.prices-caption { margin: 4px 0 0; text-align: center; font-weight: 700; }
.prices-title { margin: 0 0 16px; text-align: center; font-weight: 900; color: var(--ink); font-size: 1.1rem; }
.salary { margin: 0 0 30px; padding: 26px 24px; border-left: 6px solid var(--blue); background: var(--sky-soft); border-radius: 0 16px 16px 0; }
.salary-q { margin: 0 0 10px; font-size: clamp(1.2rem, 2.6vw, 1.45rem); font-weight: 900; color: var(--blue); line-height: 1.5; }
.salary-a { margin: 0; font-weight: 700; }
.salary-strong { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--blue); color: var(--ink); font-size: 1.12rem; font-weight: 900; }
.em { color: var(--blue); font-weight: 900; font-size: 1.15em; }

/* 2-D 長期・分散・積立 */
.ways { background: var(--green-soft); }
.label-line { font-weight: 700; color: #4E9A3D; margin-bottom: 8px; }
.way-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0 32px; }
.way { background: var(--white); border-radius: 16px; padding: 28px 22px; text-align: center; }
.way h3 { font-size: 1.6rem; margin-bottom: 8px; }
.way p { margin: 0; color: var(--muted); }
.ways-text { margin-bottom: 28px; }

/* 3 考え方 */
.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.catch {
  margin: 0; padding: 36px 32px; background: var(--white);
  border-left: 6px solid var(--green); border-radius: 0 16px 16px 0;
  color: var(--blue); font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 900; line-height: 1.5;
}
.approach h2 { margin-bottom: 20px; }

/* 4 3つの視点 */
.points { background: var(--white); }
.intro { color: var(--muted); margin-top: 14px; }
.point-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.point { background: var(--cream); border-radius: 16px; padding: 30px 26px; }
.num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 900; font-size: 1rem;
}
.point h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.point p { margin: 0; color: var(--muted); font-size: 1rem; }

/* 5 講師の紹介 */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.profile-photo img {
  width: 260px; height: 260px; object-fit: cover; object-position: 50% 12%;
  border-radius: 50%; border: 6px solid var(--white); box-shadow: 0 8px 22px rgba(20, 36, 74, .12);
  margin: 0 auto;
}
.profile h2 { margin-bottom: 14px; }
.profile-name { font-size: 1.5rem; font-weight: 900; color: var(--ink); line-height: 1.5; }
.profile-name span { display: block; font-size: .9rem; color: var(--blue); font-weight: 700; }
.profile-name small { font-size: .9rem; color: var(--muted); font-weight: 500; margin-left: 6px; }
.smile { color: var(--blue); font-weight: 700; }

/* 6 声 */
.voices { background: var(--white); }
.voice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 36px; }
.voice { margin: 0; padding: 26px 26px 20px; background: var(--cream); border-radius: 18px; position: relative; }
.voice::after {
  content: ""; position: absolute; left: 36px; bottom: -12px;
  border-width: 12px 12px 0 12px; border-style: solid; border-color: var(--cream) transparent transparent transparent;
}
.voice blockquote { margin: 0 0 10px; }
.voice figcaption { color: var(--blue); font-weight: 700; font-size: .95rem; text-align: right; }
.note { margin-top: 30px; color: var(--muted); font-size: .9rem; }

/* 7 開催概要 */
.detail-table { max-width: 760px; margin: 36px auto 36px; background: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.detail-table div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--line); }
.detail-table div:last-child { border-bottom: 0; }
.detail-table dt { padding: 16px 22px; background: var(--sky-soft); color: var(--blue); font-weight: 700; }
.detail-table dd { margin: 0; padding: 16px 22px; }

/* 8 流れ */
.flow { background: var(--white); }
.flow-list { list-style: none; padding: 0; margin: 40px auto 0; max-width: 680px; position: relative; }
.flow-list::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 3px; background: var(--green); }
.flow-list li { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 10px 0 18px; }
.step {
  flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: var(--white); font-weight: 900; font-size: 1.2rem; position: relative;
}
.flow-list h3 { font-size: 1.15rem; margin: 10px 0 2px; }
.flow-list p { margin: 0; color: var(--muted); }

/* 9 よくある質問 */
.faq-wrap { max-width: 820px; }
.faq-list { margin: 36px 0 40px; display: grid; gap: 12px; }
.faq-list details { background: var(--white); border-radius: 14px; border: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 56px 18px 56px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; position: absolute; left: 22px; color: var(--blue); font-weight: 900; }
.faq-list summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border: solid var(--blue); border-width: 0 3px 3px 0; transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list summary:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; border-radius: 14px; }
.faq-list details p { margin: 0; padding: 0 24px 20px 56px; position: relative; }
.faq-list details p::before { content: "A"; position: absolute; left: 22px; color: var(--green); font-weight: 900; }

/* 10 最後のひと押し */
.cta { background: linear-gradient(160deg, var(--sky-soft) 0%, var(--cream) 100%); }
.cta-box { max-width: 820px; margin: 0 auto; padding: 56px 32px; background: var(--white); border-radius: 24px; text-align: center; box-shadow: 0 12px 30px rgba(20, 36, 74, .08); }
.cta-box h2 { margin-bottom: 18px; }
.cta-box p { color: var(--muted); margin-bottom: 28px; }

/* 11 いちばん下 */
.footer { background: var(--ink); color: #D9E2F0; padding: 40px 0 48px; font-size: .88rem; line-height: 1.8; }
.footer p { margin: 0 0 12px; }
.privacy { margin: 22px 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; }
.privacy h2 { color: var(--white); font-size: .95rem; margin-bottom: 6px; }
.privacy p { margin: 0; }
.copy { margin-top: 18px; color: #A9B6CC; }

/* スマホの下の帯（パソコンでは出さない） */
.bottombar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
  display: none; transform: translateY(110%); transition: transform .25s ease;
}
.bottombar.is-shown { transform: translateY(0); }

/* ふわっと表示 */
.js .fade { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .fade.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade { opacity: 1; transform: none; transition: none; }
  .btn, .bottombar { transition: none; }
}

/* タブレット */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-text { padding-bottom: 20px; }
  .hero-photo img { width: min(78%, 340px); }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; }
  .point-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 24px; }
  .voice-grid { grid-template-columns: 1fr; }
  .way-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* スマホ */
@media (max-width: 640px) {
  :root { --topbar-h: 58px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: calc(100% - 32px); }
  section { padding: 60px 0; }
  .hero { padding-top: 32px; }
  .logo { width: 128px; }
  .topbar-note { font-size: .78rem; }
  .topbar-btn { display: none; }
  .bottombar { display: block; }
  .lead br, .cta-box p br { display: none; }
  .event { padding: 14px 16px; }
  .event-key { min-width: 4em; }
  .btn-large { width: 100%; padding: 14px 20px; font-size: 1.05rem; }
  .catch { padding: 26px 22px; }
  .detail-table div { grid-template-columns: 1fr; }
  .detail-table dt { padding: 10px 18px 6px; }
  .detail-table dd { padding: 8px 18px 14px; }
  .faq-list summary { padding: 16px 48px 16px 46px; }
  .faq-list summary::before, .faq-list details p::before { left: 18px; }
  .faq-list details p { padding: 0 18px 18px 46px; }
  .profile-photo img { width: 200px; height: 200px; }
  .cta-box { padding: 40px 20px; }
  .need-calc { flex-direction: column; gap: 8px; }
  .need-box { padding: 18px 16px; }
  .check-box { padding: 36px 20px; }
  .ways-text br { display: none; }
}

@media (max-width: 380px) {
  .topbar-note { display: none; }
}
