/* ==========================================================================
   共通・ベース設定
   ========================================================================== */
* {
    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;
}

/* 共通パーツ：ボタン（濃紺・丸角） */
.c-button-dark {
    display: inline-flex;
    align-items: center;
    background-color: #001a43;
    color: #fff !important;
    padding: 14px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.c-button-dark:hover {
    background-color: #003366;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.c-button-dark .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.c-button-dark:hover .arrow {
    transform: translateX(5px);
}

/* ==========================================================================
   04〜07 各セクション（これまでの設定を完全統合）
   ========================================================================== */

/* 04 イベント情報 */
.p-top-section-events { padding: 100px 0; background-color: #f9f9f9; text-align: center; }
.p-event-grid--large { display: flex; justify-content: center; gap: 15px; max-width: 850px; margin: 0 auto 40px; }
.p-event-card { flex: 1; background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

/* 05 インタビュー */
.p-top-section-interview { padding-bottom: 80px; }
.l-container--interview { display: flex; align-items: center; justify-content: center; gap: 50px; max-width: 1000px; margin: 0 auto; }
.p-interview__gallery { flex: 0 0 420px; position: relative; margin-top: -60px; z-index: 10; }
.p-interview__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.p-interview__item { aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.p-interview__deco-text { position: absolute; top: -35px; left: -25px; font-style: italic; font-size: 36px; color: #d4c08e; opacity: 0.7; z-index: -1; }

/* 06 就職・キャリア */
.p-top-section-career { padding: 80px 0; background-color: #fff; }
.p-career-card { background: #fff; border: 6px solid #dcdcdc; border-radius: 24px; max-width: 820px; margin: 0 auto; padding: 50px 30px; text-align: center; }
.p-career-data { display: flex; justify-content: center; align-items: baseline; gap: 50px; margin: 30px 0; }
.p-career-data__item .number { font-size: 48px; font-weight: bold; color: #d74026; line-height: 1; }

/* 07 入学相談 */
.p-top-section-consult { width: 100%; padding: 60px 0; background-color: #fff; }
.p-consult-container { width: calc(100% - 10px); margin: 0 auto; padding: 80px 20px; background-image: url('career_back.png'); background-size: cover; background-position: center; border-radius: 30px; text-align: center; }
.p-consult-card { background: #fff; max-width: 820px; margin: 40px auto 0; border-radius: 20px; display: flex; overflow: hidden; box-shadow: 0 15px 35px rgba(0,0,0,0.15); text-align: left; }

/* ==========================================================================
   08 News & Topics：2列グリッド
   ========================================================================== */
.p-top-section-news { padding: 100px 0; background-color: #f9f9f9; }
.p-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; max-width: 1050px; margin: 0 auto 40px; }
.p-news-item { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.p-news-item__link { display: flex; align-items: center; padding: 12px; text-decoration: none; color: inherit; }
.p-news-item__img { flex: 0 0 110px; height: 75px; border-radius: 6px; overflow: hidden; margin-right: 15px; }
.p-news-btn-area { text-align: center; margin-top: 40px; }

/* ==========================================================================
   09 学校からのお知らせ：Sharp & Tight (Shadow Edition)
   ========================================================================== */
.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 cubic-bezier(0.25, 0.8, 0.25, 1); }
.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; }
.p-info-card .arrow { font-size: 12px; margin-left: 15px; opacity: 0.4; }
.p-info-btn-area { text-align: center; margin-top: 50px; }

/* ==========================================================================
   11 動画ライブラリー：Sharp & Tight (Max-width 820px)
   ========================================================================== */
.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-item__thumb { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 12px; box-shadow: 0 6px 15px rgba(0,0,0,0.1); background-color: #000; }
.p-video-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 34px; background-color: #ff0000; border-radius: 8px; transition: all 0.2s ease; }
.play-icon::after { content: ''; position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
.p-video-item:hover .play-icon { transform: translate(-50%, -50%) scale(1.15); }
.p-video-item__title { font-size: 13px; font-weight: bold; color: #001a43; line-height: 1.4; }

/* YouTube誘導バナー：2px太枠 */
.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); transform: translateY(-2px); }
.p-video-banner__link { display: block; padding: 25px 40px; text-decoration: none; color: inherit; text-align: center; }
.p-video-banner__tag { display: inline-block; background-color: #fff000; color: #000; font-size: 11px; font-weight: bold; padding: 3px 18px; border-radius: 20px; margin-bottom: 20px; }
.p-video-banner__content { display: flex; justify-content: center; align-items: center; gap: 40px; }
.logo-area { display: flex; align-items: center; gap: 20px; }
.logo-school { height: 32px; width: auto; }
.logo-yt { height: 38px; width: auto; }
.detail-link { font-size: 13px; font-weight: bold; border-bottom: 2px solid #001a43; padding-bottom: 2px; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */
@media (max-width: 960px) {
    .p-news-grid { grid-template-columns: 1fr; width: 92%; }
}

@media (max-width: 768px) {
    .p-video-item { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }
    .p-info-card__link { padding: 10px 15px; }
    .p-info-card .date { flex: 0 0 85px; font-size: 10.5px; }
    .p-info-card .title { font-size: 11.5px; }
    .p-video-banner__content { flex-direction: column; gap: 15px; }
    .p-info-btn-area { padding: 0 20px; }
    .p-info-btn-area .c-button-dark { width: 100%; justify-content: center; }
}