:root {
  --primary: #c8385a;
  --primary-dark: #a32848;
  --secondary: #2a5e7e;
  --accent: #f5c6d0;
  --bg: #fffaf6;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --card: #ffffff;
  --border: #ead9c9;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 18px;
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.brand { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 22px;
}
.brand-text h1 { font-size: 22px; color: var(--primary); letter-spacing: 1px; }
.brand-text p { font-size: 12px; color: var(--muted); }

.site-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--text);
  font-size: 16px;
}
.site-nav a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.badge-free {
  display: inline-block;
  background: #fff1d6;
  color: #b07000;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-text h2 {
  font-size: 44px;
  line-height: 1.3;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-points {
  list-style: none;
  display: grid;
  gap: 8px;
}
.hero-points li {
  font-size: 16px;
  color: #444;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(200, 56, 90, 0.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(42, 94, 126, 0.3);
}
.btn-secondary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover { background: #fff; }
.btn-large { padding: 18px 40px; font-size: 19px; }

/* ---------- Hero visual ---------- */
.hero-visual {
  display: flex;
  justify-content: center;
}
.visual-card {
  position: relative;
  width: 360px;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.visual-avatar { position: relative; }
.visual-avatar svg { display: block; width: 100%; height: auto; }
.caption-bubble {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ---------- LIVE tag ---------- */
.live-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.live-dot {
  width: 9px;
  height: 9px;
  background: #ff3b3b;
  border-radius: 50%;
  animation: blink 1.1s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(0.8); }
}

/* ---------- Features ---------- */
.features {
  background: #fff;
  padding: 70px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features h3 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
  color: #1a1a1a;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feature {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: 16px;
  text-align: center;
}
.feature-icon { font-size: 40px; margin-bottom: 12px; }
.feature h4 { font-size: 18px; margin-bottom: 8px; color: var(--primary); }
.feature p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---------- Mission ---------- */
.mission {
  padding: 70px 40px;
  background: var(--bg);
}
.mission-inner { max-width: 1100px; margin: 0 auto; }
.mission h3 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 14px;
  color: #1a1a1a;
}
.mission-lead {
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 36px;
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.mission-card h4 {
  font-size: 19px;
  color: var(--primary);
  margin-bottom: 10px;
}
.mission-card p { font-size: 15px; color: #444; line-height: 1.8; }

/* ---------- How it works ---------- */
.how-it-works {
  background: #fff;
  padding: 70px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-it-works h3 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 40px;
  color: #1a1a1a;
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 6px 14px rgba(200, 56, 90, 0.3);
}
.step h4 { font-size: 19px; margin-bottom: 8px; color: #1a1a1a; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #fff1ee, #ffe0e6);
}
.cta-band h3 { font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonials h3 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 36px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.testi-grid blockquote {
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.testi-grid blockquote p { font-size: 16px; color: #333; margin-bottom: 12px; }
.testi-grid blockquote cite { font-size: 14px; color: var(--muted); font-style: normal; }

/* ---------- Ads section ---------- */
.ads-section {
  background: linear-gradient(180deg, #fffaf6, #fff1ee);
  padding: 80px 40px;
  border-top: 1px solid var(--border);
}
.ads-inner { max-width: 1200px; margin: 0 auto; }
.ads-section h3 {
  text-align: center;
  font-size: 30px;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.ads-lead {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 40px;
}
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
.ad-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.ad-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.ad-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}
.ad-headline {
  font-size: 20px;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 4px 0 2px;
}
.ad-long {
  font-size: 15px;
  color: #2a5e7e;
  font-weight: 600;
  line-height: 1.6;
  padding: 10px 12px;
  background: #eef5fa;
  border-left: 3px solid var(--secondary);
  border-radius: 6px;
}
.ad-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
}
.ad-meta {
  display: flex;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-top: auto;
}
.ads-tips {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 30px;
  max-width: 900px;
  margin: 0 auto;
}
.ads-tips h4 {
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 12px;
}
.ads-tips ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ads-tips li {
  font-size: 14px;
  color: #444;
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}
.ads-tips li::before {
  content: "▸";
  color: var(--primary);
  position: absolute;
  left: 0;
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-section {
  padding: 70px 40px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-section h3 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 36px;
}
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s ease;
}
.faq-list details[open] {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border-color: var(--primary);
}
.faq-list summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  color: #1a1a1a;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list details p {
  margin-top: 12px;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2a1a20;
  color: #f0d6db;
  padding: 50px 40px 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 30px;
}
.site-footer h4 { color: #fff; margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.footer-links a { color: #f0d6db; text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.copyright {
  text-align: center;
  font-size: 13px;
  color: #b89aa1;
  border-top: 1px solid #4a2f37;
  padding-top: 18px;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 15, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}
.modal-overlay.is-open { display: flex; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal {
  background: #fff;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease;
}
.modal-wide {
  max-width: 720px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-family: inherit;
}
.modal-close:hover { background: #fff; color: var(--primary); }

.modal-image {
  position: relative;
  width: 100%;
  background: #ffd1dc;
}
.modal-image svg { display: block; width: 100%; height: auto; max-height: 280px; }

.modal-video {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16 / 9;
  max-height: min(60vh, 420px);
  overflow: hidden;
}
.modal-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-live {
  top: 16px;
  left: 16px;
  font-size: 14px;
  padding: 7px 14px;
}

.modal-content {
  padding: 28px 28px 24px;
  text-align: center;
}
.modal-content h2 {
  font-size: 26px;
  color: var(--primary);
  margin-bottom: 12px;
}
.modal-content p { color: #444; margin-bottom: 22px; }

.modal-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.modal-actions .btn { width: 100%; }

.modal-content-compact {
  padding: 22px 24px;
}
.modal-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}
@media (max-width: 520px) {
  .modal-actions-row { grid-template-columns: 1fr; }
}

.modal-note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
  }
  .hero-text h2 { font-size: 32px; }
  .site-header { padding: 14px 20px; flex-wrap: wrap; gap: 12px; }
  .site-nav a { margin-left: 14px; font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .features, .testimonials, .cta-band { padding: 50px 20px; }
  .visual-card { width: 100%; max-width: 360px; }
}
