/* ========================================
   students5 カスタムCSS
   ======================================== */

/* ヘッダーロゴ */
.site-branding {
    width: auto;
    height: auto;
}

.header-logo-5621 {
    width: 250px;
    height: 70px;
    transition: filter 0.3s ease;
}

/* メニューが開いたとき（背景が白になる）にロゴを青に */
.mega-menu-open .header-logo-5621 {
    filter: brightness(0) saturate(100%) invert(27%) sepia(47%) saturate(2000%) hue-rotate(195deg) brightness(0.9) contrast(0.9);
}

@media screen and (max-width: 768px) {
    .header-logo-5621 {
        width: 200px;
        height: auto;
    }
}

/* フッタータグライン */
.site-footer__tagline {
    line-height: 1.2;
}

/* 地図セクション */
.map-section-5621 {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.map-section-5621 iframe {
    width: 100%;
    height: 400px;
    border: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-section-5621 iframe:hover {
    filter: grayscale(0%);
}

/* ヒーロー動画 */
.hero__background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* ヒーローセクション背景を青に */
.hero__content {
    background: rgba(30, 74, 122, 0.9);
    border-color: #fff;
}

/* ヒーローセクションのボーダーを白に */
.hero__content-wrapper {
    border-color: #fff;
}

.hero__content-wrapper:after {
    background: #fff;
}

/* ヒーロータイトルの行間を広げる */
.hero__title {
    line-height: 1.2;
}

@media (min-width: 960px) {
    .hero__content {
        background: none;
    }
    
    .hero__content:after {
        background: rgba(30, 74, 122, 0.85);
    }
    
    .hero__title {
        line-height: 1.1;
    }
}

.hero-video-5621 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* カルーセル動画 */
.carousel-video-5621 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   セクション共通
   ======================================== */
.section-title-5621 {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e4a7a;
    position: relative;
}

.section-title-5621::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1e4a7a;
    margin: 1rem auto 0;
}

.section-title-white-5621 {
    color: #fff;
}

.section-title-white-5621::after {
    background: #fff;
}

/* ========================================
   お知らせセクション
   ======================================== */
.news-section-5621 {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-list-5621 {
    max-width: 900px;
    margin: 0 auto;
}

.news-item-5621 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.news-date-5621 {
    color: #1e4a7a;
    font-weight: 500;
    min-width: 100px;
}

.news-category-5621 {
    background: #1e4a7a;
    color: #fff;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
}

.news-title-5621 {
    flex: 1;
    margin: 0;
    color: #333;
}

.news-more-5621 {
    text-align: center;
    margin-top: 2rem;
}

.btn-more-5621 {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid #1e4a7a;
    color: #1e4a7a;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-more-5621:hover {
    background: #1e4a7a;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .news-item-5621 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ========================================
   合格実績セクション
   ======================================== */
.results-section-5621 {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e4a7a 0%, #2d5a8a 100%);
    color: #fff;
}

.results-year-5621 {
    margin-bottom: 3rem;
}

.results-year-5621:last-child {
    margin-bottom: 0;
}

.results-year-title-5621 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.results-subtitle-5621 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.results-grid-5621 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.results-category-5621 {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.results-category-title-5621 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.results-list-5621 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-list-5621 li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.school-name-5621 {
    font-size: 1rem;
}

.result-count-5621 {
    background: #fff;
    color: #1e4a7a;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    .results-grid-5621 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   お客様の声セクション
   ======================================== */
.voice-section-5621 {
    padding: 80px 0;
    background: #fff;
}

.voice-grid-5621 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.voice-card-5621 {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #1e4a7a;
}

.voice-header-5621 {
    margin-bottom: 1rem;
}

.voice-label-5621 {
    background: #1e4a7a;
    color: #fff;
    padding: 0.25rem 1rem;
    font-size: 0.85rem;
    border-radius: 20px;
}

.voice-text-5621 {
    color: #333;
    line-height: 1.8;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .voice-grid-5621 {
        grid-template-columns: 1fr;
    }
}


