@charset "UTF-8";
/* まるはちたにがわ — 共通スタイル */
:root {
  --brown: #3d200e;
  --brown-light: #775952;
  --brown-dark: #5b3630;
  --ink: #41210f;
  --paper: #f1efe9;
  --line: #c4b8b3;
  --band: #c0b3ac;
  --accent: #d4004a;
  --alert: #c0000c;
  --bullet: #7d2875;
  --maxw: 980px;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "MS PMincho", serif;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper) url("../images/bg.webp") repeat left top;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.8;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, p { margin: 0; font-weight: inherit; font-size: inherit; }

.inner { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--brown);
  color: #fff;
  box-shadow: 0 3px 8px rgb(0 0 0 / .35);
  position: relative;
  z-index: 10;
}
.site-header > .inner:first-child {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-block: 20px 14px;
}
.logo img { width: 243px; }

.tel-btn {
  display: block; text-decoration: none; color: #fff; text-align: center;
  background: var(--accent); outline: 1px solid #ff6b9a; outline-offset: -4px;
  border: 1px solid #8f0030; padding: 4px 18px 6px; line-height: 1.4;
}
.tel-btn span { display: block; font-size: 14px; border-bottom: 1px solid rgb(255 255 255 / .5); }
.tel-btn b { font-size: 20px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.tel-btn:hover { background: #b80040; }

.gnav ul { display: flex; padding-block: 0; }
.gnav li { flex: 1 1 0; border-left: 1px solid #6b4a3a; }
.gnav li:last-child { border-right: 1px solid #6b4a3a; }
.gnav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60px; padding: 6px 4px; color: #fff; text-decoration: none;
  font-size: 20px; font-weight: 700; line-height: 1.3; text-align: center;
}
.gnav a small { font-size: 12px; font-weight: 400; }
.gnav a:hover, .gnav a[aria-current="page"] { background: rgb(255 255 255 / .12); }

@media (min-width: 761px) {
  .site-header { position: sticky; top: 0; }
}

@media (max-width: 760px) {
  .logo img { width: 180px; }
  .tel-btn { padding: 2px 10px 4px; }
  .tel-btn span { font-size: 12px; }
  .tel-btn b { font-size: 15px; }
  .gnav ul { flex-wrap: wrap; padding-inline: 0; }
  .gnav li { flex: 1 1 33.333%; border-top: 1px solid #6b4a3a; }
  .gnav a { font-size: 16px; min-height: 52px; }
}

/* ---------- ページタイトルバナー ---------- */
.banner { background: var(--band); margin-top: 50px; }
.banner .inner { padding-inline: 0; }
.banner img { width: 100%; }

.lead { padding-block: 40px 20px; font-size: 18px; line-height: 1.8; }
.lead .note, .note { color: var(--alert); font-size: 14px; line-height: 1.8; }
.lead p + .note, .lead .note { margin-top: 4px; }

/* ---------- 小見出し画像 ---------- */
.sub { margin: 36px 0 28px; }
.sub img { width: 100%; }

/* ---------- メニュー ---------- */
.dish, .prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line); padding: 8px 0 6px; font-size: 18px; line-height: 1.7;
}
.dish { border-top: 1px solid var(--line); margin-top: 18px; }
.name::before { content: "◆"; color: var(--bullet); font-size: .8em; margin-right: .4em; }
.shidashi .name::before { color: #c73f04; }
.shidashi .blue .name::before { color: #2e3c8d; }
.kisetsu .name::before { color: #1d713b; }
.price { white-space: nowrap; }

.grid {
  display: grid; gap: 40px 40px; margin-block: 0 40px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid img { width: 100%; }
.grid .dish { margin-top: 18px; }
.inner > .grid:first-of-type, .inner > .feature { margin-top: 20px; }

.feature {
  display: grid; grid-template-columns: minmax(0, 640px) minmax(280px, 1fr);
  gap: 40px; align-items: end; margin-block: 0 40px;
}
.feature img { width: 100%; }
.feature .prices li:first-child { border-top: 1px solid var(--line); }
.feature .prices li { margin-top: 12px; }
.feature .prices li + li { margin-top: 12px; }

.feature.nabe { grid-template-columns: 300px 1fr 1fr; gap: 30px; align-items: start; }
.feature.nabe .prices li { margin-top: 0; }
.feature.nabe .prices li:first-child { border-top: 1px solid var(--line); }
.feature.nabe .prices { align-self: start; padding-top: 0; }
.feature:not(.nabe) .prices .name { white-space: nowrap; }
@media (max-width: 900px) {
  .feature.nabe { grid-template-columns: 1fr 1fr; }
  .feature.nabe img { grid-column: 1 / -1; max-width: 300px; }
}

@media (max-width: 760px) {
  .lead { font-size: 16px; padding-block: 28px 12px; }
  .grid, .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .dish, .prices li { font-size: 15px; flex-wrap: wrap; column-gap: 8px; }
  .feature, .feature.nabe { grid-template-columns: 1fr; gap: 12px; }
  .feature.nabe img { max-width: 300px; }
  .feature.nabe .prices + .prices { margin-top: -12px; }
}
@media (max-width: 480px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
}

/* ---------- トップページ ---------- */
.hero { position: relative; margin-top: 50px; background: #000; overflow: hidden; }
.slides { position: relative; z-index: 0; height: clamp(220px, 44vw, 520px); }
.slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; z-index: 1; animation: fade 20s infinite;
}
.slides img:nth-child(1) { opacity: 1; animation-delay: -0.8s; }
.slides img:nth-child(2) { animation-delay: 3.2s; }
.slides img:nth-child(3) { animation-delay: 7.2s; }
.slides img:nth-child(4) { animation-delay: 11.2s; }
.slides img:nth-child(5) { animation-delay: 15.2s; }
/* 次の画像が前の画像の上でフェードインし、完全に重なってから前の画像を消す */
@keyframes fade {
  0%      { opacity: 0; z-index: 3; }
  4%      { opacity: 1; z-index: 3; }
  4.01%   { opacity: 1; z-index: 2; }
  22%     { opacity: 1; z-index: 2; }
  22.01%  { opacity: 1; z-index: 1; }
  25%     { opacity: 1; z-index: 1; }
  25.01%  { opacity: 0; z-index: 1; }
  100%    { opacity: 0; z-index: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slides img { animation: none; }
  .slides img:not(:first-child) { display: none; }
}
.hero > .inner { position: absolute; inset: 0; pointer-events: none; }
.maincopy { position: absolute; right: 16px; top: 3%; height: 94%; width: auto; max-width: none; }

.info, .about { padding-top: 56px; }
.info h2 img, .about h2 img { width: 100%; }
.news { display: flex; gap: 24px; padding: 28px 0 0 24px; font-size: 15px; }
.news time { white-space: nowrap; }

.about-body { display: grid; grid-template-columns: minmax(0, 426px) minmax(0, 1fr); gap: 56px; padding-top: 28px; }
@media (max-width: 900px) {
  .about-body { grid-template-columns: 1fr; gap: 28px; }
}
.about-text p, .about-text li { font-size: 15px; line-height: 1.9; }
.about-text ul { margin: 0 0 10px; padding-left: 10px; }
.about-text li::before { content: "・"; }
.about-text img { width: 100%; }
.about-text .shoplogo { margin-top: 6px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.about-text address { font-style: normal; font-size: 15px; line-height: 1.9; margin-top: 8px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

.cards { background: var(--brown); margin-top: 56px; padding-block: 28px; }
.cards ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cards li { display: flex; flex-direction: column; color: #fff; }
.cards li > a:first-child img { width: 100%; }
.cards li p { flex: 1; padding: 10px 0 14px; font-size: 14px; line-height: 1.9; }
.more {
  display: block; text-align: center; text-decoration: none; color: #fff; font-weight: 700;
  background: #c8001a; border: 1px solid #ff6b78; outline: 1px solid #7f000f; outline-offset: -4px;
  padding: 8px 0; letter-spacing: .15em;
}
.more:hover { background: #a80015; }

@media (max-width: 900px) {
  .cards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .about-body { grid-template-columns: 1fr; gap: 28px; }
  .news { padding-left: 4px; flex-direction: column; gap: 0; }
  .maincopy { right: 8px; }
}
@media (max-width: 480px) {
  .cards ul { grid-template-columns: 1fr; }
}

/* ---------- お問い合わせ ---------- */
.contact { padding-block: 80px 80px; text-align: center; }
.contact h1 { font-size: 28px; margin-bottom: 40px; letter-spacing: .2em; }
.contact .lead-l { font-size: clamp(15px, 4.8vw, 22px); }
.contact .tel-large { font-size: clamp(28px, 7vw, 44px); font-weight: 700; margin: 20px 0 28px; letter-spacing: .04em; }
.contact .tel-large a { text-decoration: none; }
.contact p { margin-bottom: 12px; }

/* ---------- ページ上部へ・フッター ---------- */
.pagetop { display: block; width: 60px; margin: 48px auto 40px; }
.pagetop img { transition: transform .2s; }
.pagetop:hover img { transform: translateY(-4px); }

.site-footer { color: #f2f0eb; text-align: center; font-size: 14px; line-height: 1.8; }
.site-footer .addr { background: var(--brown-light); padding: 12px 16px; }
.site-footer .copy { background: var(--brown-dark); padding: 12px 16px; }
.site-footer a { text-decoration: underline; }

/* ---------- キーボード操作 ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--ink); padding: 8px 14px; border: 2px solid var(--ink);
}
.skip-link:focus { top: 8px; }
.skip-link:focus-visible { outline-color: #ffb400; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 2px; }
.site-header :focus-visible, .cards :focus-visible, .site-footer :focus-visible { outline-color: #ffb400; }
.tel-btn:focus-visible, .more:focus-visible { outline-offset: 3px; }
@media (min-width: 761px) { html { scroll-padding-top: 180px; } }

.hero:hover .slides img, .hero:focus-within .slides img { animation-play-state: paused; }
.hero:focus-visible { outline: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero:focus-visible::after { outline: 3px solid #ffb400; outline-offset: -4px; }
