:root {
  --choco: #160E0A;
  --cacao: #2A1A12;
  --ivory: #F3EEE4;
  --gold: #C8A96A;
  --matcha: #7FA63A;
  --matcha-deep: #3E5A1E;
  --line: #06C755;
  --col: min(100%, 520px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(60vw 60vw at 50% 0%, rgba(127,166,58,.10), transparent 60%),
    radial-gradient(50vw 50vw at 50% 100%, rgba(200,169,106,.08), transparent 60%),
    var(--choco);
  color: var(--ivory);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}
h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; line-break: strict; }
img { display: block; width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 本体：画像を縦に積む1列 */
.lp {
  position: relative;
  width: var(--col);
  margin: 0 auto;
  background: var(--choco);
  box-shadow: 0 0 80px rgba(0,0,0,.55);
}
.sec { margin: 0; }
.frame { position: relative; line-height: 0; }

/* 画像の中のボタンに重ねるリンク */
.hit {
  position: absolute;
  display: block;
  border-radius: 4px;
  outline-offset: 3px;
}
.hit:focus-visible { outline: 2px solid var(--gold); }
.hit--fv  { left: 8.5%; width: 83%; top: 89.2%; height: 6.2%; }
.hit--cta { left: 7%;   width: 86%; top: 81.9%; height: 6.6%; }
.hit::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: rgba(255,255,255,0); transition: background .2s;
}
.hit:hover::after { background: rgba(255,255,255,.10); }

/* 見せ場：注がれるショコラに光が流れる */
.pour {
  position: absolute;
  left: 51.2%; width: 3.6%;
  top: 0; height: 46%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,236,200,.0) 40%, rgba(255,236,200,.55) 50%, rgba(255,236,200,0) 60%, transparent 100%);
  background-size: 100% 260%;
  mix-blend-mode: screen;
  filter: blur(1.5px);
  -webkit-mask: radial-gradient(closest-side, #000 55%, transparent);
          mask: radial-gradient(closest-side, #000 55%, transparent);
  -webkit-mask-size: 100% 100%;
  animation: pour 3.6s ease-in-out infinite;
}
@keyframes pour {
  0%   { background-position: 0 100%; }
  100% { background-position: 0 0%; }
}

/* スクロールで現れる */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* LINEボタン */
.btn-line {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px;
  padding: 10px 18px;
  background: var(--line);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  line-height: 1.3;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(6,199,85,.25);
  transition: transform .2s, box-shadow .2s;
}
.btn-line small { font-size: 11px; font-weight: 400; opacity: .9; letter-spacing: .04em; }
.btn-line:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(6,199,85,.35); }
.btn-line:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* スマホの追従ボタン */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(22,14,10,0), rgba(22,14,10,.92) 30%);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.sticky.is-show { transform: none; }
.sticky .btn-line { width: min(100%, 488px); margin: 0 auto; }

/* 動きを止める */
.motion-toggle {
  position: fixed; right: 10px; top: 10px; z-index: 21;
  min-height: 44px; padding: 0 14px;
  border: 1px solid rgba(200,169,106,.6);
  background: rgba(22,14,10,.72);
  color: var(--ivory);
  font: inherit; font-size: 12px; letter-spacing: .06em;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.motion-toggle.is-show { opacity: 1; pointer-events: auto; }
/* スマホ：追従バーの左端に収め、画像に重ねない */
@media (max-width: 1099px) {
  .motion-toggle {
    top: auto; right: auto;
    left: 12px; bottom: calc(14px + env(safe-area-inset-bottom));
    width: 52px; min-height: 52px; padding: 0 4px;
    font-size: 10px; line-height: 1.25; border-radius: 4px;
  }
  .sticky { padding-left: 72px; }
}
.motion-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* フッター */
.foot {
  padding: 40px 24px calc(110px + env(safe-area-inset-bottom));
  text-align: center;
  font-size: 13px;
  color: rgba(243,238,228,.75);
  border-top: 1px solid rgba(200,169,106,.35);
}
.foot p { margin: 0 0 6px; }
.foot__logo { font-family: "Cormorant Garamond", serif; color: var(--gold); font-size: 26px; letter-spacing: .3em; }
.foot__logo span { font-family: "Shippori Mincho", serif; letter-spacing: 0; }
.foot__demo { margin-top: 14px !important; font-size: 12px; color: rgba(243,238,228,.6); }
.foot__copy { font-size: 11px; color: rgba(243,238,228,.45); }

/* PC：左右に余白の飾りと予約パネル */
.side { display: none; }
@media (min-width: 1100px) {
  .side {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; bottom: 0;
    width: calc((100vw - 520px) / 2);
    padding: 0 32px;
  }
  .side > * { max-width: 320px; }
  .side--left  { left: 0; flex-direction: column; align-items: flex-start; padding-left: max(32px, calc((100vw - 520px) / 2 - 360px)); }
  .side--right { right: 0; }
  .side__logo { font-family: "Cormorant Garamond", serif; font-size: 32px; letter-spacing: .3em; color: var(--gold); margin: 0 0 8px; }
  .side__logo span { font-family: "Shippori Mincho", serif; letter-spacing: 0; color: var(--ivory); font-size: 22px; }
  .side__en { font-family: "Cormorant Garamond", serif; font-style: italic; color: rgba(200,169,106,.85); font-size: 17px; line-height: 1.5; margin: 0 0 40px; }
  .side__copy { font-family: "Shippori Mincho", serif; font-size: 30px; line-height: 1.6; letter-spacing: .08em; margin: 0; }
  .side__panel {
    width: 100%;
    padding: 32px 28px;
    border: 1px solid rgba(200,169,106,.45);
    background: rgba(22,14,10,.6);
    text-align: center;
  }
  .side__label { font-family: "Shippori Mincho", serif; font-size: 18px; letter-spacing: .12em; margin: 0 0 4px; }
  .side__date { font-family: "Cormorant Garamond", serif; color: var(--gold); font-size: 26px; letter-spacing: .06em; margin: 0 0 20px; }
  .side__date small { font-size: 14px; font-style: italic; }
  .side__note { font-size: 12px; color: rgba(243,238,228,.6); margin: 14px 0 0; }
  .sticky { display: none; }
  .motion-toggle { top: auto; bottom: 20px; right: 20px; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .side { padding: 0 20px; }
  .side__copy { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pour { animation: none; display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
.is-still .pour { animation: none; display: none; }
.is-still .reveal { opacity: 1; transform: none; transition: none; }
