/**
 * File: subp.css
 * Usage: トップページ以外の共通スタイルを定義します。
 * Example: サブページ共通のヘッダーなど
*/

.bl_breadcrumb {
  color: #fff;
  font-size: small;
  padding-top: 20px;
}

/* 共通パーツ */
.ly_subp_content {
  padding-inline: 20px;
}

.ly_subp_content .el_subp_secTtl {
  font-size: 16px;
  padding-left: 16px;
  padding-block: 12px;
  border-left: #55a4a5 6px solid;
  margin-top: 40px;
  background: white;
}

.ly_subp_content img {
  margin-top: 24px;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.ly_subp_content h3.el_flow {
  margin-top: 40px;
  margin-bottom: 0;
  font-size: 16px;
}

.ly_subp_content h4 {
  margin-top: 20px;
  font-size: 14px;
}

.ly_subp_content p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

.bl_admission_plan_wrap {
  margin-bottom: 40px;
}

.bl_admission_plan_wrap p {
  text-align: center;
  margin-top: 40px;
  font-size: 20px;
  font-weight: 600;
}

/* plan */
.bl_subp_top_link_wrap {
  margin-top: 40px;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  max-width: 400px;
  margin-inline: auto;
}

.bl_subp_top_link_wrap .bl_subp_top_link:nth-child(1) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/junior-1-1.webp') lightgray 50% / cover no-repeat;
}

.bl_subp_top_link_wrap .bl_subp_top_link:nth-child(2) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/junior-1-2.webp') lightgray 50% / cover no-repeat;
}

.bl_subp_top_link_wrap .bl_subp_top_link:nth-child(3) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('../img/junior-1-3.webp') lightgray 50% / cover no-repeat;
}

.bl_subp_top_link {
  color: white;
  padding: 24px;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 4px;
}

.ly_personal {
  margin-top: 64px;
}

.ly_personal .bl_secTtl {
  text-align: center;
  font-size: 20px;
}

.bl_personal_wrap {
  padding-inline: 20px;
  margin-top: 40px;
}

.bl_plan_item_txt p:last-of-type {
  width: 70%;
}

.bl_personal_content_training {
  background: #3366cc;
  color: white;
  padding: 12px 32px;
  font-size: 12px;
  font-weight: 500;
  width: max-content;
  margin-inline: auto;
  margin-top: 20px;
}

.bl_personal_content_training_wrap {
  position: relative;
}

.bl_personal_content_training_rect {
  margin-inline: auto;
  width: 160px;
  display: flex;
  margin-top: -0.3px;
}

.bl_personal_content {
  display: flex;
  flex-direction: column;
  width: 100%;

  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 16px;
  border: #3366cc 2px solid;
}

.bl_personal_content_ttl {
  background: #3366cc;
  color: white;
  display: flex;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

.bl_personal_content_txt {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
}

.bl_personal_content_training_caution {
  font-size: 12px;
  font-weight: 500;
}

.bl_personal_content_training_caution p {
  margin-top: 8px;
}

/* junior */
.bl_junior_link_wrap {
  margin-top: 40px;
  padding-inline: 20px;
  position: relative;
}

.bl_junior_link {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.bl_junior_link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) no-repeat center center / cover;
  z-index: 1;
}

.bl_junior_link_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: #000 no-repeat center center / cover;
  position: relative;
}

.bl_junior_link_wrap span {
  width: max-content;
  font-size: 15px;
  font-weight: 500;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.bl_sticky_btn {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f2eeed;
  padding: 20px;
  text-align: center;
  border-top: #d9d9d9 1px solid;
}

.bl_sticky_btn p {
  font-size: 11px;
  font-weight: 600;
}

.bl_sticky_btn .el_btn {
  margin-top: 4px;
}

/* junior */
.ly_junior_content {
  margin-bottom: 40px;
}
.subp_table_wrap {
  overflow-x: scroll;
}
.bl_junior_table {
  border-collapse: collapse;
  width: 120%;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  overflow-x: scroll;
}

.bl_junior_table th,
.bl_junior_table td {
  border: #d9d9d9 1px solid;
  background: white;
  padding: 4px 8px;
}

.bl_junior_table th {
  background: #64bcbe;
  color: white;
  padding: 4px 8px;
}

.bl_junior_table th:first-child {
  background: #64bcbe;
}
.bl_junior_table th:nth-child(2) {
  background: #51aeaf;
}
.bl_junior_table th:nth-child(3) {
  background: #55a4a5;
}
.bl_junior_table th:nth-child(4) {
  background: #4d9394;
}
.bl_junior_table th:nth-child(5) {
  background: #508384;
}

.subp_attribute_wrap {
  margin-top: 20px;
  padding: 20px;
  border-radius: 4px;
  background: white;
}

.subp_attribute_wrap h3 {
  font-size: 15px;
  font-weight: 600;
}

.subp_attribute_wrap p {
  padding-inline: 12px;
}

.subp_attribute_wrap_item {
  display: flex;
  align-items: center;
  gap: 8px;
}

img.subp_attribute_wrap_icon {
  width: 20px;
  margin-top: 0;
}

/* simple table */
.bl_simple_table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  overflow-x: scroll;
  background: white;
  margin-top: 20px;
}

.bl_simple_table th {
  background: #64bcbe;
  color: white;
  padding: 12px;
  border: #d9d9d9 1px solid;
  width: 30%;
}

.bl_simple_table td {
  padding: 12px;
  border: #d9d9d9 1px solid;
}

/* junior offer */
.ly_junior_offer_content {
  margin-top: 40px;
  margin-bottom: 40px;
}

.bl_junior_offer_content_wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 6px;
  margin-top: 20px;
}

.bl_junior_offer_content_wrap p {
  margin-top: 0;
}

.bl_junior_offer_content_wrap .bl_junior_offer_content_item {
  background: #64bcbe;
  color: white;
  padding: 18px 24px;
  font-weight: 500;
  border-radius: 4px;
  font-size: 16px;
}

.bl_junior_offer_content_wrap .bl_junior_offer_content_plus {
  text-align: center;
  font-size: 16px;
}

.subp_table_note_tax {
  text-align: right;
  font-size: 12px;
  color: #55a4a5;
  font-weight: 500;
}

/* service */
.bl_service_link_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 40px;
}

.bl_service_link_wrap a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.bl_service_link_wrap a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7) no-repeat center center / cover;
  z-index: 1;
}

.bl_service_link_wrap a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-top: 0;
}

.bl_service_link_wrap a span {
  font-size: 15px;
  font-weight: 500;
  color: white;
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bl_service_link_wrap a span svg {
  width: 9px;
  height: 14px;
}

/* admission */
.bl_admission_top {
  margin-top: 40px;
  text-align: center;
}

.bl_admission_top h2 {
  font-size: 20px;
  font-weight: 600;
}

.bl_admission_top p {
  font-size: 13px;
  font-weight: 500;
}

.el_admission_flow_img {
  width: 100%;
}

/* program */
.bl_program_content_txt {
  text-align: center;
  font-size: 18px;
  margin-top: 40px;
  font-weight: 600;
}

/* contact */
.bl_contactformWrap input,
.bl_contactformWrap textarea {
  width: 100%;
  padding: 6px 8px;
  border: #b7b7b7 1px solid;
  border-radius: 4px;
}

.bl_contactformWrap input::placeholder {
  opacity: 0.5;
}

.bl_contactformWrap textarea::placeholder {
  opacity: 0.5;
}

.bl_contactformWrap input.wpcf7-submit {
  background: #f59b5f;
  width: 280px;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  margin-inline: auto;
  border-radius: 999px;
  text-align: center;
  display: flex;
  border: #f59b5f 1px solid;
}

/* privacy */
.ly_privacy_content {
  margin-top: 40px;
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .bl_personal_wrap {
    max-width: 1280px;
    margin-inline: auto;
  }
  .ly_subp_content {
    max-width: 1160px;
    margin-inline: auto;
  }

  .bl_personal_content {
    max-width: 1280px;
    margin-inline: auto;
  }

  .bl_junior_link_wrap {
    max-width: 400px;
    margin-inline: auto;
  }

  .ly_subp_content .el_subp_secTtl {
    font-size: 20px;
  }

  .ly_subp_content h3.el_flow {
    font-size: 18px;
  }

  .bl_contactformWrap {
    margin-top: 32px;
  }

  .el_admission_flow_img {
    aspect-ratio: 16/6;
    width: 100%;
    object-fit: cover;
  }

  .ly_subp_content p {
    font-size: 16px;
  }

  .bl_plan_under_txt {
    font-size: 16px;
  }

  .bl_personal_content_training_caution {
    font-size: 14px;
  }

  .bl_plan_wrap {
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .bl_plan_item.hp_personalPlan {
    margin-inline: auto;
  }

  .bl_secTtl h2 {
    font-size: 24px;
  }

  .bl_sticky_btn p {
    font-size: 14px;
  }

  .bl_sticky_btn a {
    margin-bottom: 0;
    font-size: 24px;
  }

  .bl_subpHeader_inner {
    padding-block: 160px 64px;
  }

  .bl_service_link_wrap {
    gap: 16px;
  }

  .ly_subp_content .bl_service_link_wrap {
    max-width: 840px;
    margin-inline: auto;
  }

  .bl_service_link_wrap a {
    aspect-ratio: 16/5;
  }

  .bl_service_link_wrap a span {
    font-size: 16px;
  }

  .ly_subp_content .el_subp_secTtl {
    margin-top: 64px;
  }

  .bl_junior_table {
    font-size: 14px;
    width: 100%;
  }

  .bl_junior_table th,
  .bl_junior_table td {
    padding: 12px 14px;
  }

  .bl_simple_table {
    font-size: 14px;
  }

  .bl_simple_table td {
    padding: 12px 14px;
  }

  .bl_junior_offer_content_wrap .bl_junior_offer_content_plus {
    font-size: 24px;
  }
}

@media screen and (min-width: 1280px) {
}
