@charset "UTF-8";

/* ============================================================
   セクション共通レイアウト
   ============================================================ */

.section {
  width: 100%;
  max-width: 1240px;
  margin: auto;
  padding: 0 20px;
}

.text {
  font-size: 17px;
  color: #444;
  line-height: 1.8;
}

.hasDashed .inner {
  border-bottom: 2px dashed #d8d8d8;
  padding-bottom: 40px;
}

.hasContents {
  padding-top: 0;
}
.hasContents:last-of-type {
  margin-bottom: 40px;
}

.section.hasDashed {
  padding-top: 48px;
  padding-bottom: 48px;
}
.section.hasContents {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* ============================================================
   Kids Duo 教室ページ
   ============================================================ */

.kd_heading {
  font-size: 22px;
  font-weight: bold;
  color: #0D51A0;
  border-left: 5px solid #FFB700;
  padding-left: 14px;
  margin: 0 0 24px;
  line-height: 1.4;
}

.kd_school_title {
  font-size: 26px;
  font-weight: bold;
  margin: 0 0 16px;
}

.kd_catchcopy {
  font-size: 22px;
  font-weight: bold;
  color: #0D51A0;
  line-height: 1.7;
  margin: 0 0 20px;
}

/* ギャラリー */
.kd_gallery {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
}
.kd_gallery_item {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}
.kd_gallery_item img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kd_campaign_banner {
  margin: 0 0 16px;
}
.kd_campaign_banner a img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/* CTAバー */
.kd_cta_bar {
  background: #FFB700;
  padding: 30px 20px;
  text-align: center;
  margin: 0;
}
.kd_cta_bar_lead {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.kd_cta_bar_sub {
  font-size: 16px;
  color: #fff;
  margin-bottom: 20px;
}
.kd_cta_bar_btn {
  display: inline-block;
  background: #0D51A0;
  color: #fff;
  font-weight: bold;
  font-size: 17px;
  padding: 16px 48px;
  border-radius: 40px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.kd_cta_bar_btn:hover {
  opacity: 0.85;
}

/* 教室情報 */
.kd_school_info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.kd_school_info_left {
  flex: 1;
}
.kd_school_info_map {
  width: 340px;
  flex-shrink: 0;
}
.kd_school_info_map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 4px;
  display: block;
}

/* 情報リスト */
.kd_info_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kd_info_item {
  display: flex;
  gap: 16px;
  padding: 12px 4px;
  border-bottom: 1px solid #e8e8e8;
  align-items: baseline;
}
.kd_info_item:first-child {
  border-top: 1px solid #e8e8e8;
}
.kd_info_label {
  min-width: 90px;
  font-weight: bold;
  font-size: 16px;
  color: #0D51A0;
  flex-shrink: 0;
}
.kd_info_value {
  flex: 1;
  font-size: 17px;
  color: #333;
  line-height: 1.7;
}

.kd_tel {
  font-size: 26px;
  font-weight: bold;
  color: #0D51A0;
  display: inline-block;
  margin-bottom: 4px;
}

/* 特徴リスト */
.kd_feature_list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kd_feature_item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 4px;
  border-bottom: 1px solid #eee;
}
.kd_feature_item:last-child {
  border-bottom: none;
}
.kd_feature_num {
  min-width: 38px;
  height: 38px;
  background: #FFB700;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0;
}
.kd_feature_title {
  font-weight: bold;
  color: #0D51A0;
  margin-bottom: 5px;
  font-size: 18px;
}
.kd_feature_desc {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

/* コース・時間割 */
.kd_course_subtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 28px 0 10px;
}
.kd_course_subtitle::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
.kd_course_subtitle_elem::before   { background: #12AABA; }
.kd_course_subtitle_kinder::before { background: #e0457b; }

.kd_course_wrap {
  overflow-x: auto;
  margin: 16px 0;
}

.kd_schedule_table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  border: 1px solid #ddd;
}
.kd_schedule_table th,
.kd_schedule_table td {
  padding: 10px 12px;
  text-align: center;
  border: 1px solid #ddd;
  font-size: 16px;
  vertical-align: middle;
}
.kd_schedule_table thead th {
  background: #f2f2f2;
  font-weight: bold;
  color: #333;
}
.kd_schedule_table thead th.kd_col_sat { color: #0D51A0; }
.kd_schedule_table thead th.kd_col_sun { color: #e0457b; }

/* 小学生コース: ティール */
.kd_schedule_elem thead th.kd_col_target { background: #12AABA; color: #fff; }
.kd_schedule_elem thead th.kd_col_time   { background: #e0f5f7; color: #12AABA; }
.kd_schedule_elem .kd_target_cell        { background: #12AABA; color: #fff; font-weight: bold; }

/* 幼児コース: ピンク */
.kd_schedule_kinder thead th.kd_col_target { background: #e0457b; color: #fff; }
.kd_schedule_kinder thead th.kd_col_time   { background: #fce8f1; color: #e0457b; }
.kd_schedule_kinder .kd_target_cell        { background: #e0457b; color: #fff; font-weight: bold; }

.kd_note {
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

/* スタッフカード */
.kd_staff_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.kd_staff_card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: #f4f7fc;
  border-radius: 8px;
  padding: 22px 24px;
}
.kd_staff_card_img {
  width: 200px;
  flex-shrink: 0;
}
.kd_staff_card_img img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.kd_staff_card_body {
  flex: 1;
}
.kd_staff_card_role {
  display: inline-block;
  background: #0D51A0;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}
.kd_staff_card_name {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}
.kd_staff_card_text {
  font-size: 17px;
  line-height: 1.85;
  color: #555;
}

/* ============================================================
   レスポンシブ（767px以下）
   ============================================================ */
@media screen and (max-width: 767px) {
  .section                    { padding: 0 10px; }
  .section.hasDashed          { padding-top: 32px; padding-bottom: 32px; }
  .section.hasContents        { padding-top: 40px; padding-bottom: 40px; }

  .hasDashed .inner           { border-bottom: none; padding-bottom: 0; }
  .hasContents                { padding-top: 30px; }
  .hasContents + .hasContents { margin-top: 30px; }
  .hasContents:last-of-type   { margin-bottom: 0; }

  .kd_gallery                 { flex-direction: column; }
  .kd_gallery_item img        { height: 200px; }

  .kd_school_info             { display: block; }
  .kd_school_info_map         { width: 100%; margin-top: 20px; }
  .kd_school_info_map iframe  { height: 200px; }

  .kd_cta_bar_lead            { font-size: 18px; }
  .kd_cta_bar_btn             { display: block; padding: 16px 20px; border-radius: 8px; }

  .kd_staff_card              { flex-direction: column; gap: 14px; padding: 16px; }
  .kd_staff_card_img          { width: 100%; }
  .kd_staff_card_img img      { width: 120px; height: 120px; margin: 0 auto; }
}
