/*
Theme Name: 夢アカデミア体験会LP
Description: 夢を叶えたい人向けの体験会〜説明会一体型縦スワイプLP
Author: Manus AI
Version: 1.0
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', …;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;     /* ← 追加 */
  overflow-y: scroll;                /* 垂直方向のスクロールを確実に有効に */
}

.section {
  scroll-snap-align: start;         /* 各セクションがスナップ位置 */
  min-height: 100vh;                /* 1セクションを画面いっぱいに */
}


/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e40af 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  animation: fadeInUp 1s ease-out 0.4s both;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #000;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
  color: #000;
  text-decoration: none;
}

.cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.5);
}

/* Section Styles */
.section {
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
}

/* Dreams Section */
.dreams-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.dreams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.dream-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.dream-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dream-icon {
  width: 20px;
  height: 20px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
  position: relative;
}

.dream-icon::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

/* Benefits Section */
.benefits-section {
  background: white;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: #8b5cf6;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.benefit-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #1f2937;
}

.benefit-description {
  color: #4b5563;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-before,
.testimonial-after {
  margin-bottom: 1rem;
}

.testimonial-label {
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.testimonial-label.after {
  color: #059669;
}

.testimonial-text {
  background: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  font-style: italic;
  border-left: 4px solid #fbbf24;
}

/* Schedule Section */
.schedule-section {
  background: white;
}

.schedule-timeline {
  max-width: 600px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
  border-radius: 12px;
  position: relative;
}

.schedule-time {
  font-weight: bold;
  color: #0369a1;
  min-width: 120px;
  font-size: 1.1rem;
}

.schedule-content {
  flex: 1;
  margin-left: 1rem;
}

.schedule-title {
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

/* Academy Section */
.academy-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.academy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.academy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.academy-feature {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Profile Section */
.profile-section {
  background: white;
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-name {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 1rem;
}

.profile-description {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.8;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #fef7ff 0%, #f3e8ff 100%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  background: #8b5cf6;
  color: white;
  padding: 1.5rem;
  font-weight: bold;
  font-size: 1.1rem;
}

.faq-answer {
  padding: 1.5rem;
  color: #4b5563;
  line-height: 1.8;
}

/* Benefits Section */
.special-benefits-section {
  background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.benefits-list {
  max-width: 600px;
  margin: 0 auto;
}

.benefit-item {
  background: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
}

.benefit-item-icon {
  width: 40px;
  height: 40px;
  background: #f97316;
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

/* Final CTA Section */
.final-cta-section {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 50%, #1e40af 100%);
  color: white;
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.final-cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-button-large {
  display: inline-block;
  background: linear-gradient(45deg, #fbbf24, #f59e0b);
  color: #000;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.3);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.cta-button-large:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 50px rgba(251, 191, 36, 0.4);
  color: #000;
  text-decoration: none;
}

.cta-note {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 1rem;
}

/* Navigation Dots */
.nav-dots {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;  /* ← ここを修正 */
  flex-direction: column; /* 縦に並べたい場合 */
  align-items: center;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  margin: 8px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-dot.active {
  background: #fbbf24;
  transform: scale(1.2);
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  font-size: 0.9rem;
}

/* Swipe Hint */
.swipe-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  font-size: 0.8rem;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .dreams-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .academy-features {
    grid-template-columns: 1fr;
  }
  
  .nav-dots {
    display: none;
  }
  
  .mobile-nav {
    display: block;
  }
  
  .swipe-hint {
    display: block;
  }
}

  .mobile-nav {
    display: none;
  }
  
  .swipe-hint {
    display: none;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Section Visibility Animation */
.section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 768px) {
  .section { opacity: 1 !important; transform: none !important; }
}
.lp-snap{
  height: 100svh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  scroll-padding-top: 1px;
}
.lp-snap .section{
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.lp-snap{
  height:100svh; overflow-y:auto;
  scroll-snap-type:y mandatory;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scroll-padding-top:1px;
}
.lp-snap .section{
  min-height:100svh;
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
/* スマホ保険（FAQ消失対策） */
@media (max-width:768px){
  .section{ opacity:1 !important; transform:none !important; }
}
/* 長文用の内側スクロール */
.section__inner{
  max-height:100svh; overflow:auto; -webkit-overflow-scrolling:touch;
  padding:64px 20px;
}
@media (max-width: 768px) {
  .nav-dots {
    display: flex !important;
  }
}
/* ===== スマホでもナビドットを常に表示（最優先上書き） ===== */
#nav-dots{
  position: fixed;
  left: max(12px, env(safe-area-inset-left)); /* iPhoneのノッチ対応 */
  top: 50vh;
  transform: translateY(-50%);
  display: flex !important;        /* ← 最優先で表示 */
  flex-direction: column;
  gap: 8px;
  z-index: 99999;                   /* 何がかぶっても前に出す */
}

/* ドットのサイズ微調整（スマホで見やすく） */
#nav-dots .nav-dot{
  width: 12px;
  height: 12px;
}
/* ===== スマホ時はナビドットを右側へ移動し、被り回避 ===== */
@media (max-width: 768px) {
  #nav-dots{
    left: auto !important;
    right: calc(env(safe-area-inset-right, 0px) + 8px) !important;
    top: 50vh !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
    pointer-events: auto;
  }
  #nav-dots .nav-dot{
    width: 10px; height: 10px; border-radius: 50%;
  }

  /* 右に置いた分だけ、テキスト側も少し余白を追加（必要なら） */
  .section__inner, .container, .hero-content{
    padding-right: calc(20px + 32px); /* 既存20px + ドットぶん32px */
  }
}
/* 共通 */
#nav-dots{
  position: fixed;
  top: 50vh;
  transform: translateY(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: auto;
}
#nav-dots .nav-dot{
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,.5);
}
#nav-dots .nav-dot.active{ background:#fbbf24; transform: scale(1.2); }

/* PCは左に表示 */
@media (min-width: 769px){
  #nav-dots{ left: 20px; right: auto; }
}

/* スマホは右に表示して被りを避ける */
@media (max-width: 768px){
  #nav-dots{ right: calc(env(safe-area-inset-right,0px) + 8px); left: auto; }
  #nav-dots .nav-dot{ width: 10px; height: 10px; }
  /* 右側に少し余白を足してさらに安心（必要なら数値調整） */
  .section__inner, .container, .hero-content{ padding-right: calc(20px + 28px); }
}
/* style.css の末尾に追加 */
html {
  scroll-behavior: smooth; /* ← スムーズスクロール */
}