@charset "UTF-8";

/* 子ページ用のセクションギャップを調整 */
.child-sections-gap {
  gap: 24px;
}

/* =========================================
  course.css  (Shapes School)
  - 訓練詳細ページ用のCSS
========================================= */
#child-hero {
  background-position: right center;
  height: 100vw;
}
/* ページごとの写真設定 */
.pic_202604 {
  background-image: url(../img/course_202604-hero.webp);
}
.pic_202605 {
  background-image: url(../img/course_202605-hero.webp);
}
.pic_202507 {
  background-image: url(../img/course_202507-hero.webp);
}
@media screen and (min-width: 768px) {
  #child-hero {
    height: 48vh;
  }
}
@media screen and (min-width: 1024px) {
  #child-hero {
    height: 42vh;
  }
}
#child-hero > div {
  display: grid;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
}
.child-title {
  font-weight: 100;
  text-align: center;
  padding: 1em 0;
  margin: 0 auto;
  line-height: 1.2;
}

/* --------------------------------
------ 訓練の概要リード文  -------- 
----------------------------------- */
.course-lead {
  display: flex;
  flex-direction: column;
}
.course-lead h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: clamp(40px, 10vw, 96px);
}
.course-lead p + p {
  margin-top: 1em;
}
.course h2 {
  font-family: var(--f-text);
  font-size: 16px;
}
table {
  border-collapse: collapse;
  border: 1px solid #ccc;
}
table,
tbody,
tr,
th,
td {
  display: block;
  width: 100%;
  background-color: var(--c-bg);
}
th {
  background-color: var(--c-bg-2);
}
th,
td {
  font-family: var(--f-text);
  padding: 8px 16px;
}
td ul li {
  list-style-type: disc;
  margin-left: 1.5em;
}
td > a {
  text-decoration: underline;
}
.bg-yellow {
  background-color: var(--c-btn-2);
  margin-top: 16px;
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .course th h2 {
    font-size: 20px;
  }
  th,
  td {
    padding: 16px 24px;
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  tr {
    display: flex;
  }
  th {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    width: 30%;
  }
  td {
    width: 70%;
  }
  th,
  td {
    border: 1px solid #ccc;
  }
}
