:root {
  --ink: #252525;
  --muted: #6f7680;
  --paper: #f6f0e6;
  --panel: #fffdf7;
  --wash: #fbf7ef;
  --line: #ded2bf;
  --line-strong: #cdbda5;
  --red: #d86060;
  --red-dark: #b94c4c;
  --green: #4d826e;
  --green-soft: #edf5ef;
  --gold: #b97918;
  --sumi: #202329;
  --shadow: 0 18px 46px rgba(88, 64, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 58px, rgba(216, 96, 96, 0.08), transparent 118px),
    linear-gradient(180deg, #f9f4eb 0, var(--paper) 260px, #f3eadc 100%);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Hiragino Mincho ProN", "Yu Mincho", Arial, sans-serif;
  font-size: 15px;
  overflow-x: hidden;
}

button,
summary {
  font: inherit;
}

button {
  cursor: pointer;
}

.app {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 10px 12px 38px;
}

.app-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(124px, 38%);
  align-items: center;
  min-height: min(25vh, 166px);
  padding: 18px 4px 18px 8px;
  text-align: left;
}

.header-copy {
  position: relative;
  z-index: 1;
}

.header-volcano {
  justify-self: end;
  width: min(39vw, 172px);
  max-width: 100%;
  max-height: 132px;
  object-fit: contain;
  object-position: center;
  opacity: 0.86;
  transform: translateX(-52px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 5px;
  margin-left: 0;
  margin-right: 0;
  color: var(--sumi);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif SC", serif;
  font-size: clamp(1.48rem, 6.1vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

h1::first-letter {
  color: var(--red);
}

h2 {
  margin-bottom: 0;
  color: var(--sumi);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif SC", serif;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.trip-subtitle {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.45;
}

.overview-panel,
.day-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: var(--shadow);
}

.overview-panel {
  padding: 14px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head--tight {
  margin-bottom: 6px;
}

.overview-grid {
  display: grid;
  gap: 8px;
}

.overview-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 2px 9px;
  align-items: center;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e7dbc8;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffefb, #fbf7ef);
  color: inherit;
  text-decoration: none;
}

.overview-date {
  grid-row: 1 / 3;
  min-width: 0;
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
}

.overview-city {
  grid-column: 2;
  min-width: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.overview-item strong {
  grid-column: 2;
  display: block;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 880;
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.day-rail {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -12px;
  padding: 10px 12px;
  background: rgba(246, 240, 230, 0.9);
  backdrop-filter: blur(14px);
  scrollbar-width: none;
}

.day-rail::-webkit-scrollbar {
  display: none;
}

.day-button {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.94);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 900;
}

.day-button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fffdf7;
}

.day-section {
  padding: 14px;
}

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

.day-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
}

.day-card summary {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: center;
  min-height: 70px;
  padding: 13px;
  cursor: pointer;
  list-style: none;
}

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

.day-card summary::after {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(216, 96, 96, 0.38);
  border-radius: 50%;
  color: var(--red);
  content: "+";
  font-size: 1.05rem;
  font-weight: 700;
}

.day-card[open] summary::after {
  content: "-";
}

.day-date {
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
}

.day-summary-main {
  min-width: 0;
}

.day-summary-main strong,
.day-summary-main em {
  display: block;
  min-width: 0;
}

.day-summary-main strong {
  margin-bottom: 3px;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

.day-summary-main em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 820;
  line-height: 1.35;
}

.day-badge {
  display: none;
}

.day-body {
  padding: 0 13px 14px;
}

.day-meta {
  display: grid;
  gap: 5px;
  margin-bottom: 11px;
  padding: 11px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 880;
  line-height: 1.4;
}

.time-table {
  border-top: 1px solid var(--line);
}

.time-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee4d6;
}

.time-row time {
  color: #91617d;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1.35;
}

.time-row p {
  margin: 0;
  font-size: 0.94rem;
  font-weight: 850;
  line-height: 1.45;
}

.info-grid {
  display: grid;
  gap: 9px;
  margin-top: 11px;
}

.info-block {
  padding: 11px;
  border: 1px solid #e6dac8;
  border-radius: 14px;
  background: rgba(255, 253, 247, 0.88);
}

.info-block h4 {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 950;
  line-height: 1.25;
}

.info-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-block li {
  position: relative;
  padding-left: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
  line-height: 1.48;
}

.info-block li + li {
  margin-top: 4px;
}

.info-block li::before {
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.info-block--warn {
  border-color: rgba(216, 96, 96, 0.26);
  background: #fff8f3;
}

.info-block--warn h4 {
  color: var(--red-dark);
}

.info-block--tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.info-block--tags li {
  padding: 5px 9px;
  border: 1px solid rgba(205, 189, 165, 0.68);
  border-radius: 999px;
  background: #fbf4e8;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 880;
}

.info-block--tags li::before {
  display: none;
}

.spot-link {
  color: var(--red-dark);
  font-weight: 950;
  text-decoration: none;
  text-decoration-color: rgba(216, 96, 96, 0.35);
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

.spot-link::after {
  content: "";
}

@media (min-width: 560px) {
  .app {
    padding-top: 24px;
  }

  .app-header {
    padding-bottom: 152px;
  }

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

  .day-card summary {
    grid-template-columns: 58px minmax(0, 1fr) 76px 28px;
  }

  .day-card summary::after {
    grid-column: 4;
  }

  .day-badge {
    display: inline-flex;
    justify-content: center;
    padding: 5px 9px;
    border: 1px solid rgba(77, 130, 110, 0.22);
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-size: 0.76rem;
    font-weight: 950;
    white-space: nowrap;
  }

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

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

@media (max-width: 380px) {
  .app-header {
    padding-bottom: 116px;
  }

  .overview-item,
  .day-card summary {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
  }

  .overview-item {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .time-row {
    grid-template-columns: 90px minmax(0, 1fr);
  }
}
