@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ========================================
 * 学費表
 * ======================================== */

.yoko-tuition {
  margin-top: 20px;
}

/* 各学科 */
.yoko-tuition__section {
  margin-bottom: 70px;
}

/* 学科名 */
.yoko-tuition__course {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.6;
  color: #222;
  font-weight: 500;
}

.yoko-tuition__course span {
  color: #ef4545;
  font-weight: 600;
}

/* 表本体 */
.yoko-tuition__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  color: #596965;
  font-size: 18px;
}

/* セル共通 */
.yoko-tuition__table th,
.yoko-tuition__table td {
  border: 1px solid #a9c9c0;
  padding: 28px 12px;
  vertical-align: middle;
  background: #fff;
}

/* 1年次・2年次 */
.yoko-tuition__table th {
  width: 15%;
  text-align: center;
  font-weight: 400;
}

/* 納付方法 */
.yoko-tuition__table td:nth-child(2) {
  width: 50%;
}

/* 金額 */
.yoko-tuition__table td:last-child {
  width: 35%;
  font-weight: 500;
}

/* 2年次の注釈 */
.yoko-tuition__note {
  display: inline-block;
  margin-left: 10px;
  font-weight: 500;
}


/* ========================================
 * SP
 * ======================================== */

@media screen and (max-width: 768px) {

  .yoko-tuition {
    margin-top: 10px;
  }

  .yoko-tuition__section {
    margin-bottom: 50px;
  }

  .yoko-tuition__course {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .yoko-tuition__table {
    font-size: 14px;
  }

  .yoko-tuition__table th,
  .yoko-tuition__table td {
    padding: 18px 8px;
    line-height: 1.6;
  }

  .yoko-tuition__table th {
    width: 18%;
  }

  .yoko-tuition__table td:nth-child(2) {
    width: 47%;
  }

  .yoko-tuition__table td:last-child {
    width: 35%;
  }

  .yoko-tuition__note {
    display: inline;
    margin-left: 4px;
    font-size: 13px;
  }
}

/* ========================================
 * 入試日程表
 * ======================================== */

.yoko-exam-schedule {
  width: 100%;
  margin: 20px 0 60px;
}

.yoko-exam-schedule__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  color: #596965;
  font-size: 16px;
}

/* セル共通 */
.yoko-exam-schedule__table th,
.yoko-exam-schedule__table td {
  border: 1px solid #a9c9c0;
  padding: 22px 14px;
  vertical-align: middle;
  line-height: 1.7;
}

/* 見出し行 */
.yoko-exam-schedule__table thead th {
  background-color: #eef7f4;
  color: #2F5F57;
  font-weight: 600;
  text-align: center;
}

/* 第○回 */
.yoko-exam-schedule__table tbody th {
  width: 11%;
  background-color: #f7fbfa;
  text-align: center;
  font-weight: 500;
}

/* 試験区分 */
.yoko-exam-schedule__table th:nth-child(2),
.yoko-exam-schedule__table td:nth-child(2) {
  width: 34%;
}

/* 出願期間 */
.yoko-exam-schedule__table th:nth-child(3),
.yoko-exam-schedule__table td:nth-child(3) {
  width: 34%;
}

/* 入学試験日 */
.yoko-exam-schedule__table th:nth-child(4),
.yoko-exam-schedule__table td:nth-child(4) {
  width: 21%;
}

/* 本文セル */
.yoko-exam-schedule__table tbody td {
  background-color: #fff;
  text-align: center;
}


/* ========================================
 * 入試日程表：SP
 * ======================================== */

@media screen and (max-width: 768px) {

  .yoko-exam-schedule {
    margin: 15px 0 45px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .yoko-exam-schedule__table {
    min-width: 700px;
    font-size: 14px;
  }

  .yoko-exam-schedule__table th,
  .yoko-exam-schedule__table td {
    padding: 16px 10px;
    line-height: 1.6;
  }

}

/* ========================================
 * 時間割表 共通
 * ======================================== */

.yoko-timetable {
  width: 100%;
  margin: 24px 0 50px;
}

.yoko-timetable__table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0;
  font-size: 16px;
  color: #65706e;
}

.yoko-timetable__table th,
.yoko-timetable__table td {
  border: 1px solid;
  padding: 22px 10px;
  text-align: center;
  vertical-align: middle;
  line-height: 1.6;
}

/* 左端 */
.yoko-timetable__table thead th:first-child,
.yoko-timetable__table tbody th {
  width: 14%;
}

/* 曜日列 */
.yoko-timetable__table thead th:not(:first-child) {
  width: 17.2%;
  font-weight: 700;
  color: #fff;
}

/* 時限 */
.yoko-timetable__table tbody th {
  font-weight: 500;
  white-space: nowrap;
}

/* 本文 */
.yoko-timetable__table tbody td {
  background: #fff;
}


/* ========================================
 * 初等課程：ブルー
 * ======================================== */

.yoko-timetable--elementary .yoko-timetable__table th,
.yoko-timetable--elementary .yoko-timetable__table td {
  border-color: #b9d8ea;
}

.yoko-timetable--elementary .yoko-timetable__table thead th:not(:first-child) {
  background: #6fa9d2;
}

.yoko-timetable--elementary .yoko-timetable__table thead th:first-child {
  background: #d7e7f2;
}

.yoko-timetable--elementary .yoko-timetable__table tbody th {
  background: #eaf3f9;
}


/* ========================================
 * 養護科：グリーン
 * ======================================== */

.yoko-timetable--nursing .yoko-timetable__table th,
.yoko-timetable--nursing .yoko-timetable__table td {
  border-color: #a9cbbf;
}

.yoko-timetable--nursing .yoko-timetable__table thead th:not(:first-child) {
  background: #89b8ab;
}

.yoko-timetable--nursing .yoko-timetable__table thead th:first-child {
  background: #cfdfda;
}

.yoko-timetable--nursing .yoko-timetable__table tbody th {
  background: #e8f1ee;
}


/* ========================================
 * SPだけ横スクロール
 * ======================================== */

@media screen and (max-width: 768px) {

  .yoko-timetable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0 40px;
  }

  .yoko-timetable__table {
    min-width: 760px;
    font-size: 14px;
  }

  .yoko-timetable__table th,
  .yoko-timetable__table td {
    padding: 16px 10px;
  }
}

/* 学科紹介：SP時のアイコンを小さく */
@media screen and (max-width: 768px) {

  .course-card.sp_only .wp-block-media-text__media {
    width: 180px;
    max-width:180px;
    margin: 0 auto 10px;
  }

  .course-card.sp_only .wp-block-media-text__media img {
    width: 100%;
    height: auto;
  }

}

/* ==================================================
 * STUDENT'S VOICE 共通
 *
 * 人物が右側 → voice-text-left
 * 人物が左側 → voice-text-right
 * 人物が中央 → voice-text-bottom
 * ================================================== */


/* =========================
 * PC
 * ========================= */
@media screen and (min-width: 769px) {

  /* 共通：青い枠の幅を統一 */
  .voice-text-left .wp-block-cover__inner-container,
  .voice-text-right .wp-block-cover__inner-container,
  .voice-text-bottom .wp-block-cover__inner-container {
    width: 52%;
    max-width: none;
  }

 /* 人物が右側 → 枠をしっかり左へ */
.voice-text-left .wp-block-cover__inner-container {
    margin-left: 0 !important;
    margin-right: auto !important;
    transform: translateX(-25%);
}

/* 人物が左側 → 枠をしっかり右へ */
.voice-text-right .wp-block-cover__inner-container {
    margin-left: auto !important;
    margin-right: 0 !important;
    transform: translateX(4%);
}

  /* 中央配置 */
  .voice-text-bottom .wp-block-cover__inner-container {
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: 4%;
  }
}
/* ========================================
 * STUDENT'S VOICE：SP
 * 現行サイト風「写真 → テキスト」
 * ======================================== */

@media screen and (max-width: 768px) {

  /* カバー全体 */
  .voice-text-left,
  .voice-text-right,
  .voice-text-bottom {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* 背景画像を通常の画像として上部に表示 */
  .voice-text-left > .wp-block-cover__image-background,
  .voice-text-right > .wp-block-cover__image-background,
  .voice-text-bottom > .wp-block-cover__image-background {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 2 / 1;
    object-fit: cover !important;
    display: block !important;
  }

  /* Cover標準のオーバーレイをSPでは消す */
  .voice-text-left > .wp-block-cover__background,
  .voice-text-right > .wp-block-cover__background,
  .voice-text-bottom > .wp-block-cover__background {
    display: none !important;
  }

  /* テキスト部分を写真の下へ */
  .voice-text-left > .wp-block-cover__inner-container,
  .voice-text-right > .wp-block-cover__inner-container,
  .voice-text-bottom > .wp-block-cover__inner-container {
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px 20px !important;
    background: #76a9cf;
    color: #fff;
    transform: none !important;
  }

  /* 本文 */
  .voice-text-left .wp-block-cover__inner-container p,
  .voice-text-right .wp-block-cover__inner-container p,
  .voice-text-bottom .wp-block-cover__inner-container p {
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
	
/* SP：テキスト内に残っている背景色を透明に */
.voice-text-left .wp-block-cover__inner-container > *,
.voice-text-right .wp-block-cover__inner-container > *,
.voice-text-bottom .wp-block-cover__inner-container > * {
    background-color: transparent !important;
}
}

/* ========================================
   養護科 STUDENT'S VOICE
   SP：テキスト背景を学科カラーの緑に
======================================== */
@media screen and (max-width: 768px) {

  .voice-nursing .wp-block-cover__inner-container {
    background-color: #7FAFA2 !important;
  }

}