/* common.css — 全ページ共通（トークン・ヘッダー・フッター・共通部品） */

:root {
  --black: #14100e;
  --ink: #241d18;
  --wood: #3a2a20;
  --wood-dark: #241812;
  --red: #c1121f;
  --red-dark: #9d0d18;
  --cream: #f4efe8;
  --paper: #faf7f2;
  --line: #e2dbd0;
  --line-dark: #3a322c;
  --text: #2b2620;
  --muted: #7a726b;
  --white: #ffffff;

  --serif: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --wrap: 1120px;
  --header-h: 84px;
}

html {
  font-size: 16px;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

/* ---- 見出し ---- */
.sec-title {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-align: center;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.4;
}
.sec-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  background: var(--red);
  margin: 18px auto 0;
}
.sec-title.is-left {
  text-align: left;
}
.sec-title.is-left::after {
  margin-inline: 0;
}
.sec-title.is-light {
  color: var(--white);
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-dark);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.btn--line {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--line:hover {
  background: var(--ink);
  color: var(--white);
}
.btn .ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---- ヘッダー ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(20, 16, 14, 0.94);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: flex;
  align-items: center;
}
.site-header__inner {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gnav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.gnav a {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}
.gnav a:hover {
  color: var(--white);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-tel {
  text-align: right;
  line-height: 1.3;
}
.header-tel a {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.header-tel small {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}
.header-tel .ico {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.header-book {
  padding: 11px 22px;
  font-size: 0.9rem;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.2s;
}
.nav-toggle span:nth-child(1) {
  top: 14px;
}
.nav-toggle span:nth-child(2) {
  top: 20px;
}
.nav-toggle span:nth-child(3) {
  top: 26px;
}
.is-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.is-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.is-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- フッター ---- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.82);
}
.footer-cta {
  background:
    linear-gradient(rgba(20, 16, 14, 0.82), rgba(20, 16, 14, 0.82)),
    url("../img/yakiniku-02.jpg") center / cover no-repeat;
  padding: 74px 0;
  text-align: center;
  color: var(--white);
}
.footer-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.footer-cta__tel {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}
.footer-cta__tel .ico {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.footer-cta__note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 6px;
}
.footer-cta__actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-main {
  border-top: 1px solid var(--line-dark);
  padding: 34px 0;
}
.footer-main__inner {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.footer-info {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-info a:hover {
  color: var(--white);
}
.footer-copy {
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.5);
  padding: 16px 0;
  border-top: 1px solid var(--line-dark);
  letter-spacing: 0.04em;
}

/* ---- 下層ページ共通 ---- */
.page-hero {
  margin-top: var(--header-h);
  background:
    linear-gradient(rgba(20, 16, 14, 0.68), rgba(20, 16, 14, 0.78)),
    url("../img/wagyu-block.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 68px 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.page-hero p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 16px 0;
}
.breadcrumb a:hover {
  color: var(--red);
}
.breadcrumb span {
  margin: 0 8px;
}

.note-box {
  background: #fbf6ee;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  font-size: 0.86rem;
  color: var(--muted);
  border-radius: 4px;
  line-height: 1.7;
}

/* back to top */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.85);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 90;
}
.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.to-top .ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* スマホ固定CTA */
.sp-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 95;
  background: rgba(20, 16, 14, 0.96);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
}
.sp-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 6px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 4px;
}
.sp-cta__tel {
  background: var(--red);
  color: var(--white);
}
.sp-cta__insta {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.sp-cta .ico {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- レスポンシブ（共通） ---- */
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }
  .nav-toggle {
    display: block;
  }
  .gnav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(20, 16, 14, 0.98);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .is-open .gnav {
    transform: translateX(0);
  }
  .gnav a {
    font-size: 1.15rem;
    padding: 12px 0;
  }
  .header-tel {
    display: none;
  }
  .header-book {
    display: none;
  }
  .site-header__inner {
    width: calc(100% - 32px);
  }
  .brand {
    font-size: 1.3rem;
  }
  .sp-cta {
    display: flex;
  }
  .footer-cta {
    padding: 54px 0;
  }
  .footer-main__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  body.has-sp-cta {
    padding-bottom: 62px;
  }
}
