:root {
  --bg: #fff2df;
  --bg-soft: #fff8ec;
  --paper: #fffefa;
  --ink: #362016;
  --muted: #765846;
  --line: #f0a35e;
  --accent: #ea6f1b;
  --accent-dark: #b44913;
  --wood: #9f6330;
  --sage: #6f8a65;
  --shadow: 0 18px 42px rgba(174, 95, 29, 0.12);
  --font-jp: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Hiragino Sans", "Yu Gothic", serif;
  --font-sans: "Hiragino Sans", "Yu Gothic", "YuGothic", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(234, 111, 27, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(234, 111, 27, 0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto;
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

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

figure,
h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(217, 92, 22, 0.55);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 0;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-sans);
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(234, 111, 27, 0.34);
  background: rgba(255, 249, 238, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand__logo,
.footer-logo {
  display: inline-block;
  flex: 0 0 auto;
  width: 62px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff8ef url("../images/logo-ohaco.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(217, 92, 22, 0.16);
}

.brand__text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  color: var(--accent-dark);
}

.menu-toggle {
  display: grid;
  gap: 6px;
  width: 46px;
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--accent);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(38deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-38deg);
}

.site-nav {
  position: absolute;
  top: 74px;
  right: 12px;
  display: grid;
  min-width: 190px;
  padding: 14px;
  border: 1px solid rgba(217, 92, 22, 0.34);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.site-header.is-open .site-nav {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a {
  padding: 8px 10px;
  border-bottom: 1px dotted rgba(217, 92, 22, 0.28);
  font-family: var(--font-sans);
  font-size: 14px;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.page {
  padding: 0 0 34px;
}

.content-flow {
  width: min(100%, 430px);
  margin: 0 auto;
  border-right: 1px solid rgba(234, 111, 27, 0.22);
  border-left: 1px solid rgba(234, 111, 27, 0.22);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.section-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at top right, rgba(255, 255, 255, 0.95), transparent 40%),
    var(--paper);
}

.section-panel + .section-panel {
  border-top: 1px solid rgba(217, 92, 22, 0.2);
}

.section-inner {
  padding: 34px 28px;
}

.section-inner--button {
  padding-top: 20px;
}

h1,
h2,
h3 {
  color: var(--accent-dark);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
}

h1 {
  color: #fff;
  font-size: clamp(31px, 8.4vw, 39px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  font-size: 22px;
}

h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  border-bottom: 1px dotted rgba(217, 92, 22, 0.45);
}

h3 {
  font-size: 16px;
}

p {
  color: var(--ink);
}

.eyebrow {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0;
}

.hero {
  min-height: min(760px, calc(100svh - 74px));
  background: #8c4c22;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 244, 225, 0.03) 0%, rgba(93, 47, 20, 0.05) 38%, rgba(77, 37, 18, 0.58) 100%),
    linear-gradient(90deg, rgba(72, 35, 16, 0.08), transparent 54%);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(1.02) saturate(1.08) contrast(1.04);
}

.hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(760px, calc(100svh - 74px));
  flex-direction: column;
  justify-content: flex-end;
  padding: 238px 28px 38px;
}

.hero__lead {
  max-width: 23em;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 14px;
  text-shadow: 0 2px 14px rgba(63, 28, 12, 0.34);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(255, 253, 248, 0.86);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

.cta--light {
  border-color: rgba(255, 255, 255, 0.94);
  color: #fffdf8;
  background: rgba(118, 54, 20, 0.34);
  box-shadow: 0 8px 22px rgba(57, 24, 9, 0.18);
}

.image-card {
  margin: 0 0 18px;
  background: #f5eadb;
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.08);
}

.image-card--wide img {
  aspect-ratio: 1 / 1.06;
}

.image-card--tall img {
  aspect-ratio: 4 / 5.4;
  object-position: center;
}

.feature-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0 6px;
  text-align: center;
}

.feature-icons li {
  display: grid;
  place-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
}

.line-icon {
  display: grid;
  place-items: center;
  width: 58px;
  aspect-ratio: 1;
  color: var(--accent);
}

.line-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dish-grid,
.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 22px 32px;
}

.dish-grid figure,
.insta-grid img {
  overflow: hidden;
  border: 1px solid rgba(217, 92, 22, 0.24);
  border-radius: 8px;
  background: #f6eadc;
}

.dish-grid img,
.insta-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: brightness(1.04) saturate(1.08);
}

.dish-grid figcaption {
  padding: 6px 8px 8px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 12px;
}

.menu-section .cta,
.instagram-section .cta {
  margin-top: 24px;
}

.menu-list {
  display: grid;
  gap: 20px;
}

.menu-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.menu-item img {
  width: 88px;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: #f6eadc;
  filter: brightness(1.05) saturate(1.08);
}

.menu-item p {
  font-size: 13px;
  line-height: 1.65;
}

.price {
  margin-top: 2px;
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-weight: 700;
}

.instagram-section {
  background:
    linear-gradient(135deg, rgba(255, 246, 233, 0.92), rgba(255, 236, 209, 0.62)),
    var(--paper);
}

.insta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 0 0;
}

.takeout-section .image-card img {
  aspect-ratio: 1 / 0.82;
}

.info-section {
  padding: 44px 28px;
}

.info-card {
  padding: 32px 26px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.8);
  text-align: center;
}

.info-card h2 {
  margin-bottom: 26px;
}

.info-card dl {
  display: grid;
  gap: 22px;
}

.info-card dt {
  color: var(--accent-dark);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
}

.info-card dd {
  margin-top: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.35;
}

.access-section .section-inner {
  padding-bottom: 22px;
}

.map-card {
  position: relative;
  height: 230px;
  margin: 0 28px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(234, 111, 27, 0.22);
  background: #f5eadb;
}

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

.footer-hero {
  min-height: 560px;
  background: #7c421d url("../images/footer-onigiri.jpg") center / cover no-repeat;
  color: #fff;
}

.footer-hero__overlay {
  display: grid;
  min-height: 560px;
  place-items: center;
  align-content: center;
  gap: 20px;
  padding: 58px 28px 34px;
  background: linear-gradient(180deg, rgba(116, 55, 19, 0.02), rgba(72, 31, 11, 0.62));
  text-align: center;
}

.footer-hero h2 {
  color: #fff;
  font-size: 31px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.footer-hero h2::after {
  display: none;
}

.footer-logo {
  width: 94px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.footer-links {
  display: grid;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
}

.legal-links,
.copyright {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-sans);
  font-size: 12px;
}

@media (min-width: 760px) {
  .site-header {
    grid-template-columns: auto 1fr;
    width: min(1180px, calc(100% - 44px));
    margin: 0 auto;
    border-right: 1px solid rgba(217, 92, 22, 0.28);
    border-left: 1px solid rgba(217, 92, 22, 0.28);
    border-radius: 0 0 8px 8px;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav a {
    border-bottom: 0;
  }

  .content-flow {
    width: min(1180px, calc(100% - 44px));
    max-width: 1180px;
    column-count: 3;
    column-gap: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .section-panel {
    display: inline-block;
    width: 100%;
    margin: 0 0 34px;
    border: 1px solid rgba(130, 84, 43, 0.35);
    border-radius: 8px;
    box-shadow: var(--shadow);
    break-inside: avoid;
  }

  .section-panel + .section-panel {
    border-top: 1px solid rgba(130, 84, 43, 0.35);
  }

  .hero,
  .hero__copy {
    min-height: 650px;
  }
}

@media (max-width: 379px) {
  body {
    font-size: 14px;
  }

  .section-inner {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero__copy {
    padding-right: 22px;
    padding-left: 22px;
  }

  .menu-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .menu-item img {
    width: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
