/* ============================================================
   admission/tuition — 学費について
   Class prefix: tu- / Cache bust: ?v=20260922a
   配色: サイト共通グリーン系
   ============================================================ */

/* ---- 共通テンプレート (page-subpage-template.css) の見出し装飾を無効化 ---- */
h2, h3, h4 { border: 0 !important; box-shadow: none !important; background: none !important;
             text-decoration: none !important; padding-left: 0 !important; }
h2::before, h2::after, h3::before, h3::after, h4::before, h4::after { display: none !important; content: none !important; }

/* ---- コンテンツ幅 ---- */
.ygh-page-content__section { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }

/* ---- ページ見出し ---- */
.ygh-page-content__inner h2 {
    color: #333;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 32px;
}

/* ---- ページタイトル帯（PDF 6P 見出し） ---- */
.tu-pagetitle {
    background: #28a785;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    padding: 14px 24px;
    border-radius: 999px;
    margin: 0 0 40px;
}

/* ---- セクション見出し（day「コースの強み」形式: #333 太字＋緑三角） ---- */
.tu-title {
    color: #333;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
    margin: 48px 0 20px;
}
.tu-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 9px 0 9px 13px;
    border-color: transparent transparent transparent #28a785;
}

/* ---- カード ---- */
.tu-card {
    background: #fff;
    border: 2px solid #bfe3d6;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 0 0 24px;
    box-shadow: 0 2px 10px rgba(31, 138, 99, 0.08);
}

/* ---- コース見出し ---- */
.tu-course {
    color: #1f7a5c;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.tu-course__dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #28a785;
    flex: 0 0 auto;
}
.tu-course__lead { color: #444; font-size: 0.97rem; line-height: 1.9; margin: 0 0 16px; }
.tu-sub { color: #1f7a5c; font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; }

/* ---- テーブル共通 ---- */
.tu-scroll { overflow-x: auto; }
.tu-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
    margin: 0 0 8px;
}
.tu-table th, .tu-table td {
    border: 1px solid #cfe8de;
    padding: 12px 14px;
    line-height: 1.7;
    text-align: center;
}
.tu-table th { background: #eef8f4; color: #1f7a5c; font-weight: 700; }
.tu-table td { color: #333; }
.tu-table td strong { font-weight: 700; }
.tu-table--nyukin td { font-size: 1.25rem; font-weight: 700; color: #1f7a5c; }
.tu-table--global th[scope="row"] { background: #eef8f4; white-space: nowrap; }
.tu-table--global thead th { background: #28a785; color: #fff; }
.tu-table--global thead tr:nth-child(2) th { background: #4bb894; }
.tu-row-total { background: #f2faf7; font-weight: 700; color: #1f7a5c; }
.tu-table--opt th { width: 160px; }
.tu-table--opt td { text-align: left; }
.tu-table--opt .tu-note-inline { display: block; color: #555; font-size: 0.88rem; margin-top: 4px; }

/* ---- 強調 ---- */
.tu-zero { color: #1f8a5f; font-size: 1.4rem; font-weight: 700; }
.tu-note { color: #555; font-size: 0.88rem; line-height: 1.9; margin: 6px 0 0; }
.tu-note--right { text-align: right; }

/* ---- 制服支給バッジ ---- */
.tu-badge {
    display: inline-block;
    background: #e6b422;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---- 上記以外に必要な費用 ---- */
.tu-extra {
    background: #eef8f4;
    border-radius: 12px;
    padding: 18px 22px;
    margin: 18px 0 0;
}
.tu-extra__label {
    display: inline-block;
    background: #128f95;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 0 0 8px;
}
.tu-extra p { color: #333; font-size: 0.92rem; line-height: 1.95; margin: 0; }

/* ---- 通信制高校の学費（注意書き） ---- */
.tu-alert {
    background: #eef8f4;
    border: 2px solid #28a785;
    border-radius: 16px;
    padding: 24px 28px;
    margin: 40px 0 0;
}
.tu-alert__title {
    color: #1f7a5c;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tu-alert__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #28a785;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    flex: 0 0 auto;
}
.tu-alert p { color: #333; font-size: 0.95rem; line-height: 2; margin: 0; }

/* ---- モバイル ---- */
@media (max-width: 640px) {
    .ygh-page-content__inner h2 { font-size: 1.5rem; margin-bottom: 24px; }
    .tu-pagetitle { font-size: 1.05rem; margin-bottom: 28px; }
    .tu-title { font-size: 1.4rem; margin: 34px 0 16px; }
    .tu-card { padding: 20px 16px; border-radius: 12px; }
    .tu-table th, .tu-table td { padding: 9px 8px; font-size: 0.88rem; }
    .tu-table--nyukin td { font-size: 1.05rem; }
    .tu-zero { font-size: 1.15rem; }
}
.tu-notes { margin: 12px 0 0; padding: 0; list-style: none; }
.tu-notes li { color: #555; font-size: 0.9rem; line-height: 1.9; padding-left: 1.2em; position: relative; margin-top: 4px; }
.tu-notes li::before { content: "※"; position: absolute; left: 0; top: 0; color: #28a785; font-weight: 700; }
.tu-notes li + li::before { content: "＊"; }

/* 2026-11-12 補正：スマホで学費表が読み切れない問題 */
.tu-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media screen and (max-width: 767px) {
    .tu-scroll .tu-table { min-width: 520px; }
    .tu-table th, .tu-table td { font-size: 12.5px; padding: 8px 6px; }
    .tu-table--nyukin td { font-size: 1.05rem; }
}
