/* =============================================
   嘘でできた世界 LP 共通スタイル
   デザイン言語: エディトリアル×明朝 / 生成り紙 / 墨 / ホログラムの糸
   ============================================= */

:root {
  --paper: #f6f3ee;
  --ink: #17171c;
  --ink-soft: #1f2430;
  --ink-muted: #5c5a55;
  --accent: #7c5ce6;
  --card: #ffffff;
  --line: rgba(23, 23, 28, 0.12);
  --shadow-card: 0 10px 30px rgba(23, 23, 28, 0.08);
  --holo: linear-gradient(100deg, #a99bf0 0%, #9fb4f2 30%, #8ad9e6 58%, #edbfe0 85%);
  --font-serif: 'Shippori Mincho', 'Hiragino Mincho ProN', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--paper);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background-color: var(--paper);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- ヘッダー ---------- */

.site-header {
  padding: 20px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo img {
  width: 72px;
  height: auto;
}

.header-cta {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 20px;
  transition: background-color 0.2s, color 0.2s;
}

.header-cta:hover {
  background-color: var(--ink);
  color: var(--paper);
}

/* ---------- ヒーロー ---------- */

.hero {
  padding: 48px 0 72px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* ヒーローのアクセント語だけホログラム文字にする（多用しない） */
.holo-text {
  background: var(--holo);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 24px;
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 32em;
}

.hero-cta-area {
  margin-top: 36px;
  max-width: 420px;
}

.hero-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

/* 生成イメージ（4:5 縦型カード） */
.hero-visual {
  justify-self: center;
}

.poster-frame {
  width: min(300px, 100%);
  transform: rotate(2.5deg);
  background: var(--card);
  padding: 10px 10px 14px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.poster-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.poster-caption {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.12em;
}

/* ---------- CTA ボタン（墨の全幅バー＋上辺3pxのホログラムの糸） ---------- */

.cta-button {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--paper);
  padding: 18px 22px;
  border-radius: 16px;
  background:
    var(--holo) top / 100% 3px no-repeat,
    var(--ink);
  transition: opacity 0.2s, transform 0.15s;
}

.cta-button:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* ---------- セクション共通 ---------- */

.section {
  padding: 72px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(21px, 3.6vw, 32px);
  color: var(--ink);
  text-align: center;
  letter-spacing: 0.04em;
}

.section-lead {
  margin-top: 16px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- ABOUT ---------- */

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-text {
  max-width: 38em;
  margin: 24px auto 0;
  text-align: center;
  font-size: 15.5px;
}

/* ---------- 動画埋め込み ---------- */

.video-frame {
  width: min(320px, 100%);
  margin: 36px auto 0;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--ink);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- ステップ ---------- */

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
}

.step-title {
  margin-top: 16px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
}

.step-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- 特徴 ---------- */

.features {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--accent);
}

.feature-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.feature-text {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ---------- 最後のCTA ---------- */

.closing {
  text-align: center;
}

.closing .cta-button {
  max-width: 480px;
  margin: 36px auto 0;
}

/* ---------- フッター ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
}

/* ---------- 利用規約ページ ---------- */

.legal-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

.legal-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  color: var(--ink);
  text-align: center;
  margin-top: 24px;
}

.legal-updated {
  text-align: center;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 12px;
}

.legal-section {
  margin-top: 44px;
}

.legal-section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.legal-section p {
  margin-top: 14px;
  font-size: 15px;
}

.legal-section ul {
  margin-top: 14px;
  padding-left: 1.4em;
  font-size: 15px;
}

.legal-section li {
  margin-top: 6px;
}

.legal-back {
  display: inline-block;
  margin-top: 56px;
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink);
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 800px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .poster-frame {
    width: min(240px, 80%);
    margin: 0 auto;
  }

  .hero-title,
  .hero-lead {
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-area {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-note {
    text-align: center;
  }

  .steps,
  .features {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }
}
