:root {
  --text: #2b2520;
  --muted: #6a6158;
  --font-body: "Noto Sans JP", system-ui, sans-serif;
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 10px 30px rgb(60 40 20 / 10%), 0 2px 6px rgb(60 40 20 / 6%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fbf7f2;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
[data-mood] {
  --pattern-size: 48px 48px;
  --pattern-pos: 0 0;
  --pattern-color: color-mix(in srgb, var(--accent-soft) 40%, var(--bg));
  color: var(--text);
}
[data-mood="gattsuri"] {
  --bg: #fdf2ea; --surface: #fffefb; --surface-2: #f7ddc4; --accent: #c8431a; --accent-soft: #f4d2ba; --accent-text: #ffffff; --border: #eed2b8;
  --text: #2b2520; --muted: #6a6158; --ink: #b93c15;
  --pattern-image: repeating-linear-gradient(45deg, var(--pattern-color) 0 8px, transparent 8px 26px);
  --font-heading: "Dela Gothic One", sans-serif; --fh-w: 400;
  --font-label: "M PLUS Rounded 1c", sans-serif; --fl-w: 800;
}
[data-mood="hokkori"] {
  --bg: #faf3e6; --surface: #fffcf6; --surface-2: #efe0c3; --accent: #8a5a2b; --accent-soft: #ecd9b4; --accent-text: #ffffff; --border: #e6d5b6;
  --text: #2b2520; --muted: #6a6158; --ink: #7c4f25;
  --pattern-image: radial-gradient(circle, var(--pattern-color) 6px, transparent 7px);
  --pattern-size: 40px 40px;
  --font-heading: "Zen Maru Gothic", sans-serif; --fh-w: 700;
  --font-label: "Zen Maru Gothic", sans-serif; --fl-w: 500;
}
[data-mood="waiwai"] {
  --bg: #fff8ea; --surface: #ffffff; --surface-2: #ffe6a3; --accent: #cf4a1e; --accent-soft: #ffd9a0; --accent-text: #ffffff; --border: #ffdca0;
  --text: #2b2520; --muted: #6a6158; --ink: #bf4319;
  --pattern-image: radial-gradient(circle, var(--pattern-color) 4px, transparent 5px);
  --pattern-size: 22px 22px;
  --font-heading: "Dela Gothic One", sans-serif; --fh-w: 400;
  --font-label: "M PLUS Rounded 1c", sans-serif; --fl-w: 800;
}
[data-mood="shippori"] {
  --bg: #14131f; --surface: #1f1e30; --surface-2: #29283f; --accent: #b9a6e6; --accent-soft: #34304f; --accent-text: #14131f; --border: #3a3855;
  --text: #ece9f7; --muted: #a9a4c7; --ink: #c9bcee;
  --pattern-image: repeating-linear-gradient(90deg, var(--pattern-color) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(0deg, var(--pattern-color) 0 1px, transparent 1px 34px);
  --font-heading: "Shippori Mincho", serif; --fh-w: 600;
  --font-label: "Shippori Mincho", serif; --fl-w: 600;
}
[data-mood="sappari"] {
  --bg: #f2faf4; --surface: #ffffff; --surface-2: #dcefe1; --accent: #177a52; --accent-soft: #cdeed9; --accent-text: #ffffff; --border: #d2ecd8;
  --text: #2b2520; --muted: #6a6158; --ink: #106640;
  --pattern-image: repeating-linear-gradient(120deg, var(--pattern-color) 0 3px, transparent 3px 30px);
  --font-heading: "M PLUS 1p", sans-serif; --fh-w: 700;
  --font-label: "M PLUS 1p", sans-serif; --fl-w: 500;
}
[data-mood="gohoubi"] {
  --bg: #fdf1ec; --surface: #fffaf6; --surface-2: #f7ddd0; --accent: #8c6712; --accent-soft: #f0dcb0; --accent-text: #ffffff; --border: #f0d7c8;
  --text: #2b2520; --muted: #6a6158; --ink: #77560e;
  --pattern-image: radial-gradient(circle, var(--pattern-color) 2.5px, transparent 3px);
  --pattern-size: 30px 30px;
  --font-heading: "Zen Old Mincho", serif; --fh-w: 700;
  --font-label: "Zen Old Mincho", serif; --fl-w: 600;
}
[data-mood="bouken"] {
  --bg: #f6f0dd; --surface: #fffdf5; --surface-2: #eee2c4; --accent: #9c5814; --accent-soft: #ecdcbb; --accent-text: #ffffff; --border: #e3d7b4;
  --text: #2b2520; --muted: #6a6158; --ink: #874c11;
  --pattern-image: repeating-linear-gradient(45deg, var(--pattern-color) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, var(--pattern-color) 0 6px, transparent 6px 12px);
  --pattern-size: 36px 36px;
  --font-heading: "Mochiy Pop One", sans-serif; --fh-w: 400;
  --font-label: "Zen Maru Gothic", sans-serif; --fl-w: 700;
}
[data-mood="nonbiri"] {
  --bg: #eef4f8; --surface: #ffffff; --surface-2: #dde7ed; --accent: #6b5240; --accent-soft: #ddd0c4; --accent-text: #ffffff; --border: #d6e1e8;
  --text: #2b2520; --muted: #6a6158; --ink: #5a4534;
  --pattern-image: radial-gradient(circle, var(--pattern-color) 10px, transparent 11px);
  --pattern-size: 64px 64px;
  --font-heading: "Kiwi Maru", serif; --fh-w: 500;
  --font-label: "Kiwi Maru", serif; --fl-w: 500;
}
[data-mood="nandemo"] {
  --bg: #fbf7f2; --surface: #ffffff; --surface-2: #f3ece3; --accent: #9c4a22; --accent-soft: #fbe3d6; --accent-text: #ffffff; --border: #e8dfd4;
  --text: #2b2520; --muted: #6a6158; --ink: #9c4a22;
  --pattern-image: none;
  --font-heading: "M PLUS Rounded 1c", sans-serif; --fh-w: 800;
  --font-label: "M PLUS Rounded 1c", sans-serif; --fl-w: 800;
}
[data-mood="party"] {
  --bg: #fffdf8; --surface: #ffffff; --surface-2: #f3ece3; --accent: #2b2520; --accent-soft: #f3ece3; --accent-text: #ffffff; --border: #e8dfd4;
  --text: #2b2520; --muted: #6a6158; --ink: #2b2520;
  --pattern-image:
    radial-gradient(circle, #f4d2ba 5px, transparent 6px),
    radial-gradient(circle, #cdeed9 5px, transparent 6px),
    radial-gradient(circle, #ddd0c4 6px, transparent 7px),
    radial-gradient(circle, #ffd9a0 4px, transparent 5px),
    radial-gradient(circle, #d9d0f2 5px, transparent 6px);
  --pattern-size: 96px 96px, 96px 96px, 96px 96px, 96px 96px, 96px 96px;
  --pattern-pos: 0 0, 48px 48px, 24px 72px, 72px 24px, 60px 84px;
  --font-heading: "Dela Gothic One", sans-serif; --fh-w: 400;
  --font-label: "M PLUS Rounded 1c", sans-serif; --fl-w: 800;
}
[data-m="gattsuri"] { --m: #c8431a; --m-soft: #f4d2ba; }
[data-m="waiwai"]   { --m: #cf4a1e; --m-soft: #ffd9a0; }
[data-m="nonbiri"]  { --m: #6b5240; --m-soft: #ddd0c4; }
[data-m="hokkori"]  { --m: #8a5a2b; --m-soft: #ecd9b4; }
[data-m="gohoubi"]  { --m: #8c6712; --m-soft: #f0dcb0; }
[data-m="sappari"]  { --m: #177a52; --m-soft: #cdeed9; }
[data-m="bouken"]   { --m: #9c5814; --m-soft: #ecdcbb; }
[data-m="shippori"] { --m: #5b4d86; --m-soft: #d9d0f2; }
[data-m="nandemo"]  { --m: #2b2520; --m-soft: #f3ece3; }
.sec {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--prev-bg, var(--bg));
  padding: 52px 0 60px;
}
@media (min-width: 900px) { .sec { padding: 96px 0 104px; } }
.paint {
  position: absolute; inset: 0; z-index: 0;
  background-color: var(--bg);
  background-image: var(--pattern-image);
  background-size: var(--pattern-size);
  background-position: var(--pattern-pos);
  will-change: clip-path;
}
.sec > .wrap { position: relative; z-index: 2; }
.sec-head { margin-bottom: 24px; }
@media (min-width: 900px) { .sec-head { margin-bottom: 36px; } }
.h2, .hero-title {
  font-family: var(--font-heading);
  font-weight: var(--fh-w);
  color: var(--text);
  margin: 0;
  letter-spacing: .01em;
}
.h2 { font-size: clamp(26px, 6.6vw, 46px); line-height: 1.38; }
.lead { margin: 18px 0 0; font-size: 16px; line-height: 1.95; max-width: 40em; }
.plain-card {
  margin: 28px 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  font-size: 15px;
  line-height: 1.85;
  box-shadow: var(--shadow-soft);
}
[data-mood="shippori"] .plain-card, [data-mood="shippori"].plain-card { box-shadow: none; }
.demo-note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; line-height: 1.6; }
.nw { display: inline-block; white-space: nowrap; }
.lb { display: inline; }
.lb::before { content: "\A"; white-space: pre; }
.split .ch { display: inline-block; will-change: transform; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 14px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  font-family: var(--font-label);
  font-weight: var(--fl-w);
  font-size: 17px; line-height: 1.4;
  text-decoration: none;
  box-shadow: 0 10px 24px rgb(0 0 0 / 16%);
  transition: translate .25s var(--ease-pop), scale .25s var(--ease-pop), box-shadow .25s;
}
.btn:hover { translate: 0 -3px; scale: 1.03; box-shadow: 0 14px 30px rgb(0 0 0 / 20%); }
.btn:active { scale: .96; }
.btn:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--text); outline-offset: 3px;
}
.btn-big { min-height: 66px; font-size: 19px; padding: 16px 38px; }
@media (max-width: 480px) { .btn-big { font-size: 17px; padding: 16px 26px; } }
.cta-block { margin-top: 30px; }
.cta-block.center { text-align: center; }
.cta-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.hv {
  position: relative;
  background-color: #fbf7f2;
  background-image: radial-gradient(circle, #e8dfd4 1.5px, transparent 2px);
  background-size: 18px 18px;
  padding: env(safe-area-inset-top, 0) 0 18px;
  text-align: center;
}
.hv-frame {
  position: relative;
  margin: 0 auto;
  width: min(100vw, calc((100svh - 16px) * 9 / 16));
  aspect-ratio: 9 / 16;
  background: #fbf7f2;
  overflow: hidden;
}
.hv-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv .video-caption { margin: 8px 16px 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.play-btn {
  position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer;
  background: rgb(43 37 32 / 22%); display: flex; align-items: center; justify-content: center;
}
.play-btn[hidden] { display: none; }
.play-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: #ffffff; color: #2b2520;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
}
.scroll-cue { position: absolute; left: 50%; bottom: -22px; width: 2px; height: 44px; margin-left: -1px; z-index: 5; overflow: hidden; }
.scroll-cue span { display: block; width: 100%; height: 100%; background: #2b2520; border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 900px) {
  .hv { padding: 28px 0 22px; }
  .hv-frame {
    width: min(94vw, calc((100svh - 90px) * 16 / 9));
    aspect-ratio: 16 / 9;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgb(60 40 20 / 16%);
  }
}
#hero { padding-top: 36px; }
@media (min-width: 900px) { #hero { padding-top: 72px; } }
.hero-wrap { text-align: center; }
.icon-parade { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 10px; margin: 0 auto 14px; max-width: 520px; }
.mi {
  width: 52px; height: 52px; border-radius: 50%;
  background: #ffffff; border: 3px solid var(--m);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgb(60 40 20 / 12%);
}
.mi img { width: 64%; height: 64%; object-fit: contain; }
.eyebrow {
  display: inline-block; margin: 0 0 16px;
  padding: 6px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-family: var(--font-label); font-weight: var(--fl-w);
  font-size: 14px; line-height: 1.5; color: var(--ink);
}
.hero-title { font-size: clamp(28px, 8vw, 68px); line-height: 1.34; }
html[data-ab="b"] .hero-title { font-size: clamp(24px, 7.2vw, 60px); }
html[data-ab="b"] .hero-title .dp {
  display: inline-block; font-family: "Mochiy Pop One", "Noto Sans JP", sans-serif; font-weight: 400;
  font-size: clamp(26px, 9.4vw, 76px); line-height: 1.25; color: #1d1b24;
}
html[data-ab="b"] .hero-title .dp .dg { color: #177a52; }
html[data-ab="b"] .hero-title .dp .do { color: #c8431a; }
.hero-title .morph, .closing-title .morph {
  display: inline-block;
  color: var(--morph-color, var(--ink));
  font-family: var(--morph-font, inherit);
  font-weight: var(--morph-w, inherit);
  transform-origin: 50% 60%;
}
.hero-title .ten { display: inline-block; color: var(--ink); }
.hero-body { margin: 22px auto 0; max-width: 36em; font-size: 16px; line-height: 1.95; text-align: left; }
@media (min-width: 700px) { .hero-body { text-align: center; } .mi { width: 64px; height: 64px; } }
.deal { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.deal-card {
  position: relative;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 58px 20px 22px;
  font-size: 15px; line-height: 1.85;
  box-shadow: 0 14px 34px rgb(40 30 20 / 14%);
  background-image: var(--pattern-image);
  background-size: var(--pattern-size);
}
.deal-card:nth-child(1) { transform: rotate(-1.6deg); }
.deal-card:nth-child(2) { transform: rotate(1.2deg); }
.deal-card:nth-child(3) { transform: rotate(-.8deg); }
.deal-card strong {
  display: block; margin-bottom: 6px;
  font-family: var(--font-label); font-weight: var(--fl-w);
  font-size: 18px; line-height: 1.55;
}
.deal-icon {
  position: absolute; top: -22px; left: 18px;
  width: 64px; height: 64px; border-radius: 50%;
  background: #ffffff; border: 3px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
}
[data-mood="shippori"] .deal-icon { border-color: #b9a6e6; }
.deal-icon img { width: 62%; }
.deal { padding-top: 22px; }
@media (min-width: 900px) { .deal { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.tip { margin-top: 26px; display: grid; gap: 14px; align-items: center; }
.typebox {
  justify-self: start;
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--surface); border: 2px solid var(--accent);
  border-radius: 999px; padding: 0 20px; min-width: 220px;
  box-sizing: border-box; height: 52px; line-height: 1;
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 17px;
}
.caret { width: 2px; height: 1.2em; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tip-text { margin: 0; font-size: 15px; line-height: 1.9; max-width: 44em; }
@media (min-width: 900px) { .tip { grid-template-columns: auto 1fr; gap: 26px; } }
.steps { margin: 0; padding: 0; display: grid; gap: 22px; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 26px 20px 22px 20px;
  box-shadow: var(--shadow-soft);
}
.step p { margin: 14px 0 0; font-size: 15px; line-height: 1.85; }
.step p strong { display: block; font-family: var(--font-label); font-weight: var(--fl-w); font-size: 19px; margin-bottom: 4px; }
.step-num {
  position: absolute; top: -18px; right: 18px;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center;
  font-family: "Dela Gothic One", sans-serif; font-size: 28px; line-height: 1;
  box-shadow: 0 8px 18px rgb(0 0 0 / 18%);
}
.step-vis { height: 76px; display: flex; align-items: center; }
.mini-input {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg); border: 2px solid var(--border); border-radius: 999px;
  padding: 8px 18px 8px 10px; font-family: var(--font-label); font-size: 17px; font-weight: var(--fl-w);
}
.mini-pin { width: 30px; height: 30px; }
.mini-chips { display: flex; gap: 8px; }
.mc {
  width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 3px solid var(--m);
  display: flex; align-items: center; justify-content: center;
}
.mc img { width: 62%; }
.mc.is-on { background: var(--m-soft); }
.mini-stack { position: relative; width: 150px; height: 70px; }
.mini-stack img { position: absolute; top: 0; width: 96px; height: 64px; object-fit: cover; border-radius: 10px; border: 3px solid #fff; box-shadow: 0 6px 14px rgb(0 0 0 / 16%); }
.mini-stack img:nth-child(1) { left: 0; transform: rotate(-8deg); }
.mini-stack img:nth-child(2) { left: 28px; transform: rotate(2deg); }
.mini-stack img:nth-child(3) { left: 56px; transform: rotate(10deg); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.mood-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--surface); color: var(--text);
  border: 2px solid var(--m);
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 15px; line-height: 1.2;
  cursor: pointer;
  transition: translate .25s var(--ease-pop), scale .25s var(--ease-pop), background-color .2s, color .2s;
}
.chip img { width: 30px; height: 30px; border-radius: 50%; background: #fff; padding: 3px; }
.chip:hover { translate: 0 -2px; }
.chip[aria-pressed="true"] { background: var(--m); color: #ffffff; scale: 1.06; }
.chip:active { scale: .94; }
.mood-chips.small .chip { font-size: 14px; }
.demo { position: relative; }
.demo-theme .mood-chips { margin-bottom: 18px; }
.burst-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.burst { position: absolute; inset: 0; background-color: var(--bg); background-image: var(--pattern-image); background-size: var(--pattern-size); background-position: var(--pattern-pos); }
.phone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 18px 16px 18px;
  box-shadow: 0 20px 50px rgb(40 30 20 / 16%);
  max-width: 420px;
  transition: background-color .4s, border-color .4s;
}
.pc-head { padding: 4px 6px 12px; }
.pc-mood { font-family: var(--font-heading); font-weight: var(--fh-w); font-size: 28px; line-height: 1.3; display: inline-block; }
.pc-mood-name { color: var(--ink); }
.pc-shop img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 18px; }
.shop-name { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 19px; line-height: 1.45; margin-top: 12px; }
.shop-meta { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.reason-label { font-size: 12px; color: var(--muted); margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--text); font-size: 13px; line-height: 1.5; font-family: var(--font-label); font-weight: var(--fl-w); }
@media (min-width: 960px) {
  .theme-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px 56px; align-items: start; }
  .theme-grid .sec-head { grid-column: 1; }
  .theme-grid .demo { grid-column: 2; grid-row: 1 / span 2; }
  .theme-grid .plain-card { grid-column: 1; margin-top: 0; }
}
@media (max-width: 959px) { .phone-card { margin: 0 auto; } }
.mag { margin: 0; }
.mag-book { position: relative; width: 100%; max-width: 400px; aspect-ratio: 3 / 4.3; margin: 0 auto; perspective: 1600px; }
.mag-page {
  position: absolute; inset: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px 22px 22px 8px;
  overflow: hidden;
  transform-origin: 0% 50%;
  box-shadow: 0 24px 50px rgb(40 30 20 / 22%);
  display: flex; flex-direction: column;
  backface-visibility: hidden;
}
.mag-page img { width: 100%; height: 50%; object-fit: cover; }
.mag-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.mag-kicker { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.mag-name { font-family: var(--font-heading); font-weight: var(--fh-w); font-size: 24px; line-height: 1.35; margin: 2px 0 6px; }
.mag-copy { font-size: 14px; line-height: 1.75; }
.mag-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.mag-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-text); border: 0; cursor: pointer;
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 17px;
  transition: scale .25s var(--ease-pop);
}
.mag-btn:hover { scale: 1.08; }
.mag-btn:active { scale: .92; }
.mag-count { font-family: var(--font-label); font-weight: var(--fl-w); min-width: 4em; text-align: center; }
.mag figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 10px; }
@media (min-width: 960px) {
  .mag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: start; }
  .mag-grid .mag { grid-column: 2; grid-row: 1 / span 2; }
  .mag-grid .plain-card { grid-column: 1; margin-top: 0; }
}
.map-wrap { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 10px; box-shadow: var(--shadow-soft); }
.map { width: 100%; height: auto; display: block; overflow: visible; }
.ln { stroke-width: 6; }
.ln-loop { stroke: #177a52; }
.ln-chuo { stroke: #cf4a1e; stroke-width: 5; }
.ln-ginza { stroke: #8c6712; stroke-width: 5; }
.ln-river { stroke: #bcd3e2; stroke-width: 12; }
.pin { cursor: pointer; outline: none; }
.pin .pin-body { transition: scale .3s var(--ease-pop); transform-box: fill-box; transform-origin: 50% 100%; }
.pin:hover .pin-body, .pin.is-on .pin-body { scale: 1.22; }
.pin:focus-visible .pin-ring { stroke: #2b2520; stroke-width: 3; }
.pin-label { font-family: "Zen Maru Gothic", sans-serif; font-weight: 700; font-size: 13px; fill: #2b2520; }
.pin-label-bg { fill: #ffffff; stroke: #e3d7b4; stroke-width: 1; }
.map-bubble {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, calc(-100% - 66px));
  background: #ffffff; border: 2px solid #2b2520; border-radius: 999px;
  padding: 5px 8px; display: flex; gap: 4px; pointer-events: none;
  white-space: nowrap;
}
.map-bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; margin-left: -6px;
  background: #ffffff; border: 2px solid #2b2520; border-top: 0; border-left: 0; transform: rotate(45deg);
}
.mb-icons { display: flex; gap: 4px; }
.mb-icons img { width: 30px; height: 30px; }
.town-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 12px; justify-content: center; }
.town-tab {
  min-height: 44px; padding: 6px 16px; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 2px solid var(--accent);
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 15px; cursor: pointer;
  transition: scale .25s var(--ease-pop);
}
.town-tab[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); scale: 1.06; }
.town-panel { display: grid; gap: 10px; min-height: 140px; }
.town-head { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 17px; }
.town-shop {
  display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 8px;
  box-shadow: 0 6px 16px rgb(40 30 20 / 8%);
}
.town-shop img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; }
.want { display: inline-block; font-family: var(--font-label); font-weight: var(--fl-w); font-size: 13px; line-height: 1.4; padding: 3px 10px; border-radius: 999px; background: var(--m); color: #ffffff; }
.town-shop .shop-name { font-size: 16px; margin-top: 4px; }
.town-shop .shop-meta { font-size: 12px; }
@media (min-width: 960px) {
  .area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px 56px; align-items: start; }
}
.ctrl-label { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 14px; margin: 4px 0 8px; color: var(--muted); }
.weather-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.wchip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 5px 14px 5px 8px; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 2px solid var(--accent);
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 14px; cursor: pointer;
  transition: scale .25s var(--ease-pop);
}
.wchip img { width: 26px; height: 26px; }
.wchip[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); scale: 1.05; }
.outfit-card {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 28px;
  padding: 18px 18px 20px;
  box-shadow: 0 20px 50px rgb(40 30 20 / 16%);
  background-image: var(--pattern-image); background-size: var(--pattern-size);
  transition: background-color .4s, color .4s;
}
.oc-top { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.shirt { width: 96px; height: 96px; overflow: visible; }
.shirt .tee { fill: var(--accent); transition: fill .4s; }
.shirt .hanger { stroke: var(--muted); }
.shirt-swing { transform-origin: 60px 14px; transform-box: view-box; }
.oc-weather { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.oc-weather img { width: 22px; height: 22px; }
.oc-headline { font-family: var(--font-heading); font-weight: var(--fh-w); font-size: 24px; line-height: 1.35; margin-top: 4px; }
.oc-items { display: grid; gap: 8px; margin-top: 14px; }
.oc-item { display: grid; grid-template-columns: 5.2em 1fr; gap: 10px; align-items: start; background: var(--bg); border-radius: 14px; padding: 9px 12px; font-size: 15px; line-height: 1.6; }
.oc-part { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 13px; color: var(--ink); padding-top: 1px; }
.oc-tips { margin-top: 12px; display: grid; gap: 6px; font-size: 13px; line-height: 1.7; color: var(--text); }
.oc-tips .oc-style { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 14px; color: var(--ink); }
@media (min-width: 960px) {
  .outfit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 56px; align-items: start; }
  .outfit-grid .demo { grid-column: 2; grid-row: 1 / span 2; }
  .outfit-grid .plain-card { grid-column: 1; margin-top: 0; }
}
.stars {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    radial-gradient(circle, #ece9f7 1px, transparent 1.6px),
    radial-gradient(circle, #b9a6e6 1.2px, transparent 2px);
  background-size: 140px 160px, 230px 210px;
  background-position: 20px 30px, 90px 120px;
  opacity: .5;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: .6; } }
.jev-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-items: stretch; margin-bottom: 36px; }
.jev-flow > * { min-width: 0; }
.jf-step {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  padding: 18px 18px 20px;
}
.jf-box { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
.jf-box strong { display: block; color: var(--text); font-family: var(--font-label); font-weight: var(--fl-w); font-size: 18px; line-height: 1.5; margin-bottom: 2px; }
.jf-vis { margin-top: 14px; min-height: 44px; }
.jf-arrow { color: var(--accent); display: flex; justify-content: center; }
.jf-arrow svg { width: 34px; height: 34px; transform: rotate(90deg); }
.words { display: flex; flex-wrap: wrap; gap: 6px; }
.words span { padding: 4px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 13px; }
.ratio-bar { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: var(--surface-2); }
.seg { display: block; height: 100%; }
.seg-word { width: 30%; background: #8f86b8; }
.seg-jev { width: 70%; background: var(--accent); }
.ratio-legend { display: grid; grid-template-columns: 3fr 7fr; font-size: 13px; color: var(--muted); margin-top: 4px; }
.ratio-legend span::after { content: "割"; }
.ten-cards { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
.ten-cards span { display: block; aspect-ratio: 3 / 4; border-radius: 4px; background: var(--accent); }
.ten-cards span:nth-child(odd) { background: #8f86b8; }
@media (min-width: 960px) {
  .jev-flow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
  .jf-step { height: 100%; }
  .jf-arrow svg { transform: none; }
}
.jev-body { display: grid; gap: 14px; max-width: 46em; }
.jev-body p { margin: 0; font-size: 15px; line-height: 1.95; }
.trial {
  margin-top: 36px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px;
  padding: 22px 20px;
}
.trial p { margin: 0 0 14px; font-size: 15px; line-height: 1.9; }
.trial-title { font-family: var(--font-label); font-weight: var(--fl-w); font-size: 18px !important; color: var(--ink); }
.trial-bars { display: grid; gap: 10px; margin: 6px 0 20px; }
.tb { display: grid; grid-template-columns: 8.2em 1fr 4.6em; gap: 10px; align-items: center; font-size: 13px; }
.tb-lbl { color: var(--muted); }
.tb-track { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.tb-fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.tb-num { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; text-align: right; color: var(--text); }
.luna-note { color: var(--muted); font-size: 14px !important; margin-bottom: 0 !important; }
.faq-list { display: grid; gap: 12px; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 6px 16px rgb(40 30 20 / 6%); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 18px 10px 12px;
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 16px; line-height: 1.5;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; margin-left: auto; flex: none;
  width: 12px; height: 12px;
  border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .3s var(--ease-pop);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.fq-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; transition: rotate .4s var(--ease-pop), scale .4s var(--ease-pop); }
.fq-icon img { width: 64%; }
.faq-item[open] .fq-icon { rotate: -12deg; scale: 1.12; }
.faq-item p { margin: 0; padding: 0 20px 18px 64px; font-size: 15px; line-height: 1.9; }
.faq-item[open] p { animation: faqIn .45s var(--ease-pop); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.closing { padding: 120px 0 130px; }
.closing-wrap { text-align: center; }
.closing-title { font-size: clamp(28px, 7.4vw, 56px); }
.closing .lead { margin-left: auto; margin-right: auto; }
.confetti { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cf {
  position: absolute; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; border: 3px solid var(--m);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgb(60 40 20 / 12%);
}
.cf img { width: 62%; }
.cf:nth-child(1) { left: 4%; top: 8%; }
.cf:nth-child(2) { right: 6%; top: 6%; }
.cf:nth-child(3) { left: 10%; top: 44%; }
.cf:nth-child(4) { right: 3%; top: 38%; }
.cf:nth-child(5) { left: 3%; bottom: 10%; }
.cf:nth-child(6) { right: 10%; bottom: 7%; }
.cf:nth-child(7) { left: 40%; top: 3%; }
.cf:nth-child(8) { left: 56%; bottom: 3%; }
@media (max-width: 700px) {
  .cf { width: 44px; height: 44px; }
  .cf:nth-child(3), .cf:nth-child(4) { top: auto; bottom: 30%; }
  .cf:nth-child(3) { left: 2%; } .cf:nth-child(4) { right: 2%; }
}
.foot { background: #fffdf8; padding: 28px 0 44px; }
.foot p { margin: 0 0 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.foot a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .paint { clip-path: none !important; }
  .scroll-cue { display: none; }
}
.howto-title .hl {
  display: inline-block;
  background: var(--accent); color: var(--accent-text);
  padding: .12em .6em .18em;
  border-radius: 18px;
  rotate: -1.5deg;
  box-shadow: 0 10px 24px rgb(40 30 20 / 18%);
}
.howto-title .sub { display: inline-block; margin-top: 12px; font-size: .74em; color: var(--text); }
#howto .plain-card { background: var(--surface-2); border-color: transparent; box-shadow: none; }
@media (min-width: 900px) { #howto .plain-card { margin: 28px 50px 0; padding: 20px 28px; } }
.gacha {
  margin-top: 26px;
  display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px 16px; align-items: center;
  background: var(--surface-2); color: var(--text);
  border-radius: 24px; padding: 18px;
}
.gacha-dice {
  width: 76px; height: 76px; border-radius: 50%;
  background: #ffffff; border: 3px solid var(--accent);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 18px rgb(40 30 20 / 16%);
  transition: scale .25s var(--ease-pop);
}
.gacha-dice:hover { scale: 1.08; }
.gacha-dice img { width: 62%; }
.gacha-title { margin: 0; font-family: var(--font-label); font-weight: var(--fl-w); font-size: 18px; line-height: 1.5; }
.gacha-body { margin: 4px 0 0; font-size: 15px; line-height: 1.85; }
.gacha-result { grid-column: 1 / -1; min-height: 0; }
.gacha-result:empty { display: none; }
.gacha-note { grid-column: 1 / -1; text-align: left; margin-top: 0; }
.gacha-pick {
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center;
  background: var(--surface); border-radius: 18px; padding: 8px;
}
.gacha-pick img { width: 84px; height: 64px; object-fit: cover; border-radius: 12px; }
@media (min-width: 900px) {
  .gacha { grid-template-columns: 96px minmax(0, 1.2fr) minmax(0, 1fr); padding: 22px 26px; }
  .gacha-dice { width: 96px; height: 96px; }
  .gacha-result { grid-column: 3; }
  .gacha-result:empty { display: block; }
}
@media (min-width: 960px) {
  .theme-grid { grid-template-columns: .85fr 1.15fr; }
  .demo-theme { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 18px; align-items: start; }
  .demo-theme .mood-chips { flex-direction: column; align-items: stretch; margin-bottom: 0; }
  .demo-theme .phone-card { max-width: none; }
  .demo-theme .demo-note { grid-column: 1 / -1; }
  .pc-shop .shop { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 20px; align-items: start; }
  .pc-shop .shop img { grid-row: 1 / span 5; }
  .pc-shop .shop .shop-name { margin-top: 0; }
  .outfit-grid { grid-template-columns: 1fr; }
  .outfit-grid .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: end; }
  .outfit-grid .sec-head .lead { margin-top: 0; }
  .outfit-grid .demo { grid-column: 1; grid-row: auto; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 40px; align-items: start; }
  .outfit-grid .demo > .ctrl-label, .outfit-grid .demo > .mood-chips, .outfit-grid .demo > .weather-chips { grid-column: 1; }
  .outfit-grid .demo > .outfit-card { grid-column: 2; grid-row: 1 / span 5; }
  .outfit-grid .demo > .demo-note { grid-column: 2; }
  .outfit-grid .plain-card { grid-column: 1; margin-top: 24px; }
  .faq-list { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; gap: 14px 20px; }
}
.demo p, .mag p, .gacha-result p, .outfit-card p, .phone-card p { margin: 0; }
.pc-shop .shop-name { margin-top: 12px; }
.demo .reason-label, .mag .reason-label { margin-top: 10px; }
.demo .tags, .mag .tags { margin-top: 6px; }
.mag .mag-name { margin: 2px 0 6px; }
.outfit-card .oc-headline { margin-top: 4px; }
.demo .demo-note { margin-top: 12px; }
.gacha .gacha-note { margin-top: 0; }
.town-shop .shop-name, .gacha-pick .shop-name { margin-top: 4px; }
@media (max-width: 899px) {
  .gacha-text { display: contents; }
  .gacha-dice { grid-column: 1; grid-row: 1; }
  .gacha-title { grid-column: 2; grid-row: 1; }
  .gacha-body { grid-column: 1 / -1; margin-top: 0; }
}
.btn, [data-mood] .btn {
  background-color: #177a52;
  background-image: linear-gradient(110deg, #177a52 0%, #8c6712 33%, #a8451a 66%, #177a52 100%);
  background-size: 300% 100%;
  background-position: 0% 50%;
  color: #ffffff;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 800;
  animation: btnFlow 9s linear infinite;
}
@keyframes btnFlow { from { background-position: 0% 50%; } to { background-position: 150% 50%; } }
.quick { margin: 8px 0 0; text-align: center; font-size: 14px; line-height: 1.5; }
.quick-link { color: #106640; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 6px 10px; display: inline-block; }
@media (min-width: 900px) { .quick { display: none; } }
.more { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; }
.more summary {
  list-style: none; cursor: pointer; min-height: 52px; padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-label); font-weight: var(--fl-w); font-size: 16px; color: var(--ink);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after {
  content: ""; margin-left: auto; width: 10px; height: 10px;
  border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .3s var(--ease-pop);
}
.more[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.more-body { display: grid; gap: 12px; padding: 0 18px 18px; }
.more-body p { margin: 0; font-size: 15px; line-height: 1.95; }
.more[open] .more-body { animation: faqIn .45s var(--ease-pop); }
.hero-title .ten { margin: 0 .08em 0 .1em; letter-spacing: -.07em; }
@media (min-width: 900px) {
  .hero-wrap { position: relative; padding-left: 60px; padding-right: 60px; }
  .icon-parade { position: absolute; inset: -30px -110px 0 -110px; margin: 0; max-width: none; pointer-events: none; display: block; }
  .icon-parade .mi { position: absolute; width: 72px; height: 72px; }
  .icon-parade .mi:nth-child(1) { left: 2%; top: 4%; }
  .icon-parade .mi:nth-child(2) { left: 6%; top: 34%; }
  .icon-parade .mi:nth-child(3) { left: 1%; top: 62%; }
  .icon-parade .mi:nth-child(4) { left: 7%; top: 86%; }
  .icon-parade .mi:nth-child(5) { left: 47%; top: -2%; }
  .icon-parade .mi:nth-child(6) { right: 2%; top: 6%; }
  .icon-parade .mi:nth-child(7) { right: 6%; top: 36%; }
  .icon-parade .mi:nth-child(8) { right: 1%; top: 64%; }
  .icon-parade .mi:nth-child(9) { right: 7%; top: 88%; }
  #hero .eyebrow { margin-top: 70px; }
}
@media (prefers-reduced-motion: reduce) { .btn, [data-mood] .btn { animation: none; } }
.faq-item a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.town-shop.no-photo .photo-empty {
  width: 84px; height: 64px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--text) 7%, var(--surface));
  color: #706b65; font-size: 12px; font-weight: 700;
}
.town-shop .shop-hours { font-size: 12px; color: var(--muted); margin-top: 2px; }
.kb-pending #hero .mi { visibility: hidden; }
