/* カスタムプロパティ一元管理 */
:root {
  --c-bg: #FAF7F2;
  --c-cream: #F0E8D8;
  --c-brown: #2C1A0E;
  --c-vermillion: #C8392B;
  --c-orange: #E8611A;
  --c-gold: #B8961A;
  --c-navy: #1A3A5C;
  --c-white: #FFFFFF;
  --c-gray-light: #F5F0E8;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --max-w: 980px;
}

/* リセット・ベース */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #EDEBE6;
  font-family: var(--font-sans);
  color: var(--c-brown);
  -webkit-font-smoothing: antialiased;
}

/* ラッパー */
#wagashi-lp {
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--c-white);
  font-size: 0; /* 画像間の隙間対策 */
}
#wagashi-lp > * { font-size: 1rem; }

/* セクション画像 */
.lp-section-img {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
  font-size: 0;
}

/* ========== CTAブロック ========== */
#cta-block {
  background: var(--c-white);
  padding: 28px 20px 32px;
  text-align: center;
}
.cta-micro {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--c-brown);
  opacity: 0.7;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.cta-btn {
  display: block;
  width: calc(100% - 40px);
  max-width: 600px;
  margin: 0 auto;
  min-height: 60px;
  line-height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-vermillion) 0%, var(--c-orange) 100%);
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(200,57,43,0.35);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}
.cta-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: rgba(255,255,255,0.18);
  transform: skewX(-20deg);
  animation: cta-shine 3s ease-in-out infinite;
}
@keyframes cta-shine {
  0%   { left: -60%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}
.cta-btn:hover {
  box-shadow: 0 6px 24px rgba(200,57,43,0.45);
  transform: translateY(-2px);
}

/* クーポンコピーボタン */
#coupon-block {
  background: var(--c-white);
  padding: 0 20px 36px;
  text-align: center;
}
.coupon-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--c-gold) 0%, #D4AA30 100%);
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(184,150,26,0.35);
  transition: all 0.2s ease;
}
.coupon-copy-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(184,150,26,0.45); }
.coupon-copy-btn.copied {
  background: linear-gradient(135deg, #4CAF82 0%, #388E5E 100%);
}
.coupon-copy-icon { font-size: 16px; }
.coupon-note {
  font-size: 11px;
  color: #888;
  margin-top: 10px;
  font-family: var(--font-sans);
}

/* ========== FAQブロック ========== */
#faq-block {
  background: var(--c-white);
  padding: 48px 20px 52px;
  border-top: 1px solid #EDE4D4;
}
.faq-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--c-brown);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}
.faq-heading::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--c-gold);
  margin: 12px auto 0;
}
.faq-item {
  border-bottom: 1px solid #EDE4D4;
  max-width: 700px;
  margin: 0 auto;
}
.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 4px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--c-brown);
  letter-spacing: 0.04em;
}
.faq-q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-brown);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-serif);
}
.faq-q-text { flex: 1; line-height: 1.6; }
.faq-toggle {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-orange);
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-question[aria-expanded="true"] .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 4px 0 42px;
}
.faq-answer.open {
  max-height: 500px;
  padding: 0 4px 18px 42px;
}
.faq-answer p {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.8;
  color: #5A4030;
}

/* ========== 商品選択エリア ========== */
#product-selection {
  background: var(--c-bg);
  padding: 48px 20px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.product-selection-heading {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--c-brown);
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.product-selection-heading::before,
.product-selection-heading::after {
  content: '── ';
  color: var(--c-gold);
  font-size: 14px;
}

/* ========== レスポンシブ ========== */
@media (max-width: 600px) {
  .cta-btn {
    font-size: 16px;
    min-height: 58px;
    line-height: 58px;
  }
  .faq-heading { font-size: 19px; }
  .faq-question { font-size: 14px; }
  #product-selection { padding: 36px 16px 48px; }
}
