/* トレーナーページ専用スタイル */

/* アクティブなナビゲーション */
.nav a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav a.active::after {
    width: 100%;
}

/* トレーナーヒーロー */
.trainer-hero {
    background: linear-gradient(135deg, #FFF9E6 0%, #E3F2FD 100%);
    padding: 100px 0 80px;
}

.trainer-hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.trainer-photo-wrapper {
    position: relative;
}

.trainer-photo {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-bg), #FFF);
    color: var(--gray);
}

.photo-placeholder i {
    font-size: 8rem;
    opacity: 0.3;
}

.trainer-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #FFE5CC 0%, #E3F2FD 100%);
    color: var(--text-color);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
}

.trainer-badge i {
    font-size: 1.2rem;
}

.trainer-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 10px;
}

.trainer-name {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.trainer-subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 25px;
    font-weight: 400;
}

.trainer-catch {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
}

.trainer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-icon i {
    display: block;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 400;
}

/* 旧スタイル（後方互換） */
.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

/* ストーリーセクション */
.trainer-story {
    background: var(--white);
}

.story-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFE5CC 0%, #E3F2FD 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 80px;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.timeline-icon i {
    font-size: 2rem;
    color: var(--white);
}

.timeline-highlight .timeline-icon {
    background: linear-gradient(135deg, var(--primary-color), #FF8E53);
    width: 90px;
    height: 90px;
}

.timeline-highlight .timeline-icon i {
    font-size: 2.5rem;
}

.timeline-content {
    background: #FFFEF7;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.timeline-highlight .timeline-content {
    background: linear-gradient(135deg, #FFF9E6, #E3F2FD);
    border: 3px solid var(--primary-color);
}

.timeline-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 15px;
}

.timeline-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.story-quote {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin: 25px 0;
    text-align: center;
}

.story-quote i {
    color: var(--primary-color);
    font-size: 1.3rem;
    opacity: 0.5;
}

.story-quote p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
    font-style: italic;
}

.story-highlight-box {
    background: linear-gradient(135deg, #FFE5CC 0%, #E3F2FD 100%);
    color: var(--text-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 25px;
}

.story-highlight-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.story-highlight-box p {
    font-size: 1.3rem;
    font-weight: 900;
    margin: 0;
    color: var(--text-color);
}

.story-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.story-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.story-list i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.story-experience {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin-top: 25px;
}

.story-experience h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.experience-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.experience-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.experience-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.story-mission {
    background: linear-gradient(135deg, #FFE5CC 0%, #E3F2FD 100%);
    color: var(--text-color);
    padding: 35px;
    border-radius: 15px;
    margin-top: 25px;
}

.story-mission h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.story-mission ul {
    list-style: none;
    padding: 0;
}

.story-mission li {
    font-size: 1.15rem;
    padding: 10px 0;
    line-height: 1.7;
}

/* 資格・経歴 */
.credentials {
    background: var(--light-bg);
}

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

.credential-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.credential-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.credential-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.credential-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.credential-card p {
    color: var(--gray);
    line-height: 1.7;
}

.experience-summary {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.experience-summary:last-child {
    margin-bottom: 0;
}

.experience-summary h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.experience-summary ul {
    list-style: none;
    padding: 0;
}

.experience-summary li {
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-color);
    line-height: 1.7;
}

.experience-summary li:last-child {
    border-bottom: none;
}

.experience-summary li::before {
    content: '✓';
    color: var(--secondary-color);
    font-weight: 700;
    margin-right: 12px;
    font-size: 1.3rem;
}

/* メッセージセクション */
.trainer-message {
    background: var(--white);
}

.message-content {
    max-width: 900px;
    margin: 0 auto;
}

.message-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.message-text {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
}

.message-main {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.message-main strong {
    color: var(--primary-color);
    font-size: 1.7rem;
}

.message-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 20px;
    color: var(--text-color);
}

.message-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.message-emphasis {
    background: linear-gradient(135deg, #FFE5CC 0%, #E3F2FD 100%);
    color: var(--text-color);
    padding: 25px 30px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
    margin: 30px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.message-emphasis i {
    font-size: 1.8rem;
}

.message-signature {
    text-align: right;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid var(--border);
}

.message-signature p {
    margin: 5px 0;
    font-size: 1rem;
    color: var(--gray);
}

.signature-name {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* CTAセクション */
.trainer-cta {
    background: linear-gradient(135deg, #FFF9E6 0%, #E3F2FD 100%);
    padding: 80px 0;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-box p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* レスポンシブ */
@media (max-width: 968px) {
    .trainer-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trainer-photo {
        max-width: 280px;
    }

    .trainer-name {
        font-size: 2.8rem;
    }

    .trainer-stats {
        max-width: 500px;
        margin: 0 auto;
    }

    .story-timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 90px;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
    }

    .timeline-icon i {
        font-size: 1.5rem;
    }

    .timeline-highlight .timeline-icon {
        width: 70px;
        height: 70px;
    }

    .timeline-highlight .timeline-icon i {
        font-size: 2rem;
    }

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

    .message-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .message-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .message-text {
        padding: 40px 30px;
    }
}

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

    .trainer-name {
        font-size: 2.3rem;
    }

    .trainer-catch {
        font-size: 1.2rem;
    }

    .trainer-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .timeline-content {
        padding: 30px 25px;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }

    .story-quote p {
        font-size: 1.1rem;
    }

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

    .experience-summary {
        padding: 30px 25px;
    }

    .message-main {
        font-size: 1.3rem;
    }

    .message-text p {
        font-size: 1.05rem;
    }

    .cta-box {
        padding: 40px 30px;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .trainer-name {
        font-size: 2rem;
    }

    .trainer-badge {
        font-size: 0.85rem;
        padding: 8px 14px;
    }

    .timeline-item {
        padding-left: 70px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
    }

    .timeline-icon i {
        font-size: 1.2rem;
    }

    .timeline-highlight .timeline-icon {
        width: 55px;
        height: 55px;
    }
}