:root {
  --ink: #0f0f0f;
  --gray: #6d6d6d;
  --line: #d8d8d8;
  --bg: #fff;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --container: 960px;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
/* 日本語の改行を文節単位に（行末の1〜2文字の泣き別れを防ぐ） */
p, dd, .btn { word-break: auto-phrase; text-wrap: pretty; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 10;
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header__inner {
  max-width: 1140px; margin: 0 auto; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding .2s ease;
}
.site-header__logo img { width: 120px; height: 80px; filter: invert(1); transition: height .2s ease, filter .2s ease; }
.site-nav ul { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 14px; color: #fff; font-size: 1rem; letter-spacing: .04em;
  transition: color .3s ease;
}
.site-nav a:hover { color: var(--ink); }
.site-nav__ig-label { display: none; }
.menu-btn { display: none; }

.site-header.is-scrolled { background: #fff; box-shadow: 1px 2px 10px -4px rgba(0,0,0,.36); }
.site-header.is-scrolled .site-header__inner { padding: 6px 16px; }
.site-header.is-scrolled .site-header__logo img { height: 35px; filter: none; }
.site-header.is-scrolled .site-nav a { color: var(--gray); }
.site-header.is-scrolled .site-nav a:hover { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #e9e4dc; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 10% 57%;
  opacity: 0; transition: opacity 2.5s ease;
}
.hero__slides img.is-active { opacity: 1; }
/* 白いメニュー文字を明るい写真の上でも読めるように上端だけ薄く暗くする */
.hero::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 160px; z-index: 1; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.38), rgba(0,0,0,0));
}
.hero__arrow, .dishes__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.75); color: var(--ink);
  display: grid; place-items: center; padding: 0; cursor: pointer; opacity: .8;
}
.hero__arrow:hover, .dishes__arrow:hover { opacity: 1; }
.hero__arrow--prev, .dishes__arrow--prev { left: 12px; }
.hero__arrow--next, .dishes__arrow--next { right: 12px; }

/* ---------- News (filled by Pureko from the dashboard) ---------- */
.news:has([data-pureko-news][hidden]) { display: none; }
.news__inner { max-width: 720px; margin: 0 auto; padding: 4em 0 3.5em; text-align: center; border-bottom: 1px solid rgba(0,0,0,.5); }
.pureko-news__item + .pureko-news__item { margin-top: 2em; }
.pureko-news__date { display: block; color: var(--gray); font-size: .95rem; letter-spacing: .08em; margin-bottom: .6em; }
.pureko-news__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.7; }
.pureko-news__body { margin-top: 1.2em; font-size: 18px; line-height: 2.1; }
.pureko-news__body p + p { margin-top: 1em; }
.pureko-news__body a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- About ---------- */
.about { padding: 8em 0 5em; text-align: center; }
.about__logo { display: flex; justify-content: center; }
.about__logo img { width: 150px; height: auto; }
.about__lead { margin: 3em 0; font-size: 20px; font-weight: 600; line-height: 1.9; }
.about__text { max-width: 836px; margin: 0 auto; font-size: 18px; line-height: 38px; text-align: left; }
.about__btns { display: flex; justify-content: space-evenly; gap: 20px; margin-top: 5em; }
.btn {
  width: 300px; padding: 15px 20px; font-size: 1.3rem; font-weight: 600;
  border: 1px solid var(--gray); background: #fff; color: var(--ink);
  transition: all .2s ease;
}
.btn:hover { transform: scale(1.02); color: #fff; background: var(--ink); }

/* ---------- Dish carousel ---------- */
.dishes { position: relative; margin: 3em 0 8em; }
.dishes__track {
  display: flex; gap: 10px; padding: 0 50px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 50px;
  scrollbar-width: none; outline: none;
}
.dishes__track::-webkit-scrollbar { display: none; }
.dishes__track img {
  flex: 0 0 calc((100% - 30px) / 4); min-width: 0;
  aspect-ratio: 3 / 2; height: auto; object-fit: cover;
  scroll-snap-align: start;
}
.dishes__dots { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.dishes__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: #c8c8c8; cursor: pointer;
}
.dishes__dots button.is-active { background: var(--ink); }

/* ---------- Access ---------- */
.access { padding: 2em 0 0; }
.access__title { text-align: center; font-size: 20px; font-weight: 600; margin-bottom: 2em; }
.access__info { max-width: 420px; margin: 0 auto 3em; font-size: 1.05rem; line-height: 1.9; }
.access__info > div { display: grid; grid-template-columns: 6em 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.access__info > div:first-child { border-top: 1px solid var(--line); }
.access__info dt { color: var(--gray); }
.access__info a { text-decoration: underline; text-underline-offset: 3px; }
.access__map { display: block; width: 100%; max-width: 1140px; height: 400px; margin: 0 auto; border: 0; }

/* ---------- Footer ---------- */
.site-footer { padding: 3em 16px 30px; text-align: center; color: var(--gray); font-size: .9rem; }

/* ---------- Tablet / mobile ---------- */
@media (max-width: 992px) {
  .site-header, .site-header.is-scrolled { background: #fff; box-shadow: 1px 1px 10px -5px rgba(0,0,0,.28); }
  .site-header__inner, .site-header.is-scrolled .site-header__inner { height: 51px; padding: 0 16px; justify-content: center; position: relative; }
  .site-header__logo img, .site-header.is-scrolled .site-header__logo img { height: 40px; width: 90px; filter: none; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    position: absolute; left: 8px; top: 3px; width: 45px; height: 45px;
    padding: 0 9px; border: 0; background: none; cursor: pointer;
  }
  .menu-btn span { display: block; height: 2px; background: var(--ink); transition: transform .25s ease; }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .site-nav {
    position: fixed; top: 51px; left: 0; width: min(80%, 320px);
    height: calc(100vh - 51px); height: calc(100dvh - 51px); background: #fff; padding: 20px 0;
    transform: translateX(-100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
    box-shadow: 4px 0 12px -6px rgba(0,0,0,.3);
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-header.is-scrolled .site-nav a { padding: 14px 28px; color: var(--gray); }
  .site-nav__ig-label { display: inline; }
  .nav-backdrop { position: fixed; inset: 51px 0 0; background: rgba(0,0,0,.36); z-index: 9; }

  .hero { margin-top: 51px; height: calc(100vh - 51px); height: calc(100svh - 51px); }
  .hero::after { display: none; }
  .about { padding: 5em 0 3em; }
  .about__text { font-size: 1rem; line-height: 2.1; }
  .dishes__track img { flex-basis: calc((100% - 20px) / 3); }
}

@media (max-width: 640px) {
  .hero__slides img { object-position: center; }
  .about__logo img { width: 130px; }
  .about__lead { font-size: 1.1rem; margin: 2.2em 0; }
  .about__btns { flex-direction: column; align-items: center; margin-top: 3em; }
  .btn { width: 260px; font-size: 1rem; }
  .dishes { margin: 2em 0 5em; }
  .dishes__track { padding: 0 32px; scroll-padding: 0 32px; gap: 8px; }
  .dishes__track img { flex-basis: 100%; }
  .dishes__arrow { width: 30px; height: 30px; }
  .dishes__arrow svg { width: 16px; height: 16px; }
  .dishes__arrow--prev { left: 4px; }
  .dishes__arrow--next { right: 4px; }
  .access__info { font-size: 1rem; }
  .news__inner { padding: 3em 0 2.5em; }
  .pureko-news__title { font-size: 1.1rem; }
  .pureko-news__body { font-size: 1rem; text-align: left; }
  .access__info > div { grid-template-columns: 5em 1fr; }
  .access__map { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slides img { transition: none; }
}
