:root {
  --ivory: #faf6f3;
  --paper: #ffffff;
  --linen: #eaded8;
  --sage: #7e929f;
  --deep: #40566b;
  --deep-2: #2f4354;
  --ink: #2a2e33;
  --muted: #69737d;
  --gold: #c68a45;
  --terra: #d96c5f;
  --mist: #e9e0dc;
  --shadow: 0 18px 48px rgba(64, 86, 107, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  color: var(--ink);
  background: #fff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.85;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 10;
  background-image:
    linear-gradient(90deg, rgba(64, 86, 107, .09) 1px, transparent 1px),
    linear-gradient(rgba(217, 108, 95, .07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 48%);
}

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

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

main,
section,
.site-header,
.site-footer,
.hero,
.hero-copy,
.hero-visual,
.intro-band,
.main-path,
.method-line,
.feature-grid,
.session-grid,
.voice-grid,
.counselor-grid,
.person-card,
.final-cta {
  max-width: 100%;
}

.hero-copy,
.hero-visual,
.section-head,
.article-text,
.main-path,
.main-path > *,
.step,
.feature-card,
.voice-card,
.person-card {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(64, 86, 107, .14);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  gap: 0;
}

.brand-mark {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.35rem;
  letter-spacing: .11em;
  color: var(--deep);
}

.brand-sub {
  font-size: .72rem;
  color: var(--muted);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .88rem;
}

.global-nav a {
  color: var(--deep);
}

.global-nav a.nav-cta {
  padding: 10px 18px;
  color: #fff;
  border: 1px solid var(--terra);
  border-radius: 999px;
  background: var(--terra);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(64, 86, 107, .22);
  border-radius: 999px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 6px auto;
  background: var(--deep);
  transition: transform .25s ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: auto;
  padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 76px) clamp(52px, 7vw, 92px);
  background:
    linear-gradient(90deg, #fff 0%, #fff 52%, rgba(247, 245, 238, .94) 52%, rgba(247, 245, 238, .94) 100%);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--terra);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.32;
}

h1 {
  font-size: 3.35rem;
  line-height: 1.24;
  overflow-wrap: keep-all;
  word-break: keep-all;
}

h2 {
  font-size: 2.55rem;
  overflow-wrap: keep-all;
  word-break: keep-all;
}

h3 {
  font-size: 1.42rem;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lead {
  max-width: 38rem;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  color: var(--deep);
  border: 1px solid rgba(64, 86, 107, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(64, 86, 107, .08);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(217, 108, 95, .24);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--terra), #c95a4f);
}

.button.quiet {
  color: var(--deep);
  border-color: rgba(64, 86, 107, .32);
  background: #fff;
}

.button.light {
  color: var(--deep);
  background: var(--paper);
}

.hero-visual {
  position: relative;
  min-height: 520px;
  padding: 16px;
  border: 1px solid rgba(64, 86, 107, .13);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: min(70svh, 640px);
  min-height: 490px;
  object-fit: cover;
  border-radius: 4px;
}

.visual-note {
  position: absolute;
  right: 12px;
  bottom: 28px;
  width: min(330px, 82%);
  padding: 20px;
  color: #fff;
  background: rgba(47, 67, 84, .94);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: var(--shadow);
}

.visual-note span,
.path-index,
.feature-card span,
.step span,
.voice-card span,
.role {
  color: var(--gold);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.visual-note strong {
  display: block;
  margin-top: 8px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.08rem;
  line-height: 1.5;
}

.section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 76px);
}

.section-head {
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 56px);
  min-width: 0;
}

.section-head.narrow {
  max-width: 720px;
}

.intro-band {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 76px);
  background: #fff;
  border-block: 1px solid rgba(64, 86, 107, .12);
}

.article-text {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.article-text p {
  margin: 0 0 1.1em;
}

.main-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: end;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(64, 86, 107, .12);
  border-radius: 6px;
  background:
    linear-gradient(120deg, #fff 0%, #fff 58%, rgba(247, 245, 238, .95) 58%, rgba(247, 245, 238, .95) 100%);
  box-shadow: var(--shadow);
}

.main-path .section-head {
  margin-bottom: 0;
}

.main-path h2 {
  max-width: 11em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.main-path p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.main-path .button {
  justify-self: start;
  grid-column: 2;
}

.path-card {
  position: relative;
  min-height: 370px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(64, 86, 107, .12);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.path-card::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: 145px;
  height: 145px;
  border: 1px solid rgba(167, 126, 66, .34);
  border-radius: 50%;
}

.path-card-muted {
  color: #efe8d8;
  background:
    linear-gradient(145deg, rgba(47, 67, 84, .98), rgba(64, 86, 107, .92)),
    radial-gradient(circle at 72% 20%, rgba(217, 108, 95, .24), transparent 20rem);
}

.path-card-muted h3,
.path-card-muted .text-link {
  color: #fff;
}

.path-card p {
  max-width: 30rem;
  color: inherit;
}

.text-link {
  position: absolute;
  left: clamp(26px, 4vw, 42px);
  bottom: clamp(26px, 4vw, 42px);
  color: var(--deep);
  font-weight: 700;
}

.text-link::after {
  content: "  >";
}

.method-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(47, 67, 84, .98), rgba(36, 53, 67, .96)),
    radial-gradient(circle at 80% 10%, rgba(217, 108, 95, .24), transparent 20rem);
  border-block: 0;
}

.method-section h2,
.method-section h3 {
  color: #fff;
}

.method-line,
.design-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.step {
  min-height: 235px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 6px;
  background: rgba(255, 255, 255, .08);
}

.step p {
  color: rgba(255, 255, 255, .78);
}

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

.plan-section {
  background: #fff;
  border-block: 1px solid rgba(64, 86, 107, .1);
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 100%;
}

.price-card,
.price-list,
.included-card {
  border: 1px solid rgba(64, 86, 107, .14);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(42, 50, 38, .08);
}

.price-card {
  padding: clamp(26px, 4vw, 42px);
}

.price-label {
  margin: 0 0 16px;
  color: var(--terra);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price-card p:not(.price-label) {
  color: var(--muted);
}

.price-list {
  margin: 0;
  padding: 0;
}

.price-list div {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(64, 86, 107, .1);
}

.price-list div:last-child {
  border-bottom: 0;
}

.price-list dt {
  color: var(--muted);
  font-weight: 700;
}

.price-list dd {
  margin: 0;
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.price-list dd span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: .78rem;
  font-weight: 500;
}

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

.included-card {
  padding: 24px;
}

.included-card p {
  color: var(--muted);
}

.step h3,
.included-card h3,
.person-card h3,
.episode-card h3 {
  overflow-wrap: anywhere;
  word-break: normal;
}

.option-table {
  display: grid;
  margin-top: 22px;
  border: 1px solid rgba(64, 86, 107, .14);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(42, 50, 38, .08);
}

.option-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(64, 86, 107, .1);
}

.option-row:last-child {
  border-bottom: 0;
}

.option-row span {
  color: var(--muted);
  font-weight: 700;
}

.option-row strong {
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 1.2rem;
  text-align: right;
}

.session-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.voice-card,
.person-card {
  border: 1px solid rgba(64, 86, 107, .14);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(42, 50, 38, .08);
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  overflow: hidden;
  border-top: 4px solid var(--deep);
}

.feature-card h3 {
  font-size: 1.28rem;
  line-height: 1.55;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.feature-card p,
.voice-card,
.person-card p {
  color: var(--muted);
}

.counselor-section {
  background:
    linear-gradient(180deg, var(--ivory), #fff);
}

.counselor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.counselor-grid.single {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.person-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 22px;
  align-items: center;
}

.portrait {
  display: grid;
  place-items: end center;
  min-height: 230px;
  padding: 18px;
  color: rgba(255, 250, 241, .72);
  border-radius: 4px;
  background:
    linear-gradient(150deg, rgba(126, 146, 159, .86), rgba(250, 229, 222, .86)),
    radial-gradient(circle at 50% 28%, rgba(255, 250, 241, .5), transparent 4rem);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.portrait-photo {
  display: block;
  width: 170px;
  height: 230px;
  object-fit: cover;
  object-position: center;
  padding: 0;
  color: transparent;
}

.portrait-photo-yuki {
  object-position: 58% 18%;
}

.portrait.alt {
  background: linear-gradient(150deg, rgba(198, 138, 69, .68), rgba(126, 146, 159, .78));
}

.portrait.deep {
  background: linear-gradient(150deg, rgba(47, 67, 84, .92), rgba(217, 108, 95, .66));
}

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

.episode-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.voice-card {
  margin: 0;
  padding: 26px;
}

.episode-card {
  display: grid;
  gap: 14px;
}

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

.text-link-inline {
  color: var(--deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(217, 108, 95, .55);
  text-underline-offset: 5px;
}

.voice-card cite {
  display: block;
  margin-top: 18px;
  color: var(--deep);
  font-style: normal;
  font-weight: 700;
}

.final-cta {
  margin: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 76px);
  padding: clamp(40px, 7vw, 86px);
  text-align: center;
  border: 1px solid rgba(64, 86, 107, .18);
  border-radius: 6px;
  background:
    linear-gradient(rgba(255, 255, 255, .78), rgba(255, 255, 255, .78)),
    url("../images/ensowa-keyvisual.png") center/cover;
  box-shadow: var(--shadow);
}

.final-cta p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px auto 30px;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.line-button {
  border-color: rgba(6, 199, 85, .38);
  color: #0a8f43;
  background: #fff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: rgba(255, 250, 241, .72);
  background: var(--deep-2);
}

.site-footer p {
  margin: 0;
}

.page-hero {
  padding: clamp(86px, 11vw, 150px) clamp(20px, 5vw, 76px) clamp(56px, 8vw, 100px);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .88) 58%, rgba(255, 255, 255, .34) 100%),
    url("../images/ensowa-keyvisual.png") center right/cover;
}

.page-hero > div {
  max-width: 900px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  gap: clamp(30px, 6vw, 96px);
}

.split h2 {
  max-width: 11.5em;
  overflow-wrap: anywhere;
  word-break: normal;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  min-height: 128px;
  padding: 18px;
  border-left: 1px solid rgba(64, 86, 107, .2);
  background: #fff;
  color: var(--deep);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
}

.flow-list span {
  display: block;
  color: var(--gold);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: .76rem;
  font-weight: 700;
}

.small-gate {
  margin-top: 0;
}

.dark-room {
  background: var(--ivory);
  border-block: 1px solid rgba(64, 86, 107, .08);
}

.dark-room h2,
.dark-room h3 {
  color: var(--deep);
}

.design-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.light-cloud span {
  color: var(--deep);
  border-color: rgba(64, 86, 107, .16);
  background: rgba(255, 250, 241, .72);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 980px) {
  .hero,
  .intro-band,
  .split,
  .main-path {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .method-line,
  .design-steps,
  .feature-grid,
  .session-grid,
  .price-layout,
  .included-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counselor-grid,
  .voice-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .main-path .button {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: fixed;
    top: 68px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(64, 86, 107, .14);
    border-radius: 6px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .global-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .global-nav a {
    padding: 14px 12px;
  }

  .nav-cta {
    border-radius: 4px;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(3.5px) rotate(35deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-35deg);
  }

  h1 {
    font-size: 1.86rem;
    line-height: 1.42;
    overflow-wrap: normal;
    word-break: normal;
  }

  h2 {
    font-size: 1.58rem;
    line-height: 1.48;
    overflow-wrap: normal;
    word-break: normal;
  }

  h3 {
    font-size: 1.24rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .lead,
  .article-text,
  .main-path p {
    font-size: 1rem;
  }

  .hero {
    padding-top: 30px;
    gap: 24px;
    background: #fff;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .visual-note {
    right: 8px;
    bottom: 8px;
    padding: 16px;
    max-width: calc(100% - 16px);
  }

  .method-line,
  .design-steps,
  .feature-grid,
  .session-grid,
  .flow-list,
  .price-layout,
  .included-grid {
    grid-template-columns: 1fr;
  }

  .price-list div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 20px;
  }

  .price-list dd {
    font-size: 1.28rem;
  }

  .option-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 17px 20px;
  }

  .option-row strong {
    text-align: left;
    font-size: 1.08rem;
  }

  .person-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 210px;
  }

  .portrait-photo {
    width: 100%;
    height: 260px;
  }

  .site-footer {
    display: grid;
  }

  .final-cta {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 1.72rem;
  }

  h2 {
    font-size: 1.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
