:root {
  --ink: #202a45;
  --muted: #5f6577;
  --paper: #fff9df;
  --paper-strong: #fff2b0;
  --navy: #0b4f9f;
  --blue: #1668b7;
  --blue-deep: #073a83;
  --asphalt: #28313d;
  --sea: #14a8c9;
  --leaf: #2eb465;
  --sun: #ffe838;
  --orange: #f08a18;
  --coral: #ef5f58;
  --route-a: #ec4f98;
  --route-b: #ee8a10;
  --route-c: #31b667;
  --line: rgba(32, 42, 69, 0.15);
  --shadow: 0 18px 46px rgba(11, 79, 159, 0.18);
  --soft-shadow: 0 12px 30px rgba(11, 79, 159, 0.11);
  --radius: 8px;
  --bottom-bar-height: 88px;
  color-scheme: light;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #dff3fb;
  font-size: 16px;
  letter-spacing: 0;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(var(--bottom-bar-height) + env(safe-area-inset-bottom));
  background:
    repeating-linear-gradient(90deg, rgba(255, 232, 56, 0.14) 0 4px, transparent 4px 15px),
    linear-gradient(180deg, #fffdf0 0%, #fff7d7 52%, #fffdf0 100%);
  box-shadow: 0 0 0 1px rgba(11, 79, 159, 0.12), 0 28px 90px rgba(11, 79, 159, 0.2);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 8px, transparent 8px 18px),
    rgba(11, 79, 159, 0.96);
  border-bottom: 3px solid var(--sun);
  backdrop-filter: blur(18px);
}

.topbar__logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.15;
}

.logo-mark {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  place-items: center;
  width: 38px;
  height: 38px;
  overflow: visible;
}

.logo-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter:
    drop-shadow(1px 0 0 #fff)
    drop-shadow(-1px 0 0 #fff)
    drop-shadow(0 1px 0 #fff)
    drop-shadow(0 -1px 0 #fff)
    drop-shadow(0 3px 0 rgba(0, 0, 0, 0.18));
}

.topbar__title {
  display: grid;
  min-width: 0;
  gap: 1px;
  overflow-wrap: normal;
}

.topbar__title-line {
  display: block;
  white-space: nowrap;
}

.topbar__nav {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
}

.topbar__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.topbar__nav a[hidden] {
  display: none;
}

.topbar__nav a:focus-visible,
.button:focus-visible,
.tab:focus-visible,
.chip:focus-visible,
.floating-cta a:focus-visible,
.floating-cta button:focus-visible,
.chat-drawer__close:focus-visible,
.spot-modal__close:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.section-band {
  padding: 38px 18px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

h1 {
  margin-bottom: 14px;
  font-size: 1.96rem;
  line-height: 1.12;
  font-weight: 900;
  word-break: normal;
  overflow-wrap: anywhere;
}

.hero-title-line {
  color: var(--sun);
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.2);
}

h2 {
  margin-bottom: 12px;
  font-size: 1.74rem;
  line-height: 1.28;
  font-weight: 900;
}

h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.35;
}

p {
  color: var(--muted);
  line-height: 1.78;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 232, 56, 0.2), transparent 320px),
    var(--paper);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  margin: 0 -18px 18px;
  padding: 24px 18px 22px;
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 9px, transparent 9px 20px),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: inset 0 -6px 0 var(--sun);
}

.hero__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 3px solid var(--sun);
  border-radius: 999px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.hero .eyebrow {
  color: var(--sun);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.hero__lead {
  max-width: 33em;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.02rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  gap: 9px;
  margin: 0 -18px;
  padding: 16px 18px 18px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 9px, transparent 9px 20px),
    linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: inset 0 -6px 0 var(--sun);
  margin-bottom: 0;
}

.hero__actions .button {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: 12px;
  line-height: 1.25;
  text-align: center;
}

.hero__actions .button:not([data-entry-state="pending"]) {
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

[data-entry-link][data-entry-state="pending"] {
  min-height: 52px;
  padding-block: 5px;
  color: #657084;
  background: #e6e9ef;
  border-color: #b8c0ce;
  box-shadow: none;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
}

[data-entry-link][aria-disabled="true"] {
  cursor: not-allowed;
}

[data-entry-link][aria-disabled="true"]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.button--primary {
  color: var(--blue-deep);
  background: var(--sun);
  border-color: #fff;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.58);
}

.button--wide {
  width: 100%;
}

.hero-image {
  position: relative;
  margin: 0 -18px;
  overflow: visible;
  background: #dff2ee;
  box-shadow: 0 6px 0 var(--sun), 0 16px 28px rgba(11, 79, 159, 0.16);
}

.hero-image__media {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.mitchy {
  filter: drop-shadow(0 12px 16px rgba(24, 32, 31, 0.2));
}

.safety-strip {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 96px;
  padding: 14px 18px;
  color: var(--blue-deep);
  background: #fff;
  border-top: 3px solid rgba(239, 95, 88, 0.2);
  border-bottom: 3px solid rgba(239, 95, 88, 0.2);
}

.safety-strip__mascot {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  min-height: 72px;
}

.safety-strip__mascot::after {
  content: none;
}

.safety-strip__mitchy {
  width: 62px;
  max-height: 66px;
  object-fit: contain;
  justify-self: center;
  filter: none;
}

.safety-strip__message {
  position: relative;
  padding: 12px 14px 12px 16px;
  color: #fff;
  background: #f05a4f;
  border-radius: 8px;
}

.safety-strip__message::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-right: 10px solid #f05a4f;
  transform: translateY(-50%);
}

.safety-strip strong,
.safety-strip span {
  display: block;
}

.safety-strip strong {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 900;
}

.safety-strip span {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
}

.intro {
  padding-bottom: 18px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 232, 56, 0.34) 0 44px, transparent 46px),
    #fffdf7;
  border-bottom: 0;
}

.intro p:last-child {
  margin-bottom: 0;
}

.mini-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.mini-notes span {
  padding: 7px 10px;
  color: var(--blue-deep);
  background: #fff;
  border: 2px solid rgba(22, 104, 183, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.section-heading {
  margin-bottom: 18px;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.how {
  background:
    linear-gradient(180deg, rgba(20, 168, 201, 0.1), transparent),
    #fcf6e7;
}

.how-entry {
  display: grid;
  gap: 8px;
  margin: -2px 0 18px;
  padding: 0 0 16px;
  background: transparent;
  border: 0;
  border-bottom: 2px dashed rgba(22, 104, 183, 0.14);
  box-shadow: none;
}

.how-entry p {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 900;
  line-height: 1.55;
}

.how-entry small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.5;
}

.how-entry .button {
  margin-top: 6px;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 2px solid rgba(22, 104, 183, 0.13);
  border-radius: 8px;
  box-shadow: 0 5px 0 rgba(22, 104, 183, 0.06);
}

.steps p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  border: 3px solid var(--sun);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 900;
}

.courses {
  --course-accent: var(--route-a);
  --course-accent-soft: rgba(236, 79, 152, 0.1);
  --course-accent-border: rgba(236, 79, 152, 0.42);
  --course-accent-shadow: rgba(236, 79, 152, 0.11);
  background:
    repeating-linear-gradient(90deg, rgba(255, 232, 56, 0.12) 0 4px, transparent 4px 15px),
    #fffaf0;
}

.courses[data-active-course="course2"] {
  --course-accent: var(--route-b);
  --course-accent-soft: rgba(238, 138, 16, 0.12);
  --course-accent-border: rgba(238, 138, 16, 0.46);
  --course-accent-shadow: rgba(238, 138, 16, 0.12);
}

.courses[data-active-course="course3"] {
  --course-accent: var(--route-c);
  --course-accent-soft: rgba(49, 182, 103, 0.12);
  --course-accent-border: rgba(49, 182, 103, 0.44);
  --course-accent-shadow: rgba(49, 182, 103, 0.12);
}

.course-intro-copy {
  margin: 6px 0 0;
  color: var(--blue-deep);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.68;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  border: 2px solid rgba(22, 104, 183, 0.16);
  border-radius: 8px;
}

.tab {
  flex: 1 1 0;
  min-height: 40px;
  min-width: 0;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.tab.is-active {
  color: #fff;
  background: var(--blue);
}

.tab:nth-child(1).is-active {
  background: var(--route-a);
}

.tab:nth-child(2).is-active {
  background: var(--route-b);
}

.tab:nth-child(3).is-active {
  background: var(--route-c);
}

.course-panel {
  margin-top: 18px;
  padding: 4px 0 0;
}

.course-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.course-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  background: #fff;
  border: 2px solid rgba(22, 104, 183, 0.15);
  border-radius: 999px;
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 900;
  box-shadow: 0 3px 0 rgba(22, 104, 183, 0.06);
}

.course-legend span:nth-child(1) {
  background:
    linear-gradient(90deg, var(--course-accent-soft), transparent 76%),
    #fff;
  border-color: var(--course-accent-border);
}

.course-legend span:nth-child(2) {
  background:
    linear-gradient(90deg, var(--course-accent-soft), transparent 76%),
    #fff;
  border-color: var(--course-accent-border);
  border-style: dashed;
}

.course-legend span:nth-child(3) {
  color: #6a4300;
  background:
    linear-gradient(90deg, rgba(255, 198, 42, 0.28), transparent 76%),
    #fff;
  border-color: rgba(201, 131, 0, 0.34);
}

.course-legend img,
.route-badge img,
.spot-detail-meta img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.courses[data-active-course="course2"] .course-legend span:first-child img,
#course2 .route-badge--stamp img {
  filter: hue-rotate(-25deg) saturate(1.1);
}

.courses[data-active-course="course3"] .course-legend span:first-child img,
#course3 .route-badge--stamp img {
  filter: hue-rotate(105deg) saturate(0.9);
}

.course-legend b,
.spot-detail-meta b {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.8rem;
  line-height: 1;
}

.course-legend span:nth-child(2) b {
  background: var(--course-accent);
}

.course-legend span:nth-child(3) b {
  color: #4b3200;
  background: #ffc83d;
}

.course-legend-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.55;
}

.course-drive-note {
  margin: 12px 0 14px;
  color: var(--blue-deep);
  font-size: 0.96rem;
  font-weight: 900;
  line-height: 1.55;
}

.course-summary-card {
  display: grid;
  width: 100%;
  gap: 6px;
  margin: 0 0 14px;
  padding: 15px 14px 15px 72px;
  border: 3px solid rgba(22, 104, 183, 0.22);
  border-radius: 8px;
  color: inherit;
  background: #fff;
  box-shadow: var(--soft-shadow);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.course-summary-card::before {
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border-radius: 8px;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.84rem;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

#course1 .course-summary-card {
  border-color: rgba(236, 79, 152, 0.5);
}

#course1 .course-summary-card::before {
  content: "A";
  background: var(--route-a);
}

#course2 .course-summary-card {
  border-color: rgba(238, 138, 16, 0.5);
}

#course2 .course-summary-card::before {
  content: "B";
  background: var(--route-b);
}

#course3 .course-summary-card {
  border-color: rgba(49, 182, 103, 0.5);
}

#course3 .course-summary-card::before {
  content: "C";
  background: var(--route-c);
}

.course-summary-card span {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
}

.course-summary-card strong {
  font-size: 1.05rem;
  line-height: 1.36;
}

.course-summary-card small {
  color: var(--muted);
  font-weight: 700;
}

.time-badge {
  margin: 14px 0;
  padding: 14px;
  color: #1c2e2d;
  background:
    linear-gradient(90deg, rgba(255, 232, 56, 0.34), transparent 72%),
    #fff;
  border: 3px solid var(--sun);
  border-left-width: 8px;
  border-radius: 8px;
  box-shadow: 0 7px 0 rgba(11, 79, 159, 0.08);
}

.time-badge span,
.time-badge small {
  display: block;
  font-weight: 800;
}

.time-badge strong {
  display: block;
  margin: 4px 0;
  color: var(--blue-deep);
  font-size: 1.18rem;
  line-height: 1.25;
}

.time-badge small {
  color: var(--muted);
  font-size: 0.72rem;
}

.tap-hint {
  position: relative;
  margin: -2px 0 12px;
  padding: 9px 12px 9px 34px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.76);
  border: 2px dashed rgba(22, 104, 183, 0.24);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.5;
}

.tap-hint::before {
  content: "!";
  position: absolute;
  left: 9px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.66rem;
  transform: translateY(-50%);
}

.route-list {
  --route-card-offset: 74px;
  --route-line-left: 36px;
  --route-line-width: 5px;
  --route-line-half: 2.5px;
  --route-marker-center: calc(var(--route-line-left) + var(--route-line-half) - var(--route-card-offset));
  --route-number-center: calc(var(--route-marker-center) - 3px);
  --route-visit-center: calc(var(--route-marker-center) - 2.5px);
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 2px 0 2px var(--route-card-offset);
  list-style: none;
  counter-reset: route;
}

.route-list::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: var(--route-line-left);
  width: var(--route-line-width);
  border-radius: 999px;
  background: rgba(22, 104, 183, 0.22);
}

.route-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "text detail"
    "badge detail";
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
  min-height: 78px;
  padding: 14px 12px;
  border: 2px solid rgba(20, 168, 201, 0.18);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.35;
  cursor: default;
  box-shadow: 0 4px 0 rgba(22, 104, 183, 0.06);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
  isolation: isolate;
}

.route-item::before {
  position: absolute;
  left: var(--route-visit-center);
  top: 50%;
  counter-increment: none;
  content: "";
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  color: transparent;
  background: var(--course-accent, var(--blue));
  border: 3px solid #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 0 0 2px rgba(22, 104, 183, 0.2);
  transform: translate(-50%, -50%);
  z-index: 1;
}

.route-item--stamp::before {
  left: var(--route-number-center);
  counter-increment: route;
  content: counter(route);
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--blue);
  border-width: 4px;
}

.route-item::after {
  grid-area: detail;
  content: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  min-height: 22px;
  padding: 2px 8px;
  color: var(--blue-deep);
  background: #fff;
  border: 2px solid rgba(22, 104, 183, 0.18);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.route-item--stamp,
.route-item--visit,
.route-item--company-road {
  cursor: pointer;
}

.route-item--stamp::after,
.route-item--visit::after,
.route-item--company-road::after {
  content: "詳細";
}

.route-item--stamp:hover,
.route-item--visit:hover,
.route-item--company-road:hover {
  border-color: rgba(24, 32, 31, 0.2);
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.route-item--stamp:active,
.route-item--visit:active,
.route-item--company-road:active {
  background-color: rgba(255, 255, 255, 0.62);
}

.route-item:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.route-item--stamp {
  min-height: 88px;
  padding: 15px 13px;
  background:
    linear-gradient(90deg, rgba(236, 79, 152, 0.1), transparent 74%),
    #fff4fa;
  border-width: 3px;
  border-color: rgba(236, 79, 152, 0.42);
  box-shadow: 0 6px 0 rgba(236, 79, 152, 0.11);
}

.route-item--visit {
  min-height: 58px;
  padding: 10px 12px;
  background: rgba(255, 250, 240, 0.86);
  border-color: var(--course-accent-border);
  border-style: dashed;
  box-shadow: none;
}

.route-item--visit .route-text {
  color: rgba(32, 42, 69, 0.88);
  font-size: 0.94rem;
}

.route-item--road {
  background: #eefbff;
}

.route-item--company-road {
  border-color: rgba(20, 168, 201, 0.34);
  background:
    linear-gradient(90deg, rgba(20, 168, 201, 0.12), transparent 78%),
    #eefbff;
}

.route-item--simple-road {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text";
  row-gap: 0;
  min-height: 54px;
  padding: 10px 12px;
  border-width: 1px;
  border-color: rgba(22, 104, 183, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    rgba(238, 251, 255, 0.54);
  box-shadow: none;
}

.route-item--terminal {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "text";
  row-gap: 0;
  min-height: 54px;
  padding: 10px 12px;
  border-width: 1px;
  border-color: rgba(22, 104, 183, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.56)),
    rgba(238, 251, 255, 0.54);
  box-shadow: none;
}

.route-item--terminal::before {
  left: var(--route-marker-center);
  counter-increment: none;
  content: attr(data-step-label);
  width: 68px;
  height: 28px;
  color: #fff;
  border-width: 3px;
  border-radius: 999px;
  background: var(--blue-deep);
  font-size: 0.66rem;
  letter-spacing: 0;
}

.route-item--goal::before {
  background: var(--asphalt);
}

.route-item--terminal .route-text {
  color: rgba(32, 42, 69, 0.74);
  font-size: 0.9rem;
  font-weight: 900;
}

.route-item--simple-road .route-text {
  color: rgba(32, 42, 69, 0.74);
  font-size: 0.9rem;
  font-weight: 900;
}

.route-item--terminal .route-badge {
  display: none;
}

.route-item--simple-road .route-badge {
  display: none;
}

.route-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.route-text {
  grid-area: text;
  min-width: 0;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: 1.04rem;
  font-weight: 900;
}

.route-badge {
  grid-area: badge;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 28px;
  width: max-content;
  max-width: 100%;
  padding: 5px 7px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  white-space: nowrap;
}

.route-badge-group {
  grid-area: badge;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.route-badge-group .route-badge {
  grid-area: auto;
}

.route-badge--stamp {
  color: #c63b7a;
  background: #fff;
  border: 1px solid rgba(236, 79, 152, 0.26);
}

.route-badge--visit {
  color: #895100;
  background: #fff;
  border: 1px solid rgba(238, 138, 16, 0.38);
}

.route-badge--road {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(20, 168, 201, 0.26);
}

.route-badge--purchase {
  color: #6a4300;
  background: #fff8dc;
  border: 1px solid rgba(201, 131, 0, 0.42);
}

#course1 .route-item--stamp::before {
  background: var(--route-a);
  box-shadow: 0 0 0 2px rgba(236, 79, 152, 0.22);
}

#course1 .route-list::before {
  background: linear-gradient(180deg, var(--route-a), rgba(236, 79, 152, 0.3));
}

#course1 .route-item--visit {
  border-color: rgba(236, 79, 152, 0.38);
}

#course1 .route-item--visit .route-badge--visit {
  color: #c63b7a;
  border-color: rgba(236, 79, 152, 0.28);
}

#course1 .route-item--road:not(.route-item--terminal)::before,
#course1 .route-item--visit::before,
#course1 .route-item--simple-road::before {
  box-shadow: 0 0 0 2px rgba(236, 79, 152, 0.42);
}

#course2 .route-item--stamp {
  background:
    linear-gradient(90deg, rgba(238, 138, 16, 0.12), transparent 74%),
    #fff7ec;
  border-color: rgba(238, 138, 16, 0.46);
  box-shadow: 0 6px 0 rgba(238, 138, 16, 0.12);
}

#course2 .route-item--stamp .route-badge--stamp {
  color: #b76100;
  border-color: rgba(238, 138, 16, 0.32);
}

#course2 .route-item--stamp::before {
  background: var(--route-b);
  box-shadow: 0 0 0 2px rgba(238, 138, 16, 0.24);
}

#course2 .route-list::before {
  background: linear-gradient(180deg, var(--route-b), rgba(238, 138, 16, 0.3));
}

#course2 .route-item--visit {
  border-color: rgba(238, 138, 16, 0.46);
}

#course2 .route-item--visit .route-badge--visit {
  color: #b76100;
  border-color: rgba(238, 138, 16, 0.34);
}

#course2 .route-item--road:not(.route-item--terminal)::before,
#course2 .route-item--visit::before,
#course2 .route-item--simple-road::before {
  box-shadow: 0 0 0 2px rgba(238, 138, 16, 0.42);
}

#course3 .route-item--stamp {
  background:
    linear-gradient(90deg, rgba(49, 182, 103, 0.12), transparent 74%),
    #f1fff6;
  border-color: rgba(49, 182, 103, 0.44);
  box-shadow: 0 6px 0 rgba(49, 182, 103, 0.12);
}

#course3 .route-item--stamp .route-badge--stamp {
  color: #23824c;
  border-color: rgba(49, 182, 103, 0.3);
}

#course3 .route-item--stamp::before {
  background: var(--route-c);
  box-shadow: 0 0 0 2px rgba(49, 182, 103, 0.22);
}

#course3 .route-list::before {
  background: linear-gradient(180deg, var(--route-c), rgba(49, 182, 103, 0.3));
}

#course3 .route-item--visit {
  border-color: rgba(49, 182, 103, 0.44);
}

#course3 .route-item--visit .route-badge--visit {
  color: #23824c;
  border-color: rgba(49, 182, 103, 0.3);
}

#course3 .route-item--road:not(.route-item--terminal)::before,
#course3 .route-item--visit::before,
#course3 .route-item--simple-road::before {
  box-shadow: 0 0 0 2px rgba(49, 182, 103, 0.42);
}

#course1 .route-item--terminal::before,
#course2 .route-item--terminal::before,
#course3 .route-item--terminal::before {
  box-shadow: 0 0 0 2px rgba(7, 58, 131, 0.18);
}

#course1 .route-item--start::before {
  background: var(--route-a);
  box-shadow: 0 0 0 2px rgba(236, 79, 152, 0.2);
}

#course2 .route-item--start::before {
  background: var(--route-b);
  box-shadow: 0 0 0 2px rgba(238, 138, 16, 0.2);
}

#course3 .route-item--start::before {
  background: var(--route-c);
  box-shadow: 0 0 0 2px rgba(49, 182, 103, 0.2);
}

#course1 .route-item--goal::before,
#course2 .route-item--goal::before,
#course3 .route-item--goal::before {
  background: var(--blue-deep);
  box-shadow: 0 0 0 2px rgba(7, 58, 131, 0.18);
}

.course-panel .route-item--visit::before {
  left: var(--route-visit-center);
  counter-increment: none;
  content: "";
  width: 14px;
  height: 14px;
  background: var(--course-accent, var(--blue));
  border: 3px solid #fff;
}

.map-slot {
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  box-shadow: none;
}

.map-slot p {
  margin: 0;
  padding: 8px 12px;
  color: var(--blue-deep);
  background: #fff;
  border: 2px solid rgba(22, 104, 183, 0.18);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.map-slot iframe {
  width: 100%;
  height: 240px;
  border: 0;
}

.prizes {
  padding: 38px 18px;
  background: #fffdf7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.prize-coming-soon {
  display: grid;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.prize-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.prize-preview figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.prize-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prize-notes {
  display: grid;
  gap: 4px;
  margin-top: 12px;
}

.prize-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.55;
}

.prize-list {
  display: grid;
  gap: 10px;
}

.prize-list--archived[hidden] {
  display: none;
}

.prize-card {
  position: relative;
  min-height: 124px;
  padding: 15px 16px 15px 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.82);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.prize-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
}

.prize-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: var(--blue-deep);
  background: var(--sun);
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.prize-card h3,
.prize-card p {
  position: relative;
  z-index: 1;
}

.prize-card h3 {
  font-size: 1.14rem;
  font-weight: 900;
  line-height: 1.32;
}

.prize-card p {
  margin-bottom: 0;
  color: #2d3a38;
  font-weight: 800;
}

.prize-card--a {
  background: #ffe5f1;
}

.prize-card--b {
  background: #e5f7ff;
}

.prize-card--c {
  background: #e8f7df;
}

.prize-card--master {
  background: #ffe365;
}

.prize-card--challenge {
  background: #c9efcf;
}

.prize-card--entry {
  background: #ffc0d5;
}

.accordion {
  margin-top: 12px;
  overflow: clip;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.accordion summary {
  position: relative;
  min-height: 52px;
  padding: 14px 42px 14px 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 3px solid var(--blue);
  border-bottom: 3px solid var(--blue);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.accordion[open] summary::after {
  transform: translateY(-35%) rotate(225deg);
}

.accordion__content {
  overflow: hidden;
}

.accordion p {
  margin: 0;
  padding: 0 14px 16px;
  font-size: 0.92rem;
}

.mitchy-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 12px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 104, 183, 0.12), transparent 60%),
    #e7f5ff;
  border-top: 4px solid var(--blue);
  border-bottom: 4px solid var(--sun);
}

.mitchy-section p {
  margin-bottom: 12px;
}

.mitchy-section a {
  display: inline-flex;
  color: var(--blue);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mitchy--section {
  width: 128px;
  align-self: end;
  transform: rotate(2deg);
}

.faq {
  background: #fffdf7;
}

.contact {
  background: #e7f5ff;
}

.chat-placeholder {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.chat-placeholder p {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
}

.chat-placeholder small {
  color: var(--muted);
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  border: 0;
  background: #fff !important;
  box-shadow: none;
}

.footer__sponsor {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.footer__sponsor-logo {
  display: block;
  width: min(44vw, 158px);
  height: auto;
}

.footer__sponsor-link {
  display: inline-flex;
  align-items: center;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  min-height: var(--bottom-bar-height);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 239, 0.98);
  border-top: 4px solid var(--blue);
  box-shadow: none;
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.floating-cta a,
.floating-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.floating-cta__primary {
  color: var(--blue-deep);
  background: var(--sun);
  border: 2px solid var(--blue-deep);
  line-height: 1.24;
  text-align: center;
}

.floating-cta button.floating-cta__secondary {
  position: relative;
  width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  color: var(--blue-deep);
  background: #fff;
  border: 3px solid var(--blue-deep);
  border-radius: 999px;
  box-shadow: 0 7px 0 rgba(7, 58, 131, 0.18), 0 14px 24px rgba(11, 79, 159, 0.18);
  overflow: visible;
}

.floating-cta__secondary::after {
  content: "相談";
  position: absolute;
  right: -3px;
  bottom: -7px;
  min-width: 34px;
  padding: 2px 6px 3px;
  color: var(--blue-deep);
  background: var(--sun);
  border: 2px solid var(--blue-deep);
  border-radius: 999px;
  font-size: 0.62rem;
  line-height: 1;
  letter-spacing: 0;
}

.floating-cta__secondary img {
  width: 58px;
  height: 62px;
  object-fit: contain;
  transform: translateY(-4px);
  filter: drop-shadow(0 4px 0 rgba(7, 58, 131, 0.12));
}

.gs-chat-button-wrapper {
  display: none !important;
}

.chat-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: end;
  justify-content: center;
  background: rgba(11, 58, 131, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.chat-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.chat-drawer__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(78vh, 620px);
  padding: 24px 18px calc(24px + env(safe-area-inset-bottom));
  overflow: auto;
  background:
    repeating-linear-gradient(90deg, rgba(255, 232, 56, 0.1) 0 4px, transparent 4px 15px),
    var(--paper);
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  transform: translateY(100%);
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.chat-drawer.is-open .chat-drawer__panel {
  transform: translateY(0);
}

.chat-drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(22, 104, 183, 0.22);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.chat-note {
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
}

.spot-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: end;
  justify-content: center;
  background: rgba(11, 58, 131, 0.52);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.spot-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.spot-modal__panel {
  position: relative;
  width: min(100%, 520px);
  max-height: min(84vh, 680px);
  overflow: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  background: #fff;
  border: 4px solid #fff;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  transform: translateY(100%);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.spot-modal.is-open .spot-modal__panel {
  transform: translateY(var(--spot-modal-drag-y, 0));
}

.spot-modal__panel.is-dragging {
  transition: none;
  cursor: grabbing;
}

.spot-modal__handle {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 30px;
  transform: translateX(-50%);
  cursor: grab;
  touch-action: none;
}

.spot-modal__handle::before {
  content: "";
  width: 56px;
  height: 5px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 999px;
}

.spot-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(32, 42, 69, 0.72);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.spot-modal__panel h2 {
  padding-right: 42px;
}

.spot-detail-visual {
  height: min(42vh, 260px);
  overflow: hidden;
  background: #dff3fb;
}

.spot-detail-visual[hidden] {
  display: none;
}

.spot-detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spot-modal__content {
  padding: 58px 18px calc(24px + env(safe-area-inset-bottom));
}

.spot-detail-visual:not([hidden]) ~ .spot-modal__content {
  padding-top: 22px;
}

.spot-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 14px;
}

.spot-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 5px 9px;
  background: #fff;
  border: 2px solid rgba(22, 104, 183, 0.16);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
}

.spot-detail-meta__purchase {
  color: #6a4300;
  background: #fff8dc;
  border-color: rgba(201, 131, 0, 0.34);
}

.spot-detail-meta__purchase b {
  color: #4b3200;
  background: #ffc83d;
}

.spot-detail-meta img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.spot-detail-body {
  display: grid;
  gap: 14px;
}

.spot-detail-card {
  display: grid;
  gap: 8px;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.spot-detail-card--stamp {
  background: #fff;
}

.spot-detail-card--visit {
  background: #fff;
}

.spot-detail-card--road {
  background: #fff;
}

.spot-detail-card small {
  display: inline-flex;
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
}

.spot-detail-card h3 {
  margin-bottom: 4px;
  font-size: 1rem;
  display: none;
}

.spot-detail-card p {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.72;
}

#spotDetailLead {
  white-space: pre-line;
}

.spot-detail-extra {
  display: grid;
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(32, 42, 69, 0.12);
}

.spot-detail-info {
  display: grid;
  gap: 12px;
  margin: 0;
}

.spot-detail-info div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
}

.spot-detail-info dt {
  color: var(--muted);
  font-weight: 900;
}

.spot-detail-info dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.spot-detail-info a {
  color: #5a9cff;
  text-decoration: none;
}

.spot-detail-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-deep);
  font-weight: 900;
}

.spot-detail-social-link img {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.spot-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(32, 42, 69, 0.12);
}

.spot-detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  color: #111;
  background: #fff;
  border: 2px solid rgba(17, 17, 17, 0.82);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-bar-height) + 14px + env(safe-area-inset-bottom));
  z-index: 80;
  width: min(calc(100% - 28px), 480px);
  padding: 12px 14px;
  color: #fff;
  background: var(--blue-deep);
  border: 2px solid var(--sun);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 370px) {
  .topbar__nav a {
    min-width: 42px;
    padding-inline: 8px;
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.08rem;
  }

  .route-card {
    width: 158px;
  }

  .mitchy-section {
    grid-template-columns: minmax(0, 1fr);
  }

  .mitchy--section {
    justify-self: end;
  }
}

@media (min-width: 768px) {
  .topbar__logo {
    font-size: 0.98rem;
  }

  .topbar__title {
    display: block;
  }

  .topbar__title-line {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
