/* レッスン詳細ページ共通セクション */

/* 入会の流れセクション - フルワイド対応 */
.lesson__flow {
  padding: 60px 0;
  background-color: #f8f9fa;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.lesson__flow-container {
  width: 100%;
  margin-inline: auto;
  max-width: 900px;
  padding: 0;
}

.lesson__flow-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 50px;
}

.lesson__flow-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.lesson__flow-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.lesson__flow-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #8cc400;
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}

.lesson__flow-step-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 12px;
}

.lesson__flow-step-content p {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin: 0;
}

/* 備考セクション */
.lesson__flow-notes {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-top: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lesson__flow-notes h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #8cc400;
}

.lesson__flow-notes p {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 12px;
}

.lesson__flow-notes p:last-child {
  margin-bottom: 0;
}

/* レスポンシブ対応 - フルワイド */
@media (max-width: 768px) {
  .lesson__flow {
    padding: 40px 0;
  }

  .lesson__flow-container {
    padding: 0 20px;
  }

  .lesson__flow-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .lesson__flow-step {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

  .lesson__flow-step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    align-self: center;
  }

  .lesson__flow-step-content h3 {
    font-size: 18px;
    text-align: center;
  }

  .lesson__flow-step-content p {
    font-size: 14px;
  }

  .lesson__flow-notes {
    padding: 20px;
    margin-top: 20px;
  }

  .lesson__flow-notes h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .lesson__flow-notes p {
    font-size: 13px;
    margin-bottom: 10px;
  }
}

/* レッスンについてセクション */
.lesson__about {
  padding: 60px 0;
  background-color: #fff;
}

.lesson__about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lesson__about-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 50px;
}

.lesson__about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.lesson__about-feature {
  text-align: center;
  padding: 30px 20px;
}

.lesson__about-feature h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.lesson__about-feature p {
  font-size: 16px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .lesson__about {
    padding: 40px 0;
  }

  .lesson__about-container {
    padding: 0 16px;
  }

  .lesson__about-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .lesson__about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .lesson__about-feature {
    padding: 20px 16px;
  }

  .lesson__about-feature h3 {
    font-size: 18px;
  }

  .lesson__about-feature p {
    font-size: 14px;
  }
}

/* チケット情報と無料体験のスタイル */
.lesson__ticket-info,
.lesson__notes {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  margin-top: 30px;
}

.lesson__ticket-info h3,
.lesson__notes p:first-child {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.lesson__ticket-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lesson__ticket-info li {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  padding-left: 20px;
  margin-bottom: 12px;
}

.lesson__ticket-info li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #8cc400;
  font-weight: bold;
}

.lesson__notes p {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 12px;
}

.lesson__notes p:last-child {
  margin-bottom: 0;
}

/* 料金表セクション - フルワイド対応 */
.lesson__price {
  padding: 60px 0;
  background-color: #f8f9fa;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.lesson__price-container {
  max-width: none;
  margin: 0;
  padding: 0 40px;
}

.lesson__price-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 50px;
}

/* 複数画像のレイアウト（縦並び） */
.lesson__price-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .lesson__price-images {
    gap: 15px;
  }
}

.lesson__price-image {
  text-align: center;
}

.lesson__price-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* カスタムHTMLコンテンツ用のスタイル */
.lesson__price-content {
  padding: 0;
}

/* レスポンシブ対応 - フルワイド */
@media (max-width: 768px) {
}

/* 担当講師セクション */
.lesson__instructors {
  padding: 60px 0;
  background-color: #fff;
}

.lesson__instructors-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.lesson__instructors-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 50px;
}

/* 3列グリッドレイアウト */
.lesson__instructors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 講師カードスタイル（講師一覧ページと同じ） */
.lesson__instructors-grid .p-postList__item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.lesson__instructors-grid .p-postList__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.lesson__instructors-grid .p-postList__item-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background-color: transparent;
}

.lesson__instructors-grid .p-postList__thumb {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.lesson__instructors-grid .p-postList__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lesson__instructors-grid .p-postList__item:hover .p-postList__thumb img {
  transform: scale(1.05);
}

.lesson__instructors-grid .p-postList__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  padding: 20px 16px 8px;
  margin: 0;
}

.lesson__instructors-grid .p-postList__schools {
  text-align: center;
  padding: 0 16px 20px;
}

.lesson__instructors-grid .p-postList__school-tag {
  display: inline-block;
  background: #f0f8e6;
  color: #7ab000;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 4px 8px;
  border-radius: 12px;
  margin-right: 6px;
  margin-bottom: 4px;
  border: 1px solid #d4e9c4;
}

.lesson__instructor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lesson__instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.lesson__instructor-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.lesson__instructor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lesson__instructor-card:hover .lesson__instructor-image img {
  transform: scale(1.05);
}

.lesson__instructor-info {
  padding: 30px;
}

.lesson__instructor-name {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin-bottom: 16px;
}

.lesson__instructor-profile {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  letter-spacing: 0.02em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.lesson__instructor-link {
  display: inline-block;
  background: #8cc400;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  padding: 12px 24px;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lesson__instructor-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(140, 196, 0, 0.4);
  color: #fff;
  text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .lesson__instructors {
    padding: 40px 0;
  }

  .lesson__instructors-container {
    padding: 0 16px;
  }

  .lesson__instructors-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  /* スマホでは1列表示 */
  .lesson__instructors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .lesson__instructors-grid .p-postList__thumb {
    height: 200px;
  }

  .lesson__instructors-grid .p-postList__title {
    font-size: 16px;
    padding: 16px 12px 6px;
  }

  .lesson__instructors-grid .p-postList__schools {
    padding: 0 12px 16px;
  }

  .lesson__instructors-grid .p-postList__school-tag {
    font-size: 11px;
    padding: 3px 10px;
  }
}

/* タブレット表示 */
@media (max-width: 1024px) and (min-width: 769px) {
  .lesson__instructors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}
