/* AI研修プログラムページ スタイル */

/* ヒーローセクション */
.aiTrainingPage {
  padding-top: 80px;
}

.aiHero {
  padding: 5rem 1rem 6rem;
  border-bottom: 4px solid #9344de;
  min-height: 500px;
}

.aiHeroInner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.aiHeroContent {
  flex: 1;
  text-align: left;
}

.aiHeroTitle {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.aiHeroMainCopy {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.aiHeroSubContent {
  margin-top: 1.5rem;
}

.aiHeroSubtitle {
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.aiHeroSubtitle:before {
  content: "▶";
  position: absolute;
  left: 0;
  color: #9344de;
  font-size: 0.8rem;
}

.aiHeroImageWrap {
  flex: 0 0 auto;
  margin-top: 2rem;
}

.aiHeroImage {
  width: 400px;
  height: auto;
}

/* 研修プログラムセクション */
.aiTrainingSection {
  padding: 4rem 1rem;
}

.aiSectionDescription {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.aiSectionTitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.aiProgramsWrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.aiProgramCard {
  border: 3px solid #9344de;
  border-radius: 8px;
  padding: 2rem 2rem;
  width: 360px;
  text-align: center;
  background-color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aiProgramCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(147, 68, 222, 0.2);
}

.aiProgramImage {
  height: 120px;
  margin-bottom: 1.5rem;
}

.aiProgramTitle {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.aiProgramText {
  margin-bottom: 0.2rem;
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* 料金プラン & 特徴セクション */
.aiPriceSection {
  padding: 4rem 1rem;
}

.aiPriceTableWrap {
  overflow-x: auto;
  margin: 2rem auto;
  max-width: 900px;
}

.aiPriceTable {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.aiPriceTable thead {
  background-color: #9344de;
}

.aiPriceTable th,
.aiPriceTable td {
  border: 1px solid #9344de;
  padding: 1rem;
  text-align: center;
}

.aiPriceTable th {
  font-weight: bold;
  font-size: 1rem;
}

.aiPriceTable td {
  font-size: 0.95rem;
}

.aiPriceTable tbody tr:hover {
  background-color: #f8f5fb;
}

/* 特徴リスト */
.aiFeaturesWrap {
  max-width: 700px;
  margin: 3rem auto;
}

.aiFeaturesList {
  list-style: none;
  padding: 0;
}

.aiFeaturesList li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.aiFeaturesList li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #9344de;
  font-weight: bold;
  font-size: 1.2rem;
}

/* お問い合わせセクション */
.aiContactWrap {
  margin-top: 3rem;
}

.aiContactText {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.aiMailIcon {
  width: 24px;
  height: 24px;
  margin: 0;
  filter: invert(39%) sepia(60%) saturate(1818%) hue-rotate(238deg)
    brightness(93%) contrast(93%);
}

.aiPhoneIcon {
  width: 24px;
  height: 24px;
  margin: 0;
  filter: invert(39%) sepia(60%) saturate(1818%) hue-rotate(238deg)
    brightness(93%) contrast(93%);
}

/* 電話お問い合わせセクション */
.aiPhoneContact {
  margin: 2rem 0;
}

.aiPhoneNumber {
  margin-top: 0.5rem;
}

.aiPhoneNumberImage {
  height: 24px;
  width: auto;
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
  .aiPhoneNumberImage {
    height: 18px;
  }
}

.aiContactWrap .buttonWrap {
  margin: 0 auto;
  justify-content: center;
}

.aiContactButton {
  padding: 1.2rem 2rem !important;
  font-size: 1.1rem !important;
}

.aiContactButton p {
  font-size: 1.1rem !important;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* 左側の固定ヘッダー分のオフセット（9vw - 3px） */
  .aiTrainingPage {
    padding-left: calc(9vw - 3px);
  }

  .aiHero,
  .aiTrainingSection,
  .aiPriceSection {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .aiHeroInner,
  .inner {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .aiHeroInner {
    flex-direction: column;
    text-align: center;
  }

  .aiHeroContent {
    text-align: center;
  }

  .aiHeroTitle {
    font-size: 2rem;
  }

  .aiHeroMainCopy {
    font-size: 1.1rem;
  }

  .aiHeroSubtitle {
    font-size: 0.75rem;
    text-align: left;
    max-width: 500px;
    margin: 0 auto 0.6rem;
  }

  .aiHeroImage {
    width: 250px;
  }

  .aiHeroImageWrap {
    margin-top: 1rem;
  }

  .aiProgramsWrap {
    flex-direction: column;
    align-items: center;
  }

  .aiProgramCard {
    width: 90%;
    max-width: 350px;
  }

  .aiProgramTitle br {
    display: none;
  }

  .aiSectionDescription {
    font-size: 0.9rem;
    padding: 0 1rem;
  }

  .aiSectionTitle {
    font-size: 1.5rem;
  }

  .aiPriceTable {
    font-size: 0.85rem;
  }

  .aiPriceTable th,
  .aiPriceTable td {
    padding: 0.7rem 0.5rem;
  }

  .aiFeaturesList li {
    font-size: 0.95rem;
  }

  .aiContactText {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  /* 左側の固定ヘッダー分のオフセット調整 */
  .aiTrainingPage {
    padding-left: calc(9vw - 3px);
  }

  .aiHeroTitle {
    font-size: 1.5rem;
  }

  .aiHeroMainCopy {
    font-size: 0.95rem;
  }

  .aiHeroSubtitle {
    font-size: 0.7rem;
  }

  .aiHeroImage {
    width: 180px;
  }

  .aiProgramImage {
    height: 80px;
  }

  .aiProgramTitle br {
    display: none;
  }

  .aiSectionDescription {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }
}
