/*
  美容サロン 集客診断 - スタイル
  ------------------------------------------------------------
  配色はロゴ（プラム × ローズゴールド）に合わせています。
  文字色と背景のコントラストは WCAG AA（4.5:1 以上）を目安にしています。
*/
:root {
  --ink: #2e2531;
  --ink-soft: #55485a;
  --muted: #6f6374;
  --plum: #5b3a52;
  --plum-deep: #46293f;
  --plum-soft: #efe4ea;
  --rose: #c48c98;
  --rose-soft: #f6e9ec;
  --gold: #b9976a;
  --gold-text: #7f6237;
  --gold-soft: #f4ecdf;
  --ivory: #faf6f1;
  --paper: #ffffff;
  --line: #e7dcd8;
  --line-strong: #d3c3c1;
  --sage: #3c7561;
  --sage-soft: #e7f1ec;
  --alert: #a63f36;
  --alert-soft: #fbecea;
  --shadow: 0 12px 30px rgba(70, 41, 63, .08);
  --shadow-soft: 0 4px 14px rgba(70, 41, 63, .06);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-display: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "Noto Serif JP", "Times New Roman", serif;
  --focus: 0 0 0 3px #fff, 0 0 0 6px var(--gold);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--plum); }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); }

.wrap { width: min(1040px, calc(100% - 32px)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 見出し・共通 ---------- */
h1, h2, h3 { color: var(--plum-deep); line-height: 1.4; letter-spacing: .01em; }
h1 { font-family: var(--font-display); font-weight: 700; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 0 0 8px; }
h3 { font-size: 1.08rem; margin: 0; }
.eyebrow {
  margin: 0 0 6px; color: var(--gold-text); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.section-note { margin: 0 0 14px; color: var(--muted); font-size: .92rem; }
.note-list { margin: 0; padding-left: 1.3em; color: var(--ink-soft); font-size: .92rem; }
.note-list li + li { margin-top: 4px; }

/* ---------- ボタン ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; line-height: 1.3;
  transition: background-color .16s ease, color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.button-primary { background: var(--plum); color: #fff; box-shadow: 0 8px 18px rgba(70, 41, 63, .2); }
.button-primary:hover { background: var(--plum-deep); }
.button-gold { background: var(--gold); color: #2e2531; }
.button-gold:hover { background: #c7a67a; }
.button-outline { background: var(--paper); color: var(--plum); border-color: var(--plum); }
.button-outline:hover { background: var(--plum-soft); }
.button-ghost { background: transparent; color: var(--ink-soft); border-color: var(--line-strong); }
.button-ghost:hover { background: var(--paper); color: var(--plum); }
.button-small { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.button[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- グローバルナビ ---------- */
.global-nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 12px rgba(70, 41, 63, .05);
}
.global-nav__inner {
  width: min(1200px, calc(100% - 32px)); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px;
}
.global-nav__brand { display: flex; align-items: center; gap: 10px; color: var(--plum-deep); text-decoration: none; white-space: nowrap; border-radius: 8px; }
.global-nav__logo { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.global-nav__title { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; font-weight: 700; letter-spacing: .12em; line-height: 1.1; color: var(--plum-deep); }
.global-nav__company { display: block; margin-top: 3px; color: var(--muted); font-size: .64rem; font-weight: 700; line-height: 1.2; }
.global-nav__links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(14px, 1.6vw, 24px); margin-left: auto; }
.global-nav__links a {
  color: var(--ink-soft); font-size: .84rem; font-weight: 700; text-decoration: none; white-space: nowrap;
  padding: 10px 2px 8px; border-bottom: 2px solid transparent; border-radius: 4px 4px 0 0;
}
.global-nav__links a:hover, .global-nav__links a.is-current { color: var(--plum); border-bottom-color: var(--gold); }
.global-nav__mobile-button { display: none; }
.global-nav__mobile-links { display: none; }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; padding: 48px 0 56px; color: var(--plum-deep);
  background-color: #f4efe9;
  background-image: linear-gradient(180deg, rgba(250, 246, 241, .78), rgba(250, 246, 241, .92)), url("../images/detail-diagnosis-hero-bg.webp");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-bottom: 1px solid rgba(185, 151, 106, .35);
}
.hero-inner { display: grid; gap: 18px; max-width: 760px; }
.hero h1 { margin: 6px 0 0; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.25; }
.hero h1 small { display: block; margin-top: 8px; font-family: var(--font-body); font-size: clamp(1rem, 2.4vw, 1.2rem); font-weight: 700; color: var(--gold-text); letter-spacing: .04em; }
.lead { margin: 0; font-size: clamp(1rem, 2.2vw, 1.12rem); color: var(--ink-soft); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.hero-facts li {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(185, 151, 106, .45);
  color: var(--plum-deep); font-size: .86rem; font-weight: 700;
}
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-actions .button { min-width: 240px; }
.privacy-note {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line);
  color: var(--ink); font-size: .9rem; line-height: 1.65;
}
.privacy-note .icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); font-weight: 700; flex: 0 0 auto; }
.privacy-note strong { display: block; color: var(--sage); }
.privacy-note p { margin: 0; }

/* ---------- メイン ---------- */
main { padding: 32px 0 64px; }
.panel { scroll-margin-top: 84px; }
.step-panel, .result-card, .intro-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-soft); padding: 22px 18px;
}
.intro-card { display: grid; gap: 18px; }
.intro-card p { margin: 0; }
.intro-card h2 { margin-top: 0; }
.field-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: field; }
.field-list li {
  position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas: "number title" "number description"; column-gap: 10px; row-gap: 2px; align-items: start;
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--ivory); border: 1px solid var(--line);
}
.field-list li::before {
  counter-increment: field; content: counter(field);
  grid-area: number;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--plum); color: #fff; font-weight: 700; font-size: .84rem;
}
.field-list strong { grid-area: title; display: block; color: var(--plum-deep); font-size: .96rem; line-height: 1.5; }
.field-list span { grid-area: description; display: block; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.privacy-box {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid #cfe1d8; background: var(--sage-soft);
  color: var(--ink); font-size: .92rem;
}
.privacy-box strong { display: block; color: var(--sage); margin-bottom: 4px; }
.privacy-box ul { margin: 6px 0 0; padding-left: 1.2em; }
.privacy-box li + li { margin-top: 2px; }
.notice {
  margin: 14px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--gold-soft); border: 1px solid #e6d5b6; color: var(--ink); font-size: .9rem;
}
.notice-soft { background: var(--ivory); border-color: var(--line); color: var(--ink-soft); }
.noscript-box {
  padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid #efc8c0; background: var(--alert-soft);
  color: var(--alert); font-weight: 700; font-size: .92rem;
}
.step-actions { display: grid; gap: 10px; margin-top: 8px; }
.step-actions .button { width: 100%; }

/* ---------- 進行表示 ---------- */
.progress {
  position: sticky; top: 68px; z-index: 10; margin-bottom: 14px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.progress-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; font-size: .86rem; }
.progress-step { color: var(--plum-deep); font-weight: 700; }
.progress-category { color: var(--muted); }
.progress-meta { display: flex; gap: 12px; color: var(--muted); }
.progress-time { color: var(--gold-text); font-weight: 700; }
.progress-bar { height: 8px; margin-top: 8px; border-radius: 999px; background: var(--plum-soft); overflow: hidden; }
.progress-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--rose), var(--plum)); transition: width .3s ease; }
.progress-dots { display: flex; justify-content: space-between; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.progress-dot { display: grid; justify-items: center; gap: 4px; flex: 1 1 0; min-width: 0; }
.progress-dot-mark { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); border: 2px solid transparent; }
.progress-dot.is-done .progress-dot-mark { background: var(--rose); }
.progress-dot.is-current .progress-dot-mark { background: var(--plum); border-color: var(--rose-soft); box-shadow: 0 0 0 2px var(--plum); }
.progress-dot-label { display: none; font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.progress-dot.is-current .progress-dot-label { color: var(--plum-deep); font-weight: 700; }

/* ---------- 質問 ---------- */
.category-head { padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.category-title { margin: 0 0 6px; }
.category-desc { margin: 0; color: var(--muted); font-size: .92rem; }
.question-list { display: grid; }
.question { margin: 0; padding: 20px 0 18px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; border-radius: 6px; }
.question:last-child { border-bottom: 0; }
.question-legend { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 0; margin-bottom: 12px; max-width: 100%; }
.question-num { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--plum-soft); color: var(--plum); font-size: .78rem; font-weight: 700; margin-top: 3px; }
.question-text { color: var(--ink); font-weight: 700; font-size: 1.02rem; line-height: 1.65; }
.choices { display: grid; gap: 8px; }
.choice {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px;
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper);
  color: var(--ink); font-size: .95rem; line-height: 1.55; cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.choice:hover { border-color: var(--rose); background: #fffafb; }
.choice-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.choice-mark {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff;
  display: grid; place-items: center; transition: border-color .16s ease, background-color .16s ease;
}
.choice-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.choice.is-checked { border-color: var(--plum); background: var(--plum-soft); box-shadow: inset 0 0 0 1px var(--plum); font-weight: 700; color: var(--plum-deep); }
.choice.is-checked .choice-mark { border-color: var(--plum); }
.choice.is-checked .choice-mark::after { background: var(--plum); }
.choice.is-focus { box-shadow: var(--focus); }
.choice.is-checked.is-focus { box-shadow: inset 0 0 0 1px var(--plum), var(--focus); }
.question.is-unanswered { padding-left: 12px; padding-right: 12px; background: var(--alert-soft); border-left: 4px solid var(--alert); }
.question-error { margin: 10px 0 0; color: var(--alert); font-weight: 700; font-size: .88rem; }
.na-note { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--sage-soft); border: 1px solid #cfe1d8; color: var(--sage); font-weight: 700; font-size: .9rem; }
.error-message {
  margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius-sm);
  color: var(--alert); background: var(--alert-soft); border: 1px solid #efc8c0; font-weight: 700; font-size: .92rem;
}
.form-actions {
  position: sticky; bottom: 0; z-index: 5; margin: 12px 0 0; padding: 10px 0 12px;
  background: linear-gradient(180deg, rgba(250, 246, 241, 0), var(--ivory) 30%);
}
.form-actions .button-outline { order: 2; }
.form-actions .button-primary { order: 1; }

/* ---------- 結果 ---------- */
.result { display: grid; gap: 18px; }
.result-card { padding: 22px 18px; }
.result-card-accent { border-color: #e2c9cf; background: linear-gradient(180deg, #fffafb, #fff 40%); }
.result-guard p { margin: 0 0 12px; }
.guard-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.guard-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--ivory); border: 1px solid var(--line); }
.result-hero { background: linear-gradient(180deg, #fff, #fbf6f7); }
.result-lead { margin: 0 0 18px; color: var(--muted); font-size: .92rem; }
.score-panel { display: grid; gap: 18px; justify-items: center; text-align: center; }
.score-ring { position: relative; width: 168px; height: 168px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--plum-soft); stroke-width: 10; }
.ring-fg { fill: none; stroke: var(--plum); stroke-width: 10; stroke-linecap: round; transition: stroke-dashoffset .9s ease; }
.score-ring-text { position: absolute; inset: 0; display: grid; place-content: center; gap: 0; color: var(--plum-deep); line-height: 1.05; }
.score-ring-text strong { font-family: var(--font-display); font-size: 3rem; font-weight: 700; }
.score-ring-text span { font-size: .8rem; color: var(--muted); font-weight: 700; }
.rank-panel { display: grid; gap: 4px; }
.rank-stage { margin: 0; color: var(--gold-text); font-size: .84rem; font-weight: 700; letter-spacing: .08em; }
.rank-name { margin: 0; font-family: var(--font-display); font-size: clamp(1.7rem, 5vw, 2.2rem); color: var(--plum-deep); font-weight: 700; line-height: 1.3; }
.rank-title { margin: 0; color: var(--plum); font-weight: 700; font-size: 1.02rem; }
.rank-text { margin: 6px 0 0; color: var(--ink-soft); font-size: .94rem; }

.score-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.score-row { display: grid; grid-template-columns: 1fr 64px; grid-template-areas: "name value" "bar bar"; align-items: center; gap: 6px 10px; }
.score-name { grid-area: name; color: var(--plum-deep); font-weight: 700; font-size: .92rem; line-height: 1.45; }
.bar { grid-area: bar; overflow: hidden; height: 10px; background: var(--plum-soft); border-radius: 999px; }
.bar > span { display: block; height: 100%; border-radius: inherit; background: var(--plum); }
.score-row.is-high .bar > span { background: var(--sage); }
.score-row.is-good .bar > span { background: var(--plum); }
.score-row.is-mid .bar > span { background: var(--gold); }
.score-row.is-low .bar > span { background: var(--rose); }
.score-value { grid-area: value; text-align: right; color: var(--plum-deep); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.score-value small { font-size: .74rem; margin-left: 2px; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.badge-na { background: var(--ivory); color: var(--muted); border: 1px solid var(--line-strong); }

.result-columns { display: grid; gap: 18px; }
.strength-list { margin: 0; padding: 0; list-style: none; }
.strength-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.strength-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.item-title { display: flex; justify-content: space-between; gap: 10px; color: var(--plum-deep); font-weight: 700; }
.item-score { color: var(--sage); white-space: nowrap; }
.item-copy { margin: 5px 0 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.7; }

.priority-list { display: grid; gap: 14px; }
.priority-card { padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper); }
.priority-head { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "rank name" "score score"; gap: 6px 10px; align-items: center; }
.priority-rank { grid-area: rank; display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--plum); color: #fff; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.priority-name { grid-area: name; margin: 0; font-size: 1.08rem; line-height: 1.45; }
.priority-score { grid-area: score; color: var(--gold-text); font-weight: 700; font-size: .9rem; }
.priority-tag { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--sage-soft); color: var(--sage); font-size: .84rem; font-weight: 700; }
.priority-meta { margin: 8px 0 0; color: var(--muted); font-size: .84rem; }
.priority-why { margin: 8px 0 0; color: var(--ink-soft); font-size: .92rem; }
.priority-subtitle { margin: 14px 0 6px; color: var(--plum-deep); font-weight: 700; font-size: .92rem; }
.action-list { margin: 0; padding: 0; list-style: none; counter-reset: action; display: grid; gap: 8px; }
.action-list li { position: relative; padding: 10px 12px 10px 42px; border-radius: 8px; background: var(--ivory); font-size: .92rem; line-height: 1.65; }
.action-list li::before {
  counter-increment: action; content: counter(action);
  position: absolute; left: 12px; top: 11px; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gold); color: #2e2531; font-size: .74rem; font-weight: 700;
}
.support-group + .support-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.support-for { margin: 0 0 6px; color: var(--plum-deep); font-weight: 700; font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.support-for-rank { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--plum-soft); color: var(--plum); font-size: .76rem; }
.support-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.support-list li { position: relative; padding-left: 20px; color: var(--ink); font-size: .92rem; }
.support-list li::before { content: ""; position: absolute; top: .75em; left: 2px; width: 8px; height: 8px; background: var(--gold); border-radius: 50%; }

.cta { background: var(--plum-deep); color: #fff; border-radius: var(--radius); padding: 26px 20px; box-shadow: var(--shadow); }
.cta h2 { color: #fff; }
.cta p { color: #e8dde3; margin: 10px 0 0; font-size: .94rem; }
.cta .button { margin-top: 18px; width: 100%; }
.cta .button-gold:focus-visible { box-shadow: 0 0 0 3px var(--plum-deep), 0 0 0 6px var(--gold); }
.consult-guide { margin-top: 16px; padding: 16px; border-radius: var(--radius-sm); background: #fff; color: var(--ink); border-left: 4px solid var(--gold); }
.consult-guide p { margin: 0; color: var(--plum-deep); font-weight: 700; }
.consult-guide ol { margin: 10px 0 0; padding-left: 1.3em; font-size: .92rem; }
.consult-guide li + li { margin-top: 5px; }
.google-form-frame { margin-top: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .55); border-radius: var(--radius-sm); background: #fff; }
.google-form-frame iframe { display: block; width: 100%; height: 980px; border: 0; background: #fff; }
.cta .form-privacy, .cta .form-fallback { margin-top: 14px; font-size: .82rem; line-height: 1.7; }
.cta .form-privacy a, .cta .form-fallback a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.cta .copy-message { margin-top: 12px; color: var(--sage); }
.disclaimer { margin: 0; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--paper); border: 1px dashed var(--line-strong); color: var(--muted); font-size: .84rem; line-height: 1.7; }
.copy-message { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); color: var(--sage); background: var(--sage-soft); border: 1px solid #bedbcf; font-weight: 700; font-size: .92rem; }
.copy-message.is-error { color: var(--alert); background: var(--alert-soft); border-color: #efc8c0; }
.result-actions { display: grid; gap: 10px; }

/* ---------- フッター ---------- */
.footer {
  padding: 52px 0 36px; color: var(--plum-deep); text-align: center;
  background-color: #f6f0e6; background-image: url("../images/footer-soft-gold-bg.jpg");
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-top: 1px solid rgba(185, 151, 106, .35);
}
.footer-inner { display: grid; gap: 10px; }
.footer-en { margin: 0; color: var(--gold-text); font-size: .78rem; font-weight: 700; letter-spacing: .14em; }
.footer h2 { margin: 2px 0; font-size: 1.4rem; }
.footer-copy { margin: 0; color: var(--ink-soft); font-size: 1rem; font-weight: 700; }
.footer-label { margin: 10px 0 4px; color: var(--gold-text); font-weight: 700; font-size: .82rem; letter-spacing: .08em; }
.footer-contact p { margin: 4px 0; }
.footer-contact a { display: inline-block; padding: 6px 4px; color: var(--plum-deep); font-weight: 700; text-decoration: none; border-radius: 6px; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copyright { margin: 14px 0 0; color: var(--muted); font-size: .75rem; }

/* ---------- 画面幅 ---------- */
@media (min-width: 600px) {
  .step-panel, .result-card, .intro-card { padding: 28px 26px; }
  .form-actions { margin: 14px 0 0; padding: 12px 0 14px; }
  .result-card { padding: 28px 26px; }
  .score-row { grid-template-columns: 220px 1fr 64px; grid-template-areas: "name bar value"; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-actions { grid-template-columns: 1fr 1fr; }
  .step-actions.is-single { grid-template-columns: 1fr; }
  .step-actions.is-single .button { width: auto; min-width: 280px; justify-self: center; }
  .form-actions .button-outline { order: 1; }
  .form-actions .button-primary { order: 2; }
  .result-actions { grid-template-columns: 1fr 1fr; }
  .result-actions .button-ghost { grid-column: 1 / -1; }
  .progress-dot-label { display: block; }
}
@media (min-width: 820px) {
  .hero { padding: 64px 0 72px; }
  main { padding-top: 40px; }
  .score-panel { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; gap: 30px; }
  .result-columns { grid-template-columns: .9fr 1.1fr; grid-template-areas: "strengths priorities" "support priorities"; align-items: start; }
  .col-strengths { grid-area: strengths; }
  .col-priorities { grid-area: priorities; }
  .col-support { grid-area: support; }
  .result-actions { grid-template-columns: 1fr 1fr; }
  .result-actions .button-ghost { grid-column: auto; }
  .cta { padding: 34px; }
  .cta .button { width: auto; }
  .field-list { grid-template-columns: 1fr 1fr; }
  .form-actions { position: static; margin: 20px 0 0; padding: 0; background: none; }
}
@media (max-width: 767px) {
  .global-nav__inner { min-height: 64px; }
  .global-nav__logo { width: 40px; height: 40px; }
  .global-nav__links { display: none; }
  .global-nav__mobile-button {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--plum-deep); font-size: 1.25rem; line-height: 1;
  }
  .global-nav__mobile-button[aria-expanded="true"] { background: var(--plum-soft); }
  .global-nav__mobile-links.is-open {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 12px 16px 14px;
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px rgba(70, 41, 63, .1);
  }
  .global-nav__mobile-links a {
    display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px;
    color: var(--plum-deep); font-size: .82rem; font-weight: 700; text-align: center; text-decoration: none;
  }
  .global-nav__mobile-links a.is-current { background: var(--plum-soft); color: var(--plum); border-color: var(--rose); }
  .global-nav__mobile-links a:last-child { grid-column: 1 / -1; background: var(--plum); border-color: var(--plum); color: #fff; }
  .progress { top: 64px; }
}

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
