/* ============================================
   page.css — ページ固有レイアウト
   各セクションの並び・グリッド・余白。
   ============================================ */

/* === Site header (sticky nav) === */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 32px;
  background: var(--bg);
}
.site-header .miniLogo img { height: 38px; }
.site-header .nav { display: flex; gap: 22px; }
.site-header .nav a {
  font-family: var(--font-marker); font-size: 14px; color: var(--text);
  text-decoration: none; padding-bottom: 2px;
  background: linear-gradient(transparent 65%, rgba(255,183,3,.6) 65% 90%, transparent 90%);
}
.site-header .nav a:hover {
  background: linear-gradient(transparent 65%, rgba(230,57,70,.55) 65% 90%, transparent 90%);
}
.site-header .top-line {
  background: var(--line); color: #fff;
  font-family: var(--font-marker); font-size: 13px;
  padding: 7px 14px; border: var(--border);
  box-shadow: var(--shadow-pop-sm); border-radius: var(--radius-sm);
  text-decoration: none; white-space: nowrap;
}
.site-header .menu-btn {
  display: none;
  width: 38px; height: 38px;
  border: var(--border); background: var(--yellow);
  box-shadow: var(--shadow-pop-sm); border-radius: var(--radius-sm);
  place-items: center; cursor: pointer;
}
.site-header .menu-btn span,
.site-header .menu-btn span::before,
.site-header .menu-btn span::after {
  content: ""; display: block;
  width: 18px; height: 2px; background: var(--text);
}
.site-header .menu-btn span { position: relative; }
.site-header .menu-btn span::before { position: absolute; top: -6px; }
.site-header .menu-btn span::after { position: absolute; top: 6px; }

/* === Hero === */
.hero {
  display: grid; grid-template-columns: 1fr; gap: 28px;
  padding: 36px 32px 28px; position: relative;
  max-width: 960px; margin: 0 auto;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-conic-gradient(from 0deg at 26% 36%, rgba(43,43,43,.06) 0deg 0.4deg, transparent 0.4deg 8deg);
  pointer-events: none; opacity: .55;
}
.hero-left {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 16px; padding-top: 8px;
}
.hero-left .logo { width: 280px; height: 280px; max-width: 80%; position: relative; z-index: 2; }
.hero-left .logo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  filter: drop-shadow(4px 4px 0 rgba(43,43,43,.18));
}
.hero-catch {
  font-family: var(--font-marker);
  font-size: 38px; line-height: 1.3;
  margin: 6px 0 0; letter-spacing: .01em;
}
.hero-sub {
  font-family: var(--font-body); font-size: 15px;
  color: var(--text-soft); line-height: 1.7;
  max-width: 28em; margin: 0;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 6px;
}
.hero-photo-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; width: 100%; max-width: 720px; margin: 6px auto 0;
}
.hero-photo-row .photo { aspect-ratio: 1/1; }

.hero-right { position: relative; padding-top: 24px; }
.hero-right .stamp { position: absolute; }
.hero-right .stamp.tr { top: -20px; right: -10px; }
.hero-right .stamp.bl { bottom: -18px; left: -14px; transform: rotate(8deg); }

/* === Section base === */
.section {
  padding: 60px 32px;
  max-width: 1280px; margin: 0 auto;
}


/* === コンセプト === */
.concept {
  text-align: center;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.concept .lead {
  font-family: var(--font-marker);
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.6;
  margin: 18px 0 8px;
}
.concept p {
  font-size: 15px; line-height: 1.9;
  color: var(--text-soft);
  margin: 12px 0;
}

/* === 目玉メニュー (Buzz案2 縦スタック) === */
.buzz-list {
  display: flex; flex-direction: column;
  gap: 28px; margin-top: 32px;
}
.buzz-item {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 22px; align-items: center; position: relative;
}
.buzz-item:nth-child(even) { grid-template-columns: 1fr 1.4fr; }
.buzz-item .photo { aspect-ratio: 4/3; }
.buzz-item:nth-child(even) .photo-wrap { order: 2; }
.buzz-item:nth-child(even) .buzz-text { order: 1; }
.buzz-num {
  font-family: var(--font-marker);
  font-size: 56px; color: var(--red); opacity: .35;
  line-height: 1;
}
.buzz-item:nth-child(2) .buzz-num { color: var(--orange); }
.buzz-item:nth-child(3) .buzz-num { color: var(--yellow); -webkit-text-stroke: 1px var(--text); }
.buzz-name {
  font-family: var(--font-marker);
  font-size: 24px; margin: 4px 0 0;
}
.buzz-sub {
  font-family: var(--font-hand);
  font-size: 14px; color: var(--text-soft);
  margin: 6px 0;
}
.buzz-price {
  font-family: var(--font-marker);
  font-size: 20px; color: var(--red); margin-top: 6px;
}
.buzz-badges { display: flex; gap: 6px; margin-top: 8px; }

/* === メニュー一覧 (Menu案3 ハイブリッド) === */
.menu-section { padding-top: 30px; }
.menu-cat-tags {
  display: flex; gap: 8px; justify-content: center;
  flex-wrap: wrap; margin: 14px 0 22px;
}

/* 壁貼り (主役カテゴリ) */
.menu-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px; margin: 12px 0 24px;
}
.menu-wall .sticky-note { font-size: 13px; padding: 8px; }

/* 縦長リスト */
.menu-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 16px;
}
.menu-col {
  display: flex; flex-direction: column;
}
.menu-list {
  list-style: none; padding: 0; margin: 0;
}
.menu-list li {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
  border-bottom: 1px dashed rgba(43,43,43,.3);
  font-family: var(--font-marker);
}
.menu-list li .price {
  color: var(--text-soft);
  white-space: nowrap;
  margin-left: 12px;
}

/* ワイン特集枠 */
.special-feature {
  margin: 28px 0 0;
  padding: 16px 18px;
  border: 2.5px solid var(--red);
  background: var(--bg);
  position: relative;
  box-shadow: var(--shadow-pop);
  border-radius: var(--radius-md);
}
.special-feature .tag {
  position: absolute; top: -14px; left: 18px;
  background: var(--red); color: #fff;
  border-color: var(--text);
  transform: rotate(-3deg);
}
.special-feature .special-row {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 16px; align-items: center;
}
.special-feature .special-photo {
  width: 80px; height: 80px;
  border: var(--border-thin);
  background: linear-gradient(135deg, var(--blue) 30%, #fff 70%);
  border-radius: var(--radius-sm);
}
.special-feature .special-name { font-family: var(--font-marker); font-size: 18px; }
.special-feature .special-sub {
  font-family: var(--font-hand); font-size: 12px;
  color: var(--text-soft); margin-top: 4px;
}
.special-feature .special-price {
  font-family: var(--font-marker); font-size: 22px; color: var(--red);
}

/* 月替わり枠 */
.monthly-banner {
  margin-top: 14px; text-align: center;
  padding: 12px; background: var(--yellow);
  border: var(--border); transform: rotate(-1deg);
  font-family: var(--font-marker); font-size: 14px;
}

/* === Menu CTA (top page) === */
.menu-cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop-lg);
}
.menu-cta-card .sec-title { text-align: left; margin-top: 0; }
.menu-cta-card p {
  font-family: var(--font-marker);
  font-size: 16px;
  line-height: 1.7;
  margin: 4px 0 0;
}
.menu-cta-action { text-align: center; }

/* === Menu page (separate page) === */
.menu-page-header {
  text-align: center;
  padding: 48px 32px 24px;
}
.menu-page-header h1 {
  font-family: var(--font-marker);
  font-size: clamp(28px, 6vw, 44px);
  margin: 0 0 6px;
}
.menu-page-header p {
  font-family: var(--font-hand);
  font-size: 14px;
  color: var(--text-soft);
  margin: 8px 0 0;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-marker); font-size: 14px;
  color: var(--text); text-decoration: none;
  padding: 8px 14px; border: var(--border); background: var(--bg);
  border-radius: var(--radius-md); box-shadow: var(--shadow-pop-sm);
  margin: 14px 0 0;
}
.back-link:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--text); }

/* === 本日のおすすめ（独立セクション） === */
.today-pick-section {
  text-align: center;
  padding-top: 32px;
  padding-bottom: 16px;
}
.today-pick-section .board {
  max-width: 520px;
  margin: 0 auto;
}

/* === 営業カレンダー（PCは7日横並び） === */
.schedule-section {
  text-align: center;
}
.schedule-list {
  max-width: 1280px;
  margin: 24px auto 12px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.schedule-loading {
  color: var(--text-soft);
  text-align: center;
  padding: 20px;
  grid-column: 1 / -1;
}
.schedule-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--bg);
  border: var(--border-thin);
  border-radius: var(--radius-sm);
  font-family: var(--font-marker);
}
.schedule-row.is-today {
  background: var(--yellow);
  border: 2px solid var(--text);
  box-shadow: var(--shadow-pop);
  font-weight: 700;
  position: relative;
}
.schedule-row.is-today::before {
  content: "▶ 本日";
  color: var(--red);
  position: absolute;
  top: -12px;
  left: 12px;
  background: var(--bg);
  padding: 0 8px;
  font-size: 13px;
  border: 1.5px solid var(--text);
  border-radius: 3px;
}
.schedule-row.is-closed {
  background: #efefef;
  color: var(--text-soft);
}
.schedule-row.is-closed .schedule-hours {
  color: var(--red);
}
.schedule-date {
  font-size: 18px;
}
.schedule-wd {
  font-size: 14px;
  color: var(--text-soft);
  margin-left: 4px;
}
.schedule-row.is-today .schedule-wd { color: var(--text); }
.schedule-meta {
  font-size: 13px;
}
.schedule-holiday {
  display: inline-block;
  padding: 2px 8px;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 12px;
}
.schedule-hours {
  text-align: center;
  font-size: 14px;
}
.schedule-footnote {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
}

@media (max-width: 640px) {
  .schedule-list {
    grid-template-columns: 1fr;
  }
  .schedule-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
  }
  .schedule-date { font-size: 15px; text-align: left; }
  .schedule-meta { text-align: center; }
  .schedule-hours { text-align: right; font-size: 14px; }
  .schedule-row.is-today::before {
    top: -10px;
    left: 14px;
  }
  .schedule-hours { font-size: 14px; }
}

/* === Map + Social section === */
.ms-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px;
}
.ms-head {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px;
}
.ms-head h3 { font-family: var(--font-marker); font-size: 22px; margin: 0; }
.ms-head .sub { font-family: var(--font-hand); font-size: 12px; color: var(--text-soft); }

.map-card {
  border: var(--border-thick); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 4px 4px 0 var(--text);
  background: #dfe9d8; aspect-ratio: 16/10;
}
.map-card iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-meta { margin-top: 12px; display: grid; gap: 8px; }
.map-meta .row {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.6;
  padding: 8px 12px; border: var(--border-thin);
  background: var(--paper); border-radius: var(--radius-sm);
}
.map-meta .row .key {
  font-family: var(--font-marker); font-size: 12px;
  background: var(--yellow); border: var(--border-thin);
  padding: 2px 6px; border-radius: 3px;
  min-width: 64px; text-align: center; align-self: flex-start;
}
.map-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

/* Social card */
.social-card {
  border: var(--border-thick); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 4px 4px 0 var(--text); background: var(--bg);
}
.x-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: var(--border);
  background: var(--paper);
}
.x-header .x-ico {
  width: 32px; height: 32px;
  font-size: 16px;
}
.x-header .x-name {
  font-family: var(--font-marker); font-size: 14px;
  line-height: 1.2;
}
.x-header .x-handle {
  font-family: var(--font-hand); font-size: 12px;
  color: var(--text-soft);
}
.x-header > div { flex: 1; }
.social-card .twitter-timeline {
  display: block;
  width: 100% !important;
}
.social-tabs {
  display: flex; border-bottom: 2px solid var(--text);
}
.social-tabs button {
  flex: 1; appearance: none; border: 0;
  background: var(--paper);
  padding: 12px 10px;
  font-family: var(--font-marker); font-size: 14px;
  cursor: pointer; border-right: 2px solid var(--text);
  display: flex; gap: 8px; align-items: center; justify-content: center;
  color: var(--text-soft);
}
.social-tabs button:last-child { border-right: 0; }
.social-tabs button.active { background: var(--bg); color: var(--text); position: relative; }
.social-tabs button.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: var(--red);
}
.ig-ico, .x-ico {
  width: 18px; height: 18px;
  border-radius: 5px; display: grid; place-items: center;
  color: #fff; font-weight: 900;
  font-family: var(--font-marker); font-size: 11px;
}
.ig-ico { background: linear-gradient(135deg,#feda75,#fa7e1e 30%,#d62976 60%,#962fbf 80%,#4f5bd5); }
.x-ico { background: #000; }

.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; }
.ig-tile {
  aspect-ratio: 1/1; background: #ece4d2;
  border: 1px solid var(--text);
  background-image: repeating-linear-gradient(135deg, rgba(43,43,43,.08) 0 6px, transparent 6px 12px);
  background-size: cover; background-position: center;
  display: grid; place-items: center;
  font-family: var(--font-hand); font-size: 10px;
  color: var(--text-soft); position: relative; text-align: center;
}
.ig-tile.video::after {
  content: "▶"; position: absolute; top: 4px; right: 6px;
  color: #fff; font-size: 11px; text-shadow: 1px 1px 0 rgba(0,0,0,.6);
}
.ig-foot {
  padding: 10px 14px; border-top: 2px solid var(--text);
  display: flex; gap: 8px; align-items: center; justify-content: space-between;
  background: var(--paper); font-size: 12px; font-family: var(--font-marker);
}
.feed-pane { padding: 14px; max-height: 540px; overflow-y: auto; }
.feed-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 10px;
  padding: 12px 0;
}
.feed-item:last-child { border-bottom: 0; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  border: var(--border); background: var(--yellow);
  display: grid; place-items: center;
  font-family: var(--font-marker); font-size: 14px;
}
.feed-meta { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.feed-name { font-family: var(--font-marker); font-size: 14px; }
.feed-handle, .feed-time { font-size: 11px; color: var(--text-soft); }
.feed-text { font-size: 13px; line-height: 1.6; margin: 4px 0 8px; }

/* === 予約・お問合せ === */
.booking {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  text-align: center;
}
.booking .card {
  padding: 26px 22px;
  background: var(--paper);
}
.booking .card h4 {
  font-family: var(--font-marker); font-size: 18px; margin: 0 0 8px;
}
.booking .card .note {
  font-family: var(--font-hand); font-size: 12px;
  color: var(--text-soft); margin: 8px 0 16px;
}

/* === LINE公式誘導 === */
.line-promo {
  background: var(--line); color: #fff;
  border: var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop-lg);
  padding: 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 22px;
  align-items: center;
  max-width: 1080px; margin: 0 auto;
}
.line-promo h3 {
  font-family: var(--font-marker); font-size: 28px;
  margin: 0 0 8px;
}
.line-promo .perks {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-hand); font-size: 14px;
}
.line-promo .perks li::before { content: "▶ "; }
.line-promo .qr {
  background: #fff; padding: 14px;
  border: var(--border); border-radius: var(--radius-md);
  text-align: center; color: var(--text);
  width: 200px;
}
.line-promo .qr-placeholder {
  width: 160px; height: 160px;
  background:
    repeating-linear-gradient(45deg, var(--text) 0 4px, transparent 4px 8px),
    repeating-linear-gradient(-45deg, var(--text) 0 4px, transparent 4px 8px);
  background-blend-mode: difference;
  margin: 0 auto 8px;
}
.line-promo .qr-note {
  font-family: var(--font-hand); font-size: 11px; color: var(--text-soft);
}

/* === Footer === */
.site-footer {
  background: var(--text); color: var(--bg);
  padding: 40px 32px 24px;
  font-size: 13px; line-height: 1.8;
}
.site-footer .container {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px;
}
.site-footer h5 {
  font-family: var(--font-marker); font-size: 14px;
  margin: 0 0 12px; color: var(--yellow);
}
.site-footer .brand img {
  height: 48px; filter: brightness(0) invert(1);
}
.site-footer .brand p { margin: 8px 0 0; opacity: .85; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: inherit; text-decoration: none; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.site-footer .social-row { display: flex; gap: 10px; margin-top: 10px; }
.site-footer .copyright {
  margin-top: 28px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center; font-size: 11px; opacity: .7;
}

/* ===========================================
   レスポンシブ — タブレット (~ 980px)
   =========================================== */
@media (max-width: 980px) {
  .hero { padding: 24px 18px; gap: 24px; }
  .schedule-list { grid-template-columns: repeat(3, 1fr); }
  .menu-cols { grid-template-columns: 1fr; gap: 20px; }
  .menu-wall { grid-template-columns: repeat(3, 1fr); }
  .ms-grid { grid-template-columns: 1fr; }
  .booking { grid-template-columns: 1fr; }
  .line-promo { grid-template-columns: 1fr; text-align: center; }
  .line-promo .qr { margin: 0 auto; }
  .site-footer .container { grid-template-columns: 1fr; }
  .buzz-item, .buzz-item:nth-child(even) {
    grid-template-columns: 1fr; gap: 14px;
  }
  .buzz-item:nth-child(even) .photo-wrap,
  .buzz-item:nth-child(even) .buzz-text { order: initial; }
}

/* ===========================================
   レスポンシブ — スマホ (~ 640px)
   =========================================== */
@media (max-width: 640px) {
  .site-header { padding: 12px 16px; }
  .site-header .nav { display: none; }
  .site-header .top-line { display: none; }
  .site-header .menu-btn { display: grid; }
  .hero-left .logo { width: 220px; height: 220px; }
  .hero-catch { font-size: 26px; }
  .hero-sub { font-size: 13px; }
  .section { padding: 36px 18px; }
  .info-strip { padding: 10px 12px; gap: 10px; font-size: 11px; }
  .menu-wall { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ms-head { flex-direction: column; gap: 4px; align-items: flex-start; }
  .feed-pane { max-height: 420px; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .board { padding: 18px 16px 20px; }
  .board-title { font-size: 18px; }
  .board-list li { font-size: 14px; }
  .line-promo { padding: 24px 18px; }
  .line-promo h3 { font-size: 22px; }
  .line-promo .qr { width: 180px; }
  .line-promo .qr-placeholder { width: 140px; height: 140px; }
  /* === 営業カレンダー（スマホ：1列縦積み・各行は日付/祝日/時間の3カラム） === */
  .schedule-list { grid-template-columns: 1fr; }
  .schedule-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    text-align: left;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
  }
  .schedule-date { font-size: 15px; text-align: left; }
  .schedule-meta { text-align: center; }
  .schedule-hours { text-align: right; font-size: 14px; }
  .schedule-row.is-today::before { top: -10px; left: 14px; }
}
