/**
 * Modern Trainer Section Styles
 * total-boost.comスタイルをベースに現在のデザインに適応
 */

/* Trainer Section */
.trainer-section {
    padding: 100px 0;
    background: #fff;
}

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

/* Section Header */
.trainer-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.trainer-section .section-label {
    display: inline-block;
    color: #667eea;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    letter-spacing: 0.05em;
}

/* Trainer Wrapper */
.trainer-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Trainer Image */
.trainer-image {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.trainer-image.visible {
    opacity: 1;
    transform: translateY(0);
}

.trainer-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Trainer Content */
.trainer-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.trainer-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.trainer-content .section-label {
    color: #D4A574;
    margin-bottom: 20px;
}

.trainer-content .section-title-modern {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 30px;
    color: #2c3e50;
}

.trainer-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.trainer-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.trainer-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Button Text Link - Same style as service buttons */
.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.05em;
    text-decoration: none;
    margin-top: 30px;
    padding: 12px 25px;
    border: 1px solid #333;
    border-radius: 0;
    transition: all 0.3s ease;
    background: transparent;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-text-link:hover {
    background: #333;
    color: #fff;
    transform: none;
}

.btn-text-link svg {
    transition: transform 0.3s ease;
}

.btn-text-link:hover svg {
    transform: translateX(5px);
}

/* Fade In Animation */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .trainer-wrapper {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 50px;
    }

    .trainer-image {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .trainer-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .trainer-section {
        padding: 60px 0;
    }

    .trainer-section .container {
        padding: 0 20px;
    }

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

    .trainer-content .section-title-modern {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .trainer-wrapper {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        gap: 30px !important;
    }

    .trainer-image {
        order: 1;
        max-width: 100%;
        margin: 0 auto;
        width: 100%;
    }

    .trainer-photo {
        width: 100%;
        height: auto;
        display: block;
    }

    .trainer-content {
        order: 2;
        padding: 0;
        width: 100%;
    }

    .trainer-content .section-label {
        display: block;
        margin-bottom: 15px;
    }

    .trainer-content h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .trainer-title {
        font-size: 0.95rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .trainer-description {
        font-size: 0.85rem;
        line-height: 1.9;
        margin-bottom: 15px;
    }

    .btn-text-link {
        margin-top: 20px;
        font-size: 13px;
        padding: 10px 20px;
        width: fit-content;
    }
}

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

    .trainer-content .section-title-modern {
        font-size: 1.3rem;
    }

    .trainer-description {
        font-size: 0.8rem;
    }
}