/* =========================================================
   正二郎おいちゃんの出張バーベキュー福岡 — リデザイン
   BASE : 和モダン土台（えんじ × 生成り）
   ========================================================= */

:root {
  /* 生成り系 background */
  --kinari:      #F2EBDB;
  --kinari-2:    #F8F2E6;
  --washi:       #FCF9F1;
  --paper:       #FFFFFF;

  /* えんじ */
  --enji:        #8C2B30;
  --enji-deep:   #6A1E22;
  --enji-bright: #A8353B;
  --enji-wash:   rgba(140, 43, 48, 0.07);
  --enji-line:   rgba(140, 43, 48, 0.22);

  /* 墨 / text */
  --sumi:        #2A2421;
  --sumi-soft:   #564E47;
  --sumi-faint:  #8B8178;

  /* 金 hairline accent (sparse) */
  --kin:         #AE863B;

  --line:        rgba(42, 36, 33, 0.14);
  --line-soft:   rgba(42, 36, 33, 0.08);

  /* type */
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --old:   "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --mono:  "DM Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-soft: 0 1px 2px rgba(42,36,33,.04), 0 10px 30px rgba(42,36,33,.06);
  --shadow-lift: 0 2px 6px rgba(42,36,33,.06), 0 24px 50px rgba(42,36,33,.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--gothic);
  color: var(--sumi);
  background: var(--kinari);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---- shared section rhythm ---- */
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }

/* eyebrow / label */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--enji);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--enji);
  display: inline-block;
}

/* 和 vertical accent label */
.tate {
  writing-mode: vertical-rl;
  font-family: var(--serif);
  letter-spacing: 0.18em;
}

/* section heading */
.s-head { margin-bottom: clamp(34px, 5vw, 60px); max-width: 1055px; }
.s-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: 0.02em;
  line-height: 1.34;
}
.s-title .en {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--sumi-faint);
  margin-top: 14px;
  text-transform: uppercase;
}
.s-lead {
  margin-top: 20px;
  font-size: 16px;
  color: var(--sumi-soft);
  /** max-width: 60ch; **/
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--enji);
  color: var(--washi);
  box-shadow: 0 10px 24px rgba(140,43,48,.22);
}
.btn-primary:hover { background: var(--enji-deep); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(140,43,48,.28); }
.btn-ghost {
  background: transparent;
  color: var(--sumi);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--sumi); transform: translateY(-2px); }

/* tel chip */
.tel-chip {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.tel-chip .num {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 27px);
  letter-spacing: 0.02em;
  color: var(--enji);
  line-height: 1;
}
.tel-chip .ico {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--enji);
  color: var(--washi);
  display: grid; place-items: center;
  flex: none;
}
.tel-chip .ico svg { width: 18px; height: 18px; }

/* tag */
.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border: 1px solid var(--enji-line);
  color: var(--enji);
  border-radius: 2px;
}

/* =========================================================
   PLACEHOLDER MEDIA
   ========================================================= */
.ph {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(140,43,48,.05) 0 2px,
      transparent 2px 11px),
    linear-gradient(160deg, var(--kinari-2), #ECE3D0);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sumi-faint);
  text-align: center;
  padding: 8px 16px;
  background: rgba(252,249,241,.72);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  max-width: 80%;
}
.ph.dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.045) 0 2px,
      transparent 2px 11px),
    linear-gradient(160deg, #3A2F2B, #241C19);
}
.ph.dark::after { color: #C9BCA9; background: rgba(36,28,25,.6); border-color: rgba(255,255,255,.1); }

/* real photo layered over placeholder; removes itself on load failure */
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* =========================================================
   OICHAN  (キャラ演出)
   ========================================================= */
.oichan {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.oichan-face {
  width: 76px; height: 76px;
  flex: none;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(140,43,48,.06) 0 2px, transparent 2px 10px),
    radial-gradient(circle at 50% 38%, #F3E7CF, #E7D6B6);
  border: 2px solid var(--enji);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--enji);
  text-align: center;
  line-height: 1.3;
}
.oichan-face > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18) translateY(1px);
  transform-origin: 50% 42%;
}
.oichan-bubble {
  position: relative;
  background: var(--washi);
  border: 1px solid var(--enji-line);
  border-radius: 4px;
  padding: 14px 20px;
  font-family: var(--serif);
  font-size: clamp(16px, 2vw, 19px);
  color: var(--enji-deep);
  box-shadow: var(--shadow-soft);
}
.oichan-bubble::before {
  content: "";
  position: absolute;
  left: -9px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 16px; height: 16px;
  background: var(--washi);
  border-left: 1px solid var(--enji-line);
  border-bottom: 1px solid var(--enji-line);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242,235,219,.82);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(42,36,33,.07); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 42px; height: 42px;
  flex: none;
  background: var(--enji);
  color: var(--washi);
  border-radius: 3px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .b-main { font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap; }
.brand-text .b-sub { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--sumi-faint); text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 17px; }
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--sumi-soft);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px; background: var(--enji);
  transition: width .25s ease;
}
.nav a:hover { color: var(--enji); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-tel .lbl { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--sumi-faint); }
.header-tel .num { font-family: var(--mono); font-weight: 500; font-size: 18px; color: var(--enji); }

.menu-toggle { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--sumi);
  color: #D8CCBC;
  padding-block: clamp(48px, 7vw, 80px) 36px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand .f-name { font-family: var(--serif); font-size: 22px; color: var(--washi); }
.footer-brand .f-sub { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: #9A8C7C; margin-top: 8px; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 55ch; color: #B6A899; }
.footer-contact { text-align: right; }
.footer-contact .f-tel { font-family: var(--mono); font-size: clamp(22px,3vw,30px); color: var(--washi); letter-spacing: .02em; }
.footer-contact .f-hours { font-size: 13px; color: #9A8C7C; margin-top: 6px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; justify-content: flex-end; }
.footer-nav a { font-size: 13px; color: #C4B7A7; }
.footer-nav a:hover { color: var(--washi); }
.footer-bottom { padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #897C6D; font-family: var(--mono); letter-spacing: .04em; }

/* =========================================================
   REVEAL animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .nav, .header-tel { display: none; }
  .header-cta .btn-primary { display: none; }
  .brand-text .b-main { white-space: normal; font-size: 14.5px; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    background: var(--enji); color: var(--washi);
    border: none; border-radius: 3px; cursor: pointer;
  }
  .footer-top { flex-direction: column; }
  .footer-contact, .footer-nav { text-align: left; justify-content: flex-start; }
}
