/* ===== COLOR PALETTE (Green-based) ===== */
:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-700: #388E3C;
  --green-600: #43A047;
  --green-500: #4CAF50;
  --green-100: #C8E6C9;
  --green-50: #E8F5E9;
  --gold: #FFD54F;
  --gold-dark: #F9A825;
  --dark: #1a2e1a;
  --dark-card: #1e3320;
  --white: #ffffff;
  --gray-50: #F8FAF8;
  --gray-100: #EDF2ED;
  --gray-200: #D5DDD5;
  --red: #D32F2F;
}

/* ===== SECTION COMMON ===== */
.section { padding: 48px 20px; }
.section-title {
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 28px;
}
.section-title .accent { color: var(--green-700); }
.section-title .gold { color: var(--gold-dark); }
.section-title .red { color: var(--red); }



/* ===== 1. FIRST VIEW (HERO) ===== */

.wrapper_large{
  max-width: 480px;
  margin: auto;
}

.hero {
  position: relative;
  width: 100%;
  /* height: 100dvh; */
  height: 810px;
  /* height: clamp(520px, 92svh, 680px); */
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* background: url('img/hero-bg.jpg') center top / contain no-repeat; */
    background: url('img/hero-bg.jpg') top center / cover no-repeat;
    padding-bottom: 0px; /* ボタン分のスペース確保 */
}

@media (max-width: 360px){
  .hero{
    height: 670px;
    padding-bottom: 0px;
  }
}


/* .hero .cta-btn{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 20px;
} */

/* .hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(13,59,13,0.75) 0%, rgba(27,94,32,0.65) 40%, rgba(46,125,50,0.55) 100%);
  pointer-events: none;
} */

/* ===== VIDEO SECTION ===== */
.video-section {
  background: var(--dark);
  padding: 32px 16px;
  text-align: center;
}
.video-section-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}
.video-section-title .accent {
  color: var(--green-500);
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  border: 2px solid rgba(76,175,80,0.3);
}
.video-wrapper video {
  width: 100%;
  display: block;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  margin-bottom: 1.5rem;
  align-items: center;
}
.hero-logo {
  width: clamp(180px, 55vw, 260px);
  margin: 0 auto clamp(12px, 2.5vh, 24px);
  filter: drop-shadow(0 3px 12px rgba(0,0,0,0.5));
  opacity: 1;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  font-size: clamp(0.65rem, 1.8vw, 0.8rem);
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: clamp(10px, 2vh, 18px);
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,215,79,0.35);
  backdrop-filter: blur(4px);
}
.hero-main-copy {
  font-size: clamp(1.4rem, 5.5vw, 1.8rem);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: clamp(4px, 1vh, 10px);
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
}
.hero-main-copy .num {
  font-size: clamp(1.9rem, 7vw, 2.5rem);
  color: var(--gold);
}
.hero-sub-copy {
  font-size: clamp(0.75rem, 2.2vw, 0.95rem);
  font-weight: 700;
  margin-bottom: clamp(14px, 3vh, 28px);
  color: var(--gold);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 20px);
  margin-bottom: clamp(16px, 3vh, 28px);
  flex-wrap: nowrap;
}
.hero-stat {
  width: clamp(85px, 24vw, 110px);
  height: clamp(85px, 24vw, 110px);
  border-radius: 50%;
  background: #2E7D32;
  border: 3px solid rgba(76,175,80,0.7);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), inset 0 2px 8px rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.hero-stat:hover {
  transform: scale(1.05);
}
.hero-stat .stat-icon {
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  margin-bottom: 2px;
  line-height: 1;
}
.hero-stat .stat-num {
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-stat .stat-unit {
  font-size: clamp(0.5rem, 1.5vw, 0.65rem);
  color: var(--gold);
}
.hero-stat .stat-label {
  font-size: clamp(0.5rem, 1.4vw, 0.6rem);
  color: rgba(255,255,255,0.85);
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: block;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  text-align: center;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(46,125,50,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.cta-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(46,125,50,0.3);
}
.cta-btn .line-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 6px;
  background: #fff;
  border-radius: 6px;
  position: relative;
}
.cta-btn .line-icon::after {
  content: 'LINE';
  font-size: 8px;
  font-weight: 900;
  color: #06C755;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-micro {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  margin-top: 10px;
}
.cta-micro-dark {
  color: #888;
}

/* ===== 2. PAIN POINTS ===== */
.pain {
  background: var(--white);
}
.pain-list {
  list-style: none;
}
.pain-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
}
.pain-list li:last-child { border-bottom: none; }
.pain-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  margin-top: 2px;
}

/* ===== SECTION IMAGE ===== */
.section-img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
}
.section-img-full {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  border-radius: 0;
  margin-bottom: 24px;
}

/* ===== 3. PROBLEM & SOLUTION ===== */
.problem {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.problem .section-title { color: #fff; }
.problem .section-title .red { color: #FF8A80; }
.problem-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.problem-highlight {
  display: inline-block;
  background: linear-gradient(transparent 60%, rgba(255,213,79,0.4) 60%);
  font-weight: 700;
  color: #fff;
}
.problem-solution {
  background: rgba(46,125,50,0.2);
  border: 1px solid rgba(76,175,80,0.4);
  border-radius: 16px;
  padding: 24px 20px;
  margin-top: 20px;
}
.problem-solution p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--green-100);
}
.problem-solution .bz {
  color: var(--gold);
  font-size: 1.15rem;
}

/* ===== 4. REASONS ===== */
.reasons {
  background: var(--green-50);
}
.reason-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 12px rgba(46,125,50,0.08);
}
.reason-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.reason-card-body {
  padding: 24px 20px;
  position: relative;
}
.reason-card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--green-500));
}
.reason-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 12px;
}
.reason-heading {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #1a1a1a;
}
.reason-heading .green { color: var(--green-700); }
.reason-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}
.reason-badge {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 10px;
  border: 1px solid var(--green-100);
}

/* ===== MID CTA ===== */
.mid-cta {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  text-align: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.mid-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
}
.mid-cta-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  position: relative;
}
.mid-cta-subtitle {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 20px;
  position: relative;
}

/* ===== 5. TESTIMONIALS ===== */
.testimonials {
  background: var(--white);
}
.testimonials-bg {
  width: calc(100% + 40px);
  margin-left: -20px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 24px;
  border-radius: 0;
}
.testimonial-card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 16px;
  border: 1px solid var(--gray-200);
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.testimonial-avatar {
  width: 50px; height: 50px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-700);
  flex-shrink: 0;
}
.testimonial-info .name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
}
.testimonial-score {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.score-before {
  font-size: 1.1rem;
  font-weight: 700;
  color: #999;
}
.score-arrow {
  color: var(--green-700);
  font-weight: 900;
  font-size: 1rem;
}
.score-after {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
}
.testimonial-stars {
  color: #FFB300;
  font-size: 0.85rem;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
  border-left: 3px solid var(--green-500);
  padding-left: 14px;
}

/* ===== 6. GUARANTEE ===== */
.guarantee {
  background: var(--dark);
  color: #fff;
  text-align: center;
}
.guarantee .section-title { color: #fff; }
.guarantee-shield {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  border: 2px solid var(--gold);
}
.guarantee-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.guarantee-banner {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
  border: 1px solid rgba(76,175,80,0.3);
}
.guarantee-banner img {
  width: 100%;
  height: auto;
  display: block;
}
.guarantee-message {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
}

/* ===== 7. FINAL CTA ===== */
.final-cta {
  background: var(--green-50);
  text-align: center;
  padding: 56px 20px;
}
.final-cta .section-title {
  margin-bottom: 8px;
}
.final-cta-sub {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 32px;
}
.final-cta-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
  border: 2px solid var(--green-100);
}
.final-cta-benefits {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  margin-bottom: 28px;
  border: 1px solid var(--green-100);
}
.final-cta-benefits .benefits-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--green-800);
  text-align: center;
  margin-bottom: 16px;
}
.final-cta-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  font-weight: 500;
}
.final-cta-benefits .benefit-item:last-child { border-bottom: none; }
.final-cta-benefits .benefit-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
}
.course-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.course-feature {
  background: var(--white);
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  border: 1px solid var(--green-100);
}
.course-feature .cf-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.course-feature .cf-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
}
.final-cta-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 8px;
}
.trust-item {
  text-align: center;
  font-size: 0.7rem;
  color: var(--green-800);
  font-weight: 500;
}
.trust-item .trust-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

/* ===== 8. FOOTER ===== */
.footer {
  background: #f0f4f0 !important;
  /* color: rgba(255,255,255,0.6); */
  text-align: center;
  padding: 32px 20px;
  /* margin-top: 20px !important; */
  padding-bottom: 50px;
}
.footer-logo {
  width: 160px;
  margin: 0 auto 16px;
  /* filter: brightness(0) invert(1);
  opacity: 0.8; */
}
.footer-info {
  font-size: 0.7rem;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--green-800);
}
.footer-copy {
  font-size: 0.65rem;
  color: var(--green-800);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background: rgba(27,46,27,0.95);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
}
.floating-cta .cta-btn {
  max-width: 300px;
  padding: 14px 16px;
  font-size: 0.95rem;
  margin: 0;
}
.floating-cta .cta-btn::before { display: none; }

/* ===== ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== URGENCY BAR ===== */
.urgency-bar {
  /* background: linear-gradient(90deg, var(--green-800), var(--green-600)); */
  background-color: #fff;
  color: #7a7a7a;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
display: flex;
justify-content: space-between;
/* flex-wrap: wrap; */
align-items: center;
  /* white-space: normal; */

}
.logo {
  width: 180px;
  height: auto;  
  flex-shrink: 0;
  padding-right: 10px;
}
.urgency-text{
  margin: 0;
  white-space: normal;   /* 念のため */
  overflow-wrap: anywhere; /* 長い文字でも折れる */
  text-align: right;
}
.urgency-bar .blink {
  animation: blink 1.5s infinite;
  color: var(--gold);
}
.header_text{
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}


@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  display: flex;
  gap: 4px;
  overflow: hidden;
  margin-bottom: 0;
}
.gallery-strip img {
  width: 33.33%;
  height: 120px;
  object-fit: cover;
}

/* ===== MEDIA QUERIES ===== */
/* Tall phones (iPhone 14 Pro Max, etc.) */
@media (min-height: 800px) {
  .hero-logo { margin-bottom: clamp(16px, 3vh, 32px); }
  .hero-badge { margin-bottom: clamp(14px, 2.5vh, 24px); }
  .hero-main-copy { margin-bottom: clamp(8px, 1.5vh, 16px); }
  .hero-sub-copy { margin-bottom: clamp(20px, 4vh, 36px); }
  .hero-stats { margin-bottom: clamp(24px, 4vh, 36px); }
}
/* Small phones */
@media (max-width: 360px) {
  .hero-content { padding: 0 16px; }
}
/* Very short screens */
@media (max-height: 600px) {
  .hero { min-height: 520px; }
  .hero-logo { width: 160px; margin-bottom: 8px; }
  .hero-badge { margin-bottom: 8px; padding: 3px 12px; }
  .hero-main-copy { font-size: 1.3rem; margin-bottom: 4px; }
  .hero-main-copy .num { font-size: 1.7rem; }
  .hero-sub-copy { margin-bottom: 10px; }
  .hero-stat { width: 78px; height: 78px; }
  .hero-stats { gap: 8px; margin-bottom: 12px; }
}