/* ===================================== */
/* 📌 1. ページ共通スタイル (about.html) */
/* ===================================== */

/* ページタイトル */
.page-title-hero h1 {
    font-size: 2.5em;
    color: var(--main-color);
    text-align: center;
    padding: 20px 0;
}

/* ===================================== */
/* 📌 2. クラブの理念・方針 & チーム写真 */
/* ===================================== */

/* クラブの理念 (core-values) のコンテナ */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 理念のキーワードリスト */
.core-values {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.value-item {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--accent-color);
    background-color: #fff8f5; /* 薄いオレンジ背景 */
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid #ffefe6;
}

.value-item i {
    margin-right: 8px;
    color: var(--main-color);
}

.policy-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

/* チーム写真セクション */
.team-photo-section {
    max-width: 900px; /* 適切な写真の最大幅を設定 */
    margin: 50px auto 70px auto; /* 上下にスペースを確保して目立たせる */
    text-align: center;
}

.team-photo-section img {
    width: 100%;
    height: auto;
    border-radius: 10px; /* 角を丸くする */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* 影をつけて立体感を出す */
}

.team-photo-section figcaption {
    margin-top: 15px;
    font-size: 1em;
    color: var(--text-color);
    font-weight: 500;
}

/* ===================================== */
/* 📌 3. 指導者紹介 (カード & 横レイアウト) */
/* ===================================== */

/* 指導体制の説明文 */
.coaches-support-text {
    max-width: 600px;
    margin: 20px auto 50px auto; /* 上下に余白を設定 */
    text-align: center;
    font-size: 1.05em;
    line-height: 1.6;
    padding: 15px;
    border: 1px dashed #ccc;
    background-color: var(--light-gray);
    border-radius: 5px;
}

.coaches-support-text strong {
    color: var(--main-color);
}
/* single-coach クラスの場合、中央寄せをさらに明確にする */
.coach-grid.single-coach {
    justify-content: center;
}

/* 指導者カードのコンテナ (coach-grid) */
.coach-grid {
    /* FlexboxからGridに変更し、最大3列で均等に配置 */
    display: grid;
    /* 1列あたり最小250px、最大1fr（均等幅）で、最大3列を維持 */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
    
    /* 全体として中央寄せにするための親幅設定 */
    max-width: 1050px; 
    margin-left: auto;
    margin-right: auto;
}

/* すべての指導者カード (縦長) */
.coach-card {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 影を少し強めに */
    transition: transform 0.3s ease;
}

.coach-card:hover {
    transform: translateY(-5px); /* ホバーで少し浮かせる */
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.coach-photo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%; /* 丸い写真 */
    margin-bottom: 15px;
    border: 3px solid var(--accent-color);
}

.coach-card h3 {
    font-size: 1.4em;
    margin-bottom: 5px;
    color: var(--main-color);
}

.coach-card .role {
    font-weight: bold;
    color: #777;
    margin-bottom: 15px;
    border-bottom: 1px dotted #eee;
    padding-bottom: 5px;
}

.coach-card .career {
    font-size: 0.95em;
    color: #333;
    margin-bottom: 10px;
}

.coach-card .message {
    font-style: italic;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 10px;
}

.coach-photo-wrapper {
    flex-shrink: 0;
    margin-right: 30px;
    width: 150px;
    height: 150px;
    margin-left: auto;
    margin-right: auto;
}

.coach-info-text {
    flex-grow: 1;
}

.education-history {
    font-size: 0.95em; 
    font-weight: bold;
    color: var(--accent-color); /* アクセントカラーで目立たせる */
    margin-top: 5px;
    margin-bottom: 15px; /* 経歴との間に余白を設ける */
    /* 中央寄せのカード内でテキストも中央に配置 */
    text-align: center;
}

/* ===================================== */
/* 📌 4. 活動拠点・アクセス (Location) */
/* ===================================== */

/* コンテナの幅を制限 */
#location .container {
    max-width: 800px;
}

/* 全体のテキスト */
.location-text {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* アクセスに関する注釈のスタイル */
.location-text.access-note {
    font-size: 1.0em;
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 5px;
    margin-top: 30px;
}

.access-note i {
    color: var(--main-color);
    margin-right: 5px;
}

/* 活動場所の詳細コンテナ */
.location-details {
    background-color: #fff;
    padding: 30px 40px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin: 30px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    text-align: left;
}

/* 活動場所の種別 (屋外/屋内) */
.location-type {
    font-size: 1.3em;
    font-weight: bold;
    color: var(--main-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    margin-top: 20px;
    margin-bottom: 15px;
}

.location-type i {
    margin-right: 10px;
}

/* 屋外の活動拠点名 */
.location-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* 屋外の活動拠点の住所 */
.location-address {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
    margin-bottom: 5px;
}

.location-address i {
    color: var(--main-color);
    margin-right: 5px;
}

/* 屋内の活動拠点のリスト */
.indoor-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 30px 0;
}

.indoor-list li {
    font-size: 1.1em;
    padding: 8px 0;
    border-bottom: 1px dotted #ddd;
    margin-bottom: 0; 
}

.indoor-list li:before {
    content: "🎾"; /* リストの前にテニスボールの絵文字 */
    margin-right: 10px;
    color: var(--accent-color);
}

/* 屋内の活動拠点のリスト内住所スタイル */
.location-address-indoor {
    font-size: 0.9em;
    color: #777;
    margin-left: 25px; /* リストの字下げと揃える */
    margin-top: 3px;
    margin-bottom: 3px;
}

.location-address-indoor i {
    color: var(--main-color);
    margin-right: 5px;
}

.location-note {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 30px;
}

/* 📌 リンクのスタイル（場所名、住所、地図リンク） */
.location-name a, 
.location-address a, 
.location-address-indoor a,
.indoor-list li a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-name a {
    font-weight: bold;
    border-bottom: 2px solid var(--accent-color); 
}

.location-address a,
.location-address-indoor a {
    font-weight: normal;
    font-size: 1em;
    color: #666;
    border-bottom: 1px dotted #ccc;
}

.location-name a:hover, 
.location-address a:hover, 
.location-address-indoor a:hover,
.indoor-list li a:hover {
    color: var(--accent-color);
    border-color: var(--main-color);
}


/* ===================================== */
/* 📌 5. レスポンシブ対応 (MAX-WIDTH: 768PX) */
/* ===================================== */
@media (max-width: 768px) {

    /* 理念・方針 */
    .core-values {
        flex-direction: column;
        gap: 15px;
    }

    .team-photo-section {
        margin: 40px 15px 50px 15px; /* モバイルでの左右パディングを調整 */
    }

    /* 指導者カード (縦型) */
    .coach-grid {
        flex-direction: column;
        align-items: center;
    }

    .coach-card {
        width: 100%; /* モバイルでは幅いっぱい */
        max-width: 350px;
    }

    /* 指導者カード (横型) */
    .coach-card-horizontal {
        flex-direction: column; /* モバイルでは縦並びに戻す */
        text-align: center; /* テキストも中央寄せに */
        padding: 20px;
    }

    .coach-photo-wrapper {
        margin-right: 0;
        margin-bottom: 20px; /* 写真とテキストの間に余白 */
        width: 120px;
        height: 120px;
    }

    .coach-card-horizontal .coach-photo {
        width: 120px;
        height: 120px;
    }
    
    .coach-card-horizontal h3 {
        font-size: 1.4em;
    }
}