/* ========================================
   リセット＆ベーススタイル
======================================== */
.sp-only { display: none; }

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #2C5F2D;
    --primary-dark: #1a3f1b;
    --primary-light: #4a8f4c;
    --secondary-color: #FF6B35;
    --accent-color: #FFB627;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    
    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-heading: 'Montserrat', 'Noto Sans JP', sans-serif;
    
    /* スペーシング */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    
    /* トランジション */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

p {
    font-size: 1.0rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   カスタム テニスアイコン（テニスボール インラインSVG）
   <svg class="icon-tennis">...</svg> で使用。文字色（currentColor）を継承
======================================== */
.icon-tennis {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    flex-shrink: 0;
}

/* ドロップダウン/メニュー内のテニスアイコン幅をFont Awesomeと揃える */
.dropdown-menu a .icon-tennis,
.nav-list a .icon-tennis {
    width: 16px;
    height: 16px;
    color: var(--primary-color);
}

.dropdown-icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ========================================
   ヘッダー
======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .header {
        top: 46px;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0 0.8rem;
}

.logo a {
    display: block;
}

.logo h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    white-space: nowrap;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-list {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    line-height: 1;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

/* ========================================
   ドロップダウンメニュー
======================================== */
.nav-list li.has-dropdown {
    position: relative;
}

.nav-list li.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-list li.has-dropdown > a .dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

@media (hover: hover) and (pointer: fine) {
    .nav-list li.has-dropdown:hover > a .dropdown-arrow {
        transform: rotate(180deg);
    }
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    min-width: 180px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    transform: translateX(-50%) translateY(-6px);
    z-index: 200;
}

/* 親メニューとドロップダウンの隙間を埋める透明ブリッジ（ホバーが途切れないように） */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

/* 吹き出し三角 */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid white;
}

@media (hover: hover) and (pointer: fine) {
    .nav-list li.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-menu a {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    color: var(--text-dark) !important;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.dropdown-menu a::after {
    display: none !important;
}

.dropdown-menu a:hover {
    background: #f0f8f0;
    color: var(--primary-color) !important;
}

.dropdown-menu a i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.3rem 0;
}

/* ========================================
   サブメニュー（フライアウト）スタイル
======================================== */
.dropdown-menu li.has-submenu {
    position: relative;
}

.dropdown-menu li.has-submenu > a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.dropdown-menu li.has-submenu > a .submenu-arrow {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.submenu {
    position: absolute;
    top: -0.5rem;
    left: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    min-width: 160px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
    transform: translateX(-6px);
    z-index: 300;
    list-style: none;
}

@media (hover: hover) and (pointer: fine) {
    .dropdown-menu li.has-submenu:hover .submenu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .dropdown-menu li.has-submenu:hover > a {
        background: #f0f8f0;
        color: var(--primary-color) !important;
    }

    .dropdown-menu li.has-submenu:hover > a .submenu-arrow {
        transform: rotate(180deg);
    }
}

.submenu li a {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    color: var(--text-dark) !important;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.submenu li a::after {
    display: none !important;
}

.submenu li a:hover {
    background: #f0f8f0;
    color: var(--primary-color) !important;
}

.submenu li a i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

/* ========================================
   ドロップダウン モバイル/タブレット対応
======================================== */
@media (max-width: 1024px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: #ffffff;
        display: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    /* モバイル：区切り線を1本に統一（二重線・太線をなくす）
       各項目に border-bottom 1px があるため、追加のdivider線は非表示 */
    .dropdown-divider {
        display: none;
    }

    .nav-list li.has-dropdown.sp-open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 0.8rem 1rem 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
    }

    .nav-list li.has-dropdown > a .dropdown-arrow {
        margin-left: auto;
    }

    /* モバイル：サブメニューをアコーディオン表示 */
    .submenu {
        position: static;
        transform: none !important;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: #ffffff;
        display: none;
        min-width: unset;
    }

    .dropdown-menu li.has-submenu.sp-submenu-open .submenu {
        display: block;
    }

    .submenu li a {
        padding: 0.8rem 1rem 0.8rem 3rem !important;
        font-size: 0.85rem !important;
    }

    .dropdown-menu li.has-submenu > a .submenu-arrow {
        margin-left: auto;
        transition: transform 0.3s ease;
    }

    /* アコーディオン：開いたときに矢印を回転 */
    .nav-list li.has-dropdown.sp-open > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li.has-submenu.sp-submenu-open > a .submenu-arrow {
        transform: rotate(180deg);
    }
}

.btn-trial-nav {
    background: var(--primary-color);
    color: var(--text-white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-trial-nav::after {
    display: none;
}

.btn-trial-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 会員予約ボタン（体験申込の右隣） */
.btn-yoyaku-nav {
    background: transparent;
    color: var(--primary-color) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-yoyaku-nav::after {
    display: none;
}

.btn-yoyaku-nav:hover {
    background: var(--primary-color);
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* メニュー展開時：ハンバーガーを✕に変形 */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   ヒーローセクション
======================================== */
section.hero,
.hero {
    position: relative;
    height: 560px;
    min-height: 560px;
    margin-top: 80px;
    padding: 0;
    overflow: hidden;
}

.admin-bar .hero {
    margin-top: 112px;
}

@media (max-width: 782px) {
    .admin-bar .hero {
        margin-top: 126px;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        background-size: cover;
    }

    /* レスポンシブ用：SP専用画像はJSで切り替え */
    .hero-bg.hero-bg-1,
    .hero-bg.hero-bg-2,
    .hero-bg.hero-bg-3 { background-position: center top; background-size: 100% auto; }

    .hero .hero-overlay {
        background: linear-gradient(
            to bottom,
            transparent 25%,
            rgba(44, 95, 44, 0.15) 35%,
            rgba(44, 95, 44, 0.4) 42%,
            rgba(44, 95, 44, 0.7) 49%,
            rgba(44, 95, 44, 0.9) 54%,
            rgba(44, 95, 44, 1) 60%
        ) !important;
    }

    .hero-slide .container {
        padding-bottom: 15px;
    }

    .hero-content {
        height: auto;
        margin-top: auto;
        margin-bottom: 15%;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .container {
    height: 100%;
    display: flex;
    align-items: center;
}

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

/* PC用：各スライドの画像位置はカスタマイザーからインラインスタイルで設定 */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        105deg,
        rgba(44, 95, 44, 0.88) 0%,
        rgba(44, 95, 44, 0.82) 22.5%,
        rgba(44, 95, 44, 0.40) 35%,
        transparent 50%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 700px;
    color: var(--text-white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 80px;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--text-white);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--text-white);
    width: 40px;
    border-radius: 6px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-arrow-prev {
    left: 30px;
}

.hero-arrow-next {
    right: 30px;
}

/* ========================================
   ボタンスタイル
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-large--wide {
    padding-left: 4rem;
    padding-right: 4rem;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: #e85a2a;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--text-white);
    color: var(--primary-color);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--text-white);
}

.btn-program {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.7rem 1.8rem;
}

.btn-program:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   セクション共通スタイル
======================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-title.light {
    color: var(--text-white);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle.light {
    color: var(--accent-color);
}

/* ========================================
   クラブについて
======================================== */
.about {
    background: var(--bg-white);
}

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

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

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.about-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

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

/* ========================================
   スクール紹介
======================================== */
/* 3番目：薄グレー */
.programs {
    background: var(--bg-light);
}

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

.programs-school-grid {
    grid-template-columns: repeat(2, 1fr);
}

.partner-sports {
    background: var(--bg-white);
}

.partner-sports .programs-grid {
    grid-template-columns: repeat(3, 1fr);
}

.program-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.program-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.program-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.program-badge.badge-new {
    background: var(--accent-color);
    color: var(--text-dark);
}

.program-badge.badge-kids {
    background: #9b59b6;
}

.program-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

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

.program-icon-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.program-features {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.program-features i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.program-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* ========================================
   体験申込
======================================== */
.trial {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
}

.trial-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 800px;
    margin: 0 auto;
}

.trial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.trial-note {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0;
    padding-left: 0.2rem;
}

.trial-partner-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.trial-partner-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 182, 39, 0.5);
    padding-bottom: 0.1rem;
    transition: var(--transition);
}

.trial-partner-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.trial-partner-link i {
    font-size: 0.75rem;
}

.trial-benefits {
    display: grid;
    gap: 0.8rem; /* カードとお問い合わせフォームの間隔(.trial-wrapperのgap)と統一 */
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.benefit-item .icon-tennis {
    width: 2rem;
    height: 2rem;
    color: #FFB627; /* 道具不要アイコン（テニスボール）の色 */
    flex-shrink: 0;
}

.benefit-item .icon-tennis-img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.trial-form-container {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-row .form-group {
    margin-bottom: 0;
}

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

.required {
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    color: var(--text-dark);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

.form-group input[type="date"] {
    min-height: 3rem;
}

.form-group input[type="date"]:invalid {
    color: #999;
}

.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(44, 95, 45, 0.1);
}

.form-check-group {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: #fff8e6;
    border: 1px solid #f0c040;
    border-radius: 8px;
}

.form-check-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.form-check-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Contact Form 7 スタイル調整
======================================== */
.wpcf7-form p {
    margin: 0;
}

.wpcf7-form .form-group p {
    display: contents;
}

.wpcf7-form .form-group p br {
    display: none;
}

.wpcf7-form .form-group {
    margin-bottom: 1.5rem;
}

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

.wpcf7-form-control-wrap {
    display: block;
}

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

.wpcf7-form .form-row .form-group {
    margin-bottom: 0;
}

.wpcf7-form .form-check-group {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    background: #fff8e6;
    border: 1px solid #f0c040;
    border-radius: 8px;
}

.wpcf7-form .form-check-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

.wpcf7-form .form-check-group .wpcf7-list-item {
    margin: 0;
}

.wpcf7-form .form-check-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    color: var(--text-dark);
    box-sizing: border-box;
}

.wpcf7-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

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

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

.wpcf7-form .wpcf7-not-valid {
    border-color: var(--secondary-color) !important;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.wpcf7-response-output,
.wpcf7 form .wpcf7-response-output,
.wpcf7-form .wpcf7-response-output,
div.wpcf7-response-output {
    display: none !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin: 0 !important;
    text-align: center;
    font-size: 0.95rem;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output {
    display: block !important;
    border: 2px solid var(--secondary-color) !important;
    color: var(--secondary-color);
    background: #fff5f0;
    margin: 0 !important;
}

.trial-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.trial-modal-overlay.active {
    display: flex;
}

.trial-modal {
    background: #fff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.trial-modal-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.trial-modal-icon i {
    font-size: 2rem;
    color: #fff;
}

.trial-modal h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.trial-modal p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.trial-modal-close {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.trial-modal-close:hover {
    opacity: 0.85;
}

.wpcf7-form .wpcf7-submit {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1.1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.wpcf7-form .wpcf7-submit:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.submit-btn-wrap {
    position: relative;
}

.submit-btn-wrap p {
    margin: 0;
    display: contents;
}

.submit-btn-wrap p br {
    display: none;
}

.submit-btn-icon {
    display: none;
}

.wpcf7-form .wpcf7-submit:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem 0;
    }
}

.wpcf7-form .form-check-group label {
    color: var(--text-dark);
}

.wpcf7-form .form-check-group .wpcf7-form-control-wrap {
    display: inline;
}

/* ========================================
   お知らせ
======================================== */
.news {
    background: var(--bg-white);
}

/* お知らせ0件時の空状態 */
.news-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.news-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.news-empty-icon i {
    font-size: 2rem;
    color: var(--text-light);
}

.news-empty-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.news-empty-sub {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.news-empty-page {
    padding: 6rem 2rem;
}

.news-empty-btn {
    margin-top: 2rem;
}

.news-content {
    display: grid;
    gap: 3rem;
}

.news-featured {
    margin-bottom: 2rem;
}

.featured-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.news-item {
    text-decoration: none;
    color: inherit;
}

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

.featured-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

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

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

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-date i {
    margin-right: 0.3rem;
}

.news-category {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-campaign {
    background: rgb(255, 230, 230);
    color: #FF6B35;
}

.category-event {
    background: rgb(230, 243, 255);
    color: rgb(33, 150, 243);
}

.category-info {
    background: rgb(240, 240, 240);
    color: #666;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.featured-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.btn-read-more:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

.news-list {
    display: grid;
    gap: 1rem;
}

.news-item {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 0 1rem;
    transition: var(--transition);
}

.news-item-meta {
    display: contents;
}

.news-item .news-date {
    white-space: nowrap;
}

.news-item .news-category {
    width: 8em;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
}

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

.news-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
}

.news-title a {
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-footer {
    text-align: center;
    margin-top: 3rem;
}

.news-footer .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.news-footer .btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 95, 45, 0.3);
}

/* ========================================
   カルチャー・コミュニティ
======================================== */
.community {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
}

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

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

/* 部活支援カード */
.club-support-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-bottom: 3rem;
    transition: var(--transition);
}

.club-support-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.club-support-image {
    position: relative;
    min-height: 280px;
    height: 100%;
}

.club-support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.club-support-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: #fff;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.club-support-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.club-support-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.club-support-desc {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .club-support-card {
        grid-template-columns: 1fr;
    }
    .club-support-image {
        min-height: 260px;
    }
}

@media (max-width: 600px) {
    .club-support-content {
        padding: 2rem 1.4rem;
    }
    .club-support-title {
        font-size: 1.4rem;
    }
}

/* ===== 案A：モバイル時に部活支援を主役化 ===== */
@media (max-width: 768px) {

    /* --- イントロ文：トーンダウン --- */
    .community-intro {
        margin-bottom: 2.5rem;
    }
    .community-intro p {
        font-size: 0.92rem;
        line-height: 1.8;
        color: var(--text-light);
        opacity: 0.85;
    }

    /* --- 部活支援カード：主役として強調 --- */
    .club-support-card {
        margin-bottom: 2.5rem;
        box-shadow: var(--shadow-lg);   /* 影を強めて浮き立たせる */
    }
    .club-support-image {
        min-height: 220px;
    }
    .club-support-title {
        font-size: 1.5rem;
    }
    .club-support-desc {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    /* --- イベントグリッド：脇役としてコンパクト化 --- */
    .events-grid {
        grid-template-columns: repeat(2, 1fr); /* 4列 → 2列 */
        gap: 0.8rem;
    }
    .event-card {
        padding: 1.2rem 0.9rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); /* 影を弱く */
    }
    .event-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 0.8rem;
    }
    .event-icon i {
        font-size: 1.2rem;
    }
    .event-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    .event-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    /* 脇役なのでホバーの動きも控えめに */
    .event-card:hover {
        transform: translateY(-4px);
    }
}

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

.event-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.event-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.event-card:hover .event-icon {
    transform: scale(1.1) rotate(5deg);
}

.event-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

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

.event-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========================================
   Instagram
======================================== */
/* ========================================
   SNS
======================================== */
.sns-section {
    background: var(--bg-light);
    padding: var(--spacing-xl) 0;
}

.sns-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 2.5rem;
}

.sns-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.sns-icon-link i {
    font-size: 3.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
}

/* YouTubeアイコン専用ラッパー：横長のアイコンを視覚的に同サイズに揃える */
.sns-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-icon-box i {
    font-size: 4.8rem;
    transition: var(--transition);
    width: auto;
    height: auto;
}

.sns-icon-link span {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}


/* SNS アイコン：画像ロゴスタイル */
.sns-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem; /* アイコンと名前の間隔を狭める */
    text-decoration: none;
    transition: var(--transition);
}

/* ロゴ画像を固定高さの枠で囲み、中央揃えにすることで文字の高さを統一 */
.sns-logo-box {
    height: 4.2rem; /* 全SNSで共通の枠の高さ */
    display: flex;
    align-items: center;
    justify-content: center;
}

.sns-logo-img {
    width: auto;
    height: 3.5rem;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
}

/* YouTube：少し大きく */
.sns-youtube .sns-logo-img {
    height: 4.2rem;
}

/* X：少し小さく */
.sns-x .sns-logo-img {
    height: 2.8rem;
}

/* 各SNSの文字色 */
.sns-facebook span { color: #1877F2; }
.sns-youtube span  { color: #FF0000; }
.sns-x span        { color: #000000; }
.sns-instagram span { color: #C13584; }

.sns-icon-link:hover .sns-logo-img {
    opacity: 0.75;
    transform: translateY(-4px);
}

.sns-icon-link:hover {
    transform: translateY(-6px);
}

/* SNS セクション：レスポンシブ対応 */
@media (max-width: 768px) {
    .sns-icons {
        gap: 1.5rem 2rem; /* 行間・列間 */
        padding: 0 1rem;
    }
    .sns-logo-box {
        height: 3.6rem;
    }
    .sns-logo-img {
        height: 3rem;
    }
    .sns-youtube .sns-logo-img {
        height: 3.6rem;
    }
    .sns-x .sns-logo-img {
        height: 2.4rem;
    }
    .sns-icon-link span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* 4アイコンを2列×2行に整列。各列の幅を揃えて文字の見切れを防止 */
    .sns-icons {
        gap: 1.8rem 0;
    }
    .sns-icon-link {
        width: 50%;
    }
    .sns-logo-box {
        height: 3.2rem;
    }
    .sns-logo-img {
        height: 2.6rem;
    }
    .sns-youtube .sns-logo-img {
        height: 3.2rem;
    }
    .sns-x .sns-logo-img {
        height: 2.1rem;
    }
    .sns-icon-link span {
        font-size: 0.8rem;
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6 - 1.5rem * 6));
    }
}

/* ========================================
   アクセス
======================================== */
/* 9番目：白 */
.access {
    background: var(--bg-white);
}

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

.access-info-left,
.access-info-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-block h3 i {
    font-size: 1.5rem;
}

.info-block p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 0.8rem;
}

.info-block strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* アクセス：電車・バス経路リスト */
.access-route-list {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.access-route-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.access-route-list li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.facility-list {
    display: grid;
    gap: 0.8rem;
}

.facility-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
}

.facility-list i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.access-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
}

/* ========================================
   フッター
======================================== */
.footer {
    background: var(--text-dark);
    color: var(--text-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: transparent;
    transform: translateY(-3px);
    opacity: 0.75;
}

.footer-sns-img {
    object-fit: contain;
}

/* Facebook: 基準サイズ */
.footer-sns-facebook {
    width: 28px;
    height: 28px;
}

/* Instagram: 高さをFacebookに揃える */
.footer-sns-instagram {
    width: auto;
    height: 28px;
}

/* YouTube: 高さをFacebookに揃え、幅は自動 */
.footer-sns-youtube {
    width: auto;
    height: 34px;
}

/* X: 高さをFacebookに揃える */
.footer-sns-x {
    width: auto;
    height: 28px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   トップに戻るボタン
======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ========================================
   レスポンシブデザイン
======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-content,
    .access-content,
    .featured-card {
        grid-template-columns: 1fr;
    }

    .about-content .about-image {
        order: -1;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* タブレット/モバイル：ハンバーガーメニュー表示 */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1100;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--bg-white);
        transition: right 0.35s ease;
        box-shadow: var(--shadow-md);
        overflow-y: auto;
        z-index: 900;
        padding-top: 90px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 1rem 1.2rem 2rem;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    /* ドロップダウン/サブメニュー内のli：区切り線を1本の1pxで統一（二重線・太線をなくす） */
    .dropdown-menu li,
    .submenu li {
        border-bottom: 1px solid var(--border-color);
    }

    /* ドロップダウン・サブメニューの最後の項目：親のliの線と重ならないよう下線を消す */
    .dropdown-menu > li:last-child,
    .submenu li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 0;
    }
    
    /* 体験申込・会員予約ボタンを含むli：下線を削除 */
    .nav-list li:has(.btn-trial-nav),
    .nav-list li:has(.btn-yoyaku-nav) {
        border-bottom: none;
    }

    .btn-trial-nav,
    .btn-yoyaku-nav {
        border-radius: 50px;
        text-align: center;
    }

    .btn-trial-nav {
        margin-top: 1rem;
    }

    .btn-yoyaku-nav {
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 72px;
        --spacing-lg: 72px;
    }

    section.hero,
    .hero {
        margin-top: 80px;
        padding: 0;
        height: 115vw;
        min-height: unset;
    }

    .hero-content {
        height: auto;
        justify-content: flex-end;
    }

    .hero-title {
        font-size: 1.7rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
        text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }

    .hero-buttons {
        flex-direction: row;
        width: auto;
    }

    .hero-buttons .btn {
        width: auto;
        font-size: 0.8rem;
        padding: 0.6rem 1.3rem;
    }

    .hero-indicators {
        bottom: 30px;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-arrow-prev {
        left: 15px;
    }
    
    .hero-arrow-next {
        right: 15px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }

    .about-text h3,
    .event-card h3,
    .info-block h3 {
        font-size: 1.7rem;
    }

    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partner-sports .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 1.5rem;
    }
    
    .about-more-btn {
        display: flex;
        justify-content: center;
    }

    .featured-image {
        min-height: 250px;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }
    
    .news-item {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
    }

    .news-item-meta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .footer-content .footer-col:first-child {
        display: contents;
    }

    .footer-content .footer-col:first-child h3,
    .footer-content .footer-col:first-child p {
        order: -1;
    }

    .footer-content .social-links {
        order: 99;
    }
    
    .access-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .access-map {
        position: static;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    section {
        padding: 72px 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 0.95rem;
        white-space: nowrap;
    }
    
    .logo-sub {
        font-size: 0.6rem;
        white-space: nowrap;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-description {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }
    
    .trial-form-container {
        padding: 1.5rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-school-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-sports .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .sp-only { display: inline; }

    .instagram-item {
        flex: 0 0 250px;
    }
    
    .instagram-image {
        width: 250px;
        height: 250px;
    }
    
    section {
        padding: 72px 0;
    }

}