:root {
  --cream: #f6efe2;
  --kraft: #ead9bd;
  --paper: #fffaf1;
  --ink: #2e2a24;
  --muted: #7a6f60;
  --green: #3d5a3a;
  --green-deep: #2a3f28;
  --orange: #d9772b;
  --summer: #5f8f45;
  --autumn: #c0602f;
  --winter: #4f7896;
  --line: #ddcfb6;
  --mincho: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-text-size-adjust: 100%;
  line-break: strict;
  word-break: auto-phrase;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 { margin: 0; line-height: 1.5; }

h2 {
  font-family: var(--mincho);
  font-weight: 900;
  font-size: 1.7rem;
  margin-bottom: 24px;
}

h3 { font-family: var(--mincho); font-size: 1.25rem; }

p { margin: 0 0 14px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 4px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin-right: 8px;
  vertical-align: middle;
}

/* ---- ヘッダー ---- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 85% 20%, #fbe3c4 0, transparent 45%),
    radial-gradient(circle at 10% 90%, #e4ead2 0, transparent 40%),
    var(--cream);
  padding: 40px 20px 0;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 720px;
  margin: 0 auto;
  min-height: 400px;
}

.hero-text {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 8px;
}

.hero-title {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 900;
  font-size: 3.6rem;
  letter-spacing: 0.25em;
  color: var(--green-deep);
  line-height: 1;
}

.hero-place {
  writing-mode: vertical-rl;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin: 6px 0 0;
}

.hero-en {
  writing-mode: vertical-rl;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  color: var(--orange);
  font-weight: 700;
  margin: 6px 0 0;
}

.hero-lead {
  writing-mode: vertical-rl;
  font-family: var(--mincho);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.2em;
  line-height: 2.2;
  margin: 150px 0 0;
}

.hero-logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 92px;
}

/* 野菜のイラスト */
.hero-veg { position: absolute; inset: 0; pointer-events: none; }

.veg {
  position: absolute;
  width: 64px;
  height: 64px;
  animation: float 6s ease-in-out infinite;
}

.veg-1 { width: 84px; height: 84px; top: 24px;  left: 32%; }
.veg-2 { width: 72px; height: 72px; top: 290px; left: 32%; animation-delay: -1s; }
.veg-3 { top: 170px; left: 42%; animation-delay: -2s; }
.veg-4 { width: 76px; height: 76px; top: 360px; right: 10%; animation-delay: -3s; }
.veg-5 { width: 72px; height: 72px; top: 370px; left: 4%;  animation-delay: -4s; }
.veg-6 { top: 210px; right: 40%; animation-delay: -5s; display: none; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .veg { animation: none; }
}

/* 看板 */
.sign {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin: 24px auto 72px;
  background: var(--green-deep);
  color: #fff;
  border-radius: 6px;
  padding: 22px 24px 24px;
  box-shadow: 0 10px 0 -4px rgba(42, 63, 40, 0.25);
  text-align: center;
}

.sign::before, .sign::after {
  content: "";
  position: absolute;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c9b48a;
}

.sign::before { left: 10px; }
.sign::after { right: 10px; }

.sign-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 0 0 6px;
}

.sign-label {
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 0 6px;
  line-height: 1.7;
}

.sign-label-off { background: var(--orange); border-color: var(--orange); }

.sign-value { font-family: var(--mincho); font-size: 1.2rem; font-weight: 600; }

/* ボタン */
.btn {
  display: inline-block;
  margin-top: 12px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 10px 28px;
  border-radius: 999px;
  transition: transform 0.15s;
}

.btn:active { transform: scale(0.97); }

.btn-outline {
  background: var(--paper);
  color: var(--green-deep);
  border: 1.5px solid var(--green-deep);
}

/* 波線 */
.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 40px;
  fill: var(--cream);
}

.wave-top { top: -1px; bottom: auto; }

.hero .wave { fill: var(--paper); }

/* ---- セクション ---- */
.section { position: relative; padding: 64px 0; }

#about { background: var(--paper); }

.section-kraft {
  background: var(--kraft);
  padding: 88px 0;
}

.section-kraft .wave-top { fill: var(--paper); }

/* 最近並んでいるもの(scripts/update-recent.py が書き込む) */
.recent {
  --c: var(--orange);
  background: var(--paper);
  border-radius: 16px;
  padding: 18px 20px 16px;
  margin-bottom: 24px;
  border: 2px solid var(--orange);
}

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

.recent-date {
  flex: none;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  padding: 0 10px;
}

.recent .note { margin-top: 12px; }

/* 季節 */
.season-list { display: grid; gap: 16px; }

.season {
  background: var(--paper);
  border-radius: 16px;
  padding: 18px 20px 20px;
  border-top: 6px solid var(--c);
}

.season-summer { --c: var(--summer); }
.season-autumn { --c: var(--autumn); }
.season-winter { --c: var(--winter); }

.season-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.season-name {
  font-family: var(--mincho);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--c);
  line-height: 1;
}

.season-icon { width: 44px; height: 44px; }

.tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  font-size: 0.9rem;
  border: 1px solid var(--c);
  color: var(--ink);
  border-radius: 999px;
  padding: 2px 12px;
  background: #fff;
}

.tags small { font-size: 0.75rem; color: var(--muted); }

.rice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  background: var(--paper);
  border-radius: 16px;
  padding: 18px 20px;
  border: 2px dashed #c7a65a;
}

.rice-icon { flex: none; width: 56px; height: 56px; }

.rice p { margin: 0; font-size: 0.95rem; }

.note { font-size: 0.8rem; color: var(--muted); margin: 16px 0 0; }

/* お店の場所 */
.place {
  position: relative;
  background: var(--paper);
  border-radius: 16px;
  padding: 28px 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 0 var(--line);
}

.place-num {
  position: absolute;
  top: -14px;
  right: 16px;
  font-family: var(--mincho);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--orange);
  opacity: 0.35;
  line-height: 1;
}

.place h3 { margin-bottom: 12px; }

.info { margin: 0 0 16px; }

.info div {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
}

.info dt {
  flex: none;
  width: 3em;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 700;
}

.info dd { margin: 0; }

.map {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--kraft);
}

.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- フッター ---- */
.footer {
  position: relative;
  background: var(--green-deep);
  color: #f3ead9;
  padding: 72px 0 40px;
  text-align: center;
  font-size: 0.85rem;
}

.footer .wave-top { fill: var(--cream); }

.footer-logo {
  width: 72px;
  margin-bottom: 12px;
  background: var(--cream);
  border-radius: 12px;
  padding: 8px;
}

.footer-name {
  font-family: var(--mincho);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  margin: 0;
}

.footer-sub { font-size: 0.75rem; letter-spacing: 0.2em; opacity: 0.7; margin-bottom: 20px; }

.footer-copy { opacity: 0.6; margin-top: 24px; }

@media (min-width: 720px) {
  .hero-title { font-size: 4.6rem; }
  .hero-inner { min-height: 480px; }
  .veg-6 { display: block; }
  .season-list { grid-template-columns: repeat(3, 1fr); }
  h2 { font-size: 2rem; }
}
