* {
  box-sizing: border-box;
}

html {
  min-width: 0;
  min-height: 100%;
  background: var(--tb-brand-cream);
}

body {
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 90% 0, var(--tb-surface-soft) 0, transparent 32%),
    var(--tb-brand-cream);
  color: var(--tb-brand-navy);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

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

body.furigana-off rt {
  display: none;
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid rgba(46, 124, 194, 0.55);
  outline-offset: 3px;
}

.hero,
.hub,
footer {
  width: min(100%, 560px);
  margin-inline: auto;
  padding-inline: 18px;
}

.hero {
  padding-top: max(28px, env(safe-area-inset-top));
  padding-bottom: 18px;
}

.furigana-button {
  display: block;
  min-height: 40px;
  margin: 0 0 14px auto;
  padding: 0 14px;
  border: 1px solid var(--tb-border);
  border-radius: 999px;
  background: var(--tb-surface);
  color: var(--tb-brand-navy);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.furigana-button[aria-pressed="true"] {
  border-color: var(--tb-brand-orange);
  color: var(--tb-brand-orange);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: var(--tb-brand-navy);
  box-shadow: 0 5px 0 #16263f;
}

.brand-icon {
  display: block;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 1px;
  color: var(--tb-brand-orange);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 8vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

.lead {
  margin: 22px 0 0;
  font-size: 1rem;
  font-weight: 650;
}

.hub {
  display: grid;
  gap: 27px;
}

.offline-notice {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #D6B656;
  border-radius: var(--tb-radius-small);
  background: #FFF3CD;
  color: #594500;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
}

section {
  min-width: 0;
}

h2 {
  margin: 0 0 11px;
  font-size: 1.05rem;
}

.card-list {
  display: grid;
  gap: 11px;
}

.destination-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 82px;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius);
  background: var(--tb-surface);
  box-shadow: var(--tb-shadow);
  color: inherit;
  text-decoration: none;
}

.destination-card:hover {
  border-color: var(--tb-brand-orange);
  transform: translateY(-1px);
}

.destination-card:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(36, 60, 99, 0.12);
}

.destination-emoji {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  background: var(--tb-surface-soft);
  font-size: 1.7rem;
}

.destination-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.destination-copy strong {
  font-size: 1.08rem;
}

.destination-copy > span {
  color: var(--tb-text-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.arrow {
  color: var(--tb-brand-orange);
  font-size: 2rem;
  font-weight: 600;
}

.external-note {
  /* 「外部サイト ↗」が矢印の前で折り返さないようにする
     （配布・掲示物の体裁ルール＝崩したくない語句は nowrap） */
  color: var(--tb-brand-orange);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
  white-space: nowrap;
}

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

.coming-card {
  display: grid;
  min-width: 0;
  min-height: 116px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 12px 8px;
  border: 1px dashed #AEB5C0;
  border-radius: var(--tb-radius-small);
  background: rgba(255, 255, 255, 0.55);
  color: #687487;
  cursor: not-allowed;
}

.coming-card > span {
  filter: grayscale(0.65);
  font-size: 1.6rem;
  opacity: 0.75;
}

.coming-card strong {
  overflow-wrap: anywhere;
}

.coming-card small {
  font-size: 0.72rem;
  font-weight: 700;
}

.mix-row,
.update-row {
  display: grid;
  gap: 8px;
}

.mix-button {
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--tb-border);
  border-radius: var(--tb-radius-small);
  background: var(--tb-surface);
  color: var(--tb-brand-navy);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.mix-button[aria-pressed="true"] {
  border-color: var(--tb-brand-navy);
  background: rgba(36, 60, 99, 0.08);
  color: var(--tb-brand-navy);
}

.mix-note {
  color: var(--tb-text-muted);
  font-size: 0.75rem;
  line-height: 1.55;
}

footer {
  padding-top: 31px;
  padding-bottom: max(26px, env(safe-area-inset-bottom));
  color: var(--tb-text-muted);
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .destination-card {
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
  }
}

.destination-icon {
  object-fit: cover;
  background: none;
}
