:root {
  --bg: #f4f6f5;
  --paper: #ffffff;
  --ink: #202427;
  --muted: #687176;
  --line: #dfe5e2;
  --green: #18a764;
  --green-soft: #eaf8f1;
  --blue: #3178c6;
  --blue-soft: #edf5ff;
  --amber: #ad741f;
  --amber-soft: #fff7e7;
  --shadow: 0 18px 42px rgba(29, 40, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 16px;
  border-bottom: 1px solid var(--line);
}

.site-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a {
  font-weight: 900;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(244, 246, 245, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.label {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.topbar h1 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.3;
}

.jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jump-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.page {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 34px;
}

.summary-card {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.summary-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.summary-card strong {
  font-size: 18px;
  line-height: 1.55;
}

.timeline-section {
  margin-top: 44px;
  scroll-margin-top: 92px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.section-heading span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0 0 0 176px;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 140px;
  width: 2px;
  background: var(--line);
  content: "";
}

.event {
  position: relative;
}

.event::before,
.transfer::before {
  position: absolute;
  top: 24px;
  left: -43px;
  width: 14px;
  height: 14px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--line);
  content: "";
}

.transfer {
  position: relative;
}

.transfer::before {
  top: 18px;
  width: 10px;
  height: 10px;
  background: var(--blue);
}

.time {
  position: absolute;
  top: 18px;
  left: -176px;
  width: 118px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
  text-align: right;
}

.event-card,
.transfer-card,
.next-grid article {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.transfer-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 13px;
  padding-bottom: 13px;
  background: var(--blue-soft);
  box-shadow: none;
}

.transfer-card span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.transfer-card strong {
  font-size: 14px;
  line-height: 1.55;
}

.event-card.important {
  border-color: rgba(24, 167, 100, 0.38);
  background: linear-gradient(180deg, #fff 0%, var(--green-soft) 100%);
}

.event-card.warning {
  border-color: rgba(173, 116, 31, 0.34);
  background: linear-gradient(180deg, #fff 0%, var(--amber-soft) 100%);
}

.event-head {
  margin-bottom: 16px;
}

.event-head h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
}

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

h4 {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

ul {
  margin: 0;
  padding-left: 1.1em;
}

li {
  margin: 7px 0;
  line-height: 1.65;
}

li::marker {
  color: var(--green);
}

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow span,
.check-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.flow span:not(:last-child)::after {
  margin-left: 8px;
  color: var(--green);
  content: ">";
}

.note-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.note-row strong {
  color: var(--green);
  font-size: 13px;
}

.note-row p,
.minor {
  color: var(--muted);
  line-height: 1.75;
}

.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.ops-field {
  min-height: 96px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.ops-field h4 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.ops-field p {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.ops-field.memo {
  grid-column: 1 / -1;
  min-height: 0;
  background: rgba(255, 255, 255, 0.9);
}

.hotel-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(24, 167, 100, 0.28);
  border-radius: 8px;
  background: var(--green-soft);
}

.hotel-link span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.hotel-link a {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.5;
  text-decoration-color: rgba(24, 167, 100, 0.45);
  text-underline-offset: 4px;
}

.product-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-links h4 {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.product-links a {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 167, 100, 0.28);
  border-radius: 8px;
  background: rgba(234, 248, 241, 0.82);
  color: var(--ink);
  text-decoration: none;
}

.product-links img {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  object-fit: contain;
}

.product-links a span {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.product-links a strong {
  font-size: 14px;
  line-height: 1.5;
}

.product-links a em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.affiliate-notice {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 34px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.split-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.split-route div {
  min-height: 110px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.split-route p {
  font-size: 18px;
  font-weight: 900;
}

.minor {
  margin-top: 14px;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.next-grid h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    width: min(100% - 28px, 1160px);
  }

  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    width: min(100% - 28px, 1160px);
  }

  .page,
  .affiliate-notice {
    width: min(100% - 28px, 1160px);
  }

  .summary-grid,
  .columns,
  .ops-grid,
  .split-route,
  .next-grid {
    grid-template-columns: 1fr;
  }

  .ops-field.memo {
    grid-column: auto;
  }

  .timeline {
    padding-left: 0;
  }

  .timeline::before,
  .event::before,
  .transfer::before {
    display: none;
  }

  .transfer-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-links a {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .time {
    position: static;
    width: auto;
    margin: 0 0 8px;
    text-align: left;
  }
}
