:root {
  --navy: #0b2438;
  --navy-deep: #071824;
  --navy-soft: #183a50;
  --gold: #c5a15a;
  --gold-light: #e2cd9f;
  --greige: #e9e3d9;
  --cream: #f8f5ef;
  --white: #fff;
  --ink: #17232c;
  --muted: #637079;
  --line: rgba(11,36,56,.14);
  --shadow: 0 18px 50px rgba(8,29,43,.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 999; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 18px;
  color: white;
  background: rgba(7,24,36,.93);
  border-bottom: 1px solid rgba(197,161,90,.35);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.2; }
.brand b { display: block; font-family: "Shippori Mincho", serif; font-size: 18px; font-weight: 600; letter-spacing: .04em; }
.brand small { display: block; margin-top: 3px; color: var(--gold-light); font-size: 8px; letter-spacing: .16em; }
.brand-moon, .footer-moon {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}
.brand-moon::after, .footer-moon::after {
  content: "";
  position: absolute;
  top: 3px; left: 7px;
  width: 15px; height: 15px;
  background: var(--navy-deep);
  border-radius: 50%;
}
.header-line {
  padding: 8px 13px;
  color: var(--gold-light);
  border: 1px solid rgba(226,205,159,.6);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.hero { position: relative; padding-top: 70px; overflow: hidden; background: var(--navy); color: white; }
.hero-visual { display: grid; grid-template-columns: 1fr 1fr; height: 44vh; min-height: 330px; max-height: 520px; }
.hero-photo { position: relative; margin: 0; overflow: hidden; }
.hero-photo img { height: 100%; object-fit: cover; filter: saturate(.75) contrast(.94); }
.hero-photo-machine img { object-position: 55% center; }
.hero-photo-yoga img { object-position: 53% center; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,24,36,.08) 40%, rgba(7,24,36,.92)); }
.hero-photo-machine::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, rgba(7,24,36,.18), transparent); }
.hero-photo figcaption { position: absolute; z-index: 2; left: 14px; bottom: 17px; font-size: 9px; letter-spacing: .11em; color: rgba(255,255,255,.9); }
.hero-photo figcaption span { display: block; margin-bottom: 4px; color: var(--gold-light); font-family: "Shippori Mincho", serif; font-size: 27px; line-height: 1; }
.hero-copy { position: relative; padding: 30px 22px 52px; text-align: center; }
.hero-copy::before { content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 22px; background: var(--gold); }
.eyebrow { margin: 0 0 10px; color: #9b7b3f; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero .eyebrow, .benefit-card .eyebrow { color: var(--gold-light); }
h1, h2, h3 { margin: 0; font-family: "Shippori Mincho", serif; font-weight: 600; line-height: 1.35; }
h1 { font-size: clamp(34px, 9vw, 50px); letter-spacing: .04em; }
h1 em { color: var(--gold-light); font-style: normal; }
.hero-copy > p:not(.eyebrow) { margin: 15px 0 24px; color: rgba(255,255,255,.76); font-size: 15px; }
.primary-button, .line-button, .ghost-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.primary-button { color: var(--navy-deep); background: linear-gradient(135deg, #eadab8, var(--gold)); border: 0; box-shadow: 0 12px 30px rgba(197,161,90,.2); }
.primary-button span { margin-right: 9px; padding: 3px 8px; color: white; background: var(--navy); border-radius: 999px; font-size: 11px; }
.primary-button:focus-visible, .line-button:focus-visible, .ghost-button:focus-visible, .question-option:focus-visible { outline: 3px solid #76baff; outline-offset: 3px; }
.text-link { display: inline-block; margin-top: 22px; color: rgba(255,255,255,.72); font-size: 13px; text-underline-offset: 5px; }

.diagnosis-shell, .result-card { margin: 0 16px 42px; padding: 24px 20px; color: var(--ink); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.diagnosis-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.diagnosis-top h2, .result-card h2 { font-size: 26px; }
.progress-text { flex: 0 0 auto; color: #8b6d34; font-size: 13px; font-weight: 700; }
.progress-track { height: 5px; margin: 20px 0 24px; background: var(--greige); border-radius: 999px; overflow: hidden; }
.progress-track span { display: block; width: 33.33%; height: 100%; background: var(--gold); transition: width .3s ease; }
.question-options { display: grid; gap: 12px; }
.question-option { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 72px; padding: 13px 15px; color: var(--ink); text-align: left; background: var(--cream); border: 1px solid transparent; border-radius: 16px; cursor: pointer; }
.question-option:hover { border-color: var(--gold); }
.option-icon { display: grid; place-items: center; flex: 0 0 43px; height: 43px; color: var(--gold); background: white; border-radius: 50%; font-size: 20px; }
.question-option b { display: block; font-size: 16px; }
.question-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.back-button { margin-top: 18px; padding: 8px 0; color: var(--muted); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.result-card { text-align: center; }
.result-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; font-family: serif; font-size: 34px; }
.result-composition { margin: 10px 0 8px; color: #8a6d38; font-weight: 700; }
.result-reason { margin: 0 auto 15px; color: var(--muted); font-size: 14px; }
.result-price { margin: 14px 0 20px; font-weight: 700; }
.result-price strong { color: var(--navy); font-size: 24px; }
.result-actions { display: grid; gap: 10px; }
.ghost-button { min-height: 48px; color: var(--navy); background: transparent; border: 1px solid var(--line); }

.plans-section { padding: 64px 16px 70px; background: var(--cream); }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-heading h2 { color: var(--navy); font-size: 31px; }
.section-heading > p:not(.eyebrow) { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.section-heading.left { text-align: left; }
.plan-card { position: relative; margin: 0 auto 18px; max-width: 600px; background: white; border: 1px solid rgba(11,36,56,.08); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(8,29,43,.07); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.plan-card.is-highlighted { transform: translateY(-5px); box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.photo-wrap { position: relative; height: 230px; color: white; }
.photo-wrap img { height: 100%; object-fit: cover; object-position: center 45%; }
.photo-gradient { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,24,36,.06), rgba(7,24,36,.92)); }
.recommend-badge { position: absolute; top: 15px; left: 15px; padding: 7px 12px; color: var(--navy); background: var(--gold-light); border-radius: 999px; font-size: 11px; font-weight: 700; }
.photo-title { position: absolute; left: 20px; bottom: 18px; }
.photo-title small { color: var(--gold-light); letter-spacing: .15em; }
.photo-title h3 { font-size: 30px; }
.plan-body { padding: 23px 20px 24px; }
.plan-kicker { margin: 0 0 2px; color: #98783e; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.plan-body > h3 { color: var(--navy); font-size: 28px; }
.count-pills { display: flex; align-items: center; gap: 7px; margin: 0 0 16px; }
.count-pills span { flex: 1; padding: 8px 7px; color: var(--navy); text-align: center; background: var(--greige); border-radius: 10px; font-size: 12px; }
.count-pills span b { display: block; font-size: 16px; }
.count-pills i { color: var(--gold); font-style: normal; font-weight: 700; }
.plan-fit { margin: 13px 0; color: var(--muted); font-size: 14px; }
.price { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 12px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price > small { grid-row: 1 / span 2; align-self: center; color: var(--muted); font-size: 11px; }
.price strong { color: var(--navy); font-family: "Shippori Mincho", serif; font-size: 29px; line-height: 1; }
.price strong small { font-size: 14px; }
.price > span { margin-top: 5px; color: var(--muted); text-align: right; font-size: 12px; }
.mini-features { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; padding: 0; list-style: none; }
.mini-features li { padding: 5px 8px; color: #6f572c; background: #f4ecdc; border-radius: 7px; font-size: 10px; font-weight: 700; }
details { margin-top: 17px; border-top: 1px solid var(--line); }
summary { padding: 16px 2px 0; color: var(--navy); font-size: 13px; font-weight: 700; cursor: pointer; }
.detail-content { padding: 10px 2px 0; color: var(--muted); font-size: 12px; }
.detail-content p { margin: 8px 0; }
.detail-content hr { border: 0; border-top: 1px solid var(--line); }
.plan-number { position: absolute; top: 15px; right: 18px; color: rgba(197,161,90,.34); font-family: "Shippori Mincho", serif; font-size: 36px; }
.single-grid { max-width: 600px; margin: 0 auto; }
.compact-image { height: 170px; overflow: hidden; }
.compact-image img { height: 100%; object-fit: cover; }
.compact:first-child .compact-image img { object-position: center 43%; }
.compact:last-child .compact-image img { object-position: center 45%; }
.compact-copy { margin: 7px 0 12px; color: var(--muted); font-size: 13px; }
.price.small { margin-top: 8px; }
.target-note { display: inline-block; margin-top: 13px; padding: 4px 8px; color: var(--muted); background: var(--greige); border-radius: 6px; font-size: 10px; }
.mat-prices { margin-top: 12px; border-top: 1px solid var(--line); }
.mat-prices p { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mat-prices p > span { color: var(--navy); font-weight: 700; text-align: right; }
.mat-prices small { display: block; color: var(--muted); font-size: 10px; font-weight: 400; }
.plan-price-list .ticket-row > span { color: #8a6d38; font-size: 12px; }
.plan-price-list .ticket-row b { font-size: 13px; }
.student-card { margin-top: 18px; padding: 24px 20px; background: var(--navy); border-color: rgba(197,161,90,.45); }
.student-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.student-heading .plan-kicker { color: var(--gold-light); }
.student-heading h3 { color: white; font-size: 24px; }
.student-heading h3 small { color: var(--gold-light); font-size: 14px; }
.student-id { flex: 0 0 auto; padding: 6px 9px; color: var(--navy); background: var(--gold-light); border-radius: 999px; font-size: 9px; font-weight: 700; }
.student-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.student-option { padding: 13px 11px; color: white; background: rgba(255,255,255,.07); border: 1px solid rgba(226,205,159,.25); border-radius: 13px; }
.student-option p { display: flex; justify-content: space-between; gap: 5px; margin: 0; }
.student-option p b { color: var(--gold-light); font-size: 13px; }
.student-option p span { color: rgba(255,255,255,.64); font-size: 8px; }
.student-option > small { display: block; min-height: 34px; margin: 5px 0 8px; color: rgba(255,255,255,.72); font-size: 9px; line-height: 1.5; }
.student-option strong { display: block; color: white; font-size: 13px; }
.student-option strong span { display: block; color: var(--gold-light); font-size: 9px; font-weight: 500; }
.student-notes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.student-notes span { padding: 5px 8px; color: rgba(255,255,255,.72); background: rgba(255,255,255,.08); border-radius: 6px; font-size: 9px; }
.compare-box { max-width: 600px; margin: 32px auto 0; padding: 22px 17px; background: white; border-radius: 20px; }
.compare-box h3 { margin-bottom: 13px; color: var(--navy); font-size: 21px; }
.compare-intro { margin: -2px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.compare-row { display: grid; grid-template-columns: 1.05fr 1fr 1.25fr; align-items: center; min-height: 49px; border-bottom: 1px solid var(--line); font-size: 12px; text-align: center; }
.compare-row b, .compare-row > span:first-child { text-align: left; }
.compare-row span:not(:first-child) { color: var(--gold); letter-spacing: 1px; }
.compare-head { min-height: 58px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.compare-head span:not(:first-child) { color: var(--muted); letter-spacing: 0; }
.compare-head span b { display: block; color: var(--navy); text-align: center; font-size: 10px; }
.compare-head span small { display: block; margin-top: 3px; font-size: 8px; }
.compare-explanation { margin-top: 18px; padding: 14px 13px; color: var(--muted); background: var(--greige); border-radius: 12px; font-size: 11px; line-height: 1.75; }
.compare-explanation p { margin: 0; }
.compare-explanation p + p { margin-top: 8px; }
.compare-explanation b { color: var(--navy); }
.price-note { max-width: 600px; margin: 20px auto 0; color: var(--muted); font-size: 10px; }

.join-section { background: var(--greige); }
.benefit-card { padding: 64px 20px; color: white; text-align: center; background: var(--navy); }
.benefit-card h2 { font-size: 30px; }
.benefit-card h2 em { color: var(--gold-light); font-style: normal; }
.benefit-lead { margin: 12px 0 26px; color: rgba(255,255,255,.76); font-size: 14px; }
.condition-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; max-width: 560px; margin: 0 auto; }
.condition-grid span { padding: 13px 6px; background: rgba(255,255,255,.07); border: 1px solid rgba(226,205,159,.25); border-radius: 13px; }
.condition-grid b, .condition-grid small { display: block; }
.condition-grid b { color: var(--gold-light); font-size: 15px; }
.condition-grid small { color: rgba(255,255,255,.66); font-size: 10px; }
.dark-details { max-width: 560px; margin: 22px auto 0; text-align: left; border-color: rgba(255,255,255,.15); }
.dark-details summary { color: white; }
.dark-details .detail-content { color: rgba(255,255,255,.7); }
.payment-card, .steps-card { max-width: 600px; margin: 20px 16px 0; padding: 28px 21px; background: white; border-radius: var(--radius); box-shadow: 0 8px 26px rgba(8,29,43,.06); }
.payment-card .section-heading, .steps-card .section-heading { margin-bottom: 20px; }
.fee-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 1px; border-bottom: 1px solid var(--line); }
.fee-row span { font-size: 13px; }
.fee-row b { color: var(--navy); font-size: 20px; }
.fee-row.emphasis { margin-top: 8px; padding: 15px 12px; background: var(--greige); border: 0; border-radius: 12px; }
.fee-row b small { color: var(--muted); font-size: 10px; }
.fee-help { margin: 10px 0 18px; color: var(--muted); font-size: 11px; }
.payment-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.payment-methods span { padding: 10px 3px; color: var(--navy); text-align: center; border: 1px solid var(--gold-light); border-radius: 10px; font-size: 11px; font-weight: 700; }
.bank-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.steps-card { margin-bottom: 0; }
.join-steps { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.join-steps li { position: relative; display: flex; align-items: center; gap: 14px; min-height: 69px; }
.join-steps li:not(:last-child)::after { content: ""; position: absolute; top: 52px; bottom: -16px; left: 19px; width: 1px; background: var(--gold-light); }
.join-steps li > span { z-index: 1; display: grid; place-items: center; flex: 0 0 40px; height: 40px; color: #765b29; background: #f2e8d5; border-radius: 50%; font-family: "Shippori Mincho", serif; font-weight: 600; }
.join-steps b, .join-steps small { display: block; }
.join-steps b { color: var(--navy); font-size: 14px; }
.join-steps small { color: var(--muted); font-size: 10px; }
.terms-link { display: block; margin: 23px 0 14px; color: var(--navy); text-align: center; font-size: 12px; font-weight: 700; text-underline-offset: 4px; }
.web-join-button { min-height: 63px; }
.web-join-button span { margin: 0 0 0 8px; padding: 0; color: inherit; background: none; font-size: inherit; }
.line-button { margin-top: 11px; min-height: 54px; color: var(--navy); background: white; border: 1px solid var(--navy); font-size: 13px; }
.response-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 9px; }
footer { padding: 58px 20px 125px; color: white; text-align: center; background: var(--navy-deep); }
.footer-moon { width: 38px; height: 38px; border-color: var(--gold); }
.footer-moon::after { top: 4px; left: 10px; width: 21px; height: 21px; }
.footer-brand { margin: 13px 0 0; font-family: "Shippori Mincho", serif; font-size: 21px; }
footer p:not(.footer-brand) { margin: 3px 0 15px; color: rgba(255,255,255,.55); font-size: 10px; }
footer a { color: var(--gold-light); font-size: 11px; }

.sticky-actions { position: fixed; z-index: 60; inset: auto 0 0; display: grid; grid-template-columns: .82fr 1.18fr; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px rgba(7,24,36,.1); }
.sticky-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.2; }
.sticky-actions a span { margin-bottom: 3px; font-size: 9px; font-weight: 500; }
.sticky-line { color: var(--navy); }
.sticky-web { color: var(--navy-deep); background: linear-gradient(135deg, #eadab8, var(--gold)); border-radius: 13px; }

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media (min-width: 640px) {
  .site-header { padding: 0 max(24px, calc((100vw - 860px) / 2)); }
  .hero-visual { max-width: 920px; margin: auto; }
  .hero-photo-yoga img { object-position: right center; transform-origin: right center; }
  .hero-copy, .diagnosis-shell, .result-card { max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero-copy { padding-bottom: 70px; }
  .single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .single-grid .plan-card { margin-bottom: 0; }
  .payment-card, .steps-card { margin-left: auto; margin-right: auto; }
  .condition-grid { grid-template-columns: repeat(4, 1fr); }
  .mobile-only { display: none; }
}
@media (min-width: 640px) and (max-width: 899px) {
  .hero-photo-yoga img { transform: scale(1.75); }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .hero { padding-top: 70px; }
  .hero-visual { height: 540px; max-height: none; }
  .hero-photo-yoga img { transform: scale(1.12); }
  .plans-section { padding-left: 24px; padding-right: 24px; }
}
