/* =============================================
   ページヘッダー
   ============================================= */
.page-header {
    position: relative;
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    margin-top: 70px;
}

/* Soccer Foundationロゴ専用スタイル */
.school-logo-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.foundation-logo-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 白背景に溶け込むようドロップシャドウを削除 */
}

.school-tagline {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 1rem;
}

/* School page用の白背景ヘッダー */
body.school-page .page-header {
    background: #FFFFFF;
    color: var(--text-dark);
}

body.school-page .page-header::before {
    display: none;
}

body.school-page .page-header-overlay {
    display: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 51px),
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,0.05) 50px, rgba(255,255,255,0.05) 51px);
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.2), transparent 50%);
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.page-subtitle {
    display: block;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 3px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.page-header p {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    opacity: 0.95;
}

/* =============================================
   セクションコンテンツ
   ============================================= */
.section-content {
    padding: 5rem 0;
}

.intro-box {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 2rem;
}

.intro-box h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.intro-box p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-light);
}

.concept-background {
    margin-top: 2.5rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.concept-background h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.concept-background p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.concept-background p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
}

/* =============================================
   特徴セクション
   ============================================= */
.features-section {
    margin-bottom: 5rem;
}

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

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   対象年代ボックス
   ============================================= */
.target-age-box {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
    text-align: center;
    border: 3px solid var(--primary-color);
}

.target-age-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.age-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =============================================
   料金情報ボックス
   ============================================= */
.price-info-box {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.price-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.price-label {
    font-size: 1rem;
    opacity: 0.9;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.price-note {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 1rem;
}

/* =============================================
   クラス紹介
   ============================================= */
.classes-section {
    margin-bottom: 3rem;
}

.classes-list {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.class-card {
    position: relative;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.class-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateX(5px);
}

.class-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.class-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.info-item i {
    color: var(--primary-color);
}

.class-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   フォームセクション
   ============================================= */
.form-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-description {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.required-note {
    color: var(--error-color);
    font-size: 0.9rem;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    margin-top: 2rem;
}

/* =============================================
   大会カードグリッド
   ============================================= */
.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.tournament-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.tournament-body {
    padding: 2rem;
}

.tournament-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.tournament-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tournament-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.tournament-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.tournament-info-item i {
    color: var(--primary-color);
    width: 20px;
}

.tournament-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* =============================================
   商品グリッド
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 250px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.product-body {
    padding: 1.5rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* =============================================
   会社情報テーブル
   ============================================= */
.company-info-table {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
}

.company-info-table tr {
    border-bottom: 1px solid var(--border-color);
}

.company-info-table tr:last-child {
    border-bottom: none;
}

.company-info-table th {
    text-align: left;
    padding: 1.5rem;
    background-color: var(--bg-light);
    font-weight: 600;
    width: 200px;
}

.company-info-table td {
    padding: 1.5rem;
    color: var(--text-light);
}

/* =============================================
   連絡先情報セクション
   ============================================= */
.contact-info-section {
    margin-top: 5rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-method-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.contact-method-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-method-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.sub-text {
    font-size: 0.9rem !important;
    color: var(--text-light) !important;
    margin-top: 0.5rem;
}

/* =============================================
   ショップCTA
   ============================================= */
.shop-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
    color: white;
}

.shop-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.shop-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.shop-note {
    margin-top: 1rem;
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
}

/* =============================================
   大会ルール
   ============================================= */
.rules-section {
    margin-top: 4rem;
}

.rules-image-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

.rules-diagram {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.rules-diagram:hover {
    transform: scale(1.02);
}

.rules-content {
    max-width: 900px;
    margin: 0 auto;
}

.rule-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.rule-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.rule-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.rule-text h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rule-text p {
    color: var(--text-light);
    line-height: 1.8;
}

/* =============================================
   新着情報ページ
   ============================================= */
.news-filter {
    margin-bottom: 3rem;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.8rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.news-list-page {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination button {
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--border-color);
    background-color: white;
    color: var(--text-dark);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 45px;
}

.pagination button:hover:not(:disabled) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination button.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================
   アクセスセクション
   ============================================= */
.access-section {
    margin-top: 5rem;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.access-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.access-info h3 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.access-info p {
    color: var(--text-light);
    line-height: 1.9;
}

.access-map {
    display: flex;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.map-placeholder p {
    font-size: 1.1rem;
}

/* =============================================
   練習内容セクション
   ============================================= */
.training-content-section {
    margin-top: 5rem;
}

.training-overview {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: 15px;
}

.training-overview h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.training-schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 4rem;
}

.schedule-item {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.schedule-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.schedule-item.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.schedule-time {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.schedule-item.highlight .schedule-time {
    color: white;
}

.schedule-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.schedule-item.highlight h4,
.schedule-item.highlight p {
    color: white;
}

.training-elements {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2rem;
}

.training-elements h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.element-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 8px;
    font-weight: 500;
}

.element-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1.5rem;
}

.special-features {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.special-feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--primary-color);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.special-feature-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.point-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.point-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.point-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-text {
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

/* =============================================
   レスポンシブ対応
   ============================================= */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .foundation-logo-image {
        max-width: 90%;
    }
    
    .school-tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .class-info {
        flex-direction: column;
        gap: 1rem;
    }

    .company-info-table th {
        width: 120px;
        padding: 1rem;
    }

    .company-info-table td {
        padding: 1rem;
    }

    .access-content {
        grid-template-columns: 1fr;
    }

    .training-schedule {
        grid-template-columns: 1fr;
    }

    .elements-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   練習場所セクション
   ============================================= */
.location-section {
    background-color: var(--bg-light);
    padding: 3rem 0;
    border-radius: 15px;
}

.location-card {
    background-color: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: var(--shadow-lg);
}

.location-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 1.5rem;
}

.location-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-header h4 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.location-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.location-address {
    font-size: 1.1rem;
    color: var(--text-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.location-address i {
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.location-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.location-links .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .location-card {
        padding: 1.5rem;
    }
    
    .location-header h3 {
        font-size: 1.2rem;
    }
    
    .location-header h4 {
        font-size: 1.4rem;
    }
    
    .location-links {
        flex-direction: column;
    }
    
    .location-links .btn {
        width: 100%;
        justify-content: center;
    }
}
