:root {
  --primary: #00B050;
  --primary-light: #E8F5E9;
  --accent: #FFCC00;
  --text: #333333;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
  --border: #E0E0E0;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  font-weight: 400;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1.2rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

small {
  font-size: 0.85em;
  opacity: 0.9;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

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

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding: 0 20px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  font-size: 1.05rem;
  min-width: 80%;
  max-width: 300px;
  margin: 0 auto;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: all 0.3s;
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: rgba(255,255,255,0.96) !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-radius: 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  padding: 18px 32px;
  font-size: 1.15rem;
  border: none;
  transition: all 0.25s;
}
.hero .btn-primary {
  background: rgba(255,255,255,0.96) !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-radius: 48px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  padding: 18px 32px;
  font-size: 1.15rem;
  border: none;
  transition: all 0.25s;
  display: inline-block;
  margin: 0 auto;
}
.hero .btn-primary:hover, .btn-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,176,80,0.18);
  transform: translateY(-2px) scale(1.02);
}
.hero .btn-primary:active, .btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0,176,80,0.12);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.hero-cta-btn {
  background: rgba(255,255,255,0.96) !important;
  color: var(--primary) !important;
  font-weight: 700;
  border-radius: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  padding: 14px 28px;
  font-size: 1.1rem;
  border: 2px solid white;
  transition: all 0.25s;
  display: inline-block;
  margin: 0 auto;
  letter-spacing: 0.03em;
  min-width: 260px;
  text-align: center;
}
.hero-cta-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,176,80,0.18);
  transform: translateY(-2px) scale(1.02);
}
.hero-cta-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(0,176,80,0.12);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 56px;
}

.logo-image {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-right: 0;
}

@media (max-width: 480px) {
  .header-logo {
    height: 44px;
  }
  .logo-image {
    height: 38px;
  }
}
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  padding: 80px 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: url('../images/ChatGPT Image 2025年7月1日 09_19_13.png') center/cover no-repeat;
  z-index: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: 100px 20px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 2.2rem;
  margin: 0 0 1.2rem 0;
  color: white;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.05em;
  padding: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 1.1rem;
  margin: 0 auto 2.5rem;
  max-width: 90%;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  padding: 12px 20px;
  line-height: 1.7;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  display: inline-block;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Steps Section */
.steps {
  background: linear-gradient(180deg, #f6fff9 0%, #ffffff 100%);
  padding: 80px 0;
  overflow: hidden;           /* アニメがはみ出さないように */
}

/* 見出し */
.steps h2 {
  text-align: center;
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 700;
  color: #00c853;
  margin-bottom: 48px;
  position: relative;
}
.steps h2::after {            /* 下線を淡いグリーンで */
  content: "";
  width: 72px;
  height: 4px;
  border-radius: 2px;
  background: #c8f6d7;
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
}

/* カードレイアウト */
.step-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .step-cards {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
    position: relative;
  }
  /* PCのみ：カードを線でつなぐ */
  .step-cards::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #e0f4e8;
    z-index: 0;
  }
}

/* カード本体 */
.step-card {
  flex: 1 1 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 56px 24px 40px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  position: relative;
  z-index: 1;                 /* ラインの上に表示 */
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* ステップ画像 */
.step-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

/* ステップ番号バッジ */
.step-number {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, #00c853 0%, #35d96c 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,.1);
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulse 2.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%      { transform: translateX(-50%) scale(1.08); }
}

/* 見出し＆本文 */
.step-card h3 {
  font-size: 20px;
  color: #00c853;
  margin-top: 12px;
  margin-bottom: 16px;
  letter-spacing: .05em;
}
.step-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* スクロールフェードアップ */
@media (prefers-reduced-motion: no-preference) {
  .step-card {
    opacity: 0;
    translate: 0 40px;
  }
  .step-card.is-visible {
    animation: fadeUp .8s .1s forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; translate: 0 0; }
  }
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Plans Section */
.plans {
  padding: 80px 0;
}

.plans h2 {
  text-align: center;
  margin-bottom: 2.2rem;
  font-size: 2rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.plan-card {
  max-width: 430px;
  margin: 0 auto;
  background: linear-gradient(105deg, #fff 70%, #e8f5e9 100%);
  border: 2.5px solid var(--primary);
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,176,80,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  text-align: center;
  position: relative;
}

.plan-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.plan-price {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.7rem;
}

.plan-price strong {
  display: inline-block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: 0.6em;
  letter-spacing: 0.05em;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.7rem;
}

.plan-features li {
  position: relative;
  font-size: 1.08rem;
  padding-left: 2em;
  margin-bottom: 1.1em;
  text-align: left;
}

.plan-features li::before {
  content: '✔';
  position: absolute;
  left: 0.3em;
  color: var(--primary);
  font-size: 1.1em;
  font-weight: bold;
}

.plan-note {
  font-size: 0.98rem;
  color: #555;
  background: var(--accent);
  padding: 0.7em 1em;
  border-radius: 8px;
  margin-top: 0.5em;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 2px 8px 0 rgba(255,204,0,0.10);
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary);
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial h3 {
  color: var(--text);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.testimonial-meta {
  color: #666;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.testimonial-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

.testimonial-text strong {
  color: var(--primary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .testimonial {
    padding: 2.5rem;
  }
}

.before, .after {
  border-radius: 8px;
  overflow: hidden;
}

.quote {
  font-style: italic;
  margin-bottom: 0.5rem;
}

.author {
  font-weight: 700;
  color: var(--primary);
}

/* Trainer Section */
.trainer-intro {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.trainer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.trainer-photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.trainer-subtitle {
  font-size: 14px;
  line-height: 1.4;
  color: #00C853;
  margin-bottom: 1rem;
}

.trainer-name {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #333;
}

.trainer-name-en {
  font-size: 18px;
  color: #555555;
  margin-bottom: 8px;
}

.trainer-position {
  font-size: 18px;
  color: #00C853;
  font-weight: 700;
  margin-bottom: 16px;
}

.trainer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  background-color: #E8F9F0;
  color: #00C853;
  padding: 4px 16px;
  border-radius: 32px;
  font-size: 14px;
  white-space: nowrap;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #333;
}

.trainer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.trainer-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  line-height: 1.6;
}

.trainer-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #00C853;
  font-weight: bold;
}

.trainer-belief {
  background-color: #F0FFF5;
  padding: 24px;
  border-radius: 8px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.trainer-cta {
  text-align: center;
}

.trainer-cta .btn {
  background: linear-gradient(135deg, #00C853, #3AD46E);
  color: white;
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.3);
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  min-width: auto;
  width: auto;
}

.trainer-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

@media (min-width: 992px) {
  .trainer-grid {
    grid-template-columns: 40% 1fr;
    gap: 5%;
  }
  
  .trainer-cta {
    text-align: right;
  }
}

/* FAQ Section */
.faq {
  padding: 80px 0;
}

.faq h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--primary);
}

.faq-item {
  max-width: 800px;
  margin: 0 auto 2rem;
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary), #008B45);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.cta .btn {
  background-color: var(--accent);
  color: var(--text);
  font-weight: 700;
}

/* Footer */
.footer {
  background-color: #2E2E2E;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .step-cards {
    grid-template-columns: 1fr;
  }
  
  .before-after {
    grid-template-columns: 1fr;
  }
  
  .header-logo {
    font-size: 1.5rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}
