/*
Theme Name: YOZOU
Theme URI: https://yozou.jp
Author: YOZOU
Description: 死後メッセージ配信サービス「YOZOU」公式テーマ
Version: 1.4.0
License: Proprietary
Text Domain: yozou
*/

:root {
  --navy: #0f1e35;
  --navy-mid: #1a2f4a;
  --slate: #4a6080;
  --silver: #8fa3b8;
  --mist: #c8d6e3;
  --fog: #e8eef4;
  --white: #f5f8fb;
  --gold: #c8a96e;
  --gold-light: #e0c99a;
  --text: #1a2535;
  --text-light: #4a5a70;
  --text-muted: #7a8fa5;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; background: var(--white); color: var(--text); line-height: 1.8; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Header（ロゴのみ・中央） ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,30,53,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.site-header .container {
  display: flex; align-items: center; justify-content: center;
  padding: 1.2rem 3rem;
}
.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 300; letter-spacing: 0.25em;
  color: var(--gold-light);
}
.site-logo em { font-style: italic; }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #070f1d 0%, #0f1e35 45%, #162844 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; text-align: center;
}
.hero-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 35% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 30%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 80% 15%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 55%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 65%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 90% 45%, rgba(255,255,255,0.5) 0%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; padding: 0 2rem; animation: fadeUp 1.2s ease both; }
.hero-eyebrow {
  font-size: 0.72rem; font-weight: 300; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 1.8rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); opacity: 0.6; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 5rem); line-height: 1.25; color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-family: 'Noto Serif JP', serif; font-size: 1.05rem; font-weight: 200;
  color: var(--mist); line-height: 2; margin: 0 auto 3rem; max-width: 520px;
}
.hero-cta-note {
  display: inline-block;
  font-size: 0.85rem; letter-spacing: 0.12em;
  color: var(--gold-light);
  border: 1px solid rgba(200,169,110,0.4);
  padding: 0.9rem 2.4rem; border-radius: 2px;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
}
.hero-cta-note:hover {
  background: rgba(200,169,110,0.1);
  border-color: rgba(200,169,110,0.7);
  color: var(--gold-light);
}

/* ── Section base ── */
.section { padding: 7rem 0; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 3rem; }
.section-label {
  font-size: 0.7rem; font-weight: 300; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.8rem;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
}
.section-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.3; color: var(--navy); margin-bottom: 1rem; }
.section-lead { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 200; color: var(--text-light); line-height: 2; }

/* ── What Is ── */
.what-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; margin-top: 4rem; }
.what-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.what-card-num { font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 300; color: rgba(200,169,110,0.7); line-height: 1; }
.what-card-body h3 { font-family: 'Noto Serif JP', serif; font-size: 1rem; font-weight: 400; color: var(--navy); margin-bottom: 0.4rem; }
.what-card-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.9; }

/* ── Promise ── */
.section-promise { background: linear-gradient(150deg, #0c1929 0%, #0f1e35 60%, #162233 100%); }
.section-promise .section-title { color: var(--white); }
.section-promise .section-lead { color: var(--mist); }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 3.5rem auto 0; text-align: left; }
.faq-item { border-bottom: 1px solid var(--fog); padding: 1.6rem 0; }
.faq-q {
  font-family: 'Noto Serif JP', serif; font-size: 0.97rem; font-weight: 400; color: var(--navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none; text-align: left;
}
.faq-q::after { content: '+'; font-size: 1.3rem; color: var(--gold); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { font-size: 0.88rem; color: var(--text-light); text-align: left; line-height: 1.95; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 1rem; }

/* ── LINE CTA ── */
.line-cta {
  background: linear-gradient(150deg, #0c1929 0%, #0f1e35 100%);
  border-top: 1px solid rgba(200,169,110,0.15);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.line-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.line-cta h2 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--white); letter-spacing: 0.05em; }
.line-cta p { font-family: 'Noto Serif JP', serif; font-size: 0.95rem; font-weight: 200; color: var(--silver); line-height: 2; text-align: center; }
.qr-placeholder {
  width: 160px; height: 160px;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(200,169,110,0.4);
  border-radius: 8px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
}
.qr-placeholder span { font-size: 0.72rem; color: rgba(200,169,110,0.6); letter-spacing: 0.1em; }
.qr-placeholder .qr-icon { font-size: 2.5rem; opacity: 0.4; }

/* ── Footer ── */
.site-footer { background: #070f1d; border-top: 1px solid rgba(200,169,110,0.15); padding: 3rem 0 2rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; text-align: center; }
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; letter-spacing: 0.2em; color: var(--gold-light); }
.footer-tagline { font-family: 'Noto Serif JP', serif; font-size: 0.82rem; font-weight: 200; color: var(--silver); line-height: 2; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.78rem; color: #5a6e84; transition: color 0.3s; }
.footer-links a:hover { color: var(--mist); }
.footer-copy { font-size: 0.72rem; color: #3d5068; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100%{opacity:0.5} 50%{opacity:1} }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .site-header .container { padding: 1rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .section { padding: 4rem 0; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 0.9rem; }
  .what-grid { grid-template-columns: 1fr; gap: 1.2rem; margin-top: 2.5rem; }
  .what-card { flex-direction: row; align-items: flex-start; text-align: left; gap: 1rem; padding: 1.2rem 1.4rem; background: rgba(200,169,110,0.04); border-radius: 8px; border: 1px solid rgba(200,169,110,0.12); }
  .what-card-num { font-size: 2rem; flex-shrink: 0; width: 2rem; text-align: center; }
  .how-grid { grid-template-columns: repeat(2,1fr) !important; }
  .how-grid::before { display: none !important; }
  .promise-grid { grid-template-columns: 1fr !important; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .section-title { font-size: 1.6rem; }
}
