/*
 * Design reminder — みちしるべの島：手帳と地図のような遊歩型レイアウト。
 * シードイエローを出発点に、既存イラストは小さくせず主役として扱う。
 */
:root {
  --shell: #fffaf1;
  --paper: #fffdf8;
  --ink: #233746;
  --muted: #5f6f79;
  --yellow: #f8c545;
  --yellow-deep: #c78c1c;
  --turquoise: #34b8b1;
  --turquoise-pale: #e0f5f1;
  --coral: #ef7866;
  --coral-pale: #fde5df;
  --navy: #1e4c63;
  --line: #dfe8e5;
  --shadow: 0 18px 44px rgba(45, 70, 76, 0.1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: var(--shell);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--shell); color: var(--ink); line-height: 1.75; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip-link { position: fixed; top: -4rem; left: 1rem; z-index: 30; padding: 0.7rem 1rem; border-radius: 1rem; background: var(--ink); color: #fff; font-weight: 700; transition: top 160ms var(--ease-out); }
.skip-link:focus { top: 1rem; }
.test-ribbon { position: fixed; z-index: 25; right: 0.75rem; bottom: 5.25rem; max-width: 12rem; padding: 0.38rem 0.7rem; border: 1px solid rgba(35,55,70,0.15); border-radius: 100px; background: rgba(255,253,248,0.94); box-shadow: 0 4px 14px rgba(35,55,70,0.1); color: var(--muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; backdrop-filter: blur(10px); }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 74px; padding: 0.65rem max(1rem, calc((100vw - 980px) / 2)); border-bottom: 1px solid rgba(35,55,70,0.08); background: rgba(255,250,241,0.95); backdrop-filter: blur(16px); }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); font-family: "Zen Maru Gothic", sans-serif; font-size: 0.78rem; font-weight: 700; line-height: 1.1; text-decoration: none; letter-spacing: 0.03em; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand b { font-size: 0.95rem; }
.header-context { display: flex; align-items: center; gap: 0.55rem; margin: 0; font-size: 0.68rem; font-weight: 700; color: var(--muted); }
.header-context b { display: inline-grid; min-width: 2.25rem; place-items: center; padding: 0.2rem 0.45rem; border-radius: 100px; background: var(--turquoise-pale); color: var(--navy); }

main { overflow: hidden; }
.course-hero { position: relative; display: grid; grid-template-columns: 1fr; min-height: 590px; background: radial-gradient(circle at 14% 18%, rgba(248,197,69,0.16) 0 2.5rem, transparent 2.55rem), radial-gradient(circle at 93% 79%, rgba(52,184,177,0.12) 0 5.6rem, transparent 5.7rem), var(--shell); }
.course-hero::before { position: absolute; top: 9rem; left: -5.5rem; width: 14rem; height: 8rem; border: 2px dashed rgba(52,184,177,0.33); border-right: 0; border-radius: 54% 0 0 54%; content: ""; transform: rotate(-15deg); }
.hero-copy { position: relative; z-index: 2; padding: 3.75rem 1.25rem 0; }
.hero-copy::after { position: absolute; right: 1rem; bottom: 1.1rem; width: 2.55rem; height: 3.4rem; border-radius: 0.35rem 0.35rem 0.8rem 0.8rem; background: var(--yellow); box-shadow: 0 4px 0 rgba(199,140,28,0.18); content: ""; transform: rotate(7deg); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 83%, 0 100%); }
.eyebrow, .section-kicker, .card-kind { margin: 0; color: var(--navy); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; }
.eyebrow { display: flex; align-items: center; gap: 0.5rem; }
.eyebrow-dot { width: 0.6rem; height: 0.6rem; border-radius: 60% 45% 58% 42%; background: var(--yellow); transform: rotate(-25deg); box-shadow: 0 0 0 5px rgba(248,197,69,0.18); }
h1, h2, h3 { font-family: "Zen Maru Gothic", sans-serif; line-height: 1.35; }
h1 { margin: 0.7rem 0 1.1rem; font-size: clamp(2.75rem, 12.3vw, 4.5rem); letter-spacing: -0.06em; }
h1 em { position: relative; font-style: normal; color: var(--turquoise); }
h1 em::after { position: absolute; right: -0.04em; bottom: 0.04em; left: 0; height: 0.24em; border-radius: 99px; background: rgba(248,197,69,0.78); content: ""; z-index: -1; transform: rotate(-1.5deg); }
.hero-intro { margin: 0; font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.9; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.6rem; color: var(--muted); font-size: 0.72rem; font-weight: 700; }
.hero-art-wrap { position: absolute; right: -2.8rem; bottom: -0.25rem; left: 30%; height: 310px; overflow: hidden; border-radius: 115px 0 0 0; transform: rotate(-2deg); box-shadow: -14px 18px 0 rgba(248,197,69,0.18); }
.hero-art-wrap::after { position: absolute; top: 0.2rem; right: 1.4rem; width: 2.25rem; height: 3rem; border-radius: 0.3rem 0.3rem 0.7rem 0.7rem; background: var(--coral); content: ""; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 83%, 0 100%); transform: rotate(8deg); }
.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transform: rotate(2deg) scale(1.05); }
.journey-label { position: absolute; top: 0.8rem; left: 1rem; display: grid; width: 4.4rem; height: 4.4rem; place-items: center; border-radius: 50% 50% 42% 58%; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 0.72rem; font-weight: 900; line-height: 1.25; text-align: center; transform: rotate(-10deg); box-shadow: 0 8px 0 rgba(199,140,28,0.16); }

.journey-panel { position: relative; z-index: 3; margin: -1rem 1rem 0; padding: 1.25rem 1rem 1rem; border: 1px solid #e5eee9; border-radius: 1.5rem; background: linear-gradient(135deg, rgba(255,253,248,0.98) 0 48%, rgba(248,197,69,0.11) 48% 50%, rgba(255,253,248,0.98) 50%); box-shadow: var(--shadow); }
.journey-heading { display: flex; align-items: end; justify-content: space-between; }
.journey-heading h2 { margin: 0.05rem 0 0; font-size: 1.12rem; }
.progress-count { color: var(--turquoise); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.1rem; font-weight: 900; }
.journey-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: start; gap: 0.1rem; margin-top: 1.3rem; }
.journey-line { position: absolute; top: 10px; right: 7%; left: 7%; height: 3px; background: var(--line); }
.journey-stop { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.38rem; color: #87979c; font-size: 0.58rem; font-weight: 700; text-align: center; }
.journey-stop i { width: 1.35rem; height: 1.35rem; border: 3px solid var(--shell); border-radius: 50%; background: var(--line); box-shadow: 0 0 0 1px var(--line); }
.journey-stop.is-current i { background: var(--yellow); box-shadow: 0 0 0 2px var(--yellow); animation: currentPulse 1.8s ease-in-out infinite; }
.journey-stop.is-done { color: var(--navy); }
.journey-stop.is-done i { background: var(--turquoise); box-shadow: 0 0 0 1px var(--turquoise); }

.course-intro { display: grid; grid-template-columns: 105px 1fr; align-items: center; gap: 0.25rem; margin: 2.25rem 1.25rem 0; padding: 1.25rem 0.45rem 1.2rem 0; border-bottom: 1px dashed #c8dad5; }
.course-intro img { width: 105px; height: 115px; object-fit: cover; border-radius: 60% 45% 55% 40%; }
.course-intro p:not(.section-kicker) { margin: 0.25rem 0 0; font-family: "Zen Maru Gothic", sans-serif; font-size: 0.94rem; font-weight: 700; line-height: 1.65; }
.course-intro small { display: block; margin-top: 0.32rem; color: var(--muted); font-size: 0.64rem; line-height: 1.5; }

.learning-path { max-width: 720px; margin: 0 auto; padding: 3.2rem 1rem 7rem; }
.path-title-block { margin: 0 0 1.75rem 0.35rem; }
.path-title-block h2 { margin: 0.1rem 0; font-size: 1.7rem; letter-spacing: -0.04em; }
.path-title-block > p:last-child { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.cards { position: relative; display: grid; gap: 2.5rem; }
.cards::before { position: absolute; z-index: 0; top: 2.2rem; bottom: 2.2rem; left: 1.6rem; border-left: 3px dashed rgba(52,184,177,0.4); content: ""; transform: rotate(1deg); }
.learning-card { position: relative; z-index: 1; overflow: visible; border: 1px solid #e3ece7; border-radius: 1.55rem; background: var(--paper); box-shadow: 0 10px 26px rgba(35,55,70,0.07); scroll-margin-top: 94px; }
.learning-card::after { position: absolute; z-index: 3; top: -0.78rem; right: 1.1rem; width: 2.55rem; height: 3.25rem; border-radius: 0.32rem 0.32rem 0.7rem 0.7rem; background: var(--yellow); box-shadow: 0 4px 0 rgba(199,140,28,0.16); content: ""; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); transform: rotate(4deg); }
.learning-card:nth-child(2) { margin-left: 0.8rem; background: linear-gradient(135deg, #fffdf8 0 72%, rgba(239,120,102,0.08) 72%); }
.learning-card:nth-child(2)::after { background: var(--coral); transform: rotate(-5deg); }
.learning-card:nth-child(3) { margin-right: 0.65rem; background: linear-gradient(135deg, rgba(248,197,69,0.1) 0 13%, #fffdf8 13%); }
.learning-card:nth-child(3)::after { background: var(--turquoise); transform: rotate(5deg); }
.learning-card:nth-child(4) { margin-left: 0.35rem; border-style: dashed; background: linear-gradient(135deg, #f8fcfd 0 52%, #fef8e2 52%); }
.learning-card:nth-child(4)::after { background: var(--navy); transform: rotate(-4deg); }
.learning-card::before { position: absolute; top: 0; left: 0; width: 0.45rem; height: 100%; background: var(--turquoise); content: ""; }
.learning-card:nth-child(2)::before { background: var(--coral); }
.learning-card:nth-child(3)::before { background: var(--yellow); }
.learning-card:nth-child(4)::before { background: var(--navy); }
.card-step { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem 0 1.45rem; color: var(--muted); font-family: "Zen Maru Gothic", sans-serif; font-size: 0.68rem; font-weight: 900; }
.step-icon { padding: 0.2rem 0.55rem; border-radius: 100px; background: var(--turquoise-pale); color: var(--navy); }
.learning-card:nth-child(2) .step-icon { background: var(--coral-pale); }
.learning-card:nth-child(3) .step-icon { background: #fff1bf; }
.meter-card .step-icon { background: #e6edf2 !important; }
.step-number { letter-spacing: 0.08em; }
.card-content { padding: 0.75rem 1.35rem 1.45rem; }
.card-kind { color: var(--turquoise); }
.learning-card:nth-child(2) .card-kind { color: var(--coral); }
.learning-card:nth-child(3) .card-kind { color: var(--yellow-deep); }
.meter-card .card-kind { color: var(--navy) !important; }
.card-question { margin: 0.5rem 0 1.35rem; font-size: clamp(1.25rem, 5.6vw, 1.55rem); letter-spacing: -0.035em; }
.reveal-button, .talk-save, .feedback-link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0.75rem 1.05rem; border: 0; border-radius: 1.1rem; background: var(--ink); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-size: 0.92rem; font-weight: 900; text-decoration: none; transition: transform 160ms var(--ease-out), background 160ms var(--ease-out); }
.reveal-button { width: 100%; border: 2px solid rgba(199,140,28,0.16); background: var(--yellow); color: var(--navy); box-shadow: 0 4px 0 rgba(199,140,28,0.16); }
.reveal-spark { margin-right: 0.35rem; color: var(--coral); font-size: 1.25rem; }
.reveal-button:active, .talk-save:active, .bottom-action button:active { transform: scale(0.97); }
.card-answer { margin: 0; padding: 1.25rem 0 1.4rem; border-radius: 0; background: #f2fbf8; opacity: 0; transform: translateY(10px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.learning-card:nth-child(2) .card-answer { background: #fff3ef; }
.learning-card:nth-child(3) .card-answer { background: #fff8e6; }
.card-answer.is-visible { opacity: 1; transform: translateY(0); }
.answer-text { margin: 0.8rem 1.25rem 1rem; font-size: 0.93rem; font-weight: 700; line-height: 1.85; }
.card-answer figure { margin: 1rem 0 0; }
.card-image { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; object-fit: contain; background: #fff; box-shadow: 0 8px 18px rgba(35,55,70,0.08); }
.card-answer figcaption { margin: 0.65rem 1.25rem 0; color: var(--muted); font-size: 0.68rem; font-weight: 600; line-height: 1.6; }
.card-note { margin: 0.95rem 1.25rem 0; padding-top: 0.85rem; border-top: 1px dashed #bdd9d1; color: var(--ink); font-size: 0.78rem; font-weight: 600; line-height: 1.8; }

.meter-card { background: #fcfdff; }
.meter-card .card-content { padding-right: 0.45rem; padding-left: 0.45rem; }
.meter-card .card-kind, .meter-card .meter-ask, .meter-card .meter-scale, .meter-card .meter-ends, .meter-card .slider-guidance, .meter-card .meter-response { margin-right: 0.5rem; margin-left: 0.5rem; }
.meter-figure { margin: 0.2rem -0.45rem 1.2rem; overflow: hidden; border-radius: 0; background: #edf5f6; box-shadow: 0 10px 22px rgba(35,55,70,0.08); }
.meter-image { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.slider-guidance { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.64rem; font-weight: 600; }
.meter-response { margin-top: 1rem; padding: 0.95rem 1rem; border-radius: 0.9rem; background: #eef8f7; color: var(--ink); font-size: 0.84rem; font-weight: 700; line-height: 1.75; }

.home-talk { position: relative; display: grid; grid-template-columns: 82px 1fr; gap: 1rem; max-width: 700px; margin: 0 1rem 3rem; padding: 1.5rem 1.25rem; border: 1px solid #f0d278; border-radius: 1.45rem; background: linear-gradient(135deg, #fff8dc 0 68%, rgba(52,184,177,0.13) 68%); }
.home-talk::before { position: absolute; top: -1.25rem; left: 13%; width: 3.4rem; border-top: 3px dashed var(--turquoise); content: ""; transform: rotate(-20deg); }
.talk-flag { display: grid; width: 4.6rem; height: 5.5rem; place-items: center; border-radius: 0.7rem 0.7rem 1.5rem 1.5rem; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 0.67rem; font-weight: 900; line-height: 1.35; text-align: center; transform: rotate(-3deg); }
.home-talk h2 { margin: 0.08rem 0 0.75rem; font-size: 1.4rem; }
.home-talk p:not(.section-kicker) { margin: 0; font-size: 0.84rem; font-weight: 600; line-height: 1.8; }
.talk-save { width: 100%; margin-top: 1rem; background: var(--navy); font-size: 0.75rem; }
.talk-save:disabled { background: #8ca0a5; cursor: default; }
.talk-saved { margin-top: 0.75rem !important; color: var(--navy); font-size: 0.72rem !important; }

.feedback-panel { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0.75rem; max-width: 760px; margin: 0 1rem 3.5rem; padding: 0.75rem; border: 2px solid var(--yellow); border-radius: 1.55rem; background: linear-gradient(135deg, #fffdf8 0 74%, #fff4bf 74%); color: var(--ink); box-shadow: 0 12px 26px rgba(35,55,70,0.08); }
.feedback-panel img { width: 100%; height: 100%; min-height: 250px; border-radius: 1rem; object-fit: cover; object-position: 64% center; }
.feedback-panel > div { display: flex; flex-direction: column; justify-content: center; padding: 0.9rem 0.65rem 0.9rem 0; }
.feedback-panel .section-kicker { color: var(--turquoise); }
.feedback-panel h2 { margin: 0.25rem 0 0.5rem; font-size: 1.4rem; }
.feedback-panel p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 0.73rem; font-weight: 600; line-height: 1.75; }
.feedback-link { align-self: flex-start; margin-top: 1rem; min-height: 2.5rem; background: var(--yellow); color: var(--navy); font-size: 0.68rem; }

.site-footer { padding: 2rem 1.25rem 7.5rem; background: #e5f2ef; }
.footer-brand img { width: 34px; height: 34px; }
.site-footer p { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.63rem; font-weight: 600; }
.bottom-action { position: fixed; z-index: 15; right: 0; bottom: 0; left: 0; padding: 0.7rem max(1rem, env(safe-area-inset-right)) calc(0.7rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left)); background: rgba(255,250,241,0.95); box-shadow: 0 -5px 20px rgba(35,55,70,0.1); backdrop-filter: blur(12px); }
.bottom-action button { display: flex; width: 100%; max-width: 680px; min-height: 3.15rem; align-items: center; justify-content: center; gap: 0.8rem; margin: 0 auto; border: 0; border-radius: 1rem; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 0.9rem; font-weight: 900; box-shadow: 0 4px 0 rgba(199,140,28,0.22); transition: transform 160ms var(--ease-out); }
.bottom-action span { font-size: 1.25rem; }

@keyframes currentPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.13); } }
@media (min-width: 600px) {
  .site-header { height: 82px; padding-right: max(2rem, calc((100vw - 920px) / 2)); padding-left: max(2rem, calc((100vw - 920px) / 2)); }
  .course-hero { grid-template-columns: minmax(300px, 0.9fr) minmax(340px, 1.1fr); min-height: 535px; max-width: 980px; margin: 0 auto; }
  .hero-copy { padding: 6rem 1rem 3rem 2rem; }
  .hero-art-wrap { position: relative; right: auto; bottom: auto; left: auto; align-self: end; height: 465px; border-radius: 140px 0 0 0; }
  .journey-label { top: 1.4rem; left: 1.5rem; }
  .journey-panel { max-width: 760px; margin: -1.2rem auto 0; padding: 1.35rem 1.6rem 1.15rem; }
  .course-intro { max-width: 680px; margin: 3rem auto 0; }
  .learning-path { padding-right: 1.5rem; padding-left: 1.5rem; }
  .card-content { padding: 0.9rem 1.65rem 1.65rem; }
  .card-answer { margin: 0; padding: 1.45rem 0; }
  .answer-text, .card-note { margin-right: 1.45rem; margin-left: 1.45rem; }
  .card-answer figcaption { margin-right: 1.45rem; margin-left: 1.45rem; }
  .home-talk, .feedback-panel { margin-right: auto; margin-left: auto; }
  .feedback-panel { grid-template-columns: 1.05fr 0.95fr; padding: 1rem; }
  .feedback-panel > div { padding: 1.3rem 1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* Design reminder — みちしるべの島：コース選択も「島を歩き出す」導線として扱う。 */
.course-launcher { padding-bottom: 5.5rem; }
.course-back { display: inline-flex; align-items: center; min-height: 3.4rem; padding: 0 1.25rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .78rem; font-weight: 900; text-decoration: none; }
.course-view .course-hero { margin-top: 0; }
.course-view .hero-copy h1 { white-space: pre-line; }
.course-view .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 4rem); }
.course-view .hero-intro { font-size: .78rem; line-height: 1.75; }
.journey-track { display: flex; justify-content: space-between; min-height: 2.75rem; }
.journey-stop { flex: 1 1 0; }
.journey-stop span { font-size: clamp(.47rem, 2.3vw, .62rem); }
.prompt-figure { margin: 0 0 1rem; overflow: hidden; border-radius: 1rem; background: #f4f7f5; }
/* イラストは すべて正方形。上下が切れないよう、枠も正方形にして 全体を見せる。 */
.prompt-figure img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.prompt-figure figcaption { padding: .55rem .7rem; color: var(--muted); font-size: .65rem; font-weight: 600; line-height: 1.55; }
.fixed-figure { border: 3px solid #f4d471; background: #fff; box-shadow: 0 7px 0 rgba(248,197,69,.15); }
.fixed-figure img { object-fit: contain; }
.scene-card { background: linear-gradient(135deg, #fffdf8 0 76%, rgba(239,120,102,.08) 76%); }

/* 学びの小径の強化 — カタログではなく、旗と折り目をたどる地図として見せる。 */
.site-header .brand { position: relative; gap: .55rem; }
.site-header .brand img { width: 48px; height: 48px; transform: rotate(-4deg); }
.site-header .brand::after { position: absolute; bottom: -.18rem; left: 1.55rem; width: 1.35rem; height: .45rem; border-radius: 0 0 1rem 1rem; border-bottom: 3px solid var(--turquoise); content: ""; transform: rotate(-12deg); }
.journey-panel { overflow: visible; }
.journey-track { position: relative; min-height: 3.15rem; padding: 0 .25rem; }
.journey-track .journey-line { top: 1.12rem; height: auto; border-top: 3px dashed rgba(52,184,177,.4); background: none; transform: rotate(-.5deg); }
.journey-stop i { width: 1rem; height: 1.35rem; border-radius: .18rem .18rem .58rem .58rem; border: 2px solid #fffdf8; background: #dce8e4; box-shadow: 0 2px 0 rgba(35,55,70,.1); clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }
.journey-stop:nth-of-type(3n) i { transform: rotate(-7deg); }.journey-stop:nth-of-type(2n) i { transform: rotate(7deg); }
.journey-stop.is-current i, .journey-stop.is-done i { background: var(--yellow); animation: currentPulse 2.3s ease-in-out infinite; }
.journey-stop.is-done:nth-of-type(2n) i { background: var(--turquoise); }.journey-stop.is-done:nth-of-type(3n) i { background: var(--coral); }
.journey-stop span { margin-top: .5rem; font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; }
.learning-card .card-content { position: relative; overflow: hidden; }
.fact-card .card-content::after, .scene-card .card-content::after { position: absolute; right: -1.5rem; bottom: -1.9rem; width: 6.4rem; height: 5.6rem; border: 2px dashed rgba(52,184,177,.26); border-radius: 50% 0 0 0; content: ""; transform: rotate(-10deg); }
.fact-card .card-kind, .scene-card .card-kind { position: relative; z-index: 1; }
.fact-card .card-question, .scene-card .card-question { position: relative; z-index: 1; }
.fact-card .reveal-button { position: relative; z-index: 1; }
.scene-card .card-content { padding-bottom: 1.55rem; }
@media (min-width: 600px) { .site-header .brand img { width: 54px; height: 54px; }.course-groups::before { left: 50%; top: 3.1rem; bottom: 1.5rem; border-left-width: 4px; transform: translateX(-50%) rotate(.8deg); }.age-heading { max-width: 310px; margin-right: auto; margin-left: auto; }.course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 4.6rem; padding: .9rem 0 1rem; }.course-grid::before { top: .6rem; bottom: .7rem; left: 50%; border-left: 3px dashed rgba(239,120,102,.55); transform: translateX(-50%); }.course-grid::after { top: .7rem; bottom: .8rem; left: calc(50% - .35rem); background-size: .7rem 2.55rem; }.course-tile:nth-child(2n) { margin-top: 1.3rem; margin-left: 0; transform: rotate(.4deg); }.course-tile:nth-child(2n + 1) { margin-bottom: 1.3rem; transform: rotate(-.4deg); }.course-tile:hover { transform: translateY(-4px) rotate(-.4deg); }.course-tile:nth-child(2n):hover { transform: translateY(-4px) rotate(.4deg); } }

/* Design reminder — 入口は「まず知る・選ぶ」を明快に、保護者ページは伴走の安心を伝える。 */
.header-actions { display: flex; align-items: center; gap: .65rem; }
.parents-link, .footer-parents { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .62rem; font-weight: 900; text-decoration: none; }
.parents-link { padding: .38rem .55rem; border: 1px solid #d7e4de; border-radius: 100px; background: #fffdf8; }
.launch-primary { display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; gap: .7rem; padding: 0 1.05rem; border-radius: 1rem; background: var(--yellow); box-shadow: 0 4px 0 rgba(199,140,28,.22); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .85rem; font-weight: 900; text-decoration: none; transition: transform 160ms var(--ease-out); }
.launch-primary:hover { transform: translateY(-2px); }.launch-primary:active { transform: scale(.97); }
.parent-view { max-width: 860px; margin: 0 auto; padding: 2.4rem 1rem 5rem; }
.parent-hero { position: relative; overflow: hidden; margin: 0 0 2rem; padding: 2.3rem 1.3rem 6rem; border-radius: 1.6rem; background: linear-gradient(135deg, #fffdf8 0 69%, #e4f3ef 69%); box-shadow: 0 14px 30px rgba(35,55,70,.08); }
.parent-hero::after { position: absolute; right: -4rem; bottom: -4.6rem; width: 13rem; height: 13rem; border: 2px dashed rgba(52,184,177,.35); border-radius: 50%; content: ""; }.parent-hero h1 { margin: .55rem 0 .9rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(2rem, 9vw, 3.7rem); line-height: 1.2; letter-spacing: -.06em; }.parent-hero h1 em { color: var(--turquoise); font-style: normal; }.parent-hero > p:not(.eyebrow) { max-width: 34rem; margin: 0; color: var(--ink); font-size: .82rem; font-weight: 600; line-height: 1.85; }
.parent-hero-mark { position: absolute; z-index: 1; right: 1.2rem; bottom: 1.1rem; display: flex; align-items: center; gap: .45rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .64rem; font-weight: 900; }.parent-hero-mark img { width: 3.4rem; height: 3.4rem; transform: rotate(-6deg); }
.parent-intro { margin: 0 0 1rem; padding: 1.45rem 1.25rem; border-left: 5px solid var(--yellow); border-radius: .45rem 1rem 1rem .45rem; background: #fff; }.parent-intro h2, .parent-principles h2, .parent-prompts h2, .parent-safety h2 { margin: .35rem 0 .65rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.25rem; }.parent-intro > p:not(.section-kicker) { margin: 0; color: var(--ink); font-size: .78rem; font-weight: 600; line-height: 1.9; }
.parent-principles { display: grid; gap: .75rem; margin: 1rem 0 2rem; }.parent-principles article { padding: 1.2rem; border-radius: 1.15rem; background: #fffdf8; box-shadow: 0 8px 20px rgba(35,55,70,.06); }.parent-icon { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: 50%; background: #fff1c0; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; }.parent-principles article:nth-child(2) .parent-icon { background: #d9f1ec; }.parent-principles article:nth-child(3) .parent-icon { background: #ffe1d7; }.parent-principles h2 { font-size: 1rem; }.parent-principles p { margin: 0; color: var(--muted); font-size: .73rem; font-weight: 600; line-height: 1.75; }
.parent-prompts { display: grid; gap: 1.2rem; margin: 2rem 0; padding: 1.4rem 1.25rem; border-radius: 1.3rem; background: var(--navy); color: #fffdf8; }.parent-prompts .section-kicker, .parent-prompts h2 { color: #fffdf8; }.prompt-list { display: grid; gap: .6rem; }.prompt-list p { margin: 0; padding: .7rem .8rem; border-left: 3px solid var(--yellow); background: rgba(255,255,255,.08); font-size: .74rem; font-weight: 700; line-height: 1.55; }
.parent-safety { display: grid; gap: .75rem; padding: 1.2rem; border: 1px dashed #bcd5cc; border-radius: 1.2rem; background: #f2fbf8; }.parent-safety h2 { margin: 0; }.parent-safety p { margin: 0 0 .75rem; color: var(--ink); font-size: .73rem; font-weight: 600; line-height: 1.75; }.parent-safety p:last-child { margin-bottom: 0; }.parent-cta { margin-top: 2rem; text-align: center; }.parent-cta p { margin: .9rem 0 0; color: var(--muted); font-size: .72rem; font-weight: 600; }
.footer-parents { display: inline-block; margin-top: .9rem; text-decoration: underline; text-underline-offset: .25rem; }
@media (min-width: 600px) { .how-it-works { padding: 0; }.how-steps { grid-template-columns: repeat(3, 1fr); }.how-steps li { grid-template-columns: 1fr; align-items: start; min-height: 11rem; }.course-catalog { padding-top: 1.4rem; }.catalog-heading { padding: 0; }.parent-view { padding-top: 4rem; }.parent-hero { padding: 3.2rem 3rem 3rem; }.parent-hero-mark { right: 3rem; bottom: 2.3rem; }.parent-principles { grid-template-columns: repeat(3, 1fr); }.parent-prompts { grid-template-columns: .8fr 1.2fr; align-items: center; }.parent-safety { grid-template-columns: .72fr 1.28fr; align-items: start; } }

/* ブランドの顔と大人の道しるべ — 子ども側と同じ地図の言葉で統一する。 */
.brand { gap: .6rem; text-decoration: none; }.brand span { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .72rem; font-weight: 900; letter-spacing: .08em; line-height: 1.05; }.brand span b { display: inline-block; margin-top: .08rem; color: var(--turquoise); font-size: 1.08em; }.site-header .brand img { width: 46px; height: 46px; }.site-header .brand::after { bottom: -.08rem; left: 1.42rem; }
.parent-hero { background: linear-gradient(135deg, #fffdf8 0 63%, #e4f3ef 63%); }.parent-hero::before { position: absolute; z-index: 0; top: 1.2rem; right: 1.2rem; width: 5.6rem; height: 3.4rem; border-top: 2px dashed rgba(52,184,177,.35); border-radius: 55% 0 0 0; content: ""; transform: rotate(-19deg); }.parent-hero > * { position: relative; z-index: 1; }.parent-route-label { display: flex; align-items: center; gap: .45rem; margin: 1.3rem 0 0 !important; color: var(--turquoise) !important; font-family: "Zen Maru Gothic", sans-serif; font-size: .67rem !important; font-weight: 900 !important; }.parent-route-label span { width: 1.8rem; border-top: 2px dashed currentColor; }.parent-route-label span::after { display: inline-block; width: .55rem; height: .75rem; margin: -.36rem 0 0 .75rem; border-radius: .12rem .12rem .4rem .4rem; background: var(--yellow); content: ""; clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }
.parent-principles { position: relative; padding: .85rem 0; }.parent-principles::before { position: absolute; top: 0; right: 5%; left: 5%; border-top: 2px dashed rgba(52,184,177,.34); content: ""; }.parent-principles article { position: relative; overflow: hidden; border-radius: .6rem 1.15rem 1.15rem 1.15rem; }.parent-principles article::after { position: absolute; right: -.7rem; bottom: -.8rem; width: 3.7rem; height: 3.7rem; border: 1px dashed rgba(52,184,177,.25); border-radius: 50%; content: ""; }.parent-principles article:nth-child(2) { margin-left: .4rem; }.parent-principles article:nth-child(3) { margin-right: .4rem; }
.parent-prompts { position: relative; overflow: hidden; border: 1px solid #eddca4; background: linear-gradient(135deg, #fff9e8 0 62%, #e5f3ef 62%); color: var(--navy); box-shadow: 0 10px 22px rgba(35,55,70,.07); }.parent-prompts::before { position: absolute; right: -1.3rem; bottom: -1.7rem; width: 8rem; height: 8rem; border: 2px dashed rgba(52,184,177,.38); border-radius: 50%; content: ""; }.parent-prompts .section-kicker, .parent-prompts h2 { color: var(--navy); }.parent-prompts h2 { font-size: 1.4rem; }.prompt-list { position: relative; z-index: 1; }.prompt-list p { position: relative; border-left-color: var(--yellow); background: rgba(255,255,255,.72); color: var(--ink); }.prompt-list p::after { position: absolute; top: -.2rem; right: .7rem; width: .72rem; height: .95rem; border-radius: .12rem .12rem .32rem .32rem; background: var(--turquoise); content: ""; clip-path: polygon(0 0,100% 0,100% 100%,50% 76%,0 100%); }.prompt-list p:nth-child(2)::after { background: var(--coral); }.prompt-list p:nth-child(3)::after { background: var(--yellow); }
.parent-safety { position: relative; overflow: hidden; border-style: solid; border-color: #c6ded5; background: linear-gradient(135deg, #f6fcfa 0 78%, #fff4cb 78%); }.parent-safety::after { position: absolute; right: 1rem; bottom: .9rem; width: 2.7rem; border-top: 2px dashed rgba(52,184,177,.42); content: ""; transform: rotate(-18deg); }
@media (max-width: 599px) { .site-header { min-height: 62px; padding-right: .7rem; padding-left: .7rem; }.header-context { display: none; }.header-actions { gap: 0; }.parents-link { padding: .42rem .55rem; font-size: .58rem; }.site-header .brand img { width: 42px; height: 42px; }.brand span { font-size: .68rem; }.site-header .brand::after { left: 1.26rem; }.site-header .brand { gap: .4rem; } body[data-view="parents"] .parents-link { display: none; }.parent-hero { padding: 2rem 1.2rem 6.4rem; }.parent-hero h1 { font-size: 2rem; }.parent-principles article:nth-child(2) { margin-left: .35rem; }.parent-principles article:nth-child(3) { margin-right: .35rem; } }
@media (min-width: 600px) { .site-header .brand img { width: 52px; height: 52px; }.brand span { font-size: .78rem; }.parent-principles::before { top: 50%; right: 2rem; left: 2rem; }.parent-principles article:nth-child(2), .parent-principles article:nth-child(3) { margin: 0; } }

/* Design reminder — 大きな地図：8地域は評価の一覧ではなく、気になる場所へ戻れる見取り図として扱う。 */
.map-link, .footer-map { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .62rem; font-weight: 900; text-decoration: none; }
.map-link { padding: .38rem .55rem; border: 1px solid #e7d48c; border-radius: 100px; background: #fff7d8; }
.footer-map { display: inline-block; margin-top: .9rem; text-decoration: underline; text-underline-offset: .25rem; }
.map-view { max-width: 1080px; margin: 0 auto; padding: 2rem 1rem 5rem; }
.map-hero { position: relative; overflow: hidden; min-height: 21rem; padding: 2.5rem 1.25rem 7.4rem; border-radius: 1.7rem 1.7rem 4.8rem 1.7rem; background: radial-gradient(circle at 84% 24%, rgba(248,197,69,.34) 0 3rem, transparent 3.05rem), linear-gradient(136deg,#fffdf8 0 65%,#e6f4ef 65%); box-shadow: var(--shadow); }
.map-hero::before { position: absolute; top: 3.3rem; right: -2.6rem; width: 12rem; height: 6.4rem; border: 2px dashed rgba(52,184,177,.37); border-radius: 54% 0 0 54%; content: ""; transform: rotate(-22deg); }
.map-hero h1 { position: relative; z-index: 1; max-width: 48rem; margin: .65rem 0 1rem; color: var(--navy); font-size: clamp(2.15rem, 10vw, 4.5rem); }
.map-hero h1 em { color: var(--turquoise); font-style: normal; }
.map-hero > div:first-child > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 34rem; margin: 0; color: var(--ink); font-size: .85rem; font-weight: 700; line-height: 1.9; }
.map-hero-mark { position: absolute; z-index: 1; right: 1.25rem; bottom: 1.2rem; display: flex; align-items: center; gap: .55rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .67rem; font-weight: 900; line-height: 1.35; }
.map-hero-mark img { width: 4.7rem; height: 4.7rem; object-fit: contain; transform: rotate(-7deg); }
.map-guide { display: grid; gap: 1rem; margin: -2.15rem .65rem 2rem; padding: 1.25rem; border: 1px solid #e8dea9; border-radius: 1.2rem; background: rgba(255,253,248,.97); box-shadow: 0 10px 24px rgba(35,55,70,.08); }
.map-guide h2 { margin: .25rem 0; color: var(--navy); font-size: 1.15rem; }.map-guide p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 600; line-height: 1.75; }
.map-legend { display: grid; gap: .55rem; padding-top: .7rem; border-top: 1px dashed #c8d8d1; color: var(--muted); font-size: .64rem; font-weight: 800; }.map-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.legend-flag { width: .75rem; height: 1.1rem; border-radius: .12rem .12rem .38rem .38rem; background: #dce8e4; clip-path: polygon(0 0,100% 0,100% 100%,50% 78%,0 100%); }.legend-flag--visited { background: var(--yellow); }.legend-path { width: 1.4rem; border-top: 2px dashed var(--turquoise); }
.big-map { position: relative; isolation: isolate; overflow: hidden; padding: 2.4rem .85rem 2.2rem; border: 1px solid #dce9e2; border-radius: 2rem; background: linear-gradient(135deg,#eaf7f3 0 25%,#fff9e8 25% 50%,#f5fbfa 50% 76%,#fff5d4 76%); box-shadow: 0 16px 36px rgba(35,55,70,.08); }
.big-map::before { position: absolute; z-index: -1; top: 7rem; right: -2rem; width: 14rem; height: 14rem; border: 2px dashed rgba(239,120,102,.24); border-radius: 50%; content: ""; }.big-map::after { position: absolute; z-index: -1; bottom: -4rem; left: -3rem; width: 17rem; height: 11rem; border: 2px dashed rgba(52,184,177,.28); border-radius: 50% 50% 0 0; content: ""; transform: rotate(7deg); }
.map-fold { position: absolute; z-index: -1; width: 1px; background: rgba(35,55,70,.09); }.map-fold--one { top: 0; bottom: 0; left: 35%; transform: rotate(12deg); }.map-fold--two { top: 0; bottom: 0; left: 66%; transform: rotate(-9deg); }.map-route { position: absolute; z-index: -1; border-top: 3px dashed rgba(52,184,177,.35); border-radius: 50%; }.map-route--one { top: 16rem; right: 8%; left: -10%; height: 12rem; transform: rotate(8deg); }.map-route--two { top: 31rem; right: -12%; left: 8%; height: 10rem; transform: rotate(-12deg); }
.map-heading { max-width: 32rem; margin: 0 .4rem 1.45rem; }.map-heading h2 { margin: .2rem 0; color: var(--navy); font-size: 1.75rem; }.map-heading p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 600; line-height: 1.7; }
.map-regions { position: relative; display: grid; gap: .9rem; }.map-region { position: relative; overflow: hidden; padding: 1rem; border: 1px solid rgba(35,55,70,.09); border-radius: .65rem 1.25rem 1.25rem 1.25rem; background: rgba(255,253,248,.92); box-shadow: 0 8px 18px rgba(35,55,70,.06); }.map-region::after { position: absolute; right: -1rem; bottom: -1rem; width: 4.5rem; height: 4.5rem; border: 1px dashed currentColor; border-radius: 50%; content: ""; opacity: .18; }
.map-region-head { display: flex; align-items: flex-start; gap: .7rem; }.map-region-icon { display: grid; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .65rem 1rem 1rem .65rem; background: #fff1bf; font-size: 1.2rem; }.map-region-status { margin: 0; color: var(--yellow-deep); font-size: .6rem; font-weight: 900; letter-spacing: .08em; }.map-region h3 { margin: .05rem 0 0; color: var(--navy); font-size: 1.02rem; }.map-region-short { margin: .05rem 0 0; color: var(--turquoise); font-family: "Zen Maru Gothic", sans-serif; font-size: .66rem; font-weight: 900; }
.map-region-note { margin: .75rem 0 0; color: var(--muted); font-size: .69rem; font-weight: 600; line-height: 1.7; }.map-region--coral .map-region-icon { background: #fee1d9; }.map-region--turquoise .map-region-icon { background: #dff4ef; }.map-region--navy .map-region-icon { background: #e1ecf1; }
.map-region.is-growing { opacity: .84; border-style: dashed; }.map-growing-note { display: inline-flex; align-items: center; gap: .35rem; margin: .9rem 0 0; color: var(--muted); font-size: .62rem; font-weight: 700; }.map-growing-note span { color: var(--yellow-deep); font-size: 1rem; }
.map-region--body { border: 2px solid #e7c75a; background: linear-gradient(135deg,#fffdf8 0 71%,rgba(248,197,69,.18) 71%); box-shadow: 0 12px 24px rgba(35,55,70,.1); }.map-region--body::before { position: absolute; top: .8rem; right: 1rem; width: 2rem; height: 2.55rem; border-radius: .25rem .25rem .65rem .65rem; background: var(--yellow); content: ""; clip-path: polygon(0 0,100% 0,100% 100%,50% 79%,0 100%); transform: rotate(6deg); }.map-island-progress { margin: .75rem 0 0; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .75rem; font-weight: 900; }.map-island-progress strong { color: var(--turquoise); font-size: 1.15rem; }
.map-course-paths { position: relative; display: grid; gap: .75rem; margin-top: 1rem; padding-left: 1rem; }.map-course-paths::before { position: absolute; top: 1.25rem; bottom: 1.15rem; left: .25rem; border-left: 2px dashed rgba(52,184,177,.5); content: ""; }.map-age-path { position: relative; }.map-age-path > p { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .35rem -.5rem; padding: .12rem .5rem .12rem .18rem; border-radius: 100px; background: #fffdf8; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .68rem; font-weight: 900; }.map-age-path > p > span { display: grid; width: 1.4rem; height: 1.4rem; place-items: center; border-radius: 50%; background: var(--yellow); font-size: .72rem; }.map-age-path small { color: var(--muted); font-family: "Noto Sans JP", sans-serif; font-size: .52rem; font-weight: 700; }
.map-age-path > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .36rem; }.map-course-flag { display: grid; justify-items: center; gap: .18rem; min-width: 0; padding: .35rem .1rem .45rem; border: 1px solid #dbe7e2; border-radius: .38rem .8rem .8rem .8rem; background: rgba(255,255,255,.68); color: var(--muted); text-align: center; text-decoration: none; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }.map-course-flag:hover { box-shadow: 0 5px 0 rgba(35,55,70,.08); transform: translateY(-2px); }.map-course-flag i { width: .7rem; height: 1.05rem; border-radius: .12rem .12rem .37rem .37rem; background: #dbe7e2; clip-path: polygon(0 0,100% 0,100% 100%,50% 75%,0 100%); }.map-course-flag.is-visited { border-color: #e2bb36; background: #fff6d5; color: var(--navy); }.map-course-flag.is-visited i { background: var(--yellow); box-shadow: 0 2px 0 rgba(199,140,28,.18); }.map-course-flag span { font-size: .52rem; font-weight: 900; letter-spacing: .06em; }.map-course-flag b { overflow: hidden; width: 100%; font-family: "Zen Maru Gothic", sans-serif; font-size: .55rem; font-weight: 900; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.map-rest-stop { display: grid; grid-template-columns: 7.5rem 1fr; gap: .7rem; align-items: center; margin: 2rem .4rem 0; padding: 1rem; border: 1px solid #e8d585; border-radius: 1.2rem; background: linear-gradient(135deg,#fff9e6 0 66%,#e8f5f0 66%); }.map-rest-stop img { width: 7.5rem; height: 7.5rem; border-radius: .8rem 1.6rem 1.6rem .8rem; object-fit: cover; }.map-rest-stop h2 { margin: .15rem 0 .35rem; color: var(--navy); font-size: 1rem; }.map-rest-stop p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: .67rem; font-weight: 600; line-height: 1.65; }.map-rest-stop .launch-primary { min-height: 2.45rem; margin-top: .65rem; padding: 0 .7rem; font-size: .65rem; }
.course-top-actions { display: flex; align-items: center; justify-content: space-between; }.course-map-return { margin-right: .95rem; padding: .4rem .65rem; border: 1px solid #e7d48c; border-radius: 100px; background: #fff7d8; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .62rem; font-weight: 900; text-decoration: none; }
@media (max-width: 599px) { body[data-view="map"] .map-link { display: none; }.map-view { padding-right: .75rem; padding-left: .75rem; }.map-hero { padding: 2rem 1.15rem 6.5rem; }.map-guide { margin-right: .25rem; margin-left: .25rem; }.course-map-return { margin-right: .7rem; font-size: .56rem; } }
@media (min-width: 700px) { .map-view { padding-top: 4rem; }.map-hero { min-height: 24rem; padding: 3.4rem 3rem 3.2rem; }.map-hero-mark { right: 3rem; bottom: 2rem; }.map-guide { grid-template-columns: 1.1fr .9fr; align-items: end; margin: -1.8rem 2.2rem 2.5rem; padding: 1.5rem; }.map-legend { grid-template-columns: repeat(3,1fr); border-top: 0; }.big-map { padding: 3rem 2rem; }.map-regions { grid-template-columns: repeat(4,1fr); gap: 1.25rem; align-items: start; }.map-region { min-height: 13.2rem; }.map-region--body { grid-column: span 2; grid-row: span 2; min-height: 28rem; }.map-region--body .map-course-paths { margin-top: 1.25rem; }.map-age-path > div { gap: .55rem; }.map-course-flag { padding: .55rem .2rem; }.map-course-flag b { font-size: .64rem; }.map-rest-stop { grid-template-columns: 12rem 1fr; max-width: 760px; margin: 2.5rem auto 0; padding: 1.2rem; }.map-rest-stop img { width: 12rem; height: 12rem; }.course-top-actions { max-width: 980px; margin: 0 auto; }.course-map-return { margin-right: 1.5rem; } }

/* 地図の紙面強化 — 白いカードの集合ではなく、折りたたんだ島の地形と発見の紙片に見せる。 */
body { background-color: var(--shell); background-image: radial-gradient(rgba(35,55,70,.025) .55px, transparent .7px); background-size: 5px 5px; }
.site-header .brand::before { position: absolute; z-index: -1; top: -.34rem; left: -.45rem; width: 3.3rem; height: 3.3rem; border: 1px dashed rgba(52,184,177,.42); border-radius: 46% 54% 49% 51%; content: ""; transform: rotate(-13deg); }
.big-map { background: linear-gradient(126deg,rgba(225,244,238,.9) 0 24%,rgba(255,249,231,.96) 24% 49%,rgba(233,246,242,.92) 49% 73%,rgba(255,243,202,.78) 73%), repeating-linear-gradient(36deg,transparent 0 3.6rem,rgba(35,55,70,.035) 3.64rem 3.68rem,transparent 3.72rem 7.3rem); }
.big-map::before { width: 21rem; height: 11rem; border-width: 1px; box-shadow: 1.1rem 1.2rem 0 -1rem rgba(52,184,177,.18), 2.15rem 2.35rem 0 -2rem rgba(52,184,177,.12); }
.map-regions { gap: 1.2rem .85rem; }
.map-region { overflow: visible; border: 1px dashed rgba(35,55,70,.16); border-radius: 47% 53% 43% 57% / 25% 32% 68% 75%; background: rgba(255,253,248,.58); box-shadow: none; }
.map-region::before { position: absolute; z-index: -1; top: .45rem; right: .5rem; bottom: .45rem; left: .5rem; border: 1px solid rgba(35,55,70,.065); border-radius: inherit; content: ""; transform: rotate(-2deg); }
.map-region::after { right: .55rem; bottom: .55rem; border-color: currentColor; }
.map-region.is-growing { border-color: rgba(52,184,177,.34); background: linear-gradient(136deg,rgba(255,253,248,.78) 0 72%,rgba(52,184,177,.09) 72%); }
.map-region--coral.is-growing { background: linear-gradient(136deg,rgba(255,253,248,.8) 0 72%,rgba(239,120,102,.1) 72%); }.map-region--yellow.is-growing { background: linear-gradient(136deg,rgba(255,253,248,.8) 0 72%,rgba(248,197,69,.16) 72%); }.map-region--navy.is-growing { background: linear-gradient(136deg,rgba(255,253,248,.8) 0 72%,rgba(30,76,99,.1) 72%); }
.map-region--body { overflow: hidden; border: 2px solid rgba(199,140,28,.55); border-radius: 2.2rem 1rem 2.9rem 1.25rem; background: linear-gradient(135deg,#fffdf8 0 68%,rgba(248,197,69,.18) 68%), repeating-linear-gradient(135deg,transparent 0 3rem,rgba(35,55,70,.035) 3.03rem 3.08rem); box-shadow: 0 12px 0 rgba(199,140,28,.1); }
.map-region--body::before { z-index: 0; top: 1rem; right: 1.2rem; bottom: auto; left: auto; width: 2rem; height: 2.55rem; border: 0; border-radius: .25rem .25rem .65rem .65rem; background: var(--yellow); transform: rotate(6deg); }
.map-region--body::after { z-index: 0; right: -1rem; bottom: -1rem; border-width: 2px; opacity: .34; }
.map-region--body > * { position: relative; z-index: 1; }
.map-course-paths { padding-top: .65rem; }
.map-age-path > p { box-shadow: 2px 2px 0 rgba(35,55,70,.05); }
.map-course-flag { position: relative; overflow: visible; border-style: dashed; border-color: rgba(35,55,70,.12); border-radius: .22rem .7rem .7rem .7rem; background: rgba(255,253,248,.7); box-shadow: 0 3px 0 rgba(35,55,70,.05); }
.map-course-flag::after { position: absolute; top: -.22rem; right: .25rem; width: .28rem; height: .28rem; border-radius: 50%; background: rgba(35,55,70,.16); content: ""; }.map-course-flag.is-visited { border-style: solid; border-color: rgba(199,140,28,.48); background: #fff6d5; box-shadow: 0 4px 0 rgba(199,140,28,.16); }
.reveal-button { position: relative; overflow: visible; min-height: 3.4rem; padding-right: 1rem; padding-left: 2.2rem; border: 1px solid rgba(199,140,28,.3); border-radius: .28rem 1.05rem 1.05rem .85rem; background: linear-gradient(135deg,#ffe27a 0 78%,#f8c545 78%); box-shadow: 0 4px 0 rgba(199,140,28,.18), inset 0 1px rgba(255,255,255,.55); }
.reveal-button::before { position: absolute; top: 0; bottom: 0; left: 0; width: 1.25rem; border-radius: .28rem 0 0 .85rem; background: rgba(255,253,248,.35); content: ""; clip-path: polygon(0 0,100% 14%,100% 86%,0 100%); }.reveal-button::after { position: absolute; top: 50%; left: .4rem; color: var(--navy); content: "↗"; font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; font-weight: 900; transform: translateY(-50%) rotate(7deg); }
.reveal-spark { position: relative; z-index: 1; }.reveal-button { color: var(--navy); }.reveal-button:hover { transform: translateY(-2px) rotate(-.18deg); box-shadow: 0 6px 0 rgba(199,140,28,.18), inset 0 1px rgba(255,255,255,.55); }
@media (min-width: 700px) { .map-region.is-growing:nth-child(2) { margin-top: 1.3rem; }.map-region.is-growing:nth-child(3) { margin-top: .35rem; }.map-region.is-growing:nth-child(4) { margin-top: 1.7rem; }.map-region.is-growing:nth-child(5) { margin-top: -1.1rem; }.map-region.is-growing:nth-child(7) { margin-top: .8rem; }.map-region.is-growing:nth-child(8) { margin-top: -1.5rem; }.map-region--body { margin: -.25rem .1rem; }.map-region--body .map-course-paths { padding-top: 1rem; } }

/* Design reminder — ゲーム風マップ：子どもが一目で「今遊べる」「次に来る」「旗の数」を理解できる大きなワールド選択画面にする。 */
.map-view { background: linear-gradient(180deg,#dff7fa 0 13rem,#fff7df 13rem 100%); }
.map-hero { min-height: 18.5rem; padding-bottom: 4.5rem; border-bottom: 5px solid #67c5c2; background: radial-gradient(circle at 78% 23%,rgba(255,240,130,.9) 0 3rem,transparent 3.1rem), linear-gradient(145deg,#47bfc5 0 52%,#7bd8d0 52% 100%); color: #fff; box-shadow: inset 0 -1rem 0 rgba(255,255,255,.18); }
.map-hero::before { position: absolute; right: -2rem; bottom: -.7rem; left: -2rem; height: 2.2rem; border-radius: 50% 50% 0 0; background: #fff7df; content: ""; }
.map-hero .eyebrow,.map-hero h1,.map-hero p { color: #fff; text-shadow: 0 2px 0 rgba(30,76,99,.18); }.map-hero h1 em { color: #fff7b5; }.map-hero h1 em::after { background: rgba(248,197,69,.9); }.map-hero .eyebrow-dot { background: #fff7b5; box-shadow: 0 0 0 5px rgba(255,247,181,.25); }
.map-hero-mark { right: 1rem; bottom: 1.1rem; padding: .55rem .7rem .55rem .4rem; border: 3px solid #fff; border-radius: 1rem; background: #fffdf8; color: var(--navy); box-shadow: 0 5px 0 rgba(30,76,99,.2); }.map-hero-mark span { color: var(--navy); text-shadow: none; }
.map-game-hud { position: relative; z-index: 3; display: grid; grid-template-columns: 3.8rem 1fr auto; gap: .7rem; align-items: center; max-width: 940px; margin: -3rem 1rem 1.15rem; padding: .75rem; border: 4px solid #1e4c63; border-radius: 1.15rem; background: linear-gradient(135deg,#fff9cb 0 68%,#f8d651 68%); box-shadow: 0 7px 0 #1e4c63; color: var(--navy); }
.map-hud-guide { display: grid; place-items: center; width: 3.6rem; height: 3.6rem; border: 3px solid #1e4c63; border-radius: .9rem; background: #fffdf8; }.map-hud-guide img { width: 2.7rem; height: 2.7rem; object-fit: contain; }.map-hud-guide span { display: none; }.map-game-hud p { margin: 0; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }.map-game-hud h2 { margin: .05rem 0; font-size: 1rem; line-height: 1.2; }.map-game-hud h2 span { display: block; color: var(--yellow-deep); font-family: "Noto Sans JP",sans-serif; font-size: .57rem; letter-spacing: .06em; }.map-game-hud small { display: block; color: var(--muted); font-size: .57rem; font-weight: 700; line-height: 1.35; }
.map-hud-flags { display: grid; justify-items: center; min-width: 3.6rem; padding: .32rem .35rem; border: 2px solid #1e4c63; border-radius: .8rem; background: #fffdf8; line-height: 1; }.map-hud-flags span { color: var(--muted); font-size: .48rem; font-weight: 900; }.map-hud-flags strong { color: var(--coral); font-family: "Zen Maru Gothic",sans-serif; font-size: 1.45rem; }.map-hud-flags b { color: var(--navy); font-size: .58rem; }
.map-guide { position: relative; z-index: 2; margin-top: 1.65rem; border: 3px solid #56bdb9; border-radius: 1rem; background: #fffdf8; box-shadow: 0 5px 0 rgba(52,184,177,.2); }.map-guide-copy h2 { color: var(--navy); }.map-legend { gap: .35rem; }.map-legend span { padding: .45rem; border-radius: .55rem; background: #eef8f7; color: var(--navy); font-size: .63rem; font-weight: 900; }
.big-map { margin-top: 2rem; border: 4px solid #1e4c63; border-radius: 1.7rem; background: linear-gradient(155deg,#81d8ce 0 17%,#b6ecdf 17% 34%,#f6e982 34% 52%,#8fd9ca 52% 70%,#b7e9df 70%); box-shadow: 0 9px 0 #1e4c63; }.big-map::before { border-color: rgba(30,76,99,.25); }.map-heading { position: relative; z-index: 1; max-width: 32rem; padding: 1rem 1.15rem; border: 3px solid #1e4c63; border-radius: 1rem; background: #fffdf8; box-shadow: 0 5px 0 rgba(30,76,99,.2); }.map-heading .section-kicker { color: var(--coral); }.map-heading h2 { margin: .15rem 0; color: var(--navy); font-size: clamp(1.6rem,7vw,2.55rem); }.map-heading p { margin: 0; color: var(--muted); font-size: .72rem; font-weight: 700; }.map-heading p strong { color: var(--navy); }
.map-regions { position: relative; z-index: 1; gap: .9rem; padding-top: 1.4rem; }.map-region,.map-region.is-growing { overflow: hidden; min-height: 12.6rem; border: 3px solid #1e4c63; border-radius: 1rem; background: #fffdf8; box-shadow: 0 5px 0 rgba(30,76,99,.2); transform: none; }.map-region::before,.map-region::after { display: none; }.map-region--coral { border-color: #cc675a; }.map-region--yellow { border-color: #bc891e; }.map-region--turquoise { border-color: #259f9b; }.map-region--navy { border-color: #1e4c63; }
.world-card-top { display: flex; align-items: center; justify-content: space-between; min-height: 2.35rem; padding: .25rem .55rem; background: #1e4c63; color: #fff; }.map-region--coral .world-card-top { background: #d96c5d; }.map-region--yellow .world-card-top { background: #d29a21; }.map-region--turquoise .world-card-top { background: #2aa8a2; }.world-number { font-family: "Zen Maru Gothic",sans-serif; font-size: 1.1rem; font-weight: 900; letter-spacing: .08em; }.world-state { padding: .22rem .4rem; border-radius: .35rem; background: rgba(255,255,255,.25); font-size: .53rem; font-weight: 900; letter-spacing: .05em; }.world-state--open { background: #fff6a5; color: var(--navy); }
.map-region-head { gap: .6rem; padding: .75rem .75rem .25rem; }.map-region-icon { flex: 0 0 3.2rem; width: 3.2rem; height: 3.2rem; border: 3px solid currentColor; border-radius: .8rem; background: #fff4bc; box-shadow: 2px 2px 0 rgba(30,76,99,.15); font-size: 1.55rem; }.map-region-status { font-size: .58rem; }.map-region-head h3 { margin: .05rem 0; font-size: 1.08rem; }.map-region-short { font-size: .63rem; font-weight: 800; }.map-region-note { min-height: 2.9rem; margin: .15rem .75rem .55rem; font-size: .68rem; font-weight: 700; line-height: 1.55; }
.map-growing-note { display: flex; align-items: center; gap: .4rem; margin: .4rem .75rem .8rem; padding: .5rem .6rem; border-radius: .55rem; background: #edf3f3; color: var(--muted); font-size: .6rem; font-weight: 800; line-height: 1.35; }.map-growing-note span { color: var(--yellow-deep); font-size: .92rem; }
.map-region--body { min-height: 0; border-width: 4px; border-color: #f0ab29; border-radius: 1.2rem; background: #fffdf8; box-shadow: 0 7px 0 #d89119, 0 10px 0 rgba(30,76,99,.18); }.map-region--body .world-card-top { background: #f0ab29; color: var(--navy); }.map-region--body .world-state--open { background: #1e4c63; color: #fff; }.map-region--body .map-region-head { padding-bottom: .15rem; }.map-island-progress { display: flex; align-items: baseline; gap: .25rem; margin: .35rem .75rem .85rem; padding: .55rem .65rem; border: 2px solid #f0ab29; border-radius: .65rem; background: #fff6bc; color: var(--navy); font-weight: 900; }.map-island-progress strong { color: var(--coral); font-family: "Zen Maru Gothic",sans-serif; font-size: 1.45rem; }.map-island-progress span { font-size: .6rem; letter-spacing: .06em; }
.map-course-paths { padding: .2rem .6rem .8rem; }.map-age-path { padding: .55rem 0; border-top: 2px dashed rgba(30,76,99,.18); }.map-age-path > p { display: flex; align-items: center; gap: .35rem; margin: 0 0 .45rem; padding: 0; background: transparent; box-shadow: none; color: var(--navy); font-size: .65rem; }.map-age-path > p span { display: grid; width: 1.45rem; height: 1.45rem; place-items: center; border-radius: .42rem; background: #fff0aa; font-size: .8rem; }.map-age-path > p b { font-family: "Zen Maru Gothic",sans-serif; }.map-age-path > div { gap: .35rem; }.map-course-flag { min-height: 4.25rem; padding: .35rem .2rem .25rem; border: 2px solid #cbd8d4; border-radius: .5rem; background: #eef3f2; box-shadow: 0 3px 0 rgba(30,76,99,.12); color: var(--muted); }.map-course-flag::after { display: none; }.map-course-flag i { width: 1.15rem; height: 1.3rem; margin-bottom: .18rem; border: 0; border-radius: .18rem .18rem .48rem .48rem; background: #aab9b7; clip-path: polygon(0 0,100% 0,100% 100%,50% 77%,0 100%); }.map-course-flag span { font-size: .55rem; font-weight: 900; }.map-course-flag b { font-size: .58rem; line-height: 1.2; }.map-course-flag.is-visited { border-color: #e2a72b; background: #fff8cc; color: var(--navy); box-shadow: 0 4px 0 #e2a72b; transform: translateY(-2px); }.map-course-flag.is-visited i { background: var(--yellow); }
.map-rest-stop { border: 3px solid #1e4c63; border-radius: 1rem; background: #fffdf8; box-shadow: 0 6px 0 rgba(30,76,99,.18); }.map-rest-stop .launch-primary { border: 2px solid #1e4c63; border-radius: .7rem; box-shadow: 0 4px 0 #d89119; }
@media (min-width: 700px) { .map-hero { min-height: 22rem; padding: 3rem; }.map-game-hud { margin: -3.3rem auto 1.5rem; }.map-view { padding-bottom: 3rem; }.big-map { max-width: 1100px; padding: 2.5rem; }.map-regions { grid-template-columns: repeat(4,1fr); gap: 1rem; }.map-region.is-growing:nth-child(n) { margin: 0; }.map-region--body { grid-column: span 2; grid-row: span 2; margin: 0; }.map-course-flag { min-height: 4.7rem; }.map-heading { margin-bottom: .2rem; } }

/* ワールドを一枚の地図としてつなぐ：濃い枠は補助に抑え、ルート・地形・発見旗を主役にする。 */
.site-header .brand { gap: .68rem; }.site-header .brand img { width: 54px; height: 54px; }.site-header .brand > span { padding: .25rem .45rem .25rem .1rem; border-bottom: 2px solid rgba(52,184,177,.42); }
.map-game-hud { border-width: 2px; box-shadow: 0 5px 0 rgba(30,76,99,.22); }.map-hud-guide { border-width: 2px; }.map-hud-flags { border-width: 1px; }
.big-map { border-width: 2px; box-shadow: 0 6px 0 rgba(30,76,99,.2); background-image: radial-gradient(circle at 8% 17%,rgba(255,255,255,.5) 0 1.2rem,transparent 1.25rem),radial-gradient(circle at 84% 83%,rgba(255,255,255,.38) 0 1.7rem,transparent 1.75rem),linear-gradient(155deg,#81d8ce 0 17%,#b6ecdf 17% 34%,#f6e982 34% 52%,#8fd9ca 52% 70%,#b7e9df 70%); }
.map-heading { border-width: 2px; box-shadow: 0 4px 0 rgba(30,76,99,.15); }.map-heading .section-kicker { display: inline-flex; padding: .24rem .48rem; border-radius: 99px; background: #fff0b4; color: var(--navy); }
.map-regions { isolation: isolate; padding-top: 2rem; }.map-regions::before { position: absolute; z-index: 0; top: 4.2rem; right: 7%; bottom: 3.2rem; left: 7%; border: 3px dashed rgba(30,76,99,.38); border-right: 0; border-radius: 48% 0 0 48%; content: ""; transform: rotate(-7deg); }.map-regions::after { position: absolute; z-index: 0; top: 8.5rem; right: 11%; bottom: 4.5rem; left: 11%; background: radial-gradient(circle,rgba(248,197,69,.96) 0 .25rem,transparent .29rem) 0 0 / 1.15rem 2.25rem repeat-y; content: ""; transform: rotate(17deg); }
.map-region,.map-region.is-growing { position: relative; z-index: 1; min-height: 12rem; border-width: 2px; border-color: rgba(30,76,99,.7); box-shadow: 0 4px 0 rgba(30,76,99,.14); }.map-region:nth-child(2n) { transform: translateY(1.05rem) rotate(.35deg); }.map-region:nth-child(3n) { transform: translateY(-.45rem) rotate(-.35deg); }.map-region--body { border-width: 3px; border-color: #e4a322; box-shadow: 0 6px 0 #d89119,0 9px 0 rgba(30,76,99,.16); transform: translateY(-.3rem) !important; }.map-region--body::after { display: block; position: absolute; z-index: 0; right: .6rem; bottom: .6rem; width: 2.7rem; height: .5rem; border: 0; border-top: 3px dotted rgba(30,76,99,.35); content: ""; transform: rotate(-26deg); }
.world-card-top { min-height: 2.1rem; }.world-state { letter-spacing: 0; }.map-region-head { padding-top: .6rem; }.map-region-note { padding-left: .35rem; border-left: 2px dotted rgba(30,76,99,.25); }.map-growing-note { border: 1px dashed rgba(30,76,99,.2); background: rgba(238,248,247,.85); }
.map-region--body .map-region-note { border-left: 0; }.map-island-progress { position: relative; overflow: hidden; border-width: 1px; }.map-island-progress::after { position: absolute; right: -.55rem; bottom: -.7rem; width: 2.4rem; height: 2rem; border: 3px dotted rgba(248,197,69,.65); border-radius: 50%; content: ""; }.map-course-paths { position: relative; }.map-course-paths::before { position: absolute; top: 1rem; bottom: 1rem; left: 1.05rem; border-left: 2px dashed rgba(52,184,177,.42); content: ""; }.map-age-path { position: relative; z-index: 1; }.map-age-path > p { padding-left: .2rem; }.map-course-flag { border-width: 1px; box-shadow: 0 2px 0 rgba(30,76,99,.11); }.map-course-flag.is-visited { box-shadow: 0 3px 0 #e2a72b; }
.map-rest-stop { border-width: 2px; box-shadow: 0 4px 0 rgba(30,76,99,.14); }.map-rest-stop::before { position: absolute; top: -1rem; left: 12%; width: 4rem; border-top: 3px dashed rgba(52,184,177,.45); content: ""; transform: rotate(-17deg); }
@media (max-width: 699px) { .map-region:nth-child(2n),.map-region:nth-child(3n) { transform: none; }.map-regions::before { top: 3rem; right: 48%; bottom: 3rem; left: auto; width: 4rem; border-bottom: 0; transform: rotate(-4deg); }.map-regions::after { top: 4rem; right: 47%; bottom: 3rem; left: auto; width: 1rem; transform: none; }.map-region { margin-right: .28rem; margin-left: .28rem; }.map-region--body { margin-right: 0; margin-left: 0; } }

/* ジュニアの進行ルート：順番を見せつつ、どのステージにも自由に行ける伴走型の案内にする。 */
.map-route-label { display: inline-flex; align-items: center; margin-left: auto; padding: .18rem .38rem; border-radius: .35rem; background: #fff1bb; color: var(--navy); font-style: normal; font-size: .5rem; font-weight: 900; letter-spacing: 0; }
.map-course-flag { position: relative; }.map-course-flag.is-recommended { border: 2px solid var(--coral); background: #fff4ca; box-shadow: 0 3px 0 var(--coral); transform: translateY(-2px); }.map-course-flag.is-recommended i { background: var(--coral); }.flag-recommend { position: absolute; z-index: 2; top: -.62rem; left: 50%; padding: .13rem .28rem; border-radius: .35rem; background: var(--coral); color: #fff; font-size: .45rem; line-height: 1; transform: translateX(-50%) rotate(-4deg); }
.junior-route-guide { display: grid; grid-template-columns: 2rem 1fr; gap: .5rem; align-items: start; margin: .8rem .05rem .15rem; padding: .65rem; border: 2px solid #f0ab29; border-radius: .7rem; background: linear-gradient(135deg,#fff6c7,#fffdf3); box-shadow: 0 3px 0 rgba(216,145,25,.28); }.junior-route-guide > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .55rem; background: #f8c545; font-size: 1.05rem; }.junior-route-guide b { display: block; color: var(--navy); font-size: .7rem; }.junior-route-guide a { display: inline-block; margin-top: .2rem; color: var(--coral); font-size: .76rem; font-weight: 900; text-decoration: none; }.junior-route-guide a i { font-style: normal; }.junior-route-guide small { display: block; margin-top: .25rem; color: var(--muted); font-size: .54rem; font-weight: 700; line-height: 1.4; }
.next-stage { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: start; margin: 3.5rem 0 2rem; padding: 1.15rem; border: 3px solid var(--navy); border-radius: 1.2rem; background: linear-gradient(135deg,#fff7cc 0 68%,#e0f6f3 68%); box-shadow: 0 6px 0 rgba(30,76,99,.18); }.next-stage-flag { display: grid; width: 4.25rem; height: 4.25rem; place-items: center; border-radius: .85rem .85rem .25rem .25rem; background: var(--coral); color: #fff; font-family: "Zen Maru Gothic",sans-serif; font-size: .78rem; font-weight: 900; line-height: 1.2; text-align: center; transform: rotate(-3deg); }.next-stage h2 { margin: .15rem 0 .45rem; color: var(--navy); font-size: clamp(1.2rem,5vw,1.7rem); }.next-stage h2 em { color: var(--coral); font-style: normal; }.next-stage p:not(.section-kicker) { margin: 0 0 .85rem; color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.7; }.next-stage-action { display: inline-flex; align-items: center; gap: .35rem; padding: .72rem .85rem; border: 2px solid var(--navy); border-radius: .7rem; background: var(--yellow); box-shadow: 0 3px 0 #d89119; color: var(--navy); font-size: .78rem; font-weight: 900; text-decoration: none; }.next-stage-map { display: inline-block; margin: .65rem 0 0 .6rem; color: var(--navy); font-size: .68rem; font-weight: 800; }
@media (max-width: 699px) { .map-age-path > p { flex-wrap: wrap; }.map-route-label { width: 100%; margin: .15rem 0 0 1.7rem; }.next-stage { grid-template-columns: 3.8rem 1fr; gap: .75rem; padding: .9rem; }.next-stage-flag { width: 3.65rem; height: 3.65rem; font-size: .68rem; }.next-stage-map { display: block; margin-left: 0; } }

/* 開放済みワールドを押して始められる、明快な入口。 */
.map-world-launch { margin: .8rem .75rem .9rem; }
.map-world-launch a { display: flex; align-items: center; gap: .45rem; min-height: 3.25rem; padding: .65rem .8rem; border: 2px solid var(--navy); border-radius: .75rem; background: var(--yellow); box-shadow: 0 4px 0 rgba(199,140,28,.3); color: var(--navy); font-family: "Zen Maru Gothic",sans-serif; font-size: .75rem; font-weight: 900; line-height: 1.25; text-decoration: none; transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out); }
.map-world-launch a:hover { transform: translate(-1px,-1px); box-shadow: 0 6px 0 rgba(199,140,28,.28); }.map-world-launch a:active { transform: translate(1px,1px) scale(.98); box-shadow: 0 2px 0 rgba(199,140,28,.26); }
.map-world-launch a > span { display: grid; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: .58rem; }.map-world-launch small { margin-left: auto; color: rgba(30,76,99,.82); font-size: .62rem; white-space: nowrap; }

/* 年齢を選んで「じぶんの道」を始める。 */
.map-age-selector > div { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }.map-age-selector a { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-height: 2.8rem; padding: .5rem .6rem; border: 2px solid var(--navy); border-radius: .75rem; background: #fffdf8; box-shadow: 0 3px 0 rgba(30,76,99,.15); color: var(--navy); font-family: "Zen Maru Gothic",sans-serif; font-size: .7rem; font-weight: 900; text-decoration: none; }.map-age-selector small { display: block; color: var(--muted); font-family: "Noto Sans JP",sans-serif; font-size: .52rem; font-weight: 700; }.age-map-skip { display: inline-block; margin-top: .8rem; color: var(--navy); font-size: .64rem; font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }
.map-age-selector { max-width: 940px; margin: 0 auto 1.15rem; padding: .8rem; border: 2px solid var(--navy); border-radius: .9rem; background: rgba(255,253,248,.96); box-shadow: 0 4px 0 rgba(30,76,99,.14); text-align: center; }.map-age-selector > p { margin: 0 0 .55rem; color: var(--navy); font-family: "Zen Maru Gothic",sans-serif; font-size: .76rem; font-weight: 900; }.map-age-selector a { min-height: 2.35rem; padding: .35rem .48rem; border-width: 1px; font-size: .6rem; }.map-age-selector a.is-current { border-color: #e2a72b; background: #fff1a8; box-shadow: 0 3px 0 #e2a72b; }.map-age-path.is-selected-age { margin-right: -.15rem; margin-left: -.15rem; padding: .55rem; border: 2px solid #e2a72b; border-radius: .75rem; background: #fff9d6; box-shadow: 0 3px 0 rgba(226,167,43,.2); }.map-age-path.is-selected-age > p { color: var(--navy); }

/* ============================================================
   ほかの年れいの みち（たたんでおく）
   じぶんの みちを 見つけやすくするため、ほかの年れいは
   ふだん たたんでおき、押したときだけ ひらく。
   ============================================================ */
.map-other-ages { margin: .6rem .05rem 0; }
.map-other-ages > summary {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem .85rem; border: 2px dashed var(--navy); border-radius: .75rem;
  background: var(--paper); color: var(--navy);
  font-family: "Zen Maru Gothic", sans-serif; font-size: .72rem; font-weight: 900;
  cursor: pointer; list-style: none;
}
.map-other-ages > summary::-webkit-details-marker { display: none; }
.map-other-ages > summary::before { content: "＋"; font-size: .9rem; line-height: 1; }
.map-other-ages[open] > summary::before { content: "－"; }
.map-other-ages > summary:hover { background: #fffdf3; }
.map-other-ages[open] > summary { margin-bottom: .5rem; }

/* じぶんの みちを 目立たせる */
.map-age-path.is-selected-age,

/* ============================================================
   「つぎは ここ！」の ふだ
   文字が 長くなって 縦に つぶれるのを ふせぐ。
   ============================================================ */
.flag-recommend {
  white-space: nowrap;
  top: -.72rem;
  padding: .2rem .4rem;
  font-size: .5rem;
  font-weight: 900;
  box-shadow: 0 2px 0 rgba(199,70,60,.35);
}
/* つぎの ばしょは 少し 上に あげて 目立たせる */
.map-course-flag.is-recommended { margin-top: .35rem; }

/* コース名は 2行まで 見せる（「からだの…」で 切れると 何か わからないため） */
.map-course-flag b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.25;
  text-align: center;
}

/* コース名を 折りかえして 2行まで 見せる（1行きりだと 名前が わからない） */
.map-course-flag b {
  display: -webkit-box !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  font-size: .5rem;
  line-height: 1.3;
  text-align: center;
  word-break: auto-phrase;
}


/* 保護者ページ：記録を はじめからに もどす */
.parent-reset { margin: 1.6rem 0; padding: 1.1rem 1.1rem 1.2rem; border: 2px dashed #c9d6d2; border-radius: 1rem; background: #fffdf8; }
.parent-reset h2 { margin: 0 0 .4rem; color: var(--navy); font: 900 1rem "Zen Maru Gothic", sans-serif; }
.parent-reset p { margin: 0 0 .8rem; color: var(--ink); font-size: .82rem; line-height: 1.7; }
.parent-reset-button {
  padding: .65rem 1rem; border: 2px solid var(--coral); border-radius: .7rem; background: #fff;
  color: #b94a3a; font: 900 .85rem "Zen Maru Gothic", sans-serif; cursor: pointer;
}
.parent-reset-button:active { transform: translateY(1px); }
.parent-reset-note { margin: .7rem 0 0 !important; color: #1f7a6e !important; font-weight: 800; }


/* ============================================================
   トップページ（じぶんの みちを すすもう）
   ①なんさい？ → ②きみの みち の 2ステップだけ。
   子どもが ひとりで 見ても すすみかたが わかるように、
   大きな ボタンと「つぎは ここ！」を 1つだけ 出す。
   ============================================================ */
.course-launcher { padding-bottom: 4rem; }
.launcher-hero { position: relative; display: grid; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; overflow: hidden; background: radial-gradient(circle at 11% 18%, rgba(248,197,69,.18) 0 3.5rem, transparent 3.55rem), var(--shell); }
.launcher-hero-copy { padding: 2.2rem 1.25rem 0; }
.launcher-hero h1 { margin: .5rem 0 .8rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(2.3rem, 10.5vw, 4rem); font-weight: 900; line-height: 1.08; letter-spacing: -.06em; }
.launcher-hero h1 em { color: var(--turquoise); font-style: normal; text-decoration: underline 9px var(--yellow); text-underline-offset: .14em; }
.launcher-lead { margin: 0; color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.85; }
.launcher-hero img { width: 88%; height: 230px; justify-self: end; margin-top: 1.1rem; border-radius: 5rem 0 0 0; box-shadow: -12px 12px 0 rgba(248,197,69,.2); object-fit: cover; object-position: center 60%; }

.start-step { position: relative; max-width: 760px; margin: 1.6rem auto 0; padding: 1.4rem 1.1rem 1.3rem; border: 3px solid var(--navy); border-radius: 1.4rem; background: var(--paper); box-shadow: 0 6px 0 rgba(30,76,99,.16); }
.start-step--age { margin-top: 2.4rem; background: linear-gradient(160deg, #fff9d9 0 62%, #e2f6f2 62%); }
.start-step--road { margin-top: 2.6rem; }
.start-step--road::before { position: absolute; top: -2.55rem; left: 50%; height: 2.3rem; border-left: 4px dotted rgba(30,76,99,.4); content: ""; transform: translateX(-50%); }
.step-badge { position: absolute; top: -1.15rem; left: 1rem; display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .8rem .28rem .3rem; border: 3px solid var(--navy); border-radius: 100px; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .8rem; font-weight: 900; box-shadow: 0 3px 0 rgba(30,76,99,.2); }
.step-badge span { display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: .82rem; }
.start-step--road .step-badge { background: var(--turquoise); }
.start-step--road .step-badge span { color: #fff; }
.start-step h2 { margin: .5rem 0 .3rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.55rem, 7vw, 2.2rem); font-weight: 900; line-height: 1.2; }
.step-hint { margin: 0 0 1rem; color: var(--muted); font-size: .76rem; font-weight: 700; line-height: 1.65; }

/* ① なんさい？ */
.age-picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.age-pick { position: relative; display: grid; justify-items: center; gap: .1rem; min-height: 6.4rem; padding: .85rem .5rem .75rem; border: 3px solid rgba(30,76,99,.25); border-radius: 1.1rem; background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.12); color: var(--navy); text-align: center; text-decoration: none; transition: transform 160ms var(--ease-out), border-color 160ms, background 160ms; }
.age-pick:hover { transform: translateY(-2px); }
.age-pick:active { transform: scale(.97); }
.age-pick-face { font-size: 2.1rem; line-height: 1; filter: drop-shadow(0 2px 0 rgba(35,55,70,.1)); }
.age-pick b { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; }
.age-pick small { color: var(--muted); font-size: .58rem; font-weight: 700; line-height: 1.3; }
.age-pick.is-picked { border-color: var(--coral); background: #fff4ca; box-shadow: 0 4px 0 var(--coral); }
.age-pick-check { position: absolute; top: -.6rem; right: -.45rem; display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--coral); color: #fff; font-style: normal; font-size: .9rem; font-weight: 900; }

/* ② きみの みち：つぎは ここ！ */
.road-hud { position: relative; margin: 0 0 1.2rem; padding: 1rem 1rem 1.1rem; border: 3px solid var(--coral); border-radius: 1.1rem; background: linear-gradient(135deg, #fff4ca 0 70%, #fde5df 70%); box-shadow: 0 5px 0 rgba(239,120,102,.35); }
.road-hud-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .5rem; }
.road-hud-tag { display: inline-block; padding: .22rem .65rem; border-radius: .5rem; background: var(--coral); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-size: .78rem; font-weight: 900; transform: rotate(-2deg); animation: hud-bounce 1.6s ease-in-out infinite; }
@keyframes hud-bounce { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(-3px); } }
.road-hud-count { color: var(--navy); font-size: .78rem; font-weight: 900; white-space: nowrap; }
.road-hud-count b { font-size: 1.05rem; }
.road-hud-place { margin: 0; color: var(--muted); font-size: .7rem; font-weight: 800; }
.road-hud h3 { margin: .1rem 0 .3rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.35rem, 6vw, 1.8rem); font-weight: 900; line-height: 1.25; }
.road-hud-kid { margin: 0 0 .9rem; color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.6; }
.road-go { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.5rem; border: 3px solid var(--navy); border-radius: .9rem; background: var(--yellow); box-shadow: 0 4px 0 #d89119; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; text-decoration: none; transition: transform 160ms var(--ease-out); }
.road-go:hover { transform: translateY(-2px); }
.road-go:active { transform: translateY(2px); box-shadow: 0 2px 0 #d89119; }
.road-go span { display: grid; width: 1.6rem; height: 1.6rem; place-items: center; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: .7rem; }
.road-meter { position: relative; height: .7rem; margin: 1.6rem .4rem .2rem; border-radius: 100px; background: rgba(30,76,99,.15); }
.road-meter i { position: absolute; top: 0; bottom: 0; left: 0; width: max(var(--p), .7rem); border-radius: 100px; background: var(--turquoise); transition: width 600ms var(--ease-out); }
.road-meter img { position: absolute; top: 50%; right: -1.1rem; width: 2.2rem; max-width: none; height: 2.2rem; border: 2px solid #fff; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 2px 0 rgba(35,55,70,.15); transform: translateY(-50%); }
.road-hud--done { background: linear-gradient(135deg, #e0f6f3 0 70%, #fff4ca 70%); border-color: var(--turquoise); box-shadow: 0 5px 0 rgba(52,184,177,.4); }
.road-hud--done .road-hud-tag { background: var(--turquoise); }
.road-hud--waiting { display: flex; align-items: center; gap: .6rem; padding: .9rem 1rem; border-style: dashed; border-color: var(--navy); background: #fffdf8; box-shadow: none; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .85rem; font-weight: 900; text-decoration: none; }
.road-hud--waiting span { font-size: 1.4rem; }

/* ② きみの みち：8つの ばしょ */
.road { position: relative; margin: 0; padding: 0 0 0 .2rem; list-style: none; }
.road::before { position: absolute; top: 1.6rem; bottom: 1.6rem; left: 1.45rem; border-left: 4px dotted rgba(30,76,99,.28); content: ""; }
.road-stop { position: relative; margin: 0 0 .7rem; }
.road-stop-head { position: relative; display: grid; grid-template-columns: 2.5rem 2.2rem 1fr auto 1rem; align-items: center; gap: .55rem; width: 100%; min-height: 4.4rem; padding: .7rem .75rem .7rem .3rem; border: 2px solid #e2ebe7; border-radius: 1.1rem; background: #fffdf8; box-shadow: 0 6px 16px rgba(35,55,70,.06); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: transform 160ms var(--ease-out); }
.road-stop-head:active { transform: scale(.985); }
.road-stop-num { display: grid; width: 2.3rem; height: 2.3rem; place-items: center; border: 3px solid #fffdf8; border-radius: 50%; background: #dfe8e5; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 900; box-shadow: 0 2px 0 rgba(35,55,70,.12); }
.road-stop-icon { font-size: 1.5rem; line-height: 1; text-align: center; }
.road-stop-text { display: grid; gap: .1rem; min-width: 0; }
.road-stop-text b { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 900; line-height: 1.25; }
.road-stop-text small { color: var(--muted); font-size: .62rem; font-weight: 700; }
.road-dots { display: flex; gap: .28rem; margin-top: .2rem; }
.road-dots i { width: .62rem; height: .62rem; border-radius: 50%; background: #dfe8e5; }
.road-dots i.is-started { background: #f8d98a; }
.road-dots i.is-done { background: var(--turquoise); }
.road-dots i.is-next { background: var(--coral); box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(239,120,102,.4); }
.road-stop-state { color: var(--muted); font-size: .66rem; font-weight: 900; white-space: nowrap; }
.road-stop-arrow { color: var(--muted); font-size: .9rem; transition: transform 200ms var(--ease-out); }
.road-stop-head[aria-expanded="true"] .road-stop-arrow { transform: rotate(180deg); }
.road-stop--turquoise .road-stop-num { background: var(--turquoise-pale); }
.road-stop--coral .road-stop-num { background: var(--coral-pale); }
.road-stop--yellow .road-stop-num { background: #fff1c0; }
.road-stop--navy .road-stop-num { background: #e3edf2; }
.road-stop.is-next .road-stop-head { border: 3px solid var(--coral); background: #fff9e6; box-shadow: 0 4px 0 rgba(239,120,102,.35); }
.road-stop.is-next .road-stop-num { background: var(--coral); color: #fff; }
.road-stop.is-next .road-stop-state { padding: .2rem .5rem; border-radius: .45rem; background: var(--coral); color: #fff; }
.road-stop.is-done .road-stop-num { background: var(--turquoise); color: #fff; }
.road-stop.is-done .road-stop-num::after { content: "✓"; }
.road-stop.is-done .road-stop-num { font-size: 0; }
.road-stop.is-done .road-stop-num::after { font-size: 1rem; }
.road-stop.is-done .road-stop-state { padding: .2rem .5rem; border-radius: .45rem; background: var(--turquoise); color: #fff; transform: rotate(-3deg); }
.road.is-waiting .road-stop-head { opacity: .55; }
.road.is-waiting .road-stop-arrow { visibility: hidden; }

.road-stop-courses { display: grid; gap: .55rem; margin: .55rem 0 .4rem 2.6rem; }
.road-course { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .6rem; min-height: 3.6rem; padding: .6rem .75rem; border: 2px solid #e2ebe7; border-radius: .9rem; background: #fff; color: var(--ink); text-decoration: none; transition: transform 160ms var(--ease-out); }
.road-course:hover { transform: translateY(-1px); }
.road-course:active { transform: scale(.98); }
.road-course-num { display: grid; width: 1.8rem; height: 1.8rem; place-items: center; border-radius: 50%; background: #dfe8e5; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .82rem; font-weight: 900; }
.road-course-text { display: grid; gap: .05rem; min-width: 0; }
.road-course-text b { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; font-weight: 900; line-height: 1.3; }
.road-course-text small { color: var(--muted); font-size: .6rem; font-weight: 700; line-height: 1.45; }
.road-course-go { color: var(--navy); font-size: .64rem; font-weight: 900; white-space: nowrap; }
.road-course.is-started .road-course-num { background: #f8d98a; }
.road-course.is-done .road-course-num { background: var(--turquoise); color: #fff; }
.road-course.is-done { border-color: rgba(52,184,177,.4); }
.road-course.is-next { border: 2px solid var(--coral); background: #fff4ca; box-shadow: 0 3px 0 rgba(239,120,102,.35); }
.road-course.is-next .road-course-num { background: var(--coral); color: #fff; }
.road-course.is-next .road-course-go { padding: .25rem .5rem; border-radius: .45rem; background: var(--coral); color: #fff; }

/* あそびかた（みじかく） */
.how-mini { max-width: 760px; margin: 2.4rem auto 0; padding: 0 1.1rem; }
.how-mini h2 { margin: 0 0 .7rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.2rem; font-weight: 900; }
.how-mini ol { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.how-mini li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .6rem; align-items: center; padding: .65rem .8rem; border-radius: .9rem; background: #fffdf8; border: 1px solid #e6eeeb; }
.how-mini li span { grid-row: 1 / span 2; display: grid; width: 1.9rem; height: 1.9rem; place-items: center; border-radius: .5rem .8rem .8rem .8rem; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; }
.how-mini li:nth-child(2) span { background: var(--turquoise); color: #fff; }
.how-mini li:nth-child(3) span { background: var(--coral); color: #fff; }
.how-mini li b { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .88rem; }
.how-mini li small { color: var(--muted); font-size: .64rem; font-weight: 700; }
.how-mini-parents { display: inline-block; margin-top: 1.1rem; color: var(--navy); font-size: .7rem; font-weight: 800; text-decoration: underline; text-underline-offset: .25rem; }

@media (min-width: 600px) {
  .launcher-hero { grid-template-columns: 1.1fr 1fr; align-items: end; }
  .launcher-hero-copy { padding: 3.6rem 2rem 2.4rem; }
  .launcher-hero img { width: 100%; height: 330px; margin-top: 0; }
  .start-step { padding: 1.7rem 1.6rem 1.6rem; }
  .age-picker { grid-template-columns: repeat(4, 1fr); }
  .road-stop-courses { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 359px) {
  /* せまい画面では 絵文字を 消して、名前が 1行に おさまるようにする */
  .road-stop-head { grid-template-columns: 2.1rem 1fr auto .7rem; gap: .4rem; padding-right: .5rem; }
  .road-stop-icon { display: none; }
  .road-stop-num { width: 2rem; height: 2rem; font-size: .9rem; }
  .road-stop-text b { font-size: .9rem; }
  .road-stop-state { font-size: .56rem; }
  .road-stop.is-next .road-stop-state, .road-stop.is-done .road-stop-state { padding: .18rem .4rem; }
  .road-stop-courses { margin-left: 1.4rem; }
  .road-course { grid-template-columns: 1.8rem 1fr; row-gap: .3rem; }
  .road-course-go { grid-column: 2; justify-self: start; }
  .road::before { left: 1.2rem; }
}

/* ② へ スクロールしたとき、上の ヘッダーに かくれないように */
.start-step { scroll-margin-top: 96px; }


/* ============================================================
   かんがえメーター（タップ式）
   ①絵 → ②「きみは どう かな？」＋ふきだしの文 → ③5つの まるを タップ
   ============================================================ */
.meter-card .meter-figure { margin-bottom: 1rem; }
.meter-ask { margin-bottom: 1.1rem; }
.meter-ask-lead { display: flex; align-items: center; gap: .35rem; margin: 0 0 .45rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; }
.meter-ask-lead span { font-size: 1.25rem; }
.meter-card .meter-ask .card-question { position: relative; margin: 0; padding: .9rem 1rem; border: 3px solid var(--navy); border-radius: 1rem; background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.14); font-size: clamp(1.02rem, 4.6vw, 1.25rem); line-height: 1.55; }
.meter-card .meter-ask .card-question::before { content: "「"; }
.meter-card .meter-ask .card-question::after { content: "」"; }
.meter-scale { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; min-height: 4.2rem; padding: 0 .1rem; }
.meter-scale::before { position: absolute; top: 50%; right: 10%; left: 10%; height: .35rem; border-radius: 99px; background: linear-gradient(90deg, rgba(52,184,177,.35), #e4ece9 50%, rgba(248,197,69,.55)); content: ""; transform: translateY(-50%); }
.meter-dot { position: relative; z-index: 1; display: grid; width: 3.6rem; height: 3.6rem; place-items: center; padding: 0; border: 0; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.meter-dot span { display: block; border: 3px solid var(--navy); border-radius: 50%; background: #fff; box-shadow: 0 3px 0 rgba(30,76,99,.18); transition: transform 180ms var(--ease-out), background 180ms, box-shadow 180ms; }
.meter-dot--1 span, .meter-dot--5 span { width: 3rem; height: 3rem; }
.meter-dot--2 span, .meter-dot--4 span { width: 2.35rem; height: 2.35rem; }
.meter-dot--3 span { width: 1.8rem; height: 1.8rem; }
.meter-dot--1 span, .meter-dot--2 span { border-color: #2a9690; }
.meter-dot--4 span, .meter-dot--5 span { border-color: #d19a1f; }
.meter-dot--3 span { border-color: #8aa0a8; }
.meter-dot:active span { transform: scale(.9); }
.meter-dot.is-selected span { position: relative; box-shadow: 0 0 0 5px rgba(239,120,102,.25), 0 3px 0 rgba(30,76,99,.2); transform: scale(1.08); }
.meter-dot--1.is-selected span, .meter-dot--2.is-selected span { background: var(--turquoise); }
.meter-dot--3.is-selected span { background: #b9c8cd; }
.meter-dot--4.is-selected span, .meter-dot--5.is-selected span { background: var(--yellow); }
.meter-dot.is-selected span::after { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 900; content: "✓"; text-shadow: 0 1px 0 rgba(30,76,99,.3); }
.meter-dot--4.is-selected span::after, .meter-dot--5.is-selected span::after { color: var(--navy); text-shadow: none; }
.meter-ends { display: grid; grid-template-columns: 2fr 1fr 2fr; gap: .3rem; margin-top: .25rem; color: var(--navy); font-size: .74rem; font-weight: 900; line-height: 1.35; }
.meter-ends .slider-left { text-align: left; }
.meter-ends .meter-ends-mid { color: var(--muted); font-size: .64rem; font-weight: 700; text-align: center; }
.meter-ends .slider-right { text-align: right; }
.meter-card .slider-guidance { margin-top: .9rem; margin-bottom: 0; padding: .55rem .7rem; border-radius: .7rem; background: #f2f6f5; color: var(--ink); font-size: .74rem; font-weight: 700; line-height: 1.55; }
.meter-card.is-reflected .slider-guidance { background: #e6f6f3; color: #1f6f68; }
.meter-card .meter-response { display: grid; grid-template-columns: 3rem 1fr; gap: .65rem; align-items: start; margin-top: 1rem; padding: .9rem; border: 2px solid rgba(52,184,177,.4); border-radius: 1rem; background: #eef8f7; }
.meter-card .meter-response[hidden] { display: none; }
.meter-response img { width: 3rem; height: 3rem; border-radius: 50%; background: #fff; object-fit: cover; }
.meter-reply { margin: 0 0 .35rem; color: var(--ink); font-size: .9rem; font-weight: 800; line-height: 1.7; }
.meter-response small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; line-height: 1.55; }
.meter-response.is-pop { animation: meter-pop 320ms var(--ease-out); }
@keyframes meter-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 359px) {
  .meter-dot { width: 3rem; height: 3rem; }
  .meter-dot--1 span, .meter-dot--5 span { width: 2.5rem; height: 2.5rem; }
  .meter-dot--2 span, .meter-dot--4 span { width: 2rem; height: 2rem; }
  .meter-dot--3 span { width: 1.55rem; height: 1.55rem; }
  .meter-ends { font-size: .66rem; }
}


/* ============================================================
   どうする？カード（1つ タップして えらぶ）
   ============================================================ */
.scene-card .prompt-figure figcaption { display: none; }
.ask-block { position: relative; z-index: 1; margin: .2rem 0 1rem; }
.ask-lead { display: flex; align-items: center; gap: .35rem; margin: 0 0 .45rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; }
.ask-lead span { font-size: 1.25rem; }
.scene-card .ask-block .card-question { margin: 0; padding: .9rem 1rem; border: 3px solid var(--navy); border-radius: 1rem; background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.14); font-size: clamp(1.02rem, 4.6vw, 1.25rem); line-height: 1.6; }
.scene-guidance { position: relative; z-index: 1; margin: 0 0 .8rem; padding: .55rem .7rem; border-radius: .7rem; background: #f2f6f5; color: var(--ink); font-size: .74rem; font-weight: 700; line-height: 1.55; }
.scene-card.is-reflected .scene-guidance { background: #e6f6f3; color: #1f6f68; }
.scene-choices { position: relative; z-index: 1; display: grid; gap: .65rem; }
.scene-choice { display: grid; grid-template-columns: 2rem 1fr; align-items: center; gap: .7rem; width: 100%; min-height: 3.6rem; padding: .75rem .9rem .75rem .75rem; border: 2px solid #cfdcd8; border-radius: 1rem; background: #fff; box-shadow: 0 3px 0 rgba(30,76,99,.1); color: var(--ink); font-family: "Noto Sans JP", sans-serif; font-size: .88rem; font-weight: 800; line-height: 1.5; text-align: left; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 160ms, background 160ms; }
.scene-choice:active { transform: scale(.98); }
.scene-check { position: relative; display: block; width: 1.8rem; height: 1.8rem; border: 3px solid #9fb3b9; border-radius: 50%; background: #fff; }
.scene-choice.is-selected { border-color: var(--coral); background: #fff4ca; box-shadow: 0 3px 0 rgba(239,120,102,.4); }
.scene-choice.is-selected .scene-check { border-color: var(--coral); background: var(--coral); }
.scene-choice.is-selected .scene-check::after { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .9rem; font-weight: 900; content: "✓"; }
@media (hover: hover) { .scene-choice:hover { border-color: var(--turquoise); } .scene-choice.is-selected:hover { border-color: var(--coral); } }
.scene-response { position: relative; z-index: 1; display: grid; grid-template-columns: 3rem 1fr; gap: .65rem; align-items: start; margin-top: 1rem; padding: .9rem; border: 2px solid rgba(52,184,177,.4); border-radius: 1rem; background: #eef8f7; }
.scene-response[hidden] { display: none; }
.scene-response img { width: 3rem; height: 3rem; border-radius: 50%; background: #fff; object-fit: cover; }
.scene-reply { margin: 0 0 .35rem; color: var(--ink); font-size: .9rem; font-weight: 800; line-height: 1.7; }
.scene-response small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; line-height: 1.55; }
.scene-response.is-pop { animation: meter-pop 320ms var(--ease-out); }


/* ============================================================
   絵は 切らずに 全体を見せる
   イラストは すべて正方形。横長の枠や 切り抜き表示（cover）、
   大きな角丸・回転で、絵のはしが 切れていたのを なおす。
   ============================================================ */
/* コースページの 大きな絵 */
.hero-art-wrap { right: .8rem; bottom: 1.8rem; height: auto; aspect-ratio: 1 / 1; border-radius: 1.4rem; background: #fff; }
/* 下の「じぶんの みちしるべ」の枠（上に 16px 重なる）に 絵が かくれないよう、下に すきまを あける */
.hero-art { height: 100%; object-fit: contain; object-position: center; transform: none; }
@media (min-width: 600px) { .hero-art-wrap { right: auto; bottom: auto; margin-bottom: 2.2rem; height: auto; border-radius: 1.6rem; } }
/* トップページの 大きな絵 */
.launcher-hero img { height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; border-radius: 1.4rem; background: #fff; }
/* コースの説明の 小さな絵 */
.course-intro img { height: 105px; object-fit: contain; border-radius: 1rem; background: #fff; }


/* ============================================================
   ためし：予想してから めくる ／ こすって めくる ／ うわさチェッカー
   ============================================================ */
.guess-box { position: relative; z-index: 1; margin: .1rem 0 .3rem; }
.guess-box[hidden] { display: none; }
.guess-lead { margin: 0 0 .65rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; }
.guess-lead::before { content: "🤔 "; }
.guess-choices { display: grid; gap: .55rem; }
.guess-choice { width: 100%; min-height: 3.2rem; padding: .7rem 1rem; border: 2px solid #cfdcd8; border-radius: 1rem; background: #fff; box-shadow: 0 3px 0 rgba(30,76,99,.1); color: var(--ink); font-family: "Noto Sans JP", sans-serif; font-size: .9rem; font-weight: 800; line-height: 1.45; text-align: left; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 160ms; }
.guess-choice:active { transform: scale(.98); }
@media (hover: hover) { .guess-choice:not(:disabled):hover { border-color: var(--turquoise); } }
.guess-choice:disabled { cursor: default; opacity: .5; }
.guess-choice.is-picked { opacity: 1; border-color: var(--coral); background: #fff4ca; box-shadow: 0 3px 0 rgba(239,120,102,.4); }
.guess-choice.is-picked::after { content: "きみの予想"; float: right; margin-left: .5rem; padding: .12rem .45rem; border-radius: .4rem; background: var(--coral); color: #fff; font-size: .62rem; font-weight: 900; }
.guess-result { margin: 0 1.25rem .3rem; padding: .6rem .85rem; border-radius: .8rem; font-family: "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 900; line-height: 1.5; animation: meter-pop 380ms var(--ease-out); }
.guess-result[hidden] { display: none; }
.guess-result.is-match { background: #e3f5f1; color: #1f6f68; }
.guess-result.is-surprise { background: #ffeccc; color: #a8520c; }
.guess-result.is-unsure { background: #eaf0f5; color: var(--navy); }
/* うわさチェッカー：SNSの投稿のような見た目 */
.is-rumor .card-kind::before { content: "🔍 "; }
.guess-rumor { display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; align-items: center; margin: .4rem 0 1rem; padding: .85rem .95rem; border: 2px solid #d5dfe7; border-radius: 1.1rem; background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.1); }
.guess-rumor[hidden] { display: none; }
.guess-rumor-icon { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 50%; background: #efe7ff; font-size: 1.2rem; }
.guess-rumor p { margin: 0; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1rem, 4.5vw, 1.2rem); font-weight: 900; line-height: 1.5; }
.guess-rumor p::before { content: "「"; }
.guess-rumor p::after { content: "」"; }
/* こすって めくる */
.scratch-wrap { position: relative; margin: .8rem 1.25rem 1rem; }
.scratch-wrap .answer-text { margin: 0; padding: .6rem .3rem; min-height: 5rem; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: .9rem; box-shadow: 0 4px 0 rgba(199,140,28,.35); cursor: grab; touch-action: none; transition: opacity 420ms var(--ease-out); }
.scratch-canvas.is-cleared { opacity: 0; pointer-events: none; }
.scratch-skip { display: block; margin: -.35rem 1.25rem .7rem auto; padding: .3rem 0; border: 0; background: none; color: var(--navy); font-size: .72rem; font-weight: 800; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.is-scratching .answer-figure, .is-scratching .card-note, .is-scratching .guess-result { display: none !important; }
@media (min-width: 600px) { .scratch-wrap { margin-right: 1.45rem; margin-left: 1.45rem; } .guess-result { margin-right: 1.45rem; margin-left: 1.45rem; } }

/* うわさチェッカー：答えの上の もとの質問 */
.rumor-q { margin: .75rem 1.25rem 0; color: var(--muted); font-size: .8rem; font-weight: 800; line-height: 1.6; }
.rumor-q span { display: inline-block; margin-right: .4rem; padding: .05rem .45rem; border-radius: .4rem; background: #efe7ff; color: #5b3fa0; font-size: .66rem; }
@media (min-width: 600px) { .rumor-q { margin-right: 1.45rem; margin-left: 1.45rem; } }

/* からだの なまえ：絵の 色の丸シールと 同じ色の点 */
.answer-text .dot { font-size: 1.05em; }
.dot-yellow { color: #e9b21a; }
.dot-teal { color: var(--turquoise); }
.dot-purple { color: #7a5bc7; }
.dot-coral { color: var(--coral); }

/* からだの なまえ：色あわせの ヒントと、シールと同じ色の なまえの わく */
.dot-hint { display: block; margin: 0 0 .9rem; text-align: center; padding: .75rem .9rem; border: 3px solid #e9b21a; border-radius: 1rem; background: #fff4ca; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 900; line-height: 1.6; }
.dot-hint b { color: #b8520c; }
.name-tag { display: flex; width: fit-content; align-items: center; gap: .3rem; margin: 1rem 0 .3rem; padding: .15rem .7rem .15rem .45rem; border: 3px solid; border-radius: 100px; background: #fff; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; line-height: 1.4; }
.name-tag i { font-style: normal; font-size: 1.25em; line-height: 1; }
.tag-yellow { border-color: #e9b21a; } .tag-yellow i { color: #e9b21a; }
.tag-teal { border-color: var(--turquoise); } .tag-teal i { color: var(--turquoise); }
.tag-purple { border-color: #7a5bc7; } .tag-purple i { color: #7a5bc7; }
.tag-coral { border-color: var(--coral); } .tag-coral i { color: var(--coral); }

/* からだの なまえ：1つの なまえ＝1つの 箱。「どこ」「なにを する」を 短い行で */
.part { display: block; margin: .75rem 0; padding: .7rem .8rem .75rem; border: 2px solid #e6eeeb; border-left-width: 7px; border-radius: 1rem; background: #fff; }
.part-yellow { border-left-color: #e9b21a; } .part-teal { border-left-color: var(--turquoise); } .part-purple { border-left-color: #7a5bc7; } .part-coral { border-left-color: var(--coral); }
.part .name-tag { margin: 0 0 .45rem; }
.part-line { display: block; padding-left: 1.7em; text-indent: -1.7em; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.6; }
.part-line + .part-line { margin-top: .15rem; }
.part-line.part-end:empty { display: none; }
.part-sub { display: block; margin: .5rem 0 0; padding: .5rem .65rem; border-radius: .75rem; background: #fdf0ec; }
.part-sub b { display: block; margin-bottom: .15rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .98rem; }

/* 絵の すぐ上の ヒント／ひとことの 改行 */
.answer-figure > .dot-hint { margin: 0 1.25rem .8rem; font-size: .95rem; }
@media (min-width: 600px) { .answer-figure > .dot-hint { margin-right: 1.45rem; margin-left: 1.45rem; } }
.card-note { white-space: pre-line; }


/* ============================================================
   ためし：おまもりガチャ（コースの おわり）と そだつ しま（トップページ）
   ============================================================ */
.art { position: relative; display: inline-grid; place-items: center; }
.art > img { display: block; width: 100%; height: 100%; object-fit: contain; }
.art > img + .art-fallback { display: none; }
.art-fallback { display: grid; place-items: center; width: 100%; height: 100%; line-height: 1; }

/* ガチャ（中学生・高校生の チャーム） */
.omamori { max-width: 760px; margin: 2rem 1rem; padding: 1.4rem 1.2rem 1.5rem; border: 3px solid var(--navy); border-radius: 1.4rem; background: linear-gradient(160deg,#fff7d6 0 60%,#e2f6f2 60%); box-shadow: 0 6px 0 rgba(30,76,99,.16); text-align: center; }
.omamori h2 { margin: .3rem 0 .8rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.3rem, 6vw, 1.7rem); font-weight: 900; line-height: 1.35; }
.gacha-stage { position: relative; display: grid; place-items: center; height: 15rem; margin: 0 auto .9rem; }
.gacha-machine { width: 14rem; height: 14.5rem; }
.gacha-stage.is-shaking .gacha-machine { animation: gacha-shake .9s ease-in-out; }
@keyframes gacha-shake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-6deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
.gacha-capsule { position: absolute; bottom: -.4rem; left: 50%; width: 3.6rem; height: 3.6rem; transform: translateX(-50%); animation: capsule-drop 1.1s var(--ease-out) both; }
@keyframes capsule-drop { 0% { opacity: 0; transform: translate(-50%, -3rem) scale(.6); } 45% { opacity: 1; transform: translate(-50%, 0) scale(1); } 65% { transform: translate(-50%, -.8rem); } 80% { transform: translate(-50%, 0); } 90% { transform: translate(-50%, 0) rotate(-12deg); } 100% { transform: translate(-50%, 0) rotate(8deg) scale(1.15); } }
.gacha-spin { min-width: 13rem; min-height: 3.4rem; padding: 0 1.4rem; border: 3px solid var(--navy); border-radius: 1rem; background: var(--yellow); box-shadow: 0 4px 0 #d89119; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.1rem; font-weight: 900; cursor: pointer; }
.gacha-spin:active { transform: translateY(2px); box-shadow: 0 2px 0 #d89119; }
.gacha-spin:disabled { opacity: .75; cursor: default; }
/* 画像が ないときの ガチャマシン（形だけ） */
.gm-fallback { display: grid; justify-items: center; width: 100%; height: 100%; }
.gm-dome { position: relative; width: 9.5rem; height: 9rem; border: 4px solid var(--navy); border-radius: 50% 50% 1rem 1rem; background: rgba(224,245,241,.8); overflow: hidden; }
.gm-dome i { position: absolute; width: 2.4rem; height: 2.4rem; border: 3px solid var(--navy); border-radius: 50%; background: linear-gradient(180deg, var(--c) 0 50%, #fffdf8 50%); }
.gm-dome i:nth-child(1) { --c: var(--coral); left: .5rem; bottom: .3rem; } .gm-dome i:nth-child(2) { --c: var(--yellow); left: 3.2rem; bottom: .2rem; } .gm-dome i:nth-child(3) { --c: var(--turquoise); right: .5rem; bottom: .4rem; }
.gm-dome i:nth-child(4) { --c: #7a5bc7; left: 1.8rem; bottom: 2.6rem; } .gm-dome i:nth-child(5) { --c: var(--yellow); right: 1.6rem; bottom: 2.7rem; } .gm-dome i:nth-child(6) { --c: var(--coral); left: 3.4rem; bottom: 4.9rem; }
.gm-body { position: relative; width: 10.5rem; height: 3.4rem; margin-top: -.3rem; border: 4px solid var(--navy); border-radius: .8rem; background: var(--turquoise); }
.gm-knob { position: absolute; top: .55rem; left: 1.2rem; width: 1.9rem; height: 1.9rem; border: 3px solid var(--navy); border-radius: 50%; background: var(--yellow); }
.gm-slot { position: absolute; top: .9rem; right: 1.2rem; width: 3rem; height: 1.4rem; border: 3px solid var(--navy); border-radius: .5rem; background: var(--navy); }
.cap-fallback { position: relative; display: block; width: 100%; height: 100%; }
.cap-fallback i { position: absolute; left: 0; right: 0; height: 50%; border: 3px solid var(--navy); }
.cap-top { top: 0; border-radius: 3rem 3rem 0 0; background: var(--coral); }
.cap-bottom { bottom: 0; border-top-width: 0 !important; border-radius: 0 0 3rem 3rem; background: #fffdf8; }
/* でてきた おまもり */
.omamori-prize { display: grid; justify-items: center; gap: .2rem; }
.omamori-prize.is-pop { animation: prize-pop .6s var(--ease-out) both; }
@keyframes prize-pop { 0% { opacity: 0; transform: scale(.4) rotate(-8deg); } 70% { opacity: 1; transform: scale(1.08) rotate(2deg); } 100% { transform: none; } }
.omamori-item { width: 9rem; height: 9rem; font-size: 5.5rem; filter: drop-shadow(0 6px 0 rgba(30,76,99,.12)); }
.omamori-prize h2 { margin: .2rem 0 .4rem; }
.omamori-fact { max-width: 26rem; margin: 0 auto; padding: .65rem .9rem; border-radius: .9rem; background: #fff; color: var(--ink); font-size: .9rem; font-weight: 800; line-height: 1.6; }
.omamori-note { margin: .9rem 0 0; color: var(--muted); font-size: .75rem; font-weight: 700; }

/* にょうどうこう（青）・ちつの いりぐち（ピンク）の 色 */
.tag-blue { border-color: #2f6fd1; } .tag-blue i { color: #2f6fd1; } .part-blue { border-left-color: #2f6fd1; }
.tag-pink { border-color: #ef8fb3; } .tag-pink i { color: #ef8fb3; } .part-pink { border-left-color: #ef8fb3; }
.part-sub .name-tag-sm { margin: 0 0 .3rem; font-size: .92rem; border-width: 2px; }


/* まんがカード（ためし）：せりふを 1コマずつ 出す */
.manga-card .card-kind::before { content: "📖 "; }
.manga-lines { position: relative; z-index: 1; display: grid; gap: .55rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.manga-line { scroll-margin-top: 6rem; padding: .5rem; border: 2px solid var(--navy); border-radius: 1.1rem; background: #fff; box-shadow: 0 3px 0 rgba(30,76,99,.12); }
.manga-line.is-pop { animation: meter-pop 320ms var(--ease-out); }
.manga-panel { margin: 0; }
.manga-panel img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: .8rem; }
.manga-say { display: grid; grid-template-columns: 1.5rem 1fr; gap: .4rem; align-items: start; padding: .55rem .3rem .2rem; }
.manga-no { color: var(--coral); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.2rem; font-weight: 900; line-height: 1.2; }
.manga-say p { margin: 0; font-size: .92rem; font-weight: 700; line-height: 1.6; }
.manga-say b { display: block; color: var(--turquoise); font-size: .74rem; font-weight: 900; }
.manga-next { position: relative; z-index: 1; display: block; width: 100%; min-height: 3.2rem; border: 3px solid var(--navy); border-radius: 100px; background: var(--yellow); box-shadow: 0 4px 0 var(--navy); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; cursor: pointer; }
.manga-next:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--navy); }
.manga-next[hidden] { display: none; }

/* きもちで わける（ためし）：ふれあいごとに 😊😐😣 を えらぶ。正解は ない */
.sort-card .card-kind::before { content: "🗂️ "; }
.sort-rows { position: relative; z-index: 1; display: grid; gap: .6rem; }
.sort-row { padding: .65rem; border: 2px solid #d9e3e8; border-radius: 1rem; background: #fff; transition: border-color .2s; }
.sort-row.is-picked { border-color: rgba(52,184,177,.55); background: #f6fcfb; }
.sort-thing { display: flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; font-size: 1.02rem; font-weight: 800; }
.sort-thing span { font-size: 1.5rem; }
.sort-feels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.sort-feel { display: grid; justify-items: center; gap: .1rem; min-height: 3.6rem; padding: .35rem .2rem; border: 2px solid #d9e3e8; border-radius: .8rem; background: #fff; color: var(--ink); cursor: pointer; }
.sort-feel span { font-size: 1.55rem; line-height: 1.2; }
.sort-feel small { font-size: .66rem; font-weight: 800; line-height: 1.3; }
.sort-feel.is-selected { border-color: var(--navy); background: #fff5cf; box-shadow: 0 3px 0 var(--navy); }
.sort-tally { margin: 0 0 .35rem; color: var(--navy); font-weight: 900; }

/* ココカラひろばって どんなところ？（こども向け／おとな向け） */
.about { max-width: 760px; margin: 1.8rem auto 0; padding: 1.4rem 1.1rem 1.5rem; border: 3px solid var(--navy); border-radius: 1.4rem; background: var(--paper); box-shadow: 0 6px 0 rgba(30,76,99,.16); }
.about > h2 { margin: .3rem 0 1rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.35rem, 6vw, 1.8rem); font-weight: 900; line-height: 1.3; }
.about > h2 em { color: var(--turquoise); font-style: normal; text-decoration: underline 6px var(--yellow); text-underline-offset: .12em; }
.about-switch { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: 1.1rem; }
.about-switch button { display: flex; align-items: center; justify-content: center; gap: .35rem; min-height: 3rem; padding: .4rem .5rem; border: 3px solid var(--navy); border-radius: 100px; background: #fff; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .88rem; font-weight: 900; cursor: pointer; }
.about-switch button span { font-size: 1.15rem; }
.about-switch button[aria-selected="true"] { background: var(--yellow); box-shadow: 0 4px 0 var(--navy); }
.about-panel[hidden] { display: none; }
.about-lead { display: grid; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.about-lead img { width: 100%; max-height: 260px; border-radius: 1rem; object-fit: contain; background: #fff; }
.about-lead p { margin: 0; color: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.8; }
.about-lead b, .about-text b { color: var(--navy); background: linear-gradient(transparent 62%, rgba(248,197,69,.45) 62%); }
.about-h { margin: 1.4rem 0 .45rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; }
.about-text { margin: 0 0 .7rem; color: var(--ink); font-size: .84rem; font-weight: 600; line-height: 1.85; }
.about-islands { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin: 0; padding: 0; list-style: none; counter-reset: isl; }
.about-islands li { position: relative; display: grid; grid-template-columns: 2rem 1fr; column-gap: .45rem; align-items: center; padding: .55rem .6rem; border: 2px solid #d9e8e5; border-radius: .9rem; background: #fff; counter-increment: isl; }
.about-islands li::after { position: absolute; top: .25rem; left: .45rem; color: var(--yellow-deep); font-size: .62rem; font-weight: 900; content: counter(isl); }
.about-islands li span { grid-row: 1 / span 2; font-size: 1.45rem; text-align: center; }
.about-islands li b { color: var(--navy); font-size: .78rem; line-height: 1.35; }
.about-islands li small { color: var(--muted); font-size: .62rem; font-weight: 700; line-height: 1.4; }
.about-steps { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.about-steps li { display: grid; grid-template-columns: 5.2rem 1fr; column-gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: .9rem; background: #fff; border-left: 6px solid var(--yellow); }
.about-steps li:nth-child(2) { border-left-color: var(--coral); margin-left: .6rem; }
.about-steps li:nth-child(3) { border-left-color: var(--turquoise); margin-left: 1.2rem; }
.about-steps li:nth-child(4) { border-left-color: var(--navy); margin-left: 1.8rem; }
.about-steps li b { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; }
.about-steps li small { grid-column: 1; color: var(--muted); font-size: .64rem; font-weight: 800; }
.about-steps li span { grid-column: 2; grid-row: 1 / span 2; color: var(--ink); font-size: .76rem; font-weight: 700; line-height: 1.55; }
.about-can { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin: 0; padding: 0; list-style: none; }
.about-can li { display: grid; justify-items: center; gap: .15rem; padding: .6rem .3rem; border-radius: .9rem; background: var(--turquoise-pale); text-align: center; }
.about-can li span { font-size: 1.5rem; }
.about-can li b { color: var(--navy); font-size: .68rem; line-height: 1.35; }
.about-promise { margin: 1rem 0 0; padding: .8rem .9rem; border-radius: 1rem; background: #fff5cf; color: var(--navy); font-size: .84rem; font-weight: 700; line-height: 1.7; }
.about-concepts { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.about-concepts li { display: grid; padding: .6rem .75rem; border-radius: .9rem; background: #fff; border: 2px solid #e6eeeb; }
.about-concepts li b { color: var(--navy); font-size: .84rem; }
.about-concepts li span { color: var(--turquoise); font-size: .7rem; font-weight: 900; }
.about-concepts li small { color: var(--muted); font-size: .7rem; font-weight: 600; line-height: 1.55; }
.about-wide { display: block; width: 100%; max-height: 240px; margin: .2rem 0 .7rem; border-radius: 1rem; object-fit: contain; background: #fff; }
.about-why, .about-features { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.about-why li, .about-features li { padding: .65rem .8rem; border-radius: .9rem; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 600; line-height: 1.8; }
.about-why li { border-left: 5px solid var(--yellow); }
.about-why li b, .about-features li b { display: block; color: var(--navy); font-size: .86rem; }
.about-features li { border-left: 5px solid var(--turquoise); }
.about-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1rem; padding: .7rem 1.1rem; border: 3px solid var(--navy); border-radius: 100px; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .88rem; font-weight: 900; text-decoration: none; box-shadow: 0 4px 0 var(--navy); }
@media (min-width: 640px) {
  .about { padding: 1.8rem 1.6rem; }
  .about-lead { grid-template-columns: 1fr 1.2fr; }
  .about-islands { grid-template-columns: repeat(4, 1fr); }
  .about-islands li { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-islands li span { grid-row: auto; }
  .about-can { grid-template-columns: repeat(6, 1fr); }
}

/* 相談先の 公式サイトへの ボタン */
.help-links { display: grid; gap: .4rem; margin: .9rem 1.25rem 0; padding: .75rem; border: 2px dashed rgba(30,76,99,.25); border-radius: 1rem; background: #fff; }
.scene-response .help-links, .meter-response .help-links { margin: .7rem 0 0; }
.help-links p { margin: 0; color: var(--navy); font-size: .74rem; font-weight: 900; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .55rem .75rem; border: 2px solid var(--turquoise); border-radius: .8rem; background: var(--turquoise-pale); color: var(--navy); font-size: .78rem; font-weight: 800; line-height: 1.45; text-decoration: none; }
.help-links a b { flex: 0 0 auto; color: var(--turquoise); font-size: .95rem; }
.help-links a:active { transform: translateY(1px); }

/* おうちトークの しるし（🏠） */
.road-hud-talk { display: inline-flex; align-items: center; gap: .25rem; margin-top: .45rem; padding: .25rem .65rem; border-radius: 100px; background: #fff5cf; color: var(--navy); font-size: .74rem; font-weight: 900; }
.road-hud-talk b { font-size: .95rem; }
.road-course-talk { display: inline-block; margin-left: .2rem; font-size: .85rem; }

/* ---------- ごほうび：きみの しま・シール帳・チャーム ---------- */
.garden { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: .8rem; margin: 0 0 .7rem; padding: .7rem; border: 2px solid #cfe9e4; border-radius: 1.1rem; background: linear-gradient(180deg,#e7f7f4,#fffdf8); }
.garden-art { width: 7.5rem; height: 7.5rem; font-size: 4rem; }
.garden-art > img { border-radius: .9rem; object-fit: cover; }
.garden-text p { margin: 0; }
.garden-kicker { color: var(--muted); font-size: .72rem; font-weight: 900; }
.garden-stage { margin: .1rem 0 .25rem !important; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 900; line-height: 1.4; }
.garden-text small { display: block; color: var(--muted); font-size: .68rem; font-weight: 700; line-height: 1.5; }
.garden-new { display: inline-block; margin-left: .2rem; padding: .05rem .5rem; border-radius: 100px; background: var(--coral); color: #fff; font-size: .68rem; }
.garden.is-grown .garden-art { animation: garden-grow .9s var(--ease-out) both; }
@keyframes garden-grow { 0% { transform: scale(.85); } 60% { transform: scale(1.06); } 100% { transform: none; } }

.collection { margin: 0 0 1.1rem; border: 2px solid var(--line); border-radius: 1.1rem; background: var(--paper); }
.collection > summary { display: flex; align-items: center; gap: .4rem; min-height: 3rem; padding: .6rem .9rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; font-weight: 900; cursor: pointer; list-style: none; }
.collection > summary::-webkit-details-marker { display: none; }
.collection > summary::after { margin-left: auto; content: "▾"; transition: transform 160ms var(--ease-out); }
.collection[open] > summary::after { transform: rotate(180deg); }
.collection > summary b { padding: .05rem .55rem; border-radius: 100px; background: #fff5cf; font-size: .78rem; }
.collection-note { margin: 0 .9rem .8rem; color: var(--muted); font-size: .72rem; font-weight: 700; line-height: 1.6; }
/* シール帳：ページごとに 1つの ばしょ */
.collection--book { background: #fffaf0; }
.book-pages { display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: .5rem; margin: 0 .7rem .8rem; }
.book-page { margin: 0; padding: .55rem .4rem .65rem; border: 2px dashed #ecd9a8; border-radius: .9rem; background: #fff; }
.book-island { display: flex; align-items: center; gap: .3rem; margin: 0 0 .4rem; color: var(--navy); font-size: .76rem; font-weight: 900; }
.book-stickers { display: flex; flex-wrap: wrap; gap: .3rem .2rem; min-height: 2.6rem; }
.book-empty { width: 2.6rem; height: 2.6rem; border: 2px dashed #e6eae8; border-radius: 50%; }
.sticker { display: grid; justify-items: center; gap: .1rem; width: 4rem; }
.sticker-art { width: 3.2rem; height: 3.2rem; font-size: 2.2rem; filter: drop-shadow(0 2px 0 rgba(30,76,99,.15)); transform: rotate(-4deg); }
.sticker:nth-child(even) .sticker-art { transform: rotate(5deg); }
.sticker small { color: var(--navy); font-size: .58rem; font-weight: 800; line-height: 1.3; text-align: center; }
.sticker-peel { padding: .1rem .5rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--muted); font-size: .58rem; font-weight: 700; cursor: pointer; }
/* チャーム */
.charm-shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr)); gap: .5rem; margin: 0 .7rem .8rem; }
.charm-item { display: grid; justify-items: center; align-content: start; gap: .15rem; padding: .55rem .4rem; border-radius: .9rem; background: #f4f7f6; text-align: center; }
.charm-art { width: 4rem; height: 4rem; font-size: 2.6rem; }
.charm-item b { color: var(--navy); font-size: .74rem; }
.charm-item small { color: var(--muted); font-size: .62rem; font-weight: 700; line-height: 1.45; }

/* おうちトーク：ふたりで タッチ → シールが ぺたっ */
.talk-who { margin-top: .5rem !important; color: var(--muted); font-size: .74rem !important; }
.talk-partner { background: var(--coral); animation: partner-in .35s var(--ease-out) both; }
@keyframes partner-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.talk-saved { display: grid; justify-items: center; gap: .3rem; text-align: center; }
.talk-saved a { color: var(--navy); font-weight: 900; }
.talk-saved-text { font-size: .8rem; font-weight: 800; }
.talk-sticker { position: relative; display: grid; justify-items: center; }
.talk-sticker-art { width: 5.5rem; height: 5.5rem; font-size: 3.6rem; transform: rotate(-5deg); filter: drop-shadow(0 3px 0 rgba(30,76,99,.15)); }
.talk-sticker b { position: absolute; top: -.2rem; right: -1.6rem; color: var(--coral); font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; transform: rotate(10deg); }
.talk-sticker.is-pop { animation: sticker-pop .5s .55s var(--ease-out) both; }
@keyframes sticker-pop { 0% { opacity: 0; transform: scale(1.8) rotate(-15deg); } 70% { opacity: 1; transform: scale(.95); } 100% { transform: none; } }
.hifive { display: flex; justify-content: center; gap: .2rem; height: 2.6rem; font-size: 2.2rem; line-height: 1; }
.hifive i { font-style: normal; animation: hifive-left .6s var(--ease-out) both; }
.hifive i:last-child { transform: scaleX(-1); animation-name: hifive-right; }
@keyframes hifive-left { 0% { transform: translateX(-2.5rem) rotate(-20deg); } 70% { transform: translateX(.2rem) rotate(0); } 100% { transform: none; } }
@keyframes hifive-right { 0% { transform: scaleX(-1) translateX(-2.5rem) rotate(-20deg); } 70% { transform: scaleX(-1) translateX(.2rem) rotate(0); } 100% { transform: scaleX(-1); } }
.talk-undo { display: block; margin: .6rem auto 0; padding: .2rem .7rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--muted); font-size: .68rem; font-weight: 700; cursor: pointer; }
.home-talk.is-teen .talk-flag { background: var(--turquoise-pale); }
@media (prefers-reduced-motion: reduce) {
  .garden.is-grown .garden-art, .talk-partner, .talk-sticker.is-pop, .hifive i { animation: none; }
}

/* ---------- 3Dの ちず（ためし） ---------- */
.map3d { position: relative; margin: 0 0 1.1rem; border: 3px solid var(--navy); border-radius: 1.2rem; overflow: hidden; background: #fffdf8; box-shadow: 0 5px 0 rgba(30,76,99,.18); }
.map3d-loading { display: grid; height: min(58vh, 440px); min-height: 300px; margin: 0; place-items: center; background: #cdeff5; color: var(--navy); font-weight: 900; }
.map3d-stage { position: relative; height: min(58vh, 440px); min-height: 300px; background: #cdeff5; }
.map3d-stage canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: pointer; }
.map3d-grew { position: absolute; top: .8rem; left: 50%; width: max-content; max-width: calc(100% - 1.6rem); margin: 0; padding: .35rem .9rem; border-radius: 100px; background: var(--coral); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-size: .85rem; font-weight: 900; text-align: center; transform: translateX(-50%); animation: partner-in .4s var(--ease-out) both; }
.map3d-bar { display: grid; grid-template-columns: 3rem 1fr 3rem; align-items: center; gap: .5rem; padding: .7rem .7rem .3rem; }
.map3d-arrow { width: 3rem; height: 3rem; border: 3px solid var(--navy); border-radius: 50%; background: var(--yellow); box-shadow: 0 3px 0 #d89119; color: var(--navy); font-size: 1.2rem; font-weight: 900; cursor: pointer; }
.map3d-arrow:active { transform: translateY(2px); box-shadow: 0 1px 0 #d89119; }
.map3d-label { display: grid; justify-items: center; line-height: 1.35; text-align: center; }
.map3d-label small { color: var(--muted); font-size: .66rem; font-weight: 800; }
.map3d-label b { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; }
.map3d-label span { color: var(--coral); font-size: .72rem; font-weight: 900; }
.map3d-go { display: block; width: calc(100% - 1.4rem); min-height: 3rem; margin: .4rem .7rem .5rem; border: 0; border-radius: 1rem; background: var(--navy); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-size: .9rem; font-weight: 900; cursor: pointer; }
.map3d-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem; padding: 0 .9rem .7rem; color: var(--muted); font-size: .64rem; font-weight: 700; }
.map3d-off, .map3d-on { padding: .2rem .65rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--muted); font-size: .66rem; font-weight: 700; cursor: pointer; }
.map3d-on { display: block; margin: 0 0 .8rem auto; }
#road-garden.is-3d .garden { display: none; }
#road-garden.is-3d .collection { margin-top: 1.1rem; }
.map3d-intro { padding: 1rem 1rem .85rem; background: linear-gradient(135deg, #fff4ca 0 62%, #e0f6f3 62%); border-bottom: 3px solid var(--navy); }
.map3d-intro p { margin: 0; }
.map3d-kicker { color: var(--coral); font-size: .74rem; font-weight: 900; }
.map3d-intro h3 { margin: .15rem 0 .45rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: clamp(1.25rem, 5.6vw, 1.6rem); font-weight: 900; line-height: 1.35; }
.map3d-intro h3 em { color: var(--coral); font-style: normal; }
.map3d-intro p:last-child { color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.7; }
.map3d-swipe { position: absolute; bottom: .9rem; left: 50%; display: flex; align-items: center; gap: .55rem; width: max-content; max-width: calc(100% - 1.4rem); margin: 0; padding: .55rem 1rem .55rem .75rem; border: 3px solid var(--navy); border-radius: 100px; background: rgba(255,253,248,.95); box-shadow: 0 4px 0 rgba(30,76,99,.2); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; line-height: 1.35; transform: translateX(-50%); pointer-events: none; transition: opacity .5s var(--ease-out); }
.map3d-swipe.is-gone { opacity: 0; }
.map3d-hand { font-size: 1.7rem; animation: swipe-hand 1.6s ease-in-out infinite; }
@keyframes swipe-hand { 0%, 100% { transform: translateX(-6px) rotate(-10deg); } 50% { transform: translateX(8px) rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .map3d-hand { animation: none; } }

/* ---------- おうちトーク ミッション（はじめて・ジュニア） ---------- */
.home-talk.is-kid { display: block; padding: 1.3rem 1rem 1.4rem; border: 3px solid var(--navy); background: linear-gradient(160deg, #fff4ca 0 58%, #e0f6f3 58%); box-shadow: 0 6px 0 rgba(30,76,99,.16); }
.home-talk.is-kid::before, .home-talk.is-kid > .talk-flag, .home-talk.is-kid > .talk-main { display: none; }
.tk-head { text-align: center; }
.tk-badge { display: inline-block; padding: .25rem .85rem; border-radius: 100px; background: var(--coral); color: #fff; font-size: .78rem; font-weight: 900; transform: rotate(-2deg); }
.home-talk .tk-head h2 { margin: .5rem 0 .9rem; color: var(--navy); font-size: clamp(1.45rem, 6.6vw, 1.85rem); line-height: 1.3; }
.tk-steps { display: flex; justify-content: center; gap: .4rem; margin: 0 0 1.1rem; padding: 0; list-style: none; }
.tk-steps li { position: relative; display: grid; justify-items: center; gap: .15rem; width: 5.4rem; color: var(--muted); font-size: .68rem; font-weight: 900; line-height: 1.3; text-align: center; }
.tk-steps li + li::before { position: absolute; top: .8rem; left: -.6rem; color: #b9c9c4; font-size: .7rem; content: "▶"; }
.tk-steps i { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border: 3px solid #d5e0dc; border-radius: 50%; background: #fff; font-size: 1.2rem; font-style: normal; }
.tk-steps li.is-now { color: var(--navy); }
.tk-steps li.is-now i { border-color: var(--coral); background: #fff5cf; animation: currentPulse 1.4s ease-in-out infinite; }
.tk-steps li.is-done i { border-color: var(--turquoise); background: var(--turquoise); color: #fff; font-weight: 900; }
.tk-mission { display: grid; grid-template-columns: 6.4rem 1fr; align-items: center; gap: .8rem; margin-bottom: .5rem; }
.tk-mission-art { width: 6.4rem; height: 6.4rem; font-size: 1.9rem; }
.tk-mission-art > img { border-radius: 1rem; object-fit: cover; }
.tk-bubble { position: relative; padding: .7rem .85rem; border: 3px solid var(--navy); border-radius: 1rem; background: #fff; }
.tk-bubble::before { position: absolute; top: 1.4rem; left: -.95rem; border: .5rem solid transparent; border-right-color: var(--navy); content: ""; }
.home-talk .tk-bubble small { color: var(--coral); font-size: .68rem; font-weight: 900; }
.home-talk .tk-bubble p { margin: .1rem 0 0; font-size: .9rem; font-weight: 800; line-height: 1.6; }
.home-talk p.tk-who { margin: .3rem 0 1.1rem; color: var(--muted); font-size: .7rem; text-align: center; }
.home-talk p.tk-ask { margin: 0 0 .7rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.1rem; font-weight: 900; text-align: center; }
.tk-ask b { color: var(--coral); }
.tk-hands { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.tk-hand { display: grid; justify-items: center; gap: .1rem; width: 8.2rem; padding: .7rem .4rem .6rem; border: 3px dashed var(--navy); border-radius: 1.3rem; background: #fff; color: var(--navy); cursor: pointer; animation: hand-call 1.6s ease-in-out infinite; }
.tk-hand--adult { animation-delay: .8s; }
@keyframes hand-call { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.tk-hand-art { width: 4.6rem; height: 4.6rem; font-size: 3.1rem; }
.tk-hand b { font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; }
.tk-hand small { color: var(--muted); font-size: .68rem; font-weight: 800; }
.tk-hand.is-on { border-style: solid; background: var(--yellow); box-shadow: 0 4px 0 #d89119; animation: none; }
.tk-hand.is-on small { color: var(--navy); }
.tk-hand--adult.is-on { background: var(--coral); box-shadow: 0 4px 0 #c4513f; color: #fff; }
.tk-hand--adult.is-on small { color: #fff; }
.tk-plus { color: var(--navy); font-size: 1.4rem; font-weight: 900; }
.tk-prize { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.5; }
.tk-prize-art { width: 3.4rem; height: 3.4rem; font-size: 2rem; opacity: .6; filter: grayscale(.5); transform: rotate(-6deg); }
.tk-done { display: grid; justify-items: center; gap: .5rem; text-align: center; }
.tk-done-sticker { width: 8rem; height: 8rem; font-size: 5rem; filter: drop-shadow(0 4px 0 rgba(30,76,99,.15)); transform: rotate(-5deg); }
.home-talk p.tk-done-text { margin: 0; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.15rem; font-weight: 900; line-height: 1.5; }
.tk-book { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 1rem; background: var(--navy); color: #fff; font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .tk-hand, .tk-steps li.is-now i { animation: none; } }

/* ---------- ホーム画面に おく 説明 ---------- */
.home-add { margin: 1rem 0 .9rem; border: 2px solid var(--line); border-radius: 1rem; background: #fffdf8; }
.home-add > summary { display: flex; align-items: center; gap: .4rem; min-height: 3rem; padding: .6rem .9rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .88rem; font-weight: 900; cursor: pointer; list-style: none; }
.home-add > summary::-webkit-details-marker { display: none; }
.home-add > summary::after { margin-left: auto; content: "▾"; }
.home-add[open] > summary::after { transform: rotate(180deg); }
.home-add-body { padding: 0 .9rem .9rem; }
.home-add-lead { margin: 0 0 .7rem; color: var(--ink); font-size: .78rem; font-weight: 700; line-height: 1.7; }
.home-add-os { margin: 0 0 .6rem; padding: .6rem .75rem; border-radius: .8rem; background: #f3f8f6; }
.home-add-os b { color: var(--navy); font-size: .8rem; }
.home-add-os ol { margin: .3rem 0 0; padding-left: 1.3rem; font-size: .78rem; font-weight: 700; line-height: 1.8; }
.home-add .key { padding: 0 .3rem; border-radius: .3rem; background: #fff5cf; color: var(--navy); font-weight: 900; }
.home-add-note { margin: .2rem 0 0; color: var(--muted); font-size: .7rem; font-weight: 700; line-height: 1.6; }
.parent-homeadd { margin: 1.6rem 0; padding: 1.1rem 1.1rem 1rem; border: 2px solid var(--line); border-radius: 1rem; background: #fffdf8; }
.parent-homeadd h2 { margin: 0 0 .4rem; color: var(--navy); font: 900 1rem "Zen Maru Gothic", sans-serif; line-height: 1.5; }
.parent-homeadd > p { margin: 0 0 .7rem; font-size: .82rem; line-height: 1.7; }

/* ---------- 感想・不具合の 入り口 ---------- */
.parent-voice { margin: 1.6rem 0; padding: 1.2rem 1.1rem; border: 3px solid var(--navy); border-radius: 1.2rem; background: linear-gradient(160deg, #fff4ca 0 60%, #e0f6f3 60%); }
.parent-voice h2 { margin: .1rem 0 .5rem; color: var(--navy); font: 900 1.1rem "Zen Maru Gothic", sans-serif; line-height: 1.5; }
.parent-voice > p { margin: 0 0 .8rem; font-size: .82rem; line-height: 1.7; }
.voice-buttons { display: grid; gap: .55rem; }
.voice-main, .voice-bug { display: flex; align-items: center; justify-content: center; min-height: 3.1rem; border-radius: 1rem; font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; text-decoration: none; }
.voice-main { background: var(--navy); color: #fff; }
.voice-bug { border: 2px solid var(--navy); background: #fff; color: var(--navy); }
.parent-voice .voice-note { margin: .6rem 0 0; color: var(--muted); font-size: .7rem; }
.course-voice { max-width: 700px; margin: 0 1rem 2.4rem; padding: 1.1rem 1rem 1rem; border: 2px dashed #c9d6d2; border-radius: 1.2rem; background: #fffdf8; text-align: center; }
.course-voice h2 { margin: 0 0 .3rem; color: var(--navy); font-size: 1.15rem; }
.course-voice > p { margin: 0 0 .8rem; color: var(--muted); font-size: .74rem; font-weight: 700; line-height: 1.6; }
.voice-faces { display: flex; justify-content: center; gap: .5rem; }
.voice-faces a { display: grid; justify-items: center; gap: .1rem; width: 5.6rem; padding: .55rem .2rem .5rem; border: 2px solid var(--line); border-radius: 1rem; background: #fff; color: var(--navy); font-size: .74rem; font-weight: 900; text-decoration: none; }
.voice-faces a span { font-size: 2.1rem; line-height: 1.1; }
.voice-faces a:active { transform: scale(.96); }
.voice-bug-small { display: inline-block; margin-top: .8rem; color: var(--muted); font-size: .7rem; font-weight: 700; }
.footer-voice { display: flex; gap: 1rem; margin-top: .7rem; }
.footer-voice a { color: var(--navy); font-size: .62rem; font-weight: 800; }
@media (min-width: 760px) { .course-voice { margin-right: auto; margin-left: auto; } }
/* あそびかた の 中に ある ので、あそびかた の 番号つき リストの 見た目を 打ちけす */
.how-mini .home-add ol { display: block; margin: .3rem 0 0; padding-left: 1.3rem; list-style: decimal; }
.how-mini .home-add li { display: list-item; padding: 0; border: 0; border-radius: 0; background: none; }
.how-mini .home-add li span.key { display: inline; width: auto; height: auto; padding: 0 .3rem; border-radius: .3rem; background: #fff5cf; color: var(--navy); font-family: inherit; font-weight: 900; }
/* 新しい 3Dの 案内役（すきとおった 背景）：まるの 中で 切れないように */
.meter-response img, .scene-response img { padding: .2rem; background: #fff5cf; object-fit: contain; }

/* 感想：コースの さいごは 小さな リンク、ぜんぶ まわったら 大きく 1かい */
.course-voice-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.2rem; max-width: 700px; margin: -1.2rem auto 2.2rem; padding: 0 1rem; }
.course-voice-mini a { color: var(--muted); font-size: .72rem; font-weight: 800; text-underline-offset: .2rem; }
.course-voice { border: 3px solid var(--coral); background: linear-gradient(160deg, #fff4ca 0 60%, #fde5df 60%); }
.course-voice-kicker { margin: 0 0 .2rem !important; color: var(--coral) !important; font-size: .82rem !important; font-weight: 900 !important; }
.voice-later { display: block; margin: .8rem auto 0; padding: .2rem .8rem; border: 1px solid var(--line); border-radius: 100px; background: #fff; color: var(--muted); font-size: .7rem; font-weight: 700; cursor: pointer; }
.hud-voice { margin-top: .9rem; padding: .8rem .6rem .7rem; border-radius: .9rem; background: rgba(255,255,255,.85); text-align: center; }
.hud-voice p { margin: 0 0 .5rem; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; }

/* ============================================================
   2026-10-22 デザインの みなおし
   ============================================================ */

/* ---------- ヘッダー：みちを見る・保護者の方へ を 目立つ ボタンに ---------- */
.site-header .header-actions { gap: .45rem; }
.site-header .map-link, .site-header .parents-link { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.4rem; padding: .4rem .8rem; border: 2px solid var(--navy); border-radius: 100px; font-family: "Zen Maru Gothic", sans-serif; font-size: .78rem; font-weight: 900; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform 120ms var(--ease-out); }
.site-header .map-link { background: var(--yellow); color: var(--navy); box-shadow: 0 3px 0 #c98c12; }
.site-header .parents-link { background: var(--navy); color: #fff; box-shadow: 0 3px 0 #0e2e3d; }
.site-header .map-link span, .site-header .parents-link span { font-size: 1rem; }
.site-header .map-link:active, .site-header .parents-link:active { transform: translateY(2px); box-shadow: none; }
@media (max-width: 599px) {
  .site-header .header-actions { gap: .35rem; }
  .site-header .map-link, .site-header .parents-link { min-height: 2.25rem; padding: .35rem .55rem; font-size: .68rem; }
  .site-header .map-link span, .site-header .parents-link span { font-size: .85rem; }
}
@media (max-width: 360px) { .site-header .brand > span { display: none; } }

/* ---------- きみは なんさい？：年れいの 絵 ---------- */
.age-pick-art { width: 4.4rem; height: 4.4rem; font-size: 2.3rem; }
.age-pick-art > img { object-fit: contain; }
@media (min-width: 760px) { .age-pick-art { width: 5.4rem; height: 5.4rem; } }

/* ---------- コースの 画面：ゲームっぽい 文字 ---------- */
.course-view h1, .course-view h2, .course-view .card-question, .course-view .card-kind, .course-view .step-icon,
.course-view .reveal-button, .course-view .next-stage-action, .course-view .section-kicker, .course-view .journey-label,
.course-view .course-intro h2, .course-view .guess-lead, .course-view .tk-badge, .course-view .tk-ask, .course-view .tk-done-text,
.course-view .manga-next, .bottom-action button {
  font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-weight: 800; letter-spacing: .01em;
}
.course-view .card-question { line-height: 1.5; }
.course-view .answer-text, .course-view .scene-reply, .course-view .meter-reply, .course-view .home-talk p { font-family: "Zen Maru Gothic", sans-serif; }

/* ---------- じつは カード：説明の 文を 大きく 読みやすく ---------- */
.course-view .answer-text { font-size: 1.02rem; line-height: 1.85; }
.card-note:not(:empty) { position: relative; margin: 1rem 1.25rem 0; padding: .85rem 1rem .85rem 2.6rem; border: 0; border-radius: 1rem; background: #fff6d6; color: var(--ink); font-family: "Zen Maru Gothic", sans-serif; font-size: .98rem; font-weight: 700; line-height: 1.85; }
.card-note:not(:empty)::before { position: absolute; top: .75rem; left: .85rem; font-size: 1.15rem; content: "💡"; }
.card-note:empty { display: none; }
.card-answer figcaption:empty, .prompt-figure figcaption:empty { display: none; }
.card-answer figcaption { font-size: .8rem; }

/* ---------- 保護者の方へ（pv） ---------- */
.pv { max-width: 760px; padding: 1.6rem 1rem 5rem; color: var(--ink); font-family: "Noto Sans JP", sans-serif; }
.pv h1, .pv h2 { font-family: "Zen Maru Gothic", sans-serif; font-weight: 900; color: var(--navy); }
.pv-kicker, .pv-label { margin: 0; color: var(--coral); font-size: .8rem; font-weight: 800; letter-spacing: .06em; }
.pv-hero { padding: 1.6rem 1.25rem 1.3rem; border-radius: 1.5rem; background: linear-gradient(160deg, #fff4ca 0 55%, #e0f6f3 55%); }
.pv-hero h1 { margin: .4rem 0 .8rem; font-size: clamp(1.75rem, 7.4vw, 2.4rem); line-height: 1.3; }
.pv-hero h1 em { color: var(--turquoise); font-style: normal; }
.pv-lead { margin: 0 0 1rem; font-size: 1rem; line-height: 1.9; }
.pv-hero-note { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-radius: 1rem; background: rgba(255,255,255,.9); }
.pv-hero-note img { flex: none; width: 4rem; height: 4rem; object-fit: contain; }
.pv-hero-note p { margin: 0; font-size: .9rem; line-height: 1.7; }
.pv-hero-note b { display: block; color: var(--navy); }
.pv-toc { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.pv-toc a { padding: .45rem .8rem; border: 1.5px solid rgba(30,76,99,.25); border-radius: 100px; background: #fff; color: var(--navy); font-size: .78rem; font-weight: 800; text-decoration: none; }
.pv-section { margin-top: 2.6rem; scroll-margin-top: 90px; }
.pv-section h2, .pv-homeadd h2 { margin: .35rem 0 .8rem; font-size: clamp(1.3rem, 5.6vw, 1.65rem); line-height: 1.45; }
.pv-text { margin: 0 0 1rem; font-size: 1rem; line-height: 1.9; }
.pv-small { margin: .8rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.pv-checks { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.pv-checks li { display: grid; grid-template-columns: 2rem 1fr; gap: .7rem; padding: 1rem; border: 1.5px solid var(--line); border-radius: 1rem; background: #fff; font-size: .92rem; line-height: 1.75; }
.pv-checks li > span { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--turquoise); color: #fff; font-weight: 900; }
.pv-checks b { display: block; margin-bottom: .15rem; color: var(--navy); font-size: 1rem; }
.pv-tips { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.pv-tips li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: 1.05rem 1rem; border-radius: 1.1rem; background: #fff; box-shadow: 0 3px 0 rgba(30,76,99,.1); border: 1.5px solid var(--line); }
.pv-num { display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: .8rem; background: var(--yellow); color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.2rem; font-weight: 900; }
.pv-tips li:nth-child(2) .pv-num { background: var(--turquoise); color: #fff; }
.pv-tips li:nth-child(3) .pv-num { background: var(--coral); color: #fff; }
.pv-tips b { color: var(--navy); font-size: 1.05rem; }
.pv-tips p { margin: .3rem 0 0; font-size: .95rem; line-height: 1.8; }
.pv-words-body { display: grid; gap: 1rem; align-items: center; }
.pv-words-art { width: 100%; max-width: 22rem; margin: 0 auto; border-radius: 1.3rem; box-shadow: 0 6px 0 rgba(30,76,99,.1); }
.pv-bubbles { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }
.pv-bubbles li { position: relative; padding: .85rem 1.1rem; border: 2px solid var(--navy); border-radius: 1.2rem 1.2rem 1.2rem .3rem; background: #fff; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; line-height: 1.6; }
.pv-bubbles li:nth-child(even) { margin-left: 1.2rem; border-radius: 1.2rem 1.2rem .3rem 1.2rem; background: #fff6d6; }
@media (min-width: 640px) { .pv-words-body { grid-template-columns: .9fr 1.1fr; } }
.pv-safe-grid { display: grid; gap: .7rem; }
.pv-safe { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .8rem; padding: 1rem; border-radius: 1rem; background: #f1f8f6; }
.pv-safe > span { grid-row: span 2; display: grid; width: 2.6rem; height: 2.6rem; place-items: center; border-radius: 50%; background: #fff; font-size: 1.3rem; }
.pv-safe b { color: var(--navy); font-size: 1rem; }
.pv-safe p { margin: .2rem 0 0; font-size: .92rem; line-height: 1.75; }
@media (min-width: 700px) { .pv-safe-grid { grid-template-columns: repeat(3, 1fr); } .pv-safe { grid-template-columns: 1fr; } .pv-safe > span { grid-row: auto; margin-bottom: .5rem; } }
.pv-homeadd { margin-top: 2.8rem; padding: 1.4rem 1.2rem 1.2rem; border: 3px solid var(--navy); border-radius: 1.5rem; background: linear-gradient(160deg, #fff1b8 0 60%, #ffe3a3 60%); box-shadow: 0 6px 0 rgba(30,76,99,.18); scroll-margin-top: 90px; }
.pv-homeadd-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.pv-homeadd-head img { flex: none; width: 4.4rem; height: 4.4rem; border-radius: 1.1rem; box-shadow: 0 4px 10px rgba(30,76,99,.2); }
.pv-homeadd h2 { margin: .2rem 0 0; }
.pv-os-grid { display: grid; gap: .7rem; }
@media (min-width: 640px) { .pv-os-grid { grid-template-columns: 1fr 1fr; } }
.pv-os { padding: .95rem 1rem; border-radius: 1rem; background: #fff; }
.pv-os > b { display: block; margin-bottom: .45rem; color: var(--navy); font-size: 1rem; }
.pv-os ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.pv-os li { position: relative; padding: .3rem 0 .3rem 2.1rem; font-size: .92rem; line-height: 1.7; counter-increment: step; }
.pv-os li::before { position: absolute; top: .35rem; left: 0; display: grid; width: 1.55rem; height: 1.55rem; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font-size: .8rem; font-weight: 900; content: counter(step); }
.pv-os strong { color: var(--navy); }
.pv-voice-buttons { display: grid; gap: .7rem; }
.pv-voice-btn { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border: 2px solid var(--navy); border-radius: 1.1rem; background: #fff; color: var(--navy); text-decoration: none; box-shadow: 0 4px 0 rgba(30,76,99,.18); transition: transform 120ms var(--ease-out); }
.pv-voice-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(30,76,99,.18); }
.pv-voice-btn--talk { background: var(--navy); color: #fff; }
.pv-voice-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: .9rem; background: #fff6d6; font-size: 1.4rem; }
.pv-voice-btn--talk .pv-voice-icon { background: rgba(255,255,255,.16); }
.pv-voice-btn b { display: block; font-family: "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 900; }
.pv-voice-btn small { display: block; margin-top: .15rem; font-size: .78rem; line-height: 1.5; opacity: .85; }
.pv-voice-btn i { font-size: 1.2rem; font-style: normal; font-weight: 900; }
.pv-reset { margin-top: 2.6rem; padding: 1.1rem 1.1rem 1.2rem; border: 2px dashed #c9d6d2; border-radius: 1rem; background: #fffdf8; }
.pv-reset h2 { margin: 0 0 .4rem; color: var(--navy); font: 900 1rem "Zen Maru Gothic", sans-serif; }
.pv-reset p { margin: 0 0 .8rem; font-size: .88rem; line-height: 1.75; }
.pv-cta { margin-top: 2.2rem; text-align: center; }
.pv-cta p { margin: .7rem 0 0; color: var(--muted); font-size: .88rem; }
.pv-homeadd h2 { font-size: clamp(1.08rem, 4.6vw, 1.5rem); }
.card-answer figcaption { color: var(--ink); font-size: .88rem; font-weight: 700; line-height: 1.7; }
.age-pick-art { width: 100%; max-width: 9.5rem; height: 5.6rem; }
@media (min-width: 760px) { .age-pick-art { height: 6.4rem; } }
.age-pick-face { display: flex; justify-content: center; width: 100%; }
.age-pick-art { display: block; overflow: hidden; }
.age-pick-art > img { width: 100%; height: 100%; max-height: 100%; object-fit: contain; }

/* ---------- チャットカード（スマホの メッセージ風） ---------- */
.chat-card .card-kind::before { content: "📱 "; }
.chat-phone { position: relative; z-index: 1; margin-top: .4rem; overflow: hidden; border: 3px solid var(--navy); border-radius: 1.6rem; background: #e6f1f4; box-shadow: 0 6px 0 rgba(30,76,99,.15); }
.chat-top { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border-bottom: 2px solid rgba(30,76,99,.12); background: #fff; }
.chat-avatar { display: grid; flex: none; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 50%; background: #fff4ca; font-size: 1.3rem; }
.chat-name { color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .88rem; font-weight: 900; line-height: 1.35; }
.chat-log { display: flex; flex-direction: column; gap: .55rem; min-height: 5rem; padding: 1rem .8rem .6rem; }
.chat-msg { max-width: 82%; padding: .6rem .85rem; border-radius: 1.1rem; font-family: "Zen Maru Gothic", sans-serif; font-size: .98rem; font-weight: 700; line-height: 1.6; word-break: break-word; }
.chat-msg.is-them { align-self: flex-start; border-bottom-left-radius: .3rem; background: #fff; color: var(--ink); box-shadow: 0 1px 0 rgba(30,76,99,.08); }
.chat-msg.is-me { align-self: flex-end; border-bottom-right-radius: .3rem; background: #b7ecd7; color: #134235; }
.chat-msg.is-sys { align-self: center; max-width: 92%; padding: .3rem .8rem; border-radius: 100px; background: rgba(30,76,99,.12); color: var(--muted); font-size: .76rem; text-align: center; }
.chat-msg.is-pop { animation: chat-pop .28s var(--ease-out) both; }
@keyframes chat-pop { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-msg.is-typing { display: flex; gap: .25rem; padding: .75rem .9rem; }
.chat-msg.is-typing i { width: .45rem; height: .45rem; border-radius: 50%; background: #9db3bb; animation: chat-dot 1s infinite ease-in-out; }
.chat-msg.is-typing i:nth-child(2) { animation-delay: .15s; } .chat-msg.is-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-choices { display: grid; gap: .5rem; padding: .3rem .8rem 1rem; }
.chat-choices:empty { display: none; }
.chat-choice { justify-self: end; max-width: 92%; min-height: 2.9rem; padding: .55rem 1rem; border: 2px solid var(--navy); border-radius: 1.1rem; background: #fff; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 900; line-height: 1.45; text-align: left; cursor: pointer; box-shadow: 0 3px 0 rgba(30,76,99,.15); animation: chat-pop .28s var(--ease-out) both; }
.chat-choice:active { transform: translateY(2px); box-shadow: none; }
.chat-start { display: block; margin: .2rem auto 1.1rem; padding: .8rem 1.4rem; border: 0; border-radius: 100px; background: var(--navy); color: #fff; font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 800; cursor: pointer; box-shadow: 0 4px 0 #0e2e3d; }
.chat-retry { margin-top: .6rem; padding: .35rem .9rem; border: 2px solid var(--navy); border-radius: 100px; background: #fff; color: var(--navy); font-size: .8rem; font-weight: 900; cursor: pointer; }
.chat-end .scene-reply { font-size: .95rem; line-height: 1.8; }
@media (prefers-reduced-motion: reduce) { .chat-msg.is-pop, .chat-choice, .chat-msg.is-typing i { animation: none; } }

/* ---------- あそびの コーナー（おうちトーク ルーレット・タイプ診断） ---------- */
.extra-play { max-width: 760px; margin: 2.2rem auto 0; padding: 0 1rem; }
.play-card { padding: 1.4rem 1.1rem 1.5rem; border: 3px solid var(--navy); border-radius: 1.5rem; text-align: center; box-shadow: 0 6px 0 rgba(30,76,99,.16); }
.play-card--roulette { background: linear-gradient(165deg, #fff4ca 0 58%, #fde5df 58%); }
.play-card--quiz { background: linear-gradient(165deg, #efe7ff 0 58%, #e0f6f3 58%); }
.play-kicker { margin: 0; color: var(--coral); font-size: .82rem; font-weight: 900; }
.play-card h2 { margin: .3rem 0 .6rem; color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: clamp(1.4rem, 6.4vw, 1.8rem); font-weight: 800; line-height: 1.35; }
.play-lead { margin: 0 auto 1rem; max-width: 30rem; font-size: .88rem; font-weight: 700; line-height: 1.75; }
/* ルーレット */
.roulette-turn { margin: 0 0 .6rem; color: var(--navy); font-family: "M PLUS Rounded 1c", sans-serif; font-size: 1.1rem; font-weight: 800; }
.roulette-turn b { padding: .1rem .7rem; border-radius: 100px; background: var(--navy); color: #fff; }
.roulette-wheel-wrap { position: relative; width: min(78vw, 300px); margin: 0 auto .9rem; }
.roulette-pointer { position: absolute; top: -.6rem; left: 50%; z-index: 1; color: var(--coral); font-size: 2rem; line-height: 1; transform: translateX(-50%); filter: drop-shadow(0 2px 0 rgba(30,76,99,.3)); }
.roulette-wheel { display: block; width: 100%; height: auto; border: 5px solid var(--navy); border-radius: 50%; background: #fff; box-shadow: 0 6px 0 rgba(30,76,99,.2); }
.roulette-spin, .quiz-start, .roulette-next { min-height: 3.2rem; padding: 0 1.6rem; border: 3px solid var(--navy); border-radius: 100px; background: var(--yellow); box-shadow: 0 4px 0 #c98c12; color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 800; cursor: pointer; }
.roulette-spin:disabled { opacity: .55; cursor: default; }
.roulette-spin:active, .quiz-start:active, .roulette-next:active { transform: translateY(2px); box-shadow: 0 2px 0 #c98c12; }
.roulette-result { margin-top: 1.1rem; padding: 1.1rem 1rem; border: 3px solid var(--navy); border-radius: 1.2rem; background: #fff; animation: chat-pop .35s var(--ease-out) both; }
.roulette-island { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 900; }
.roulette-topic { margin: .4rem 0 .7rem; color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1.35rem; font-weight: 800; line-height: 1.5; }
.roulette-who { margin: 0 0 .9rem; color: var(--ink); font-size: .82rem; font-weight: 700; line-height: 1.6; }
.roulette-next { background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.2); }
/* タイプ診断 */
.quiz-last { margin: 0 0 .8rem; color: var(--navy); font-size: .88rem; font-weight: 900; }
.quiz-dots { display: flex; justify-content: center; gap: .35rem; margin: .5rem 0 .4rem; }
.quiz-dots i { width: .7rem; height: .7rem; border-radius: 50%; background: rgba(30,76,99,.18); }
.quiz-dots i.is-done { background: var(--turquoise); } .quiz-dots i.is-now { background: var(--coral); transform: scale(1.25); }
.quiz-num { margin: .2rem 0 0; color: var(--coral); font-family: "M PLUS Rounded 1c", sans-serif; font-size: 1rem; font-weight: 800; }
.quiz-q { margin: .2rem 0 1rem; color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1.2rem; font-weight: 800; line-height: 1.55; }
.quiz-options { display: grid; gap: .55rem; text-align: left; }
.quiz-option { min-height: 3.1rem; padding: .65rem 1rem; border: 2px solid var(--navy); border-radius: 1rem; background: #fff; color: var(--navy); font-family: "Zen Maru Gothic", sans-serif; font-size: .98rem; font-weight: 900; line-height: 1.5; text-align: left; cursor: pointer; box-shadow: 0 3px 0 rgba(30,76,99,.15); }
.quiz-option:active { transform: translateY(2px); box-shadow: none; }
.type-card { display: grid; justify-items: center; gap: .2rem; padding: .9rem .7rem; border-radius: 1.1rem; background: #fff; }
.type-card.is-big { margin-top: .4rem; padding: 1.2rem 1rem; border: 3px solid var(--navy); animation: prize-pop .5s var(--ease-out) both; }
.type-emo { font-size: 2.4rem; line-height: 1.1; }
.type-card.is-big .type-emo { font-size: 4.2rem; }
.type-card b { color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1.05rem; font-weight: 800; }
.type-card.is-big b { font-size: 1.6rem; }
.type-card small { color: var(--muted); font-size: .78rem; font-weight: 800; line-height: 1.5; }
.type-card dl { margin: .7rem 0 0; text-align: left; }
.type-card dt { margin-top: .6rem; color: var(--coral); font-size: .85rem; font-weight: 900; }
.type-card dd { margin: .2rem 0 0; font-size: .92rem; font-weight: 700; line-height: 1.8; }
.quiz-mix { margin: .8rem 0 0; color: var(--navy); font-size: .88rem; font-weight: 900; }
.quiz-note { margin: .9rem 0; padding: .8rem .9rem; border-radius: 1rem; background: rgba(255,255,255,.8); font-size: .84rem; font-weight: 700; line-height: 1.75; text-align: left; }
.quiz-all { margin: 0 0 1rem; text-align: left; }
.quiz-all summary { color: var(--navy); font-size: .9rem; font-weight: 900; cursor: pointer; }
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
@media (prefers-reduced-motion: reduce) { .roulette-result, .type-card.is-big { animation: none; } }
.play-jump { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: 0 0 1rem; padding: .8rem 1rem; border: 3px solid var(--navy); border-radius: 1.1rem; background: #fff; box-shadow: 0 4px 0 rgba(30,76,99,.18); color: var(--navy); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: .98rem; font-weight: 800; text-decoration: none; }
.play-jump span { font-size: 1.3rem; }
.play-jump i { font-style: normal; color: var(--coral); }
.play-jump:active { transform: translateY(2px); box-shadow: none; }
.extra-play { scroll-margin-top: 90px; }
/* タイプ診断：えらぶ 画面と タイプの 絵 */
.quiz-picks { display: grid; gap: .6rem; text-align: left; }
.quiz-pick { display: grid; grid-template-columns: 2.8rem 1fr auto; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 2px solid var(--navy); border-radius: 1.1rem; background: #fff; color: var(--navy); text-align: left; cursor: pointer; box-shadow: 0 3px 0 rgba(30,76,99,.15); }
.quiz-pick:active { transform: translateY(2px); box-shadow: none; }
.quiz-pick-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border-radius: .9rem; background: #efe7ff; font-size: 1.5rem; }
.quiz-pick b { display: block; font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1rem; font-weight: 800; line-height: 1.4; }
.quiz-pick small { display: block; margin-top: .15rem; color: var(--muted); font-size: .76rem; font-weight: 800; }
.quiz-pick i { color: var(--coral); font-style: normal; }
.quiz-back { display: block; margin: .9rem auto 0; padding: .3rem .9rem; border: 0; background: none; color: var(--navy); font-size: .85rem; font-weight: 900; text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }
.type-preview { display: flex; justify-content: center; gap: .4rem; margin: 0 0 1rem; }
.type-art { width: 3.2rem; height: 3.2rem; font-size: 2.4rem; }
.type-art.is-mini { width: 3.4rem; height: 3.4rem; font-size: 2.2rem; }
.type-art.is-big { width: 9rem; height: 9rem; font-size: 4.4rem; }
.type-art > img { object-fit: contain; }
.type-emo { display: none; }
.type-art { display: block; overflow: hidden; margin: 0 auto; }
.type-art > img { width: 100%; height: 100%; object-fit: contain; }
.type-preview .type-art { margin: 0; }

/* ---------- あそびの コーナーを 目立たせる（夜空の ひとやすみ コーナー） ---------- */
.extra-play { max-width: 820px; margin: 2.8rem auto 0; padding: 0 .6rem; }
.ep-inner { position: relative; overflow: hidden; padding: 1.7rem 1rem 1.9rem; border-radius: 2rem; background: linear-gradient(165deg, #2a1f63 0%, #4b2f8f 52%, #1d5a73 100%); box-shadow: 0 10px 0 rgba(30,30,80,.25); }
.ep-inner::before, .ep-inner::after { position: absolute; inset: 0; content: ""; pointer-events: none;
  background-image: radial-gradient(2px 2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 82% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 30% 8%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 65% 26%, #ffe9a6 50%, transparent 51%), radial-gradient(1.5px 1.5px at 92% 40%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 6% 52%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 48% 4%, #ffe9a6 50%, transparent 51%); }
.ep-inner::after { background-image: radial-gradient(1.5px 1.5px at 22% 30%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 74% 6%, #ffe9a6 50%, transparent 51%), radial-gradient(1.5px 1.5px at 56% 18%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 95% 22%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 38% 22%, #fff 50%, transparent 51%); animation: ep-twinkle 2.6s ease-in-out infinite; }
@keyframes ep-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.ep-head { position: relative; z-index: 1; text-align: center; }
.ep-tag { display: inline-block; padding: .3rem 1rem; border-radius: 100px; background: #ffd23f; color: #2a1f63; font-size: .85rem; font-weight: 900; transform: rotate(-2deg); box-shadow: 0 3px 0 rgba(0,0,0,.2); }
.ep-title { margin: .55rem 0 .3rem; color: #fff; font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: clamp(1.8rem, 8vw, 2.4rem); font-weight: 800; letter-spacing: .05em; text-shadow: 0 4px 0 rgba(0,0,0,.25); }
.ep-lead { margin: 0 0 1.2rem; color: rgba(255,255,255,.88); font-size: .9rem; font-weight: 700; line-height: 1.6; }
.ep-body { position: relative; z-index: 1; }
.ep-body .play-card { border-color: #fff; box-shadow: 0 8px 0 rgba(0,0,0,.25); }

/* 「きみの みち」の 上の バナー */
.play-jump { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "tag tag" "main faces"; align-items: center; gap: .35rem .6rem; margin: 0 0 1.1rem; padding: .85rem 1rem 1rem; overflow: hidden; border: 0; border-radius: 1.3rem; background: linear-gradient(135deg, #4b2f8f, #2a1f63 60%, #1d5a73); box-shadow: 0 5px 0 rgba(30,30,80,.3); color: #fff; text-decoration: none; }
.play-jump::before { position: absolute; inset: 0; content: ""; pointer-events: none; background-image: radial-gradient(1.5px 1.5px at 20% 25%, #fff 50%, transparent 51%), radial-gradient(2px 2px at 60% 15%, #ffe9a6 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 70%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 45% 85%, #fff 50%, transparent 51%); }
.play-jump span { font-size: inherit; }
.pj-tag { position: relative; grid-area: tag; justify-self: start; padding: .15rem .75rem; border-radius: 100px; background: #ffd23f; color: #2a1f63; font-size: .74rem !important; font-weight: 900; }
.pj-main { position: relative; grid-area: main; display: grid; gap: .1rem; }
.pj-main b { font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: 1.2rem; font-weight: 800; }
.pj-main small { color: rgba(255,255,255,.85); font-size: .76rem; font-weight: 700; line-height: 1.45; }
.pj-faces { position: relative; grid-area: faces; display: flex; }
.pj-faces img { width: 2.9rem; height: 2.9rem; margin-left: -.7rem; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(0,0,0,.25)); animation: pj-hop 2.4s ease-in-out infinite; }
.pj-faces img:nth-child(2) { animation-delay: .3s; } .pj-faces img:nth-child(3) { animation-delay: .6s; }
@keyframes pj-hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-6px); } }
.pj-go { position: absolute; top: .75rem; right: .9rem; color: #ffd23f; font-size: .8rem !important; animation: hud-bounce 1.6s ease-in-out infinite; }
.play-jump:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(30,30,80,.3); }
@media (prefers-reduced-motion: reduce) { .ep-inner::after, .pj-faces img, .pj-go { animation: none; } }
.quiz-pick-icon { overflow: hidden; }
.quiz-pick-art { display: block; width: 2.6rem; height: 2.6rem; font-size: 1.5rem; }
.quiz-pick-art > img { width: 100%; height: 100%; object-fit: contain; }
.pj-main b { font-size: clamp(1rem, 4.6vw, 1.2rem); white-space: nowrap; }
.pj-faces img { width: 2.5rem; height: 2.5rem; margin-left: -.6rem; }
/* チャット：返事を えらぶ 枠（入力らんの ように） */
.chat-choices { padding: 0; }
.chat-choices.is-wait, .chat-choices.is-ready { display: grid; gap: .5rem; margin: .4rem .5rem .7rem; padding: .7rem .7rem .8rem; border-radius: 1.2rem; background: #fff; box-shadow: 0 -2px 0 rgba(30,76,99,.06) inset; }
.chat-choices.is-ready { border: 3px solid var(--coral); animation: chat-ready 1.6s ease-in-out 2; }
@keyframes chat-ready { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,120,102,0); } 50% { box-shadow: 0 0 0 6px rgba(239,120,102,.22); } }
.chat-choices-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; margin: 0 0 .1rem; color: var(--coral); font-family: "M PLUS Rounded 1c", "Zen Maru Gothic", sans-serif; font-size: .95rem; font-weight: 800; }
.chat-choices-head small { color: var(--muted); font-family: "Zen Maru Gothic", sans-serif; font-size: .72rem; font-weight: 800; }
.chat-wait { margin: 0; color: var(--muted); font-size: .85rem; font-weight: 800; text-align: center; animation: ep-twinkle 1.4s ease-in-out infinite; }
.chat-choices .chat-choice { display: grid; grid-template-columns: 1.7rem 1fr auto; align-items: center; gap: .55rem; justify-self: stretch; max-width: none; width: 100%; padding: .6rem .7rem; border: 2px solid var(--navy); border-radius: 1rem; background: #f6fbfc; text-align: left; animation: chat-pop .28s var(--ease-out) both; }
.chat-choice-num { display: grid; width: 1.7rem; height: 1.7rem; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 900; }
.chat-choice-text { font-size: .95rem; line-height: 1.45; }
.chat-choice-send { padding: .2rem .55rem; border-radius: 100px; background: #b7ecd7; color: #134235; font-size: .72rem; font-weight: 900; white-space: nowrap; }
.chat-choices .chat-choice:hover { background: #fff; }
.chat-choices .chat-choice.is-picked { border-color: #1f9e83; background: #b7ecd7; transform: scale(.98); }
.chat-choices.is-sending .chat-choice:not(.is-picked) { opacity: .4; }
@media (prefers-reduced-motion: reduce) { .chat-choices.is-ready, .chat-wait { animation: none; } }
.chat-choices .chat-choice { animation: none; }

/* ---------- チャット：スマホの 見た目（フレーム・ステータスバー・ロック画面の 通知） ---------- */
.chat-device { position: relative; z-index: 1; max-width: 25rem; margin: .5rem auto 0; padding: .55rem .5rem 1.4rem; border-radius: 2.4rem; background: #1d2a33; box-shadow: 0 10px 0 rgba(30,76,99,.2), inset 0 0 0 2px #3a4b57; }
.chat-notch { position: absolute; top: .55rem; left: 50%; z-index: 3; width: 5.6rem; height: 1.25rem; margin-left: -2.8rem; border-radius: 0 0 1rem 1rem; background: #1d2a33; }
.chat-status { display: flex; justify-content: space-between; align-items: center; padding: .35rem 1.2rem .3rem; border-radius: 1.9rem 1.9rem 0 0; background: #fff; color: #1d2a33; font-size: .74rem; font-weight: 900; }
.chat-status span { font-size: .7rem; letter-spacing: .1em; }
.chat-device .chat-phone { margin: 0; border: 0; border-radius: 0 0 1.8rem 1.8rem; box-shadow: none; }
.chat-home { position: absolute; bottom: .5rem; left: 50%; width: 6rem; height: .3rem; margin-left: -3rem; border-radius: 100px; background: #5c6d78; }
.chat-top { gap: .45rem; }
.chat-back { color: #2b8fb3; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.chat-who { display: grid; line-height: 1.3; }
.chat-who small { color: #3cb371; font-size: .66rem; font-weight: 900; }
/* ロック画面（ひらく まえ） */
.chat-card.is-locked .chat-status { background: transparent; color: #fff; position: absolute; left: .5rem; right: .5rem; z-index: 2; }
.chat-card.is-locked .chat-phone { display: grid; align-content: center; min-height: 19rem; padding: 2.6rem .8rem 1.4rem; border-radius: 1.9rem; background: linear-gradient(160deg, #7fc8ff 0%, #a99bff 55%, #ffb3c8 100%); }
.chat-card.is-locked .chat-top, .chat-card.is-locked .chat-log, .chat-card.is-locked .chat-choices { display: none; }
.chat-card.is-locked .chat-phone::before { content: "16:30"; display: block; margin-bottom: 1.1rem; color: #fff; font-family: "M PLUS Rounded 1c", sans-serif; font-size: 3.2rem; font-weight: 800; line-height: 1; text-align: center; text-shadow: 0 3px 10px rgba(30,30,80,.25); }
.chat-start { display: grid; gap: .35rem; width: 100%; margin: 0; padding: .8rem .9rem .75rem; border: 0; border-radius: 1.3rem; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(30,30,80,.25); color: var(--ink); text-align: left; cursor: pointer; animation: noti-in .6s var(--ease-out) both, noti-shake 2.4s ease-in-out 1s infinite; }
.chat-noti-top { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .7rem; font-weight: 900; }
.chat-noti-app { display: grid; width: 1.3rem; height: 1.3rem; place-items: center; border-radius: .35rem; background: #3cb371; font-size: .75rem; }
.chat-noti-time { margin-left: auto; }
.chat-noti-body { display: grid; grid-template-columns: 2.4rem 1fr; align-items: center; gap: .6rem; }
.chat-noti-avatar { display: grid; width: 2.4rem; height: 2.4rem; place-items: center; border-radius: 50%; background: #fff4ca; font-size: 1.3rem; }
.chat-noti-text { display: grid; min-width: 0; }
.chat-noti-text b { color: var(--navy); font-size: .9rem; font-weight: 900; }
.chat-noti-text small { overflow: hidden; color: var(--ink); font-size: .82rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.chat-noti-open { justify-self: center; margin-top: .2rem; padding: .25rem .9rem; border-radius: 100px; background: var(--navy); color: #fff; font-size: .78rem; font-weight: 900; }
@keyframes noti-in { from { opacity: 0; transform: translateY(-16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes noti-shake { 0%, 86%, 100% { transform: none; } 89% { transform: translateX(-3px) rotate(-1deg); } 92% { transform: translateX(3px) rotate(1deg); } 95% { transform: translateX(-2px); } }
@media (prefers-reduced-motion: reduce) { .chat-start { animation: none; } }

/* チャットカードは シンプルに：見出し（だれから メッセージが きたか）と スマホだけ */
.chat-card::after { display: none; }
.chat-card .card-step, .chat-card .card-kind, .chat-card .ask-lead, .chat-card .scene-guidance { display: none; }
.chat-card .ask-block { margin: 0 0 .2rem; }
.chat-card .ask-block .card-question { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; color: var(--navy); font-size: clamp(1.05rem, 4.8vw, 1.25rem); line-height: 1.5; text-align: center; }
.chat-card .ask-block .card-question { word-break: keep-all; overflow-wrap: anywhere; }

/* 並べかえカード：えらんだ あとに 出る 行ごとの 説明（2026-10-25） */
.sort-note { margin: .55rem 0 0; padding: .55rem .7rem; border-radius: .8rem; background: #fff7db; color: var(--ink); font-size: .9rem; font-weight: 700; line-height: 1.7; }

/* チャット：合言葉と あやしい サイン さがし（2026-10-25） */
.chat-motto { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin: .8rem 0 0; padding: .55rem .65rem; border-radius: .9rem; background: #e8f7f5; font-size: .82rem; font-weight: 800; line-height: 1.5; }
.chat-motto b { margin-right: .15rem; color: var(--turquoise); }
.chat-motto span { padding: .15rem .55rem; border-radius: 100px; background: #fff; color: var(--navy); }
.chat-signs { margin-top: .7rem; }
.chat-signs-start { display: flex; width: 100%; align-items: center; gap: .7rem; padding: .7rem .85rem; border: 2px solid var(--navy); border-radius: 1rem; background: #fff4ca; color: var(--navy); text-align: left; cursor: pointer; box-shadow: 0 3px 0 rgba(30,76,99,.18); font: inherit; }
.chat-signs-start b { display: block; font-size: 1rem; font-weight: 900; }
.chat-signs-start small { display: block; margin-top: .1rem; color: #5f6f79; font-size: .78rem; font-weight: 700; }
.chat-signs-icon { font-size: 1.6rem; }
.chat-signs-bar { position: sticky; top: 5.4rem; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin: 0 -.2rem .2rem; padding: .55rem .75rem; border-radius: .9rem; background: var(--navy); color: #fff; font-size: .84rem; font-weight: 800; line-height: 1.45; box-shadow: 0 4px 10px rgba(30,76,99,.25); }
.chat-signs-count { flex: none; padding: .1rem .6rem; border-radius: 100px; background: var(--yellow); color: var(--navy); font-size: .9rem; }
.chat-signs-show { margin-top: .5rem; padding: .3rem .85rem; border: 1.5px solid #9db3bb; border-radius: 100px; background: #fff; color: #5f6f79; font-size: .78rem; font-weight: 800; cursor: pointer; }
.chat-signs-note { margin: 0 0 .1rem; padding: .6rem .75rem; border-radius: .9rem; background: #f1f5f7; color: var(--ink); font-size: .86rem; font-weight: 700; line-height: 1.7; }
.chat-signs-done { padding: .7rem .8rem; border: 2px solid rgba(52,184,177,.55); border-radius: 1rem; background: #f6fcfb; }
.chat-signs-done p { margin: 0 0 .4rem; color: var(--navy); font-size: .92rem; font-weight: 900; }
.chat-signs-done ul { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .45rem; padding: 0; list-style: none; }
.chat-signs-done li { padding: .2rem .6rem; border-radius: 100px; background: #fff; border: 1.5px solid #d9e3e8; color: var(--navy); font-size: .82rem; font-weight: 800; }
.chat-signs-done small { color: #5f6f79; font-size: .8rem; font-weight: 700; line-height: 1.6; }
.chat-card.is-finding .chat-msg.is-them { cursor: pointer; outline: 2px dashed rgba(239,120,102,.55); outline-offset: 2px; }
.chat-msg.is-them.is-sign { outline: 3px solid var(--coral) !important; outline-offset: 1px; background: #fff0ec; }
.chat-card.is-finding .chat-msg.is-them.is-plain { outline-color: rgba(157,179,187,.45); opacity: .6; }
.chat-sign-chip { align-self: flex-start; max-width: 88%; margin: -.15rem 0 .2rem .4rem; padding: .45rem .7rem; border-radius: .8rem; background: #fff4ca; border: 1.5px solid #f0c74a; line-height: 1.5; }
.chat-sign-chip b { display: block; color: #a4401f; font-size: .84rem; font-weight: 900; }
.chat-sign-chip small { display: block; margin-top: .1rem; color: var(--ink); font-size: .78rem; font-weight: 700; }

/* 保護者ページ：大人が気づけるサイン（2026-10-25） */
.pv-checks--signs li > span { background: var(--coral); }
.pv-sub { margin: 1.6rem 0 .8rem; color: var(--navy); font-size: 1.15rem; font-weight: 900; }
/* さがしている 間だけ、帯が 画面の 上に ついてくるように「はみ出しを かくす」を clip に かえる（clip を 知らない ブラウザでは 今までどおり） */
main:has(.chat-card.is-finding), .chat-card.is-finding .card-content, .chat-card.is-finding .chat-phone { overflow: clip; }
.pv-tips--art li:has(> .pv-tip-art) { grid-template-areas: "art art" "num text"; }
.pv-tips--art li > .pv-tip-art { grid-area: art; display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: .8rem; margin-bottom: .2rem; }
.pv-tips--art li > .pv-num { grid-area: num; }
.pv-tips--art li > div { grid-area: text; }
@media (min-width: 760px) { .pv-tips--art { grid-template-columns: repeat(3, 1fr); } .pv-tips--art li { align-content: start; } }
