/* ==========================================================================
   共通・ベース設定
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #001a43;
    background-color: #fff;
    overflow-x: hidden;
}

.l-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 共通パーツ：見出し（常に中央揃え） */
.p-section__header {
    margin-bottom: 50px;
    text-align: center; /* タイトルを中央配置 */
}

.c-section-number {
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.c-heading {
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* 04〜08セクションはこれまでの設定を継承 */

/* ==========================================================================
   09 学校からのお知らせ：Ultra Sharp & Tight
   ========================================================================== */
.p-top-section-info { padding: 100px 0; background-color: #f6f6f6; }
.p-info-cards { max-width: 820px; margin: 0 auto; padding: 0 15px; display: flex; flex-direction: column; gap: 12px; }
.p-info-card { background: #fff; border-radius: 4px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); border: 1px solid rgba(0, 0, 0, 0.02); transition: all 0.3s ease; }
.p-info-card:hover { transform: translateY(-2px) translateX(5px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.p-info-card__link { display: flex; align-items: center; padding: 14px 20px; text-decoration: none; color: inherit; }
.p-info-card .date { flex: 0 0 120px; font-size: 12px; font-weight: bold; color: #666; }
.p-info-card .title { flex: 1; font-size: 14px; font-weight: bold; color: #001a43; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ==========================================================================
   10 動画ライブラリー：2px太枠バナー
   ========================================================================== */
.p-top-section-video { padding: 100px 0; background-color: #fff; }
.p-video-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 20px; max-width: 900px; margin: 0 auto 60px; }
.p-video-item { flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); text-align: center; }
.p-video-banner { max-width: 820px; margin: 0 auto; border: 2px solid #001a43; border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.p-video-banner:hover { background-color: #fcfcfc; box-shadow: 0 10px 30px rgba(0,26,67,0.08); }

/* ==========================================================================
   11 交通・アクセス：Sharp & Tight 4カラム
   ========================================================================== */
.p-top-section-access {
    padding: 100px 0;
    background-color: #fff;
}

/* タイトさを維持するmax-width設定 */
.p-access-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1080px; 
    margin: 0 auto;
    padding: 0 15px;
}

.p-access-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.p-access-card:hover { transform: translateY(-5px); }

.p-access-card__head { text-align: center; margin-bottom: 12px; }
.p-access-card__head .campus-title { font-size: 15px; font-weight: bold; color: #001a43; }
.p-access-card__head .school-sub { font-size: 9px; color: #999; }

.p-access-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}
.p-access-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* グレーの小分けボックス */
.p-access-card__info-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.info-item { background-color: #f7f7f7; padding: 10px; border-radius: 4px; }
.info-item .label { display: block; font-size: 9px; font-weight: bold; color: #001a43; margin-bottom: 2px; }
.info-item .label--red { color: #d74026; }
.info-item .detail { font-size: 10px; line-height: 1.4; font-weight: bold; }

.c-button-map-tight {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #001a43;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: bold;
    transition: all 0.3s;
}

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 960px) {
    .p-news-grid { grid-template-columns: 1fr; width: 92%; }
}

@media (max-width: 768px) {
    .p-access-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .p-info-btn-area .c-button-dark { width: 100%; justify-content: center; }
}