/* 和食・割烹LP：固定背景＋手前スクロール、縦書き、スクロールフェード */

:root {
  --color-bg: #f4f0e8;
  --color-ink: #2a2622;
  --color-muted: #5c5650;
  --color-accent: #7a3a38;
  --color-accent-hover: #5e2c2a;
  --color-border: #d8d2c6;
  --color-border-light: rgba(42, 38, 34, 0.08);
  --color-surface: rgba(255, 253, 249, 0.94);
  --color-surface-strong: rgba(255, 255, 255, 0.98);
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --space-section: clamp(3.5rem, 10vw, 6.5rem);
  --space-block: clamp(1.35rem, 3.5vw, 2.25rem);
  --radius-panel: 3px;
  --shadow-soft: 0 2px 32px rgba(42, 38, 34, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-ink);
  background-color: var(--color-bg);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* 固定背景（写真＋暗幕）：手前のみスクロール */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #2a2622;
  background-image: url("image/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(18, 16, 14, 0.55) 0%,
    rgba(32, 28, 24, 0.35) 45%,
    rgba(18, 16, 14, 0.5) 100%
  );
}

/* 背景より手前に配置（襖・スキップリンクは別z-index） */
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

/* キーボードユーザ向けスキップリンク */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  z-index: 1100;
  padding: 0.5rem 1rem;
  background: var(--color-ink);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: var(--radius-panel);
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip: auto;
  clip-path: none;
  height: auto;
  width: auto;
  overflow: visible;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-accent);
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* 襖オーバーレイ */
.fusuma-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
}

.fusuma-overlay.is-open {
  pointer-events: none;
}

.fusuma-panel {
  flex: 1;
  background: linear-gradient(
    90deg,
    #3a3531 0%,
    #48423c 42%,
    #3a3531 100%
  );
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.35);
  transition: transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .fusuma-panel {
    transition-duration: 0.01ms;
  }
}

.fusuma-panel--left {
  transform-origin: left center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.fusuma-panel--right {
  transform-origin: right center;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.fusuma-overlay.is-open .fusuma-panel--left {
  transform: translateX(-100%);
}

.fusuma-overlay.is-open .fusuma-panel--right {
  transform: translateX(100%);
}

/* ヘッダー：ページ最上部のみ（固定しない）。スマホはハンバーガーナビ */
.site-header {
  position: relative;
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4rem) 1.5rem clamp(1.75rem, 4vw, 2.25rem);
  background: var(--color-surface-strong);
  border-bottom: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-soft);
  z-index: 50;
}

.site-header__mark {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  color: var(--color-muted);
}

.site-header__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.8vw, 1.85rem);
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--color-ink);
}

/* ハンバーガー（スマホ幅のみ表示） */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-panel);
  background: #fff;
  cursor: pointer;
  font: inherit;
  color: var(--color-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(122, 58, 56, 0.05);
  border-color: var(--color-border);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.nav-toggle__box {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 1rem;
}

.nav-toggle__bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle__bar:nth-child(1) {
  top: 0;
}

.nav-toggle__bar:nth-child(2) {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle__bar:nth-child(3) {
  bottom: 0;
}

/* 開いた状態で × 型に */
.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  top: 50%;
  margin-top: -1px;
  transform: rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  bottom: 50%;
  margin-bottom: -1px;
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bar {
    transition: none;
  }
}

/* ページ内ナビ（タブレット以上は横並び） */
.site-nav {
  margin: clamp(1.25rem, 3vw, 1.75rem) 0 0;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.2rem;
  font-size: 0.8rem;
}

.site-nav__list li {
  display: flex;
  align-items: center;
}

.site-nav__list li:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 0.85em;
  margin: 0 0.65rem;
  background: var(--color-border);
  opacity: 0.7;
}

.site-nav__link {
  display: inline-block;
  padding: 0.35rem 0.5rem;
  color: var(--color-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.site-nav__link:hover {
  color: var(--color-accent);
  background-color: rgba(122, 58, 56, 0.06);
}

.site-header__sub {
  margin: 1.1rem 0 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* スマホ：ハンバーガー＋開閉パネル */
@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    margin: 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid transparent;
  }

  .site-header.is-nav-open .site-nav {
    display: block;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top-color: var(--color-border-light);
    animation: navReveal 0.25s ease;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    font-size: 0.88rem;
  }

  .site-nav__list li:not(:last-child)::after {
    display: none;
  }

  .site-nav__list li {
    width: 100%;
    border-bottom: 1px solid var(--color-border-light);
  }

  .site-nav__list li:first-child {
    border-top: 1px solid var(--color-border-light);
  }

  .site-nav__link {
    display: block;
    width: 100%;
    padding: 0.85rem 0.5rem;
    text-align: center;
  }
}

@keyframes navReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .site-header.is-nav-open .site-nav {
    animation: none;
  }
}

/* ヒーロー：背景は固定レイヤーに統一（このブロックは透明） */
.hero {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 12vw, 6.5rem) 1.5rem;
  min-height: min(58vh, 32rem);
}

.hero__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.75rem, 5vw, 3rem);
}

.hero__vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  letter-spacing: 0.42em;
  margin: 0;
  padding: 0.75rem 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.38);
  min-height: 8.5em;
  font-weight: 500;
  color: #faf8f4;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero__lead {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.95;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}

/* セクション：半透明パネルで本文を読みやすく */
.section {
  padding: var(--space-section) 1.5rem;
  scroll-margin-top: 0.5rem;
}

.section--surface {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.section__inner {
  max-width: 720px;
  margin: 0 auto;
}

.section__inner--menu {
  max-width: 900px;
}

.section__heading {
  margin: 0 0 var(--space-block);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-ink);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
}

/* 当店について */
.about__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.35rem, 3.5vw, 2.25rem);
  align-items: start;
}

.about__text {
  margin: 0;
  font-size: 0.91rem;
  color: var(--color-muted);
}



@media (max-width: 600px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__vertical {
    writing-mode: horizontal-tb;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding-left: 0;
    padding-top: 1rem;
  }
}

/* メニュー（5品・4:3） */

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list__item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.menu-list__figure {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(10.5rem, 17rem) 1fr;
  gap: clamp(1.15rem, 2.8vw, 2rem);
  align-items: center;
}

.menu-list__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-panel);
  background-color: #ebe6dc;
}

.menu-list__caption {
  font-size: 0.9rem;
}

.menu-list__name {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--color-ink);
}

.menu-list__desc {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

@media (max-width: 640px) {
  .menu-list__figure {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* アクセス：店舗詳細・Googleマップ埋め込み */
.section__inner--access {
  max-width: 920px;
}

.access__lead {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.9;
}

.access__dl {
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem 1.35rem;
  font-size: 0.88rem;
}

.access__dl dt {
  margin: 0;
  color: var(--color-muted);
  font-weight: 500;
}

.access__dl dd {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.75;
}

.access__tel {
  color: var(--color-ink);
  font-weight: 500;
  text-decoration: none;
}

.access__tel:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.access__tel-note {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-muted);
}

.access__map-heading {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: center;
  color: var(--color-ink);
}

.access__map-block {
  margin: 0;
}

.access__map-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-panel);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
  background: #e8e4dc;
}

.access__map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.access__map-link {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.84rem;
}

.access__map-external {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.access__map-external:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 560px) {
  .access__dl {
    grid-template-columns: 1fr;
  }

  .access__dl dt {
    margin-top: 0.5rem;
  }

  .access__dl dt:first-of-type {
    margin-top: 0;
  }

  .access__map-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* 連絡 */
.contact__inner {
  text-align: center;
}

.contact__lead {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  font-family: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-panel);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  opacity: 0.92;
}

.btn:active {
  transform: scale(0.99);
}

.btn--tel {
  background-color: var(--color-ink);
  color: #fff;
  border: 1px solid var(--color-ink);
}

.btn--line {
  background-color: #06c755;
  color: #fff;
  border: 1px solid #06c755;
}

.contact__tel-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-muted);
}

/* フッター：店舗名・所在地・電話・ページ内ナビ */
.site-footer {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 5vw, 2.75rem) 1.5rem clamp(1.75rem, 4vw, 2.5rem);
  background: var(--color-surface-strong);
  border-top: 1px solid var(--color-border-light);
  box-shadow: 0 -4px 40px rgba(42, 38, 34, 0.05);
}

.footer__inner {
  max-width: 960px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.footer__info {
  flex: 1 1 14rem;
  min-width: min(100%, 14rem);
}

.footer__brand {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-ink);
}

.footer__address {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  font-style: normal;
  color: var(--color-muted);
  line-height: 1.85;
}

.footer__tel {
  margin: 0;
  font-size: 0.9rem;
}

.footer__tel a {
  color: var(--color-ink);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.footer__tel a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.footer-nav {
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.75rem;
  font-size: 0.8rem;
}

.footer-nav__link {
  display: inline-block;
  padding: 0.3rem 0.15rem;
  color: var(--color-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-nav__link:hover {
  color: var(--color-accent);
  background-color: rgba(122, 58, 56, 0.06);
}

.footer__copyright {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

@media (max-width: 640px) {
  .footer__top {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-nav__list {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .footer-nav__link {
    padding: 0.45rem 0;
  }
}

/* 縦方向フェードイン */
.fade-in-vertical {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-vertical.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-vertical {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

.hero .fade-in-vertical {
  transition-delay: 0.12s;
}
