:root {
  --ink: #172833;
  --muted: #2f4654;
  --line: #d7e8f1;
  --paper: #f3fbff;
  --white: #ffffff;
  --ivory: #fffaf0;
  --green: #3d8ca2;
  --blue: #58aee2;
  --gold: #d1a45e;
  --clay: #6c9ec1;
  --rose: #b9e4f6;
  --shadow: 0 18px 50px rgba(32, 89, 122, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(143, 211, 239, 0.26), transparent 30%),
    var(--paper);
  line-height: 1.8;
  font-size: 17px;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(243, 251, 255, 0.9);
  border-bottom: 1px solid rgba(215, 232, 241, 0.88);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  background: var(--white);
  border: 1px solid rgba(215, 232, 241, 0.9);
  border-radius: 8px;
}

.brand-text {
  font-size: 15px;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: clamp(14px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px clamp(18px, 5vw, 72px) 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(243, 251, 255, 0.98) 0%, rgba(243, 251, 255, 0.9) 42%, rgba(243, 251, 255, 0.34) 74%, rgba(243, 251, 255, 0.12) 100%),
    linear-gradient(0deg, rgba(88, 174, 226, 0.18), rgba(255, 250, 240, 0.06)),
    url("./hero-financial-planner.png") center right / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(74deg, transparent 0 56%, rgba(255, 255, 255, 0.28) 56% 68%, transparent 68%),
    repeating-linear-gradient(82deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 150px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -8%;
  bottom: -22%;
  width: 72%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, rgba(88, 174, 226, 0.22), rgba(88, 174, 226, 0) 68%);
  pointer-events: none;
}

.hero-visual {
  position: absolute;
  inset: 120px clamp(8px, 5vw, 70px) 32px auto;
  width: min(47vw, 660px);
  min-width: 420px;
  pointer-events: none;
  opacity: 0.58;
}

.orb {
  position: absolute;
  border-radius: 50%;
}

.orb-large {
  right: -40px;
  top: 70px;
  width: min(44vw, 590px);
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.18) 24%, transparent 25%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.7), rgba(88, 174, 226, 0.45));
  box-shadow: 0 40px 120px rgba(32, 89, 122, 0.22);
}

.orb-small {
  right: 420px;
  bottom: 54px;
  width: 190px;
  aspect-ratio: 1 / 1;
  background: rgba(61, 140, 162, 0.24);
}

.floating-card {
  position: absolute;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 24px 70px rgba(32, 89, 122, 0.16);
  backdrop-filter: blur(12px);
}

.card-main {
  right: 26px;
  top: 205px;
  width: min(36vw, 500px);
  height: 280px;
  border-radius: 8px;
  padding: 62px 56px;
}

.card-line {
  display: block;
  height: 5px;
  width: 72%;
  margin-bottom: 44px;
  border-radius: 999px;
  background: rgba(61, 140, 162, 0.16);
}

.card-line.wide {
  width: 96%;
}

.card-line.short {
  width: 54%;
}

.card-dot {
  position: absolute;
  left: 58px;
  bottom: 46px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(88, 174, 226, 0.18);
}

.card-dot.second {
  left: 132px;
  background: rgba(209, 164, 94, 0.18);
}

.card-sub {
  right: 390px;
  top: 118px;
  width: 154px;
  height: 154px;
  display: grid;
  align-content: center;
  justify-items: center;
  border-radius: 50%;
}

.card-sub span {
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
}

.card-sub small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #3d8ca2;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.no-break {
  white-space: nowrap;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.45;
}

.hero-lead {
  max-width: 820px;
  margin-bottom: 32px;
  color: #203847;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.8;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.trust-strip span,
.trust-strip a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  color: #245f75;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(32, 89, 122, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.trust-strip a:hover {
  color: var(--white);
  background: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  color: #334b58;
  font-size: 16px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 1px solid var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.secondary {
  color: var(--green);
  background: rgba(255, 255, 255, 0.72);
}

.section,
.band {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(32px, 6vw, 82px);
}

.intro-copy {
  color: var(--muted);
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.9;
}

.intro-copy p:last-child,
.split-copy p:last-child,
.referral p:last-child,
.reason-copy p:last-child {
  margin-bottom: 0;
}

.reason-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.92), rgba(234, 247, 252, 0.96)),
    radial-gradient(circle at 92% 16%, rgba(88, 174, 226, 0.18), transparent 30%);
  border-bottom: 1px solid var(--line);
}

.reason-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
}

.reason-heading {
  position: sticky;
  top: 106px;
}

.reason-copy {
  padding: clamp(28px, 4vw, 48px);
  color: #243d4a;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 89, 122, 0.09);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.9;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.content-toggle {
  grid-column: 1 / -1;
  display: block;
}

.content-toggle summary {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  color: var(--ink);
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(32, 89, 122, 0.08);
  cursor: pointer;
  list-style: none;
}

.content-toggle summary::-webkit-details-marker {
  display: none;
}

.content-toggle summary:hover {
  border-color: rgba(88, 174, 226, 0.48);
  box-shadow: 0 20px 52px rgba(32, 89, 122, 0.13);
}

.content-toggle .section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.summary-title {
  display: block;
  max-width: 880px;
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.35;
}

.summary-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

.summary-icon::before,
.summary-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.summary-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.2s ease;
}

.content-toggle[open] .summary-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.toggle-body {
  padding-top: 28px;
}

.content-toggle-light summary {
  background: rgba(255, 255, 255, 0.68);
}

.content-toggle-dark summary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.content-toggle-dark .summary-title {
  color: var(--white);
}

.content-toggle-dark .summary-icon {
  background: rgba(255, 255, 255, 0.18);
}

.about-stack {
  display: grid;
  gap: 24px;
}

.flow-section {
  background:
    linear-gradient(135deg, rgba(23, 52, 69, 0.88), rgba(61, 140, 162, 0.72)),
    url("./hero-financial-planner.png") center / cover no-repeat;
  color: var(--white);
}

.flow-section .content-toggle summary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 70px rgba(7, 28, 42, 0.18);
}

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

.flow-section .summary-icon {
  background: rgba(255, 255, 255, 0.2);
}

.flow-list {
  display: grid;
  gap: 18px;
}

.flow-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(18px, 4vw, 34px);
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.flow-number {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 800;
}

.flow-item h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
}

.flow-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.85;
}

.flow-note {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 16px !important;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(32, 89, 122, 0.07);
}

.feature-card p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.feature-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 16px !important;
  line-height: 1.7 !important;
}

.number {
  display: block;
  margin-bottom: 38px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 34px;
}

.split-section {
  background: #eaf7fc;
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.portrait-panel {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  padding: 34px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(88, 174, 226, 0.88), rgba(61, 140, 162, 0.9) 62%, #244a5f),
    url("./trust-visual.png") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.portrait-lines {
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.portrait-lines::before,
.portrait-lines::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.24);
}

.portrait-lines::before {
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
}

.portrait-lines::after {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.portrait-panel p {
  position: relative;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(52px, 7vw, 86px);
  line-height: 0.96;
}

.portrait-panel span {
  font-family: inherit;
  font-size: 18px;
  text-transform: uppercase;
}

.split-copy p {
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.9;
}

.profile-title {
  margin-bottom: 2px;
  color: var(--green);
  font-size: 16px;
  font-weight: 900;
}

.profile-license {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.company-info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.company-lead p {
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.9;
}

.company-data {
  margin: 0;
  padding: 26px;
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.company-data div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.company-data div:first-child {
  border-top: 0;
  padding-top: 0;
}

.company-data div:last-child {
  padding-bottom: 0;
}

.company-data dt {
  color: var(--green);
  font-weight: 900;
}

.company-data dd {
  color: var(--ink);
}

.referral {
  background: #173445;
  color: var(--white);
}

.referral-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.referral p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.9;
}

.note-box {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.note-box h3 {
  margin-bottom: 20px;
}

dl,
dd {
  margin: 0;
}

.note-box div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

dt {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

dd {
  color: rgba(255, 255, 255, 0.94);
  font-size: 17px;
}

.access-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.access-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
}

.access-list {
  margin: 0;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(32, 89, 122, 0.08);
}

.access-list div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.access-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.access-list div:last-child {
  padding-bottom: 0;
}

.access-list dt {
  color: var(--green);
  font-weight: 900;
}

.access-list dd {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
}

.access-list a {
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.insurer-lead {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.insurer-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insurer-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.insurer-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 18px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 13px;
  }

  .content-toggle summary {
    padding: 22px;
  }

  .summary-title {
    font-size: 28px;
  }

  .summary-icon {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: 760px;
    padding-top: 62px;
    background:
      linear-gradient(180deg, rgba(243, 251, 255, 0.98) 0%, rgba(243, 251, 255, 0.88) 54%, rgba(243, 251, 255, 0.42) 100%),
      url("./hero-financial-planner.png") center bottom / cover no-repeat;
  }

  .hero-visual {
    inset: auto -90px 36px auto;
    display: block;
    width: 360px;
    min-width: 0;
    height: 280px;
    opacity: 0.55;
  }

  .orb-large {
    right: 0;
    top: 0;
    width: 280px;
  }

  .orb-small,
  .card-sub {
    display: none;
  }

  .card-main {
    right: 18px;
    top: 70px;
    width: 250px;
    height: 160px;
    padding: 38px 30px;
  }

  .card-line {
    height: 4px;
    margin-bottom: 24px;
  }

  .intro-grid,
  .reason-layout,
  .feature-grid,
  .split,
  .company-info-grid,
  .access-inner,
  .referral-inner {
    grid-template-columns: 1fr;
  }

  .reason-heading {
    position: static;
  }

  .feature-card {
    min-height: auto;
  }

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

  .portrait-panel {
    min-height: 340px;
  }
}

@media (max-width: 520px) {
  .brand-text {
    font-size: 14px;
  }

  .hero {
    min-height: 720px;
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 27px;
  }

  .button {
    width: 100%;
  }

  .note-box div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .access-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
  }
}
