:root {
  color-scheme: light;
  --ink: #243126;
  --muted: #637064;
  --paper: #fff8df;
  --paper-deep: #f4e4b7;
  --green: #2f6c3c;
  --green-dark: #1d432d;
  --leaf: #79a83f;
  --tomato: #d9472f;
  --sun: #f6c53f;
  --wood: #8b5a35;
  --white: #fffdf3;
  --line: rgba(55, 70, 50, 0.2);
  --shadow: 0 18px 45px rgba(36, 49, 38, 0.18);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(47, 108, 60, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 108, 60, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 4px solid var(--green-dark);
  background: rgba(255, 248, 223, 0.94);
  backdrop-filter: blur(10px);
}

.shop-mark {
  display: inline-grid;
  grid-template-columns: 40px auto;
  gap: 0.55rem;
  align-items: center;
  color: var(--green-dark);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.leaf {
  width: 40px;
  aspect-ratio: 1;
  border-radius: 70% 0 70% 0;
  background: linear-gradient(135deg, var(--leaf), var(--green));
  transform: rotate(-12deg);
  box-shadow: inset 8px 0 rgba(255, 255, 255, 0.35);
}

.site-nav {
  justify-self: end;
  display: flex;
  gap: 0.35rem;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 0.5rem 0.7rem;
  border-bottom: 3px solid transparent;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  border-color: var(--tomato);
  background: rgba(246, 197, 63, 0.22);
}

.nav-toggle {
  display: none;
  justify-self: end;
  border: 2px solid var(--green-dark);
  background: var(--white);
  color: var(--green-dark);
  padding: 0.5rem 0.8rem;
  font-weight: 800;
}

main {
  overflow: clip;
}

.market-hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(20rem, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem) 2rem;
}

.hero-copy {
  position: relative;
  padding-block: 1rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -0.6rem auto auto -1rem;
  width: 5rem;
  height: 5rem;
  border: 10px solid rgba(246, 197, 63, 0.45);
  border-radius: 50%;
  z-index: -1;
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--tomato);
  font-weight: 900;
}

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

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.04;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.18;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.25rem;
  line-height: 1.35;
}

.hero-copy > p:not(.kicker),
.page-lead > p:not(.kicker),
.feature-block p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 2px solid var(--green-dark);
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.button.primary,
.button.accent {
  background: var(--green-dark);
  color: white;
}

.button.accent {
  border-color: var(--tomato);
  background: var(--tomato);
}

.button.plain {
  background: var(--white);
}

.hero-photo {
  margin: 0;
  rotate: 1deg;
}

.hero-photo img,
.split-photo img,
.map-card img {
  border: 10px solid white;
  box-shadow: var(--shadow);
}

figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.today-board {
  margin: 1rem clamp(1rem, 5vw, 5rem) 3rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 8px solid #754c2b;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.08), transparent 22%),
    #21382c;
  color: #f6f1db;
  box-shadow: var(--shadow);
}

.board-title {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.35);
}

.board-title .kicker {
  color: #f6d56d;
}

.chalk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.3rem;
}

.chalk-grid article {
  min-height: 12rem;
  padding: 1.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.45);
}

.chalk-grid span,
.sale-day {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.5rem;
  background: var(--sun);
  color: #4b321c;
  font-weight: 900;
}

.paper-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  margin: 0 0 3rem;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(135deg, rgba(217, 71, 47, 0.12), transparent 45%),
    #fff1bf;
  border-block: 3px dashed rgba(139, 90, 53, 0.45);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(18rem, 1.1fr);
  gap: clamp(1rem, 4vw, 4rem);
  padding: 0 clamp(1rem, 5vw, 5rem) 5rem;
}

.service-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.8rem;
  padding: 1rem;
  border-left: 8px solid var(--green);
  background: var(--white);
}

.service-list strong {
  color: var(--green-dark);
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  background: var(--green-dark);
  color: #fff7d6;
}

.site-footer p {
  margin: 0;
}

.page-lead {
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 5vw, 5rem) 2rem;
}

.page-lead.compact {
  max-width: 68rem;
}

.flyer-board {
  position: relative;
  margin: 0 clamp(1rem, 5vw, 5rem) 3rem;
}

.flyer-board > img {
  width: min(100%, 58rem);
  border: 12px solid white;
  box-shadow: var(--shadow);
}

.sale-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin-top: -5rem;
  margin-left: min(8vw, 7rem);
  position: relative;
}

.sale-card {
  padding: 1rem;
  border: 3px solid var(--tomato);
  background: #fffaf0;
  box-shadow: 8px 8px 0 rgba(47, 108, 60, 0.22);
  rotate: -1deg;
}

.sale-card:nth-child(3) {
  rotate: 1.5deg;
}

.sale-card.big {
  grid-row: span 2;
  padding: 1.4rem;
  background: #fff1a9;
}

.price {
  margin-bottom: 0.4rem;
  color: var(--tomato);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 1000;
  line-height: 1;
}

.coupon-lane,
.recipe-note,
.classroom {
  margin: 0 clamp(1rem, 5vw, 5rem) 4rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 3px dashed var(--wood);
  background: #fff7cf;
}

.produce-lead {
  min-height: 22rem;
  display: grid;
  align-content: end;
  background:
    linear-gradient(90deg, rgba(47, 108, 60, 0.76), rgba(47, 108, 60, 0.06)),
    radial-gradient(circle at 78% 32%, rgba(217, 71, 47, 0.5) 0 7rem, transparent 7.2rem),
    radial-gradient(circle at 88% 70%, rgba(246, 197, 63, 0.72) 0 5rem, transparent 5.2rem),
    #e3edcb;
  color: white;
}

.produce-lead h1 {
  max-width: 58rem;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

.produce-lead .kicker {
  color: #ffe082;
}

.shelf-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: minmax(13rem, auto);
  gap: 0;
  padding: 0 clamp(1rem, 5vw, 5rem) 4rem;
}

.shelf-item {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: white;
}

.shelf-item span {
  font-weight: 900;
}

.shelf-item.tomato {
  grid-row: span 2;
  background: var(--tomato);
}

.shelf-item.green {
  background: var(--green);
}

.shelf-item.yellow {
  background: #d99a1f;
  color: #251f14;
}

.shelf-item.daily {
  grid-column: span 2;
  background: var(--green-dark);
}

.split-photo {
  display: grid;
  grid-template-columns: minmax(18rem, 1.1fr) minmax(18rem, 0.9fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(1rem, 5vw, 5rem) 3rem;
  background: var(--line);
}

.timeline article {
  padding: 1.4rem;
  background: var(--white);
}

.timeline span {
  display: block;
  color: var(--tomato);
  font-size: 2rem;
  font-weight: 1000;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.85fr) minmax(20rem, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem) 3rem;
}

.shop-info {
  padding: clamp(1.3rem, 3vw, 2rem);
  background: var(--green-dark);
  color: #fff6d5;
}

.shop-info .kicker {
  color: #ffe082;
}

.shop-info dl {
  margin: 1.4rem 0 0;
}

.shop-info div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.8rem;
  padding-block: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.shop-info dt {
  font-weight: 900;
}

.shop-info dd {
  margin: 0;
}

.notice-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 clamp(1rem, 5vw, 5rem) 4rem;
}

.notice-stack article {
  padding: 1.2rem;
  background: var(--white);
  border-top: 8px solid var(--sun);
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 0.8rem 0;
  }

  .market-hero,
  .two-column,
  .split-photo,
  .access-layout,
  .paper-strip {
    grid-template-columns: 1fr;
  }

  .chalk-grid,
  .timeline,
  .notice-stack {
    grid-template-columns: 1fr;
  }

  .sale-grid {
    grid-template-columns: 1fr;
    margin: 1rem 0 0;
  }

  .shelf-layout {
    grid-template-columns: 1fr;
  }

  .shelf-item,
  .shelf-item.daily {
    grid-column: auto;
    grid-row: auto;
  }

  .service-list li,
  .shop-info div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .site-nav a,
  .sale-card {
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
  }

  .button:hover,
  .site-nav a:hover,
  .sale-card:hover {
    transform: translateY(-2px);
  }
}
