/* 御朱印アルバム LP (BL-89)。色・背景はアプリと公開の法務ページ
   (scripts/build_legal_pages.mjs) に合わせる。外部のフォントは読まない。 */
:root {
  color-scheme: light;
  --brand-deep: #AE040A;
  --brand: #E11B09;
  --link: #C73E2C;
  --paper: #FAF7F2;
  --card: #FFFFFF;
  --ink: #2B2B2B;
  --ink-light: #6E6E6E;
  --line: #E5DED2;
  --gold: #C9A227;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
.inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .08em;
}
.brand img { border-radius: 8px; }
.site-header nav { display: flex; gap: 18px; font-size: 14px; }
.site-header nav a { color: #fff; text-decoration: none; opacity: .92; }
.site-header nav a:hover { text-decoration: underline; }

/* ヒーロー */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(225, 27, 9, .10), transparent 45%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}
.hero .inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-icon { border-radius: 24px; box-shadow: 0 6px 20px rgba(174, 4, 10, .25); }
.hero h1 {
  font-size: 40px;
  line-height: 1.4;
  margin: 20px 0 12px;
  letter-spacing: .04em;
}
.lead { font-size: 18px; color: var(--ink); margin: 0 0 24px; }
.hero-art { text-align: center; }
.hero-art img { width: 100%; max-width: 360px; }

/* 申し込みの導線 */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cta-play { display: inline-block; line-height: 0; }
.cta-play img { width: 200px; }
.cta-web {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(174, 4, 10, .25);
}
.cta-web:hover { filter: brightness(1.06); }
.note { color: var(--ink-light); font-size: 14px; margin: 16px 0 0; }

/* セクション */
.section { padding: 64px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  font-size: 28px;
  text-align: center;
  margin: 0 0 32px;
  letter-spacing: .06em;
}
.section h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--brand);
  border-radius: 2px;
}

/* 機能 */
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 20px;
}
.features h3 { font-size: 17px; margin: 12px 0 6px; }
.features p { margin: 0; font-size: 14px; color: var(--ink-light); line-height: 1.7; }

/* 画面 (横スクロール) */
.scroll-hint { text-align: center; color: var(--ink-light); font-size: 13px; margin: -20px 0 16px; }
.gallery {
  list-style: none;
  margin: 0;
  padding: 4px 4px 16px;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery li { flex: 0 0 220px; scroll-snap-align: start; text-align: center; }
.gallery img {
  display: block;
  width: 220px;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}
.gallery span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-light); }

/* 料金 */
.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 360px));
  justify-content: center;
  gap: 20px;
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.plan-pro { border: 2px solid var(--brand); position: relative; }
.plan-pro::before {
  content: "おすすめ";
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
}
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 26px; font-weight: 700; margin: 4px 0 12px; color: var(--brand-deep); }
.price small { font-size: 14px; color: var(--ink-light); font-weight: 400; }
.plan ul { margin: 0; padding-left: 1.2em; }
.plan li { margin: 4px 0; }
#pricing .note { text-align: center; }

/* 締め */
.closing { text-align: center; padding-top: 32px; }
.closing .cta { justify-content: center; }

/* フッター */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--ink-light);
}
.site-footer ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.site-footer a { color: var(--ink-light); }
.site-footer p { margin: 4px 0; }
.small { font-size: 12px; }

@media (max-width: 860px) {
  .hero .inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 220px; }
  .hero-icon { display: none; }
  .hero h1 { font-size: 30px; }
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .site-header nav { gap: 12px; font-size: 13px; }
  .brand span { font-size: 15px; }
  .hero h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  .section { padding: 48px 0; }
  .section h2 { font-size: 23px; }
  .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .gallery li { flex-basis: 180px; }
  .gallery img { width: 180px; }
  .cta { justify-content: center; }
  .hero-text { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
