:root {
  color-scheme: light;
  --ink: #202629;
  --muted: #626c70;
  --paper: #f6f3ea;
  --panel: #fffdf8;
  --line: #d9ddd8;
  --shade: #e9e2d2;
  --dark: #182024;
  --red: #a83d36;
  --teal: #1f6f75;
  --gold: #8b661f;
  --green: #2f7450;
  --blue: #365f9c;
  --rose: #a13a56;
  --focus: #005fcc;
  --shadow: 0 12px 34px rgba(24, 32, 36, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.72;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #0f4f77;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 234, 0.94);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  width: min(1160px, calc(100% - 28px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 0;
}

.site-nav a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 8px;
  color: #334044;
  font-size: 0.91rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #e8dfcf;
  color: #111a1d;
}

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 18, 21, 0.88), rgba(12, 18, 21, 0.46) 58%, rgba(12, 18, 21, 0.18)),
    linear-gradient(0deg, rgba(12, 18, 21, 0.82), rgba(12, 18, 21, 0.06) 50%),
    var(--hero-image, url("travel-focus-hero.png")) center / cover no-repeat;
  transform: scale(1.01);
}

.hero-inner {
  position: relative;
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 86px 0 42px;
  color: #fffdf8;
}

.eyebrow {
  margin: 0 0 12px;
  color: #f0c66b;
  font-size: 0.84rem;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: 1.05rem;
}

.hero-actions,
.quick-links,
.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button-link,
.source-list a,
.tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #243034;
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
}

.hero .button-link {
  border-color: rgba(255, 253, 248, 0.26);
  background: rgba(255, 253, 248, 0.13);
  color: #fffdf8;
}

.button-link:hover,
.source-list a:hover,
.tag-link:hover {
  box-shadow: var(--shadow);
}

main {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  padding: 42px 0 78px;
}

section {
  margin-top: 54px;
}

section:first-child {
  margin-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 8px 0 8px;
  font-size: 1.08rem;
  line-height: 1.32;
  letter-spacing: 0;
}

.section-note {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.grid {
  display: grid;
  gap: 14px;
}

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

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

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

.card,
.spot,
.note-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(24, 32, 36, 0.06);
}

.card p,
.spot p,
.note-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.accent-red {
  border-top: 5px solid var(--red);
}

.accent-teal {
  border-top: 5px solid var(--teal);
}

.accent-gold {
  border-top: 5px solid var(--gold);
}

.accent-blue {
  border-top: 5px solid var(--blue);
}

.accent-green {
  border-top: 5px solid var(--green);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eae4d8;
  color: #344044;
  font-size: 0.76rem;
  font-weight: 900;
}

.badge.red {
  background: #efd9d5;
  color: #7d2d28;
}

.badge.teal {
  background: #d5e9e6;
  color: #185b60;
}

.badge.gold {
  background: #ead9af;
  color: #5e4210;
}

.badge.green {
  background: #dcebdc;
  color: #255d3e;
}

.badge.blue {
  background: #dce4f2;
  color: #274d84;
}

.list {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--muted);
  font-size: 0.94rem;
}

.list li {
  margin: 5px 0;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 122px 1fr;
  gap: 14px;
  align-items: stretch;
}

.date-chip {
  min-height: 100%;
  padding: 16px 12px;
  border-radius: 8px;
  background: var(--dark);
  color: #fffdf8;
  font-weight: 900;
  text-align: center;
}

.date-chip span {
  display: block;
  color: rgba(255, 253, 248, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--shade);
  color: #384247;
  font-size: 0.82rem;
}

tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin-top: 16px;
  padding: 18px;
  border-left: 5px solid var(--teal);
  border-radius: 0 8px 8px 0;
  background: var(--panel);
  color: #334044;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.page-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfaf2;
}

.page-tools p {
  margin: 0;
  color: var(--muted);
}

.spot {
  display: grid;
  gap: 8px;
}

.spot strong {
  color: var(--ink);
}

.mini-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.mini-map div {
  min-height: 112px;
  padding: 16px;
  background: var(--panel);
}

.mini-map strong {
  display: block;
}

.mini-map span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  padding: 34px 16px 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.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;
}

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

@media (max-width: 920px) {
  .grid-4,
  .grid-3,
  .mini-map {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .page-tools {
    display: block;
  }

  .section-note,
  .page-tools .quick-links {
    margin-top: 10px;
  }
}

@media (max-width: 640px) {
  .nav-wrap {
    width: min(100% - 20px, 1160px);
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .site-nav {
    width: 100%;
  }

  .hero {
    min-height: 68vh;
  }

  .hero-inner,
  main {
    width: min(100% - 22px, 1160px);
  }

  .hero-inner {
    padding: 72px 0 30px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .mini-map {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .date-chip {
    text-align: left;
  }

  .button-link,
  .source-list a,
  .tag-link {
    width: 100%;
    justify-content: center;
  }
}
