/* ================================
   体験レッスン専用ページ (trial-lesson.css)
   ================================ */

/* ページ全体 */
body.page-trial-lesson .trial-lesson {
  background: #f9fafb;
  padding: 60px 20px;
}

body.page-trial-lesson .trial-lesson-container {
  max-width: 1250px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1.1rem;   /* 基本フォントサイズ少し大きめ */
  line-height: 1.8;
}

/* ヘッダー */
body.page-trial-lesson .trial-lesson-header h1 {
  font-size: 2.2rem;   /* タイトル大きめ */
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 0.5em;
}

body.page-trial-lesson .trial-lesson-header p {
  text-align: center;
  color: #181818;
  margin-bottom: 2em;
  font-size: 1.8rem;   /* サブ説明も大きめ */
}

.trial-lesson-header h2 {
  font-size: 2rem;
  margin-bottom: 1em;
  color: #c13e3e;
  text-align: center;
}

/* ------------------------------
   レッスン概要（カードエリア）
   ------------------------------ */
.lesson-types {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}
.lesson-card {
  flex: 1 1 calc(33.333% - 20px);
  padding: 24px;
  border-radius: 6px;
  text-align: center;  /* 見出しは中央寄せのまま */
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.lesson-card:hover {
  transform: translateY(-4px);
}

/* ------------------------------
   個別カラー（共通化）
   ------------------------------ */
.card-face, .block-face {
  background: #e6f0fa; /* 青系（対面） */
}

.card-online-group, .block-online-group {
  background: #e9f7ef; /* 緑系（オンライン・グループ） */
}

.card-private, .block-private {
  background: #fff4e6; /* オレンジ系（プライベート） */
}

.lesson-card h2 {
  font-size: 1.6rem;   /* 小見出しを強調 */
  margin-bottom: 0.8em;
  color: #2a5d84;
  padding-top: 14px;
}

.lesson-card p {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #444;
  text-align: left; /* ★ 説明文だけ左寄せ */
}

/* ------------------------------
   レッスン詳細（縦積みブロック）
   ------------------------------ */
.lesson-details {
  margin: 50px 0;
}

.lesson-block {
  border-left: 6px solid #2a5d84;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.lesson-block h3 {
  font-size: 1.8rem;   /* セクション見出しを大きく */
  margin-bottom: 0.8em;
  color: #2a5d84;
}

.lesson-block p {
  font-size: 1.6rem;   /* 本文も大きめ */
  line-height: 1.8;
  color: #444;
}


/*流れ*/
.trial-flow {
  background: #f9fafb;
  padding: 60px 20px;

}
.trial-flow__title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}
.trial-flow__timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.trial-flow__step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
}
.trial-flow__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-right: 16px;
  font-size: 1.2rem;
}
.trial-flow__content h3 {
  font-size: 1.7rem;
  font-weight: 600;
  margin: 4px;
}
.trial-flow__content p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.trial-flow_bt{
    font-size: 16px;
    margin-bottom: 40px;
}

/* ------------------------------
   費用案内（テーブル）
   ------------------------------ */
.lesson-fee {
  margin-top: 60px;
}

.lesson-fee h2 {
  font-size: 1.6rem;
  margin-bottom: 1em;
  color: #333;
  text-align: center;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
  font-size: 1.4rem;  /* 表の文字も見やすく */
}

.fee-table th,
.fee-table td {
  border: 1px solid #ccc;
  padding: 14px;
  text-align: center;
  font-size: 18px;
}

.fee-table th {
  background: #f0f4f8;
  font-weight: bold;
}

.note {
  font-size: 1.2rem;
  color: #2d2d2d;
  text-align: left;
}

/* ------------------------------
   レスポンシブ対応
   ------------------------------ */
@media (max-width: 1024px) {
  body.page-trial-lesson .trial-lesson-container {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .lesson-types {
    flex-direction: column;
  }
  .lesson-card {
    flex: 1 1 100%;
  }

  .lesson-card h2 {
    font-size: 1.3rem;
  }

  .lesson-block h3 {
    font-size: 1.6rem;
  }

  .fee-table th,
  .fee-table td {
    font-size: 1.2rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  body.page-trial-lesson .trial-lesson-container {
    padding: 20px;
  }

  body.page-trial-lesson .trial-lesson-header h1 {
    font-size: 1.7rem;
  }

  .lesson-card p,
  .lesson-block p {
    font-size: 1.5rem;
    line-height: 2em;
  }


}

/* ===== Trial Hero (体験レッスン メインエリア) ===== */
.trial-hero {
  width: 100%;
  /* 背景：淡いグラデ＋うっすら模様（必要なら差し替え可） */
  background:
    linear-gradient(135deg, #f7fafc 0%, #eef2ff 100%);
  padding: 72px 20px;
  position: relative;
  overflow: hidden;
}

.trial-hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

/* 左カラム */
.trial-hero__text {
  flex: 1 1 56%;
  min-width: 0;
}

.trial-hero__badge {
  display: inline-block;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: .06em;
  color: #1d4ed8;
  background: #e0e7ff;
  border: 1px solid #c7d2fe;
  padding: 8px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.trial-hero__title {
  font-size: 2.4rem;        /* 以前より大きめ */
  line-height: 1.25;
  font-weight: 800;
  color: #111827;
  margin: 0 0 18px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.trial-hero__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 68%;
  height: 6px;
  background: linear-gradient(90deg, #f59e0b, #ec4899);
  border-radius: 3px;
}

.trial-hero__lead {
  font-size: 1.6rem;  /* ≒18px */
  line-height: 1.9;
  color: #374151;
  margin: 0 0 22px;
}

/* 共感→解決の2カード */
.trial-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 24px;
}
.trial-hero__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 3px 10px rgba(0,0,0,.04);
}
.trial-hero__card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
}
.trial-hero__list {
  margin: 0; padding-left: 1.1em;
  color: #374151;
  font-size: 1.4rem;
  line-height: 1.7;
}

/* CTA */
.trial-hero__cta {
  margin-top: 40px;
  text-align: center;
}
.trial-hero__btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 9999px;
  font-weight: 700;
}

/* ベース（未訪問・訪問済みどちらも同じ見た目） */
.trial-hero__link,
.trial-hero__link:link,
.trial-hero__link:visited {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #f9e19a;
  font-size: 1.4rem;
  font-weight: 600;
  color: #bd4c4c;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

/* ホバー（訪問済みでも同じ挙動に） */
.trial-hero__link:hover,
.trial-hero__link:visited:hover,
.trial-hero__link:focus-visible {
  background: #e8b18a;
  color: #fff;
  transform: translateY(-2px);
}


.trial-hero__link i {
  font-size: 1.1rem;
  color: #2563eb;
}

/* 右カラム：画像 */
.trial-hero__image {
  flex: 1 1 44%;
  max-width: 70%;      /* ご希望どおり “見た目70%” */
  margin-left: auto;
}
.trial-hero__image amp-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17,24,39,.15);
}

/* スマホ対応（縦積みへ） */
@media (max-width: 1024px) {
  .trial-hero__title { font-size: 2.05rem; }
}
@media (max-width: 768px) {
  .trial-hero__container {
    flex-direction: column;
    gap: 28px;
    text-align: left;
  }
  .trial-hero__text { order: 1; }
  .trial-hero__image {
    order: 2;
    max-width: 100%;
    width: 100%;
  }
  .trial-hero__lead { text-align: left; }
  .trial-hero__grid {
    grid-template-columns: 1fr;
  }
  .sp-only { display: inline; }
}
@media (min-width: 769px) {
  .sp-only { display: none; }
}

/* 体験レッスンページ用 写真エリアレイアウト */
body.page-trial-lesson .trial-hero__photos {
  max-width: 1250px;        /* コンテナ幅を制限 */
  margin: 40px auto;        /* 中央寄せ＋上下余白 */
  background: #fff;
  padding: 32px 24px;
  border-radius: 8px;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
}

/* PC: グリッド */
body.page-trial-lesson .trial-hero__photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

/* 写真カード */
body.page-trial-lesson .trial-hero__photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
body.page-trial-lesson .trial-hero__photo amp-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* SP: カルーセル */
body.page-trial-lesson .trial-hero__photos-carousel {
  display: block;
}
body.page-trial-lesson .trial-hero__photos-carousel amp-carousel {
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ブレークポイントで出し分け */
@media (min-width: 769px) {
  body.page-trial-lesson .trial-hero__photos-grid { display: grid; }
  body.page-trial-lesson .trial-hero__photos-carousel { display: none; }
}

@media (max-width: 768px) {
  body.page-trial-lesson .trial-hero__photos {
    padding: 20px 16px;
    margin: 24px auto;
  }
}


.trial-flow__final-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap; /* PCは横並び */
}

.trial-flow__final-image amp-img {
  border-radius: 50%;      /* 丸型に */
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.trial-flow__final-text {
  flex: 1;
  text-align: center;; /* PCでは左寄せ */
}

.trial-flow__final-copy {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.5;
}

/* スマホでは縦並びに切り替え */
@media (max-width: 768px) {
  .trial-flow__final-inner {
    flex-direction: column;
    text-align: center;
  }
  .trial-flow__final-text {
    text-align: center;
  }
  .trial-flow__final-image {
    margin-bottom: 16px;
  }

  body.page-trial-lesson .trial-lesson-header p {

    text-align: left;
  }
}

/* 体験レッスンページ専用ボタン装飾 */
body.page-trial-lesson a.button.gradation,
body.page-trial-lesson button.button.gradation {
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 14px 30px;
  transition: all .25s ease;
}

/* hover時 */
body.page-trial-lesson a.button.gradation:hover,
body.page-trial-lesson button.button.gradation:hover {
  background: linear-gradient(90deg, #f6a265 0%, #f7c469 100%);
  color: #fff;
  transform: translateY(-2px);
}