/* ========================================
   コーチ紹介ページ専用スタイル
   ======================================== */
.coach-page {
    padding: 20px 0;
}

/* コーチリスト */
.coach-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* コーチカード */
.coach-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}


/* コーチ写真 */
.coach-photo {
    background: var(--light-gray);
}

.coach-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* コーチ情報 */
.coach-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.coach-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.coach-position {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-color-2);
    opacity: 0.8;
}

.coach-section-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    margin-top: 20px;
    color: var(--text-color-2);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
}

.coach-section-title:first-of-type {
    margin-top: 0;
}

/* 経歴 */
.coach-careers {
    margin-bottom: 15px;
}

.career-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.career-item {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-color-2);
}

.career-period {
    font-weight: bold;
    margin-right: 8px;
    color: var(--text-color-2);
}

.career-job {
    color: var(--text-color-2);
}

/* ライセンス */
.coach-licenses {
    margin-bottom: 15px;
}

.license-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.license-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    color: var(--text-color-2);
}

.license-item::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* メッセージ */
.coach-message {
    padding-top: 15px;
}

.message-text {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 8px;
    line-height: 1.8;
    color: var(--text-color-2);
    white-space: pre-line;
    position: relative;
}

.message-text::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--light-gray);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .coach-list {
        gap: 20px;
    }
    
    .coach-card {
        grid-template-columns: 1fr;
    }
    
    .coach-info {
        padding: 15px;
    }
    .coach-name {
        text-align: center;
    }
    .coach-position {
        text-align: center;
    }
    .coach-section-title {
        text-align: center;
    }
    .message-text::before {
        left: 50%;
        transform: translateX(-50%);
    }
}
