/* 田舎っぺうどん — 和風スタイル */
:root {
  --washi: #f6f1e6;
  --paper: #fffdf7;
  --sumi: #26211d;
  --sumi-soft: #5a5148;
  --ai: #1f3552;          /* 藍 */
  --ai-deep: #15253b;
  --shu: #b3322a;         /* 朱 */
  --kin: #a4813f;         /* 金茶 */
  --line: #d8ccb4;
  --wrap: 1080px;
  --mincho: "Zen Old Mincho", "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --title: "Shippori Mincho B1", "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  /* 青海波 */
  --seigaiha: radial-gradient(circle at 100% 150%, transparent 24%, rgba(255,255,255,.07) 25%, rgba(255,255,255,.07) 28%, transparent 29%, transparent 36%, rgba(255,255,255,.07) 37%, rgba(255,255,255,.07) 40%, transparent 41%, transparent 48%, rgba(255,255,255,.07) 49%, rgba(255,255,255,.07) 52%, transparent 53%),
              radial-gradient(circle at 0 150%, transparent 24%, rgba(255,255,255,.07) 25%, rgba(255,255,255,.07) 28%, transparent 29%, transparent 36%, rgba(255,255,255,.07) 37%, rgba(255,255,255,.07) 40%, transparent 41%, transparent 48%, rgba(255,255,255,.07) 49%, rgba(255,255,255,.07) 52%, transparent 53%),
              radial-gradient(circle at 50% 100%, transparent 24%, rgba(255,255,255,.07) 25%, rgba(255,255,255,.07) 28%, transparent 29%, transparent 36%, rgba(255,255,255,.07) 37%, rgba(255,255,255,.07) 40%, transparent 41%, transparent 48%, rgba(255,255,255,.07) 49%, rgba(255,255,255,.07) 52%, transparent 53%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--mincho);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--sumi);
  background-color: var(--washi);
  /* 和紙の繊維感 */
  background-image:
    radial-gradient(rgba(120, 95, 60, .05) 1px, transparent 1px),
    radial-gradient(rgba(120, 95, 60, .035) 1px, transparent 1px);
  background-size: 7px 7px, 13px 13px;
  background-position: 0 0, 3px 5px;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--ai); text-underline-offset: 3px; }
a:hover { color: var(--shu); }
h1, h2, h3 { font-family: var(--title); font-weight: 700; line-height: 1.5; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.right { text-align: right; }
.shu { color: var(--shu); }

/* ---------- 上部帯 ---------- */
.topbar { background: var(--ai-deep); background-image: var(--seigaiha); background-size: 40px 20px; color: #efe7d6; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; }
.topbar__tag { margin: 0; letter-spacing: .12em; }
.topbar__right { display: flex; align-items: center; gap: 14px; }
.topbar a { color: #efe7d6; text-decoration: none; }
.topbar__tel { font-size: 14px; letter-spacing: .08em; }
.topbar__btn { background: var(--shu); padding: 9px 18px; letter-spacing: .15em; }
.topbar__btn:hover { background: #8f241e; color: #fff; }

/* ---------- ヘッダー ---------- */
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header::after { content: ""; display: block; height: 3px; background: repeating-linear-gradient(90deg, var(--shu) 0 40px, var(--ai) 40px 80px); opacity: .85; }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.header__logo img { width: 190px; display: block; }
.gnav ul { list-style: none; display: flex; margin: 0; padding: 0; }
.gnav a {
  display: block; padding: 10px 20px; text-decoration: none; color: var(--sumi);
  font-family: var(--title); font-weight: 700; font-size: 15px; letter-spacing: .14em; position: relative;
}
.gnav li + li a::before { content: ""; position: absolute; left: 0; top: 30%; height: 40%; border-left: 1px solid var(--line); }
.gnav a:hover, .gnav a[aria-current] { color: var(--shu); }
.gnav a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 6px; background: var(--shu); transform: translateX(-50%) rotate(45deg); }
.navbtn { display: none; }

/* ---------- メインビジュアル ---------- */
.hero { position: relative; overflow: hidden; background: var(--sumi); aspect-ratio: 1920 / 790; max-height: 640px; width: 100%; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__cap {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: linear-gradient(90deg, rgba(20, 16, 12, .0) 10%, rgba(20, 16, 12, .45) 50%, rgba(20, 16, 12, .0) 90%);
}
.hero__h { font-family: var(--title); font-weight: 800; font-size: clamp(22px, 3.6vw, 44px); letter-spacing: .18em; margin: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.hero__s { font-size: clamp(14px, 1.6vw, 19px); letter-spacing: .14em; margin: .6em 0 0; text-shadow: 0 2px 8px rgba(0, 0, 0, .7); }
.hero__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.hero__dots button.is-active { background: var(--shu); }

/* ---------- キャッチ ---------- */
.catch { text-align: center; padding: 56px 0 24px; }
.catch__main { font-family: var(--title); font-weight: 800; font-size: clamp(22px, 3vw, 34px); letter-spacing: .12em; margin: 0; }
.catch__sub { margin: .4em 0 0; color: var(--sumi-soft); letter-spacing: .1em; font-size: clamp(13px, 1.5vw, 16px); }
.catch::after { content: ""; display: block; width: 120px; height: 14px; margin: 28px auto 0;
  background: radial-gradient(circle, var(--shu) 3px, transparent 4px) center / 14px 14px no-repeat,
              linear-gradient(var(--line), var(--line)) center / 100% 1px no-repeat; }

/* ---------- セクション ---------- */
.sec { padding: 56px 0; }
.sec--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-title { text-align: center; margin: 0 0 32px; }
.sec-title__en { display: block; font-family: var(--mincho); font-size: 12px; letter-spacing: .4em; color: var(--kin); text-transform: uppercase; font-weight: 400; }
.sec-title__ja { display: inline-block; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .25em; padding: 0 1.4em; position: relative; }
.sec-title__ja::before, .sec-title__ja::after { content: ""; position: absolute; top: 50%; width: 1em; border-top: 1px solid var(--shu); }
.sec-title__ja::before { left: 0; }
.sec-title__ja::after { right: 0; }
.sec .sec-title:not(:first-child) { margin-top: 56px; }

.pagehead { background: var(--ai); background-image: var(--seigaiha); background-size: 48px 24px; color: #f4ecdb; text-align: center; padding: 44px 0 40px; }
.pagehead h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); letter-spacing: .3em; }
.pagehead__en { margin: 0; font-size: 12px; letter-spacing: .45em; text-transform: uppercase; color: #d9c08a; }

.frame { margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); box-shadow: 4px 4px 0 rgba(164, 129, 63, .18); display: inline-block; }
.frame img { display: block; }
figure.center { display: block; width: fit-content; margin: 0 auto; }

.btn {
  display: inline-block; padding: 12px 40px; border: 1px solid var(--sumi); color: var(--sumi); text-decoration: none;
  font-family: var(--title); font-weight: 700; letter-spacing: .2em; background: var(--paper); position: relative;
}
.btn::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--line); pointer-events: none; }
.btn:hover { background: var(--sumi); color: var(--paper); }
.btn--sm { padding: 6px 18px; font-size: 13px; margin-top: 6px; }
.more { text-align: center; margin: 32px 0 0; }
.lead { font-size: 17px; }
.note { text-align: right; color: var(--sumi-soft); font-size: 14px; }

/* お知らせ */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news__item a { display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px dashed var(--line); text-decoration: none; color: var(--sumi); }
.news__item a:hover { background: rgba(255, 253, 247, .7); color: var(--shu); }
.news time { flex: 0 0 9.5em; color: var(--kin); font-size: 14px; letter-spacing: .06em; padding-top: 2px; }
.news__title { font-weight: 700; }

/* お店の紹介 */
.story { display: flex; gap: 40px; align-items: flex-start; }
.story__img { flex: 0 0 auto; max-width: 42%; }
.story__text p { margin: 0 0 1em; }
.story__text--poem { font-size: 18px; line-height: 2.2; font-family: var(--title); }

/* お品書き（トップ） */
.pick { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pick li { text-align: center; }
.pick img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); padding: 6px; background: var(--paper); }
.pick__name { font-family: var(--title); font-weight: 800; font-size: 20px; letter-spacing: .2em; margin: .5em 0 0; }
.pick__note { margin: 0; color: var(--sumi-soft); font-size: 14px; }

/* お品書き（ページ） */
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.dish { background: var(--paper); border: 1px solid var(--line); padding: 8px; }
.dish img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.dish__body { position: relative; padding: 12px 8px 4px; }
.dish__name { font-family: var(--title); font-weight: 800; font-size: 21px; letter-spacing: .2em; margin: 0; }
.dish__note { margin: 0; font-size: 14px; color: var(--sumi-soft); }
.dish__price { margin: 6px 0 0; font-size: 18px; text-align: right; border-top: 1px dotted var(--line); padding-top: 6px; }
.hanko {
  position: absolute; top: -26px; right: 8px; width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--shu); color: #fff; font-family: var(--title); font-weight: 800; font-size: 14px; letter-spacing: 0;
  border-radius: 6px; transform: rotate(-6deg); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}
.price { margin: 0; border-top: 2px solid var(--sumi); }
.price div { display: flex; align-items: baseline; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.price dt { flex: 1; }
.price dt::after { content: ""; }
.price dd { margin: 0; font-weight: 700; white-space: nowrap; }

/* 情報表 */
.info { margin: 0; border-top: 2px solid var(--sumi); }
.info div { display: flex; border-bottom: 1px solid var(--line); }
.info dt { flex: 0 0 9em; padding: 14px 12px; background: rgba(164, 129, 63, .08); font-weight: 700; letter-spacing: .12em; }
.info dd { margin: 0; padding: 14px 16px; }
.shop { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; }
.map { display: block; }
.map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; }

/* お問合せ */
.contact { display: grid; gap: 20px; margin-top: 32px; }
.contact__box { background: var(--paper); border: 1px solid var(--line); padding: 24px 28px; text-align: center; position: relative; }
.contact__box::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(179, 50, 42, .25); pointer-events: none; }
.contact__label { margin: 0; color: var(--kin); letter-spacing: .2em; font-size: 14px; }
.contact__big { display: inline-block; font-family: var(--title); font-weight: 800; font-size: clamp(26px, 4vw, 36px); letter-spacing: .08em; color: var(--sumi); text-decoration: none; margin: 4px 0; }
.contact__big--mail { font-size: clamp(18px, 3vw, 26px); letter-spacing: .02em; word-break: break-all; }
.contact__note { margin: 0; font-size: 14px; color: var(--sumi-soft); }

/* お問い合わせフォーム */
.form { background: var(--paper); border: 1px solid var(--line); padding: 32px 40px; scroll-margin-top: 110px; }
.form__row { display: grid; grid-template-columns: 11em 1fr; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px dotted var(--line); }
.form__row label { font-weight: 700; padding-top: 8px; letter-spacing: .1em; }
.req { display: inline-block; margin-left: .6em; padding: 0 .5em; background: var(--shu); color: #fff; font-size: 11px; font-weight: 400; letter-spacing: .05em; vertical-align: 2px; line-height: 1.7; }
.form input, .form textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); background: #fff; color: var(--sumi); border-radius: 0;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--ai); outline-offset: 1px; border-color: var(--ai); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: 13px; color: var(--sumi-soft); margin: 20px 0; }
.form__error { background: #fbeceb; border: 1px solid var(--shu); color: #8f241e; padding: 12px 16px; margin: 0 0 12px; }
.form .btn { font-size: 16px; cursor: pointer; }

/* 記事 */
.post { background: var(--paper); border: 1px solid var(--line); padding: 32px 40px; }
.post__head { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.post__head time { color: var(--kin); font-size: 14px; }
.post__head h2 { margin: .2em 0 .6em; font-size: clamp(20px, 2.4vw, 26px); }
.prose h2, .prose h3, .prose h4 { border-left: 4px solid var(--shu); padding-left: .6em; margin: 1.8em 0 .6em; font-size: 19px; }
.prose img { margin: 8px 0; }
.prose table { border-collapse: collapse; max-width: 100%; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; font-size: 14px; }
.pager a { max-width: 48%; }

/* ---------- フッター ---------- */
.footer { background: var(--ai-deep); background-image: var(--seigaiha); background-size: 56px 28px; color: #e9e0cd; margin-top: 0; }
.footer a { color: #f2e9d6; }
.footer__nav { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 14px 0; }
.footer__nav a { text-decoration: none; padding: 4px 18px; font-size: 14px; letter-spacing: .12em; }
.footer__in { display: flex; gap: 48px; padding-top: 36px; padding-bottom: 28px; align-items: flex-start; }
.footer__brand { flex: 0 0 auto; text-align: center; }
.footer__brand img { width: 190px; background: var(--paper); padding: 10px 14px; }
.footer__catch { margin: 0 0 8px; font-family: var(--title); font-weight: 800; letter-spacing: .4em; color: #d9c08a; }
.footer__info p { margin: 0; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 10px 0 0; font-size: 14px; }
.hours dt { color: #d9c08a; }
.hours dd { margin: 0; }
.footer__copy { text-align: center; font-size: 12px; margin: 0; padding: 14px; border-top: 1px solid rgba(255, 255, 255, .12); letter-spacing: .1em; }

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  .topbar__tag { display: none; }
  .topbar__in { justify-content: flex-end; }
  .header__in { min-height: 64px; }
  .header__logo img { width: 150px; }
  .navbtn {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 52px; height: 52px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; padding: 0;
  }
  .navbtn span { display: block; width: 22px; height: 2px; background: var(--sumi); }
  .navbtn b { font-size: 9px; font-weight: 400; letter-spacing: .05em; line-height: 1; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 3px solid var(--shu); }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; }
  .gnav a { padding: 14px 20px; border-top: 1px solid var(--line); }
  .gnav li + li a::before, .gnav a[aria-current]::after { display: none; }
  .hero { aspect-ratio: 4 / 3; }
  .story, .shop { display: block; }
  .story__img { max-width: 100%; margin-bottom: 20px; }
  .pick { grid-template-columns: 1fr; }
  .news__item a { flex-direction: column; gap: 0; }
  .info div { flex-direction: column; }
  .info dt { flex: none; padding: 8px 12px; }
  .post { padding: 20px 16px; }
  .form { padding: 16px; }
  .form__row { grid-template-columns: 1fr; gap: 4px; }
  .form__row label { padding-top: 0; }
  .footer__in { flex-direction: column; gap: 20px; }
  .footer__brand { text-align: left; }
}
