:root {
  --base: #FFFDFC;
  --ink: #171719;
  --accent: #E83E6A;
  --body: #34343A;
  --muted: #6E6E6A;
  --rule: #DEDADA;
  --soft: #F6F3F3;
  --page-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: -0.02em;
}
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.site-header {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 72px;
  padding: 18px 28px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.brand {
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
}
.brand-mark {
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 0;
  font-size: 13px;
  font-weight: 700;
}
.text-button:hover { color: var(--ink); }

.app-shell {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: calc(100vh - 160px);
  padding: 64px 28px 96px;
}
.site-footer {
  max-width: var(--page-max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  padding: 24px 28px 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}
.site-footer p { margin: 0; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 18px;
  white-space: nowrap;
}
.footer-links a:last-child { margin-right: 0; }
.footer-links a:hover { color: var(--accent); }
.consent-row a { color: var(--accent); }

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.half-num {
  font-family: Arial, Helvetica, sans-serif;
  font-feature-settings: normal;
  font-variant-numeric: proportional-nums;
  letter-spacing: 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  gap: 64px;
  align-items: end;
}
.hero-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(50px, 7vw, 92px);
  line-height: .98;
  font-weight: 900;
  letter-spacing: -0.055em;
  word-break: keep-all;
  overflow-wrap: normal;
}
.hero-title .accent { color: var(--accent); }
.hero-lead {
  max-width: 580px;
  margin: 28px 0 0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  font-weight: 500;
  color: var(--body);
}
.hero-meta {
  margin: 32px 0 0;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.primary-button {
  appearance: none;
  border: 0;
  background: var(--accent);
  color: white;
  padding: 18px 26px;
  min-width: 240px;
  font-weight: 900;
  font-size: 16px;
  margin-top: 36px;
}
.primary-button:hover { filter: brightness(.94); }
.secondary-button {
  appearance: none;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 15px 22px;
  font-weight: 900;
}

.hero-gallery {
  height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  overflow: hidden;
}
.hero-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--soft);
}
.hero-gallery figure:nth-child(2), .hero-gallery figure:nth-child(4) { transform: translateY(38px); }
.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 88px 0 56px;
}
.section-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.section-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}
.axis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 42px;
}
.axis-item {
  border-top: 1px solid var(--rule);
  padding: 18px 0 22px;
}
.axis-item strong { display: block; font-size: 16px; font-weight: 900; }
.axis-item span { color: var(--muted); font-size: 13px; font-weight: 500; }

.quiz-wrap { max-width: 900px; margin: 0 auto; }
.progress-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.progress-row strong {
  font-size: 14px;
  font-weight: 900;
}
.progress-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.question-number {
  margin: 56px 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}
.question-title {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 52px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.answer-list {
  margin-top: 48px;
  border-top: 1px solid var(--rule);
}
.answer-button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  padding: 19px 2px;
  text-align: left;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}
.answer-button:hover { background: #F7F4F4; }
.answer-index {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.quiz-nav {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

.result-layout {
  --result-color: var(--accent);
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(320px, 35fr);
  gap: 48px;
  align-items: start;
}
.result-kicker {
  color: var(--result-color);
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 16px;
}
.result-name {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.055em;
}
.result-catch {
  margin: 22px 0 0;
  font-size: clamp(20px, 2.5vw, 29px);
  line-height: 1.5;
  font-weight: 900;
}
.result-summary {
  margin: 26px 0 0;
  max-width: 700px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.95;
  font-weight: 500;
}
.result-image {
  margin: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.result-image img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.score-block {
  margin-top: 46px;
  border-top: 1px solid var(--rule);
}
.score-row {
  display: grid;
  grid-template-columns: 160px 1fr 58px;
  align-items: center;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.score-label { font-size: 13px; font-weight: 900; }
.score-track { height: 6px; background: #ECE8E9; position: relative; }
.score-fill { height: 100%; background: var(--result-color); }
.score-value { text-align: right; font-size: 14px; font-weight: 900; }
.feature-list {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  border-top: 1px solid var(--rule);
}
.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 700;
}
.feature-list b { color: var(--result-color); }
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}
.result-actions .primary-button { margin: 0; background: var(--result-color); }
.dev-note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .site-header { padding: 16px 18px 12px; }
  .app-shell { padding: 40px 18px 72px; overflow-x: hidden; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero-title {
    max-width: 100%;
    font-size: min(11.5vw, 60px);
    line-height: .96;
  }
  .hero-gallery {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
  }
  .hero-gallery figure {
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }
  .hero-gallery figure:nth-child(2),
  .hero-gallery figure:nth-child(4) { transform: none; }
  .hero-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .axis-grid { grid-template-columns: 1fr; }
  .result-layout { grid-template-columns: 1fr; }
  .result-image {
    order: -1;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
  .score-row { grid-template-columns: 120px 1fr 48px; gap: 10px; }
  .site-footer { flex-direction: column; padding: 20px 18px 28px; }
}

@media (max-width: 520px) {
  .site-header { min-height: 60px; }
  .brand { font-size: 12px; }
  .app-shell { padding: 34px 16px 64px; }
  .eyebrow { margin-bottom: 14px; font-size: 12px; }
  .hero { gap: 32px; }
  .hero-title {
    font-size: min(12vw, 52px);
    line-height: .98;
    letter-spacing: -0.06em;
  }
  .hero-lead { margin-top: 22px; font-size: 15px; line-height: 1.75; }
  .hero-meta { margin-top: 24px; gap: 10px 16px; }
  .hero-gallery { gap: 6px; }
  .hero-gallery figure { aspect-ratio: 4 / 5; }
  .primary-button { width: 100%; }
  .question-title { font-size: 29px; }
  .answer-button { font-size: 15px; padding: 17px 2px; }
  .result-name { font-size: 46px; }
  .result-image { max-width: 100%; }
  .score-row { grid-template-columns: 1fr 48px; }
  .score-track { grid-row: 2; grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 44px; }
}

/* Ver.0.2: normalize hero cards across desktop/mobile without cropping */
.hero-gallery {
  height: auto;
  align-items: start;
  overflow: visible;
}
.hero-gallery figure {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #FFFDFC;
}
.hero-gallery figure:nth-child(2),
.hero-gallery figure:nth-child(4) {
  transform: none;
}
.hero-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
/* The wolf source card is a slightly wider ratio than the other three.
   Stretch it only inside the hero sample so all four cards read at the same size, without cropping. */
.hero-gallery figure:nth-child(2) img {
  object-fit: fill;
}
.axis-item {
  min-height: 126px;
}
.axis-item strong {
  margin-bottom: 9px;
  font-size: 17px;
}
.axis-item .axis-poles {
  display: block;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 900;
}
.axis-item small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 500;
}

@media (max-width: 960px) {
  .hero-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .axis-item { min-height: 0; }
}

@media (max-width: 520px) {
  .hero-gallery figure { aspect-ratio: 4 / 5; }
  .axis-item strong { font-size: 16px; }
  .axis-item .axis-poles { font-size: 14px; }
  .axis-item small { font-size: 12px; }
}

/* Ver.0.3: email capture, paywall, subtype preview */
.email-screen,
.checkout-demo,
.paid-result {
  max-width: 900px;
  margin: 0 auto;
}
.email-title,
.checkout-demo h1,
.paid-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.email-lead,
.checkout-note,
.paid-intro,
.paid-section > p:not(.eyebrow) {
  max-width: 700px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
}
.email-lead { margin: 24px 0 0; }
.email-form {
  margin-top: 40px;
  max-width: 620px;
}
.email-form > label:first-child {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 900;
}
.email-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--base);
  color: var(--ink);
  padding: 17px 16px;
  font-size: 16px;
  outline: none;
}
.email-form input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}
.form-error {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.consent-row {
  margin-top: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
}
.consent-row input { margin-top: 3px; accent-color: var(--accent); }
.email-submit { display: block; margin-top: 26px; }
.email-back { margin-top: 20px; }
.dev-note.compact { max-width: 620px; }

.score-label-wrap { display: flex; flex-direction: column; gap: 2px; }
.score-title { color: var(--muted); font-size: 10px; font-weight: 700; }

.paywall-block {
  margin-top: 64px;
  padding-top: 46px;
  border-top: 1px solid var(--rule);
}
.paywall-block h2 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.paywall-block > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--body);
  font-size: 15px;
  line-height: 1.85;
}
.subtype-reveal {
  margin-top: 30px;
  max-width: 620px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
}
.subtype-reveal small { display: block; color: var(--muted); font-size: 11px; font-weight: 700; }
.subtype-reveal strong { display: block; margin-top: 5px; font-size: 28px; line-height: 1.35; font-weight: 900; letter-spacing: -0.02em; }
/* Ver.0.20: サブタイプ名は有料。判定済みであることだけを見せ、名前はマスクする。 */
.subtype-reveal.is-locked .subtype-masked {
  color: var(--ink);
  font-size: 22px;
  letter-spacing: .18em;
  user-select: none;
}
.paid-teaser { margin-top: 18px !important; }
.paywall-list {
  max-width: 620px;
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.paywall-list span {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  font-weight: 700;
}
.price-row {
  margin-top: 28px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.price-row strong { font-size: 34px; font-weight: 900; }
.price-row span { color: var(--muted); font-size: 12px; font-weight: 700; }

.checkout-demo { max-width: 720px; }
.checkout-product {
  margin-top: 36px;
  border-top: 1px solid var(--ink);
}
.checkout-product > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}
.checkout-product span { color: var(--muted); font-size: 12px; font-weight: 700; }
.checkout-product strong { font-size: 15px; font-weight: 900; }
.checkout-note { margin-top: 28px; }
.checkout-back { display: block; margin-top: 22px; }

.paid-result { max-width: 1100px; --result-color: var(--accent); }
.paid-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 48px;
  align-items: start;
}
.paid-base { margin: 0 0 10px; color: var(--muted); font-size: 18px; font-weight: 900; }
.paid-hero blockquote {
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--result-color);
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.55;
  font-weight: 900;
}
.paid-intro { margin-top: 24px; }
.paid-image { margin: 0; border: 0; background: transparent; }
.paid-image img { width: 100%; height: auto; object-fit: contain; }
.paid-score-block { margin-top: 48px; border-top: 1px solid var(--rule); }
.paid-score-block .score-fill { background: var(--result-color); }
.paid-section { margin-top: 70px; padding-top: 42px; border-top: 1px solid var(--rule); }
.paid-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.paid-preview-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.paid-preview-grid article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.paid-preview-grid article:nth-child(odd) { padding-right: 24px; }
.paid-preview-grid article:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.paid-preview-grid span { color: var(--result-color); font-size: 12px; font-weight: 900; }
.paid-preview-grid strong { font-size: 14px; line-height: 1.5; font-weight: 900; }

@media (max-width: 760px) {
  .email-title,
  .checkout-demo h1,
  .paid-hero h1 { font-size: 42px; }
  .paid-hero { grid-template-columns: 1fr; gap: 30px; }
  .paid-image { order: -1; max-width: 520px; margin-inline: auto; }
  .paywall-list,
  .paid-preview-grid { grid-template-columns: 1fr; }
  .paid-preview-grid article:nth-child(odd),
  .paid-preview-grid article:nth-child(even) { padding-left: 0; padding-right: 0; border-left: 0; }
}

@media (max-width: 520px) {
  .email-title,
  .checkout-demo h1,
  .paid-hero h1 { font-size: 36px; }
  .email-lead,
  .checkout-note,
  .paid-intro { font-size: 14px; }
  .paywall-block { margin-top: 48px; padding-top: 36px; }
  .paywall-block h2 { font-size: 30px; }
  .locked-result strong { font-size: 21px; }
  .price-row { align-items: flex-end; justify-content: space-between; }
  .price-row strong { font-size: 30px; }
  .checkout-product > div { grid-template-columns: 84px 1fr; gap: 12px; }
}

/* Ver.0.4: separate optional marketing consent */
.marketing-consent {
  margin-top: 10px;
  color: var(--body);
}
.marketing-consent b {
  color: var(--accent);
  font-weight: 900;
}

/* Share preview fallback: never navigate away from the diagnosis page. */
.share-preview-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 23, 25, 0.78);
}

.share-preview-modal {
  width: min(760px, 100%);
  max-height: min(90vh, 920px);
  overflow: auto;
  background: #FFFDFC;
  border-radius: 0;
  padding: 24px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.share-preview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.share-preview-head h2 {
  margin: 0 0 6px;
  font-size: clamp(22px, 4vw, 32px);
  line-height: 1.15;
}

.share-preview-head p {
  margin: 0;
  color: #6E6E6A;
  line-height: 1.6;
}

.share-preview-close {
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  color: #171719;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  padding: 4px 0 4px 12px;
}

.share-preview-image {
  display: block;
  width: min(100%, 480px);
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
  background: #FFFDFC;
}

.share-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-preview-note {
  margin: 14px 0 0;
  color: #6E6E6A;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .share-preview-backdrop { padding: 0; }
  .share-preview-modal {
    width: 100%;
    max-height: 100dvh;
    min-height: 100dvh;
    padding: 20px 18px 28px;
  }
  .share-preview-actions { grid-template-columns: 1fr; }
}

/* Ver.0.7: make sharing the primary action and retry a real button */
.result-actions-free,
.paid-share-actions {
  align-items: stretch;
}
.result-actions .share-main-button {
  margin: 0;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  min-width: 280px;
}
.result-actions .share-main-button:hover {
  filter: brightness(.94);
}
.result-actions .retry-button {
  min-width: 200px;
  background: var(--base);
}
@media (max-width: 520px) {
  .result-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .result-actions .share-main-button,
  .result-actions .retry-button {
    width: 100%;
    min-width: 0;
    text-align: center;
  }
}

/* Ver.0.8: full paid report */
.full-report-section > p:not(.eyebrow) {
  max-width: 760px;
}
.full-report-list {
  margin-top: 42px;
  border-top: 1px solid var(--rule);
}
.full-report-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 22px;
  padding: 30px 0 32px;
  border-bottom: 1px solid var(--rule);
}
.full-report-number {
  color: var(--result-color);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 900;
}
.full-report-content h3 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.full-report-content p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--body);
  font-size: 16px;
  line-height: 2;
  font-weight: 500;
}
.paid-end-note {
  margin-top: 70px;
  padding-top: 42px;
  border-top: 1px solid var(--rule);
}
.paid-end-note h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.045em;
}
.paid-end-note > p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 520px) {
  .full-report-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 0 26px;
  }
  .full-report-number { font-size: 13px; }
  .full-report-content h3 { font-size: 20px; }
  .full-report-content p { font-size: 14px; line-height: 1.9; }
}

/* Ver.0.9: richer paid-report touchpoints */
.report-main-copy {
  margin-top: 14px;
  /* レポート本文の改行・空行をそのまま反映します（DB側で段落を作れるように） */
  white-space: pre-line;
}
.report-touchpoints {
  max-width: 760px;
  margin-top: 24px;
}
.report-touchpoints h4 {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.report-touchpoints ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.report-touchpoints li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 20px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}
.report-touchpoints li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--result-color);
  font-weight: 900;
}
@media (max-width: 520px) {
  .report-touchpoints {
    margin-top: 20px;
  }
  .report-touchpoints h4 {
    font-size: 13px;
  }
  .report-touchpoints li {
    font-size: 13px;
    line-height: 1.8;
    padding-left: 16px;
  }
}

/* Ver.0.10: dynamic subtype badge, paid-result retention, PDF save */
.character-card {
  position: relative;
  background: transparent;
}

.purchase-retention-note {
  max-width: 680px !important;
  margin-top: 14px !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  line-height: 1.7 !important;
}

.result-save-note {
  max-width: 760px;
  margin-top: 54px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.result-save-note p {
  margin: 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.8;
}
.result-save-note strong { color: var(--ink); font-weight: 900; }
.pdf-save-button { min-width: 220px; }
.resume-button {
  margin-top: 12px;
  margin-left: 8px;
}

@media (max-width: 520px) {
  .resume-button {
    width: 100%;
    margin: 10px 0 0;
  }
  .pdf-save-button { width: 100%; min-width: 0; }
  .result-save-note { margin-top: 42px; }
}

/* ===== 16タイプ一覧（LP） ===== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  margin-top: 46px;
}
.type-card { margin: 0; }
.type-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: var(--soft);
}
.type-card figcaption {
  border-top: 1px solid var(--rule);
  padding: 12px 0 0;
  margin-top: 12px;
}
.type-card figcaption strong {
  display: block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.type-card figcaption span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
}

/* ===== FAQ（LP） ===== */
.faq-list { margin-top: 46px; }
.faq-item {
  border-top: 1px solid var(--rule);
  padding: 26px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 12px 48px;
}
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.04em;
}
.faq-a {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

@media (max-width: 960px) {
  .type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; }
  .faq-item { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 24px; }
}
@media (max-width: 520px) {
  .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 34px; }
  .type-card figcaption { padding-top: 10px; margin-top: 10px; }
  .type-card figcaption strong { font-size: 14px; }
  .type-card figcaption span { font-size: 11px; }
  .faq-list { margin-top: 34px; }
  .faq-q { font-size: 16px; }
  .faq-a { font-size: 14px; }
}

@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body {
    background: #fff !important;
    color: #171719 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .site-header,
  .site-footer,
  .result-actions,
  .result-save-note,
  .share-preview-backdrop,
  .dev-note {
    display: none !important;
  }
  .app-shell {
    max-width: none;
    min-height: 0;
    padding: 0;
  }
  .paid-result { max-width: none; }
  .paid-hero {
    grid-template-columns: 58% 42%;
    gap: 10mm;
    break-after: avoid-page;
  }
  .paid-hero h1 { font-size: 34pt; }
  .paid-hero blockquote { font-size: 15pt; }
  .paid-intro,
  .full-report-content p,
  .report-touchpoints li { font-size: 10pt; line-height: 1.75; }
  .paid-image { max-width: 100%; }
  .paid-score-block { margin-top: 10mm; }
  .paid-section { margin-top: 12mm; padding-top: 8mm; }
  .full-report-list { margin-top: 8mm; }
  .full-report-item {
    break-inside: avoid;
    page-break-inside: avoid;
    padding: 7mm 0;
  }
  .paid-end-note { break-inside: avoid; }
}

/* v0.12: character-card visual standard
   - rounded corners
   - white corner background
   - no black corner wedges
*/
.hero-gallery figure,
.result-image,
.paid-image {
  background: #FFFFFF;
}
.hero-gallery img,
.result-image img,
.paid-image img {
  border-radius: 22px;
}

/* v0.13: preserve the user-approved original character art.
   Raster assets already contain the unified rounded colored frame.
   White site background shows through transparent corners. */
.hero-gallery figure,
.result-image,
.paid-image {
  background: #fff;
}
.hero-gallery img,
.result-image img,
.paid-image img {
  display: block;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent;
}

/* v0.14: DB-save feedback */
.save-status {
  margin: 24px 0 0;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  border-left: 4px solid currentColor;
}
.save-status.success {
  color: #17633B;
  background: #F0F8F3;
}
.save-status.warning {
  color: #8A4B10;
  background: #FFF7EB;
}
.email-submit:disabled {
  opacity: .6;
  cursor: wait;
}


/* Ver.0.16: Stripe checkout / payment confirmation */
.checkout-loading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
  padding: 18px 0;
  border-top: 1px solid var(--rule, #DEDEDA);
  border-bottom: 1px solid var(--rule, #DEDEDA);
}
.checkout-loading p { margin: 0; }
.loading-dot {
  width: 14px;
  height: 14px;
  border: 2px solid #E23E68;
  border-right-color: transparent;
  border-radius: 50%;
  animation: love-honsho-spin .8s linear infinite;
  flex: 0 0 auto;
}
@keyframes love-honsho-spin { to { transform: rotate(360deg); } }
.checkout-error { color: #8A4B10; }
.payment-pending {
  max-width: 760px;
  margin: 8vh auto;
  padding: 0 18px;
}
.payment-pending h1 {
  margin: 12px 0 24px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.08;
}

/* Ver.0.8: 結果ページ内の課金CTAブロック
   Ver.0.22: 枠と背景を外しました。囲まれたCTAは広告と判断されて読み飛ばされる
   （バナーブラインドネス）ため、本文と地続きに見せます。囲むのはコンテンツだけ。 */
.result-cta-top {
  margin-top: 34px;
  max-width: 700px;
}
.result-cta-top-label {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.result-cta-top-text {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}
.result-cta-top-text b { color: var(--ink); font-weight: 900; }
.result-cta-top .primary-button { margin-top: 20px; }

@media (max-width: 520px) {
  .result-cta-top { margin-top: 28px; }
  .result-cta-top-text { font-size: 13.5px; }
}

@media print {
  .result-cta-top { display: none !important; }
}

/* Ver.0.9: メールゲート廃止 — 保存中画面と、結果ページ下部の任意オプトイン */
.saving-screen { max-width: 900px; margin: 0 auto; }
.saving-title {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 900;
}
.saving-screen .checkout-loading { margin-top: 36px; }

.email-optin {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
  max-width: 620px;
}
.email-optin h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.email-optin-lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  font-weight: 500;
}
.email-optin .email-form { margin-top: 24px; }
.email-optin-consent {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
  font-weight: 500;
}
.email-optin-consent a { color: var(--accent); }
.email-optin .email-submit { min-width: 240px; }
.email-optin-done {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--ink);
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .saving-title { font-size: 36px; }
  .email-optin { margin-top: 48px; padding-top: 32px; }
  .email-optin .email-submit { width: 100%; }
}

@media print {
  .email-optin { display: none !important; }
}

/* Ver.0.10: シェア／やり直しを課金CTAより下へ。
   課金ボタンのすぐ下に同じ塗りのボタンが並ぶと主役がぼやけるため、
   無料結果ページのシェアは枠線スタイルに落とします（有料ページは従来どおり）。 */
.result-actions-free {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.result-actions-free .share-main-button {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-weight: 900;
  padding: 15px 22px;
}
.result-actions-free .share-main-button:hover {
  filter: none;
  background: var(--soft);
}
.email-optin { margin-top: 56px; }
.result-actions-free .retry-button {
  border-color: var(--rule);
  color: var(--muted);
}
.result-actions-free .retry-button:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* Ver.0.17: 課金CTA直下の「お支払い方法」表記。
   ボタンより目立たせず、しかし決済前の不安を消せる位置に置きます。 */
.payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  max-width: 680px;
  margin: 14px 0 0;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 700;
}
.payment-methods-label {
  flex: 0 0 auto;
  padding: 3px 8px;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .02em;
}
.result-cta-top .payment-methods { margin-top: 12px; }

/* 決済確認画面では商品・料金と同じ定義リストの行として並べます（.checkout-product側の指定を使用） */
.checkout-product > div:last-child strong { font-weight: 900; }

@media (max-width: 520px) {
  .payment-methods {
    gap: 6px 8px;
    font-size: 12px;
  }
  .checkout-product > div { grid-template-columns: 84px 1fr; }
}

@media print {
  .payment-methods { display: none !important; }
}

/* ===== Ver.0.18: 課金導線の補強 ===== */

/* CTA直下のベネフィット行。枠線のみ・塗りなしで、ボタンより目立たせない。 */
.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 680px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.cta-benefits span {
  padding: 4px 9px;
  border: 1px solid var(--rule);
  color: var(--body);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

/* 有料10項目の目次 */
.paywall-list-label {
  max-width: 620px;
  margin: 28px 0 0 !important;
  color: var(--muted);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
}
.paywall-list { margin-top: 12px; }
.paywall-list span {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-right: 16px;
}
.paywall-list span i {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}

/* スマホ下部の固定CTA。PCでは出さない。 */
.sticky-cta { display: none; }

@media (max-width: 760px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: block;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--ink);
    background: #fff;
  }
  .sticky-cta .primary-button {
    width: 100%;
    margin: 0;
  }
  .sticky-cta p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    text-align: center;
  }
  /* 固定CTAが最終セクションを隠さないよう、下に余白を足す */
  .result-layout { padding-bottom: 96px; }

  /* Ver.0.21: サブタイプの説明ブロックを通過するまでは出さない */
  .sticky-cta {
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s;
  }
  .sticky-cta.is-visible {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

@media print {
  .sticky-cta { display: none !important; }
  .cta-benefits { display: none !important; }
}

/* ===== Ver.0.18: 4指標を「量」ではなく「両極のどちら寄りか」として描く ===== */
.score-row { grid-template-columns: 150px 1fr; }
.score-scale {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.score-pole {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.score-track {
  flex: 1 1 auto;
  height: 6px;
  min-width: 0;
  background: #ECE8E9;
  position: relative;
}
.score-center {
  position: absolute;
  left: 50%;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: #CFC9CA;
}
.score-marker {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  transform: translateY(-50%);
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--result-color, var(--ink));
}
.score-value {
  text-align: right;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.45;
  color: var(--body);
}

@media (max-width: 960px) {
  .score-row { grid-template-columns: 116px 1fr; gap: 10px; }
}

@media (max-width: 520px) {
  .score-row { grid-template-columns: 1fr; }
  .score-scale { grid-row: 2; grid-column: 1 / -1; }
  .score-pole { font-size: 9.5px; }
}

/* 長いラベルで「→」だけが行頭に落ちないように */
.primary-button { text-wrap: balance; }

/* 「買い切り」だけは他のベネフィットより一段強く見せる */
.cta-benefits span.is-key {
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 900;
}
.sticky-cta p b { color: var(--accent); font-weight: 900; }

/* ===== Ver.0.19: 「あなただけの例外」ブロックと、中間のボタンのみCTA ===== */
.exception-block {
  max-width: 700px;
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--ink);
}
.exception-eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .06em;
}
.exception-lead {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.7;
}
.exception-quote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
}
.exception-quote p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
.exception-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}
.exception-body {
  margin: 16px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}
.mid-cta {
  max-width: 700px;
  margin-top: 20px;
}
.mid-cta .cta-benefits { margin-top: 10px; }

/* ===== Ver.0.23: 01項目の見本 ===== */
.report-preview {
  max-width: 680px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}
.report-preview-eyebrow {
  margin: 0 !important;
  color: var(--accent);
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .06em;
}
.report-preview-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.report-preview-title i {
  color: var(--accent);
  font-style: normal;
  font-size: 13px;
  font-weight: 900;
}
.report-preview-body {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.9;
}
.report-preview-points { margin-top: 18px; }
.report-preview-points h4 {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: .04em;
}
.report-preview-points ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.report-preview-points li {
  padding: 11px 0 11px 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.8;
  text-indent: -16px;
}
.report-preview-points li::before {
  content: '―';
  margin-right: 8px;
  color: var(--accent);
  font-weight: 900;
}
.report-preview-note {
  margin: 16px 0 0 !important;
  color: var(--muted);
  font-size: 12px !important;
  line-height: 1.8;
}
/* Ver.0.24: ここで無料が終わることを、漫画アプリの試し読みと同じ見え方で示す */
.report-preview-end {
  margin: 20px 0 0 !important;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-align: center;
}

@media (max-width: 520px) {
  .report-preview-title { font-size: 17px; }
}

/* ===== Ver.0.25: 02項目の途中切り ===== */
.report-teaser {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.report-teaser-lead {
  margin: 14px 0 0 !important;
  color: var(--body);
  font-size: 13.5px !important;
  line-height: 1.8;
}
.report-teaser-fade { color: var(--muted); letter-spacing: .1em; }
.report-teaser-blur {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  filter: blur(5px);
  opacity: .55;
  user-select: none;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 30%, transparent 100%);
}
.report-teaser-blur li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.8;
}
.report-teaser-more {
  margin: 12px 0 0 !important;
  color: var(--muted);
  font-size: 12px !important;
  line-height: 1.8;
}

/* Ver.0.22: 有料10項目リストの直前に置くCTA */
.paywall-cta {
  max-width: 700px;
  margin-top: 26px;
}
/* 「試し読みはここまで」の直後は、壁とボタンを離さない。
   .primary-button 側に載っている margin-top: 36px を相殺します。 */
.report-preview + .paywall-cta { margin-top: 14px; }
.report-preview + .paywall-cta .primary-button { margin-top: 0; }
.paywall-cta .cta-benefits { margin-top: 10px; }

@media (max-width: 520px) {
  .exception-block { padding: 20px 18px; }
  .exception-lead { font-size: 15px; }
  .exception-quote p { font-size: 14px; }
}

@media print {
  .mid-cta { display: none !important; }
}

/* ===== Ver.0.20: 相性診断 ===== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* 結果ページ内の入口 */
.compat-entry {
  max-width: 700px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--ink);
}
.compat-entry h2 {
  margin: 0;
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.compat-entry-lead {
  margin: 14px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}
.compat-entry-lead b { color: var(--ink); font-weight: 900; }
.compat-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.compat-form input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  font-size: 15px;
}
.compat-form input:focus {
  outline: none;
  border-color: var(--ink);
}
.compat-form .secondary-button { flex: 0 0 auto; }
.compat-form input:disabled,
.compat-form button:disabled { opacity: .55; }

/* 相性結果ページ */
.compat-result { max-width: 760px; }
.compat-pair {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.compat-pair > div { flex: 1 1 0; min-width: 0; }
.compat-pair small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .06em;
}
.compat-pair strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(19px, 3.6vw, 26px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.compat-x {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 20px;
  font-weight: 900;
}
.compat-score {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}
.compat-score-number {
  flex: 0 0 auto;
  margin: 0;
  color: var(--result-color, var(--accent));
  line-height: 1;
}
.compat-score-number b { font-size: clamp(56px, 12vw, 84px); font-weight: 900; letter-spacing: -0.05em; }
.compat-score-number span { margin-left: 4px; font-size: 16px; font-weight: 900; }
.compat-score-label { margin: 0; font-size: 17px; font-weight: 900; line-height: 1.5; }
.compat-score-lead { margin: 8px 0 0; color: var(--body); font-size: 14px; line-height: 1.8; }

.compat-axes { margin-top: 34px; border-top: 1px solid var(--rule); }
.compat-axis { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.compat-axis-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.compat-axis-title { font-size: 14px; font-weight: 900; }
.compat-axis-tag {
  padding: 3px 9px;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}
.compat-axis.is-same .compat-axis-tag { border-color: var(--ink); color: var(--ink); }
.compat-axis.is-diff .compat-axis-tag { border-color: var(--accent); color: var(--accent); }
.compat-axis-text {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.9;
}
.compat-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}
.compat-cta { margin-top: 40px; }

@media (max-width: 520px) {
  .compat-form { flex-direction: column; }
  .compat-form .secondary-button { width: 100%; }
  .compat-pair { gap: 10px; }
  .compat-score { gap: 16px; }
}

@media print {
  .compat-entry { display: none !important; }
}

/* ===== Ver.0.26: 診断前の性別・年代 ===== */
.profile-title { font-size: clamp(26px, 4.2vw, 42px); }
.profile-group {
  margin: 40px 0 0;
  padding: 0;
  border: 0;
}
.profile-group legend {
  padding: 0;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 900;
}
.profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.profile-chip {
  appearance: none;
  border: 1px solid var(--rule);
  background: #fff;
  color: var(--ink);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
}
.profile-chip:hover { border-color: var(--ink); }
.profile-chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.profile-note {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.profile-wrap .primary-button[disabled] {
  opacity: .35;
  cursor: not-allowed;
  filter: none;
}
.profile-wrap .quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
}

/* ===== Ver.0.26: 結果ページのPR枠 ===== */
.pr-block {
  max-width: 700px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.pr-label {
  display: inline-block;
  margin: 0 0 14px;
  padding: 2px 8px;
  border: 1px solid var(--muted);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
.pr-block h2 {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.035em;
}
.pr-lead {
  margin: 12px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}
.pr-banner { display: inline-block; margin-top: 20px; }
.pr-banner img { height: auto; }
.pr-name {
  margin: 20px 0 0;
  font-size: 16px;
  font-weight: 900;
}
.pr-copy {
  margin: 6px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}
.pr-link {
  display: inline-block;
  margin-top: 16px;
  text-decoration: none;
}
.pr-link:hover { background: var(--soft); }
.pr-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.pr-imp {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
@media (max-width: 520px) {
  .profile-chip { padding: 11px 14px; font-size: 14px; }
  .pr-link { display: block; text-align: center; }
}
