/* ============================================================
   admission/about-support-school — 通信制高校とサポート校
   Class prefix: as- / Cache bust: ?v=20260921a
   ============================================================ */

/* ---- 共通テンプレート (page-subpage-template.css) の見出し装飾を無効化 ---- */
h2, h3 { 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 { 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 40px;
}

/* ---- 仕組みの図解（添付画像を使用） ---- */
.as-diagram { margin: 0 0 56px; }
.as-diagram img {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    margin: 0 auto;
}

/* ---- サポート校とは ---- */
.as-about { max-width: 960px; margin: 0 auto; }
.as-about__title {
    color: #8fb832;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    margin: 0 0 22px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: #8fb832;
    text-underline-offset: 10px;
}
.as-about__box {
    background: #fff;
    border: 2px solid #98c695;
    border-radius: 20px;
    padding: 28px 32px;
}
.as-about__box p {
    color: #333;
    font-size: 1rem;
    line-height: 2;
    text-align: left;
    margin: 0;
}
.as-about__box p + p { margin-top: 1.4em; }

/* ---- モバイル ---- */
@media (max-width: 640px) {
    .ygh-page-content__inner h2 { font-size: 1.5rem; margin-bottom: 28px; }
    .as-diagram { margin-bottom: 40px; }
    .as-about__title { font-size: 1.2rem; margin-bottom: 16px; }
    .as-about__box { padding: 20px 18px; border-radius: 10px; }
}
