/* AZRION TOWN — フラットで上品に。小さく、洗練。数字は大きく。 */
:root {
  --bg: #f6f3ec;
  --card: #fffdf8;
  --ink: #23211c;
  --mut: #8a8378;
  --line: #e4ddcd;
  --acc: #2e6da8;
  --acc-deep: #245a8c;
  --gold: #d9a92c;
  --danger: #c0453e;
  --radius: 18px;
  --ease: cubic-bezier(.22,.8,.28,1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: var(--bg); color: var(--ink);
  max-width: 480px; margin: 0 auto; min-height: 100svh;
  overscroll-behavior-y: none;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }

.screen { display: none; padding: 20px 18px 40px; animation: fadein .35s var(--ease); }
.screen.active { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---- 共通部品 ---- */
.btn-acc {
  display: block; width: 100%; padding: 14px; border-radius: 999px;
  background: var(--acc); color: #fff; font-size: 16px; font-weight: 700;
  transition: transform .18s var(--ease), background .18s;
}
.btn-acc:active { transform: scale(.98); background: var(--acc-deep); }
.btn-acc.big { padding: 17px; font-size: 17px; }
.btn-acc:disabled { background: #c9c2b2; }
.btn-ghost {
  display: block; width: 100%; padding: 12px; border-radius: 999px; margin-top: 12px;
  border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink);
}
.link-btn { display: block; margin: 14px auto 0; color: var(--mut); font-size: 13px; }
.note { font-size: 12px; color: var(--mut); line-height: 1.6; margin-top: 12px; }
.err { color: var(--danger); font-size: 13px; margin: 8px 0 0; }
.chk { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mut); margin: 2px 0 12px; }
.chk input { width: 16px; height: 16px; }
.sep-line { border: none; border-top: 1px solid var(--line); margin: 20px 0; }
.panel {
  background: var(--card); border: 1px solid var(--line); border-radius: 24px;
  padding: 26px 22px; margin-top: 24px;
}
.panel-title { margin: 2px 0 18px; font-size: 22px; letter-spacing: .04em; }
.title-kicker { font-size: 11px; letter-spacing: .34em; color: var(--acc); font-weight: 700; }

/* ---- タイトル ---- */
.title-wrap { text-align: center; padding-top: 9svh; position: relative; }
.title-logo { font-size: 56px; line-height: 1.04; letter-spacing: .06em; margin: 14px 0 10px; font-weight: 800; }
.title-catch { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.title-sub { font-size: 13px; color: var(--mut); line-height: 1.8; margin: 0 0 28px; }
.title-wrap .btn-acc { max-width: 300px; margin: 0 auto; }
.title-tip { font-size: 12px; color: var(--mut); min-height: 18px; margin-top: 18px; }
.title-skyline {
  height: 92px; margin-top: 26px; opacity: .8;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27480%27%20height%3D%2790%27%3E%3Crect%20x%3D%270%27%20y%3D%2740%27%20width%3D%2738%27%20height%3D%2750%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2740%27%20width%3D%2738%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%275%27%20y%3D%2747%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%275%27%20y%3D%2760%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2717%27%20y%3D%2747%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2717%27%20y%3D%2760%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2744%27%20y%3D%2726%27%20width%3D%2730%27%20height%3D%2764%27%20fill%3D%27%23bcae90%27%2F%3E%3Crect%20x%3D%2744%27%20y%3D%2726%27%20width%3D%2730%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%2759%27%20y%3D%2719%27%20width%3D%272%27%20height%3D%277%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2733%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2746%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2759%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2749%27%20y%3D%2772%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%2761%27%20y%3D%2733%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2761%27%20y%3D%2746%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2761%27%20y%3D%2759%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%2761%27%20y%3D%2772%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2780%27%20y%3D%2752%27%20width%3D%2746%27%20height%3D%2738%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%2780%27%20y%3D%2752%27%20width%3D%2746%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%2785%27%20y%3D%2759%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%2785%27%20y%3D%2772%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2797%27%20y%3D%2759%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2797%27%20y%3D%2772%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27109%27%20y%3D%2759%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27109%27%20y%3D%2772%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27132%27%20y%3D%2718%27%20width%3D%2726%27%20height%3D%2772%27%20fill%3D%27%23bcae90%27%2F%3E%3Crect%20x%3D%27132%27%20y%3D%2718%27%20width%3D%2726%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27145%27%20y%3D%2711%27%20width%3D%272%27%20height%3D%277%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27137%27%20y%3D%2725%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27137%27%20y%3D%2738%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27137%27%20y%3D%2751%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27137%27%20y%3D%2764%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27164%27%20y%3D%2744%27%20width%3D%2740%27%20height%3D%2746%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%27164%27%20y%3D%2744%27%20width%3D%2740%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27169%27%20y%3D%2751%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27169%27%20y%3D%2764%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2751%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2764%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27210%27%20y%3D%2730%27%20width%3D%2734%27%20height%3D%2760%27%20fill%3D%27%23bcae90%27%2F%3E%3Crect%20x%3D%27210%27%20y%3D%2730%27%20width%3D%2734%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27227%27%20y%3D%2723%27%20width%3D%272%27%20height%3D%277%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27215%27%20y%3D%2737%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27215%27%20y%3D%2750%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27215%27%20y%3D%2763%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27227%27%20y%3D%2737%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27227%27%20y%3D%2750%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27227%27%20y%3D%2763%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27250%27%20y%3D%2755%27%20width%3D%2748%27%20height%3D%2735%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%27250%27%20y%3D%2755%27%20width%3D%2748%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27255%27%20y%3D%2762%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27267%27%20y%3D%2762%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27279%27%20y%3D%2762%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27304%27%20y%3D%2722%27%20width%3D%2728%27%20height%3D%2768%27%20fill%3D%27%23bcae90%27%2F%3E%3Crect%20x%3D%27304%27%20y%3D%2722%27%20width%3D%2728%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27318%27%20y%3D%2715%27%20width%3D%272%27%20height%3D%277%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27309%27%20y%3D%2729%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27309%27%20y%3D%2742%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27309%27%20y%3D%2755%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27309%27%20y%3D%2768%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27338%27%20y%3D%2746%27%20width%3D%2742%27%20height%3D%2744%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%27338%27%20y%3D%2746%27%20width%3D%2742%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27343%27%20y%3D%2753%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27343%27%20y%3D%2766%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27355%27%20y%3D%2753%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27355%27%20y%3D%2766%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27367%27%20y%3D%2753%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27367%27%20y%3D%2766%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27386%27%20y%3D%2734%27%20width%3D%2730%27%20height%3D%2756%27%20fill%3D%27%23bcae90%27%2F%3E%3Crect%20x%3D%27386%27%20y%3D%2734%27%20width%3D%2730%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27391%27%20y%3D%2741%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27391%27%20y%3D%2754%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27391%27%20y%3D%2767%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27403%27%20y%3D%2741%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27403%27%20y%3D%2754%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27403%27%20y%3D%2767%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27422%27%20y%3D%2750%27%20width%3D%2758%27%20height%3D%2740%27%20fill%3D%27%23c9bda3%27%2F%3E%3Crect%20x%3D%27422%27%20y%3D%2750%27%20width%3D%2758%27%20height%3D%273%27%20fill%3D%27%23a99a7c%27%2F%3E%3Crect%20x%3D%27427%27%20y%3D%2757%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27427%27%20y%3D%2770%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27439%27%20y%3D%2757%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27439%27%20y%3D%2770%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27451%27%20y%3D%2757%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%27451%27%20y%3D%2770%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27463%27%20y%3D%2757%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.75%27%2F%3E%3Crect%20x%3D%27463%27%20y%3D%2770%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.42%27%2F%3E%3Crect%20x%3D%2740%27%20y%3D%2780%27%20width%3D%272.4%27%20height%3D%277%27%20fill%3D%27%238a7c5e%27%2F%3E%3Ccircle%20cx%3D%2741%27%20cy%3D%2776%27%20r%3D%277%27%20fill%3D%27%239aa07e%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%27128%27%20y%3D%2780%27%20width%3D%272.4%27%20height%3D%277%27%20fill%3D%27%238a7c5e%27%2F%3E%3Ccircle%20cx%3D%27129%27%20cy%3D%2776%27%20r%3D%277%27%20fill%3D%27%239aa07e%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%27246%27%20y%3D%2780%27%20width%3D%272.4%27%20height%3D%277%27%20fill%3D%27%238a7c5e%27%2F%3E%3Ccircle%20cx%3D%27247%27%20cy%3D%2776%27%20r%3D%277%27%20fill%3D%27%239aa07e%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%27332%27%20y%3D%2780%27%20width%3D%272.4%27%20height%3D%277%27%20fill%3D%27%238a7c5e%27%2F%3E%3Ccircle%20cx%3D%27333%27%20cy%3D%2776%27%20r%3D%277%27%20fill%3D%27%239aa07e%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%27418%27%20y%3D%2780%27%20width%3D%272.4%27%20height%3D%277%27%20fill%3D%27%238a7c5e%27%2F%3E%3Ccircle%20cx%3D%27419%27%20cy%3D%2776%27%20r%3D%277%27%20fill%3D%27%239aa07e%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2787%27%20width%3D%27480%27%20height%3D%273%27%20fill%3D%27%23b3a586%27%2F%3E%3C%2Fsvg%3E") repeat-x bottom / auto 100%;
  opacity: .92;
}
.title-foot { font-size: 11px; letter-spacing: .28em; color: var(--mut); margin-top: 14px; }
.title-guide { margin-top: 10px; font-size: 12px; }
.title-guide a { color: var(--mut); text-decoration: underline; text-underline-offset: 3px; }

/* ---- 認証 ---- */
.seg { display: flex; background: var(--bg); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.seg-btn { flex: 1; padding: 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--mut); transition: all .2s var(--ease); }
.seg-btn.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(35,33,28,.12); }
.fld { display: block; margin-bottom: 14px; }
.fld span { display: block; font-size: 12px; color: var(--mut); margin-bottom: 6px; font-weight: 600; }
.fld input {
  width: 100%; padding: 13px 14px; font-size: 16px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; color: var(--ink); outline: none;
}
.fld input:focus { border-color: var(--acc); }

/* ---- ホーム ---- */
.topbar { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.tb-name { font-size: 18px; font-weight: 800; }
.tb-sub { font-size: 12px; color: var(--mut); margin-top: 2px; }
.tb-title { font-size: 16px; font-weight: 800; align-self: center; }
.tb-back { font-size: 14px; font-weight: 700; color: var(--acc); padding: 4px 0; }
.tb-spacer { width: 56px; }
.tb-logout { font-size: 12px; color: var(--mut); padding: 4px 0; }

.town-hero { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px 16px 14px; }
.town-hero-top { display: flex; justify-content: space-between; align-items: flex-end; }
.th-label { font-size: 11px; color: var(--mut); font-weight: 700; letter-spacing: .08em; }
.th-pop { font-size: 46px; font-weight: 800; line-height: 1.05; }
.th-unit { font-size: 16px; font-weight: 700; margin-left: 4px; }
.th-lv { text-align: right; }
.th-lvnum { font-size: 22px; font-weight: 800; color: var(--acc); }
.lv-bar { height: 6px; background: var(--bg); border-radius: 99px; margin-top: 10px; overflow: hidden; }
.lv-fill { height: 100%; background: var(--acc); border-radius: 99px; width: 0%; transition: width .6s var(--ease); }
.lv-next { font-size: 11px; color: var(--mut); margin-top: 6px; }

.town-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.plot {
  aspect-ratio: .92; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 6px 2px; transition: transform .15s var(--ease); position: relative;
}
.plot:active { transform: scale(.96); }
.plot.empty { border-style: dashed; background: transparent; }
.plot .plus { font-size: 20px; color: #c9c0aa; font-weight: 300; }
.plot .p-icon { width: 30px; height: 30px; }
.plot .p-name { font-size: 10px; font-weight: 700; line-height: 1.2; text-align: center; }
.plot .p-pop { font-size: 9px; color: var(--mut); }
.plot .pips { display: flex; gap: 3px; margin-top: 2px; }
.plot .pip { width: 5px; height: 5px; border-radius: 99px; background: #ddd5c2; }
.plot .pip.on { background: var(--acc); }
.synergy { font-size: 11px; color: var(--mut); margin-top: 12px; line-height: 1.7; min-height: 18px; }
.synergy b { color: var(--acc); }

.res-row { display: flex; gap: 8px; margin-top: 12px; }
.res-item { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.r-label { display: block; font-size: 11px; color: var(--mut); font-weight: 700; }
.r-num { font-size: 24px; font-weight: 800; }

.bonus-card {
  width: 100%; display: flex; justify-content: space-between; align-items: center; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-top: 12px;
}
.bonus-title { font-size: 14px; font-weight: 800; }
.bonus-sub { font-size: 12px; color: var(--mut); margin-top: 2px; }
.bonus-state { font-size: 13px; font-weight: 800; color: var(--acc); white-space: nowrap; }
.bonus-card.done .bonus-state { color: var(--mut); }

.goals-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-top: 12px; }
.goals-head { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.goal-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid #f0ebdd; }
.goal-row:first-of-type { border-top: none; }
.goal-label { flex: 1; font-size: 13px; }
.goal-prog { font-size: 12px; color: var(--mut); font-weight: 700; white-space: nowrap; }
.goal-btn { font-size: 12px; font-weight: 800; color: #fff; background: var(--acc); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.goal-btn:disabled { background: #d8d1bf; color: #fff; }
.goal-done { font-size: 12px; color: var(--mut); font-weight: 700; white-space: nowrap; }

.ride-cta { margin-top: 16px; }
.ride-cta .cta-sub { display: block; font-size: 12px; font-weight: 600; opacity: .85; margin-top: 2px; }
.menu-grid { display: flex; gap: 8px; margin-top: 12px; }
.menu-btn {
  flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 12px; text-align: left;
}
.menu-btn .m-name { display: block; font-size: 14px; font-weight: 800; }
.menu-btn small { font-size: 11px; color: var(--mut); }

/* ---- 路線マップ ---- */
.route-lead { font-size: 13px; line-height: 1.8; color: var(--ink); margin: 2px 0 12px; }
.map-wrap { background: radial-gradient(120% 90% at 50% 0%, #fffef9, #faf6ea); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: inset 0 1px 0 #fff, 0 4px 14px rgba(35,33,28,.05); }
#route-map { width: 100%; height: auto; display: block; }
.map-legend { display: flex; gap: 6px; align-items: center; font-size: 11px; color: var(--mut); margin-top: 10px; }
.lg { width: 10px; height: 10px; border-radius: 99px; display: inline-block; margin-left: 10px; }
.lg:first-child { margin-left: 0; }
.lg-now { background: var(--acc); box-shadow: 0 0 0 3px rgba(46,109,168,.25); }
.lg-next { background: #fff; border: 2px solid var(--acc); }
.lg-sta { background: #fff; border: 2px solid #cfc6ae; }
.sta-dot { fill: #fff; stroke: #cfc6ae; stroke-width: .7; }
.sta-dot.next { stroke: var(--acc); stroke-width: .9; cursor: pointer; }
.sta-dot.now { fill: var(--acc); stroke: #fff; stroke-width: .8; }
.sta-label { font-size: 3.4px; fill: var(--ink); font-weight: 700; paint-order: stroke; stroke: rgba(255,253,248,.92); stroke-width: 1.1px; stroke-linejoin: round; }
.sta-label.dim { fill: #a89e87; font-weight: 600; }
.map-edge { stroke: #d9d0b8; stroke-width: .9; }
.map-edge.loop { stroke: #b7ab8d; }
.map-edge-bg { stroke: #ece3cb; stroke-width: 3.2; stroke-linecap: round; }
.sta-pulse { fill: none; stroke: var(--acc); stroke-width: .7; transform-box: fill-box; transform-origin: center; animation: stapulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes stapulse { from { transform: scale(.55); opacity: .75; } to { transform: scale(2.2); opacity: 0; } }

/* ---- 移動（ライド）---- */
#scr-ride { padding-top: 14px; }
.ride-head { display: flex; justify-content: space-between; align-items: baseline; }
.ride-route { font-size: 18px; font-weight: 800; }
.ride-arrow { color: var(--acc); margin: 0 6px; }
.ride-time { font-size: 30px; font-weight: 800; color: var(--acc); }
.ride-sec-unit { font-size: 13px; margin-left: 2px; }
.ride-progress { height: 6px; background: #e9e2d0; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.ride-fill { height: 100%; width: 0%; background: var(--acc); border-radius: 99px; }
.ride-hud { display: flex; gap: 8px; margin-top: 12px; }
.hud-item { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; }
.h-label { display: block; font-size: 11px; color: var(--mut); font-weight: 700; }
.h-num { font-size: 24px; font-weight: 800; }
.ride-field {
  position: relative; height: 46svh; min-height: 300px; margin-top: 12px; border-radius: 24px;
  overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #dfeaf2 0%, #eef0e6 55%, #e7dfc9 100%);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.scenery {
  position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='90'%3E%3Cg fill='%23a5947a'%3E%3Crect x='0' y='40' width='38' height='50'/%3E%3Crect x='44' y='26' width='30' height='64'/%3E%3Crect x='80' y='52' width='46' height='38'/%3E%3Crect x='132' y='18' width='26' height='72'/%3E%3Crect x='164' y='44' width='40' height='46'/%3E%3Crect x='210' y='30' width='34' height='60'/%3E%3Crect x='250' y='55' width='48' height='35'/%3E%3Crect x='304' y='22' width='28' height='68'/%3E%3Crect x='338' y='46' width='42' height='44'/%3E%3Crect x='386' y='34' width='30' height='56'/%3E%3Crect x='422' y='50' width='58' height='40'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / auto 100%;
}
.scenery.far { height: 74px; opacity: .35; animation: slide 30s linear infinite; }
.scenery.near { height: 104px; opacity: .55; animation: slide 13s linear infinite; }
.ride-field.paused .scenery { animation-play-state: paused; }
@keyframes slide { from { background-position-x: 0; } to { background-position-x: -480px; } }
.ride-hint {
  position: absolute; top: 12px; left: 0; right: 0; text-align: center;
  font-size: 12px; color: #6d675a; font-weight: 700; pointer-events: none;
}
.ritem {
  position: absolute; width: 54px; height: 54px; border-radius: 17px; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(35,33,28,.18); cursor: pointer; padding: 0;
  animation: bob 1.6s ease-in-out infinite alternate;
}
.ritem svg { width: 27px; height: 27px; }
.ritem.big { width: 64px; height: 64px; border-radius: 20px; }
.ritem.mat { background: #c47b3a; }
.ritem.coin { background: var(--gold); }
.ritem.idea { background: var(--acc); }
@keyframes bob { from { margin-top: -4px; } to { margin-top: 5px; } }
.float-up {
  position: absolute; font-size: 15px; font-weight: 800; color: var(--ink);
  pointer-events: none; animation: floatup .8s var(--ease) forwards; text-shadow: 0 1px 0 #fff;
}
@keyframes floatup { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-34px); } }
.ride-note { font-size: 12px; color: var(--mut); text-align: center; margin-top: 12px; }

/* ---- シート ---- */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(35,33,28,.42); z-index: 40;
  display: flex; align-items: flex-end; justify-content: center;
}
.sheet-backdrop[hidden] { display: none; }
.sheet {
  background: var(--card); width: 100%; max-width: 480px; max-height: 86svh; overflow-y: auto;
  border-radius: 24px 24px 0 0; padding: 22px 20px 30px; animation: sheetup .32s var(--ease);
}
@keyframes sheetup { from { transform: translateY(36px); opacity: .4; } to { transform: none; opacity: 1; } }
.sheet-kicker { font-size: 11px; letter-spacing: .3em; color: var(--acc); font-weight: 700; }
.sheet-title { font-size: 21px; margin: 6px 0 8px; }
.sheet-text { font-size: 13px; color: var(--mut); line-height: 1.7; margin: 0 0 12px; }
.sheet .btn-acc { margin-top: 14px; }

.build-row {
  display: flex; gap: 12px; align-items: center; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 8px; background: #fff;
}
.build-row:disabled { opacity: .45; }
.build-row .b-icon { width: 38px; height: 38px; flex: none; }
.build-row .b-main { flex: 1; min-width: 0; }
.build-row .b-name { font-size: 14px; font-weight: 800; }
.build-row .b-biz { font-size: 10px; color: var(--acc); font-weight: 700; letter-spacing: .06em; }
.build-row .b-desc { font-size: 11px; color: var(--mut); line-height: 1.5; margin-top: 2px; }
.build-row .b-cost { font-size: 12px; font-weight: 800; white-space: nowrap; text-align: right; }
.build-row .b-pop { font-size: 11px; color: var(--mut); white-space: nowrap; text-align: right; }
.event-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.event-choice {
  border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 14px; text-align: left;
}
.event-choice .ec-label { font-size: 15px; font-weight: 800; }
.event-choice .ec-reward { font-size: 12px; color: var(--acc); font-weight: 700; margin-top: 2px; }
.arrive-list { margin: 10px 0 4px; }
.arrive-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-top: 1px solid #f0ebdd; }
.arrive-row:first-child { border-top: none; }
.arrive-row b { font-weight: 800; }
.station-meta { display: flex; gap: 8px; margin: 4px 0 6px; }
.station-meta .sm-chip { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; }

/* ---- ランキング / ショップ ---- */
.rank-list { display: flex; flex-direction: column; gap: 8px; }
.rank-row {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px;
}
.rank-row.me { border-color: var(--acc); }
.rank-no { font-size: 18px; font-weight: 800; width: 30px; color: var(--mut); }
.rank-row.me .rank-no { color: var(--acc); }
.rank-name { flex: 1; font-size: 14px; font-weight: 700; }
.rank-pop { font-size: 18px; font-weight: 800; }
.rank-pop small { font-size: 11px; color: var(--mut); font-weight: 700; }
.rank-me { margin-top: 14px; font-size: 13px; color: var(--mut); text-align: center; }
.shop-list { display: flex; flex-direction: column; gap: 8px; }
.shop-row {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px;
}
.shop-row .s-main { flex: 1; }
.shop-row .s-name { font-size: 14px; font-weight: 800; }
.shop-row .s-text { font-size: 12px; color: var(--mut); }
.shop-row .s-price { font-size: 13px; font-weight: 800; }
.shop-row .s-btn { font-size: 12px; font-weight: 800; color: var(--mut); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }

/* ---- VERSO: ログイン⇔新規登録の切替（斜めの刃が覆い、その下で入れ替わる） ----
   認証パネルの中だけを覆う。刃はインク色、先行する縁にアクセントの縫い目1本。
   切替のあいだ入力値はそのまま残る（フォームは共通）。動きは静かに長く。 */
.auth-panel { position: relative; overflow: hidden; }
.verso-blade {
  position: absolute; top: 0; bottom: 0; left: -10%; right: -10%; z-index: 60;
  background: var(--ink); overflow: hidden; pointer-events: none;
  visibility: hidden; transform: translateX(115%) skewX(-9deg);
  transition: transform .38s var(--ease), visibility 0s .45s;
}
.verso-blade.show { visibility: visible; transition: transform .38s var(--ease); pointer-events: auto; }
.verso-blade.from-left { transform: translateX(-115%) skewX(-9deg); }
.verso-blade.cover { transform: translateX(0) skewX(-9deg); }
.verso-blade.exit { transform: translateX(-115%) skewX(-9deg); }
.verso-blade.from-left.exit { transform: translateX(115%) skewX(-9deg); }
.verso-seam {
  position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: var(--acc); box-shadow: 0 0 18px rgba(46,109,168,.55);
}
.verso-blade.from-left .verso-seam { left: auto; right: 0; }
.verso-inner {
  position: absolute; inset: 0; transform: skewX(9deg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.verso-kicker { font-size: 10px; font-weight: 700; letter-spacing: .34em; color: rgba(255,255,255,.55); }
.verso-title { font-size: 26px; font-weight: 800; letter-spacing: .06em; color: #fff; }
.verso-in { animation: verso-in .45s var(--ease) both; }
@keyframes verso-in { from { opacity: 0; transform: translateY(8px); } }

/* ---- MENISCUSドック: 浮いたプレート＋窪み＋玉 ----
   主要画面（タウン／路線／ランキング／ショップ）の下部ナビ。
   玉（アクセント色）がアクティブなタブのアイコンを運び、スッと滑る。
   ドラッグでも動く（肩が速度でわずかに傾く）。移動中パートとシート
   表示中は隠れて、駅間プレイのテンポを邪魔しない。 */
.dock {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
  transform: translateX(-50%);
  width: calc(100% - 24px); max-width: 456px; height: 64px; z-index: 55;
  display: flex; background: var(--card); border-radius: 26px;
  box-shadow: 0 10px 30px rgba(35,33,28,.13), 0 2px 6px rgba(35,33,28,.06);
  touch-action: none; user-select: none; -webkit-user-select: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s;
}
.dock.dock-off {
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility 0s .32s;
}
.dock button {
  flex: 1; height: 100%; padding: 0; position: relative; z-index: 2;
  color: var(--mut); font-size: 10px; font-weight: 600;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
}
.dock button .dc-ic { width: 22px; height: 22px; display: grid; place-items: center; color: #b3ab99; transition: color .25s, opacity .25s; }
.dock button .dc-ic svg { width: 22px; height: 22px; }
.dock button .dc-label { line-height: 1; }
.dock button.on { color: var(--acc-deep); font-weight: 700; }
.dock-skin { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none;
  filter: drop-shadow(0 10px 24px rgba(35,33,28,.14)) drop-shadow(0 2px 5px rgba(35,33,28,.05)); }
.dock-skin-path { fill: var(--card); stroke: rgba(35,33,28,.08); stroke-width: 1; }
.dock-bead {
  position: absolute; left: 0; top: 0; z-index: 3; width: 52px; height: 52px; border-radius: 50%;
  background: var(--acc); color: #fff; display: grid; place-items: center; pointer-events: none;
  box-shadow: 0 8px 20px rgba(46,109,168,.35), inset 0 1px 0 rgba(255,255,255,.35);
  will-change: transform;
}
.dock-bead .bead-ic { display: none; width: 22px; height: 22px; }
.dock-bead .bead-ic.on { display: grid; place-items: center; }
.dock-bead .bead-ic svg { width: 22px; height: 22px; }
.dock.mn-on { background: transparent; box-shadow: none; }
.dock.mn-on button .dc-label { opacity: 0; transform: translateY(3px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.dock.mn-on button.on { color: var(--acc); font-weight: 700; }
.dock.mn-on button.on .dc-label { opacity: 1; transform: none; }
.dock.mn-on button.on .dc-ic { opacity: 0; }
/* ドックが出ている間は、主要画面の末尾とトーストをドックの上に逃がす */
body.dock-on .screen { padding-bottom: 106px; }
body.dock-on #toast { bottom: 96px; }
@media (prefers-reduced-motion: reduce) {
  .dock, .verso-blade { transition: none; }
  .verso-in { animation: none; }
}

/* ---- トースト ---- */
#toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(8px);
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
  padding: 11px 18px; border-radius: 999px; z-index: 60; opacity: 0; pointer-events: none;
  transition: all .3s var(--ease); max-width: 88vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%); }

/* ===== Webアプリ化 2026-10-28（body.game-app スコープ＝本編のみ。ガイド/規約は app.css を読まない） ===== */
html { overscroll-behavior: none; }
body.game-app { position: fixed; inset: 0; width: 100%; height: 100dvh; overflow: hidden; overscroll-behavior: none; touch-action: manipulation; }
body.game-app #app { height: 100%; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; padding-top: env(safe-area-inset-top, 0px); }
body.game-app .modal-card, body.game-app .sheet { overscroll-behavior: contain; touch-action: pan-y; }
body.game-app .ride-field { touch-action: none; }

/* ===== 品質改修 2026-10-28（加算分）: 奥行き・陰影・時間帯・手応え ===== */

/* ---- タウンヒーロー：空と時間帯 ---- */
.town-hero { position: relative; overflow: hidden; box-shadow: 0 6px 18px rgba(35,33,28,.06), inset 0 1px 0 #fff; }
.town-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle 26px at 88% 10%, rgba(249,199,79,.85), rgba(249,199,79,0) 70%);
  opacity: .8;
}
.town-hero[data-tod="dawn"] { background: linear-gradient(180deg, #fdf0dd 0%, var(--card) 58%); }
.town-hero[data-tod="dawn"]::before { background: radial-gradient(circle 30px at 88% 12%, rgba(244,164,97,.9), rgba(244,164,97,0) 70%); }
.town-hero[data-tod="dusk"] { background: linear-gradient(180deg, #f9e3cd 0%, var(--card) 60%); }
.town-hero[data-tod="dusk"]::before { background: radial-gradient(circle 30px at 88% 14%, rgba(232,125,74,.9), rgba(232,125,74,0) 70%); }
.town-hero[data-tod="night"] { background: linear-gradient(180deg, #39415a 0%, #454e66 62%, #4a5268 100%); color: #f2efe6; border-color: #2e3549; }
.town-hero[data-tod="night"]::before {
  background:
    radial-gradient(circle 15px at 88% 10%, rgba(240,238,220,.95), rgba(240,238,220,0) 70%),
    radial-gradient(circle 1.6px at 18% 14%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    radial-gradient(circle 1.3px at 42% 8%, rgba(255,255,255,.75), rgba(255,255,255,0) 70%),
    radial-gradient(circle 1.8px at 63% 18%, rgba(255,255,255,.8), rgba(255,255,255,0) 70%),
    radial-gradient(circle 1.2px at 30% 22%, rgba(255,255,255,.6), rgba(255,255,255,0) 70%);
  opacity: 1;
}
.town-hero[data-tod="night"] .th-label,
.town-hero[data-tod="night"] .lv-next,
.town-hero[data-tod="night"] .synergy { color: #b9c0d4; }
.town-hero[data-tod="night"] .th-lvnum { color: #9fc3ec; }
.town-hero[data-tod="night"] .lv-bar { background: rgba(255,255,255,.16); }
.town-hero[data-tod="night"] .plot { background: linear-gradient(180deg, #fdfcf6, #f4efdf); }
.town-hero[data-tod="night"] .plot.empty { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.town-hero[data-tod="night"] .plot.empty .plus { color: rgba(255,255,255,.55); }

/* ---- 区画：質感と接地影 ---- */
.plot {
  background: linear-gradient(180deg, #ffffff 0%, #faf5e9 100%);
  box-shadow: 0 2px 6px rgba(35,33,28,.07), inset 0 1px 0 #fff, inset 0 -7px 10px rgba(201,189,163,.16);
}
.plot.empty { background: rgba(255,255,255,.4); box-shadow: inset 0 2px 6px rgba(35,33,28,.05); }
.plot .p-icon { filter: drop-shadow(0 3px 3px rgba(35,33,28,.18)); transform: translateY(-1px); }
.plot:not(.empty)::after {
  content: ""; position: absolute; left: 16%; right: 16%; bottom: 5px; height: 5px;
  border-radius: 99px; background: radial-gradient(ellipse at center, rgba(35,33,28,.16), rgba(35,33,28,0) 70%);
  pointer-events: none;
}
.plot.just-built { animation: buildpop .6s var(--ease), buildglow .9s ease-out; }
@keyframes buildpop { 0% { transform: scale(.9); } 45% { transform: scale(1.045); } 100% { transform: scale(1); } }
@keyframes buildglow { from { box-shadow: 0 0 0 0 rgba(217,169,44,.45), 0 2px 6px rgba(35,33,28,.07); } to { box-shadow: 0 0 0 15px rgba(217,169,44,0), 0 2px 6px rgba(35,33,28,.07); } }
.spark {
  position: absolute; left: 50%; top: 36%; width: 6px; height: 6px; border-radius: 99px;
  pointer-events: none; z-index: 3; animation: sparkfly .85s var(--ease) forwards;
}
@keyframes sparkfly { from { opacity: 1; transform: translate(0, 0) scale(1); } to { opacity: 0; transform: translate(var(--dx, 0), var(--dy, -20px)) scale(.35); } }

/* ---- milestone（感情の山の一言） ---- */
.milestone {
  margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--acc-deep);
  background: rgba(46,109,168,.07); border: 1px solid rgba(46,109,168,.16);
  padding: 8px 12px; border-radius: 12px; animation: fadein .5s var(--ease);
}
.town-hero[data-tod="night"] .milestone { color: #dfe6f2; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.2); }
.arrive-line { font-size: 13px; color: var(--mut); line-height: 1.75; margin: 2px 0 8px; }

/* ---- 乗車：時間帯・線路帯・滑らかさ ---- */
.ride-field::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 26%);
}
.ride-field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(90,78,58,.4) 0 24px, rgba(90,78,58,0) 24px 50px),
    linear-gradient(180deg, rgba(90,78,58,.05), rgba(90,78,58,.3));
}
.ride-field .scenery { z-index: 0; }
.ride-field .ride-hint { z-index: 2; }
.ritem { z-index: 2; will-change: transform; }
.float-up { z-index: 3; }
.ride-field[data-tod="dawn"] { background: linear-gradient(180deg, #f6ddba 0%, #f3e8d2 55%, #e7dfc9 100%); }
.ride-field[data-tod="dusk"] { background: linear-gradient(180deg, #f2c49b 0%, #eed9bd 55%, #e2d3b4 100%); }
.ride-field[data-tod="night"] { background: linear-gradient(180deg, #232c44 0%, #37415c 55%, #4c4636 100%); }
.ride-field[data-tod="night"] .ride-hint { color: #cfd6e4; }
.ride-field[data-tod="night"] .scenery { filter: brightness(.55); }
.ride-fill { transition: width .25s linear; }
.h-num { display: inline-block; }
.h-num.bump { animation: hudbump .32s var(--ease); }
@keyframes hudbump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }

/* ---- 音トグル ---- */
.sound-toggle {
  width: 36px; height: 36px; flex: none; border-radius: 99px; display: inline-grid; place-items: center;
  background: var(--card); border: 1px solid var(--line); color: var(--acc-deep);
  box-shadow: 0 2px 6px rgba(35,33,28,.08); vertical-align: middle;
}
.sound-toggle svg { width: 19px; height: 19px; }
.sound-toggle.off { color: var(--mut); opacity: .65; box-shadow: none; }
.sound-toggle.st-title { display: grid; margin: 14px auto 0; }
.sound-toggle.st-inline { width: 32px; height: 32px; margin-left: 8px; }
.sound-toggle.st-inline svg { width: 17px; height: 17px; }
.tb-spacer .sound-toggle { margin-left: 0; }
.ride-head .sound-toggle { margin-left: 10px; }

@media (prefers-reduced-motion: reduce) {
  .sta-pulse, .plot.just-built, .spark, .h-num.bump { animation: none; }
  .spark { display: none; }
}

/* ===== リアル化改修 2026-10-29（加算分）: 街の質感・時間帯の光・ライド景色の層・資源の質感 ===== */

/* ---- 街の地面：街路（グリッドの溝）と区画の地面 ---- */
.town-grid {
  background:
    radial-gradient(rgba(35,33,28,.05) 1px, rgba(35,33,28,0) 1.5px) 0 0 / 11px 11px,
    linear-gradient(180deg, #ded4bc, #cfc2a4);
  padding: 9px; border-radius: 18px; gap: 9px;
  box-shadow: inset 0 2px 7px rgba(35,33,28,.13), inset 0 -1px 0 rgba(255,255,255,.5);
}
.town-hero[data-tod="dawn"] .town-grid { background: radial-gradient(rgba(35,33,28,.05) 1px, rgba(35,33,28,0) 1.5px) 0 0 / 11px 11px, linear-gradient(180deg, #e7d4b2, #d2ba93); }
.town-hero[data-tod="dusk"] .town-grid { background: radial-gradient(rgba(35,33,28,.05) 1px, rgba(35,33,28,0) 1.5px) 0 0 / 11px 11px, linear-gradient(180deg, #e2c8a4, #c8ab83); }
.town-hero[data-tod="night"] .town-grid { background: radial-gradient(rgba(255,255,255,.06) 1px, rgba(255,255,255,0) 1.5px) 0 0 / 11px 11px, linear-gradient(180deg, #323b58, #28304a); box-shadow: inset 0 2px 8px rgba(0,0,0,.35); }
.town-hero[data-tod="day"] { background: linear-gradient(180deg, #e9f1ef 0%, #f8f4e7 46%, var(--card) 82%); }
.plot { overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #fbf6ea 60%, #f2ead6 100%); color: var(--ink); }
.plot:not(.empty)::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%;
  background: linear-gradient(180deg, rgba(196,178,140,0), rgba(196,178,140,.38));
  border-top: 1px solid rgba(35,33,28,.05); pointer-events: none;
}
.fac-house::before { background: linear-gradient(180deg, rgba(217,144,63,0), rgba(217,144,63,.20)); }
.fac-park::before { background: linear-gradient(180deg, rgba(93,168,100,0), rgba(93,168,100,.34)); }
.fac-garage::before { background: linear-gradient(180deg, rgba(120,118,110,0), rgba(120,118,110,.30)); }
.fac-nfc::before { background: linear-gradient(180deg, rgba(63,127,191,0), rgba(63,127,191,.20)); }
.fac-travel::before { background: linear-gradient(180deg, rgba(122,111,208,0), rgba(122,111,208,.20)); }
.fac-pet::before { background: linear-gradient(180deg, rgba(212,105,126,0), rgba(212,105,126,.20)); }
.fac-apparel::before { background: linear-gradient(180deg, rgba(68,64,60,0), rgba(68,64,60,.16)); }
.town-hero[data-tod="night"] .plot:not(.empty)::before { background: linear-gradient(180deg, rgba(18,22,38,0), rgba(18,22,38,.22)); }
.plot.empty { background-image: radial-gradient(rgba(138,131,120,.22) 1px, rgba(138,131,120,0) 1.6px); background-size: 9px 9px; }
.town-hero[data-tod="night"] .plot.empty { background-image: radial-gradient(rgba(255,255,255,.13) 1px, rgba(255,255,255,0) 1.6px); background-size: 9px 9px; }

/* ---- 施設アイコン：接地を強め、時間帯で影と窓の灯りが変わる ---- */
.plot .p-icon { width: 33px; height: 33px; }
.town-hero[data-tod="dawn"] .plot .p-icon { filter: drop-shadow(3px 4px 3px rgba(190,115,55,.30)); }
.town-hero[data-tod="dusk"] .plot .p-icon { filter: drop-shadow(4px 4px 3px rgba(170,85,40,.32)); }
.town-hero[data-tod="night"] .plot svg .win { fill: #ffd487; filter: drop-shadow(0 0 3px rgba(255,205,105,.95)); }
.build-row { background: linear-gradient(180deg, #fff, #fdfaf1); box-shadow: 0 2px 6px rgba(35,33,28,.05), inset 0 1px 0 #fff; }
.build-row .b-icon { filter: drop-shadow(0 3px 3px rgba(35,33,28,.16)); }

/* ---- 路線マップ：地形の気配と駅の影 ---- */
.map-wrap { background: repeating-radial-gradient(circle at 78% 18%, rgba(46,109,168,.05) 0 26px, rgba(46,109,168,0) 26px 52px), radial-gradient(120% 90% at 50% 0%, #fffef9, #faf6ea); }
.sta-dot { filter: drop-shadow(0 1px 1.2px rgba(35,33,28,.28)); }

/* ---- ライド：景色を4層に（雲／遠景の丘／中景の街並み／前景シルエット） ---- */
.ride-field { box-shadow: inset 0 26px 34px rgba(255,255,255,.16), inset 0 -30px 42px rgba(62,52,32,.14); }
.scenery.clouds { bottom: auto; top: 12px; height: 84px; opacity: .75; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27720%27%20height%3D%27120%27%3E%3Cg%20fill%3D%27%23ffffff%27%3E%3Cellipse%20cx%3D%2790%27%20cy%3D%2740%27%20rx%3D%2736.0%27%20ry%3D%2713.0%27%2F%3E%3Cellipse%20cx%3D%2768.0%27%20cy%3D%2744.0%27%20rx%3D%2722.0%27%20ry%3D%279.0%27%2F%3E%3Cellipse%20cx%3D%27114.0%27%20cy%3D%2744.0%27%20rx%3D%2724.0%27%20ry%3D%2710.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23ffffff%27%3E%3Cellipse%20cx%3D%27300%27%20cy%3D%2766%27%20rx%3D%2728.8%27%20ry%3D%2710.4%27%2F%3E%3Cellipse%20cx%3D%27282.4%27%20cy%3D%2769.2%27%20rx%3D%2717.6%27%20ry%3D%277.2%27%2F%3E%3Cellipse%20cx%3D%27319.2%27%20cy%3D%2769.2%27%20rx%3D%2719.200000000000003%27%20ry%3D%278.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23ffffff%27%3E%3Cellipse%20cx%3D%27520%27%20cy%3D%2732%27%20rx%3D%2739.6%27%20ry%3D%2714.3%27%2F%3E%3Cellipse%20cx%3D%27495.8%27%20cy%3D%2736.4%27%20rx%3D%2724.200000000000003%27%20ry%3D%279.9%27%2F%3E%3Cellipse%20cx%3D%27546.4%27%20cy%3D%2736.4%27%20rx%3D%2726.400000000000002%27%20ry%3D%2711.0%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23ffffff%27%3E%3Cellipse%20cx%3D%27668%27%20cy%3D%2780%27%20rx%3D%2725.2%27%20ry%3D%279.1%27%2F%3E%3Cellipse%20cx%3D%27652.6%27%20cy%3D%2782.8%27%20rx%3D%2715.399999999999999%27%20ry%3D%276.3%27%2F%3E%3Cellipse%20cx%3D%27684.8%27%20cy%3D%2782.8%27%20rx%3D%2716.799999999999997%27%20ry%3D%277.0%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x top / auto 100%; animation: slideclouds 78s linear infinite; }
@keyframes slideclouds { from { background-position-x: 0; } to { background-position-x: -720px; } }
.scenery.far { height: 84px; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27480%27%20height%3D%2790%27%3E%3Crect%20x%3D%2716%27%20y%3D%2730%27%20width%3D%2726%27%20height%3D%2734%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%2721%27%20y%3D%2737%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%2758%27%20y%3D%2722%27%20width%3D%2720%27%20height%3D%2742%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%2763%27%20y%3D%2729%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%2763%27%20y%3D%2742%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27196%27%20y%3D%2726%27%20width%3D%2730%27%20height%3D%2738%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%27201%27%20y%3D%2733%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%27201%27%20y%3D%2746%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27213%27%20y%3D%2733%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27213%27%20y%3D%2746%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27238%27%20y%3D%2718%27%20width%3D%2722%27%20height%3D%2746%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%27243%27%20y%3D%2725%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%27243%27%20y%3D%2738%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27392%27%20y%3D%2724%27%20width%3D%2726%27%20height%3D%2740%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%27397%27%20y%3D%2731%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%27397%27%20y%3D%2744%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Crect%20x%3D%27428%27%20y%3D%2732%27%20width%3D%2730%27%20height%3D%2732%27%20fill%3D%27%238b9aa0%27%20opacity%3D%27.5%27%2F%3E%3Crect%20x%3D%27433%27%20y%3D%2739%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23f4c95d%27%20opacity%3D%27.3%27%2F%3E%3Crect%20x%3D%27445%27%20y%3D%2739%27%20width%3D%274.5%27%20height%3D%275.5%27%20fill%3D%27%23fffdf4%27%20opacity%3D%27.25%27%2F%3E%3Cpath%20d%3D%27M0%2064%20Q80%2042%20170%2058%20T340%2054%20T480%2060%20V90%20H0%20Z%27%20fill%3D%27%2393a5a8%27%2F%3E%3Cpath%20d%3D%27M0%2074%20Q110%2058%20230%2070%20T480%2072%20V90%20H0%20Z%27%20fill%3D%27%237e939a%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2786%27%20width%3D%27480%27%20height%3D%274%27%20fill%3D%27%2371868e%27%2F%3E%3C%2Fsvg%3E"); animation-duration: 48s; }
.scenery.mid { height: 106px; opacity: .92; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27480%27%20height%3D%27110%27%3E%3Cpath%20d%3D%27M0%2032H480M0%2039H480%27%20stroke%3D%27%23544a3a%27%20stroke-width%3D%271.1%27%20opacity%3D%27.4%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2758%27%20width%3D%2754%27%20height%3D%2738%27%20fill%3D%27%23e6dbc4%27%2F%3E%3Cpath%20d%3D%27M3%2060%20L35%2042%20L67%2060%20Z%27%20fill%3D%27%23a9603c%27%2F%3E%3Cpath%20d%3D%27M35%2042%20L67%2060%20H35%20Z%27%20fill%3D%27%23000000%27%20opacity%3D%27.12%27%2F%3E%3Crect%20x%3D%2729%27%20y%3D%2776%27%20width%3D%2710%27%20height%3D%2720%27%20fill%3D%27%237a5c40%27%2F%3E%3Crect%20x%3D%2714%27%20y%3D%2764%27%20width%3D%279%27%20height%3D%279%27%20fill%3D%27%23fff6d8%27%2F%3E%3Crect%20x%3D%2747%27%20y%3D%2764%27%20width%3D%279%27%20height%3D%279%27%20fill%3D%27%23fff6d8%27%2F%3E%3Crect%20x%3D%2779%27%20y%3D%2776%27%20width%3D%274%27%20height%3D%2720%27%20fill%3D%27%236b4a2f%27%2F%3E%3Ccircle%20cx%3D%2781%27%20cy%3D%2760%27%20r%3D%2715%27%20fill%3D%27%235f7f4e%27%2F%3E%3Ccircle%20cx%3D%2767%27%20cy%3D%2768%27%20r%3D%2710%27%20fill%3D%27%236b8a57%27%2F%3E%3Ccircle%20cx%3D%2793%27%20cy%3D%2768%27%20r%3D%2710%27%20fill%3D%27%2355703f%27%2F%3E%3Ccircle%20cx%3D%2774%27%20cy%3D%2752%27%20r%3D%275%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.18%27%2F%3E%3Crect%20x%3D%27120%27%20y%3D%2728%27%20width%3D%273.5%27%20height%3D%2768%27%20fill%3D%27%23544a3a%27%2F%3E%3Crect%20x%3D%27109%27%20y%3D%2735%27%20width%3D%2725%27%20height%3D%273%27%20fill%3D%27%23544a3a%27%2F%3E%3Crect%20x%3D%27148%27%20y%3D%2738%27%20width%3D%2746%27%20height%3D%2758%27%20fill%3D%27%23ddd2b8%27%2F%3E%3Crect%20x%3D%27145%27%20y%3D%2734%27%20width%3D%2752%27%20height%3D%275%27%20fill%3D%27%238a7a5f%27%2F%3E%3Crect%20x%3D%27155%27%20y%3D%2745%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffe1a0%27%20opacity%3D%270.9%27%2F%3E%3Crect%20x%3D%27155%27%20y%3D%2757%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27155%27%20y%3D%2769%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27155%27%20y%3D%2781%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffe1a0%27%20opacity%3D%270.9%27%2F%3E%3Crect%20x%3D%27168%27%20y%3D%2745%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27168%27%20y%3D%2757%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27168%27%20y%3D%2769%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffe1a0%27%20opacity%3D%270.9%27%2F%3E%3Crect%20x%3D%27168%27%20y%3D%2781%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2745%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2757%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffe1a0%27%20opacity%3D%270.9%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2769%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27181%27%20y%3D%2781%27%20width%3D%278%27%20height%3D%277%27%20fill%3D%27%23ffffff%27%20opacity%3D%270.55%27%2F%3E%3Crect%20x%3D%27216%27%20y%3D%2780%27%20width%3D%274%27%20height%3D%2716%27%20fill%3D%27%236b4a2f%27%2F%3E%3Ccircle%20cx%3D%27218%27%20cy%3D%2768%27%20r%3D%2712%27%20fill%3D%27%235f7f4e%27%2F%3E%3Ccircle%20cx%3D%27207%27%20cy%3D%2774%27%20r%3D%278%27%20fill%3D%27%236b8a57%27%2F%3E%3Crect%20x%3D%27246%27%20y%3D%2762%27%20width%3D%2762%27%20height%3D%2734%27%20fill%3D%27%23ece2cc%27%2F%3E%3Cpath%20d%3D%27M241%2064%20L277%2046%20L313%2064%20Z%27%20fill%3D%27%238a7a5f%27%2F%3E%3Cpath%20d%3D%27M277%2046%20L313%2064%20H277%20Z%27%20fill%3D%27%23000000%27%20opacity%3D%27.10%27%2F%3E%3Crect%20x%3D%27270%27%20y%3D%2778%27%20width%3D%2711%27%20height%3D%2718%27%20fill%3D%27%237a5c40%27%2F%3E%3Crect%20x%3D%27254%27%20y%3D%2768%27%20width%3D%279%27%20height%3D%279%27%20fill%3D%27%23fff6d8%27%2F%3E%3Crect%20x%3D%27290%27%20y%3D%2768%27%20width%3D%279%27%20height%3D%279%27%20fill%3D%27%23fff6d8%27%2F%3E%3Crect%20x%3D%27330%27%20y%3D%2728%27%20width%3D%273.5%27%20height%3D%2768%27%20fill%3D%27%23544a3a%27%2F%3E%3Crect%20x%3D%27319%27%20y%3D%2735%27%20width%3D%2725%27%20height%3D%273%27%20fill%3D%27%23544a3a%27%2F%3E%3Crect%20x%3D%27366%27%20y%3D%2746%27%20width%3D%2752%27%20height%3D%2750%27%20fill%3D%27%23e0d5ba%27%2F%3E%3Crect%20x%3D%27366%27%20y%3D%2746%27%20width%3D%2752%27%20height%3D%278%27%20fill%3D%27%23b0562f%27%20opacity%3D%27.85%27%2F%3E%3Crect%20x%3D%27373%27%20y%3D%2760%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27373%27%20y%3D%2773%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27387%27%20y%3D%2760%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27387%27%20y%3D%2773%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27401%27%20y%3D%2760%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27401%27%20y%3D%2773%27%20width%3D%279%27%20height%3D%278%27%20fill%3D%27%23ffffff%27%20opacity%3D%27.6%27%2F%3E%3Crect%20x%3D%27380%27%20y%3D%2786%27%20width%3D%2712%27%20height%3D%2710%27%20fill%3D%27%237a5c40%27%2F%3E%3Crect%20x%3D%27447%27%20y%3D%2778%27%20width%3D%274%27%20height%3D%2718%27%20fill%3D%27%236b4a2f%27%2F%3E%3Ccircle%20cx%3D%27449%27%20cy%3D%2764%27%20r%3D%2713%27%20fill%3D%27%235f7f4e%27%2F%3E%3Ccircle%20cx%3D%27437%27%20cy%3D%2771%27%20r%3D%279%27%20fill%3D%27%236b8a57%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2794%27%20width%3D%27480%27%20height%3D%2716%27%20fill%3D%27%2377815f%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2794%27%20width%3D%27480%27%20height%3D%272.5%27%20fill%3D%27%238b966f%27%2F%3E%3C%2Fsvg%3E") repeat-x bottom / auto 100%; animation: slide 21s linear infinite; }
.scenery.near { height: 118px; opacity: .82; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27480%27%20height%3D%27120%27%3E%3Cg%20fill%3D%27%234e4736%27%3E%3Cpath%20d%3D%27M0%2018H480M0%2030H480%27%20stroke%3D%27%234e4736%27%20stroke-width%3D%271.6%27%20opacity%3D%27.75%27%20fill%3D%27none%27%2F%3E%3Crect%20x%3D%2754%27%20y%3D%276%27%20width%3D%275%27%20height%3D%27102%27%2F%3E%3Crect%20x%3D%2734%27%20y%3D%2716%27%20width%3D%2744%27%20height%3D%274%27%2F%3E%3Crect%20x%3D%2740%27%20y%3D%2728%27%20width%3D%2732%27%20height%3D%273.5%27%2F%3E%3Crect%20x%3D%27354%27%20y%3D%2710%27%20width%3D%274.5%27%20height%3D%2798%27%2F%3E%3Crect%20x%3D%27336%27%20y%3D%2720%27%20width%3D%2740%27%20height%3D%273.5%27%2F%3E%3Crect%20x%3D%278%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%2748%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%2788%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27128%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27168%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27208%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27248%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27288%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27328%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27368%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27408%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%27448%27%20y%3D%2784%27%20width%3D%274%27%20height%3D%2724%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%2790%27%20width%3D%27480%27%20height%3D%273%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%27100%27%20width%3D%27480%27%20height%3D%273%27%2F%3E%3Ccircle%20cx%3D%2730%27%20cy%3D%27104%27%20r%3D%2716%27%2F%3E%3Ccircle%20cx%3D%2786%27%20cy%3D%27110%27%20r%3D%2720%27%2F%3E%3Ccircle%20cx%3D%27150%27%20cy%3D%27106%27%20r%3D%2715%27%2F%3E%3Ccircle%20cx%3D%27228%27%20cy%3D%27110%27%20r%3D%2719%27%2F%3E%3Ccircle%20cx%3D%27300%27%20cy%3D%27105%27%20r%3D%2715%27%2F%3E%3Ccircle%20cx%3D%27372%27%20cy%3D%27110%27%20r%3D%2720%27%2F%3E%3Ccircle%20cx%3D%27440%27%20cy%3D%27106%27%20r%3D%2716%27%2F%3E%3Crect%20x%3D%270%27%20y%3D%27106%27%20width%3D%27480%27%20height%3D%2714%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E"); animation-duration: 8.5s; }
.ride-field[data-tod="night"] .scenery.clouds { opacity: .35; }
.ride-field[data-tod="night"] .scenery.near { filter: brightness(.85); }
.ride-field[data-tod="dawn"] .scenery.mid { filter: sepia(.16); }
.ride-field[data-tod="dusk"] .scenery.mid { filter: sepia(.28) saturate(1.05); }
.ride-field::after {
  height: 19px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.4) 0 2px, rgba(255,255,255,0) 2px),
    repeating-linear-gradient(90deg, rgba(74,62,44,.5) 0 26px, rgba(74,62,44,0) 26px 52px),
    linear-gradient(180deg, rgba(90,78,58,.06), rgba(90,78,58,.34));
}

/* ---- 資源トークン：面の質感と落影 ---- */
.ritem { border: 1px solid rgba(35,33,28,.15); box-shadow: 0 6px 12px rgba(35,33,28,.20), inset 0 2px 3px rgba(255,255,255,.45), inset 0 -6px 9px rgba(35,33,28,.16); }
.ritem.mat { background: linear-gradient(160deg, #d18a4b, #b26a2f); }
.ritem.coin { background: radial-gradient(circle at 34% 28%, #f7d87e, #e4ba40 58%, #c99b23); }
.ritem.idea { background: linear-gradient(160deg, #4a86c2, #2b689f); }
.ritem svg { filter: drop-shadow(0 1px 1px rgba(35,33,28,.28)); }
.ritem::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -8px; height: 6px; border-radius: 99px;
  background: radial-gradient(ellipse at center, rgba(35,33,28,.30), rgba(35,33,28,0) 70%); pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .scenery.clouds, .scenery.mid { animation: none; }
}


/* ================= 再点検 2026-10-29（新条件一式・加算分） ================= */

/* ---- 長押しポップアップ全廃（プレイ面）: コールアウト・選択・画像ドラッグを止める。
        入力欄（input/textarea）の長押しペーストだけは対象外に残す。 ---- */
body.game-app #app, body.game-app #town-dock {
  -webkit-touch-callout: none;
  user-select: none; -webkit-user-select: none;
}
body.game-app input, body.game-app textarea {
  user-select: text; -webkit-user-select: text; -webkit-touch-callout: default;
}
body.game-app img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.plot, .plot *, .ritem, .ritem *, .ride-field, .ride-field *,
.build-row, .event-choice, .dock, .dock * {
  -webkit-touch-callout: none !important;
  user-select: none !important; -webkit-user-select: none !important;
}

/* ---- 空き区画の十字はCSS図形で描く（「＋」文字グリフの代用を解消） ---- */
.plot .plus { position: relative; width: 18px; height: 18px; flex: none; }
.plot .plus::before, .plot .plus::after {
  content: ""; position: absolute; background: #c9c0aa; border-radius: 2px;
}
.plot .plus::before { left: 0; right: 0; top: 8px; height: 2.4px; }
.plot .plus::after { top: 0; bottom: 0; left: 8px; width: 2.4px; }
.town-hero[data-tod="night"] .plot.empty .plus::before,
.town-hero[data-tod="night"] .plot.empty .plus::after { background: rgba(255,255,255,.55); }

/* ---- CENTERチップ被りの本作側回避（共通キットは無変更） ----
   (1) アプリ上部に38pxの帯を確保し、どの画面の操作要素もチップ（右上固定・
       高さ約32px＋余白）の下に入らないようにする。
   (2) ライド中（60秒の没入プレイ）はチップとメニューを隠す。app.js の
       show() が body.ride-active を付け外しする。:has は保険。 */
body.game-app #app { padding-top: calc(env(safe-area-inset-top, 0px) + 38px); }
body.ride-active #azc-chip, body.ride-active #azc-menu { display: none !important; }
body:has(#scr-ride.active) #azc-chip, body:has(#scr-ride.active) #azc-menu { display: none !important; }

/* ---- ライド面の拡大（収納のために縮めるのではなく、再編で大きく） ----
   フィールドを 46svh → 52svh に広げても、ヘッダー＋HUD＋注記込みで
   390×844 の1画面に収まることを実測で担保する（検証ログ参照）。 */
.ride-field { height: 52svh; }

/* ---- 案内役「ベン駅長」（本作の顔・表現のみ） ---- */
.ben-slot { display: inline-block; flex: none; line-height: 0; }
.ben-slot svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 4px rgba(35,33,28,.18)); animation: benbob 3.4s ease-in-out infinite alternate; }
@keyframes benbob { from { translate: 0 0; } to { translate: 0 -2.5px; } }
.ben-title { width: 58px; height: 58px; margin: 2px auto 14px; }
.th-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ben-wrap { display: flex; flex-direction: column; align-items: center; gap: 1px; flex: none; }
.ben-home { width: 42px; height: 42px; }
.ben-name { font-size: 9px; font-weight: 800; letter-spacing: .06em; color: var(--acc-deep); white-space: nowrap; }
.town-hero[data-tod="night"] .ben-name { color: #9fc3ec; }
.ben-ride { width: 20px; height: 20px; vertical-align: -5px; margin-right: 5px; }
.ben-ride svg { animation: none; filter: drop-shadow(0 1px 2px rgba(35,33,28,.25)); }
.arrive-head { display: flex; align-items: center; gap: 12px; }
.arrive-head .sheet-title { margin-top: 2px; }
.ben-arrive { width: 46px; height: 46px; }
.shop-guide { display: flex; align-items: center; gap: 12px; margin: 22px 2px 10px; }
.ben-shop { width: 44px; height: 44px; }
.shop-guide-name { font-size: 14px; font-weight: 800; }
.shop-guide-sub { font-size: 11.5px; color: var(--mut); margin-top: 2px; }

/* ---- 旧カタログ行スタイル（資源パック表示で継続使用・アイテム側は azs- へ移行済み） ---- */
.shop-cat-note {
  font-size: 11.5px; color: var(--acc-deep); line-height: 1.7;
  background: rgba(46,109,168,.07); border: 1px solid rgba(46,109,168,.16);
  padding: 8px 12px; border-radius: 12px; margin-bottom: 4px;
}
.shop-cat-head { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--mut); margin: 14px 2px 2px; }
.shop-badge-design {
  display: inline-block; font-size: 10px; font-weight: 800; color: var(--acc-deep);
  border: 1px solid rgba(46,109,168,.4); border-radius: 999px; padding: 1px 7px;
  margin-left: 7px; vertical-align: 2px; background: rgba(46,109,168,.06);
}
.shop-row .s-tax { font-size: 10px; color: var(--mut); font-weight: 700; margin-left: 3px; }
.catalog-btn { background: none; font-family: inherit; }
.catalog-btn:disabled { opacity: .75; }

/* ---- ネイティブアプリ級の演出＋離さなさ（表現のみ） ----
   イージングは全て cubic-bezier(.22,1,.36,1) の静かな「スッ」。バウンス・
   ドカーンは使わない。登場演出は transform と競合しないよう translate /
   scale プロパティで組む。 */
@keyframes riseIn { from { opacity: 0; translate: 0 7px; } to { opacity: 1; translate: 0 0; } }
#scr-home.active .res-item, #scr-home.active .bonus-card,
#scr-home.active .goals-card, #scr-home.active .ride-cta, #scr-home.active .menu-btn {
  animation: riseIn .38s cubic-bezier(.22,1,.36,1) both;
}
#scr-home.active .res-item:nth-child(2) { animation-delay: .03s; }
#scr-home.active .res-item:nth-child(3) { animation-delay: .06s; }
#scr-home.active .bonus-card { animation-delay: .08s; }
#scr-home.active .goals-card { animation-delay: .11s; }
#scr-home.active .ride-cta { animation-delay: .14s; }
#scr-home.active .menu-btn:nth-child(2) { animation-delay: .17s; }
.plot { animation: riseIn .34s cubic-bezier(.22,1,.36,1) both; }
#scr-shop.active .shop-row, #scr-ranking.active .rank-row { animation: riseIn .34s cubic-bezier(.22,1,.36,1) both; }
#scr-shop.active .shop-row:nth-child(2), #scr-ranking.active .rank-row:nth-child(2) { animation-delay: .03s; }
#scr-shop.active .shop-row:nth-child(3), #scr-ranking.active .rank-row:nth-child(3) { animation-delay: .06s; }
#scr-shop.active .shop-row:nth-child(4), #scr-ranking.active .rank-row:nth-child(4) { animation-delay: .09s; }
/* 押下の沈み込み（scale プロパティ＝既存 transform 演出と競合しない） */
.bonus-card:active, .menu-btn:active, .build-row:active, .event-choice:active,
.goal-btn:active, .shop-row:active { scale: .98; }
.bonus-card, .menu-btn, .build-row, .event-choice, .shop-row { transition: scale .16s cubic-bezier(.22,1,.36,1); }
/* ライド資源の出現ポップ（移動は transform、出現は scale で分離） */
@keyframes ritemIn { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
.ritem { animation: ritemIn .3s cubic-bezier(.22,1,.36,1) both, bob 1.6s ease-in-out .3s infinite alternate; }
/* 「もう一回」の静かな呼吸: 次の行動（ライドCTA）だけがそっと光る */
@keyframes ctaGlow {
  from { box-shadow: 0 0 0 0 rgba(46,109,168,0); }
  to { box-shadow: 0 6px 18px rgba(46,109,168,.22); }
}
#scr-home.active .ride-cta { animation: riseIn .38s cubic-bezier(.22,1,.36,1) .14s both, ctaGlow 2.6s ease-in-out 1s infinite alternate; }

@media (prefers-reduced-motion: reduce) {
  .ben-slot svg, .plot, .ride-cta, .ritem,
  #scr-home.active .res-item, #scr-home.active .bonus-card, #scr-home.active .goals-card,
  #scr-home.active .ride-cta, #scr-home.active .menu-btn,
  #scr-shop.active .shop-row, #scr-ranking.active .rank-row { animation: none; }
}

/* === アイテムショップ（ITEM-SHOP-SPEC・フラッグシップ選択欄の文法） === */
.azs-balance{display:flex;align-items:baseline;gap:10px;margin:14px 0 4px;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px 14px}
.azs-balance-label{font-size:11px;letter-spacing:.08em;color:var(--mut);font-weight:700}
.azs-balance-num{font-size:20px;font-variant-numeric:tabular-nums}
.azs-balance-link{margin-left:auto;font-size:12px;color:var(--acc);text-decoration:none;border-bottom:1px solid var(--line)}
.azs-guest{margin-top:14px;text-align:center;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:20px 16px}
.azs-guest p{font-size:13.5px;line-height:1.7;margin-bottom:14px}
.azs-guest .btn-acc{max-width:300px;margin:0 auto}
.azs-stage{display:flex;align-items:center;gap:4px;margin-top:16px}
.azs-arrow{appearance:none;border:none;background:none;font-size:30px;line-height:1;color:var(--mut);cursor:pointer;padding:10px 6px;flex:none;transition:transform .25s var(--ease),color .25s;-webkit-tap-highlight-color:transparent}
.azs-arrow:active{transform:scale(.9);color:var(--ink)}
.azs-focus{flex:1;height:208px;border-radius:20px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;transition:background .45s var(--ease);overflow:hidden}
.azs-focus .shop-ic{width:132px;height:132px;animation:azsIn .5s var(--ease) both}
.azs-focus .azs-scene svg{width:132px;height:132px;animation:azsIn .5s var(--ease) both}
@keyframes azsIn{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.azs-info{text-align:center;margin-top:16px}
.azs-kind{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--mut)}
.azs-name{font-size:22px;letter-spacing:.03em;margin:4px 0 0}
.azs-effect{font-size:13px;color:#55524b;line-height:1.7;margin-top:8px;min-height:2.6em}
.azs-price{font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;margin-top:6px}
.azs-price-unit{font-size:13px;font-weight:700;color:var(--mut)}
.azs-owned{font-size:12.5px;color:var(--acc);font-weight:700;min-height:1.4em;margin-top:4px}
.azs-action{margin-top:10px;padding:14px 26px;font-size:16px}
.azs-action:disabled{background:#c9c2b2}
.azs-note{font-size:11.5px;color:var(--mut);margin-top:10px}
.azs-note a{color:var(--acc);text-decoration:none;border-bottom:1px solid var(--line)}
.azs-dots{display:flex;justify-content:center;gap:6px;margin-top:16px}
.azs-dot{width:6px;height:6px;border-radius:99px;background:var(--line);transition:background .3s,width .3s var(--ease)}
.azs-dot.on{background:var(--ink);width:18px}
.azs-strip{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:14px}
.azs-thumb{position:relative;appearance:none;width:52px;height:52px;border-radius:14px;border:1px solid var(--line);background:var(--card);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .25s var(--ease),border-color .25s;-webkit-tap-highlight-color:transparent;padding:0;overflow:hidden}
.azs-thumb .shop-ic{width:30px;height:30px}
.azs-thumb .azs-scene svg{width:30px;height:30px}
.azs-thumb.on{border-color:var(--ink);transform:translateY(-2px)}
.azs-thumb-owned{position:absolute;right:3px;bottom:3px;font-size:9px;font-weight:700;color:#fff;background:var(--acc);border-radius:99px;padding:1px 5px;z-index:2}
.azs-sheet-wrap{position:fixed;inset:0;z-index:80}
.azs-sheet-backdrop{position:absolute;inset:0;background:rgba(28,26,22,.42);animation:azsFade .25s ease both}
.azs-sheet{position:absolute;left:0;right:0;bottom:0;background:var(--card);border-radius:20px 20px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom));max-width:480px;margin:0 auto;animation:azsSheet .38s var(--ease) both}
@keyframes azsFade{from{opacity:0}to{opacity:1}}
@keyframes azsSheet{from{transform:translateY(26px);opacity:0}to{transform:none;opacity:1}}
.azs-sheet-kind{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--mut);margin:0}
.azs-sheet-name{font-size:19px;margin:3px 0 0}
.azs-sheet-rows{margin-top:14px;border-top:1px solid var(--line)}
.azs-sheet-rows>div{display:flex;justify-content:space-between;align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.azs-sheet-rows b{font-size:16px;font-variant-numeric:tabular-nums}
.azs-sheet-note{font-size:11.5px;color:var(--mut);margin-top:12px}
.azs-sheet-note a{color:var(--acc);text-decoration:none;border-bottom:1px solid var(--line)}
.azs-sheet-error{font-size:13px;color:var(--danger);margin-top:10px}
.azs-sheet-actions{display:flex;flex-direction:column;gap:9px;margin-top:16px}
.azs-sheet-actions .btn-ghost{margin-top:0}

/* ---- スキン反映（装備中のみ・タウンヒーローの描画へ） ---- */
/* 桜の公園スキン: 公園の樹冠が桜色に（アイコンの currentColor を差し替え＋地面の色味） */
.town-hero.skin-sakura .plot.fac-park .p-icon{color:#e58bb1 !important}
.town-hero.skin-sakura .plot.fac-park::before{background:linear-gradient(180deg, rgba(229,139,177,0), rgba(229,139,177,.34))}
/* あかりの街路スキン: 夜のタウンで街路にあかりが灯る（グリッドの街路に暖色の灯り） */
.town-hero.skin-lantern[data-tod="night"] .town-grid{
  background:
    radial-gradient(circle 30px at 16% 22%, rgba(255,196,110,.55), rgba(255,196,110,0) 70%),
    radial-gradient(circle 30px at 84% 28%, rgba(255,196,110,.55), rgba(255,196,110,0) 70%),
    radial-gradient(circle 30px at 50% 78%, rgba(255,196,110,.5), rgba(255,196,110,0) 70%),
    radial-gradient(circle 22px at 84% 82%, rgba(255,196,110,.45), rgba(255,196,110,0) 70%),
    radial-gradient(rgba(255,255,255,.06) 1px, rgba(255,255,255,0) 1.5px) 0 0 / 11px 11px,
    linear-gradient(180deg, #323b58, #28304a);
}
/* AZRIONブルー屋根セット: 屋根パス（.roof）だけを AZRIONブルーに統一 */
.town-hero.skin-blue .plot svg .roof{fill:#2e6da8}

/* ---- 装飾（deco・所持で常時表示） ---- */
.hero-decos{display:flex;align-items:flex-end;justify-content:center;gap:22px;margin:10px 0 0}
.hero-fountain svg{width:112px;height:50px;display:block}
.hero-clock svg{width:25px;height:64px;display:block}
.title-skyline{position:relative}
.sky-clock{position:absolute;right:5%;bottom:0}
.sky-clock svg{width:29px;height:74px;display:block}

/* ---- 建設おまかせキット（建設シート内の使用トグル） ---- */
.kit-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:11px 14px;border:1px solid var(--line);border-radius:14px;background:var(--bg);font-size:13px;font-weight:700;margin-bottom:10px;text-align:left}
.kit-bar .kit-state{color:var(--acc);font-size:12px;flex:none}
.kit-bar.on{border-color:var(--gold);background:rgba(217,169,44,.10)}
.kit-bar.on .kit-state{color:#a87f14}

.azs-banner{display:block;margin:30px 0 2px;width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);border-radius:0;overflow:hidden;line-height:0;aspect-ratio:4/1;background:#16222e;transition:transform .12s ease}
.azs-banner img{display:block;width:100%;height:100%;object-fit:cover}
.azs-banner:active{transform:scale(.99)}

/* === ノースクロール是正 (2026-11-01 FIX1): タイトル画面を 375×812 に収める ===
   構造のみの是正（文言・導線・世界観は不変）。ロゴとスカイラインの背丈を
   詰め、余白のリズムを圧縮する。 */
.title-wrap .title-logo { font-size: 40px; margin: 8px 0 6px; }
.title-wrap .title-catch { font-size: 15.5px; margin-bottom: 6px; }
.title-wrap .title-sub { line-height: 1.55; margin-bottom: 14px; }
.title-wrap .ben-title { width: 44px; height: 44px; margin: 0 auto 8px; }
.title-wrap .btn-acc { padding-top: 11px; padding-bottom: 11px; }
.title-wrap .title-tip { margin-top: 10px; }
.title-wrap .title-skyline { height: 54px; margin-top: 12px; }
.title-wrap .title-foot { margin-top: 8px; }
.title-wrap .title-guide { margin-top: 6px; }
.title-wrap .azs-banner { margin-top: 10px; height: 38px; aspect-ratio: auto; }
.title-wrap .azs-banner img { object-position: center 42%; }
.title-wrap .sound-toggle { margin-top: 8px; }
#app { padding-top: 12px; }

/* === ノースクロール是正 調整 (2026-11-01 FIX1): 余裕分をロゴと景色へ戻す === */
.title-wrap .title-logo { font-size: 44px; }
.title-wrap .ben-title { width: 48px; height: 48px; }
.title-wrap .title-skyline { height: 64px; }

/* === ノースクロール是正 調整2 (2026-11-01 FIX1): #app 上パディング追加を取り消し ===
   元の #app は上パディング0で、認証等の周辺画面の高さを増やさないため。 */
#app { padding-top: 0; }
