/* ========================================
   ページ専用スタイル
======================================== */

/* ページヘッダー */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.9) 0%, rgba(44, 95, 45, 0.7) 100%);
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.page-title {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #FFB627;
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: white;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #FFB627;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* レンタルコート案内 */
.rental-intro {
    padding: 6rem 0;
}

.rental-intro .intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rental-intro .intro-text {
    max-width: none;
    margin: 0;
    text-align: left;
}

.intro-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 1.2rem;
}

.intro-text p:last-child {
    margin-bottom: 24px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-badge {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.feature-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-badge i {
    font-size: 2.5rem;
    color: #2C5F2D;
    margin-bottom: 0.6rem;
    display: block;
}

/* バッジ内の画像アイコン（Font Awesomeアイコンと視覚的に同サイズに揃える） */
.feature-badge-img {
    width: 2.8rem;
    height: 2.8rem;
    object-fit: contain;
    margin: 0 auto 0.6rem;
    display: block;
}

.feature-badge span {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
}

.intro-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

/* コート種類 */
.court-types {
    background: #f8f9fa;
    padding: 6rem 0;
}

.court-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.court-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.court-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.court-image {
    height: 250px;
    overflow: hidden;
}

.court-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.court-card:hover .court-image img {
    transform: scale(1.1);
}

.court-content {
    padding: 2rem;
}

.court-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.court-content h3 i {
    color: #2C5F2D;
}

.court-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.court-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.court-specs li {
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.court-specs li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2C5F2D;
    font-size: 1.5rem;
    line-height: 1;
}

.court-specs strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* 料金表 */
.pricing {
    padding: 6rem 0;
}

.pricing-tables {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: center;
}

.pricing-table {
    width: 100%;
    max-width: 1000px;
}

.pricing-table h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rental-fees-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.rental-fees-heading:first-of-type {
    margin-top: 0;
}

.pricing .fees-table-wrap {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-table-note {
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #e74c3c;
    font-weight: 600;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    table-layout: auto;
}

.pricing-table thead {
    background: linear-gradient(135deg, #2C5F2D 0%, #1a3f1b 100%);
    color: white;
}

.pricing-table th {
    padding: 1rem 0.8rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
    border-right: 1px solid rgba(255,255,255,0.2);
    white-space: nowrap;
}

.pricing-table thead tr:first-child th {
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.pricing-table th:last-child {
    border-right: none;
}

.pricing-table td {
    padding: 0.9rem 0.7rem;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #f0f0f0;
    color: #666;
    text-align: center;
    white-space: nowrap;
    font-size: 0.95rem;
}

.pricing-table td:last-child {
    border-right: none;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: transparent;
}

.court-type-cell {
    background: transparent !important;
    font-weight: 600;
    color: #2C5F2D !important;
}

/* 時間表 */
.time-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.time-table-wrapper + .pricing-notes {
    margin-top: 0;
}

.time-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.time-table thead {
    background: linear-gradient(135deg, #2C5F2D 0%, #1a3f1b 100%);
    color: white;
}

.time-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    font-weight: 600;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.time-table th:last-child {
    border-right: none;
}

.time-table td {
    padding: 1.2rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #f0f0f0;
    text-align: center;
}

.time-table td:last-child {
    border-right: none;
}

.time-table tbody tr:last-child td {
    border-bottom: none;
}

.time-label {
    background: transparent !important;
    font-weight: 600;
    color: #2C5F2D !important;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: transparent;
}

.pricing-notes {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #2C5F2D;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-notes.white-bg {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.pricing-notes h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.pricing-notes ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.pricing-notes li {
    color: #666;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.8;
}

.pricing-notes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2C5F2D;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 利用の流れ */
.usage-flow {
    background: #f8f9fa;
    padding: 6rem 0;
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    flex: 0 0 200px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -6px;
    /* アイコン(100px)はflow-step(200px)内で中央配置。
       アイコン左端=50px。番号をアイコンの左上の縁に重ねる */
    left: 38px;
    width: 40px;
    height: 40px;
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 2;
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.step-icon i {
    font-size: 2.5rem;
    color: #2C5F2D;
}

.flow-step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.flow-step p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 2rem;
    color: #2C5F2D;
    flex: 0 0 auto;
    margin-top: 35px;
}

/* 予約CTA */
.reservation-cta {
    background: linear-gradient(135deg, #2C5F2D 0%, #1a3f1b 100%);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* ステップアップフロー図（テニスページ用） */
.stepup-flow {
    background: #f8f9fa;
    padding: 6rem 0;
}

.flow-diagram {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.flow-level {
    margin-bottom: 3rem;
    position: relative;
}

.flow-level:last-child {
    margin-bottom: 0;
}

.level-box {
    padding: 2rem;
    background: linear-gradient(135deg, #2C5F2D 0%, #4a8f4c 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.3);
}

.level-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.level-box p {
    font-size: 0.95rem;
    opacity: 0.9;
}

.flow-branches {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.branch-box {
    padding: 1.5rem;
    background: white;
    border: 3px solid #2C5F2D;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.branch-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.branch-box h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 0.8rem;
}

.branch-box p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.flow-connector {
    text-align: center;
    margin: 1.5rem 0;
}

.flow-connector i {
    font-size: 2.5rem;
    color: #2C5F2D;
}

/* スクール紹介（テニス） */
.school-intro {
    padding: 6rem 0;
    background: white;
    text-align: center;
}

.intro-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.intro-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2C5F2D;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 600;
}

/* クラス紹介 */
.classes {
    padding: 6rem 0;
    background: #f8f9fa;
}

.class-section {
    margin-bottom: 5rem;
}

.class-section:last-child {
    margin-bottom: 0;
}

.class-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.class-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.class-header p {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.class-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

/* ジュニアテニススクール（4つのカード）を横並び */
.class-grid-center {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin: 0 auto;
}

.class-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #2C5F2D, #4a8f4c);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.class-level {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #2C5F2D;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.class-level.level-inter {
    background: #4a8f4c;
}

.class-level.level-mid {
    background: #FF6B35;
}

.class-level.level-adv {
    background: #d4481f;
}

.class-level.level-kids {
    background: #9b59b6;
}

.class-level.level-junior {
    background: #3498db;
}

.class-level.level-teen {
    background: #e74c3c;
}

.class-level.level-players {
    background: #f39c12;
}

.class-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.class-card--link:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.class-level.level-ikigai {
    background: #27ae60;
}

.class-level.level-beg {
    background: #1abc9c;
}

.class-level.level-doubles {
    background: #2980b9;
}

.class-level.level-singles {
    background: #8e44ad;
}

.class-level.level-ladies {
    background: #e91e8c;
}

.class-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.class-card > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.class-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.class-points li {
    color: #666;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.class-points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2C5F2D;
    font-weight: bold;
}

.players-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-box i {
    font-size: 2.5rem;
    color: #2C5F2D;
    margin-bottom: 1rem;
}

.feature-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: #666;
    font-size: 0.9rem;
}

.club-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

/* ステップアップフロー図強化 */
.level-kids-box {
    background: linear-gradient(135deg, #9b59b6 0%, #c39bd3 100%);
}

.level-junior-box {
    background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

.flow-branches .branch-box {
    position: relative;
    padding: 2rem 1.5rem;
}

.branch-icon {
    width: 70px;
    height: 70px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.branch-icon i {
    font-size: 2rem;
    color: #2C5F2D;
}

.branch-club {
    border-color: #e74c3c;
}

.branch-club .branch-icon {
    background: #ffe6e6;
}

.branch-club .branch-icon i {
    color: #e74c3c;
}

.branch-general {
    border-color: #3498db;
}

.branch-general .branch-icon {
    background: #e6f3ff;
}

.branch-general .branch-icon i {
    color: #3498db;
}

.branch-players {
    border-color: #FFB627;
}

.branch-players .branch-icon {
    background: #fff8e6;
}

.branch-players .branch-icon i {
    color: #FFB627;
}

.branch-detail {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f8f9fa;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* スケジュール */
.schedule {
    padding: 6rem 0;
    background: white;
}

.schedule-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.schedule-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.schedule-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-card > p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.schedule-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-card li {
    color: #666;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 8px;
    font-weight: 500;
}

.schedule-note {
    margin-top: 3rem;
    padding: 2rem;
    background: #e6f3ff;
    border-left: 4px solid #3498db;
    border-radius: 8px;
}

.schedule-note p {
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.schedule-note i {
    color: #3498db;
    font-size: 1.2rem;
}

.schedule-notes {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.schedule-notes li {
    padding: 0.5rem 0.9rem;
    background: #fffbea;
    border-left: 4px solid #f0c040;
    border-radius: 0 6px 6px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.65;
}

.schedule-notes li::before {
    content: '※ ';
    color: #c09010;
    font-weight: 700;
}

/* ========================================
   料金セクション
======================================== */
.school-fees {
    padding: 6rem 0;
    background: #f8f9fa;
}

.school-fees .container {
    max-width: 980px;
}

/* 料金テーブル */
.fees-table-wrap {
    overflow-x: auto;
    margin-bottom: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.97rem;
}

.fees-table thead tr {
    background: var(--primary-color, #2C5F2D);
    color: #fff;
}

.fees-table thead th {
    padding: 1rem 1.4rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.fees-table thead th:last-child {
    border-right: none;
}

.fees-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.fees-table tbody tr:nth-child(even) {
    background: #f6faf6;
}

.fees-table tbody tr:hover {
    background: #f0f7f0;
}

.fees-table tbody tr:nth-child(even):hover {
    background: #ecf5ec;
}

.fees-table tbody td {
    padding: 0.9rem 1.4rem;
    text-align: center;
    color: #444;
    border-right: 1px solid #eee;
}

.fees-table tbody td:last-child {
    border-right: none;
}

.fees-table tbody td:first-child {
    text-align: center;
}

.fees-category {
    background: transparent !important;
    font-weight: 600;
    color: #2C5F2D !important;
}

.pricing .fees-table tbody tr:nth-child(even),
.pricing .fees-table tbody tr:hover,
.pricing .fees-table tbody tr:nth-child(even):hover {
    background: transparent;
}

.fees-table .fee-price {
    font-weight: 700;
    color: #2C5F2D;
    font-size: 1.05rem;
}

.fees-note {
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    padding: 0.8rem 1.2rem;
    background: #fffbea;
    border-left: 4px solid #f0c040;
    border-radius: 0 8px 8px 0;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
}

.fees-note i {
    color: #f0a020;
    margin-right: 0.4rem;
}

/* 割引制度 */
.fees-discount {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.fees-discount h3,
.fees-rules h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.discount-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.discount-list li {
    padding: 0.9rem 1.2rem;
    background: #f6faf6;
    border-radius: 8px;
    border-left: 4px solid #2C5F2D;
    color: #444;
    font-size: 0.96rem;
    line-height: 1.7;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: baseline;
}

.discount-label {
    display: inline-block;
    background: #2C5F2D;
    color: #fff;
    border-radius: 4px;
    padding: 0.15rem 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* 休会・退会 */
.fees-rules {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.rules-block h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rules-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.rules-block ul li {
    padding-left: 1.1rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.75;
}

.rules-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2C5F2D;
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .intro-text h2 {
        font-size: 1.7rem;
    }

    .intro-text h3,
    .court-content h3,
    .pricing-table h3,
    .level-box h3,
    .class-header h3,
    .schedule-card h3,
    .private-info h3,
    .private-pricing h3 {
        font-size: 1.7rem;
    }

    .trial-content-box h2 {
        font-size: 1.7rem;
    }

    .fees-table-wrap,
    .pl-price-wrap {
        -webkit-overflow-scrolling: touch;
    }
    .fees-table {
        min-width: 580px;
    }
    .fees-table thead th {
        padding: 0.8rem 1rem;
        font-size: 0.88rem;
    }
    .fees-table tbody td {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .pl-price-table tbody td {
        white-space: nowrap;
    }
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .fees-discount,
    .fees-rules {
        padding: 1.8rem;
    }
}

/* スケジュールボタン */
.schedule-btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-width: 240px;
    padding: 0.9rem 2.2rem;
    background: var(--primary-color, #2C5F2D);
    color: #fff;
    border: 2px solid var(--primary-color, #2C5F2D);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.schedule-btn-link:hover {
    background: #1a3d1b;
    border-color: #1a3d1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(44,95,45,0.3);
}
.schedule-btn-link--outline {
    background: transparent;
    color: var(--primary-color, #2C5F2D);
}
.schedule-btn-link--outline:hover {
    background: var(--primary-color, #2C5F2D);
    color: #fff;
}
.schedule-btn-link--orange {
    background: var(--secondary-color, #FF6B35);
    border-color: var(--secondary-color, #FF6B35);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}
.schedule-btn-link--orange:hover {
    background: #e85a2a;
    border-color: #e85a2a;
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.schedule-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

@media (max-width: 480px) {
    .schedule-btns {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .schedule-btn-link {
        width: 100%;
        max-width: 320px;
    }
}

/* 年間予定 */
.annual-plan {
    padding: 6rem 0;
    background: #f8f9fa;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #2C5F2D;
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-date {
    text-align: right;
    padding: 1.5rem 2rem 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F2D;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
    padding: 1.5rem 0 1.5rem 2rem;
    justify-content: flex-start;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.timeline-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.7;
}

/* プライベートレッスン */
.private-lesson {
    padding: 6rem 0;
    background: #f8f9fa;
}

.private-lesson .container {
    max-width: 980px;
}

/* ---- プライベートレッスン新デザイン ---- */
.pl-lead {
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.pl-block {
    background: #fff;
    border: 1px solid #e8ede8;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.pl-block-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 2px solid #e0ede0;
    padding-bottom: 0.8rem;
}

/* 担当コーチ表 */
.pl-schedule-wrap {
    overflow-x: auto;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pl-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    background: #fff;
    min-width: 580px;
}

@media (max-width: 768px) {
    .pl-schedule-table {
        min-width: 700px;
    }
}

.pl-schedule-table thead tr {
    background: #2C5F2D;
    color: #fff;
}

.pl-schedule-table thead th {
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
    border-right: 1px solid rgba(255,255,255,0.4);
}

.pl-schedule-table thead th:last-child {
    border-right: none;
}

.pl-schedule-table tbody tr {
    border-bottom: 1px solid #eee;
}

.pl-schedule-table tbody tr.pl-row-alt {
    background: #f6faf6;
}

.pl-schedule-table tbody td {
    padding: 0.65rem 0.9rem;
    text-align: center;
    color: #444;
    vertical-align: middle;
    border-right: 1px solid #fff;
}

.pl-schedule-table tbody td:last-child {
    border-right: none;
}

.pl-schedule-table tbody td:empty {
    color: #ccc;
}

.pl-day {
    background: #2C5F2D !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.4) !important;
    width: 2.5rem;
}

.pl-time {
    white-space: nowrap;
    color: #2C5F2D !important;
    font-weight: 600;
    text-align: left !important;
    padding-left: 1rem !important;
    width: 8rem;
    min-width: 8rem;
}

/* 料金表 */
.pl-price-wrap {
    overflow-x: auto;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.pl-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.97rem;
    background: #fff;
    min-width: 400px;
}

.pl-price-table thead tr {
    background: #2C5F2D;
    color: #fff;
}

.pl-price-table thead th {
    padding: 0.85rem 1.2rem;
    text-align: center;
    font-weight: 600;
    white-space: nowrap;
}

.pl-price-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.pl-price-table tbody tr:hover {
    background: #f0f7f0;
}

.pl-price-table tbody tr.pl-row-alt {
    background: #f6faf6;
}

.pl-price-table tbody tr.pl-row-alt:hover {
    background: #ecf5ec;
}

.pl-capacity {
    font-weight: 700;
    color: #2C5F2D;
    text-align: center;
    padding: 0.8rem 1.2rem;
    background: #f0f7f0;
    border-right: 1px solid #dde;
}

.pl-price {
    text-align: center;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    color: #333;
}

/* 注意事項 */
.pl-notes {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pl-notes li {
    padding: 0.5rem 0.9rem;
    background: #fffbea;
    border-left: 4px solid #f0c040;
    border-radius: 0 6px 6px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.65;
}

.pl-notes li::before {
    content: '※ ';
    color: #c09010;
    font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .pl-block {
        padding: 1.6rem;
    }
    .pl-schedule-table,
    .pl-price-table {
        font-size: 0.85rem;
    }
    /* 担当コーチ列：1行に収まるよう折り返し禁止＋最小幅を確保 */
    .pl-schedule-table tbody td:not(.pl-time):not(.pl-day) {
        white-space: nowrap;
        min-width: 5.5rem;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
    /* 空セルは幅を詰める */
    .pl-schedule-table tbody td:not(.pl-time):not(.pl-day):empty {
        min-width: 1rem;
        padding-left: 0;
        padding-right: 0;
    }
    
    /* レンタルコート料金表：スマホでは横スクロール */
    .pricing-table {
        max-width: 100%;
    }
    
    .pricing-table table {
        font-size: 0.85rem;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 0.7rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .time-table {
        font-size: 0.88rem;
    }
    
    .time-table th,
    .time-table td {
        padding: 0.9rem 0.6rem;
    }
}

.private-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.private-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
}

.private-info > p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.private-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.private-pricing {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.private-pricing h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-align: center;
}

.price-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    background: white;
    border-radius: 8px;
}

.price-row .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C5F2D;
    font-family: 'Montserrat', sans-serif;
}

.price-note {
    margin-top: 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* テニスクラブ会員 */
.club-member {
    padding: 6rem 0;
    background: white;
}

.member-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.member-intro p {
    color: #666;
    line-height: 1.9;
    font-size: 1.05rem;
}

.member-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.benefit-card i {
    font-size: 3rem;
    color: #2C5F2D;
    margin-bottom: 1.5rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.7;
    font-size: 0.95rem;
}

.club-member-cta {
    text-align: center;
    margin-top: 3rem;
}

.member-cta {
    text-align: center;
}

/* 体験レッスンセクション */
.trial-section {
    background: linear-gradient(135deg, #2C5F2D 0%, #1a3f1b 100%);
    padding: 5rem 0;
}

.trial-content-box {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.trial-content-box h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .trial-content-box h2 {
        font-size: 1.7rem;
    }
}

.trial-content-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.trial-content-box .trial-note {
    font-size: 1rem;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.85;
}

.trial-content-box .trial-note i {
    margin-right: 0.4rem;
}

.trial-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1.75rem 2rem;
    text-align: left;
}

.trial-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: white;
}

.trial-contact-item > i {
    font-size: 1.3rem;
    width: 28px;
    text-align: center;
    margin-top: 0.2rem;
    opacity: 0.9;
}

.trial-contact-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.75rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.trial-contact-label {
    font-weight: 700;
    min-width: 60px;
    opacity: 0.9;
}

.trial-contact-value {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: border-color 0.2s ease, opacity 0.2s ease;
}

.trial-contact-value[href^="tel"] {
    white-space: nowrap;
}

.trial-contact-value[href^="mailto"] {
    word-break: break-all;
}

.trial-contact-value:hover {
    border-bottom-color: white;
    opacity: 0.85;
}

.trial-contact-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.trial-contact-phone {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

@media (max-width: 600px) {
    .trial-contact {
        padding: 1.25rem 1.25rem;
    }
    .trial-contact-body {
        font-size: 0.98rem;
        flex-direction: column;
        gap: 0.2rem;
    }
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .rental-intro .intro-content,
    .pricing-tables,
    .private-content {
        grid-template-columns: 1fr;
    }
    
    .court-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-branches {
        grid-template-columns: 1fr;
    }
    
    .class-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .class-grid-center {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .players-features,
    .member-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
        margin-top: 80px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .court-grid,
    .class-grid,
    .class-grid-center,
    .players-features,
    .private-features,
    .member-benefits,
    .schedule-info,
    .club-info,
    .intro-stats {
        grid-template-columns: 1fr;
    }

    /* レンタルコート：バッジは横3列を維持し、画像はバッジの下へ */
    .rental-intro .intro-content {
        align-items: start;
        gap: 2rem;
    }

    .rental-intro .intro-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
        margin-top: 2rem;
    }

    .rental-intro .feature-badge {
        padding: 1.2rem 0.5rem;
    }

    .rental-intro .feature-badge i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .rental-intro .feature-badge-img {
        width: 2.2rem;
        height: 2.2rem;
    }

    .rental-intro .feature-badge span {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .rental-intro .intro-image img {
        height: auto;
        max-height: 320px;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    /* レスポンシブ時：幅を固定してアイコンと番号の位置関係を安定させる */
    .flow-step {
        flex: 0 0 auto;
        width: 200px;
        max-width: 100%;
    }

    .step-icon {
        margin-bottom: 0.8rem;
    }

    .flow-step h3 {
        margin-bottom: 0.4rem;
    }

    /* 番号アイコンをメインアイコン(100px・中央配置)の左上の縁に重ねる */
    .step-number {
        top: -6px;
        left: 38px;
    }

    .flow-arrow {
        transform: rotate(90deg);
        align-self: center;
        margin-top: 0;
        font-size: 1.5rem;
    }
    
    .flow-diagram {
        padding: 1.5rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 50px;
    }

    .philosophy-timeline .timeline-item {
        padding-left: 0;
    }
    
    .timeline-item:nth-child(even) {
        direction: ltr;
    }
    
    .timeline-date {
        text-align: left !important;
        padding: 0 !important;
        justify-content: flex-start !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   フットボール コーチ紹介（1名・横並びカード）
======================================== */
.coaches--football {
    background: white;
    padding: 6rem 0;
}

/* featured-card スタイルに準じたコーチカード */
.football-coach-card {
    background: var(--bg-white, #fff);
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    display: grid;
    grid-template-columns: 2fr 3fr;
    max-width: 860px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.football-coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.football-coach-img-wrap {
    position: relative;
    min-height: 350px;
    height: 100%;
    overflow: hidden;
    border-radius: 16px 0 0 16px;
}

.football-coach-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.football-coach-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.football-coach-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a3d1b;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.football-coach-license {
    font-size: 0.83rem;
    color: #2C5F2D;
    font-weight: 600;
    margin: 0.4rem 0 1.2rem;
    white-space: nowrap;
}

.football-coach-license i {
    margin-right: 0.35rem;
}

.football-coach-comment {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.9;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .football-coach-card {
        grid-template-columns: 1fr;
    }
    .football-coach-img-wrap {
        min-height: 300px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 600px) {
    .football-coach-body {
        padding: 2rem 1.4rem;
    }
    .football-coach-name {
        font-size: 1.4rem;
    }
    .football-coach-license {
        white-space: normal;
    }
}

/* ========================================
   コーチ紹介セクション（カルーセル）
======================================== */
.coaches {
    padding: 6rem 0;
    background: #f0f5f0;
    overflow: hidden;
}

.coaches .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.coaches-lead {
    text-align: center;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* カルーセルコンテナ */
.coach-carousel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4rem;
    /* overflow は設定しない：カードとボタンが見切れないよう */
}

.coach-carousel {
    overflow: hidden;
    border-radius: 12px;
    /* 上下に余白を取り影が見えるようにする */
    margin: -1.5rem 0;
    padding: 1.5rem 0;
}

.coach-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding-bottom: 1.5rem; /* 影が切れないよう下に余白 */
}

/* コーチカード：5枚ぴったり表示 */
.coach-card {
    flex: 0 0 calc((100% - 1.5rem * 4) / 5);
    min-width: 0;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.coach-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

/* 写真エリアラッパー：上部の白スペースをなくし影も出ない */
.coach-card-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: block;
    background: none;
}

.coach-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    background: none;
    margin-top: 0;
}

.coach-card-body {
    padding: 1rem 1rem 1.2rem;
}

.coach-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3d1b;
    text-align: center;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid #2C5F2D;
    padding-bottom: 0.5rem;
}

.coach-card-comment {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.65;
    text-align: left;
}

/* ナビゲーションボタン */
.coach-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #2C5F2D;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: none;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    line-height: 1;
}

.coach-nav-btn:hover,
.coach-nav-btn:active {
    background: #2C5F2D;
    color: white;
    transform: translateY(-50%);
}

.coach-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.coach-prev { left: -22px; }
.coach-next { right: -22px; }

/* ドットインジケーター */
.coach-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.coach-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
}

.coach-dot.active {
    background: #2C5F2D;
    transform: scale(1.3);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .coach-card {
        flex: 0 0 calc(25% - 1.125rem); /* 4枚 */
    }
}

@media (max-width: 768px) {
    .coach-carousel-wrapper {
        padding: 0 18px;
    }
    .coach-track {
        gap: 0.75rem;
    }
    .coach-card {
        flex: 0 0 100%;
        min-width: 0;
        transition: none;
    }
    .coach-card:hover {
        transform: none;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }
    .coach-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    .coach-prev { left: -8px; }
    .coach-next { right: -8px; }
}

/* ========================================
   フットボール アピールカード
======================================== */
.football-appeal-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.football-appeal-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #f0f7f0;
    border-radius: 16px;
    border: 1px solid #d4e8d4;
}

.football-appeal-card > i {
    font-size: 2.4rem;
    color: #2C5F2D;
    margin-bottom: 1rem;
}

.football-appeal-icons {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.football-appeal-icons i {
    font-size: 2.2rem;
    color: #2C5F2D;
}

.football-appeal-icon-img {
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.football-appeal-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a3d1b;
    margin-bottom: 0.8rem;
}

.football-appeal-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 600px) {
    .football-appeal-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .football-appeal-card {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   ファイルモーダル（PDF/画像ビューア）
======================================== */
.file-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.file-modal-overlay.is-open {
    display: flex;
}

.file-modal-close {
    position: fixed;
    top: 15px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10001;
    line-height: 1;
    transition: transform 0.2s ease;
}

.file-modal-close:hover {
    transform: scale(1.2);
}

.file-modal-content {
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.file-modal-item {
    margin-bottom: 1.5rem;
}

.file-modal-item:last-child {
    margin-bottom: 0;
}

.file-modal-item iframe {
    width: 100%;
    height: 80vh;
    border: none;
    border-radius: 4px;
    background: #fff;
}

.file-modal-item img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .file-modal-content {
        width: 96vw;
        max-height: 88vh;
    }

    .file-modal-close {
        top: 8px;
        right: 10px;
    }

    .file-modal-item iframe {
        height: 60vh;
    }
}