/* 季節のギフトLPキット 配布ページ */
:root {
  --paper: #f7f2e8;
  --paper-deep: #ede5d6;
  --card: #fffdf8;
  --ink: #22302a;
  --ink-soft: #5d6a63;
  --accent: #a4282c;
  --accent-deep: #6a1016;
  --sub: #1f4a3a;
  --gold: #b48a3c;
  --line: rgba(34, 48, 42, .16);
  --ja: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ja); font-size: 15px; line-height: 2; letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
main { overflow-x: clip; }
section { padding: 88px 24px; }
section > * { max-width: 1000px; margin-left: auto; margin-right: auto; }

.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; padding: 0 24px;
  background: rgba(247, 242, 232, .92); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line);
}
.top-logo { font-family: var(--en); font-size: 19px; letter-spacing: .02em; }
.top-link { font-size: 13px; letter-spacing: .2em; text-decoration: none; border-bottom: 1px solid currentColor; line-height: 1.6; }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 220px; height: 58px; padding: 0 32px;
  background: var(--accent); color: var(--paper); border: 0; border-radius: 2px;
  font: inherit; font-size: 15px; letter-spacing: .2em; text-decoration: none; cursor: pointer;
  transition: background .3s, transform .3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 5px; border: 1px dashed rgba(247, 242, 232, .55); pointer-events: none; }
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-line { background: var(--paper); color: var(--sub); min-width: 0; height: 48px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.btn-line::before { border-color: rgba(31, 74, 58, .45); }
.btn-line:hover { background: #fff; }

/* hero */
.hero { padding-top: 96px; padding-bottom: 72px; text-align: center; }
.eyebrow {
  display: inline-block; padding: 0 16px; margin-bottom: 26px;
  font-size: 12px; letter-spacing: .28em; line-height: 2.4; color: var(--paper); background: var(--sub);
}
.hero h1 { font-size: clamp(28px, 6.2vw, 52px); font-weight: 500; line-height: 1.55; letter-spacing: .1em; }
.hero-lead { max-width: 620px; margin-top: 26px; margin-bottom: 36px; color: var(--ink-soft); text-align: left; }

.sec-en { font-family: var(--en); font-style: italic; font-weight: 400; font-size: clamp(38px, 7vw, 56px); line-height: 1.2; }
.sec-ja { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 12px; letter-spacing: .28em; color: var(--ink-soft); }
.sec-ja::before { content: ""; width: 28px; height: 1px; background: var(--accent); }

/* demos */
.demos { background: var(--paper-deep); }
.demos-note { margin-top: 28px; font-size: 14px; color: var(--ink-soft); }
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px 32px; margin-top: 36px; justify-items: center; }
.phone { width: 100%; max-width: 340px; }
.phone-frame {
  position: relative; aspect-ratio: 9 / 17; overflow: hidden;
  border: 10px solid #1b211e; border-radius: 34px; background: var(--paper);
  box-shadow: 0 30px 50px -24px rgba(34, 48, 42, .5);
}
/* 中のLPを幅390pxのスマホとして表示し、枠に合わせて縮める */
.phone-frame iframe {
  position: absolute; left: 0; top: 0; width: 390px; height: calc(390px * 17 / 9); border: 0;
  transform-origin: 0 0; transform: scale(var(--s, .82));
}
.phone figcaption { margin-top: 18px; text-align: center; font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); line-height: 1.9; }
.phone b { display: block; font-family: var(--en); font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: .02em; color: var(--ink); }
.phone a { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--accent); }
.demos-foot { margin-top: 40px; font-size: 13px; color: var(--ink-soft); }

/* inside */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 40px; }
.cards li { padding: 26px 24px 28px; background: var(--card); border: 1px solid var(--line); }
.no { font-family: var(--en); font-style: italic; font-size: 30px; line-height: 1; color: var(--accent); }
.cards h3 { margin-top: 12px; font-size: 18px; font-weight: 500; letter-spacing: .1em; }
.cards p { margin-top: 6px; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }
.inside-note { margin-top: 28px; font-size: 13px; color: var(--ink-soft); }

/* get */
.get { background: var(--sub); color: var(--paper); }
.get .sec-ja { color: rgba(247, 242, 232, .72); }
.get .sec-ja::before { background: var(--gold); }
.steps { display: grid; gap: 28px; margin-top: 44px; max-width: 640px; margin-left: auto; margin-right: auto; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.steps .no { color: #ecd08a; font-size: 40px; }
.steps h3 { font-size: 19px; font-weight: 500; letter-spacing: .1em; }
.steps p { font-size: 14px; color: rgba(247, 242, 232, .8); line-height: 1.9; }
.gate {
  max-width: 640px; margin-top: 44px; padding: 30px 26px 26px;
  background: var(--paper); color: var(--ink); border-top: 8px solid var(--accent);
}
.gate label { display: block; font-size: 13px; letter-spacing: .24em; margin-bottom: 8px; }
.gate-row { display: flex; flex-wrap: wrap; gap: 12px; }
.gate input {
  flex: 1 1 220px; min-width: 0; height: 58px; padding: 0 16px;
  font: inherit; font-size: 17px; letter-spacing: .1em; color: var(--ink);
  background: #fff; border: 1px solid rgba(34, 48, 42, .4); border-radius: 2px;
}
.gate .btn { flex: 1 1 200px; }
.gate-msg { min-height: 2em; margin-top: 12px; font-size: 14px; }
.gate-msg.is-error { color: var(--accent); }
.gate-msg.is-ok { color: var(--sub); }

.foot { padding: 44px 24px 52px; text-align: center; font-size: 11px; color: var(--ink-soft); }
.foot-logo { font-family: var(--en); font-size: 22px; color: var(--ink); margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
