/* lp.css — メルマガ登録LP専用スタイル */
/* 既存サイト (style.css) のデザイントークンを継承 */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --primary:       #1a365d; /* 深い紺 */
  --primary-light: #2b6cb0; /* アクセント青 */
  --gold:          #d4a84b; /* プレミアムゴールド */
  --gold-light:    #f0c96c;
  --white:         #ffffff;
  --bg-light:      #f7fafc;
  --bg-alt:        #edf2f7;
  --text:          #2d3748;
  --text-light:    #4a5568;
  --border:        #e2e8f0;
  --green:         #38a169; /* CTAボタン強調色 */
  --green-dark:    #276749;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 16px 40px rgba(0,0,0,0.18);
  --radius:        12px;
  --transition:    all 0.3s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN',
               'Hiragino Sans', Meiryo, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

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

a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ============================================================
   UTILITY
   ============================================================ */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 改行制御 */
.sp-only { display: none; }
.nowrap { white-space: nowrap; }
.ib { display: inline-block; vertical-align: top; white-space: nowrap; }

@media (max-width: 640px) {
  .sp-only { display: block; height: 0; margin: 0; }
  .ib { max-width: 100%; white-space: normal; }
}

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--bg-light);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-gold {
  background: linear-gradient(135deg, var(--primary) 0%, #2c4d8a 100%);
  color: var(--white);
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.4;
}

.section-title.white { color: var(--white); }

.section-sub {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 48px;
  font-size: 1rem;
}

.section-sub.white { color: rgba(255,255,255,0.8); }

.label {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--gold);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* ============================================================
   STICKY HEADER (minimal — LP用)
   ============================================================ */
.lp-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 54, 93, 0.97);
  backdrop-filter: blur(8px);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.lp-header .brand {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
}

.lp-header .header-cta {
  background: var(--green);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(56,161,105,0.4);
  transition: var(--transition);
}

.lp-header .header-cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ============================================================
   HERO SECTION (IMAGE FOCUS)
   ============================================================ */
.hero {
  background: #fdfdfd; /* 画像の背景に合わせた白ベース */
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image-wrap {
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0 16px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.hero-cta-area {
  padding: 0 24px;
}


.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--green) 0%, #48bb78 100%);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(56,161,105,0.45);
  transition: var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(56,161,105,0.55);
  color: var(--white);
}

.btn-cta:active {
  transform: translateY(-1px);
}

.btn-cta .icon { font-size: 1.2rem; }

.hero-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}

/* ============================================================
   PAIN POINTS — 共感セクション
   ============================================================ */
.pain-section {
  background: #fff8f0;
  border-top: 4px solid var(--gold);
  padding: 72px 0;
  text-align: left;
}

.pain-section .label,
#benefits .label,
#testimonials .label,
#recommend .label,
#vision .label,
#program .label,
#guidance .label,
#how-to-apply .label,
#profile .label,
#faq .label {
  font-size: 1.5rem;
  padding: 10px 32px;
  margin-bottom: 40px;
}

.pain-section,
#benefits,
#testimonials,
#recommend,
#vision,
#program,
#guidance,
#how-to-apply,
#profile,
#faq {
  text-align: left;
}

.content-image-box {
  margin-top: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.05);
}

.content-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.pain-intro {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.pain-list li {
  display: flex;
  align-items: flex-start; /* 上揃えに変更 */
  justify-content: flex-start; /* 左寄せに変更 */
  text-align: left;
  gap: 16px;
  background: var(--white);
  border: 1px solid #fde8c8;
  border-radius: var(--radius);
  padding: 24px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 80px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  line-height: 1.6; /* 1.5から少し広げて調整しやすく */
}

.pain-list .check {
  font-size: 1.2rem; /* 少し小さくして文字サイズに合わせる */
  flex-shrink: 0;
  margin-top: 2px; /* 1行目の文字の高さに合わせるための微調整 */
  display: inline-block;
}

.pain-list li:hover {
  transform: translateX(4px);
  border-color: var(--gold);
}

.pain-list .check {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-end {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  background: linear-gradient(135deg, #ebf4ff, #e6fffa);
  padding: 20px 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--primary-light);
  max-width: 560px;
  margin: 40px auto 0;
}

/* ============================================================
   BENEFITS — 動画の中身
   ============================================================ */
.story-content {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: left; /* 本文は左寄せ */
  font-size: 1.05rem;
  line-height: 2;
  color: var(--text-dark);
}

.story-content p {
  margin-bottom: 24px;
}

.story-check-list {
  background: rgba(212, 168, 75, 0.05);
  border: 1px solid var(--gold);
  padding: 24px;
  margin: 32px auto;
  border-radius: var(--radius);
  max-width: 480px;
  display: block; /* inline-block から block に変更して中央寄せを確実に */
  text-align: center; /* 中身も中央寄せ */
}

.story-check-list p {
  margin-bottom: 12px !important;
  font-weight: 700;
}

.story-check-list p:last-child {
  margin-bottom: 0 !important;
}

@media (max-width: 640px) {
  .story-content {
    font-size: 1rem;
    padding: 0 16px;
  }
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.benefit-card .num {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   VIDEO PREVIEW
   ============================================================ */
.video-preview {
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.video-preview img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.video-preview:hover img {
  transform: scale(1.03);
}

.video-caption {
  text-align: center;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.video-caption strong { color: var(--primary); }

/* ============================================================
   PROFILE
   ============================================================ */
.profile-wrap {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center; /* 中央寄せを追加 */
}

.profile-photo-box {
  flex-shrink: 0;
  text-align: center;
  width: 180px;
  margin: 0 auto; /* 必要に応じて中央寄せ */
}

.profile-photo-box img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  margin: 0 auto 12px !important; /* 中央寄せと下余白 */
  display: block;
}

.profile-photo-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  border: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  margin: 0 auto;
}

.profile-photo-placeholder .photo-icon { font-size: 3rem; opacity: 0.5; }
.profile-photo-placeholder .photo-text { font-size: 0.7rem; color: #718096; margin-top: 6px; }

.profile-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 12px;
}

.profile-title {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

.profile-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.profile-story {
  font-size: 0.97rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
  text-align: left;
}

.profile-story p {
  margin-bottom: 1.5rem; /* 段落間の余白を追加 */
}

.profile-story p:last-child {
  margin-bottom: 0;
}

.creds-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creds-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.creds-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS — 受講生の声
   ============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border-left: 5px solid var(--gold);
  margin-bottom: 24px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--gold-light);
  position: absolute;
  top: 12px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
  opacity: 0.7;
}

.testimonial-text {
  font-size: 0.97rem;
  line-height: 1.9;
  color: var(--text);
  padding-top: 24px;
  margin-bottom: 20px;
}

.testimonial-result {
  display: inline-block;
  background: #e6fffa;
  color: #276749;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 480px) {
  .testimonial-result {
    padding: 8px 16px;
    font-size: 0.85rem;
    width: 100%; /* スマホ時は幅いっぱいに広げて中央寄せを安定させる */
  }
}

.testimonial-image {
  max-width: 500px;
  margin: 0 auto 32px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.testimonial-image img {
  width: 100%;
  height: auto;
  display: block;
}

.testimonial-person {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.line-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.line-item {
  background: var(--white);
  padding: 4px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: var(--transition);
}

.line-item:hover {
  transform: scale(1.02);
}

.line-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start; /* 左寄せに変更 */
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--primary);
  transition: background 0.2s;
  user-select: none;
  line-height: 1.6;
  text-align: left; /* 明示的に左寄せ */
}

.faq-question:hover { background: var(--bg-light); }

.faq-q-label {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
}

.faq-q-text { flex: 1; }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary-light);
  transition: transform 0.3s;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 24px 68px; /* 下余白を少し増やす */
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.9;
  text-align: left; /* 明示的に左寄せ */
}

.faq-a-label {
  display: inline-block;
  font-weight: 700;
  color: var(--green);
  margin-right: 8px;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CTA SECTIONS
   ============================================================ */
.cta-box {
  background: linear-gradient(135deg, #0d2240 0%, #1a365d 100%);
  border-radius: 20px;
  padding: 52px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.cta-box h2 em {
  font-style: normal;
  color: var(--gold-light);
}

.cta-box .cta-sub {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.cta-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  background: #0d1b2e;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.82rem;
  line-height: 2;
}

.lp-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  margin: 0 8px;
  transition: var(--transition);
}

.lp-footer a:hover { color: var(--white); }

.lp-footer .copyright { margin-top: 12px; font-size: 0.78rem; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .section { padding: 52px 0; }

  .hero { padding: 80px 0 40px; }
  .hero .container { padding: 0; }
  .hero-image-wrap { margin-bottom: 24px; padding: 0; }
  .hero-image-wrap img { border-radius: 0; }

  .profile-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    justify-content: center;
  }

  .profile-photo-box { width: 100%; }
  .creds-list li { justify-content: flex-start; padding-left: 20px; } /* 左寄せに変更し少し内側に */
  .cta-box { padding: 36px 20px; }

  .btn-cta {
    font-size: 1rem;
    padding: 16px 24px;
  }

  .lp-header .brand { font-size: 0.75rem; }

  .benefit-grid { grid-template-columns: 1fr; }

  .faq-answer { padding-left: 24px; }
}
