



/* ==================================================================
   恵比寿商店 design/tokens.css v0.1 と同値。公開サイトは紺地（夜の店）が基本、
   お品書き・名物など読む面は和紙地（.washi）。管理画面は admin-base.css の明るい配色。
   ================================================================== */
:root {
  --noren-navy: #2b2520; /* v0.2: 紺は使わない（ロゴ画像のみ）。旧参照は煤木に置換 */
  --chochin-red: #b8262a;
  --sumi: #221d17;
  --washi: #efe6d2;
  --marker-orange: #b8262a;
  --wood: #4f3e32;

  --ink: #efe6d2;
  --ink-soft: #cfc3ad;
  --ink-faint: #9a8f80;
  --ground: #2b2520;
  --surface: #36302a;
  --surface-tint: #423a32;
  --line: #4e453b;
  --accent: #ec6a5e;
  --hot: #ec6a5e;
  --hot-2: #ec6a5e;

  --font-brush: var(--font-yuji), "Yuji Syuku", serif;
  --font-heading: var(--font-klee), "Klee One", "Noto Sans JP", sans-serif;
  --font-hand: var(--font-klee), "Klee One", "Noto Sans JP", sans-serif;
  --font-sans: var(--font-noto), "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* admin-base.css が参照する旧トークン名（管理画面は明るい配色） */
  --c-primary: #2b2520;
  --c-primary-dark: #1e1a16;
  --c-accent: #ba1a1f;
  --c-accent-soft: #fbe9e9;
  --c-text: #221d17;
  --c-muted: #5a4f45;
  --c-bg: #ffffff;
  --c-surface: #f6f3ee;
  --c-border: #e2dbd0;
  --radius: 8px;
  --space: 1;
  --container: 1180px;
  --font-body: var(--font-sans);
  --c-primary-soft: color-mix(in srgb, var(--c-primary) 10%, white);
  --c-primary-ghost: color-mix(in srgb, var(--c-primary) 5%, white);
  --c-accent-dark: color-mix(in srgb, var(--c-accent) 75%, black);
  --shadow-sm: 0 1px 2px rgba(20, 30, 40, 0.06);
  --shadow-md: 0 6px 18px rgba(20, 30, 40, 0.1);
  --shadow-lg: 0 18px 40px rgba(20, 30, 40, 0.14);
  --c-ok: #2e6b45;
  --c-warn: #9a6a12;
  --c-crit: #8e2a22;
}

/* 和紙地の面: 文字色を墨に切り替える */
.washi {
  --ink: #221d17;
  --ink-soft: #5a4f45;
  --ink-faint: #8c8176;
  --ground: #efe6d2;
  --surface: #f7f1e3;
  --surface-tint: #e6d9be;
  --line: #d3c4a6;
  --accent: #b8262a;
  --hot: #b8262a;
  --hot-2: #b8262a;
  background: #e4d4b2 url(../board/old-tile.jpg) repeat;
  color: var(--ink);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
html[data-scroll-behavior="smooth"] {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.85;
  font-feature-settings: "palt";
}
.site a {
  color: var(--accent);
  text-decoration: none;
}
.site a:hover {
  color: var(--hot);
}
.site h1,
.site h2,
.site h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-wrap: balance;
}
img {
  max-width: 100%;
  height: auto;
}
:focus-visible {
  outline: 3px solid var(--marker-orange);
  outline-offset: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
.num {
  font-variant-numeric: tabular-nums;
}
.brush {
  font-family: var(--font-brush);
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-brush);
  font-size: 24px;
  color: var(--hot-2);
  margin: 0 0 8px;
  line-height: 1.2;
}
.washi .eyebrow {
  color: var(--chochin-red);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--chochin-red);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}
.skip-link:focus {
  top: 8px;
}

/* ---------- レイアウト ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 640px) {
  .wrap {
    padding-inline: 24px;
  }
}
@media (min-width: 1024px) {
  .wrap {
    padding-inline: 40px;
  }
}
.sec {
  padding-block: 56px;
}
@media (min-width: 900px) {
  .sec {
    padding-block: 96px;
  }
}
.row {
  display: flex;
  gap: 32px;
  align-items: center;
}
.row > * {
  min-width: 0;
}
@media (max-width: 859px) {
  .row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
}
.grid {
  display: grid;
  gap: 16px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 859px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* ---------- ボタン ---------- */
.site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  background: none;
  box-shadow: none;
  line-height: 1.3;
}
.site .btn-red {
  background: var(--chochin-red);
  color: #fff;
  border-color: var(--chochin-red);
}
.site .btn-red:hover {
  background: #a0161a;
  color: #fff;
}
.site .btn-line {
  border-color: var(--ink);
  color: var(--ink);
}
.site .btn-line:hover {
  background: rgba(244, 239, 230, 0.12);
  color: var(--ink);
}
.washi .btn-line:hover {
  background: rgba(27, 44, 67, 0.08);
}
.site .btn-navy {
  background: var(--noren-navy);
  color: var(--washi);
  border-color: var(--noren-navy);
}
.site .btn-navy:hover {
  background: #12213a;
  color: var(--washi);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(30, 26, 22, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  color: var(--washi);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--washi) !important;
  text-decoration: none;
}
.logo-lockup img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  outline: 1px solid var(--line);
}
.logo-lockup .t {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-lockup .s {
  font-size: 10.5px;
  letter-spacing: 0.18em;
}
.logo-lockup .n {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.head-tel .lbl {
  display: none;
}
@media (max-width: 520px) {
  .head-tel .num {
    display: none;
  }
  .head-tel .lbl {
    display: inline;
  }
}
.gnav {
  display: none;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
}
.gnav a {
  color: var(--washi) !important;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.gnav a:hover,
.gnav a[aria-current="page"] {
  border-bottom-color: var(--hot-2);
}
@media (min-width: 1024px) {
  .gnav {
    display: flex;
  }
}
.head-tel {
  background: var(--chochin-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  color: var(--washi);
  cursor: pointer;
}
@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(30, 26, 22, 0.98);
  color: var(--washi);
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
}
.drawer a {
  color: var(--washi) !important;
  font-size: 18px;
  font-family: var(--font-heading);
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
}
.drawer .close {
  align-self: flex-end;
}

/* ---------- ヒーロー（B1）---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) {
  .hero {
    min-height: 780px;
  }
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  z-index: -2;
}
.hero .ov {
  position: absolute;
  inset: 0;
  background: var(--noren-navy);
  opacity: var(--hero-overlay, 0.66);
  z-index: -1;
}
.hero .in {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 56px 20px 48px;
  max-width: 760px;
  margin-inline: auto;
}
.hero .in img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  outline: 2px solid rgba(244, 239, 230, 0.6);
  outline-offset: 6px;
}
@media (min-width: 900px) {
  .hero .in img {
    width: 150px;
    height: 150px;
  }
}
.hero h1 {
  font-size: clamp(28px, 6vw, 60px);
  letter-spacing: 0.06em;
  color: var(--washi);
}
.hero p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 32em;
}
.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero .today {
  position: relative;
  width: 100%;
  background: rgba(27, 44, 67, 0.88);
  border-top: 1px solid var(--line);
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero .today b {
  color: var(--washi);
}
.hero .today .closed b {
  color: var(--hot);
}

/* ---------- 営業時間の帯・表 ---------- */
.facts {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.facts > div {
  flex: 1 1 0;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.facts > div:last-child {
  border-right: 0;
}
.facts .k {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
}
.facts .v {
  font-weight: 700;
}
.facts .s {
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 859px) {
  .facts {
    flex-direction: column;
  }
  .facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }
  .facts > div:last-child {
    border-bottom: 0;
  }
}
.site table.plain {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}
.site table.plain th,
.site table.plain td {
  padding: 10px 0;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--line);
}
.site table.plain tr:first-child th,
.site table.plain tr:first-child td {
  border-top: 0;
}
.site table.plain th {
  font-weight: 500;
  color: var(--ink-faint);
  width: 7.5em;
  padding-right: 12px;
}
.site table.plain td.p {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- 写真帯（フィルム）---------- */
.film {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.film figure {
  flex: 0 0 min(72%, 360px);
  margin: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.film img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}
.film img.color {
  filter: none;
}
.film figcaption {
  font-size: 13.5px;
  color: var(--ink-soft);
}
.film figcaption b {
  color: var(--washi);
}

/* ---------- 紙焼きの壁（B3）---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding: 16px 8px;
}
@media (max-width: 640px) {
  .wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}
.print {
  margin: 0;
  background: #f4efe6;
  padding: 7px 7px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}
.print:nth-child(6n + 1) {
  transform: rotate(-2.5deg);
}
.print:nth-child(6n + 2) {
  transform: rotate(1.5deg) translateY(14px);
}
.print:nth-child(6n + 3) {
  transform: rotate(-1deg);
}
.print:nth-child(6n + 4) {
  transform: rotate(2deg) translateY(8px);
}
.print:nth-child(6n + 5) {
  transform: rotate(-1.5deg) translateY(18px);
}
.print:nth-child(6n + 6) {
  transform: rotate(1deg);
}
.print:hover {
  transform: rotate(0) scale(1.03);
  z-index: 1;
}
.print img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  filter: grayscale(1);
}
.print.now img {
  filter: none;
}
.print.now {
  outline: 2px solid var(--chochin-red);
  outline-offset: -2px;
}
.print figcaption {
  font-family: var(--font-brush);
  font-size: 13px;
  color: #221d17;
  margin-top: 7px;
  line-height: 1.2;
}
.print.now figcaption {
  color: #ba1a1f;
}
@media (prefers-reduced-motion: reduce) {
  .print,
  .print:hover {
    transition: none;
    transform: none;
  }
}

/* ---------- カード ---------- */
.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 859px) {
  .menu-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
.mcard {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  outline: 1px solid var(--line);
}
.mcard img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.mcard .ph {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surface-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-family: var(--font-brush);
  font-size: 22px;
}
.mcard .b {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mcard .badge {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--hot-2);
  font-weight: 700;
}
.washi .mcard .badge {
  color: var(--chochin-red);
}
.mcard .story {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.mcard .name {
  font-size: 13px;
  color: var(--ink-soft);
}
.mcard .price {
  font-weight: 700;
  margin-top: 4px;
}
.mcard .soldout {
  color: var(--hot);
  font-size: 13px;
  font-weight: 700;
}

/* お品書き全品（リスト型） */
.menu-list {
  display: flex;
  flex-direction: column;
}
.menu-list .it {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.menu-list .it:first-child {
  border-top: 0;
}
.menu-list .it img,
.menu-list .it .ph {
  width: 84px;
  height: 64px;
  object-fit: cover;
  background: var(--surface-tint);
  display: block;
}
.menu-list .it .story {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.menu-list .it .name {
  font-size: 13px;
  color: var(--ink-soft);
}
.menu-list .it .desc {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
}
.menu-list .it .price {
  font-weight: 700;
  white-space: nowrap;
  text-align: right;
}
.menu-list .it .price small {
  display: block;
  font-weight: 400;
  color: var(--ink-faint);
  font-size: 12px;
}
.menu-list .it.soldout {
  opacity: 0.6;
}
@media (max-width: 480px) {
  .menu-list .it {
    grid-template-columns: 64px 1fr auto;
  }
  .menu-list .it img,
  .menu-list .it .ph {
    width: 64px;
    height: 48px;
  }
}

/* ---------- お知らせ ---------- */
.news-list {
  display: flex;
  flex-direction: column;
}
.news-list a {
  display: grid;
  grid-template-columns: 7em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
}
.news-list a:first-child {
  border-top: 0;
}
.news-list time {
  color: var(--ink-faint);
  font-size: 13.5px;
}
.news-list .pin {
  font-size: 11px;
  color: var(--hot-2);
  margin-right: 6px;
  letter-spacing: 0.1em;
}
.article {
  max-width: 42em;
}
.article p {
  margin: 0 0 1.2em;
}

/* ---------- ページ見出し ---------- */
.page-head {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 38px);
}
.page-head .lead {
  color: var(--ink-soft);
  margin: 10px 0 0;
  max-width: 42em;
}
.crumbs {
  font-size: 12.5px;
  color: var(--ink-faint);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.crumbs a {
  color: var(--ink-faint) !important;
}

/* ---------- FAQ ---------- */
.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  display: flex;
  gap: 12px;
}
.faq summary::before {
  content: "Q";
  color: var(--hot-2);
  font-family: var(--font-brush);
  font-size: 22px;
  line-height: 1;
}
.washi .faq summary::before {
  color: var(--chochin-red);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq .a {
  padding: 0 0 16px 34px;
  color: var(--ink-soft);
}

/* ---------- フッター ---------- */
.site-footer {
  background: #1e1a16;
  color: var(--washi);
  border-top: 1px solid var(--line);
  padding: 44px 0 calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: 13.5px;
}
.site-footer .top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-footer a {
  color: var(--washi) !important;
}
.site-footer .copy {
  margin-top: 24px;
  font-size: 12px;
  opacity: 0.7;
}

/* ---------- 問い合わせフォーム（公開側） ---------- */
.site .form-grid .field input,
.site .form-grid .field textarea,
.site .form-grid .field select {
  background: #fff;
  color: #221d17;
  border-color: #d9cfc0;
}
.site .form-note {
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* ---------- スマホ下部の固定ボタン ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(30, 26, 22, 0.96);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn {
  min-height: 44px;
  font-size: 14px;
  padding: 8px 10px;
}
@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}
body:has(.sticky-cta) .site-footer {
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* ---------- 管理画面側で公開サイト用クラスが干渉しないように ---------- */
.admin,
.login-box {
  color: #221d17;
  font-family: var(--font-sans);
}
.admin-nav .brand svg rect {
  fill: #ba1a1f;
}
