/* coaches.css — 講師一覧・プロフィールページ
   象牙 #faf8f2 / 黒檀 #1a1510 / ゴールド #b8965a */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;1,400&family=Noto+Serif+JP:wght@400;600&display=swap');

/* ===== ページ背景 ===== */
body {
    background: #f5f0e8;
}

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

.coaches-hero {
    text-align: center;
    padding: 36px 16px 28px;
}
.coaches-hero h1 {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 600;
    color: #1a1510;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}
.coaches-hero h1::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #b8965a;
    margin: 10px auto 0;
}
.coaches-hero p {
    font-family: 'Noto Serif JP', serif;
    color: #7a6b56;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* ===== 検索フォーム ===== */
.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: 11px 16px;
    background: #faf8f2;
    border: 1.5px solid #d8cdb8;
    border-radius: 5px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #1a1510;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.area-search-input::placeholder { color: #b0a090; }
.area-search-input:focus {
    border-color: #b8965a;
    box-shadow: 0 0 0 3px rgba(184,150,90,0.15);
}
.area-search-btn {
    padding: 11px 24px;
    background: linear-gradient(135deg, #c8a060, #8a6530);
    color: #faf8f2;
    border: none;
    border-radius: 5px;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
}
.area-search-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.area-search-reset {
    font-family: 'Noto Serif JP', serif;
    color: #aaa;
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
}

.coaches-count {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.8rem;
    color: #a09070;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

/* ===== カードグリッド ===== */
.coaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 40px;
}

.coach-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e0d0;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(26,21,16,0.05);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
    position: relative;
}
.coach-card:hover {
    box-shadow: 0 8px 28px rgba(184,150,90,0.18);
    transform: translateY(-3px);
    border-color: #b8965a;
}

.coach-card-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #2a2018, #1a1510);
    display: flex;
    align-items: center;
    justify-content: center;
}
.coach-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coach-card-initial {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #b8965a;
}

.coach-card-body {
    flex: 1;
    min-width: 0;
}
.coach-card-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1510;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}
.coach-card-area {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #7a6b56;
    margin-bottom: 3px;
}
.coach-card-qual {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #b8965a;
    margin-bottom: 4px;
    font-weight: 600;
}
.coach-card-years {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 6px;
}
.coach-card-price-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}
.coach-price-tag {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.68rem;
    background: #f5ede0;
    color: #6b4c1e;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid #d8c8a8;
}
.coach-price-tag.private {
    background: #1a1510;
    color: #d4c5a0;
    border-color: #1a1510;
}
.coach-card-schedule {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}
.coach-schedule-chip {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}
.coach-schedule-chip.day {
    background: #f5ede0;
    color: #6b4c1e;
}
.coach-schedule-chip.time {
    background: #1a1510;
    color: #d4c5a0;
}
.coach-card-pr {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #7a6b56;
    line-height: 1.6;
    margin: 0;
}

.coach-card-arrow {
    font-size: 1.2rem;
    color: #b8965a;
    align-self: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.coach-card:hover .coach-card-arrow { opacity: 1; }

/* ===== 空状態 ===== */
.coaches-empty {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}
.coaches-empty-icon { font-size: 3rem; margin-bottom: 12px; opacity: 0.5; }

.btn-back-coaches {
    display: inline-block;
    margin-top: 16px;
    padding: 10px 24px;
    background: #f5ede0;
    color: #6b4c1e;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #d8c8a8;
}

/* ===== 講師登録 CTA ===== */
.coaches-cta {
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid #e8e0d0;
    margin-top: 8px;
}
.coaches-cta p {
    font-family: 'Noto Serif JP', serif;
    color: #a09070;
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}
.btn-become-coach {
    display: inline-block;
    padding: 13px 36px;
    background: linear-gradient(135deg, #c8a060, #8a6530);
    color: #faf8f2;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 4px 14px rgba(184,150,90,0.3);
}
.btn-become-coach:hover { opacity: 0.88; transform: translateY(-1px); }

/* ===== プロフィールページ ===== */
.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: linear-gradient(135deg, #2a2018, #1a1510);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 20px rgba(184,150,90,0.25);
}
.coach-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.coach-profile-initial {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #b8965a;
}
.coach-profile-name {
    font-family: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1510;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.coach-profile-location {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #7a6b56;
    margin-bottom: 6px;
}
.coach-profile-qual {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #b8965a;
    font-weight: 600;
}

.coach-profile-card {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e0d0;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(26,21,16,0.05);
    margin-bottom: 16px;
}

.coach-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #ede8dc;
}
.coach-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.coach-section-heading {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1a1510;
    border-left: 3px solid #b8965a;
    padding-left: 10px;
    margin-bottom: 14px;
    letter-spacing: 0.04em;
}

.coach-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.coach-info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.coach-info-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.68rem;
    color: #b8965a;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.coach-info-value {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #1a1510;
    font-weight: 600;
}

.coach-pr-text,
.coach-text {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #3a3028;
    line-height: 1.9;
    margin: 0;
    white-space: pre-wrap;
}

.coach-ach-table {
    width: 100%; border-collapse: collapse;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem; color: #3a3028;
}
.coach-ach-table th {
    text-align: left; padding: 6px 10px;
    border-bottom: 2px solid #e0d5c5;
    font-size: 0.75rem; color: #999; font-weight: 600;
    letter-spacing: 0.05em;
}
.coach-ach-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f0ebe0;
    vertical-align: top;
}
.coach-ach-table td:first-child { white-space: nowrap; color: #b8965a; font-weight: 600; }
.coach-ach-table tr:last-child td { border-bottom: none; }

.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-family: 'Noto Serif JP', serif;
    font-size: 0.82rem;
    color: #7a6b56;
    flex-shrink: 0;
}
.coach-price-val {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.0rem;
    font-weight: 600;
    color: #1a1510;
}
.coach-price-val small {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #aaa;
    font-weight: 400;
}

.coach-schedule-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.coach-schedule-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.75rem;
    color: #b8965a;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 2px;
}
.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: 5px;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    transition: opacity 0.2s;
}
.coach-sns-link:hover { opacity: 0.82; }
.coach-sns-link.instagram {
    background: #f5ede0;
    color: #6b4c1e;
    border: 1px solid #d8c8a8;
}
.coach-sns-link.x-twitter {
    background: #1a1510;
    color: #d4c5a0;
}
.coach-line-id {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5ede0;
    border: 1px solid #d8c8a8;
    padding: 10px 16px;
    border-radius: 5px;
}
.coach-line-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.8rem;
    color: #b8965a;
    font-weight: 600;
}
.coach-line-val {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.88rem;
    color: #1a1510;
    font-weight: 600;
}

.coach-action-area {
    padding-top: 8px;
    text-align: center;
}
.btn-message-coach {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #c8a060, #8a6530);
    color: #faf8f2;
    text-decoration: none;
    border-radius: 5px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 16px rgba(184,150,90,0.3);
    transition: opacity 0.2s, transform 0.15s;
}
.btn-message-coach:hover { opacity: 0.88; transform: translateY(-1px); }

.coach-back-link {
    text-align: center;
    margin-top: 8px;
}
.coach-back-link a {
    font-family: 'Noto Serif JP', serif;
    color: #999;
    font-size: 0.82rem;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.coach-back-link a:hover {
    color: #b8965a;
    border-bottom-color: #b8965a;
}

@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; }
}
