:root {
  color-scheme: light;
  --paper: #fffaf2;
  --ink: #251f1a;
  --muted: #74695f;
  --line: #e6d8c7;
  --accent: #ed7e1a;
  --accent-dark: #c76512;
  --soft: #f4eadb;
}

* {
  box-sizing: border-box;
}

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

.page {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 0 18px 96px;
}

.hero {
  padding: 28px 0 22px;
}

.brand {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 30px;
  line-height: 1.25;
}

h2 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.35;
}

.hero p:not(.brand),
section p,
li {
  color: var(--muted);
  font-size: 15px;
}

.hero p:not(.brand) {
  margin-top: 10px;
}

section {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: var(--accent);
  color: white;
}

.secondary {
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  background: white;
}

.notice {
  padding: 10px 12px;
  border-left: 4px solid var(--accent);
  background: white;
  color: var(--ink) !important;
}

.media-placeholder {
  display: grid;
  min-height: 180px;
  margin-bottom: 12px;
  place-items: center;
  border: 1px dashed #b9a995;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

.calendar-slider {
  display: grid;
  grid-auto-columns: 84%;
  grid-auto-flow: column;
  gap: 14px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.calendar-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
}

.calendar-card span {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
}

.calendar-card img {
  display: block;
  width: 100%;
  min-height: 260px;
  object-fit: contain;
  background: var(--soft);
}

.image-fallback {
  display: grid;
  min-height: 260px;
  place-items: center;
  background: var(--soft);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.image-fallback[hidden] {
  display: none;
}

.info {
  background: rgba(255, 255, 255, 0.5);
}

ul {
  margin: 0;
  padding-left: 20px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}

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

th {
  background: var(--soft);
}

.delivery-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.delivery-table th,
.delivery-table td {
  padding: 8px 6px;
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.delivery-table th:nth-child(1),
.delivery-table td:nth-child(1) {
  width: 23%;
}

.delivery-table th:nth-child(2),
.delivery-table td:nth-child(2) {
  width: 19%;
}

.delivery-table th:nth-child(3),
.delivery-table td:nth-child(3) {
  width: 28%;
}

.delivery-table th:nth-child(4),
.delivery-table td:nth-child(4) {
  width: 30%;
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 20px 0;
}

.link-grid a {
  display: grid;
  min-height: 54px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.sticky-cta {
  position: fixed;
  display: flex;
  justify-content: center;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.96);
}

.sticky-cta .button {
  width: min(100%, 684px);
  margin: 0 auto;
}
