/* ===================================================
   推専塾ホームページ用 カスタムCSS
=================================================== */

/* 1. カラーパレット（推専塾オリジナル） */
:root {
    --primary-color: #1a365d; /* 信頼感のあるネイビー */
    --secondary-color: #e2e8f0; /* 薄いグレー */
    --accent-color: #dd6b20; /* 活気のあるオレンジ */
    --gold-color: #ecc94b; /* アクセントのゴールド */
}

/* 2. メインビジュアル（ヒーローセクション）と3つの約束 */
.hero { 
    background: linear-gradient(135deg, var(--primary-color), #2b6cb0); 
    color: #fff; 
    text-align: center; 
    padding: 5rem 1rem; 
}
.hero h1 { 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
    color: #fff;
    line-height: 1.4;
}
.hero p { 
    font-size: 1.2rem; 
    margin-bottom: 3rem; 
}

.promises { 
    background: rgba(255, 255, 255, 0.1); 
    padding: 2.5rem; 
    border-radius: 8px; 
    max-width: 800px; 
    margin: 0 auto; 
    text-align: left; 
    border: 1px solid rgba(255,255,255,0.2);
}
.promises h2 { 
    text-align: center; 
    margin-bottom: 1.5rem; 
    font-size: 1.5rem; 
    color: #fff;
}
.promises ul { 
    list-style: none !important; 
    padding: 0; 
}
.promises li { 
    font-size: 1.1rem; 
    margin-bottom: 1rem; 
    display: flex; 
    align-items: flex-start; 
}
.promises li::before { 
    content: '✓'; 
    color: var(--gold-color); 
    font-weight: bold; 
    margin-right: 0.8rem; 
    font-size: 1.2rem; 
}

/* 3. 各セクションの共通レイアウト */
#features, #results, #voices, #contact { 
    padding: 4rem 5%; 
    max-width: 1200px; 
    margin: 0 auto; 
}
.section-title { 
    text-align: center; 
    font-size: 2rem; 
    color: var(--primary-color); 
    margin-bottom: 3rem; 
    position: relative; 
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

/* 4. 推専塾の強み（3カラムカード） */
.features { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.feature-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
    text-align: center;
}
.feature-card h3 { 
    color: var(--accent-color); 
    margin-bottom: 1rem; 
    font-size: 1.3rem; 
    border-bottom: 2px solid var(--secondary-color); 
    padding-bottom: 0.5rem;
}
.feature-card p { 
    text-align: left; 
    margin-bottom: 1rem;
}
.btn-outline { 
    display: inline-block; 
    border: 1px solid var(--primary-color); 
    color: var(--primary-color) !important; 
    padding: 0.5rem 1.5rem; 
    border-radius: 4px; 
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: 0.3s;
}
.btn-outline:hover { 
    background: var(--primary-color); 
    color: #fff !important;
}

/* 5. 指導料について（ネイビー帯） */
.price-section { 
    background: var(--primary-color); 
    color: #fff; 
    text-align: center; 
    padding: 4rem 1rem; 
    margin: 2rem 0; 
}
.price-section h2 { 
    font-size: 2rem; 
    margin-bottom: 1rem; 
    color: var(--gold-color);
    line-height: 1.4;
}
.price-section p { 
    font-size: 1.2rem; 
    margin-bottom: 2rem; 
}
.btn-gold { 
    display: inline-block; 
    background: var(--gold-color); 
    color: var(--primary-color) !important; 
    font-weight: bold; 
    padding: 1rem 3rem; 
    border-radius: 50px;
    text-decoration: none !important;
    transition: transform 0.2s;
}
.btn-gold:hover {
    transform: translateY(-3px);
}

/* 6. 合格実績（タグデザイン） */
.results-box { 
    margin-bottom: 3rem; 
}
.results-box h3 { 
    text-align: center; 
    margin-bottom: 1.5rem; 
    background: var(--secondary-color); 
    padding: 0.5rem; 
    border-radius: 4px;
    font-size: 1.2rem;
}
.tags { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.8rem; 
    justify-content: center; 
}
.tag { 
    background: #fff; 
    border: 1px solid var(--primary-color); 
    color: var(--primary-color); 
    padding: 0.5rem 1rem; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    font-weight: bold; 
}

/* 7. 保護者・生徒の声 */
.voices { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}
.voice-card { 
    background: #fff; 
    padding: 2rem; 
    border-radius: 8px; 
    border-top: 5px solid var(--accent-color); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}
.voice-card h4 { 
    margin-bottom: 1.5rem; 
    color: var(--primary-color); 
    font-size: 1.2rem;
}
.qa { 
    margin-bottom: 1.5rem; 
}
.qa strong { 
    display: block; 
    color: var(--accent-color); 
    margin-bottom: 0.3rem; 
    font-size: 0.95rem; 
}
.qa p { 
    font-size: 0.95rem; 
}

/* 8. アクセス・マップ */
.access-container { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 2rem; 
    background: #fff; 
    padding: 2rem; 
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.access-info { 
    flex: 1; 
    min-width: 300px;
}
.map-box { 
    flex: 1; 
    min-width: 300px; 
    background: var(--secondary-color); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    min-height: 300px; 
    border-radius: 8px;
    overflow: hidden;
}
.map-box iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* 9. お知らせリスト（List Category Posts用） */
ul.suisen-news-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto 3rem auto !important;
    max-width: 800px;
    border-top: 3px solid var(--primary-color);
}
ul.suisen-news-list li {
    border-bottom: 1px dashed var(--secondary-color);
    padding: 15px 10px !important;
    display: flex;
    align-items: flex-start;
    font-size: 0 !important; 
    color: transparent !important;
}
ul.suisen-news-list li span.lcp_date {
    order: 1; 
    font-size: 0.9rem !important; 
    color: #4a5568 !important; 
    margin-right: 20px;
    background-color: #f7fafc;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.5;
}
ul.suisen-news-list li a {
    order: 2; 
    font-size: 1.05rem !important; 
    color: #2d3748 !important; 
    text-decoration: none !important;
    font-weight: bold !important; 
    line-height: 1.5;
    flex: 1; 
    transition: color 0.3s ease;
}
ul.suisen-news-list li a:hover {
    color: var(--accent-color) !important;
}

/* 10. スマホ表示の最適化 */
@media screen and (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    #features, #results, #voices, #contact { padding: 3rem 1rem; }
    .price-section h2 { font-size: 1.5rem; }
    
    ul.suisen-news-list li {
        flex-direction: column;
    }
    ul.suisen-news-list li span.lcp_date {
        margin-bottom: 8px;
        margin-right: 0;
    }
}