/* ===== 風邪・免疫力セルフチェック — shared styles ===== */
:root {
  --teal-900: #0e5f54;
  --teal-800: #136d5f;
  --teal-700: #17786a;
  --teal-600: #1b8a78;
  --teal-500: #2a9d87;
  --teal-100: #d4ece4;
  --mint-50: #f3faf7;
  --mint-100: #eaf6f1;
  --mint-200: #ddf0e8;
  --orange: #ef8200;
  --orange-soft: #f49b33;
  --yellow-1: #ffd23e;
  --yellow-2: #ffa81c;
  --text: #33514b;
  --muted: #69887f;
  --line: #dcebE4;
  --card-line: #e2efe9;
  --shadow-card: 0 4px 14px rgba(23, 120, 106, 0.08);
  --radius-lg: 22px;
  --radius-md: 14px;
  font-size: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---- section heading with leaves ---- */
.sec-head {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-bottom: 30px;
}
.sec-head img { width: 34px; height: auto; opacity: 0.85; }
.sec-head img.flip { transform: scaleX(-1); }
.sec-head h2 {
  font-size: 26px; font-weight: 800; color: var(--teal-700); letter-spacing: 0.04em;
}
.sec-head .light { font-size: 17px; font-weight: 700; color: var(--muted); }

/* ---- cards ---- */
.card {
  background: #fff; border: 1px solid var(--card-line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
}

/* ---- CTA buttons ---- */
.btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2));
  color: #fff; font-weight: 800; font-family: inherit;
  border: none; border-radius: 999px; cursor: pointer;
  padding: 16px 44px; font-size: 21px; letter-spacing: 0.06em;
  box-shadow: 0 6px 16px rgba(255, 168, 28, 0.45), inset 0 -3px 0 rgba(190, 110, 0, 0.25);
  text-shadow: 0 1px 2px rgba(160, 90, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(255, 168, 28, 0.55), inset 0 -3px 0 rgba(190, 110, 0, 0.25); }
.btn-cta:active { transform: translateY(0); }
.btn-cta img { width: 30px; height: 30px; border-radius: 50%; background: #fff; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: #fff; color: var(--teal-700); font-weight: 700; font-family: inherit;
  border: 1.5px solid var(--teal-100); border-radius: 999px; cursor: pointer;
  padding: 11px 36px; font-size: 16px; letter-spacing: 0.05em;
  box-shadow: 0 3px 10px rgba(23, 120, 106, 0.10);
  transition: background 0.15s ease;
}
.btn-ghost:hover { background: var(--mint-50); }
.btn-ghost .tri {
  width: 0; height: 0; border-left: 8px solid var(--teal-600);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

/* ---- badge pill ---- */
.badge-pill {
  display: inline-block; background: var(--teal-700); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 20px; border-radius: 999px;
}

/* ---- FAQ accordion ---- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
.faq-item {
  background: #fff; border: 1px solid var(--card-line); border-radius: 14px;
  box-shadow: var(--shadow-card); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 12px;
  background: none; border: none; cursor: pointer; font-family: inherit;
  padding: 13px 16px; font-size: 15.5px; font-weight: 700; color: var(--text);
  text-align: left;
}
.faq-q img { width: 26px; height: 26px; flex-shrink: 0; }
.faq-q .chev {
  margin-left: auto; flex-shrink: 0; width: 10px; height: 10px;
  border-right: 2px solid #9bb8af; border-bottom: 2px solid #9bb8af;
  transform: rotate(45deg); transition: transform 0.25s ease;
}
.faq-item.open .faq-q .chev { transform: rotate(225deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
}
.faq-a p { padding: 0 18px 14px 56px; font-size: 14px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 160px; }

/* ---- gauge ---- */
.gauge-wrap { position: relative; width: 220px; margin: 0 auto; }
.gauge-wrap svg { width: 100%; height: auto; display: block; }
.gauge-num {
  position: absolute; left: 0; right: 0; bottom: 8px; text-align: center;
}
.gauge-num .n { font-size: 46px; font-weight: 800; color: #3c4a47; line-height: 1; }
.gauge-num .d { font-size: 15px; font-weight: 700; color: #9bb0aa; }
.gauge-ends {
  display: flex; justify-content: space-between; font-size: 12px; color: #9bb0aa;
  margin-top: 2px; padding: 0 6px; font-weight: 700;
}

/* ---- category score rows ---- */
.score-row { display: grid; grid-template-columns: 34px 64px 1fr auto; align-items: center; gap: 10px; }
.score-row img { width: 30px; height: auto; justify-self: center; }
.score-row .lbl { font-size: 15px; font-weight: 700; color: var(--text); }
.score-row .bar { height: 8px; background: #e7efec; border-radius: 99px; overflow: hidden; }
.score-row .bar i { display: block; height: 100%; border-radius: 99px; transition: width 0.8s cubic-bezier(.2,.7,.3,1); }
.score-row .val { font-size: 18px; font-weight: 800; color: #3c4a47; }
.score-row .val small { font-size: 11px; color: #9bb0aa; font-weight: 700; }

/* ---- advice rows ---- */
.advice-item {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start;
  background: var(--mint-50); border: 1px solid var(--card-line); border-radius: 14px;
  padding: 12px 14px;
}
.advice-item img { width: 38px; height: auto; margin-top: 2px; }
.advice-item h4 { font-size: 15px; font-weight: 800; color: var(--teal-800); }
.advice-item p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---- decorative sparkles ---- */
.deco { position: absolute; pointer-events: none; user-select: none; }

/* ---- responsive ---- */
@media (max-width: 760px) {
  .faq-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 21px; }
  .sec-head img { width: 26px; }
  .btn-cta { font-size: 18px; padding: 14px 34px; }
}
