/* =========================================================
   笑味 — 和 / 女将さん / 義理人情
   生成りの和紙 × 墨 × えんじ。金は細線だけに。
   ========================================================= */
:root {
  --kinari: #f5efe2;      /* 生成り */
  --kinari-2: #ece3d1;    /* 一段濃い和紙 */
  --sumi: #2a2320;        /* 墨 */
  --cha: #4a3a2f;         /* 濃い茶 */
  --enji: #8a2333;        /* えんじ */
  --enji-dark: #6c1a27;
  --kin: #a88a55;         /* 金（補助のみ） */
  --wood: #7a5638;        /* 木札 */
  --wood-light: #c9a57c;
  --line: rgba(74, 58, 47, .22);

  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --fude: "Yuji Syuku", "Shippori Mincho", serif;

  --wrap: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--sumi);
  background-color: var(--kinari);
  /* 和紙の繊維感（ごく薄いノイズ） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  font-family: var(--gothic);
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--enji); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--kin); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--sumi); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- ① 暖簾ヘッダー ---------- */
.noren { position: relative; background: var(--enji); color: var(--kinari); }
.noren__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 14px 16px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.logo { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo__genre {
  font-family: var(--mincho); font-size: 13px; letter-spacing: .2em;
  writing-mode: vertical-rl; line-height: 1.2; opacity: .9;
}
.logo__name { font-family: var(--fude); font-size: 40px; line-height: 1; letter-spacing: .08em; }
.logo__stamp {
  display: inline-grid; place-items: center; width: 24px; height: 24px;
  border: 1.5px solid var(--kinari); border-radius: 4px;
  font-family: var(--mincho); font-size: 13px; line-height: 1; transform: rotate(-4deg);
}
.nav { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 18px; }
.nav a {
  color: var(--kinari); text-decoration: none; font-size: 15px; letter-spacing: .08em;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:hover { border-bottom-color: var(--kin); }
/* 暖簾の切れ目と裾 */
.noren__slits { display: flex; height: 18px; }
.noren__slits span { flex: 1; background: var(--enji); border-radius: 0 0 6px 6px; }
.noren__slits span + span { margin-left: 3px; }
.noren { background: linear-gradient(var(--enji), var(--enji)) top / 100% calc(100% - 18px) no-repeat; }

@media (max-width: 560px) {
  .noren__inner { justify-content: center; }
  .nav { width: 100%; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 0; }
  .nav a { font-size: 13px; letter-spacing: 0; }
}

/* ---------- ② ファーストビュー ---------- */
.hero {
  max-width: var(--wrap); margin: 0 auto; padding: 28px 16px 40px;
  display: grid; gap: 28px; align-items: center;
}
.hero__photo { margin: 0; position: relative; }
.hero__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%;
  border-radius: 2px; box-shadow: 10px 10px 0 var(--kinari-2);
}
.hero__lead {
  margin: 0 0 8px; color: var(--enji); font-family: var(--mincho); font-weight: 700;
  font-size: 15px; letter-spacing: .14em;
}
.hero__lead::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--kin); vertical-align: middle; margin-right: 10px; }
.hero__copy {
  margin: 0 0 20px; font-family: var(--mincho); font-weight: 700; color: var(--sumi);
  font-size: clamp(34px, 9vw, 56px); line-height: 1.45; letter-spacing: .06em;
}
.hero__sub { margin: 0 0 28px; color: var(--cha); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: 0 26px; border: 1.5px solid var(--sumi); color: var(--sumi); background: transparent;
  text-decoration: none; font-weight: 700; letter-spacing: .1em; border-radius: 2px;
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--sumi); color: var(--kinari); }
.btn--primary { background: var(--enji); border-color: var(--enji); color: #fff; }
.btn--primary:hover { background: var(--enji-dark); border-color: var(--enji-dark); color: #fff; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-top: 48px; padding-bottom: 64px; }
}

/* ---------- お知らせ（立て札風） ---------- */
.notice {
  max-width: 720px; margin: 0 16px 8px; padding: 18px 20px;
  border: 1px solid var(--enji); background: #fffaf0; position: relative;
}
@media (min-width: 752px) { .notice { margin: 0 auto 8px; } }
.notice__label {
  position: absolute; top: -12px; left: 16px; margin: 0; padding: 0 10px;
  background: var(--enji); color: #fff; font-size: 13px; letter-spacing: .2em; line-height: 24px;
}
.notice__text { margin: 4px 0 0; font-family: var(--mincho); font-weight: 700; }
.notice__src { margin: 4px 0 0; font-size: 13px; }

/* ---------- セクション共通 ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: 64px 16px; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.section__head h2 {
  margin: 0; font-family: var(--mincho); font-weight: 700; font-size: clamp(26px, 6vw, 34px); letter-spacing: .1em;
}
/* 見出しの判子 */
.kanji {
  flex: none; display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 6px;
  background: var(--enji); color: #fff; font-family: var(--mincho); font-weight: 700; font-size: 20px;
  border-radius: 4px; transform: rotate(-3deg); box-shadow: inset 0 0 0 3px var(--enji), inset 0 0 0 4px rgba(255,255,255,.55);
}
.section__lead { margin: -8px 0 32px; color: var(--cha); }

/* ---------- ③ 笑味について ---------- */
.about__body { display: grid; gap: 28px; align-items: center; }
.about__photo { margin: 0; max-width: 420px; }
.about__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.about__photo figcaption { margin-top: 8px; font-size: 14px; color: var(--cha); }
.about__text {
  font-family: var(--mincho); font-size: 18px; line-height: 2.2;
  padding: 24px 22px; background: #fffaf0; border-left: 3px solid var(--enji);
}
.about__text p { margin: 0 0 .6em; }
.about__text p:last-child { margin-bottom: 0; }
@media (min-width: 820px) { .about__body { grid-template-columns: 420px 1fr; gap: 56px; } }

/* ---------- ④ お料理（木札） ---------- */
.dish-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
@media (min-width: 720px) { .dish-list { grid-template-columns: repeat(3, 1fr); } }
.dish { background: #fffaf0; border: 1px solid var(--line); display: flex; flex-direction: column; }
.dish__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--kinari-2); }
.dish__photo img { width: 100%; height: 100%; object-fit: cover; }
.dish__photo.is-empty { display: none; }
.is-draft .dish__photo.is-empty {
  display: grid; place-items: center; text-align: center; white-space: pre-line;
  border-bottom: 2px dashed var(--wood-light); color: var(--wood); font-size: 14px;
}
.dish__body { padding: 0 20px 22px; }
.dish__name {
  display: inline-block; margin: -1px 0 14px; padding: 10px 16px 8px;
  background: linear-gradient(90deg, #8a6240, var(--wood) 40%, #6d4c30);
  color: #fff8ea; font-family: var(--mincho); font-weight: 700; font-size: 20px; letter-spacing: .12em;
  box-shadow: 0 2px 0 rgba(0,0,0,.15);
}
.dish__text { margin: 0; }
.dish__price { margin: 8px 0 0; font-family: var(--mincho); font-weight: 700; color: var(--enji); }
.drinks h3 { font-family: var(--mincho); margin: 40px 0 12px; }
.drink-list { list-style: none; padding: 0; margin: 0; }
.drink-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dotted var(--line); }

/* ---------- ⑤ 店内 ---------- */
.space__body { display: grid; gap: 28px; align-items: center; }
.space__photo { margin: 0; }
.space__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 32%; }
.space__text > p { margin: 0 0 24px; }
.scenes { list-style: none; margin: 0 0 24px; padding: 0; }
.scenes li {
  font-family: var(--mincho); font-weight: 700; font-size: 19px; padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.scenes li span { font-weight: 500; color: var(--cha); font-size: 16px; margin-right: .3em; }
.scenes li::before { content: "◦"; color: var(--enji); margin-right: 10px; }
.takeout { padding: 14px 16px; background: var(--kinari-2); }
@media (min-width: 820px) { .space__body { grid-template-columns: 1.2fr 1fr; gap: 56px; } }

/* ---------- ⑥ ご案内 ---------- */
.info__card { display: grid; gap: 24px; }
.info-list { margin: 0; background: #fffaf0; border: 1px solid var(--line); border-top: 3px solid var(--enji); padding: 8px 20px; }
.info-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dotted var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row dt { font-family: var(--mincho); font-weight: 700; color: var(--cha); }
.info-row dd { margin: 0; overflow-wrap: anywhere; }
.info-row dd a { font-weight: 700; font-size: 19px; }
@media (max-width: 420px) { .info-row { grid-template-columns: 1fr; gap: 2px; } }
.map {
  min-height: 220px; display: grid; place-items: center; text-align: center;
  background: var(--kinari-2); color: var(--cha);
}
@media (min-width: 820px) { .info__card { grid-template-columns: 1.3fr 1fr; } }

/* ---------- ⑦ フッター ---------- */
.footer { margin-top: 32px; padding: 48px 16px 32px; background: var(--sumi); color: var(--kinari); text-align: center; }
.footer__name { margin: 0 0 20px; font-family: var(--fude); font-size: 40px; line-height: 1.2; }
.footer__name span { display: block; font-family: var(--mincho); font-size: 13px; letter-spacing: .3em; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin-bottom: 16px; }
.footer__nav a, .footer__sns a { color: var(--kinari); text-decoration: none; font-size: 15px; padding: 6px 0; }
.footer__nav a:hover { text-decoration: underline; }
.footer__sns { list-style: none; padding: 0; margin: 0 0 16px; display: flex; justify-content: center; gap: 16px; }
.footer__copy { margin: 0; opacity: .7; }

/* ---------- 確認用表示（draft: false で全て消える） ---------- */
.draft-only { display: none !important; }
.is-draft .draft-only { display: revert !important; }
.is-draft .map.draft-only { display: grid !important; border: 2px dashed var(--wood-light); }
.badge-draft {
  display: inline-block; margin-left: 8px; padding: 0 8px; vertical-align: middle;
  font-family: var(--gothic); font-size: 12px; font-weight: 700; letter-spacing: .05em; line-height: 22px;
  color: #7a4a00; background: #ffe7a8; border-radius: 3px;
}
.tag-draft {
  position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; font-size: 12px;
  background: #ffe7a8; color: #7a4a00;
}
.note-draft { font-size: 14px; color: #7a4a00; background: #fff4d4; padding: 8px 12px; border-left: 3px solid #e0b252; }
.info-row.is-pending dd { color: #8a7a6a; }
