/* online.css - 整理版 */

/* ─── ヒーローセクション ─── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0;
  position: relative;
  background: url('/assets/images/chat-uranai.jpg') center/cover no-repeat;
}

/* ─── 動画プレビューセクション ─── */
.video-preview {
  background-color: #fff;
  padding: 80px 0;
}
.video-preview .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.video-preview__title {
  font-size: 2rem;
  color: #e10080;
  text-align: center;
  margin-bottom: 40px;
}

/* ─── 動画ラッパー ─── */
.hero-video-wrapper {
  max-width: 960px;
  margin: 0 auto 1.5rem;
}
.hero-video-wrapper .hero-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

/* ─── 説明カード ─── */
.hero-description-card {
  width: calc(100% - 40px);
  max-width: 720px;
  margin: 1.5rem auto 2rem;
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
}
.hero-description-card h3 {
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: #e10080;
  line-height: 1.3;
}
.hero-description-card p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
.hero-description-card .btn-hero {
  display: inline-block;
  padding: 12px 28px;
  background: #e10080;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}

/* ─── 新着コラムセクション ─── */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
}
.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 15px;
}
.blog-card-content h3 {
  flex-grow: 1;
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.5;
}
.blog-card-author {
  display: flex;
  align-items: center;
  margin-top: auto;
}
.blog-card-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

/* ─── レビューセクション ─── */
.reviews {
  background-color: #f9f9f9;
  padding: 60px 0;
}
.reviews h2,
.reviews .section-description {
  text-align: center;
}
.reviews h2 {
  margin-bottom: 15px;
}
.reviews .section-description {
  margin-bottom: 40px;
  color: #555;
}
.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.review-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-meta {
  font-size: 0.9em;
  font-weight: bold;
  color: #666;
}
.review-stars {
  color: #ffc107;
}
.review-card h4 {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #e91e63;
}
.review-card p {
  margin-bottom: 15px;
  font-size: 0.95em;
  line-height: 1.7;
}
.review-teller {
  display: block;
  text-align: right;
  font-size: 0.9em;
  color: #888;
}

/* ─── 共通ボタン ─── */
.view-more-button-container,
.schedule-button-container {
  text-align: center;
  margin-top: 40px;
}
.cta-button.cta-secondary {
  display: inline-block;
  min-width: 260px;
  padding: 12px 30px;
  background: #fff;
  color: #e91e63;
  border: 2px solid #e91e63;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.cta-button.cta-secondary:hover {
  background: #e91e63;
  color: #fff;
}

/* ─── レスポンシブ ─── */
@media screen and (max-width: 768px) {
  .video-preview {
    padding: 40px 0;
  }
  .video-preview__title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }
  .hero-video-wrapper {
    max-width: 100%;
    margin-bottom: 1rem;
  }
  .hero-description-card {
    width: calc(100% - 32px);
    margin: 16px auto 2rem;
    padding: 16px;
  }
  .hero-description-card h3 {
    font-size: 1.25rem;
  }
  .hero-description-card p {
    font-size: 0.95rem;
  }
  .hero-description-card .btn-hero {
    display: block;
    width: 100%;
    padding: 12px 0;
  }
  .reviews {
    padding: 40px 0;
  }
}
