/* ============================================================
   common.css — のれんページ 共通スタイル
   各ページで :root のカラー変数を上書きして使用
   ============================================================ */

/* ══ RESET & BASE ══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: 'Zen Kaku Gothic New', sans-serif; background: var(--ivory); color: var(--ink); line-height: 1.8; font-size: 16px; }
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }

/* ══ HEADER ══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(250,248,244,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.header-logo {
  font-family: 'Shippori Mincho B1', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-cta {
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 7px 14px;
  border-radius: 100px;
  transition: background .2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); }

/* ══ PC NAV ══ */
.pc-nav { display: none; }

/* ══ HAMBURGER ══ */
.hamburger {
  width: 36px; height: 36px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══ DRAWER ══ */
.drawer {
  position: fixed; top: 52px; left: 0; right: 0; bottom: 0;
  background: rgba(250,248,244,0.98);
  backdrop-filter: blur(10px);
  z-index: 199;
  display: flex; flex-direction: column;
  padding: 8px 0 32px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer a {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--ink);
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s, color .15s;
}
.drawer a::after { content: '→'; color: var(--green-light); font-size: 13px; }
.drawer a:hover { background: var(--green-pale); color: var(--green); }

/* ══ PC BREAKPOINT ══ */
@media (min-width: 640px) {
  .hamburger { display: none; }
  .drawer { display: none; }
  .pc-nav {
    display: flex;
    flex: 1;
    overflow-x: auto;
    align-items: stretch;
    margin-left: 12px;
  }
  .pc-nav::-webkit-scrollbar { display: none; }
  .pc-nav a {
    font-size: 12px;
    letter-spacing: 0.05em;
    color: var(--muted);
    padding: 0 14px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    border-right: 1px solid var(--border);
    transition: background .15s, color .15s;
  }
  .pc-nav a:first-child { border-left: 1px solid var(--border); }
  .pc-nav a:hover { background: var(--green-pale); color: var(--green); }
}

/* ══ SECTION BASE ══ */
.section { padding: 80px 24px; }
.section-inner { max-width: 680px; margin: 0 auto; }
.sec-eyebrow { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--green-light); display: block; margin-bottom: 8px; }
.sec-title { font-family: 'Shippori Mincho B1', serif; font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 12px; }
.sec-desc { font-size: 14px; color: var(--muted); line-height: 2; margin-bottom: 40px; }

/* ══ PAIN ITEMS ══ */
.pain-grid { display: grid; gap: 12px; }
.pain-item { background: #fff; border-radius: 8px; padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; border-left: 3px solid var(--green-light); }
.pain-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.pain-text { font-size: 14px; color: var(--ink); line-height: 1.7; }
.pain-text strong { display: block; font-weight: 700; margin-bottom: 2px; }

/* ══ FEATURE CARDS ══ */
.feature-list { display: grid; gap: 20px; }
.feature-card { background: var(--green-pale); border-radius: 10px; padding: 24px 22px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.feature-num { font-family: 'Shippori Mincho B1', serif; font-size: 2rem; font-weight: 800; color: var(--green-light); line-height: 1; }
.feature-title { font-family: 'Shippori Mincho B1', serif; font-size: 17px; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.feature-body { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ══ SAMPLE CARDS ══ */
.samples-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding-bottom: 16px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 0 -24px; padding-left: 24px; padding-right: 24px;
}
.samples-scroll::-webkit-scrollbar { display: none; }
.sample-card { flex: 0 0 72vw; max-width: 260px; scroll-snap-align: start; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); transition: transform .2s; }
.sample-card:hover { transform: translateY(-4px); }
.sample-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); font-weight: 300; overflow: hidden; }
.sample-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sample-thumb--cafe        { background: #3d2010; }
.sample-thumb--ramen       { background: #1a1208; }
.sample-thumb--izakaya     { background: #2a0808; }
.sample-thumb--bread       { background: #c8903a; }
.sample-thumb--michinoeki1 { background: #1a3320; }
.sample-thumb--michinoeki2 { background: #2c4a38; }
.sample-thumb--sweets      { background: #5a2030; }
.sample-body { padding: 14px 16px 18px; }
.sample-tag { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-mid); display: block; margin-bottom: 4px; }
.sample-name { font-family: 'Shippori Mincho B1', serif; font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.sample-desc { font-size: 11px; color: var(--muted); line-height: 1.6; }
.samples-link-wrap { text-align: center; margin-top: 28px; }
.samples-link { font-size: 13px; color: var(--green); letter-spacing: 0.1em; border-bottom: 1px solid var(--green-light); display: inline-block; padding-bottom: 2px; }

/* ══ FLOW ══ */
.flow-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border); align-items: start; }
.flow-item:last-child { border-bottom: none; }
.flow-num { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Shippori Mincho B1', serif; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.flow-title { font-family: 'Shippori Mincho B1', serif; font-size: 16px; font-weight: 600; color: var(--green); margin-bottom: 4px; }
.flow-desc { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* ══ FAQ ══ */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.faq-q { padding: 16px 20px; font-size: 14px; font-weight: 700; color: var(--green-dark); display: flex; align-items: flex-start; gap: 10px; }
.faq-q::before { content: 'Q'; font-family: 'Shippori Mincho B1', serif; font-size: 16px; color: var(--green); font-weight: 800; flex-shrink: 0; }
.faq-a { padding: 0 20px 16px 44px; font-size: 13px; color: var(--muted); line-height: 1.9; }

/* ══ CTA ══ */
.cta { background: var(--green); padding: 80px 24px; text-align: center; }
.cta-title { font-family: 'Shippori Mincho B1', serif; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1.35; margin-bottom: 16px; }
.cta-desc { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 2; margin-bottom: 36px; max-width: 400px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 700; font-size: 16px; letter-spacing: 0.1em; padding: 18px 48px; border-radius: 100px; transition: background .2s, transform .2s; margin-bottom: 16px; }
.cta-btn:hover { background: var(--gold-light); transform: translateY(-2px); }
.cta-note { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.05em; }

/* ══ FOOTER ══ */
footer { background: var(--green-dark); padding: 32px 24px; text-align: center; color: rgba(255,255,255,0.35); font-size: 12px; letter-spacing: 0.1em; line-height: 2; }
footer a { color: rgba(255,255,255,0.5); }

/* ══ ANIMATION ══ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ══ MOBILE ══ */
@media (max-width: 480px) { .hero { padding: 64px 20px 80px; } }

/* ══ OVERFLOW FIX ══ */
html { overflow-x: hidden; }
.samples-scroll { margin: 0; padding-left: 24px; padding-right: 24px; }