/* ============================================================
   /admission/partner-school/ 専用スタイルシート
   GUIDE BOOK 41・42 準拠
   ============================================================ */

.ps-page {
    --ps-yellow: #fbe34f;
    --ps-yellow-soft: #fce46d;
    --ps-green: #d3ede1;
    --ps-green-deep: #128f95;
    --ps-blue: #0097a7;
    --ps-navy: #1d2e44;
    --ps-brown: #594225;
    --ps-pink: #e95295;
    color: var(--ps-navy);
}

.ps-page img {
    max-width: 100%;
    height: auto;
}

.ps-shell {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ 見出し（テンプレート装飾を無効化して定義） ============ */
.ps-page h2,
.ps-page h3 {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    text-decoration: none !important;
    padding: 0 !important;
}

.ps-page h2::before,
.ps-page h2::after,
.ps-page h3::before,
.ps-page h3::after {
    content: none !important;
    display: none !important;
}

.ps-page .ps-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 20px;
    color: var(--ps-navy) !important;
    font-size: clamp(1.6rem, 2.8vw, 2.15rem);
    font-weight: 900;
    line-height: 1.35;
}

.ps-page .ps-heading::before {
    content: "" !important;
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    background: none !important;
    border-top: 14px solid var(--ps-green-deep) !important;
    border-right: 14px solid transparent !important;
    border-bottom: none;
    border-left: none;
}

.ps-page .ps-heading-sub {
    display: inline-block;
    margin: 44px 0 20px;
    padding: 10px 32px;
    border-radius: 999px;
    background: var(--ps-green-deep);
    color: #ffffff !important;
    font-size: clamp(1.1rem, 1.9vw, 1.4rem);
    font-weight: 900;
    line-height: 1.5;
}

.ps-sublead {
    margin: 0 0 14px;
    color: var(--ps-navy);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
    font-weight: 800;
    line-height: 1.7;
}

.ps-lead {
    margin: 0 0 28px;
    color: var(--ps-navy);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.9;
}

.ps-copy {
    margin: 0;
    color: var(--ps-brown);
    font-size: 0.95rem;
    line-height: 2;
}

.ps-note {
    margin: 26px 0 0;
    color: var(--ps-brown);
    font-size: 0.8rem;
    line-height: 1.9;
}

/* ============ セクション ============ */
.ps-section {
    padding: 56px 0;
}

.ps-section--white {
    background: #ffffff;
}

/* GUIDE BOOK 41・42 のイエロー背景（41から42へ連続） */
.ps-section--yellow {
    background: var(--ps-yellow);
    padding-bottom: 30px;
}

.ps-section--yellow-continue {
    background: var(--ps-yellow-soft);
    padding-top: 30px;
}

/* ============ 通信制高校の窓口 ============ */
.ps-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 26px;
}

.ps-top__copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.ps-top__catch {
    margin: 0;
    color: var(--ps-green-deep);
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
    font-weight: 900;
    line-height: 1.75;
}

.ps-top__lead {
    margin: 8px 0 0;
    color: var(--ps-pink);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 900;
    line-height: 1.6;
}

.ps-bullet-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.ps-bullet-list li {
    position: relative;
    padding-left: 22px;
    color: var(--ps-navy);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.8;
}

.ps-bullet-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--ps-pink);
    font-size: 0.85rem;
    line-height: 1.9;
}

.ps-top__photos {
    display: grid;
    gap: 18px;
}

.ps-top__photo {
    width: 70%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 14px;
}

.ps-top__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* ============ 提携校リスト ============ */
.ps-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
    background: #ffffff;
    border: 2px solid var(--ps-green-deep);
    border-radius: 16px;
}

.ps-list__col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    align-content: start;
}

.ps-list__col li {
    position: relative;
    padding-left: 20px;
    color: var(--ps-navy);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.7;
}

.ps-list__col li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ps-green-deep);
}

/* ============ 提携校カード ============ */
.ps-cards {
    display: grid;
    gap: 26px;
}

.ps-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 3px 14px rgba(29, 46, 68, 0.10);
}

/* バッジが画像の上にはみ出せるよう、クリップしないラッパーを挟む */
.ps-card__media {
    position: relative;
    margin: 0;
}

.ps-card__photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
}

.ps-card__photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* オススメ バッジ（GUIDE BOOK 41） */
.ps-card__badge {
    position: absolute;
    top: -15px;
    left: -10px;
    z-index: 3;
    display: block;
    width: 67px; /* 96px の 70% */
    pointer-events: none;
}

.ps-card__badge img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(29, 46, 68, 0.25));
}

.ps-card__main {
    display: grid;
    gap: 10px;
    align-content: start;
}

.ps-card__name {
    margin: 0;
    color: var(--ps-navy) !important;
    font-size: clamp(1.15rem, 2.1vw, 1.45rem);
    font-weight: 900;
    line-height: 1.5;
}

.ps-card__catch {
    margin: 0;
    color: var(--ps-navy);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.85;
}

.ps-card__places {
    margin: 0;
    color: var(--ps-green-deep);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.85;
}

.ps-card__places-label {
    display: inline-block;
    margin-right: 10px;
    padding: 3px 12px;
    border-radius: 6px;
    background: var(--ps-green);
    color: var(--ps-navy);
    font-size: 0.78rem;
    font-weight: 900;
}

/* SCHOOL DATA */
.ps-card__data {
    background: var(--ps-green);
    border-radius: 12px;
    padding: 0 0 8px;
    overflow: hidden;
}

.ps-card__data-head {
    margin: 0;
    padding: 10px 16px;
    background: var(--ps-green-deep);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

.ps-card__data-note {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0;
}

.ps-card__data-list {
    margin: 0;
    padding: 8px 16px 0;
}

.ps-card__data-row {
    display: grid;
    grid-template-columns: 8.5em minmax(0, 1fr);
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px dotted rgba(29, 46, 68, 0.35);
}

.ps-card__data-row:last-child {
    border-bottom: none;
}

.ps-card__data-row dt {
    color: var(--ps-navy);
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1.7;
}

.ps-card__data-row dd {
    margin: 0;
    color: var(--ps-navy);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.7;
}

/* ============ レスポンシブ ============ */
@media (min-width: 768px) {
    .ps-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (min-width: 900px) {
    .ps-top {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 36px;
    }

    .ps-top__photos {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* カード: 写真 | 学校情報 | SCHOOL DATA */
    .ps-card {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr) minmax(280px, 0.95fr);
        gap: 26px;
        align-items: start;
        padding: 26px;
    }
}

@media (max-width: 899px) {
    .ps-section {
        padding: 44px 0;
    }
}
