/* 特典①「収益化タイプ診断」と同じ配色・書体・カードの形にそろえた共通スタイル */
:root {
  color-scheme: light;
  --ink: #493b3e;
  --muted: #766366;
  --rose: #a75c70;
  --rose-dark: #91495e;
  --gold: #ad8b54;
  --gold-ink: #896c42;
  --line: #e9d9d6;
  --paper: #fffcf9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 10% 0%, #f1dce0, transparent 55%), #f8f3ed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #91642d; outline-offset: 4px; }

header {
  max-width: 760px;
  margin: auto;
  padding: 24px 24px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 16px;
}
.brand { letter-spacing: .14em; }
.seal { color: #926f40; font-size: 24px; }

main { max-width: 760px; margin: auto; padding: 16px 20px 36px; min-height: 65vh; }
main:focus { outline: none; }

h1, h2, h3 {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1.6;
  font-weight: 500;
}
h1 { font-size: clamp(28px, 5vw, 42px); margin: 16px 0 22px; }
h2 { font-size: 25px; margin: 12px 0 24px; }
h3 { font-size: 20px; margin: 0 0 10px; }
p { margin: 0 0 18px; }

.card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 12px 50px #74434a08;
}

/* ---------- トップ ---------- */
.hero { text-align: center; padding-top: 42px; }
.hero h1 { letter-spacing: .06em; }
.eyebrow { font-size: 16px; letter-spacing: .15em; color: var(--rose); }
.lead { color: var(--muted); max-width: 510px; margin: 0 auto 26px; }

.goddess-mark { width: 104px; height: 112px; margin: 24px auto 8px; color: #b29461; position: relative; }
.goddess-mark::before {
  content: "";
  position: absolute;
  inset: 10px -20px -6px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #ead5c655, transparent 70%);
}
.goddess-mark svg { position: relative; width: 100%; height: 100%; }

.pillrow { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 22px 0; color: var(--muted); }
.pillrow span { border-radius: 30px; background: #f4eae5; padding: 5px 14px; }

.primary {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 18px 24px;
  background: var(--rose);
  color: #fff;
  font-weight: 600;
  min-height: 60px;
  box-shadow: 0 6px 18px #a75c701c;
}
.primary:hover { background: var(--rose-dark); }

.collection-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 38px 0 22px;
  font-family: "Yu Mincho", serif;
  font-size: 16px;
  color: #8e766c;
}
.collection-label span { height: 1px; width: 30px; background: #cfb998; }

.types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; text-align: center; }
.types.three { grid-template-columns: repeat(3, 1fr); }
.type {
  border: 1px solid #e5d5c8;
  border-radius: 90px 90px 14px 14px;
  padding: 24px 12px 22px;
  background: linear-gradient(160deg, #fffdf9, #f7eee9);
  position: relative;
  overflow: hidden;
}
.type:nth-child(2), .type:nth-child(3) { background: linear-gradient(160deg, #fffdf9, #f5e8ec); }
.type-art { width: 76px; height: 76px; margin: 0 auto 8px; color: var(--gold); }
.type-art svg { height: 100%; width: 100%; }
.type-en { font-family: Georgia, serif; font-size: 12px; letter-spacing: .28em; color: #9b7a48; margin-bottom: 8px; }
.type h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: .025em; }
.type p { font-size: 16px; line-height: 1.8; color: #806c70; margin: 0; text-wrap: pretty; }

/* ---------- 質問 ---------- */
.progressline { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); margin-bottom: 10px; }
.progressline span:last-child { flex: none; white-space: nowrap; }
.track { height: 6px; border-radius: 6px; background: #eadfd9; margin-bottom: 28px; overflow: hidden; }
.fill { height: 100%; background: var(--rose); transition: width .2s; }
.choices { display: grid; gap: 14px; }
.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 15px;
  color: var(--ink);
  min-height: 72px;
  line-height: 1.7;
}
.choice:hover, .choice[aria-pressed="true"] { background: #f7eaed; border-color: var(--rose); }
.choices.compact { gap: 10px; }
.choices.compact .choice { min-height: 52px; padding: 10px 16px; }
.letter {
  flex: 0 0 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #d9c2bb;
  border-radius: 50%;
  font-size: 14px;
  color: var(--rose);
}
.q-category {
  display: inline-block;
  border-radius: 30px;
  background: #f4eae5;
  color: var(--muted);
  padding: 2px 14px;
  margin-bottom: 6px;
}
.q-hint { color: var(--muted); margin: -12px 0 22px; }
.back { background: none; border: 0; color: var(--muted); padding: 16px 0; margin-top: 12px; }

/* ---------- 結果 ---------- */
.resulttop { text-align: center; border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 18px; }
.resulttop h1 { font-size: 32px; }
.resulttop .icon { width: 90px; height: 90px; margin: 20px auto; color: var(--gold); }
.resulttop .icon svg { width: 100%; height: 100%; }
.resulttop .teaser { color: var(--gold-ink); margin: 0; }
.nb { display: inline-block; }

.section { margin: 28px 0; }
.section p:last-child { margin-bottom: 0; }
.steps { padding-left: 24px; margin: 0; }
.steps li { padding: 4px 0 10px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { padding: 4px 0 6px 1.4em; position: relative; }
.plain li::before { content: "・"; position: absolute; left: 0; color: var(--rose); }

.action { background: #f4e6e9; border-radius: 20px; padding: 24px; margin: 20px 0; }
.soft { background: #f3eee4; padding: 24px; border-radius: 20px; margin: 20px 0; }
.action p:last-child, .soft p:last-child { margin-bottom: 0; }
.foundation { background: #f5eee0; border: 1px solid #e2d3b7; margin-bottom: 22px; }
.secondary { border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin: 22px 0; }
.secondary h2 { font-size: 22px; margin: 8px 0; }
.secondary p:last-child { margin-bottom: 0; }
.common { padding: 20px 0; color: var(--muted); }

.rank-label { color: var(--muted); letter-spacing: .1em; }
.badge {
  display: inline-block;
  border-radius: 30px;
  padding: 2px 14px;
  background: var(--rose);
  color: #fff;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.badge.sub { background: #f4eae5; color: var(--muted); }

.concept {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.quote {
  border-left: 3px solid #d8c2a2;
  padding: 2px 0 2px 16px;
  margin: 0 0 18px;
}

/* 健康診断：点数と項目別の結果 */
.score { font-family: Georgia, "Hiragino Mincho ProN", serif; font-size: 68px; line-height: 1.2; color: var(--rose); margin: 6px 0 0; }
.score small { font-size: 24px; margin-left: 4px; color: var(--muted); }
.meter { margin: 0 0 18px; }
.meter:last-child { margin-bottom: 0; }
.meter-head { display: flex; justify-content: space-between; gap: 12px; }
.meter-head span:last-child { color: var(--muted); white-space: nowrap; }
.meter .track { margin: 6px 0 0; height: 10px; border-radius: 10px; }
.meter .fill { border-radius: 10px; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 16px 0; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; padding-top: 4px; }
.check-head { display: flex; gap: 12px; align-items: flex-start; }
.mark {
  flex: 0 0 auto;
  min-width: 96px;
  white-space: nowrap;
  text-align: center;
  border-radius: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.mark.ok { border-color: #cdb894; color: var(--gold-ink); background: #fbf5ea; }
.mark.ng { border-color: #dcaeb9; color: var(--rose-dark); background: #f9ecef; }
.check-title { font-weight: 600; }
.check-advice { color: var(--muted); margin: 8px 0 0; }

/* ---------- 個別面談の案内 ---------- */
.consultation {
  text-align: center;
  margin: 36px 0 28px;
  padding: 30px 24px 24px;
  border: 1px solid #d8c2a2;
  border-radius: 80px 80px 22px 22px;
  background: linear-gradient(150deg, #fffdf8, #f5e6e9);
}
.consultation-mark { width: 72px; height: 80px; margin: 0 auto 12px; color: var(--gold); }
.consultation-mark svg { width: 100%; height: 100%; }
.consultation-limit {
  display: inline-block;
  border: 1px solid #cdb894;
  border-radius: 30px;
  padding: 2px 18px;
  background: #fbf5ea;
  color: var(--gold-ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .15em;
}
.consultation-only { display: block; margin-top: 12px; color: var(--rose-dark); letter-spacing: .06em; }
.consultation h2 { font-size: 26px; margin: 10px 0 20px; }
.consultation p { color: var(--muted); }
.consultation-link { text-decoration: none; font-size: 16px; line-height: 1.8; padding: 18px 12px; }
.consultation .consultation-note { font-size: 16px; margin: 14px 0 0; }
.restart-button { background: transparent; color: var(--rose); border: 1px solid var(--line); box-shadow: none; }
.restart-button:hover { background: #f7eaed; }

footer {
  border-top: 1px solid var(--line);
  max-width: 760px;
  margin: auto;
  padding: 24px 24px 32px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
footer p { margin: 0; }

@media (max-width: 560px) {
  .types.three { grid-template-columns: 1fr; }
  .types.three .type { border-radius: 22px; padding: 18px 16px; display: grid; grid-template-columns: 60px 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .types.three .type-art { width: 56px; height: 56px; margin: 0; grid-row: 1 / span 3; }
  .types.three .type-en { margin-bottom: 2px; }
  .types.three .type h3 { margin-bottom: 4px; }
}

@media (max-width: 480px) {
  header { padding: 18px 20px 6px; }
  .card { padding: 26px 20px; border-radius: 22px; }
  main { padding: 12px 14px 26px; }
  h2 { font-size: 23px; }
  .hero { padding-top: 28px; }
  .types { gap: 10px; }
  .type { padding: 22px 8px 20px; }
  .type h3 { font-size: 17px; letter-spacing: 0; }
  .type-art { width: 64px; height: 64px; }
  .collection-label { gap: 8px; }
  .collection-label span { width: 16px; }
  .choice { padding: 16px 13px; }
  .resulttop h1 { font-size: 28px; }
  .action, .soft, .secondary { padding: 20px; }
  .consultation { padding: 28px 16px 22px; }
  .consultation h2 { font-size: 23px; }
  .score { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
