/*
Theme Name: よってこや 昭べえ
Theme URI:
Author: 昭べえ
Description: よってこや 昭べえ オリジナルテーマ
Version: 1.0.0
Text Domain: izakaya-shobee
*/

/* ===== RESET & ROOT ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17.5px; scroll-behavior: smooth; }

:root {
  --cream:    #f5f0e8;
  --cream-2:  #ede5d5;
  --cream-3:  #e4d8c4;
  --white:    #fdfbf8;
  --charcoal: #1c1008;
  --brown:    #4a2c14;
  --brown-lt: #8b5e3c;
  --copper:   #a8722a;
  --copper-lt:#d4a96a;
  --text:     #2c1a0e;
  --text-mid: #6b4c35;
  --border:   #d4c4b0;
}

/* ===== BASE ===== */
body {
  font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
}

/* ===== SHARED LAYOUT ===== */
section { padding: 5.5rem 2rem; }
.container { max-width: 1200px; margin: auto; padding: 0 2rem; }
.sec-head { text-align: center; margin-bottom: 3.5rem; }
.sec-label {
  font-size: .68rem;
  letter-spacing: .5em;
  color: var(--copper);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
}
.sec-label::before, .sec-label::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--copper);
}
.sec-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--charcoal);
}
.sec-lead { font-size: .87rem; color: var(--text-mid); margin-top: .8rem; letter-spacing: .05em; }
.sec-more {
  text-align: center; margin-top: 2.8rem;
}
.sec-more a {
  display: inline-flex; align-items: center; gap: .7rem;
  border: 1px solid var(--charcoal); color: var(--charcoal);
  font-size: .76rem; letter-spacing: .3em; padding: .9rem 2.5rem;
  transition: background .3s, color .3s;
}
.sec-more a:hover { background: var(--charcoal); color: var(--cream); }
.sec-more a::after { content: "›"; font-size: 1rem; }
.sec-more.on-dark a {
  border-color: rgba(245,240,232,.55); color: rgba(245,240,232,.85);
}
.sec-more.on-dark a:hover { background: rgba(245,240,232,.15); border-color: var(--copper-lt); color: var(--copper-lt); }
.sec-rule {
  width: 44px;
  height: 1px;
  background: var(--copper);
  margin: 1rem auto 0;
}

/* ===== HEADER ===== */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1400px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
}
.logo-img { height: 64px; width: auto; display: block; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav a {
  font-size: .74rem;
  letter-spacing: .2em;
  color: var(--text);
  padding-bottom: 3px;
  position: relative;
  transition: color .2s;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--copper);
  transition: width .3s;
}
nav a:hover { color: var(--copper); }
nav a:hover::after, nav a.active::after { width: 100%; }
nav a.active { color: var(--copper); }
.header-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
}
.header-tel {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .05em;
  line-height: 1;
}
.header-tel-label {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--text-mid);
  line-height: 1;
}
.header-reserve {
  display: inline-block;
  background: #c0392b;
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .2em;
  padding: .45rem 1.2rem;
  margin-left: 1.5rem;
  transition: background .3s;
}
.header-reserve:hover { background: #962d22; }

/* ===== MOBILE NAV TOGGLE ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  transition: all .3s;
}
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(28,16,8,.96);
  z-index: 300;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-overlay.open { display: flex; }
.nav-overlay a {
  color: var(--cream);
  font-size: 1.1rem;
  letter-spacing: .3em;
}
.nav-overlay a:hover { color: var(--copper-lt); }
.nav-overlay-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ===== PAGE HERO (shared across inner pages) ===== */
.page-hero {
  height: 62vh; min-height: 400px;
  position: relative; overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.48);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream);
}
.page-hero-en {
  font-size: .65rem; letter-spacing: .55em; color: var(--copper-lt);
  margin-bottom: .8rem; display: flex; align-items: center; gap: 1rem;
}
.page-hero-en::before, .page-hero-en::after {
  content: ""; width: 32px; height: 1px; background: var(--copper-lt);
}
.page-hero-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: clamp(2rem, 5vw, 3.8rem); font-weight: 700;
  letter-spacing: .25em; text-align: center; line-height: 1.2;
}
.page-hero-sub {
  font-size: .82rem; letter-spacing: .3em; color: rgba(245,240,232,.7); margin-top: 1.2rem;
}
.breadcrumb {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: .5rem; align-items: center;
  font-size: .6rem; letter-spacing: .12em; color: rgba(245,240,232,.5);
  white-space: nowrap;
}
.breadcrumb a { color: rgba(245,240,232,.5); }
.breadcrumb a:hover { color: var(--copper-lt); }
.breadcrumb span { color: rgba(245,240,232,.25); }

/* ===== NOTE BOX ===== */
.note-box {
  background: var(--cream-2); border: 1px solid var(--border); border-left: 3px solid var(--copper);
  padding: 1.2rem 1.6rem; font-size: .8rem; color: var(--text-mid); line-height: 1.9;
}
.note-box strong { color: var(--copper); font-size: .68rem; letter-spacing: .2em; display: block; margin-bottom: .4rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--charcoal);
  color: rgba(245,240,232,.75);
  padding: 3.5rem 2rem 1.8rem;
  text-align: center;
}
.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5rem;
  align-items: start;
  text-align: left;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1.5rem;
}
.footer-brand img { width: 90px; height: auto; margin-bottom: 1rem; }
.footer-brand address { font-size: .84rem; line-height: 2.1; font-style: normal; color: #fff; }
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .3rem 4rem;
}
.footer-nav-grid a {
  font-size: .84rem;
  color: #fff;
  letter-spacing: .12em;
  padding: .35rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: color .2s;
}
.footer-nav-grid a:hover { color: var(--copper-lt); }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin-bottom: .6rem;
}
.footer-legal a {
  font-size: .65rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
  transition: color .2s;
}
.footer-legal a:hover { color: var(--copper-lt); }
.footer-legal span { font-size: .55rem; color: rgba(255,255,255,.2); }
.footer-copy { font-size: .65rem; color: rgba(255,255,255,.7); letter-spacing: .12em; }

/* ===== MENU SUB-NAV (food/drink/lunch pages) ===== */
.menu-subnav {
  background: var(--charcoal);
  position: sticky; top: 68px; z-index: 190;
}
.menu-subnav-inner {
  max-width: 1400px; margin: auto; padding: 0 2.5rem;
  display: flex; gap: 0; overflow-x: auto;
}
.menu-subnav-inner::-webkit-scrollbar { display: none; }
.menu-subnav-inner a {
  display: block; padding: .75rem 1.5rem; white-space: nowrap;
  font-size: .68rem; letter-spacing: .22em; color: rgba(245,240,232,.55);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.menu-subnav-inner a:hover,
.menu-subnav-inner a.active {
  color: var(--copper-lt); border-bottom-color: var(--copper-lt);
}

/* ===== CATEGORY NAV (food/drink/lunch pages) ===== */
.cat-nav {
  background: var(--cream-2);
  position: sticky; top: 116px; z-index: 180;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  max-width: 1200px; margin: auto; padding: 0 2rem;
  display: flex; white-space: nowrap;
}
.cat-btn {
  display: block; padding: .8rem 1.3rem; background: none; border: none;
  font-family: inherit; font-size: .68rem; letter-spacing: .2em;
  color: var(--text-mid); cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.cat-btn:hover, .cat-btn.active {
  color: var(--copper); border-bottom-color: var(--copper);
}

/* ===== MENU SECTION HEAD ===== */
.menu-section-head {
  background: var(--charcoal); padding: 1.5rem 2rem;
  margin-bottom: 2.5rem;
  display: flex; align-items: baseline; gap: 1.2rem;
}
.msh-en { font-size: .58rem; letter-spacing: .45em; color: var(--copper-lt); }
.msh-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: 1.2rem; font-weight: 700; color: var(--cream); letter-spacing: .15em;
}

/* ===== MENU ITEM GRID ===== */
.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 3rem;
}
.m-item {
  display: flex; align-items: baseline;
  padding: .7rem 0;
  border-bottom: 1px solid var(--border);
  gap: .5rem;
}
.m-name { flex: 1; font-size: .9rem; color: var(--text); letter-spacing: .03em; }
.m-note { font-size: .7rem; color: var(--text-mid); flex-shrink: 0; }
.m-price { font-size: .9rem; font-weight: 700; color: var(--charcoal); white-space: nowrap; letter-spacing: .03em; }

/* ===== SUB CATEGORY LABEL ===== */
.sub-cat-label {
  font-size: .62rem; letter-spacing: .4em; color: var(--copper);
  border-left: 2px solid var(--copper); padding-left: .8rem;
  margin: 2rem 0 1rem;
}

/* ===== PAGE INTRO SPLIT ===== */
.page-intro { background: var(--white); overflow: hidden; }
.pi-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1400px; margin: auto;
}
.pi-photo { position: relative; min-height: 380px; overflow: hidden; }
.pi-photo img { width: 100%; height: 100%; object-fit: cover; }
.pi-copy {
  padding: 4rem 4.5rem;
  display: flex; flex-direction: column; justify-content: center;
}
.pi-en { font-size: .62rem; letter-spacing: .45em; color: var(--copper); margin-bottom: .6rem; }
.pi-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 700;
  letter-spacing: .08em; color: var(--charcoal); margin-bottom: 1rem; line-height: 1.4;
}
.pi-desc { font-size: .87rem; color: var(--text-mid); line-height: 2; margin-bottom: 1.8rem; }
.pi-points { display: flex; flex-direction: column; gap: .7rem; }
.pi-point {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--cream); border: 1px solid var(--border); border-left: 3px solid var(--copper);
  padding: .8rem 1rem;
}
.pi-icon { font-size: 1.2rem; flex-shrink: 0; }
.pi-point-title { font-size: .84rem; font-weight: 700; color: var(--charcoal); margin-bottom: .1rem; }
.pi-point-desc { font-size: .84rem; color: var(--text-mid); line-height: 1.6; }

/* ===== COURSE CAMPAIGN BANNER ===== */
.co-campaign {
  margin: 2rem 0 0;
  background: linear-gradient(135deg, #7a4a10 0%, var(--copper) 50%, #c8852c 100%);
  color: var(--white);
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(255,255,255,.28);
}
.co-campaign::before {
  content: "";
  position: absolute;
  top: -50px; right: -20px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.co-campaign::after {
  content: "";
  position: absolute;
  bottom: -60px; right: 80px;
  width: 130px; height: 130px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.co-campaign-left { display: flex; align-items: flex-start; gap: 1rem; }
.co-campaign-icon { font-size: 2.2rem; flex-shrink: 0; line-height: 1; margin-top: .15rem; }
.co-campaign-label { font-size: .55rem; letter-spacing: .4em; color: rgba(255,255,255,.65); margin-bottom: .45rem; }
.co-campaign-text { font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; line-height: 1.6; }
.co-campaign-text strong { font-size: 1.5rem; display: block; margin-top: .3rem; }
.co-campaign-note { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: .65rem; letter-spacing: .03em; }
.co-campaign-tel {
  flex-shrink: 0; text-align: center;
  border-left: 1px solid rgba(255,255,255,.25);
  padding-left: 2rem;
}
.co-campaign-tel-label { font-size: .55rem; letter-spacing: .35em; color: rgba(255,255,255,.65); margin-bottom: .45rem; }
.co-campaign-tel-num {
  font-size: 2rem; font-weight: 900; letter-spacing: .05em; white-space: nowrap;
  line-height: 1;
}
.co-campaign-tel-num a { color: var(--white); }
.co-campaign-tel-note { font-size: .65rem; color: rgba(255,255,255,.6); margin-top: .4rem; letter-spacing: .05em; }

/* ===== CTA BUTTONS (shared) ===== */
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-btn-main {
  display: inline-block; background: var(--copper); color: var(--white);
  font-size: .8rem; letter-spacing: .3em; padding: 1rem 2.5rem;
  transition: background .3s;
}
.cta-btn-main:hover { background: var(--copper-lt); }
.cta-btn-sub {
  display: inline-block; border: 1px solid rgba(245,240,232,.4); color: rgba(245,240,232,.8);
  font-size: .8rem; letter-spacing: .25em; padding: 1rem 2.5rem;
  transition: border-color .3s, color .3s;
}
.cta-btn-sub:hover { border-color: var(--copper-lt); color: var(--copper-lt); }

/* ===== PAGE CTA BLOCK ===== */
.page-cta {
  padding: 5rem 2rem; text-align: center;
}
.page-cta-en { font-size: .65rem; letter-spacing: .5em; margin-bottom: .7rem; }
.page-cta-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-size: 1.8rem; font-weight: 700; letter-spacing: .12em; margin-bottom: .8rem;
}
.page-cta-sub { font-size: .84rem; margin-bottom: 2rem; }

/* ===== HOTPEPPER LINK ===== */
.hotpepper-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.8rem;
  padding: .75rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--border);
  transition: background .25s, border-color .25s;
  text-decoration: none;
  cursor: pointer;
  max-width: 420px;
}
.hotpepper-link:hover { background: var(--cream-2); border-color: var(--copper-lt); }
.hotpepper-logo {
  background: #e60012;
  color: #fff;
  font-size: .68rem; font-weight: 900;
  padding: .28rem .55rem;
  letter-spacing: .03em;
  flex-shrink: 0; line-height: 1.2;
  border-radius: 2px;
}
.hotpepper-text { font-size: .72rem; color: var(--text-mid); letter-spacing: .1em; }
.hotpepper-arrow { margin-left: auto; font-size: .8rem; color: var(--copper-lt); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  nav ul { display: none; }
  .nav-toggle { display: flex; }
  .header-right { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-brand img { margin: 0 auto 1rem; }
  .footer-nav-grid { grid-template-columns: 1fr 1fr; }
  .pi-inner { grid-template-columns: 1fr; }
  .pi-photo { min-height: 260px; }
  .pi-copy { padding: 2.5rem 2rem; }
  .item-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  section { padding: 3.5rem 1rem; }
  .container { padding: 0 1rem; }
  .pi-copy { padding: 2rem 1rem; }
  .breadcrumb { padding: .6rem 1rem; }
  .post-breadcrumb { padding: .6rem 1rem; }
  .co-campaign { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem 1.2rem; }
  .co-campaign-tel { border-left: none; border-top: 1px solid rgba(255,255,255,.25); padding-left: 0; padding-top: 1.2rem; text-align: left; }
  .co-campaign-tel-num { font-size: 1.7rem; }
}
