:root {
  color-scheme: light;
  --ink: #261b22;
  --muted: #6f6469;
  --paper: #fffaf3;
  --panel: #ffffff;
  --line: rgba(38, 27, 34, 0.14);
  --wine: #8c1d40;
  --wine-dark: #4b1025;
  --leaf: #2f7a57;
  --sky: #4c8cad;
  --gold: #d49a2f;
  --rose: #f5d9de;
  --shadow: 0 16px 48px rgba(60, 38, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(140, 29, 64, 0.12), transparent 30rem),
    radial-gradient(circle at 100% 18%, rgba(76, 140, 173, 0.14), transparent 26rem),
    linear-gradient(180deg, #fff7eb 0%, #fffdf9 48%, #f5fbf8 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.page {
  padding-bottom: 92px;
}

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #2c151f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(1.08);
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 16, 0.08), rgba(20, 12, 16, 0.28) 40%, rgba(20, 12, 16, 0.82)),
    linear-gradient(90deg, rgba(20, 12, 16, 0.62), rgba(20, 12, 16, 0.12));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 76px 20px 30px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd98a;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 14px;
  font-size: clamp(3rem, 16vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 42rem;
  margin: 0 0 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions,
.quick-actions,
.button-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.hero-actions::-webkit-scrollbar,
.quick-actions::-webkit-scrollbar,
.button-row::-webkit-scrollbar {
  display: none;
}

.button {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(16px);
}

.button.primary {
  background: #fff;
  color: var(--wine-dark);
  border-color: #fff;
}

.button.dark {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}

.button.light {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(38, 27, 34, 0.08);
}

.section {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 32px 16px;
}

.section.tight {
  padding-top: 18px;
  padding-bottom: 18px;
}

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

.section-title h2 {
  margin: 0;
  font-size: clamp(1.45rem, 7vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.weather-note {
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 28px rgba(38, 27, 34, 0.08);
}

.weather-note strong {
  display: block;
  margin-bottom: 4px;
}

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

.stat-card {
  min-height: 118px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(38, 27, 34, 0.08);
}

.stat-card strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--wine);
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.place-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.place-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9e1d7;
}

.place-card-body {
  padding: 15px;
}

.place-card h3 {
  margin-bottom: 5px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.place-card p {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.mission-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.mission-strip::-webkit-scrollbar {
  display: none;
}

.mission-card {
  flex: 0 0 78%;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(38, 27, 34, 0.08);
}

.mission-card strong {
  display: block;
  color: var(--wine);
  font-size: 1.05rem;
  line-height: 1.2;
}

.mission-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.guide-grid {
  display: grid;
  gap: 18px;
}

.guide-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.guide-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e9e1d7;
}

.guide-body {
  padding: 16px;
}

.guide-kicker {
  margin-bottom: 6px;
  color: var(--wine);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-body h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.guide-lead {
  margin-bottom: 12px;
  color: #453a40;
  font-size: 0.94rem;
}

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

.watch-list li {
  border-left: 3px solid rgba(140, 29, 64, 0.28);
  border-radius: 8px;
  padding: 9px 10px;
  background: #f8f3ee;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.watch-list strong {
  color: var(--wine-dark);
}

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

.day {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.day-photo {
  position: relative;
  min-height: 216px;
  background: #ddd;
}

.day-photo img {
  width: 100%;
  height: 216px;
  object-fit: cover;
}

.day-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.day-label span {
  display: block;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
}

.day-label h2 {
  margin: 1px 0 0;
  font-size: 1.28rem;
  line-height: 1.15;
}

.events {
  padding: 10px 14px 16px;
}

.event {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.event:last-child {
  border-bottom: 0;
}

.time {
  color: var(--wine);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
}

.event h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  line-height: 1.32;
}

.event p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f2ede7;
  color: #5f434d;
  font-size: 0.78rem;
  font-weight: 800;
}

.tag.ok {
  background: rgba(47, 122, 87, 0.12);
  color: #216542;
}

.tag.todo {
  background: rgba(212, 154, 47, 0.18);
  color: #8b5d00;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(38, 27, 34, 0.06);
}

.link-card span {
  min-width: 0;
}

.link-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.link-card::after {
  content: ">";
  flex: 0 0 auto;
  color: var(--wine);
  font-weight: 900;
}

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

.train-card,
.note-card,
.packing-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.train-card {
  overflow: hidden;
}

.train-head {
  padding: 16px;
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: #fff;
}

.train-head p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 800;
}

.train-head h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.2;
}

.train-body {
  padding: 14px 16px 16px;
}

.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
}

.detail-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-list dd {
  margin: 0;
  font-weight: 700;
}

.notice {
  margin-top: 14px;
  border-radius: 8px;
  padding: 12px;
  background: #fff4dc;
  color: #61440d;
  font-size: 0.85rem;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.note-card {
  padding: 16px;
}

.note-card h3 {
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.note-card p {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.tel-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.tel-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  border-radius: 8px;
  padding: 8px 12px;
  background: #f6f2ec;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
}

.packing-hero {
  --hero-image: url("https://fujiclairwine.jp/wp-content/themes/teluro-child/img/winery_midasi_img.jpg");
  min-height: 56svh;
}

.packing-hero h1 {
  max-width: none;
  font-size: clamp(2.35rem, 10vw, 4.8rem);
  white-space: nowrap;
}

.packing-toolbar {
  position: sticky;
  top: 0;
  z-index: 4;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.92);
  backdrop-filter: blur(18px);
}

.packing-progress {
  display: grid;
  gap: 8px;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.progress-track {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(38, 27, 34, 0.12);
}

.progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--leaf), var(--gold));
  transition: width 0.25s ease;
}

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

.packing-card {
  padding: 16px;
}

.packing-card h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

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

.check-item {
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 46px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.check-item input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--leaf);
}

.check-item span {
  display: block;
  font-weight: 800;
  line-height: 1.35;
}

.check-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
}

.check-item:has(input:checked) {
  border-color: rgba(47, 122, 87, 0.34);
  background: rgba(47, 122, 87, 0.07);
}

.check-item:has(input:checked) span {
  text-decoration: line-through;
  color: rgba(38, 27, 34, 0.62);
}

.bottom-nav {
  position: fixed;
  z-index: 8;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(38, 27, 34, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 50px rgba(38, 27, 34, 0.18);
  backdrop-filter: blur(18px);
}

.bottom-nav.wide-nav {
  grid-template-columns: repeat(4, 1fr);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
  text-decoration: none;
}

.bottom-nav.wide-nav a {
  font-size: 0.74rem;
}

.bottom-nav a.active {
  background: var(--wine);
  color: #fff;
}

.source-note {
  padding: 18px 16px 110px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

@media (min-width: 680px) {
  .hero-inner {
    padding-inline: 34px;
  }

  .section {
    padding-inline: 28px;
  }

  .stats-grid,
  .photo-strip,
  .contact-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mission-card {
    flex-basis: 32%;
  }

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

  .day {
    height: 100%;
  }

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

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

  .bottom-nav {
    left: 50%;
    right: auto;
    width: min(560px, calc(100% - 20px));
    transform: translateX(-50%);
  }
}

@media (min-width: 980px) {
  .photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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