:root {
  --font-body: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-display: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-accent: Georgia, serif;
  --ink: #182023;
  --muted: #5f696c;
  --paper: #fbfaf6;
  --mist: #e7eef0;
  --line: rgba(24, 32, 35, 0.14);
  --forest: #25483f;
  --forest-deep: #142c27;
  --clay: #a84f3a;
  --gold: #c09b4d;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(20, 44, 39, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.8;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(24, 32, 35, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 32, 35, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

img {
  display: block;
  max-width: 100%;
}

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

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2rem, 4.8vw, 4.7rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.45;
}

p {
  margin-bottom: 1em;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.92);
  box-shadow: 0 12px 40px rgba(24, 32, 35, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-display);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.35;
}

.brand small {
  font-size: 0.72rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  justify-content: center;
  font-size: 0.88rem;
}

.site-nav a {
  opacity: 0.86;
}

.nav-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-cta {
  color: var(--forest-deep);
  background: var(--white);
}

.site-header.is-scrolled .nav-cta {
  color: var(--white);
  background: var(--forest);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88svh;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -3;
  object-fit: cover;
}

.hero-scrim {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(15, 24, 24, 0.82) 0%, rgba(15, 24, 24, 0.58) 45%, rgba(15, 24, 24, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 24, 24, 0.36) 0%, rgba(15, 24, 24, 0.08) 52%, rgba(251, 250, 246, 0.92) 100%);
}

.hero-content {
  width: min(920px, calc(100% - 40px));
  margin: auto auto 110px clamp(20px, 8vw, 112px);
  padding-top: 96px;
}

.eyebrow,
.section-kicker {
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero .eyebrow {
  color: #f0c36f;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.primary-button {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 16px 42px rgba(183, 96, 72, 0.28);
  transition: transform 160ms ease, background 160ms ease;
}

.primary-button:hover {
  background: #94412f;
  transform: translateY(-2px);
}

.primary-button.large {
  min-height: 56px;
  padding-inline: 28px;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: 24px;
  left: clamp(18px, 4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.84rem;
}

.hero-note span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(15, 24, 24, 0.24);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

section:not(.hero) {
  padding: clamp(74px, 11vw, 142px) 0;
}

.intro-band {
  color: var(--white);
  background: var(--forest-deep);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: end;
}

.lead {
  margin-bottom: 0;
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  line-height: 1.9;
}

.story-section {
  background: var(--paper);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.story-copy p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.04rem;
}

.letter-panel {
  position: relative;
  padding: clamp(32px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.letter-panel::before {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(192, 155, 77, 0.68);
  border-radius: 50%;
  content: "";
}

.panel-label {
  display: block;
  margin-bottom: 34px;
  color: var(--gold);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 0.85rem;
}

.letter-panel p {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 3vw, 2.18rem);
  line-height: 1.6;
}

.pain-section,
.voices-section {
  background: var(--mist);
}

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(34px, 6vw, 64px);
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.section-heading.compact {
  max-width: 900px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.check-item {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(24, 32, 35, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.check-item::before {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 14px;
  border: 2px solid var(--clay);
  border-radius: 50%;
  content: "";
}

.program-section {
  color: var(--white);
  background: var(--forest);
}

.program-section .section-kicker {
  color: #e7bc63;
}

.program-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.22);
}

.step-list li {
  min-height: 330px;
  padding: 28px;
  background: var(--forest);
}

.step-number {
  display: block;
  margin-bottom: 70px;
  color: #e7bc63;
  font-family: var(--font-accent);
  font-size: 3rem;
  line-height: 1;
}

.step-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cases-section {
  background: var(--paper);
}

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

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.case-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-card div {
  padding: 24px;
}

.case-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.voice-grid figure {
  min-height: 230px;
  padding: 28px;
  margin: 0;
  border-radius: var(--radius);
  background: var(--white);
}

blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.65;
}

figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-section {
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 88px);
}

.sticky-heading {
  position: sticky;
  top: 110px;
  align-self: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

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

summary {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--clay);
  content: "+";
}

details[open] summary::after {
  content: "−";
}

details p {
  max-width: 680px;
  padding: 0 0 28px;
  margin-bottom: 0;
  color: var(--muted);
}

.profile-section {
  color: var(--white);
  background: var(--forest-deep);
}

.profile-section .section-kicker {
  color: #e7bc63;
}

.profile-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 7vw, 82px);
  align-items: center;
}

.profile-portrait {
  display: grid;
  width: 220px;
  height: 220px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(192, 155, 77, 0.36), rgba(183, 96, 72, 0.18)),
    rgba(255, 255, 255, 0.04);
  font-family: var(--font-display);
  font-size: 2.1rem;
  line-height: 1.45;
  text-align: center;
}

.profile-layout p:not(.section-kicker) {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
}

.profile-theme {
  margin-top: 24px;
  color: var(--white) !important;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.consult-section {
  background:
    linear-gradient(rgba(251, 250, 246, 0.86), rgba(251, 250, 246, 0.94)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.consult-box {
  max-width: 920px;
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.consult-box p:not(.section-kicker) {
  max-width: 720px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 28px clamp(20px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a {
  color: var(--white);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .intro-grid,
  .story-layout,
  .faq-layout,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .check-grid,
  .step-list,
  .case-grid,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-list li {
    min-height: 260px;
  }

  .step-number {
    margin-bottom: 42px;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  body {
    padding-bottom: 78px;
    line-height: 1.74;
  }

  .site-header {
    grid-template-columns: auto auto;
    padding: 12px 14px;
    background: linear-gradient(180deg, rgba(15, 24, 24, 0.62), rgba(15, 24, 24, 0));
  }

  .site-header.is-scrolled {
    color: var(--ink);
    background: rgba(251, 250, 246, 0.94);
  }

  .brand {
    gap: 9px;
  }

  .brand strong {
    max-width: 132px;
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav-cta {
    min-height: 40px;
    padding-inline: 16px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-image {
    object-position: 53% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(15, 24, 24, 0.78) 0%, rgba(15, 24, 24, 0.2) 34%, rgba(15, 24, 24, 0.62) 62%, rgba(15, 24, 24, 0.92) 100%),
      linear-gradient(90deg, rgba(15, 24, 24, 0.58), rgba(15, 24, 24, 0.14));
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: auto 16px 224px;
    padding-top: 72px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: clamp(2.45rem, 11.8vw, 2.92rem);
    line-height: 1.16;
  }

  h2 {
    margin-bottom: 16px;
    font-size: clamp(1.86rem, 9vw, 2.2rem);
    line-height: 1.26;
  }

  h3 {
    font-size: 1.08rem;
  }

  .eyebrow,
  .section-kicker {
    margin-bottom: 12px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-copy {
    max-width: 21rem;
    margin-bottom: 22px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.82;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
    min-height: 50px;
  }

  .hero-note {
    right: 16px;
    bottom: 86px;
    left: 16px;
    gap: 8px;
    padding-top: 12px;
    font-size: 0.76rem;
  }

  .hero-note span {
    padding: 5px 9px;
  }

  .section-inner {
    width: min(100% - 32px, 420px);
  }

  section:not(.hero) {
    padding: 58px 0;
  }

  .intro-band {
    padding-top: 54px !important;
  }

  .lead {
    font-size: 1.04rem;
    line-height: 1.86;
  }

  .story-copy p:not(.section-kicker) {
    font-size: 0.96rem;
    line-height: 1.86;
  }

  .letter-panel {
    padding: 28px 24px;
    box-shadow: 0 18px 48px rgba(20, 44, 39, 0.14);
  }

  .letter-panel::before {
    width: 42px;
    height: 42px;
  }

  .panel-label {
    margin-bottom: 22px;
  }

  .letter-panel p {
    margin-bottom: 12px;
    font-size: 1.36rem;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .check-grid,
  .step-list,
  .case-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  .check-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
    align-items: start;
    min-height: 0;
    padding: 15px 16px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .check-item::before {
    width: 14px;
    height: 14px;
    margin: 4px 0 0;
    border-width: 2px;
  }

  .step-list {
    gap: 0;
    background: rgba(255, 255, 255, 0.16);
  }

  .step-list li {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .step-list li:last-child {
    border-bottom: 0;
  }

  .step-number {
    margin-bottom: 0;
    font-size: 2rem;
  }

  .step-list p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .case-grid,
  .voice-grid {
    gap: 12px;
  }

  .case-card img {
    aspect-ratio: 16 / 10;
  }

  .case-card div,
  .voice-grid figure {
    padding: 20px;
  }

  .voice-grid figure {
    min-height: 0;
  }

  blockquote {
    margin-bottom: 18px;
    font-size: 1.22rem;
    line-height: 1.58;
  }

  summary {
    min-height: 68px;
    font-size: 0.94rem;
    line-height: 1.55;
  }

  details p {
    padding-bottom: 22px;
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .profile-portrait {
    width: 176px;
    height: 176px;
    font-size: 1.75rem;
  }

  .consult-box {
    padding: 30px 22px;
  }

  .site-footer {
    padding-bottom: 94px;
    font-size: 0.82rem;
  }

  .mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 14px;
    z-index: 20;
    display: inline-flex;
    min-height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: var(--white);
    background: var(--clay);
    box-shadow: 0 18px 44px rgba(24, 32, 35, 0.24);
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
