/* coaches.css — コーチ一覧・プロフィールページ */

/* ===== 一覧ページ ===== */
.coaches-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 16px;
}

.coaches-hero {
    text-align: center;
    padding: 32px 16px 24px;
}
.coaches-hero h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 8px;
}
.coaches-hero p {
    color: #666;
    font-size: 0.95rem;
}

.coaches-search {
    margin-bottom: 24px;
}
.area-search-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.area-search-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 2px solid #90caf9;
    border-radius: 24px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.area-search-input:focus {
    border-color: #1976d2;
}
.area-search-btn {
    padding: 10px 22px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.area-search-reset {
    color: #888;
    font-size: 13px;
    text-decoration: underline;
}

.coaches-count {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.coach-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s;
    position: relative;
}
.coach-card:hover {
    box-shadow: 0 6px 24px rgba(25,118,210,0.15);
    transform: translateY(-2px);
}

.coach-card-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coach-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coach-card-initial {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1976d2;
}

.coach-card-body {
    flex: 1;
    min-width: 0;
}
.coach-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.coach-card-area {
    font-size: 12px;
    color: #555;
    margin-bottom: 2px;
}
.coach-card-qual {
    font-size: 12px;
    color: #1976d2;
    margin-bottom: 4px;
}
.coach-card-years {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
}
.coach-card-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.coach-price-tag {
    font-size: 11px;
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.coach-price-tag.private {
    background: #e8f5e9;
    color: #2e7d32;
}
.coach-card-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.coach-schedule-chip {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.coach-schedule-chip.day {
    background: #f3e5f5;
    color: #6a1b9a;
}
.coach-schedule-chip.time {
    background: #fff8e1;
    color: #e65100;
}
.coach-card-pr {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.coach-card-arrow {
    font-size: 1.4rem;
    color: #ccc;
    align-self: center;
}

.coaches-empty {
    text-align: center;
    padding: 60px 20px;
    color: #888;
}
.coaches-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.btn-back-coaches {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.coaches-cta {
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid #f0f0f0;
    margin-top: 8px;
}
.coaches-cta p {
    color: #888;
    font-size: 14px;
    margin-bottom: 12px;
}
.btn-become-coach {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    color: #fff;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
}

/* ===== プロフィールページ ===== */
.coach-profile-container {
    max-width: 640px;
    margin: 0 auto;
    padding: 16px 16px 40px;
}

.coach-profile-hero {
    text-align: center;
    padding: 32px 16px 24px;
}
.coach-profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    background: #e3f2fd;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(25,118,210,0.18);
}
.coach-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coach-profile-initial {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1976d2;
}
.coach-profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 8px;
}
.coach-profile-location {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 6px;
}
.coach-profile-qual {
    font-size: 0.9rem;
    color: #1976d2;
    font-weight: 600;
}

.coach-profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.coach-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f0f0f0;
}
.coach-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.coach-section-heading {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1565c0;
    border-left: 4px solid #1976d2;
    padding-left: 10px;
    margin-bottom: 14px;
}

.coach-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.coach-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.coach-info-label {
    font-size: 11px;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.coach-info-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.coach-pr-text,
.coach-text {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
    margin: 0;
    white-space: pre-wrap;
}

.coach-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.coach-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
}
.coach-price-label {
    font-size: 13px;
    color: #666;
    flex-shrink: 0;
}
.coach-price-val {
    font-size: 1rem;
    font-weight: 700;
    color: #1565c0;
}
.coach-price-val small {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}

.coach-schedule-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.coach-schedule-label {
    font-size: 12px;
    color: #888;
    font-weight: 600;
    white-space: nowrap;
    min-width: 36px;
}
.coach-schedule-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.coach-sns-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.coach-sns-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
}
.coach-sns-link.instagram {
    background: #fce4ec;
    color: #c2185b;
}
.coach-sns-link.x-twitter {
    background: #e3f2fd;
    color: #1565c0;
}
.coach-line-id {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #e8f5e9;
    padding: 10px 16px;
    border-radius: 10px;
}
.coach-line-label {
    font-size: 13px;
    color: #388e3c;
    font-weight: 600;
}
.coach-line-val {
    font-size: 14px;
    color: #1b5e20;
    font-weight: 700;
}

.coach-action-area {
    padding-top: 8px;
    text-align: center;
}
.btn-message-coach {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #e91e8c, #f06292);
    color: #fff;
    text-decoration: none;
    border-radius: 28px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(233,30,140,0.3);
    transition: opacity 0.2s;
}
.btn-message-coach:hover {
    opacity: 0.88;
}

.coach-back-link {
    text-align: center;
    margin-top: 8px;
}
.coach-back-link a {
    color: #888;
    font-size: 14px;
    text-decoration: none;
}
.coach-back-link a:hover {
    color: #1976d2;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .coaches-grid {
        grid-template-columns: 1fr;
    }
    .coach-info-grid {
        grid-template-columns: 1fr;
    }
    .coach-price-row {
        flex-direction: column;
        gap: 2px;
    }
}
