:root {
  --navy: #222a3d;
  --navy-deep: #171d2d;
  --orange: #f2a400;
  --orange-light: #ffc54b;
  --cream: #f6f0e7;
  --paper: #fffdf8;
  --ink: #1d2435;
  --muted: #6d7180;
  --teal: #3c9999;
  --teal-light: #75bebe;
  --red: #ec684f;
  --line: #d9d2c8;
  --hard-shadow: 8px 8px 0 var(--navy);
  --soft-shadow: 0 20px 55px rgba(34,42,61,.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.is-quiz { overflow-x: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 18%, rgba(242,164,0,.15), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(60,153,153,.13), transparent 25%),
    var(--cream);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: radial-gradient(rgba(34,42,61,.18) .8px, transparent .8px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 58px);
  color: #fff;
  background: rgba(34,42,61,.97);
  border-bottom: 4px solid var(--orange);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--navy);
  background: var(--orange);
  border: 2px solid #fff;
  font-size: 22px;
  font-weight: 1000;
  transform: rotate(-4deg);
  box-shadow: 3px 3px 0 rgba(0,0,0,.28);
}
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { font-size: 15px; font-weight: 1000; letter-spacing: .03em; }
.brand-copy small { color: var(--orange-light); font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
}
.nav-button {
  border: 2px solid #fff;
  color: var(--navy);
  background: var(--orange);
  padding: 9px 18px;
  font-weight: 1000;
  box-shadow: 3px 3px 0 rgba(0,0,0,.35);
}

.section {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}
.eyebrow, .section-tag {
  margin-bottom: 12px;
  color: #b16f00;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 1000;
  letter-spacing: .18em;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 54px;
}
.hero-copy h1 {
  margin-bottom: 24px;
  font-size: clamp(45px, 7.4vw, 84px);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 1000;
}
.hero-copy h1 span {
  position: relative;
  z-index: 0;
  display: inline-block;
}
.hero-copy h1 span::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: .06em;
  z-index: -1;
  height: .34em;
  background: var(--orange-light);
  transform: rotate(-1.2deg);
}
.lead { color: #404657; font-size: clamp(16px, 1.9vw, 20px); font-weight: 700; }
.lead.small { font-size: clamp(16px, 1.8vw, 19px); }
.hero-actions, .result-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.primary-btn, .outline-btn {
  min-height: 52px;
  border: 3px solid var(--navy);
  padding: 12px 22px;
  font-weight: 1000;
  transition: transform .14s ease, box-shadow .14s ease;
}
.primary-btn {
  color: var(--navy);
  background: var(--orange);
  box-shadow: 5px 5px 0 var(--navy);
}
.primary-btn.big { min-height: 64px; padding-inline: 28px; font-size: 17px; }
.outline-btn { color: var(--navy); background: var(--paper); box-shadow: 5px 5px 0 var(--navy); }
.primary-btn:hover, .outline-btn:hover, .nav-button:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--navy); }
.text-link { color: var(--ink); font-size: 14px; font-weight: 900; text-underline-offset: 5px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.hero-points span, .mini-label, .axis-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 5px 11px;
  border: 2px solid var(--navy);
  color: var(--navy);
  background: var(--paper);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.3;
}
.hero-card {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.12), transparent 18%),
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.09), transparent 16%),
    linear-gradient(180deg, #20283b 0%, #334234 100%);
  border: 4px solid var(--navy);
  box-shadow: 12px 12px 0 var(--navy);
  transform: rotate(1.2deg);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 3px solid rgba(255,255,255,.18);
}
.hero-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 34px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.18), rgba(255,255,255,0) 72%);
  filter: blur(8px);
}
.hero-gallery {
  position: absolute;
  inset: 18px 20px 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 16px);
  padding: 96px 18px 28px;
}
.hero-figure {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  max-width: 18%;
  min-width: 90px;
  margin: 0;
  align-self: flex-end;
  transition: transform .22s ease;
}
.hero-figure img {
  width: 100%;
  height: clamp(240px, 33vw, 410px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
  filter: drop-shadow(0 22px 24px rgba(0,0,0,.28));
}
.hero-figure-1 { transform: translateY(28px) rotate(-6deg); }
.hero-figure-2 { transform: translateY(8px) rotate(-2deg); }
.hero-figure-3 { transform: translateY(-6px) scale(1.04); z-index: 2; }
.hero-figure-4 { transform: translateY(12px) rotate(3deg); }
.hero-figure-5 { transform: translateY(30px) rotate(7deg); }
.hero-card:hover .hero-figure-1 { transform: translateY(22px) rotate(-7deg); }
.hero-card:hover .hero-figure-2 { transform: translateY(2px) rotate(-3deg); }
.hero-card:hover .hero-figure-3 { transform: translateY(-12px) scale(1.055); }
.hero-card:hover .hero-figure-4 { transform: translateY(6px) rotate(4deg); }
.hero-card:hover .hero-figure-5 { transform: translateY(24px) rotate(8deg); }
.hero-stamp {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid #fff;
  text-align: center;
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.05;
  letter-spacing: .08em;
  transform: rotate(9deg);
}

/* Quiz */
.diagnosis {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px) 16px 70px;
  background:
    linear-gradient(rgba(246,240,231,.94), rgba(246,240,231,.94)),
    radial-gradient(circle at 20% 20%, var(--orange) 0 18%, transparent 18.5%),
    radial-gradient(circle at 80% 75%, var(--teal) 0 15%, transparent 15.5%);
}
.diagnosis::before,
.diagnosis::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  opacity: .13;
  background: repeating-radial-gradient(circle, var(--navy) 0 2px, transparent 2px 11px);
}
.diagnosis::before { top: -90px; left: -80px; }
.diagnosis::after { right: -90px; bottom: -100px; }
.quiz-decoration {
  position: absolute;
  z-index: 0;
  color: rgba(34,42,61,.06);
  font-size: 280px;
  line-height: 1;
  font-weight: 1000;
  user-select: none;
}
.quiz-decoration-left { left: 1vw; top: 24%; transform: rotate(-12deg); }
.quiz-decoration-right { right: 2vw; bottom: 6%; transform: rotate(11deg); }
.quiz-shell {
  position: relative;
  z-index: 2;
  width: min(790px, 100%);
  margin: 0 auto;
}
.quiz-title-block { margin-bottom: 24px; text-align: center; }
.quiz-title-block p {
  margin-bottom: 2px;
  color: #aa6d00;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .22em;
}
.quiz-title-block h1 {
  margin-bottom: 3px;
  color: var(--navy);
  font-size: clamp(25px, 4vw, 37px);
  line-height: 1.2;
  font-weight: 1000;
  letter-spacing: -.035em;
}
.quiz-title-block > span { color: var(--muted); font-size: 12px; font-weight: 750; }
.progress-wrap { position: relative; margin: 0 auto 21px; }
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 1000;
}
.progress-question { display: flex; align-items: baseline; gap: 2px; font-size: 17px; }
.progress-question strong { font-size: 30px; line-height: 1; }
.progress-bar {
  height: 15px;
  overflow: hidden;
  background: #fff;
  border: 3px solid var(--navy);
  box-shadow: 3px 3px 0 rgba(34,42,61,.18);
}
.progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: repeating-linear-gradient(-45deg, var(--orange), var(--orange) 10px, var(--orange-light) 10px, var(--orange-light) 20px);
  border-right: 3px solid var(--navy);
  transition: width .28s ease;
}
.axis-tag { position: absolute; top: -2px; left: 74px; border-width: 1.5px; color: #7b570d; border-color: #b98b35; background: #fff8e4; }
.question-card {
  position: relative;
  padding: clamp(27px, 5vw, 48px);
  background: var(--paper);
  border: 4px solid var(--navy);
  box-shadow: var(--hard-shadow);
}
.question-card::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  opacity: .55;
  background-image: radial-gradient(var(--orange) 2px, transparent 2px);
  background-size: 9px 9px;
}
.question-card.question-refresh { animation: questionIn .28s cubic-bezier(.2,.8,.2,1); }
@keyframes questionIn {
  from { opacity: 0; transform: translateY(10px) rotate(.2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}
.question-kicker {
  margin-bottom: 10px;
  color: #b26f00;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .2em;
}
.question-card h2 {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0 auto 31px;
  text-align: center;
  color: var(--navy-deep);
  font-size: clamp(23px, 4vw, 34px);
  line-height: 1.45;
  font-weight: 1000;
  letter-spacing: -.025em;
}
.choice-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 0 30px;
}
.choice-label {
  position: relative;
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  background: #fff;
  border: 3px solid var(--navy);
  box-shadow: 4px 4px 0 rgba(34,42,61,.18);
}
.choice-label.left { border-top: 8px solid var(--orange); }
.choice-label.right { border-top: 8px solid var(--teal); }
.choice-label p { margin: 0; font-size: 14px; line-height: 1.55; font-weight: 900; }
.choice-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 1000;
}
.answer-guide {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 8px;
  color: #707483;
  font-size: 10px;
  font-weight: 900;
}
.answer-guide span:nth-child(2) { text-align: center; }
.answer-guide span:last-child { text-align: right; }
.scale {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: clamp(6px, 1.6vw, 14px);
  min-height: 77px;
  margin: 0 auto 24px;
}
.scale-button {
  --circle: 48px;
  position: relative;
  width: var(--circle);
  height: var(--circle);
  justify-self: center;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--navy);
  color: transparent;
  background: #fff;
  box-shadow: 3px 3px 0 rgba(34,42,61,.18);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.scale-button:nth-child(1), .scale-button:nth-child(7) { --circle: 64px; }
.scale-button:nth-child(2), .scale-button:nth-child(6) { --circle: 56px; }
.scale-button:nth-child(3), .scale-button:nth-child(5) { --circle: 48px; }
.scale-button:nth-child(4) { --circle: 40px; background: #eeeae3; }
.scale-button:nth-child(1) { background: #ee9a00; }
.scale-button:nth-child(2) { background: #f7b733; }
.scale-button:nth-child(3) { background: #ffd778; }
.scale-button:nth-child(5) { background: #9dd1cf; }
.scale-button:nth-child(6) { background: #69b4b2; }
.scale-button:nth-child(7) { background: #3e9998; }
.scale-button::after {
  content: "";
  width: calc(var(--circle) * .34);
  height: calc(var(--circle) * .34);
  border-radius: 50%;
  background: transparent;
  transition: background .12s ease, transform .12s ease;
}
.scale-button:hover { transform: translate(-2px,-2px) scale(1.04); box-shadow: 5px 5px 0 var(--navy); }
.scale-button.selected {
  transform: scale(1.08);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 8px var(--navy), 5px 5px 0 rgba(34,42,61,.2);
}
.scale-button.selected::after { background: var(--navy); transform: scale(1.05); }
.scale-button:disabled { cursor: default; filter: saturate(.75); }
.scale-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.quiz-footer {
  min-height: 31px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed #c6beb2;
  padding-top: 18px;
}
.quiz-footer p { margin: 0; color: #8b8c94; font-size: 10px; font-weight: 800; text-align: center; }
.back-button {
  justify-self: start;
  border: 0;
  padding: 4px 0;
  color: var(--navy);
  background: transparent;
  font-size: 12px;
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.back-button:disabled { opacity: .25; cursor: default; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
body.is-quiz .types-section,
body.is-quiz .faq-section,
body.is-quiz .site-footer { display: none; }

/* Result and lower sections */
.result-top { max-width: 760px; margin: 0 auto 34px; text-align: center; }
.result-top h2, .section-heading h2 {
  margin-bottom: 15px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 1000;
  letter-spacing: -.045em;
}
.result-actions { justify-content: center; }
.result-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 24px; align-items: start; margin-bottom: 24px; }
.result-image-card, .result-image-score {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 4px solid var(--navy);
  box-shadow: var(--hard-shadow);
}
.result-image-card img, .result-image-score img { width: 100%; height: auto; }
.content-card, .pair-card, .feature-card, .type-card, details {
  background: var(--paper);
  border: 3px solid var(--navy);
  box-shadow: 5px 5px 0 rgba(34,42,61,.2);
}
.content-card, .pair-card { margin-bottom: 20px; padding: clamp(22px, 4vw, 36px); }
.content-card h3, .pair-card h3 { font-size: 23px; font-weight: 1000; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 20px; }
.feature-card { padding: 24px; }
.feature-card .num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: var(--navy);
  background: var(--orange);
  border: 2px solid var(--navy);
  font-weight: 1000;
  box-shadow: 2px 2px 0 var(--navy);
}
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pair-card.danger { border-top: 10px solid var(--red); }
.pair-card.fit { border-top: 10px solid var(--teal); }
.note { color: var(--muted); font-size: 13px; font-weight: 750; }
.section-heading { max-width: 700px; margin: 0 auto 35px; text-align: center; }
.type-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.type-card {
  overflow: hidden;
  padding: 0;
  color: var(--ink);
  text-align: left;
  transition: transform .14s ease, box-shadow .14s ease;
}
.type-card:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--navy); }
.type-card img { width: 100%; aspect-ratio: 1/1.27; object-fit: cover; object-position: center top; border-bottom: 3px solid var(--navy); }
.type-card-body { display: block; padding: 13px 15px 17px; }
.type-card-body span { color: #a56800; font-size: 10px; font-weight: 1000; letter-spacing: .15em; }
.type-card-body strong { display: block; font-size: 16px; line-height: 1.35; font-weight: 1000; }
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
details { padding: 18px 21px; }
summary { cursor: pointer; font-weight: 1000; }
details p { margin: 11px 0 0; color: var(--muted); }
.site-footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 54px;
  color: var(--muted);
  font-size: 12px;
  border-top: 2px solid rgba(34,42,61,.18);
}
.hidden { display: none !important; }

@media (max-width: 900px) {
  .header-nav a { display: none; }
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; }
  .hero-card { min-height: 440px; order: -1; }
  .result-grid, .feature-grid, .pair-grid { grid-template-columns: 1fr; }
  .type-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 600px) {
  .site-header { min-height: 62px; padding: 8px 12px; border-bottom-width: 3px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 8px; }
  .nav-button { padding: 7px 12px; font-size: 12px; box-shadow: 2px 2px 0 rgba(0,0,0,.35); }
  .section { width: min(100% - 22px,1080px); padding: 48px 0; }
  .hero { min-height: auto; }
  .hero-card { min-height: 345px; border-width: 3px; box-shadow: 7px 7px 0 var(--navy); }
  .hero-card::before { inset: 9px; border-width: 2px; }
  .hero-stamp { top: 18px; right: 18px; width: 66px; height: 66px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(41px, 14vw, 62px); }
  .primary-btn.big { width: 100%; }

  .diagnosis { min-height: calc(100svh - 62px); padding: 20px 10px 38px; }
  .quiz-title-block { margin-bottom: 14px; }
  .quiz-title-block h1 { font-size: 22px; }
  .quiz-title-block > span { font-size: 10px; }
  .progress-wrap { margin-bottom: 15px; }
  .progress-question strong { font-size: 25px; }
  .axis-tag { left: 64px; top: 1px; font-size: 9px; padding: 3px 7px; }
  .progress-bar { height: 13px; border-width: 2px; }
  .question-card { padding: 21px 16px 19px; border-width: 3px; box-shadow: 6px 6px 0 var(--navy); }
  .question-card::before { width: 36px; height: 36px; top: 9px; right: 8px; background-size: 8px 8px; }
  .question-kicker { font-size: 9px; margin-bottom: 7px; }
  .question-card h2 { min-height: 55px; margin-bottom: 19px; font-size: clamp(19px, 6.1vw, 25px); line-height: 1.43; }
  .choice-labels { gap: 9px; margin-bottom: 22px; }
  .choice-label { min-height: 105px; display: block; padding: 12px 11px; border-width: 2px; box-shadow: 3px 3px 0 rgba(34,42,61,.16); }
  .choice-label.left, .choice-label.right { border-top-width: 6px; }
  .choice-label p { font-size: 11.5px; line-height: 1.47; }
  .choice-badge { width: 27px; height: 27px; margin-bottom: 8px; font-size: 13px; }
  .answer-guide { margin-bottom: 7px; font-size: 8.5px; }
  .scale { gap: 4px; min-height: 58px; margin-bottom: 18px; }
  .scale-button { --circle: 34px; border-width: 2px; box-shadow: 2px 2px 0 rgba(34,42,61,.18); }
  .scale-button:nth-child(1), .scale-button:nth-child(7) { --circle: 47px; }
  .scale-button:nth-child(2), .scale-button:nth-child(6) { --circle: 41px; }
  .scale-button:nth-child(3), .scale-button:nth-child(5) { --circle: 36px; }
  .scale-button:nth-child(4) { --circle: 31px; }
  .scale-button.selected { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--navy), 3px 3px 0 rgba(34,42,61,.2); }
  .quiz-footer { grid-template-columns: 1fr auto; padding-top: 13px; }
  .quiz-footer p { justify-self: end; font-size: 8.5px; }
  .back-button { font-size: 10px; }
  .quiz-decoration { display: none; }
  .type-grid { gap: 11px; }
  .type-card { border-width: 2px; box-shadow: 3px 3px 0 rgba(34,42,61,.2); }
  .type-card img { border-bottom-width: 2px; }
  .type-card-body { padding: 9px 10px 12px; }
  .type-card-body strong { font-size: 13px; }
}

@media (max-width: 380px) {
  .brand-copy strong { max-width: 118px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .question-card { padding-inline: 12px; }
  .choice-label p { font-size: 10.5px; }
  .scale { gap: 2px; }
  .scale-button:nth-child(1), .scale-button:nth-child(7) { --circle: 43px; }
  .scale-button:nth-child(2), .scale-button:nth-child(6) { --circle: 38px; }
  .scale-button:nth-child(3), .scale-button:nth-child(5) { --circle: 34px; }
}

/* =========================================================
   Quiz layout v3 — waruguchi-style, minimal stacked questions
   ========================================================= */
body.is-quiz {
  background: #fff;
  overflow-x: hidden;
}
body.is-quiz .site-header { display: none; }
body.is-quiz .site-bg { display: none; }

.diagnosis {
  min-height: 100svh;
  padding: 0 0 96px;
  overflow: visible;
  color: #171717;
  background: #fff;
}
.diagnosis::before,
.diagnosis::after,
.quiz-decoration { display: none !important; }

.quiz-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid #e9e9e9;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.quiz-exit {
  justify-self: start;
  padding: 8px 0;
  border: 0;
  color: #737987;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}
.quiz-topbar-title {
  display: grid;
  justify-items: center;
  line-height: 1.15;
}
.quiz-topbar-title strong {
  font-size: 14px;
  letter-spacing: .04em;
}
.quiz-topbar-title span {
  margin-top: 4px;
  color: #9196a2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}
.quiz-count {
  justify-self: end;
  margin: 0;
  color: #858b98;
  font-size: 12px;
  font-weight: 700;
}
.quiz-count strong {
  color: #252a33;
  font-size: 16px;
}

.quiz-intro {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 0 clamp(38px, 6vw, 68px);
  text-align: center;
}
.quiz-intro-en {
  margin-bottom: 10px;
  color: #8b6042;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .24em;
}
.quiz-intro h1 {
  margin-bottom: 14px;
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: .015em;
}
.quiz-intro > p:not(.quiz-intro-en) {
  margin-bottom: 30px;
  color: #747986;
  font-size: 13px;
}
.quiz-progress {
  width: min(540px, 100%);
  height: 3px;
  margin: 0 auto;
  overflow: hidden;
  background: #eeeeee;
}
.quiz-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #61723e 0 50%, #9a4c18 50% 100%);
  transition: width .28s ease;
}

.questions-list {
  width: 100%;
}
.quiz-question {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 104px) 20px;
  background: #fff;
  scroll-margin-top: 82px;
}
.quiz-question + .quiz-question {
  border-top: 1px solid #f1f1f1;
}
.quiz-question.is-answered {
  background: linear-gradient(180deg, #fff 0%, #fff 88%, #fdfdfd 100%);
}
.question-number-minimal {
  margin: 0 0 18px;
  color: #9b9fa8;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
}
.quiz-question h2 {
  width: min(900px, 100%);
  margin: 0 auto 28px;
  color: #171717;
  text-align: center;
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: .02em;
}
.question-poles {
  width: min(900px, 100%);
  margin: 0 auto 27px;
  text-align: center;
}
.question-poles p {
  margin: 0;
  font-size: clamp(16px, 1.55vw, 22px);
  line-height: 1.9;
  font-weight: 450;
}
.question-poles strong {
  display: inline-block;
  min-width: 30px;
  font-weight: 550;
}

.question-scale-wrap {
  width: 100%;
}
.reference-scale {
  width: min(610px, calc(100vw - 40px));
  min-height: 98px;
  display: grid;
  grid-template-columns: repeat(7, auto);
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 22px);
  margin: 0 auto;
}
.reference-scale-button {
  --size: 52px;
  --ring: #a8a8a8;
  position: relative;
  width: var(--size);
  height: var(--size);
  flex: 0 0 auto;
  padding: 0;
  border: 3px solid var(--ring);
  border-radius: 999px;
  background: #fff;
  box-shadow: none;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.reference-scale-button:nth-child(1),
.reference-scale-button:nth-child(7) { --size: 94px; }
.reference-scale-button:nth-child(2),
.reference-scale-button:nth-child(6) { --size: 72px; }
.reference-scale-button:nth-child(3),
.reference-scale-button:nth-child(5) { --size: 54px; }
.reference-scale-button:nth-child(4) { --size: 34px; --ring: #b7b9bd; border-width: 2px; }

.reference-scale-button:nth-child(1) { --ring: #5d703d; }
.reference-scale-button:nth-child(2) { --ring: #779645; }
.reference-scale-button:nth-child(3) { --ring: #9bb461; }
.reference-scale-button:nth-child(5) { --ring: #cf7a29; }
.reference-scale-button:nth-child(6) { --ring: #ad5426; }
.reference-scale-button:nth-child(7) { --ring: #97460f; }

.reference-scale-button:hover,
.reference-scale-button:focus-visible {
  transform: scale(1.045);
  outline: none;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ring) 12%, transparent);
}
.reference-scale-button.selected {
  background: var(--ring);
  transform: scale(1.02);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ring) 13%, transparent);
}
.reference-scale-button.selected::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 999px;
}
.reference-scale-button:nth-child(4).selected::after { inset: 6px; border-width: 1px; }
.reference-scale-button span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.question-edge-labels {
  width: min(1160px, calc(100vw - 80px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px auto 0;
  color: #747b8b;
  font-size: clamp(15px, 1.45vw, 22px);
  font-weight: 450;
}
.question-edge-labels span:first-child { color: #6d7685; }
.question-edge-labels span:last-child { color: #6d7685; }
.question-selected-label {
  min-height: 22px;
  margin: 16px 0 0;
  color: #8a8f99;
  text-align: center;
  font-size: 11px;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity .18s ease, transform .18s ease;
}
.quiz-question.is-answered .question-selected-label {
  opacity: 1;
  transform: translateY(0);
}

.quiz-submit-area {
  width: min(620px, calc(100% - 40px));
  margin: 34px auto 0;
  padding: 80px 0 24px;
  text-align: center;
  border-top: 1px solid #ececec;
}
.quiz-submit-area p {
  margin-bottom: 18px;
  color: #7d828d;
  font-size: 13px;
}
.quiz-result-button {
  width: min(420px, 100%);
  min-height: 68px;
  border: 1px solid #222;
  color: #fff;
  background: #222;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: opacity .18s ease, transform .18s ease;
}
.quiz-result-button:not(:disabled):hover { transform: translateY(-2px); }
.quiz-result-button:disabled {
  cursor: not-allowed;
  color: #a3a6ab;
  background: #ededed;
  border-color: #e2e2e2;
}

@media (max-width: 760px) {
  .quiz-topbar {
    min-height: 56px;
    grid-template-columns: 56px 1fr 56px;
    padding: 8px 12px;
  }
  .quiz-exit { font-size: 11px; }
  .quiz-topbar-title strong { font-size: 12px; }
  .quiz-count { font-size: 10px; }
  .quiz-count strong { font-size: 13px; }
  .quiz-intro {
    width: calc(100% - 30px);
    padding: 42px 0 34px;
  }
  .quiz-intro h1 { font-size: 22px; }
  .quiz-intro > p:not(.quiz-intro-en) { font-size: 11px; }
  .quiz-question {
    min-height: 420px;
    padding: 60px 14px 54px;
    scroll-margin-top: 64px;
  }
  .question-number-minimal { margin-bottom: 14px; font-size: 8px; }
  .quiz-question h2 {
    margin-bottom: 22px;
    font-size: clamp(20px, 5.4vw, 25px);
    line-height: 1.55;
  }
  .question-poles { margin-bottom: 25px; }
  .question-poles p {
    font-size: clamp(13px, 3.65vw, 16px);
    line-height: 1.85;
  }
  .reference-scale {
    width: min(100%, 430px);
    min-height: 70px;
    gap: clamp(5px, 1.6vw, 10px);
  }
  .reference-scale-button { border-width: 2px; }
  .reference-scale-button:nth-child(1),
  .reference-scale-button:nth-child(7) { --size: clamp(52px, 15.5vw, 66px); }
  .reference-scale-button:nth-child(2),
  .reference-scale-button:nth-child(6) { --size: clamp(43px, 12.6vw, 54px); }
  .reference-scale-button:nth-child(3),
  .reference-scale-button:nth-child(5) { --size: clamp(35px, 10vw, 43px); }
  .reference-scale-button:nth-child(4) { --size: clamp(25px, 7.2vw, 31px); }
  .reference-scale-button.selected::after { inset: 6px; border-width: 1px; }
  .question-edge-labels {
    width: calc(100% - 28px);
    margin-top: 12px;
    font-size: 14px;
  }
  .question-selected-label { margin-top: 13px; font-size: 9px; }
  .quiz-submit-area { padding-top: 56px; }
}

@media (max-width: 380px) {
  .quiz-question { min-height: 390px; }
  .question-poles p { font-size: 12px; }
  .reference-scale { gap: 4px; }
  .question-edge-labels { width: calc(100% - 18px); }
}

/* Final reference-matching refinements */
.quiz-question + .quiz-question { border-top: 0; }
.quiz-question.is-answered { background: #fff; }
.question-number-minimal,
.question-selected-label { display: none; }
.reference-scale-button.selected::after { display: none; }

@media (max-width: 760px) {
  .reference-scale { gap: clamp(4px, 1.25vw, 7px); }
  .reference-scale-button:nth-child(1),
  .reference-scale-button:nth-child(7) { --size: clamp(46px, 14vw, 62px); }
  .reference-scale-button:nth-child(2),
  .reference-scale-button:nth-child(6) { --size: clamp(39px, 11.5vw, 50px); }
  .reference-scale-button:nth-child(3),
  .reference-scale-button:nth-child(5) { --size: clamp(32px, 9vw, 40px); }
  .reference-scale-button:nth-child(4) { --size: clamp(23px, 6.5vw, 29px); }
}

/* =========================================================
   Soft pink layout v4 — gentle pink / pale blue theme
   ========================================================= */
:root {
  --navy: #705261;
  --navy-deep: #4f3b46;
  --orange: #f3adc2;
  --orange-light: #ffd8e4;
  --cream: #fff7fa;
  --paper: #fffdfd;
  --ink: #57434e;
  --muted: #93818b;
  --teal: #a9d9e9;
  --teal-light: #d9f0f7;
  --red: #e996ae;
  --line: #eddee5;
  --hard-shadow: 0 18px 48px rgba(135, 88, 108, .14);
  --soft-shadow: 0 18px 55px rgba(135, 88, 108, .11);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--cream);
}
.site-bg {
  background:
    radial-gradient(circle at 8% 15%, rgba(246, 181, 203, .28), transparent 28%),
    radial-gradient(circle at 90% 76%, rgba(177, 222, 238, .28), transparent 28%),
    linear-gradient(180deg, #fffafd 0%, #fff4f8 100%);
}
.site-bg::after {
  opacity: .15;
  background-image: radial-gradient(rgba(173, 115, 140, .24) .7px, transparent .7px);
  background-size: 22px 22px;
}

.site-header {
  color: var(--ink);
  background: rgba(255, 249, 252, .93);
  border-bottom: 1px solid rgba(229, 188, 203, .7);
  box-shadow: 0 8px 30px rgba(146, 92, 115, .07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand,
.header-nav a { color: var(--ink); }
.brand-mark {
  color: #fff;
  background: linear-gradient(145deg, #f0a8be, #f8c8d6);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(190, 111, 142, .22);
  transform: rotate(-3deg);
}
.brand-copy small { color: #c7839d; }
.nav-button {
  color: #694755;
  background: linear-gradient(135deg, #ffd9e5, #e4f4fa);
  border: 1px solid #eac3d2;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(177, 106, 134, .14);
}
.nav-button:hover { transform: translateY(-1px); box-shadow: 0 11px 25px rgba(177, 106, 134, .18); }

.eyebrow,
.section-tag { color: #c47d97; }
.hero-copy h1 span::after {
  background: rgba(248, 190, 209, .72);
  border-radius: 999px;
}
.lead { color: #705e68; }
.primary-btn,
.outline-btn {
  border: 1px solid #e4bdcc;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(170, 99, 127, .15);
}
.primary-btn {
  color: #5f4250;
  background: linear-gradient(135deg, #f8bfd0 0%, #ffd9e5 55%, #dff2f8 100%);
}
.outline-btn {
  color: #66515c;
  background: rgba(255,255,255,.86);
}
.primary-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(170, 99, 127, .19);
}
.hero-points span,
.mini-label,
.axis-tag {
  color: #765565;
  background: rgba(255,255,255,.78);
  border: 1px solid #edcbd7;
  border-radius: 999px;
}
.hero-card {
  overflow: hidden;
  background: linear-gradient(145deg, #f7c2d2, #dff1f7);
  border: 0;
  border-radius: 34px;
  box-shadow: 0 24px 60px rgba(151, 92, 116, .18);
  transform: rotate(.45deg);
}
.hero-card::before {
  inset: 12px;
  border: 0;
  border-radius: 26px;
}
.hero-card::after { border-color: rgba(255,255,255,.58); }
.hero-stamp {
  color: #765263;
  background: rgba(255,255,255,.87);
  border: 1px solid rgba(239, 195, 211, .9);
  box-shadow: 0 10px 25px rgba(143, 86, 108, .12);
}

/* Home / result cards */
.result-image-card,
.result-image-score,
.content-card,
.pair-card,
.feature-card,
.type-card,
details {
  background: rgba(255,255,255,.9);
  border: 1px solid #efd8e1;
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(145, 91, 113, .10);
}
.result-image-card,
.result-image-score { overflow: hidden; }
.type-card { overflow: hidden; }
.type-card img { border-bottom: 1px solid #f0dce4; }
.feature-card .num {
  color: #fff;
  background: linear-gradient(145deg, #edaac0, #afddea);
}
.pair-card.danger { border-top-color: #efabc0; }
.pair-card.fit { border-top-color: #addce9; }
.faq-list summary { color: #654c58; }
.site-footer {
  color: #8a7480;
  background: #fff0f5;
  border-top-color: #ecd1dc;
}

/* Quiz: soft, airy and pastel */
body.is-quiz { background: #fff9fc; }
.diagnosis {
  color: #57434e;
  background:
    radial-gradient(circle at 12% 12%, rgba(249, 210, 223, .35), transparent 23%),
    radial-gradient(circle at 87% 70%, rgba(207, 235, 245, .36), transparent 25%),
    #fff9fc;
}
.quiz-topbar {
  background: rgba(255, 250, 252, .92);
  border-bottom: 1px solid #f0dce4;
  box-shadow: 0 7px 26px rgba(159, 104, 126, .06);
}
.quiz-exit { color: #a17e8e; }
.quiz-topbar-title strong { color: #624a56; }
.quiz-topbar-title span,
.quiz-count { color: #b08d9d; }
.quiz-count strong { color: #745361; }
.quiz-intro-en { color: #d08ba4; }
.quiz-intro h1 { color: #5b444f; }
.quiz-intro > p:not(.quiz-intro-en) { color: #9a818d; }
.quiz-progress {
  height: 5px;
  background: #f3e7ec;
  border-radius: 999px;
}
.quiz-progress span {
  background: linear-gradient(90deg, #f1abc1 0%, #f7c8d6 48%, #c8e8f2 100%);
  border-radius: 999px;
}
.quiz-question {
  background: transparent;
}
.quiz-question + .quiz-question { border-top: 1px solid #f3e5eb; }
.quiz-question.is-answered {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,247,250,.75) 100%);
}
.question-number-minimal { color: #c2a1b0; }
.quiz-question h2 { color: #503d47; }
.question-poles p { color: #66525c; }
.question-poles p:first-child strong { color: #db8fab; }
.question-poles p:last-child strong { color: #7ebfd5; }

.reference-scale-button {
  --ring: #d8c7ce;
  background: rgba(255,255,255,.78);
  border-color: var(--ring);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--ring) 19%, transparent);
}
.reference-scale-button:nth-child(1) { --ring: #e99bb7; }
.reference-scale-button:nth-child(2) { --ring: #efb3c7; }
.reference-scale-button:nth-child(3) { --ring: #f5cbd8; }
.reference-scale-button:nth-child(4) { --ring: #dacfd4; background: #fffdfd; }
.reference-scale-button:nth-child(5) { --ring: #cce8f1; }
.reference-scale-button:nth-child(6) { --ring: #acd9e8; }
.reference-scale-button:nth-child(7) { --ring: #89c7dc; }
.reference-scale-button:hover,
.reference-scale-button:focus-visible {
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ring) 15%, transparent), 0 9px 22px color-mix(in srgb, var(--ring) 24%, transparent);
}
.reference-scale-button.selected {
  background: color-mix(in srgb, var(--ring) 72%, white 28%);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ring) 16%, transparent), 0 10px 24px color-mix(in srgb, var(--ring) 27%, transparent);
}
.reference-scale-button.selected::after {
  border-color: rgba(255,255,255,.82);
}
.question-edge-labels span:first-child { color: #d78da8; }
.question-edge-labels span:last-child { color: #75b9d0; }
.question-selected-label { color: #a48694; }
.quiz-submit-area { border-top-color: #f0dfe6; }
.quiz-submit-area p { color: #a18793; }
.quiz-result-button {
  color: #664755;
  background: linear-gradient(135deg, #f5b3c8 0%, #ffd9e4 54%, #d8eff7 100%);
  border: 1px solid #e5baca;
  border-radius: 999px;
  box-shadow: 0 14px 32px rgba(173, 100, 129, .17);
}
.quiz-result-button:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(173, 100, 129, .22);
}
.quiz-result-button:disabled {
  color: #bbaab2;
  background: #f4edf0;
  border-color: #eee3e8;
  box-shadow: none;
}

@media (max-width: 760px) {
  .hero-card { border-radius: 26px; }
  .result-image-card,
  .result-image-score,
  .content-card,
  .pair-card,
  .feature-card,
  .type-card,
  details { border-radius: 18px; }
  .reference-scale-button {
    box-shadow: 0 5px 13px color-mix(in srgb, var(--ring) 16%, transparent);
  }
}

/* =========================================================
   Deep green layout v5 — calm, tactile, refined
   ========================================================= */
:root {
  --navy: #17372d;
  --navy-deep: #0d251d;
  --orange: #b9c6a8;
  --orange-light: #dce4d0;
  --cream: #f3f0e7;
  --paper: #fbfaf5;
  --ink: #20342b;
  --muted: #718078;
  --teal: #769aa0;
  --teal-light: #c9dadd;
  --red: #a87168;
  --line: #d8ddd4;
  --hard-shadow: 0 18px 48px rgba(19, 52, 42, .16);
  --soft-shadow: 0 18px 55px rgba(19, 52, 42, .12);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--cream);
}
button, a, summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(111, 151, 139, .4);
  outline-offset: 4px;
}

.site-bg {
  background:
    radial-gradient(circle at 8% 14%, rgba(87, 123, 108, .17), transparent 30%),
    radial-gradient(circle at 91% 78%, rgba(104, 137, 144, .15), transparent 29%),
    linear-gradient(180deg, #f6f3eb 0%, #eeece3 100%);
}
.site-bg::after {
  opacity: .16;
  background-image: radial-gradient(rgba(26, 66, 53, .22) .7px, transparent .7px);
  background-size: 23px 23px;
}

.site-header {
  color: #f8f5ed;
  background: rgba(18, 49, 40, .95);
  border-bottom: 1px solid rgba(220, 228, 210, .18);
  box-shadow: 0 10px 34px rgba(10, 35, 27, .20);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand,
.header-nav a { color: #f8f5ed; }
.brand-mark {
  color: #17372d;
  background: linear-gradient(145deg, #e7eadb, #b7c5a6);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(4, 25, 18, .28);
  transform: rotate(-3deg);
}
.brand-copy small { color: #bdcbb2; }
.nav-button {
  color: #17372d;
  background: linear-gradient(135deg, #e7eadc, #c7d4c0);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(4, 25, 18, .24);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, filter .18s ease;
}
.nav-button:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(4, 25, 18, .28); }
.nav-button:active { transform: translateY(1px) scale(.985); box-shadow: 0 4px 10px rgba(4, 25, 18, .22); }

.eyebrow,
.section-tag { color: #597c6f; }
.hero-copy h1 {
  color: #17372d;
  letter-spacing: -.045em;
}
.hero-copy h1 span::after {
  background: rgba(173, 190, 157, .60);
  border-radius: 999px;
}
.hero-copy h1 small {
  display: inline-block;
  margin-top: .45em;
  color: #52685f;
  font-size: .26em;
  line-height: 1.5;
  letter-spacing: .02em;
  font-weight: 700;
}
.lead { color: #52665d; }
.primary-btn,
.outline-btn {
  border: 1px solid rgba(31, 73, 59, .22);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(19, 52, 42, .16);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, filter .18s ease;
}
.primary-btn {
  color: #f8f5ed;
  background: linear-gradient(135deg, #224b3e 0%, #17372d 58%, #102a21 100%);
}
.outline-btn {
  color: #214338;
  background: rgba(251,250,245,.90);
}
.primary-btn:hover,
.outline-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(19, 52, 42, .21);
  filter: brightness(1.035);
}
.primary-btn:active,
.outline-btn:active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 5px 13px rgba(19, 52, 42, .17);
}
.hero-points span,
.mini-label,
.axis-tag {
  color: #315247;
  background: rgba(251,250,245,.78);
  border: 1px solid rgba(56, 92, 79, .20);
  border-radius: 999px;
}
.hero-card {
  overflow: hidden;
  background: linear-gradient(145deg, #1b4437, #708f85);
  border: 1px solid rgba(31, 73, 59, .18);
  border-radius: 34px;
  box-shadow: 0 26px 64px rgba(16, 54, 42, .22);
  transform: rotate(.4deg);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.hero-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 32px 72px rgba(16, 54, 42, .26);
}
.hero-card::before {
  inset: 12px;
  border: 0;
  border-radius: 26px;
}
.hero-card::after { border-color: rgba(246,245,235,.45); }
.hero-stamp {
  color: #f5f2e8;
  background: rgba(20, 57, 45, .88);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 10px 25px rgba(8, 33, 25, .25);
}

/* Home / result cards */
.result-image-card,
.result-image-score,
.content-card,
.pair-card,
.feature-card,
.type-card,
details {
  background: rgba(251,250,245,.94);
  border: 1px solid rgba(52, 89, 76, .17);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(17, 55, 43, .10);
}
.result-image-card,
.result-image-score { overflow: hidden; }
.type-card {
  overflow: hidden;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease, border-color .2s ease;
}
.type-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px rgba(17, 55, 43, .16);
  border-color: rgba(52, 89, 76, .28);
}
.type-card:active { transform: translateY(-1px) scale(.985); box-shadow: 0 9px 20px rgba(17, 55, 43, .12); }
.type-card img { border-bottom: 1px solid rgba(52, 89, 76, .15); }
.type-card-body span { color: #688276; }
.feature-card .num {
  color: #f8f5ed;
  background: linear-gradient(145deg, #315f4e, #6e9484);
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(17, 55, 43, .16);
}
.pair-card.danger { border-top-color: #9f756d; }
.pair-card.fit { border-top-color: #6e9697; }
.faq-list summary { color: #29493e; }
details { transition: box-shadow .2s ease, transform .2s ease; }
details:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(17, 55, 43, .13); }
.site-footer {
  color: #697a72;
  background: transparent;
  border-top-color: rgba(42, 79, 66, .18);
}

/* Quiz */
body.is-quiz { background: #f5f3ec; }
.diagnosis {
  color: #263d34;
  background:
    radial-gradient(circle at 9% 8%, rgba(74, 112, 97, .12), transparent 24%),
    radial-gradient(circle at 90% 72%, rgba(91, 126, 133, .10), transparent 27%),
    #f5f3ec;
}
.quiz-topbar {
  background: rgba(19, 52, 42, .96);
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 28px rgba(7, 29, 22, .18);
}
.quiz-exit { color: #c6d2cb; transition: color .15s ease, transform .15s ease; }
.quiz-exit:hover { color: #fff; transform: translateX(-2px); }
.quiz-exit:active { transform: translateX(-4px) scale(.98); }
.quiz-topbar-title strong { color: #f4f1e8; }
.quiz-topbar-title span,
.quiz-count { color: #aebfb6; }
.quiz-count strong { color: #f4f1e8; }
.quiz-intro-en { color: #66877a; }
.quiz-intro h1 { color: #1b392f; }
.quiz-intro > p:not(.quiz-intro-en) { color: #76847d; }
.quiz-progress {
  height: 5px;
  background: rgba(33, 70, 57, .10);
  border-radius: 999px;
}
.quiz-progress span {
  background: linear-gradient(90deg, #375f50 0%, #789b8c 48%, #77969d 100%);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(66, 106, 91, .25);
}
.quiz-question {
  background: transparent;
  transition: background-color .25s ease;
}
.quiz-question + .quiz-question { border-top: 1px solid rgba(41, 79, 65, .10); }
.quiz-question.is-answered {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(230,234,224,.43) 100%);
}
.quiz-question h2 { color: #19382e; }
.question-poles p { color: #496158; }
.question-poles p:first-child strong { color: #6d8359; }
.question-poles p:last-child strong { color: #62888f; }

.reference-scale-button {
  --ring: #b9c1ba;
  background: rgba(252,251,247,.92);
  border-color: var(--ring);
  box-shadow: 0 7px 18px color-mix(in srgb, var(--ring) 17%, transparent), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.reference-scale-button:nth-child(1) { --ring: #687c4f; }
.reference-scale-button:nth-child(2) { --ring: #84966d; }
.reference-scale-button:nth-child(3) { --ring: #a7b493; }
.reference-scale-button:nth-child(4) { --ring: #b8bcb5; background: #faf9f4; }
.reference-scale-button:nth-child(5) { --ring: #9ab4b7; }
.reference-scale-button:nth-child(6) { --ring: #769aa0; }
.reference-scale-button:nth-child(7) { --ring: #557d84; }
.reference-scale-button:hover,
.reference-scale-button:focus-visible {
  transform: translateY(-3px) scale(1.055);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ring) 13%, transparent), 0 13px 25px color-mix(in srgb, var(--ring) 26%, transparent), inset 0 1px 0 rgba(255,255,255,.95);
}
.reference-scale-button:active {
  transform: translateY(1px) scale(.96);
  box-shadow: 0 3px 9px color-mix(in srgb, var(--ring) 24%, transparent), inset 0 2px 5px rgba(22, 56, 45, .12);
}
.reference-scale-button.selected {
  background: color-mix(in srgb, var(--ring) 74%, white 26%);
  border-color: color-mix(in srgb, var(--ring) 88%, #17372d 12%);
  transform: scale(1.025);
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--ring) 15%, transparent), 0 13px 27px color-mix(in srgb, var(--ring) 29%, transparent), inset 0 2px 4px rgba(255,255,255,.32);
}
.question-edge-labels span:first-child { color: #6d8359; }
.question-edge-labels span:last-child { color: #62888f; }
.quiz-submit-area { border-top-color: rgba(41, 79, 65, .13); }
.quiz-submit-area p { color: #75837b; }
.quiz-result-button {
  color: #f8f5ed;
  background: linear-gradient(135deg, #2a5949 0%, #17372d 60%, #10291f 100%);
  border: 1px solid rgba(13, 48, 37, .35);
  border-radius: 999px;
  box-shadow: 0 15px 34px rgba(16, 54, 42, .21), inset 0 1px 0 rgba(255,255,255,.13);
  transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s ease, filter .18s ease;
}
.quiz-result-button:not(:disabled):hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(16, 54, 42, .28), inset 0 1px 0 rgba(255,255,255,.15);
  filter: brightness(1.045);
}
.quiz-result-button:not(:disabled):active {
  transform: translateY(1px) scale(.985);
  box-shadow: 0 6px 15px rgba(16, 54, 42, .22), inset 0 2px 5px rgba(0,0,0,.10);
}
.quiz-result-button:disabled {
  color: #aeb7b1;
  background: #e4e5df;
  border-color: #d9ddd7;
  box-shadow: none;
}

@media (hover: none) {
  .reference-scale-button:hover,
  .primary-btn:hover,
  .outline-btn:hover,
  .type-card:hover,
  .nav-button:hover,
  details:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 760px) {
  .hero-card { border-radius: 26px; }
  .result-image-card,
  .result-image-score,
  .content-card,
  .pair-card,
  .feature-card,
  .type-card,
  details { border-radius: 18px; }
  .reference-scale-button {
    box-shadow: 0 5px 13px color-mix(in srgb, var(--ring) 15%, transparent), inset 0 1px 0 rgba(255,255,255,.85);
  }
  .hero-copy h1 small { font-size: .32em; }
}


@media (max-width: 900px) {
  .hero-card {
    min-height: 480px;
    transform: none;
  }
  .hero-gallery {
    inset: 16px 10px 16px;
    gap: 2px;
    padding: 88px 6px 20px;
  }
  .hero-figure {
    min-width: 0;
    max-width: 20%;
  }
  .hero-figure img {
    height: clamp(190px, 45vw, 320px);
    object-position: center 34%;
  }
}

@media (max-width: 640px) {
  .hero-card {
    min-height: 390px;
  }
  .hero-gallery {
    padding-top: 72px;
    padding-bottom: 18px;
  }
  .hero-figure img {
    height: 225px;
    object-position: center 33%;
  }
  .hero-stamp {
    top: 14px;
    right: 14px;
    width: 64px;
    height: 64px;
    font-size: 11px;
  }
}


/* v7 top banner layout */
.hero {
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-top: 26px;
}
.hero-banner {
  width: min(1040px, 100%);
  margin: 0;
}
.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,.12));
}
.hero-copy-compact {
  width: min(760px, 100%);
  text-align: center;
}
.hero-copy-compact .lead {
  margin-inline: auto;
  max-width: 680px;
}
.hero-copy-compact .hero-actions,
.hero-copy-compact .hero-points {
  justify-content: center;
}
.hero-copy h1,
.hero-card,
.hero-gallery,
.hero-stamp,
.hero-figure {
  display: none !important;
}
@media (max-width: 700px) {
  .hero {
    gap: 18px;
    padding-top: 14px;
  }
  .hero-banner {
    width: calc(100% + 8px);
    margin-inline: -4px;
  }
  .hero-copy-compact {
    width: 100%;
  }
}


/* v8 Yummy store links */
.produced-by-block {
  display: grid;
  justify-items: center;
  gap: 11px;
  margin-top: 22px;
}
.produced-by-label {
  margin: 0;
  color: #43554a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.produced-by-label strong {
  color: #17372d;
  font-size: 15px;
}
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.store-button {
  min-width: 174px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 8px 15px;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #18201d, #070a09);
  box-shadow: 0 8px 22px rgba(18,40,31,.19), inset 0 1px 0 rgba(255,255,255,.09);
  text-decoration: none;
  line-height: 1.02;
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.store-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(18,40,31,.24), inset 0 1px 0 rgba(255,255,255,.11);
  filter: brightness(1.04);
}
.store-button:active {
  transform: translateY(1px) scale(.99);
}
.store-button small {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .025em;
  opacity: .86;
}
.store-button strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.store-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
.store-icon.apple {
  position: relative;
  font-size: 0;
}
.store-icon.apple::before {
  content: "◆";
  font-size: 23px;
  transform: rotate(3deg);
}
.store-icon.play {
  font-size: 21px;
  transform: scaleX(.9);
}
.result-score-column {
  display: grid;
  align-content: start;
  gap: 18px;
}
.result-store-block {
  padding: 18px;
  border: 1px solid rgba(23,55,45,.13);
  border-radius: 18px;
  background: rgba(255,253,248,.76);
  box-shadow: 0 12px 28px rgba(23,55,45,.08);
}
.compact-store-block {
  margin-top: 0;
}
.store-lead {
  margin: 0 0 13px;
  color: #27483b;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
}
.yummy-store-block {
  margin-top: 22px;
  background: linear-gradient(180deg, rgba(236,243,238,.92), rgba(255,253,248,.96));
}
.footer-store-block {
  margin: 0 auto 28px;
}
.site-footer .produced-by-label {
  color: rgba(255,255,255,.76);
}
.site-footer .produced-by-label strong {
  color: #fff;
}
.site-footer .store-button {
  box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.09);
}
@media (max-width: 640px) {
  .store-buttons {
    width: 100%;
  }
  .store-button {
    flex: 1 1 145px;
    min-width: 0;
    justify-content: center;
  }
  .store-button strong {
    font-size: 16px;
  }
  .result-store-block {
    padding: 16px 12px;
  }
}


/* v9 official App Store / Google Play badges */
.official-store-badges {
  align-items: center;
  gap: 8px;
}
.store-badge-link {
  width: 196px;
  min-height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 14px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.store-badge-link:focus-visible {
  outline: 3px solid rgba(198,159,64,.9);
  outline-offset: 2px;
}
.store-badge-link:hover {
  background: rgba(23,55,45,.055);
}
.store-badge-link:active {
  background: rgba(23,55,45,.095);
}
.store-badge-image {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.app-store-badge {
  width: 162px;
  height: auto;
}
.google-play-badge {
  width: 190px;
  height: auto;
}
.site-footer .store-badge-link:hover,
.site-footer .store-badge-link:active {
  background: rgba(255,255,255,.08);
}
.store-legal {
  max-width: 860px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  line-height: 1.7;
}
/* Disable the former hand-built store buttons. */
.store-button,
.store-icon {
  display: none !important;
}
@media (max-width: 640px) {
  .official-store-badges {
    gap: 2px;
  }
  .store-badge-link {
    width: min(48%, 190px);
    min-height: 66px;
    padding: 6px;
  }
  .app-store-badge {
    width: 148px;
  }
  .google-play-badge {
    width: 174px;
  }
  .store-legal {
    font-size: 9px;
  }
}


/* v10 result social share */
.result-share-block {
  width: min(500px, 100%);
  margin: 28px auto 18px;
  padding: 20px 18px 16px;
  border: 1px solid rgba(23,55,45,.14);
  border-radius: 22px;
  background: rgba(255,253,248,.82);
  box-shadow: 0 12px 32px rgba(23,55,45,.08);
}
.result-share-title {
  margin: 0 0 14px;
  color: #17372d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .08em;
}
.result-share-icons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(12px, 3vw, 22px);
}
.social-share-button {
  width: 72px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: #37443e;
  background: transparent;
  display: grid;
  justify-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .16s ease, opacity .16s ease;
}
.social-share-button > img,
.x-logo-frame {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(23,55,45,.13);
}
.social-share-button > img {
  object-fit: contain;
}
.x-logo-frame {
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
}
.x-logo-frame img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.social-share-button:hover {
  transform: translateY(-3px);
}
.social-share-button:active {
  transform: translateY(1px) scale(.96);
}
.social-share-button:focus-visible {
  outline: 3px solid rgba(23,55,45,.28);
  outline-offset: 4px;
  border-radius: 14px;
}
.result-share-note {
  margin: 13px 0 0;
  color: #7b817d;
  font-size: 11px;
  font-weight: 700;
}
.result-top .result-actions {
  margin-top: 16px;
}
.result-top .result-actions .outline-btn {
  min-width: 220px;
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  z-index: 200;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(16,47,38,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity .18s ease, transform .18s ease;
}
.share-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 520px) {
  .result-share-block {
    padding-inline: 10px;
  }
  .result-share-icons {
    gap: 7px;
  }
  .social-share-button {
    width: 64px;
    font-size: 10px;
  }
  .social-share-button > img,
  .x-logo-frame {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
}


/* v12: result sharing follows both result images */
.result-after-media {
  width: min(760px, 100%);
  margin: 0 auto 30px;
  text-align: center;
}
.result-after-media .result-share-block {
  margin-top: 0;
}
.result-after-media .result-actions {
  justify-content: center;
  margin: 16px 0 22px;
}
.result-after-media .result-actions .outline-btn {
  min-width: 220px;
}
.result-after-media .compact-store-block {
  margin-top: 0;
}


/* v14: extended top-page explanation */
.hero-actions-main {
  display: grid;
  justify-items: center;
  gap: 13px;
}
.hero-sub-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.about-jump-link {
  color: #17372d;
  font-size: 14px;
  font-weight: 950;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transition: opacity .16s ease, transform .16s ease;
}
.about-jump-link:hover { opacity: .72; transform: translateY(-1px); }

.about-section {
  width: min(1120px, calc(100% - 32px));
  padding-top: 90px;
  padding-bottom: 70px;
  scroll-margin-top: 82px;
}
.about-hero-panel,
.about-block,
.about-final-cta {
  border: 1px solid rgba(23,55,45,.13);
  border-radius: 30px;
  box-shadow: 0 22px 60px rgba(23,55,45,.08);
}
.about-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  gap: clamp(30px, 6vw, 76px);
  padding: clamp(34px, 6vw, 72px);
  color: #f9f4e8;
  background:
    radial-gradient(circle at 85% 15%, rgba(207,178,92,.14), transparent 26%),
    linear-gradient(145deg, #102f27 0%, #1d4b3d 100%);
  overflow: hidden;
}
.about-hero-panel .eyebrow { color: #d9bd70; }
.about-hero-panel h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.16;
  letter-spacing: -.04em;
}
.about-hero-panel p { color: rgba(255,255,255,.82); }
.about-hero-panel strong { color: #fff; }
.about-lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.9; }
.about-start-button { margin-top: 22px; }
.about-feature-list {
  align-self: center;
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 17px;
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(5px);
}
.about-feature-list span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #17372d;
  background: #d7ba69;
  font-size: 11px;
  font-weight: 1000;
}
.about-feature-list strong { font-size: 14px; line-height: 1.5; }

.about-block {
  margin-top: 28px;
  padding: clamp(32px, 6vw, 68px);
  background: rgba(255,253,248,.9);
}
.about-kicker {
  margin-bottom: 10px;
  color: #98762c;
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: .18em;
}
.about-block > h3,
.about-final-cta h3 {
  margin-bottom: 24px;
  color: #17372d;
  font-size: clamp(27px, 4vw, 43px);
  line-height: 1.28;
  letter-spacing: -.035em;
}
.about-block h4 { color: #294a3e; font-size: clamp(18px, 2.4vw, 24px); }
.about-prose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  font-size: 16px;
}
.about-prose p, .about-block > p, .yummy-about-copy > p {
  color: #4d5b55;
}
.habit-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 34px 0;
}
.habit-quote-grid blockquote {
  margin: 0;
  padding: 22px 20px;
  border-left: 4px solid #c6a550;
  border-radius: 0 16px 16px 0;
  color: #253f36;
  background: #f3eee1;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.8;
}
.about-conclusion {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid rgba(23,55,45,.12);
  font-size: 17px;
  text-align: center;
}

.mechanism-block {
  background: linear-gradient(180deg, rgba(241,238,226,.96), rgba(255,253,248,.96));
}
.mechanism-intro { max-width: 850px; margin-bottom: 34px; }
.axis-explainer-grid { display: grid; gap: 18px; }
.axis-explainer-card {
  overflow: hidden;
  border: 1px solid rgba(23,55,45,.12);
  border-radius: 22px;
  background: rgba(255,255,255,.7);
}
.axis-explainer-card header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  color: #f9f4e8;
  background: #17372d;
}
.axis-explainer-card header span {
  color: #d7ba69;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.axis-explainer-card header h4 { margin: 0; color: #fff; font-size: 17px; }
.axis-pair { display: grid; grid-template-columns: 1fr 1fr; }
.axis-side { position: relative; padding: 26px 28px 28px 74px; }
.axis-side + .axis-side { border-left: 1px solid rgba(23,55,45,.12); }
.axis-side b {
  position: absolute;
  top: 25px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #17372d;
  background: #e4d69f;
  font-size: 19px;
}
.axis-side h5 { margin: 0 0 8px; color: #17372d; font-size: 18px; }
.axis-side p { margin: 0; color: #56635d; font-size: 14px; line-height: 1.85; }
.axis-formula {
  margin: 28px 0 0 !important;
  padding: 20px;
  border-radius: 18px;
  color: #17372d !important;
  background: rgba(215,186,105,.22);
  text-align: center;
  font-size: 17px;
}

.character-guide-block { text-align: center; }
.character-guide-block > p:not(.about-kicker) { max-width: 780px; margin-inline: auto; }
.result-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 26px;
  text-align: left;
}
.result-includes-grid div {
  display: grid;
  gap: 5px;
  padding: 18px;
  border-radius: 15px;
  background: #f1eee3;
}
.result-includes-grid strong { color: #17372d; font-size: 14px; }
.result-includes-grid span { color: #65716b; font-size: 12px; line-height: 1.6; }
.about-inline-link {
  color: #17372d;
  font-weight: 950;
  text-underline-offset: 6px;
}

.yummy-about-block {
  background:
    radial-gradient(circle at 88% 12%, rgba(215,186,105,.18), transparent 24%),
    linear-gradient(145deg, #eef2e9, #fffdf8);
}
.yummy-about-copy { max-width: 900px; margin-inline: auto; }
.yummy-audience {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 4px solid #17372d;
  border-radius: 0 14px 14px 0;
  background: rgba(23,55,45,.06);
  font-weight: 750;
}
.about-store-badges { justify-content: flex-start; margin-top: 18px; }

.expanded-faq-list { max-width: none; }
.expanded-faq-list details { background: #f7f4eb; }
.expanded-faq-list summary { color: #17372d; }
.about-final-cta {
  margin-top: 28px;
  padding: clamp(42px, 7vw, 82px) 24px;
  color: #fff;
  background: linear-gradient(145deg, #17372d, #285a49);
  text-align: center;
}
.about-final-cta p { color: rgba(255,255,255,.78); }
.about-final-cta h3 { margin-top: 12px; color: #fff; }
.about-final-cta .primary-btn { margin-top: 22px; }

body.is-quiz .about-section { display: none; }

@media (max-width: 820px) {
  .about-hero-panel { grid-template-columns: 1fr; }
  .about-prose { grid-template-columns: 1fr; gap: 8px; }
  .habit-quote-grid { grid-template-columns: 1fr; }
  .result-includes-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .about-section { width: min(100% - 22px, 1120px); padding-top: 58px; }
  .about-hero-panel,
  .about-block { border-radius: 22px; }
  .about-hero-panel,
  .about-block { padding: 28px 20px; }
  .about-hero-panel h2 { font-size: 34px; }
  .about-feature-list li { grid-template-columns: 38px 1fr; padding-inline: 12px; }
  .axis-pair { grid-template-columns: 1fr; }
  .axis-side + .axis-side { border-left: 0; border-top: 1px solid rgba(23,55,45,.12); }
  .axis-side { padding: 22px 18px 22px 66px; }
  .axis-side b { top: 21px; left: 16px; }
  .result-includes-grid { grid-template-columns: 1fr; }
  .hero-sub-links { display: grid; gap: 8px; }
  .about-store-badges { justify-content: center; }
}


/* =========================================================
   v15: optimized editorial layout for the About flow
   ========================================================= */
:root {
  --about-green: #173c31;
  --about-green-2: #245646;
  --about-ink: #24332e;
  --about-muted: #68766f;
  --about-paper: #fffdfa;
  --about-soft: #f0f3ed;
  --about-gold: #b79a55;
  --about-line: rgba(23,60,49,.16);
}

.hero-actions-main {
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.hero-sub-links {
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 2px;
}
.hero-sub-links a {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.about-jump-link {
  color: #fff !important;
  background: var(--about-green) !important;
  border: 1px solid var(--about-green) !important;
  box-shadow: 0 9px 22px rgba(23,60,49,.17);
}
.type-jump-link {
  color: var(--about-green);
  background: rgba(255,253,250,.88);
  border: 1px solid rgba(23,60,49,.24);
}
.hero-sub-links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(23,60,49,.16);
}
.hero-sub-links a b {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  font-size: 14px;
}
.type-jump-link b { background: rgba(23,60,49,.08) !important; }

.about-section {
  width: min(920px, calc(100% - 32px));
  padding: 92px 0 64px;
  scroll-margin-top: 84px;
}
.about-section > * + * { margin-top: 0; }
.about-hero-panel,
.about-block,
.about-final-cta {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.about-hero-panel {
  display: block;
  padding: clamp(34px, 6vw, 66px);
  color: #fff;
  background: linear-gradient(145deg, #13372d 0%, #1f4c3e 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}
.about-hero-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -95px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(255,255,255,.035);
  border-radius: 50%;
  pointer-events: none;
}
.about-hero-copy { max-width: 760px; }
.about-hero-panel .eyebrow,
.about-kicker {
  margin-bottom: 13px;
  color: var(--about-gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .18em;
}
.about-hero-panel h2 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(33px, 5vw, 50px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.about-hero-panel p {
  max-width: 760px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 2;
}
.about-hero-panel .about-lead {
  color: #fff;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.9;
}
.about-start-button { margin-top: 18px; }
.about-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.16);
}
.about-feature-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.about-feature-list li span {
  color: #d7c17d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
}
.about-feature-list li strong {
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.about-block {
  padding: clamp(54px, 8vw, 84px) clamp(2px, 2vw, 18px);
  background: transparent;
  border-bottom: 1px solid var(--about-line);
}
.about-block > h3,
.yummy-about-copy h3,
.about-final-cta h3 {
  margin-bottom: 24px;
  color: var(--about-ink);
  font-size: clamp(27px, 4.2vw, 40px);
  line-height: 1.35;
  letter-spacing: -.025em;
}
.about-block h4 {
  margin: 26px 0 16px;
  color: var(--about-green);
  font-size: clamp(18px, 2.5vw, 23px);
}
.about-prose,
.about-block > p,
.yummy-about-copy > p,
.mechanism-intro {
  max-width: 790px;
  color: var(--about-ink);
  font-size: 16px;
  line-height: 2.05;
}
.about-prose p + p,
.yummy-about-copy > p + p { margin-top: 18px; }
.habit-quote-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0;
}
.habit-quote-grid blockquote {
  margin: 0;
  padding: 17px 20px 17px 23px;
  color: var(--about-ink);
  background: var(--about-soft);
  border: 0;
  border-left: 4px solid var(--about-green-2);
  border-radius: 0 12px 12px 0;
  font-weight: 780;
  line-height: 1.75;
}
.about-conclusion {
  margin-top: 30px !important;
  padding: 24px 26px;
  background: #e9eee7;
  border-radius: 16px;
}

.axis-explainer-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
}
.axis-explainer-card {
  padding: 0;
  background: var(--about-paper);
  border: 1px solid var(--about-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23,60,49,.055);
}
.axis-explainer-card header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  color: #fff;
  background: var(--about-green);
}
.axis-explainer-card header span {
  color: #d8c27f;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}
.axis-explainer-card header h4 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}
.axis-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.axis-side {
  min-width: 0;
  padding: 24px;
}
.axis-side + .axis-side { border-left: 1px solid var(--about-line); }
.axis-side b {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  margin-bottom: 11px;
  color: #fff;
  background: var(--about-green-2);
  border-radius: 50%;
  font-size: 17px;
}
.axis-side h5 {
  margin: 0 0 8px;
  color: var(--about-ink);
  font-size: 17px;
}
.axis-side p {
  margin: 0;
  color: #596860;
  font-size: 14px;
  line-height: 1.85;
}
.axis-formula {
  margin-top: 28px !important;
  padding: 19px 22px;
  text-align: center;
  background: #edf1ea;
  border-radius: 14px;
}

.result-includes-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 30px 0 24px;
  border-top: 1px solid var(--about-line);
}
.result-includes-grid > div {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--about-line);
}
.result-includes-grid strong { color: var(--about-green); }
.result-includes-grid span { color: var(--about-muted); line-height: 1.7; }
.about-inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 17px;
  color: var(--about-green);
  background: #eef2ec;
  border: 1px solid rgba(23,60,49,.18);
  border-radius: 13px;
  text-decoration: none;
  font-weight: 900;
}

.yummy-about-block {
  display: block;
  background: transparent;
}
.yummy-about-copy { max-width: none; }
.yummy-audience {
  margin-top: 27px !important;
  padding: 22px 24px;
  color: var(--about-green) !important;
  background: #eef2ec;
  border-radius: 15px;
  font-weight: 780;
}
.about-store-badges { margin-top: 28px; justify-content: flex-start; }

.expanded-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.expanded-faq-list details {
  margin: 0;
  background: var(--about-paper);
  border: 1px solid var(--about-line);
  border-radius: 14px;
  overflow: hidden;
}
.expanded-faq-list summary {
  padding: 18px 20px;
  color: var(--about-ink);
  font-weight: 850;
}
.expanded-faq-list details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--about-muted);
  line-height: 1.9;
}
.about-final-cta {
  padding: clamp(48px, 8vw, 76px) 20px;
  text-align: center;
  border-bottom: 1px solid var(--about-line);
}
.about-final-cta p { color: var(--about-muted); }
.about-final-cta h3 { margin: 15px 0 18px; }

/* Keep About and Types as clearly separated vertical sections. */
.types-section {
  display: block !important;
  width: min(1080px, calc(100% - 32px));
  padding-top: 76px;
  border-top: 0;
}
.types-section .section-heading {
  width: 100%;
  margin-bottom: 34px;
  text-align: center;
}
.types-section .type-grid { width: 100%; }

@media (max-width: 760px) {
  .about-section { width: min(100% - 22px, 920px); padding-top: 58px; }
  .about-hero-panel { padding: 34px 22px; border-radius: 22px; }
  .about-hero-panel h2 { font-size: 31px; }
  .about-block { padding: 48px 2px; }
  .axis-pair { grid-template-columns: 1fr; }
  .axis-side + .axis-side { border-left: 0; border-top: 1px solid var(--about-line); }
  .axis-explainer-card header { align-items: flex-start; padding: 17px 18px; }
  .axis-explainer-card header h4 { font-size: 16px; }
  .axis-side { padding: 21px 19px; }
  .result-includes-grid > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 2px;
  }
  .about-store-badges { justify-content: center; }
  .hero-sub-links { width: 100%; }
}


/* =========================================================
   v16 — polished editorial layout + stable share controls
   ========================================================= */
:root {
  --editorial-green: #163b30;
  --editorial-green-2: #255747;
  --editorial-green-3: #3f7462;
  --editorial-cream: #f7f3e9;
  --editorial-paper: #fffdf8;
  --editorial-gold: #b69858;
  --editorial-ink: #22342d;
  --editorial-muted: #687a72;
  --editorial-line: rgba(22,59,48,.14);
  --display-font: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
}

/* Top links: always vertical, never default blue. */
.hero-actions-main {
  width: min(560px, 100%);
  margin-inline: auto;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
}
.hero-actions-main > .primary-btn { align-self: center; }
.hero-sub-links {
  width: min(520px, 100%);
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 3px auto 0 !important;
}
.hero-guide-link,
.hero-guide-link:visited {
  display: grid;
  grid-template-columns: 76px 1fr 30px;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 60px;
  padding: 11px 14px 11px 18px;
  color: var(--editorial-green) !important;
  background: rgba(255,253,248,.82);
  border: 1px solid rgba(22,59,48,.22);
  border-radius: 16px;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(22,59,48,.07);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.hero-guide-link small {
  color: var(--editorial-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-align: left;
}
.hero-guide-link strong {
  font-family: var(--display-font);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: left;
}
.hero-guide-link > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--editorial-green);
}
.hero-guide-link:hover {
  color: var(--editorial-green) !important;
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(22,59,48,.11);
}
.hero-guide-link:focus-visible {
  outline: 3px solid rgba(182,152,88,.42);
  outline-offset: 3px;
}

/* About: calm single-column editorial rhythm. */
.about-section {
  width: min(960px, calc(100% - 32px)) !important;
  padding: 90px 0 54px !important;
  color: var(--editorial-ink);
}
.about-section,
.about-section p,
.about-section li,
.about-section summary { font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", sans-serif; }
.about-section h2,
.about-section h3,
.about-section h4,
.about-section h5 { font-family: var(--display-font); }
.about-section > * + * { margin-top: 0 !important; }

.about-hero-panel {
  display: block !important;
  position: relative;
  overflow: hidden;
  padding: clamp(38px, 7vw, 70px) clamp(24px, 7vw, 72px) !important;
  border: 0 !important;
  border-radius: 34px !important;
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.10), transparent 28%),
    linear-gradient(145deg, #13362c, #275746) !important;
  box-shadow: 0 30px 70px rgba(20,55,44,.18) !important;
}
.about-hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  pointer-events: none;
}
.about-hero-panel::after {
  content: "16";
  position: absolute;
  right: 30px;
  bottom: -52px;
  color: rgba(255,255,255,.05);
  font-family: Georgia, serif;
  font-size: 210px;
  font-weight: 700;
  line-height: 1;
}
.about-hero-copy { position: relative; z-index: 1; max-width: 760px !important; }
.about-hero-panel .eyebrow,
.about-kicker {
  color: #d7bd7d !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .19em !important;
}
.about-hero-panel h2 {
  max-width: 720px;
  margin: 13px 0 24px !important;
  color: #fff !important;
  font-size: clamp(34px, 6vw, 58px) !important;
  line-height: 1.34 !important;
  letter-spacing: .015em !important;
  font-weight: 700 !important;
}
.about-hero-panel p {
  max-width: 720px;
  color: rgba(255,255,255,.84) !important;
  font-size: 16px;
  line-height: 2 !important;
}
.about-hero-panel .about-lead {
  color: #fff !important;
  font-size: clamp(18px, 2.4vw, 22px) !important;
  line-height: 1.95 !important;
}
.about-start-button { margin-top: 25px !important; }
.about-feature-list {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 40px 0 0 !important;
  padding: 18px 0 0 !important;
  border-top: 1px solid rgba(255,255,255,.14);
  list-style: none;
}
.about-feature-list li {
  display: block !important;
  min-height: auto !important;
  padding: 12px 10px !important;
  color: rgba(255,255,255,.88);
  background: transparent !important;
  border: 0 !important;
  border-right: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 0 !important;
  text-align: center;
}
.about-feature-list li:last-child { border-right: 0 !important; }
.about-feature-list li span {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin-bottom: 6px;
  color: #d7bd7d !important;
  background: transparent !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}
.about-feature-list li strong { display: block; color: #fff; font-size: 12px !important; line-height: 1.65 !important; }

.about-block,
.about-final-cta {
  padding: clamp(54px, 8vw, 86px) clamp(2px, 2vw, 18px) !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--editorial-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.about-block > h3,
.yummy-about-copy h3,
.about-final-cta h3 {
  margin: 13px 0 28px !important;
  color: var(--editorial-ink) !important;
  font-size: clamp(29px, 4vw, 43px) !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
}
.about-block h4 {
  margin: 0 0 14px;
  color: var(--editorial-green) !important;
  font-size: clamp(20px, 3vw, 28px) !important;
  line-height: 1.55;
}
.about-block p,
.about-prose p,
.yummy-about-copy > p,
.mechanism-intro {
  color: var(--editorial-ink) !important;
  font-size: 16px !important;
  line-height: 2.05 !important;
}
.about-prose {
  display: block !important;
  max-width: 790px;
}
.about-prose p + p { margin-top: 18px !important; }

.habit-quote-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr)) !important;
  gap: 12px !important;
  margin: 34px 0 !important;
}
.habit-quote-grid blockquote {
  min-height: 150px;
  display: flex;
  align-items: center;
  margin: 0 !important;
  padding: 26px 22px !important;
  color: var(--editorial-ink) !important;
  background: var(--editorial-paper) !important;
  border: 1px solid var(--editorial-line) !important;
  border-top: 4px solid var(--editorial-green-3) !important;
  border-radius: 18px !important;
  font-family: var(--display-font);
  font-size: 15px;
  line-height: 1.9;
  box-shadow: 0 12px 28px rgba(22,59,48,.06);
}
.about-conclusion {
  margin-top: 28px !important;
  padding: 24px 26px !important;
  color: var(--editorial-green) !important;
  background: #eef2ec !important;
  border: 0 !important;
  border-left: 5px solid var(--editorial-gold) !important;
  border-radius: 0 16px 16px 0 !important;
  font-size: 17px !important;
}

.axis-explainer-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  margin-top: 38px !important;
}
.axis-explainer-card {
  overflow: hidden;
  background: var(--editorial-paper) !important;
  border: 1px solid var(--editorial-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 34px rgba(22,59,48,.055);
}
.axis-explainer-card header {
  display: flex !important;
  align-items: center;
  gap: 16px;
  padding: 20px 24px !important;
  color: #fff;
  background: var(--editorial-green) !important;
}
.axis-explainer-card header span {
  color: #d7bd7d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.axis-explainer-card header h4 { margin: 0 !important; color: #fff !important; font-size: 21px !important; }
.axis-pair {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
}
.axis-side {
  position: relative;
  min-height: 236px;
  padding: 29px 28px 31px !important;
}
.axis-side + .axis-side { border-left: 1px solid var(--editorial-line) !important; border-top: 0 !important; }
.axis-side > b {
  width: 42px !important;
  height: 42px !important;
  display: grid !important;
  place-items: center;
  margin-bottom: 13px;
  color: #fff !important;
  background: var(--editorial-green-3) !important;
  border-radius: 12px !important;
  font-family: Georgia, serif;
  font-size: 22px !important;
}
.axis-side h5 {
  margin: 0 0 10px;
  color: var(--editorial-green);
  font-size: 20px;
}
.axis-side p { margin: 0 !important; color: var(--editorial-muted) !important; font-size: 14px !important; line-height: 1.9 !important; }
.axis-formula {
  margin: 30px auto 0 !important;
  padding: 17px 22px !important;
  color: var(--editorial-green) !important;
  background: #eef2ec !important;
  border-radius: 999px !important;
  text-align: center;
}

.result-includes-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 0 !important;
  margin-top: 30px !important;
  border-top: 1px solid var(--editorial-line);
}
.result-includes-grid > div {
  display: grid;
  grid-template-columns: minmax(130px,.7fr) 1.3fr;
  gap: 16px;
  padding: 19px 14px !important;
  border-bottom: 1px solid var(--editorial-line) !important;
  background: transparent !important;
}
.result-includes-grid > div:nth-child(odd) { border-right: 1px solid var(--editorial-line); }
.result-includes-grid strong { color: var(--editorial-green) !important; }
.result-includes-grid span { color: var(--editorial-muted) !important; }
.about-inline-link,
.about-inline-link:visited {
  display: inline-flex !important;
  margin-top: 26px !important;
  padding: 12px 20px !important;
  color: #fff !important;
  background: var(--editorial-green) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-weight: 800;
}

.yummy-about-block {
  margin-top: 40px !important;
  padding: clamp(38px,6vw,58px) !important;
  background: linear-gradient(145deg,#edf2ec,#f8f4e9) !important;
  border: 1px solid var(--editorial-line) !important;
  border-radius: 28px !important;
}
.yummy-about-copy { max-width: 800px !important; }
.yummy-audience {
  margin-top: 25px !important;
  padding: 20px 22px !important;
  color: var(--editorial-green) !important;
  background: rgba(255,255,255,.7) !important;
  border-left: 4px solid var(--editorial-gold) !important;
  border-radius: 0 14px 14px 0 !important;
}
.about-store-badges { justify-content: flex-start !important; }

.expanded-faq-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
.expanded-faq-list details {
  overflow: hidden;
  background: var(--editorial-paper) !important;
  border: 1px solid var(--editorial-line) !important;
  border-radius: 15px !important;
}
.expanded-faq-list summary {
  padding: 19px 22px !important;
  color: var(--editorial-green) !important;
  font-weight: 800 !important;
  cursor: pointer;
}
.expanded-faq-list details p {
  padding: 0 22px 21px !important;
  color: var(--editorial-muted) !important;
  line-height: 1.95 !important;
}
.about-final-cta { text-align: center; }
.about-final-cta h3 { color: var(--editorial-green) !important; }
.about-final-cta p { color: var(--editorial-muted) !important; }

/* Direct share anchors preserve button appearance. */
a.social-share-button { text-decoration: none !important; }
a.social-share-button:visited { color: inherit; }
.result-share-note { color: #6e7e77 !important; }

@media (max-width: 760px) {
  .hero-actions-main { width: 100%; }
  .hero-sub-links { width: 100%; }
  .hero-guide-link { grid-template-columns: 58px 1fr 28px; padding-left: 14px; }
  .hero-guide-link strong { font-size: 15px; }
  .about-section { width: min(calc(100% - 22px), 960px) !important; padding-top: 58px !important; }
  .about-hero-panel { padding: 42px 23px 32px !important; border-radius: 24px !important; }
  .about-hero-panel::before { inset: 9px; border-radius: 18px; }
  .about-hero-panel::after { right: 8px; font-size: 140px; }
  .about-hero-panel h2 { font-size: 34px !important; }
  .about-feature-list {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .about-feature-list li {
    display: grid !important;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 8px;
    padding: 10px 5px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    text-align: left;
  }
  .about-feature-list li:last-child { border-bottom: 0 !important; }
  .about-feature-list li span { margin: 0; }
  .habit-quote-grid { grid-template-columns: 1fr !important; }
  .habit-quote-grid blockquote { min-height: 0; }
  .axis-pair { grid-template-columns: 1fr !important; }
  .axis-side { min-height: 0; padding: 24px 22px 26px !important; }
  .axis-side + .axis-side { border-left: 0 !important; border-top: 1px solid var(--editorial-line) !important; }
  .result-includes-grid { grid-template-columns: 1fr !important; }
  .result-includes-grid > div:nth-child(odd) { border-right: 0; }
  .result-includes-grid > div { grid-template-columns: 1fr; gap: 5px; padding-inline: 4px !important; }
  .yummy-about-block { padding: 34px 21px !important; border-radius: 22px !important; }
  .about-store-badges { justify-content: center !important; }
}


/* =========================================================
   v17: centered hero guides, clearer four-axis layout,
        and robust score-image presentation
   ========================================================= */
:root {
  --v17-green: #173c31;
  --v17-green-2: #285a49;
  --v17-green-soft: #edf3ef;
  --v17-gold: #b69a5b;
  --v17-cream: #fbf8f0;
  --v17-ink: #26352f;
  --v17-muted: #69776f;
  --v17-line: rgba(23,60,49,.14);
}

.hero-actions-main {
  width: min(520px, 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 22px !important;
  margin-inline: auto !important;
}
.hero-sub-links {
  width: min(460px, 100%) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 4px auto 0 !important;
  padding: 12px 0 !important;
  border-top: 1px solid rgba(23,60,49,.22) !important;
  border-bottom: 1px solid rgba(23,60,49,.22) !important;
}
.hero-guide-divider {
  width: 74px;
  height: 1px;
  margin: 0 auto;
  background: rgba(23,60,49,.16);
}
.hero-guide-link,
.hero-guide-link:visited {
  min-height: 54px !important;
  display: grid !important;
  grid-template-columns: 1fr 24px !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 13px 18px !important;
  color: var(--v17-green) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center !important;
  text-decoration: none !important;
}
.hero-guide-link strong {
  justify-self: center;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .035em;
}
.hero-guide-link span {
  color: var(--v17-gold);
  font-size: 17px;
  transition: transform .18s ease;
}
.hero-guide-link:hover {
  color: var(--v17-green-2) !important;
  background: rgba(237,243,239,.62) !important;
  transform: none !important;
  box-shadow: none !important;
}
.hero-guide-link:hover span { transform: translateY(3px); }

.mechanism-block { padding-top: clamp(58px,8vw,86px) !important; }
.mechanism-heading { max-width: 790px; }
.mechanism-catch {
  margin: 18px 0 8px !important;
  color: var(--v17-green) !important;
  font-family: var(--display-font) !important;
  font-size: clamp(20px,3vw,28px) !important;
  font-weight: 700;
  line-height: 1.75 !important;
}
.mechanism-intro { max-width: 760px; color: var(--v17-muted) !important; }
.axis-overview {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
  margin: 34px 0 28px;
  padding: 14px;
  background: var(--v17-green-soft);
  border-radius: 18px;
}
.axis-overview span {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 12px;
  color: var(--v17-green);
  background: rgba(255,255,255,.72);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.axis-overview b {
  color: var(--v17-gold);
  font-family: Georgia,serif;
  font-size: 12px;
}
.axis-modern-grid {
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 18px !important;
  margin-top: 0 !important;
}
.axis-modern-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--v17-line) !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 36px rgba(23,60,49,.07) !important;
}
.axis-modern-card header {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 102px;
  padding: 20px 22px !important;
  background: linear-gradient(145deg,var(--v17-green),var(--v17-green-2)) !important;
}
.axis-modern-card header > span {
  flex: 0 0 auto;
  padding: 7px 9px;
  color: #f0dfb0 !important;
  border: 1px solid rgba(240,223,176,.34);
  border-radius: 999px;
  font-size: 9px !important;
  letter-spacing: .12em !important;
}
.axis-modern-card header small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.67);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.axis-modern-card header h4 {
  color: #fff !important;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}
.axis-modern-card header h4 i {
  margin: 0 4px;
  color: #d9bd7a;
  font-family: Georgia,serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
}
.axis-modern-card .axis-pair {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  flex: 1;
}
.axis-modern-card .axis-side {
  min-height: 290px !important;
  padding: 26px 23px 25px !important;
}
.axis-modern-card .axis-side + .axis-side {
  border-left: 1px solid var(--v17-line) !important;
  border-top: 0 !important;
}
.axis-modern-card .axis-side > b {
  width: 48px !important;
  height: 48px !important;
  margin: 0 0 12px !important;
  color: #fff !important;
  background: var(--v17-green-2) !important;
  border-radius: 50% !important;
  font-size: 23px !important;
}
.axis-modern-card .axis-right > b { background: var(--v17-gold) !important; }
.axis-modern-card .axis-side h5 {
  margin: 0 0 10px !important;
  color: var(--v17-green) !important;
  font-family: var(--display-font) !important;
  font-size: 22px !important;
}
.axis-modern-card .axis-one-line {
  min-height: 56px;
  margin: 0 0 15px !important;
  color: var(--v17-ink) !important;
  font-size: 14px !important;
  font-weight: 700;
  line-height: 1.75 !important;
}
.axis-modern-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.axis-modern-card li {
  position: relative;
  padding-left: 15px;
  color: var(--v17-muted);
  font-size: 13px;
  line-height: 1.75;
}
.axis-modern-card li + li { margin-top: 7px; }
.axis-modern-card li::before {
  content: "";
  position: absolute;
  top: .72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--v17-gold);
}
.axis-versus {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  color: var(--v17-green);
  background: var(--v17-cream);
  border: 1px solid var(--v17-line);
  border-radius: 50%;
  font-family: Georgia,serif;
  font-size: 9px;
  font-weight: 700;
}
.axis-formula-modern {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 13px;
  margin: 30px auto 0;
  padding: 20px 24px;
  color: var(--v17-green);
  background: var(--v17-green-soft);
  border-radius: 18px;
  text-align: center;
}
.axis-formula-modern span { font-size: 14px; font-weight: 800; }
.axis-formula-modern b { color: var(--v17-gold); font-family: Georgia,serif; }
.axis-formula-modern strong {
  padding: 6px 14px;
  color: #fff;
  background: var(--v17-green);
  border-radius: 999px;
  font-size: 16px;
}

.result-image-score {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #fff !important;
}
.result-image-score img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  opacity: 0;
  transition: opacity .18s ease;
}
.result-image-score img.is-loaded { opacity: 1; }
.score-image-message {
  margin: 0 !important;
  padding: 28px 20px;
  color: var(--v17-muted);
  text-align: center;
  font-size: 14px;
}
.score-error-message { color: #815e58; }
.score-image-message[hidden] { display: none !important; }

@media (max-width: 820px) {
  .axis-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .axis-modern-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .hero-sub-links { width: 100% !important; }
  .hero-guide-link { grid-template-columns: 1fr 20px !important; padding-inline: 10px !important; }
  .hero-guide-link strong { font-size: 15px !important; }
  .axis-overview { grid-template-columns: 1fr; }
  .axis-modern-card header { min-height: 92px; padding: 18px !important; }
  .axis-modern-card header h4 { font-size: 16px !important; }
  .axis-modern-card .axis-pair { grid-template-columns: 1fr !important; }
  .axis-modern-card .axis-side { min-height: 0 !important; padding: 24px 21px !important; }
  .axis-modern-card .axis-side + .axis-side {
    border-left: 0 !important;
    border-top: 1px solid var(--v17-line) !important;
  }
  .axis-versus {
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
  }
  .axis-modern-card .axis-one-line { min-height: 0; }
  .axis-formula-modern { flex-direction: column; gap: 6px; }
}


/* =========================================================
   v18: prevent axis letter badges from overlapping titles
   ========================================================= */
.axis-modern-card .axis-side {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  grid-template-rows: auto auto auto !important;
  column-gap: 14px !important;
  align-content: start !important;
}
.axis-modern-card .axis-side > b {
  position: static !important;
  inset: auto !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: grid !important;
  place-items: center !important;
  align-self: center !important;
  justify-self: start !important;
  flex: none !important;
  float: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.axis-modern-card .axis-side h5 {
  position: static !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
}
.axis-modern-card .axis-one-line {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  margin-top: 16px !important;
}
.axis-modern-card .axis-side ul {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
}

@media (max-width: 560px) {
  .axis-modern-card .axis-side {
    grid-template-columns: 52px minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }
  .axis-modern-card .axis-side > b {
    width: 52px !important;
    height: 52px !important;
  }
  .axis-modern-card .axis-side h5 {
    font-size: 21px !important;
  }
}


/* =========================================================
   v20: corporate footer links and privacy policy page
   ========================================================= */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 28px auto 20px;
  padding: 17px 18px;
  border-top: 1px solid rgba(42,79,66,.16);
  border-bottom: 1px solid rgba(42,79,66,.16);
}
.footer-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 3px 22px;
  color: #365a4d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  transition: color .16s ease, background .16s ease;
}
.footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1px;
  height: 16px;
  background: rgba(42,79,66,.22);
}
.footer-links a:hover,
.footer-links a:focus-visible {
  color: #17372d;
  background: rgba(38,86,69,.06);
  border-radius: 8px;
}
.footer-links a[aria-current="page"] { color: #17372d; }

.legal-page-body { background: #f4f1e8; }
.legal-header { position: sticky; }
.legal-header-nav a { display: inline-flex !important; }
.legal-main {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 80px;
}
.legal-hero {
  margin-bottom: 28px;
  padding: clamp(34px, 6vw, 58px);
  color: #f8f5ed;
  background: linear-gradient(145deg, #17372d, #285846);
  border-radius: 30px;
  box-shadow: 0 24px 56px rgba(17,55,43,.17);
}
.legal-hero .eyebrow { color: #d8c08b; }
.legal-hero h1 {
  margin-bottom: 18px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.2;
  letter-spacing: .02em;
}
.legal-hero p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #dbe7e0;
  font-size: 15px;
}
.legal-document {
  padding: clamp(28px, 5vw, 62px);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(42,79,66,.13);
  border-radius: 30px;
  box-shadow: 0 22px 52px rgba(17,55,43,.10);
}
.legal-intro {
  margin-bottom: 42px;
  padding: 22px 24px;
  color: #3f554c;
  background: #f2f5f0;
  border-left: 4px solid #b89a56;
  border-radius: 0 15px 15px 0;
  font-weight: 650;
}
.legal-document section {
  padding: 34px 0;
  border-top: 1px solid rgba(42,79,66,.12);
}
.legal-document section:first-of-type { border-top: 0; padding-top: 0; }
.legal-document h2 {
  margin-bottom: 18px;
  color: #17372d;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.45;
}
.legal-document p,
.legal-document li,
.legal-document dd {
  color: #52635b;
  font-size: 15px;
  line-height: 2;
}
.legal-document ol { margin: 14px 0 18px; padding-left: 1.6em; }
.legal-document li + li { margin-top: 8px; }
.legal-document a { color: #245d48; text-underline-offset: 4px; }
.legal-contact {
  margin-top: 8px;
  padding: 30px !important;
  background: #f3f6f2;
  border: 1px solid rgba(42,79,66,.12) !important;
  border-radius: 20px;
}
.legal-contact dl { margin: 22px 0 0; }
.legal-contact dl > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(42,79,66,.10);
}
.legal-contact dt { color: #17372d; font-weight: 850; }
.legal-contact dd { margin: 0; }
.legal-date { margin-top: 22px !important; color: #7a857f !important; font-size: 13px !important; }
.legal-bottom-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}
.legal-bottom-actions a { text-decoration: none; }
.legal-footer { text-align: center; }

@media (max-width: 600px) {
  .footer-links { display: grid; width: 100%; padding: 10px 0; }
  .footer-links a { justify-content: center; padding: 10px 14px; }
  .footer-links a + a::before {
    top: 0;
    left: 16%;
    right: 16%;
    width: auto;
    height: 1px;
  }
  .legal-main { width: min(100% - 20px,920px); padding: 28px 0 54px; }
  .legal-hero { border-radius: 22px; }
  .legal-document { padding: 28px 20px; border-radius: 22px; }
  .legal-document p,
  .legal-document li,
  .legal-document dd { font-size: 14px; line-height: 1.9; }
  .legal-contact { padding: 23px 18px !important; }
  .legal-contact dl > div { grid-template-columns: 1fr; gap: 2px; }
  .legal-header-nav { display: flex; }
  .legal-header-nav a { font-size: 12px; }
}

/* v22: clearer question numbering and progress */
.quiz-progress-panel {
  position: fixed;
  top: 50%;
  right: clamp(14px, 2.6vw, 38px);
  z-index: 35;
  display: flex;
  align-items: stretch;
  gap: 13px;
  padding: 16px 14px 16px 17px;
  color: #f5f3eb;
  background: rgba(20, 54, 43, .93);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  box-shadow: 0 16px 38px rgba(7, 29, 22, .22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
}
.quiz-progress-panel-copy {
  min-width: 63px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  line-height: 1;
}
.quiz-progress-panel-label {
  margin-bottom: 8px;
  color: #aebfb6;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}
.quiz-progress-panel-copy strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -.05em;
}
.quiz-progress-panel-copy strong small {
  margin-left: 3px;
  color: #aebfb6;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
}
.quiz-progress-panel-copy p {
  margin: 8px 0 0;
  color: #c8d3cd;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.quiz-progress-rail {
  position: relative;
  width: 5px;
  min-height: 94px;
  overflow: hidden;
  align-self: stretch;
  background: rgba(255,255,255,.13);
  border-radius: 999px;
}
.quiz-progress-rail span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  background: linear-gradient(180deg, #a8c2b6, #eef1e9);
  border-radius: 999px;
  transition: height .28s ease;
}
.question-number-minimal {
  width: fit-content;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  margin: 0 auto 22px;
  padding: 7px 13px 8px;
  color: #27483d;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(42, 79, 66, .16);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(17, 55, 43, .07);
  letter-spacing: 0;
}
.question-number-minimal span {
  color: #779087;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.question-number-minimal strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.question-number-minimal em {
  color: #8b9a94;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}
.quiz-question.is-current .question-number-minimal {
  color: #f5f2e9;
  background: #244f40;
  border-color: #244f40;
  box-shadow: 0 10px 26px rgba(17, 55, 43, .18);
}
.quiz-question.is-current .question-number-minimal span,
.quiz-question.is-current .question-number-minimal em { color: #c7d5ce; }

/* v22: pair character thumbnails */
.pair-card {
  position: relative;
  overflow: hidden;
}
.pair-character-image {
  width: 118px;
  margin: 4px auto 18px;
  overflow: hidden;
  background: #f3f1e8;
  border: 1px solid rgba(42, 79, 66, .16);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(17, 55, 43, .10);
}
.pair-character-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.22;
  object-fit: cover;
  object-position: center top;
}
.pair-card h3 { text-align: center; }
.pair-card > p:last-child { text-align: left; }

@media (max-width: 1120px) {
  .quiz-progress-panel {
    right: 10px;
    padding: 13px 10px 13px 12px;
  }
  .quiz-progress-panel-copy { min-width: 54px; }
}

@media (max-width: 760px) {
  .quiz-progress-panel {
    top: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    min-height: 58px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 17px;
    transform: none;
  }
  .quiz-progress-panel-copy {
    min-width: 0;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: baseline;
    gap: 9px;
    text-align: left;
  }
  .quiz-progress-panel-label { margin: 0; font-size: 7px; }
  .quiz-progress-panel-copy strong { font-size: 23px; }
  .quiz-progress-panel-copy p { margin: 0; font-size: 8px; }
  .quiz-progress-rail {
    width: auto;
    min-width: 72px;
    max-width: 180px;
    height: 5px;
    min-height: 5px;
    flex: 1 1 auto;
  }
  .quiz-progress-rail span {
    top: 0;
    bottom: 0;
    right: auto;
    width: 0;
    height: 100% !important;
    transition: width .28s ease;
  }
  .question-number-minimal { margin-bottom: 18px; }
  .pair-character-image { width: 104px; }
  .quiz-submit-area { padding-bottom: 96px; }
}


/* v22: progress panel number cleanup and stable question badge */
.quiz-progress-panel-copy {
  text-align: center;
}

.quiz-progress-panel-label {
  margin-bottom: 7px !important;
}

.quiz-progress-panel-copy p {
  margin-top: 0 !important;
}

.quiz-progress-panel-copy strong {
  display: none !important;
}

/* Fix the Q badge so it no longer changes between white and deep green
   as the current question observer updates. */
.question-number-minimal,
.quiz-question .question-number-minimal,
.quiz-question.is-current .question-number-minimal,
.quiz-question.is-answered .question-number-minimal,
.quiz-question:hover .question-number-minimal,
.quiz-question:focus-within .question-number-minimal,
.quiz-question:active .question-number-minimal {
  color: #f5f2e9 !important;
  background: #244f40 !important;
  border-color: #244f40 !important;
  box-shadow: 0 10px 24px rgba(17, 55, 43, .13) !important;
  transition: transform .16s ease, opacity .16s ease !important;
}

.question-number-minimal span,
.question-number-minimal em,
.quiz-question.is-current .question-number-minimal span,
.quiz-question.is-current .question-number-minimal em {
  color: #c7d5ce !important;
}

.question-number-minimal strong {
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .quiz-progress-panel-copy {
    grid-template-columns: auto auto !important;
    gap: 10px !important;
  }
  .quiz-progress-panel-label {
    margin: 0 !important;
  }
}


/* v23: save the two result images above the social share icons */
.result-save-images-area {
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(23, 55, 45, .12);
  text-align: center;
}
.result-save-images-button {
  min-width: min(280px, 100%);
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid #244f40;
  border-radius: 999px;
  color: #ffffff;
  background: #244f40;
  box-shadow: 0 9px 22px rgba(17, 55, 43, .15);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .03em;
  transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}
.result-save-images-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 27px rgba(17, 55, 43, .19);
}
.result-save-images-button:active {
  transform: translateY(1px) scale(.985);
}
.result-save-images-button:focus-visible {
  outline: 3px solid rgba(36, 79, 64, .24);
  outline-offset: 4px;
}
.result-save-images-button:disabled {
  cursor: wait;
  opacity: .72;
  transform: none;
}
.result-save-icon {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #244f40;
  background: #eef1e9;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}
.result-save-images-note {
  margin: 8px 0 0;
  color: #7b817d;
  font-size: 10px;
  font-weight: 700;
}


/* v28: Yummy showcase screenshot only */
.yummy-about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, .88fr);
  gap: 28px;
  align-items: center;
}
.yummy-about-visual {
  margin: 0;
  position: relative;
}
.yummy-about-visual::before {
  content: "";
  position: absolute;
  inset: auto 6% -6% 6%;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(28,77,164,.18), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}
.yummy-about-visual-image {
  position: relative;
  z-index: 1;
  width: min(470px, 100%);
  display: block;
  margin-inline: auto;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.58);
  box-shadow: 0 26px 50px rgba(24, 54, 112, .15), 0 10px 22px rgba(23,55,45,.08);
}

@media (max-width: 980px) {
  .yummy-about-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .yummy-about-visual {
    order: -1;
  }
  .yummy-about-visual-image {
    width: min(520px, 100%);
  }
}

@media (max-width: 760px) {
  .yummy-about-visual-image {
    border-radius: 24px;
  }
}


/* v29: add Yummy showcase screenshot to the result page download block */
.result-yummy-visual {
  margin: 0 0 16px;
}
.result-yummy-visual-image {
  width: min(430px, 100%);
  display: block;
  margin-inline: auto;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 22px 42px rgba(24, 54, 112, .14), 0 10px 24px rgba(23,55,45,.08);
}
@media (max-width: 760px) {
  .result-yummy-visual {
    margin-bottom: 14px;
  }
  .result-yummy-visual-image {
    width: 100%;
    border-radius: 20px;
  }
}
