/* ============================================================
   admission/transfer — 転入・編入について
   Class prefix: tr- / 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 24px;
}

/* ---- リード文 ---- */
.tr-lead {
    color: #333;
    font-size: 1rem;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto 36px;
}

/* ---- セクション見出し（day「コースの強み」形式: #333 太字＋緑三角） ---- */
.tr-title {
    color: #333;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.4;
    padding-left: 20px;
    position: relative;
    margin: 48px 0 20px;
}
.tr-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;
}

/* ---- 転入／編入の違い（2 カード） ---- */
.tr-cards2 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px;
}
.tr-diff {
    background: #fff;
    border: 2px solid #bfe3d6;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 2px 10px rgba(31, 138, 99, 0.08);
}
.tr-diff__label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f7a5c;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.tr-diff__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #28a785;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    flex: 0 0 auto;
}
.tr-diff p { color: #333; font-size: 0.97rem; line-height: 2; margin: 0; }

/* ---- カード ---- */
.tr-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);
}

/* ---- ●リスト ---- */
.tr-list { margin: 0; padding: 0; list-style: none; }
.tr-list li {
    color: #333;
    font-size: 0.98rem;
    line-height: 1.9;
    padding-left: 1.4em;
    position: relative;
    margin-top: 8px;
}
.tr-list li::before {
    content: "";
    position: absolute;
    left: 0.15em;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #28a785;
}

/* ---- 手続きの流れ（縦 STEP） ---- */
.tr-steps { margin: 0; padding: 0; list-style: none; counter-reset: trstep; }
.tr-steps li {
    position: relative;
    padding: 0 0 28px 64px;
    counter-increment: trstep;
}
.tr-steps li::before {
    content: counter(trstep);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #28a785;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}
.tr-steps li::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 48px;
    bottom: 4px;
    border-left: 2px dashed #bfe3d6;
}
.tr-steps li:last-child { padding-bottom: 0; }
.tr-steps li:last-child::after { display: none; }
.tr-steps h4 {
    color: #1f7a5c;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 6px 0 8px;
}
.tr-steps p { color: #333; font-size: 0.97rem; line-height: 2; margin: 0; }
.tr-steps .tr-note { margin-top: 6px; }

/* ---- テーブル ---- */
.tr-scroll { overflow-x: auto; }
.tr-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
    margin: 0 0 8px;
}
.tr-table th, .tr-table td {
    border: 1px solid #cfe8de;
    padding: 12px 14px;
    line-height: 1.8;
    text-align: left;
    vertical-align: top;
}
.tr-table th { background: #eef8f4; color: #1f7a5c; font-weight: 700; white-space: nowrap; }
.tr-table td { color: #333; }

/* ---- 注記・強調 ---- */
.tr-note { color: #555; font-size: 0.88rem; line-height: 1.9; margin: 6px 0 0; }
.tr-strong { color: #1f7a5c; font-weight: 700; }

/* ---- CTA（入学相談室） ---- */
.tr-cta {
    background: #eef8f4;
    border: 2px solid #28a785;
    border-radius: 16px;
    padding: 28px 32px;
    margin: 48px 0 0;
    text-align: center;
}
.tr-cta__title {
    color: #1f7a5c;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 10px;
}
.tr-cta p { color: #333; font-size: 0.97rem; line-height: 2; margin: 0 0 16px; }
.tr-cta__tel {
    display: inline-block;
    color: #1f7a5c;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.3;
    margin: 0 0 6px;
}
.tr-cta__tel::before { content: "TEL "; font-size: 0.9rem; }
.tr-cta__mail {
    display: block;
    color: #1f7a5c;
    font-size: 1rem;
    font-weight: 700;
}

/* ---- モバイル ---- */
@media (max-width: 640px) {
    .ygh-page-content__inner h2 { font-size: 1.5rem; margin-bottom: 20px; }
    .tr-lead { margin-bottom: 28px; }
    .tr-title { font-size: 1.4rem; margin: 34px 0 16px; }
    .tr-cards2 { grid-template-columns: 1fr !important; }
    .tr-diff, .tr-card { padding: 20px 16px; border-radius: 12px; }
    .tr-steps li { padding: 0 0 24px 56px; }
    .tr-steps li::before { width: 38px; height: 38px; font-size: 1rem; }
    .tr-steps li::after { left: 18px; top: 42px; }
    .tr-table th, .tr-table td { padding: 9px 10px; font-size: 0.88rem; }
    .tr-cta { padding: 22px 16px; }
    .tr-cta__tel { font-size: 1.4rem; }
}
