/* Top Section */
.top-section {
  text-align: center;
  background-color: #fff;
  padding: 0;
  margin: 0;
}

.top-section__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative; /* absoluteの基準点 */
}

.top-section__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative; /* absoluteの基準点 */
  overflow: hidden; /* 余白を隠す */
}

.top-section__inner img {
  width: 101%;
  max-width: none;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.top-section__title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: bold;
}

.top-section__lead {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* FV Header Text (Absolute Positioning) */
.fv-header-text {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 15px 30px;
  border: 5px solid #e74c3c;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  text-align: center;
  width: 85%;
  max-width: 800px;
}

.fv-header-text__subtitle {
  color: #e74c3c;
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 3px;
  white-space: nowrap;
}

.fv-header-text__title {
  color: #e74c3c;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 2px;
  white-space: nowrap;
}

.fv-header-text__title-small {
  font-size: 2.3rem;
  color: #333;
  font-weight: 900;
}

/* レスポンシブ対応 - 中間サイズ (830px以下) */
@media (max-width: 830px) {
  .fv-header-text__subtitle {
    font-size: 1.8rem;
  }

  .fv-header-text__title {
    font-size: 2.8rem;
  }

  .fv-header-text__title-small {
    font-size: 1.8rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .fv-header-text {
    top: 15px;
    padding: 15px 20px;
    width: 90%;
  }

  .fv-header-text__subtitle {
    font-size: 1.1rem;
    white-space: normal; /* 改行を許可 */
  }

  .fv-header-text__title {
    font-size: 1.6rem;
    white-space: nowrap; /* 改行しない */
  }

  .fv-header-text__title-small {
    font-size: 1.1rem;
  }
}

/* レスポンシブ対応 - 小さい画面 (400px以下) */
@media (max-width: 400px) {
  .fv-header-text {
    padding: 12px 15px;
    width: 92%;
  }

  .fv-header-text__subtitle {
    font-size: 0.9rem;
  }

  .fv-header-text__title {
    font-size: 1.3rem;
  }

  .fv-header-text__title-small {
    font-size: 0.9rem;
  }
}

/* FV (Video) */
.fv {
  width: 100%;
  max-width: 600px; /* Adjust as needed */
  margin: 0 auto;
  padding: 20px;
}

.video-container {
  position: relative;
  width: 100%;
  cursor: pointer;
}

#video-thumbnail {
  width: 100%;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: none; /* クリックイベントを親要素に伝える */
}

.play-button i {
  color: white;
  font-size: 32px;
  margin-left: 5px; /* 三角形を中央に見せるための微調整 */
}

.video-container:hover .play-button {
  background-color: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-container.playing #video-thumbnail,
.video-container.playing .play-button {
  display: none;
}

.video-container.playing #fv-video {
  display: block !important;
}

#fv-video {
  width: 100%;
  height: auto;
  display: block;
}

/* Hidden Section */
.hidden-section {
  /* padding: 20px 0px; */
  background-color: #fff;
  text-align: center;
  /* hidden by default via inline style, but transition needs display:block eventually */
  /* opacity: 0;
  transition: opacity 1s ease-in-out; */
}

.hidden-section.is-visible {
  opacity: 1;
}

.hidden-section__inner {
  width: 100%;
  margin: 0 auto;
}

.hidden-section__inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* Under Section */
.under-section__inner {
  width: 100%;
  margin: 0 auto;
}

.under-section__inner img {
  width: 100%;
  height: auto;
  display: block;
}

.hidden-section__title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #333;
}

.hidden-section__text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hidden-section__btn-wrapper {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #555;
  text-decoration: none;
}

/* Accordion Section */
.accordion-section {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  @media (max-width: 768px) {
    padding: 0;
  }
}

.accordion-item {
  background: linear-gradient(135deg, #d4a5a5 0%, #c9a8a8 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  padding: 24px 30px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.1);
}

.accordion-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1a1a1a;
  text-align: left;
}

.accordion-icon {
  font-size: 1.2rem;
  color: #1a1a1a;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 30px;
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 0 30px 30px 30px;
}

.comparison-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.comparison-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
  padding: 16px 20px;
  font-size: 1.25rem;
  font-weight: bold;
  color: white;
  text-align: center;
}

.free-course .card-header {
  background: linear-gradient(135deg, #ff6b4a 0%, #ff8566 100%);
}

.paid-course .card-header {
  background: linear-gradient(135deg, #1e7a9e 0%, #2a9bc4 100%);
}

.card-body {
  padding: 24px 20px;
  text-align: left;
}

.info-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row .label {
  font-weight: bold;
  color: #333;
  font-size: 0.95rem;
  padding-top: 2px;
}

.info-row .value {
  color: #333;
  line-height: 1.7;
  font-size: 0.95rem;
  text-align: justify;
  text-justify: inter-ideograph;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .accordion-title {
    font-size: 1.2rem;
  }

  .accordion-header {
    padding: 20px;
  }

  .accordion-content {
    padding: 0 20px;
  }

  .accordion-item.active .accordion-content {
    padding: 0 20px 20px 20px;
  }

  .comparison-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-header {
    font-size: 1.1rem;
    padding: 14px 16px;
  }

  .card-body {
    padding: 20px 16px;
  }

  .info-row {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }

  .info-row .label,
  .info-row .value {
    font-size: 0.9rem;
  }
}
