/* team.css - クラブ紹介ページ固有のスタイル */

/* ページタイトルセクション */
.page-title-section {
    background-color: #f0f0f0; /* 背景色を少し濃いグレーに */
    padding: 30px 20px; /* 内側の余白 */
    text-align: center; /* テキスト中央揃え */
    margin-bottom: 30px; /* 下部の余白 */
}

.page-title-section h1 {
    font-size: 2rem; /* 見出しのフォントサイズ */
    color: #0c0675; /* クラブカラー */
}

/* クラブ概要セクション */
.club-overview-section {
    padding: 0 20px 30px; /* 左右と下の余白 */
    margin-bottom: 30px;
}

.club-overview-section h2 {
    color: #0c0675; /* 見出しの色 */
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.6rem;
}

.club-overview-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    text-align: left; /* 説明文は左揃えに */
    max-width: 800px; /* 最大幅を設定 */
    margin-left: auto;
    margin-right: auto;
}

.club-overview-section table {
    width: 100%;
    max-width: 800px; /* テーブルの最大幅 */
    margin: 20px auto; /* 上下マージンと中央揃え */
    border-collapse: collapse; /* ボーダーを重ねる */
    border: 1px solid #ddd; /* テーブル全体の枠線 */
}

.club-overview-section th,
.club-overview-section td {
    border: 1px solid #ddd; /* セルの枠線 */
    padding: 12px 15px; /* セルの内側余白 */
    text-align: left; /* テキスト左揃え */
    vertical-align: top; /* 上揃え */
}

.club-overview-section th {
    background-color: #f9f9f9; /* 見出しセルの背景色 */
    font-weight: bold;
    width: 30%; /* 見出しセルの幅 */
}

.club-overview-section td a {
    color: #0c0675;
    text-decoration: underline;
}
.club-overview-section td a:hover {
    color: #0a0559;
}


/* 指導方針セクション */
.philosophy-section {
    background-color: #f0f0f0; /* 背景色を少し濃いグレーに */
    padding: 30px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.philosophy-section h2 {
    color: #0c0675; /* 見出しの色 */
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.philosophy-section > p { /* セクション直下の説明文 */
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

.philosophy-points {
    display: flex;
    flex-direction: column; /* モバイルでは縦積み */
    gap: 20px; /* 各ポイント間の余白 */
    max-width: 900px; /* 最大幅 */
    margin: 0 auto; /* 中央揃え */
}

.philosophy-point {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* home.css参考 */
    text-align: center;
}

.philosophy-point h3 {
    color: #0c0675; /* ポイントの見出し色 */
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.philosophy-point p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* スタッフ紹介セクション */
.staff-section {
    padding: 0 20px 40px; /* 左右と下の余白 */
    margin-bottom: 40px;
   text-align: center; /* テキスト中央揃え */
    background-color: #f0f0f0; /* 背景色を少し濃いグレーに */
    border-radius: 5px; /* 角を丸くする */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 影をつける */
}

.staff-section h2 {
    color: #0c0675; /* 見出しの色 */
    margin-bottom: 30px;
    
    text-align: center;
    font-size: 1.6rem;
}

.staff-container {
    display: flex;
    flex-direction: column; /* モバイルでは縦積み */
    gap: 30px; /* スタッフ間の余白 */
    max-width: 900px; /* 最大幅 */
    margin: 0 auto; /* 中央揃え */
}

.staff-member {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #eee;
}

.staff-member img {
    width: 150px; /* 写真のサイズ */
    height: 150px;
    border-radius: 50%; /* 円形にする */
    object-fit: cover; /* 画像をトリミングして合わせる */
    margin: 0 auto 20px; /* 中央揃えと下の余白 */
    display: block;
    border: 3px solid #f0f0f0; /* 写真の周りに薄い枠線 */
}

.staff-member h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #333;
}

.staff-member p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    text-align: left; /* 説明文は左揃えに */
    white-space: pre-line; /* 改行を反映させる */
}

/* レスポンシブ設定 - タブレット以上 */
@media (min-width: 768px) {
    .page-title-section h1 {
        font-size: 2.5rem;
    }

    .club-overview-section h2,
    .philosophy-section h2,
    .staff-section h2 {
        font-size: 1.8rem;
    }

    .philosophy-points {
        flex-direction: row; /* 横並びにする */
    }

    .philosophy-point {
        flex: 1; /* 幅を均等に分配 */
        padding: 25px;
    }

    .staff-member {
        display: flex;
        align-items: flex-start; /* 上揃えに変更 */
        gap: 25px; /* 画像とテキストの間隔 */
        text-align: left; /* 全体を左揃えに */
        max-width: 800px; /* カードの最大幅を制限 */
        margin: 0 auto; /* 中央揃え */
    }

    .staff-member img {
        margin: 0; /* 自動マージンをリセット */
        flex-shrink: 0; /* 画像が縮まないようにする */
    }

    .staff-info {
        flex: 1; /* 残りのスペースをすべて使う */
    }

    .staff-member p {
         text-align: left; /* 説明文は左揃え維持 */
    }
}

/* レスポンシブ設定 - デスクトップ */
@media (min-width: 1024px) {
    .page-title-section {
        padding: 40px 20px;
    }
    .page-title-section h1 {
        font-size: 2.8rem;
    }

    .club-overview-section h2,
    .philosophy-section h2,
    .staff-section h2 {
        font-size: 2rem;
    }
}

/* スケジュールセクションのスタイル */
.schedule-section {
    padding: 30px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.schedule-section h2 {
    color: #0c0675;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.schedule-info {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.schedule-container {
    max-width: 800px;
    margin: 0 auto;
}

.schedule-container h3 {
    margin: 25px 0 15px;
    color: #0c0675;
    font-size: 1.3rem;
    text-align: center;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.schedule-table th {
    background-color: #0c0675;
    color: white;
    padding: 12px;
}

.schedule-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.schedule-table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.schedule-table tbody tr:hover {
    background-color: #f0f0f0;
}

/* 注意事項セクションのスタイル */
.notice-section {
    padding: 30px 20px;
    margin-bottom: 40px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.notice-section h2 {
    color: #0c0675;
    margin-bottom: 20px;
    font-size: 1.6rem;
    text-align: center;
}

.notice-container {
    max-width: 800px;
    margin: 0 auto;
}

.notice-container ul {
    list-style-type: none;
    padding-left: 0;
}

.notice-container li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    line-height: 1.6;
}

.notice-container li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: #0c0675;
    font-weight: bold;
}
