:root {
  --primary: #6f4e2f;
  --secondary: #9a6a3a;
  --accent: #d66a3a;
  --rice: #fffaf0;
  --paper: #f4ead8;
  --ink: #2f261f;
  --muted: #7e6d5e;
  --line: rgba(111, 78, 47, 0.22);
  --white: #fffdf8;
  --shadow: 0 24px 80px rgba(74, 47, 26, 0.14);
  --radius: 28px;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --serif: "Zen Old Mincho", "Shippori Mincho", serif;
  --hand: "Zen Kurenaido", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(214, 106, 58, 0.12), transparent 24rem),
    radial-gradient(circle at 94% 8%, rgba(154, 106, 58, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--rice), #fbf3e5 46%, #fffaf0);
  font-family: var(--sans);
  line-height: 1.85;
  letter-spacing: 0.03em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  z-index: -1;
  background-image:
    linear-gradient(rgba(111, 78, 47, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 78, 47, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--rice);
  border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 250, 240, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(74, 47, 26, 0.08);
}
.header-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--primary);
  border-radius: 50% 50% 46% 54%;
  background: var(--paper);
  color: var(--primary);
  font-family: var(--serif);
  box-shadow: inset 0 0 0 6px rgba(255, 250, 240, 0.75);
}
.brand-text { font-family: var(--serif); font-size: 1.15rem; }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: .93rem; }
.site-nav a { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .2s;
}
.site-nav a:hover::after { transform: scaleX(1); }
.nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  background: var(--white);
}
.nav-toggle { display: none; }

.paper-section { position: relative; overflow: hidden; }
.paper-section::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(111, 78, 47, 0.14);
  border-radius: 34px;
  pointer-events: none;
}
.hero {
  min-height: calc(100vh - 72px);
  padding: 76px 0 34px;
}
.grain-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(ellipse at center, rgba(111,78,47,.13) 0 1.5px, transparent 2px);
  background-size: 31px 18px;
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 62%, transparent);
  opacity: .6;
}
.hero-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: center;
  position: relative;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--hand);
  font-size: 1.05rem;
  letter-spacing: .12em;
}
h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.28; letter-spacing: .04em; }
h1 { font-size: clamp(2.55rem, 8vw, 5.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4.8vw, 3.55rem); }
h3 { font-size: 1.32rem; }
.lead {
  margin: 24px 0 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 40rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
.note { color: var(--muted); font-size: .88rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 34px 0 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  padding: 13px 21px;
  border: 1px solid var(--primary);
  min-height: 52px;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(111, 78, 47, .16); }
.btn.primary { background: var(--primary); color: var(--rice); }
.btn.secondary { background: rgba(255, 253, 248, .78); }
.hero-visual { position: relative; min-height: 470px; display: grid; place-items: center; }
.noren {
  position: absolute;
  top: 4px;
  width: min(92%, 410px);
  height: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.noren span {
  border-radius: 0 0 30px 30px;
  background: linear-gradient(180deg, rgba(111, 78, 47, .95), rgba(154, 106, 58, .86));
  box-shadow: var(--shadow);
}
.rice-photo-card {
  position: relative;
  width: min(350px, 86vw);
  min-height: 380px;
  margin: 58px 0 0;
  display: grid;
  place-items: center;
  border-radius: 48% 52% 44% 56% / 54% 48% 52% 46%;
  background:
    radial-gradient(circle, rgba(255,255,255,.76) 0 34%, transparent 35%),
    linear-gradient(145deg, #fff8ea, var(--paper));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.rice-photo-card::before, .rice-photo-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(111, 78, 47, .16);
}
.rice-photo-card::before { width: 58px; height: 18px; left: 38px; top: 84px; transform: rotate(-18deg); }
.rice-photo-card::after { width: 45px; height: 14px; right: 48px; bottom: 70px; transform: rotate(20deg); }
.rice-photo-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.12) saturate(1.06) contrast(.98);
  border: 10px solid var(--white);
  box-shadow: 0 18px 42px rgba(74, 47, 26, .19);
}
.rice-photo-card figcaption {
  position: absolute;
  bottom: 58px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--hand);
  color: var(--primary);
}
.shop-ticket {
  position: absolute;
  padding: 11px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 36px rgba(74,47,26,.12);
  font-family: var(--hand);
  color: var(--primary);
  transform: rotate(-5deg);
}
.ticket-one { left: 2%; bottom: 86px; }
.ticket-two { right: 0; top: 186px; transform: rotate(6deg); }
.hero-strip {
  width: min(1120px, calc(100% - 36px));
  margin: 46px auto 0;
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  color: var(--primary);
  font-family: var(--hand);
}
.hero-strip span { padding: 13px 28px; white-space: nowrap; }

.section { padding: clamp(74px, 11vw, 132px) 0; }
.section-heading, .split-grid, .access-layout, .contact-layout, .menu-grid, .bento-section { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.section-heading { max-width: 760px; margin-bottom: 38px; text-align: center; }
.section-heading p:last-child { color: var(--muted); }
.split-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
.text-block {
  background: rgba(255, 253, 248, .74);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
}
.ingredient-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ingredient-board span {
  min-height: 86px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px 8px 20px 20px;
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--primary);
  box-shadow: 0 12px 26px rgba(74, 47, 26, .09);
}
.bento-section { display: grid; grid-template-columns: .95fr 1.05fr; gap: 34px; align-items: center; }
.bento-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 5vw, 52px);
  box-shadow: var(--shadow);
}
.soft-list { padding: 0; margin: 26px 0 0; list-style: none; }
.soft-list li { position: relative; padding-left: 22px; margin: 8px 0; }
.soft-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.bento-pattern {
  min-height: 360px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bento-pattern span {
  border-radius: 34px;
  background: linear-gradient(145deg, #fffdf8, var(--paper));
  border: 1px solid var(--line);
  box-shadow: 0 14px 38px rgba(74,47,26,.09);
}
.bento-pattern span:nth-child(even) { transform: translateY(28px); background: linear-gradient(145deg, #fff8ea, #f1dfc3); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.menu-card {
  min-height: 260px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px 12px 34px 34px;
  box-shadow: 0 16px 34px rgba(74,47,26,.1);
}
.card-kicker { font-family: var(--hand); color: var(--accent); font-size: 1.7rem; }
.menu-card p { color: var(--muted); }
.access-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.access-info, .map-card, .contact-form, .contact-copy {
  background: rgba(255, 253, 248, .78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 52px rgba(74,47,26,.09);
}
.access-info, .contact-copy { padding: clamp(26px, 5vw, 46px); }
.info-list { margin: 28px 0 0; }
.info-list div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.info-list dt { color: var(--primary); font-weight: 700; }
.info-list dd { margin: 0; }
.map-card { overflow: hidden; min-height: 420px; }
.map-card iframe { width: 100%; height: 100%; border: 0; filter: sepia(.12) saturate(.86); }
.contact-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 28px; align-items: start; }
.contact-methods { display: grid; gap: 12px; margin-top: 28px; }
.contact-methods a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--rice); color: var(--primary); }
.contact-form { padding: clamp(22px, 4vw, 36px); display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; color: var(--primary); }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(111,78,47,.32);
  border-radius: 16px;
  background: #fffefa;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(214,106,58,.13); }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.submit-btn { width: fit-content; cursor: pointer; }
.form-status { min-height: 1.8em; margin: 0; color: var(--primary); font-weight: 700; }
.form-status.is-error { color: #a43b20; }
.ad-band {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto 68px;
  padding: 20px 24px;
  border: 1px dashed rgba(111,78,47,.42);
  border-radius: 24px;
  background: rgba(244,234,216,.68);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: .9rem;
}
.ad-band span { font-family: var(--hand); color: var(--primary); }
.ad-band p { margin: 0; }
.site-footer {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: .92rem;
}
.footer-brand { font-family: var(--serif); color: var(--primary); font-size: 1.2rem; margin: 0 0 4px; }
.site-footer p { margin: 0; }
.footer-links { display: grid; gap: 5px; }
.powered { color: var(--primary); font-family: var(--hand); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.contact-page .page-hero, .thanks-page .page-hero { padding: 88px 0 40px; }
.page-hero-inner { width: min(900px, calc(100% - 36px)); margin: 0 auto; text-align: center; }
.page-hero-inner h1 { font-size: clamp(2.3rem, 7vw, 4.3rem); }
.page-main { padding-bottom: 80px; }
.center-card {
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 6vw, 54px);
  box-shadow: var(--shadow);
}
.center-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }
  .nav-toggle span { width: 18px; height: 1.5px; background: var(--primary); margin: 0 auto; transition: transform .2s; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    background: rgba(255,253,248,.97);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 8px; }
  .hero { padding-top: 42px; }
  .hero-inner, .split-grid, .bento-section, .access-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .rice-photo-card { min-height: 330px; margin-top: 46px; }
  .ingredient-board { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: 1fr; }
  .bento-pattern { min-height: 260px; grid-template-columns: repeat(2, 1fr); }
  .map-card { min-height: 320px; }
  .site-footer, .ad-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .header-inner, .hero-inner, .section-heading, .split-grid, .access-layout, .contact-layout, .menu-grid, .bento-section, .ad-band, .site-footer, .page-hero-inner, .center-card { width: min(100% - 28px, 1120px); }
  .paper-section::before { inset: 10px; border-radius: 24px; }
  h1 { font-size: clamp(2.25rem, 15vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 11vw, 2.5rem); }
  .hero-actions, .center-actions { flex-direction: column; }
  .btn { width: 100%; padding-inline: 16px; }
  .ingredient-board { gap: 10px; }
  .ingredient-board span { min-height: 72px; font-size: 1.08rem; }
  .info-list div { grid-template-columns: 1fr; gap: 3px; }
  .ticket-one { left: -6px; bottom: 54px; }
  .ticket-two { right: -8px; top: 160px; }
}
