@charset "UTF-8";

/* =========================================
   学習支援ページ用CSS（他ページとの統一版）
========================================= */

.study-section {
    padding: 0px 20px 30px; 
    margin-top: -40px;
}
.study-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    margin-top: 0; 
    color: #84D2E5; 
    font-size: 2.4rem; 
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F7D070; 
    letter-spacing: 0.05em;
}
.page-desc {
    color: #555; 
    font-size: 1.1rem;
    margin-bottom: 60px; 
    line-height: 1.6;
}
.sub-title {
    text-align: center;
    color: #84D2E5;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

/* -----------------------------------------
   概要エリア
----------------------------------------- */
.study-intro {
    margin-bottom: 80px;
}
.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
}

.study-block {
    margin-bottom: 80px;
}

/* ★一番最後のブロックの余白はゼロにする */
.study-block:last-child {
    margin-bottom: 0;
}
/* -----------------------------------------
   3つのスタイル（カード）
----------------------------------------- */
.style-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.style-card {
    width: calc((100% - 60px) / 3);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(132, 210, 229, 0.2);
}

.style-badge {
    position: absolute;
    top: -1px;
    left: 20px;
    color: #fff;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 0 0 8px 8px;
    font-size: 0.9rem;
    z-index: 2;
}
.bg-yellow { background-color: #F7D070; }
.bg-green { background-color: #8cc63f; }
.bg-blue { background-color: #84D2E5; }

.style-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}
.style-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.style-card:hover .style-img img {
    transform: scale(1.05); 
}

.style-body {
    padding: 25px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.style-body h4 {
    font-size: 1.25rem;
    color: #333;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.style-location {
    font-size: 0.9rem;
    color: #777;
    margin: 0 0 15px 0;
    font-weight: bold;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 10px;
}
.style-body p:last-child {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* -----------------------------------------
   学生の声（3色カラフル配置）
----------------------------------------- */
.voice-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* 共通設定 */
.voice-box {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 6px solid #ccc; /* デフォルトの色（後で上書きされます） */
}

.voice-header {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 80px;
}

.voice-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.voice-attr {
    font-size: 0.9rem;
    color: #777;
    font-weight: bold;
}

.voice-text {
    flex-grow: 1;
}

.voice-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* ▼ ロゴに合わせた個別カラー設定 ▼ */
/* 1人目：水色 */
.voice-blue {
    border-left-color: #84D2E5;
}
.voice-blue .voice-icon {
    background-color: #84D2E5;
}

/* 2人目：黄色 */
.voice-yellow {
    border-left-color: #F7D070;
}
.voice-yellow .voice-icon {
    background-color: #F7D070;
}

/* 3人目：紫色 */
.voice-purple {
    border-left-color: #9e7bc1;
}
.voice-purple .voice-icon {
    background-color: #9e7bc1;
}

/* -----------------------------------------
   お問い合わせ（CTA）
----------------------------------------- */
.cta-block {
    text-align: center;
    background: #fdfdfd;
    padding: 60px 30px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.cta-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 40px;
}
.btn-cta {
    display: inline-block;
    background-color: #84D2E5;
    color: #fff;
    text-decoration: none;
    padding: 20px 80px; 
    font-size: 1.15rem;
    font-weight: bold;
    border-radius: 50px; 
    transition: all 0.3s ease;
    letter-spacing: 0.1em; 
    box-shadow: 0 6px 15px rgba(132, 210, 229, 0.3);
}
.btn-cta:hover {
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(132, 210, 229, 0.4); 
    background-color: #72c1d4; 
}

/* -----------------------------------------
   レスポンシブ（スマホ等）
----------------------------------------- */
@media screen and (max-width: 768px) {
    .page-title { font-size: 2rem; }
    .sp-only { display: block; }
    .pc-only { display: none; }
    
    .style-grid {
        flex-direction: column;
        gap: 30px;
    }
    .style-card {
        width: 100%;
    }
    
    .voice-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        /* スマホ時は左線の代わりに上線にする */
        border-left: none;
        border-top: 6px solid #ccc;
    }
    
    /* スマホ時の上線カラー設定 */
    .voice-blue { border-top-color: #84D2E5; }
    .voice-yellow { border-top-color: #F7D070; }
    .voice-purple { border-top-color: #9e7bc1; }
    
    .voice-header {
        flex-direction: row;
        width: auto;
        justify-content: center;
    }
    
    .voice-icon {
        width: 60px;
        height: 60px;
    }
    
    .cta-block {
        padding: 40px 20px;
    }
    .btn-cta {
        padding: 15px 40px;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
}