/* TTBJ2 ランディングページ用CSS */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ナビゲーション（既存のcake.cssスタイルを使用） */

/* ヘッダー */
.landing-header {
    background: linear-gradient(135deg, #8bc34a 0%, #7baf3f 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.landing-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 400;
    font-family: "Raleway", sans-serif;
    letter-spacing: 2px;
}

.landing-header .subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.language-switch {
    margin-top: 30px;
}

.language-switch a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-switch a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* セクション共通 */
.section {
    padding: 60px 0;
}

.section .container {
    background: white;
    border-radius: 0.4rem;
    box-shadow: 0 7px 14px 0 rgba(60, 66, 87, 0.1),
        0 3px 6px 0 rgba(0, 0, 0, 0.07);
    padding: 40px;
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #363637;
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #8bc34a 0%, #7baf3f 100%);
}

/* 受験方法セクション */
.exam-types {
    background: #f5f7fa;
}

.exam-types .container {
    background: transparent;
    box-shadow: none;
    padding: 0 20px;
}

.exam-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.exam-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.exam-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #8bc34a;
}

.exam-card p {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #8bc34a;
    color: white;
    text-decoration: none;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 2px solid #8bc34a;
    cursor: pointer;
}

.btn:hover {
    background: #7baf3f;
    border-color: #7baf3f;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px 0 rgba(139, 195, 74, 0.3);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: white;
    color: #8bc34a;
    border: 2px solid #8bc34a;
}

.btn-secondary:hover {
    background: #8bc34a;
    color: white;
}

/* システム要件セクション */
.requirements {
    background: #f5f7fa;
}

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.req-item {
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #f8f9fa;
}

.req-item h4 {
    color: #8bc34a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.req-item ul {
    list-style: none;
}

.req-item li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.req-item li:last-child {
    border-bottom: none;
}

.req-item li::before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 10px;
}

/* 特徴セクション */
.features {
    background: #f5f7fa;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8bc34a 0%, #7baf3f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
    line-height: 1.7;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, #8bc34a 0%, #7baf3f 100%);
    color: white;
    text-align: center;
}

.cta-section .container {
    background: transparent;
    box-shadow: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 利用手順セクション */
.steps-section {
    background: #f5f7fa;
}

.steps-section .container {
    background: transparent;
    box-shadow: none;
    padding: 0 20px;
}

/* フッター */
.landing-footer {
    background: #404041;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.landing-footer p {
    margin-bottom: 10px;
}

.landing-footer a {
    color: #ecf0f1;
    text-decoration: none;
}

.landing-footer a:hover {
    color: #3498db;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .landing-header h1 {
        font-size: 2.5rem;
    }

    .landing-header .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .exam-cards {
        grid-template-columns: 1fr;
    }

    .exam-card {
        padding: 30px;
    }

    .req-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .landing-header {
        padding: 40px 0;
    }

    .landing-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ローディング時のスムーズな表示 */
.section {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.section:nth-child(1) {
    animation-delay: 0.1s;
}
.section:nth-child(2) {
    animation-delay: 0.2s;
}
.section:nth-child(3) {
    animation-delay: 0.3s;
}
.section:nth-child(4) {
    animation-delay: 0.4s;
}
