@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* ベース設定 */
:root {
    --primary-color: #4CAF50;
    /* 緑 */
    --primary-hover: #388E3C;
    --secondary-color: #2E7D32;
    /* 濃い緑 */
    --text-color: #333333;
    --text-light: #555555;
    --bg-light: #E8F5E9;
    /* 淡い緑 */
    --base-bg: #F1F8E9;
    /* 全体の背景色（さらに淡い緑） */
    --white: #ffffff;
}

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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--base-bg);
    padding-top: 60px;
    /* ナビゲーション分の余白 */
}

a {
    text-decoration: none;
}

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

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 40px;
    line-height: 1.4;
}

.nowrap {
    white-space: nowrap;
    display: inline-block;
}

.inline-block {
    display: inline-block;
}

.marker {
    background: linear-gradient(transparent 60%, rgba(139, 195, 74, 0.4) 0%);
    padding: 0 5px;
}

/* ボタン共通スタイル */
.btn {
    display: inline-block;
    text-align: center;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-large {
    padding: 20px 40px;
    font-size: 20px;
    width: 100%;
    max-width: 400px;
}

/* ファーストビュー (Hero) */
.hero {
    position: relative;
    height: calc(100vh - 60px);
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* 少し透かして風景を見せる */
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 800px;
}

.hero-content .badge {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-badge {
    font-size: 20px;
    padding: 12px 24px;
}



.hero-content h1 {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content h1 .nowrap {
    font-size: clamp(16px, 4.5vw, 42px);
}

.hero-content h1 .highlight {
    color: #e74c3c;
    font-size: 1.2em;
    border-bottom: 4px solid #f1c40f;
}

.hero-content .area-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
}

.hero-cta .micro-copy {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* 悩みセクション */
.trouble {
    background-color: var(--base-bg);
}

.trouble-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto 40px;
}

.trouble-list li {
    background-color: #f8f9fa;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    font-size: 16px;
    display: flex;
    align-items: flex-start; /* Start from top for multi-line text */
    border-left: 5px solid #bdc3c7;
}

.trouble-text {
    flex: 1;
    line-height: 1.6;
}

.trouble-list .check-icon {
    color: #e74c3c;
    font-weight: bold;
    margin-right: 15px;
    font-size: 20px;
}

.trouble-solution {
    text-align: center;
    font-size: 22px;
    color: var(--primary-color);
    background-color: #fff3e0;
    padding: 30px;
    border-radius: 10px;
    border: 2px dashed var(--primary-color);
}

/* USP（選ばれる理由）セクション */
.usp-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--secondary-color);
    position: relative;
}

.usp-number {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 18px;
}

.usp-content h3 {
    font-size: 22px;
    color: var(--text-color);
    margin: 20px 0 15px;
    line-height: 1.4;
}

.usp-content p {
    color: var(--text-light);
}

/* スケジュール（1日の流れ） */
.schedule-timeline {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

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

.timeline-item .time {
    flex: 0 0 110px;
    width: 110px;
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 18px;
    position: relative;
    padding-left: 45px;
    box-sizing: border-box;
}

.timeline-item .time::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 12px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item .content {
    flex: 1;
    background-color: var(--white);
    padding: 30px; /* 余白を広く */
    border-radius: 12px; /* 少し丸みを強調 */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* 影を柔らかく */
    border-left: 6px solid var(--secondary-color); /* 左の線を少し太く */
    display: flex;
    gap: 30px; /* 画像とテキストの間隔を広く */
    align-items: center;
}

.timeline-img {
    width: 160px; /* 画像を少し大きく */
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.content-text {
    flex: 1;
}

.timeline-item .content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.timeline-item .content p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 10px;
}

.special-events {
    list-style: none;
    margin-top: 10px;
}

.special-events li {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.special-events .badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
    white-space: nowrap;
}

.badge-mon { background-color: #f39c12; }
.badge-wed { background-color: #3498db; }
.badge-fri { background-color: #e74c3c; }

/* 年間イベント情報 */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.event-card {
    background-color: var(--white);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.event-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.event-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card .month {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 2px dashed #bdc3c7;
    padding-bottom: 5px;
}

.event-card h4 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.event-card p {
    font-size: 14px;
    color: var(--text-light);
    background-color: #fef9e7;
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

/* お客様の声 */
.notice {
    text-align: center;
    color: red;
    margin-bottom: 20px;
    font-size: 14px;
}

.voice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.voice-card {
    background-color: #e8f6f3;
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.voice-card::before {
    content: "“";
    font-size: 60px;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.voice-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--secondary-color);
}

/* ご利用案内・料金テーブル */
.info-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.info-table th,
.info-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    background-color: #f7fcf8;
    color: var(--secondary-color);
    font-weight: bold;
    width: 30%;
    vertical-align: top;
    font-size: 16px;
    border-right: 1px dashed #ddd;
}

.info-table td {
    color: var(--text-color);
    line-height: 1.8;
}

.info-table td strong {
    color: #e67e22; /* オレンジ系のアクセントカラー */
}

.info-table td .note {
    font-size: 13px;
    color: var(--text-light);
}

.info-table td .highlight-text {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 10px;
    background-color: #ffeaa7;
    color: #d35400;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
}

.note-list {
    list-style: none;
    margin-top: 8px;
    padding: 0;
}

.note-list li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 4px;
}

/* FAQ（アコーディオン） */
.accordion-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: var(--white);
    border: none;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    outline: none;
}

.accordion-header::after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary-color);
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: translateY(-50%) rotate(180deg);
}

.accordion-content {
    background-color: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding: 20px;
    color: var(--text-light);
}

/* 新コンタクトセクション */
.contact-desc {
    text-align: center;
    margin-bottom: 40px;
}

.contact-action {
    text-align: center;
    margin: 0 auto;
    max-width: 600px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-link-btn {
    display: block;
    width: 100%;
    margin: 20px auto;
    padding: 25px 20px;
    font-size: 22px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* スポーツクラブ案内 */
.sports-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.sports-philosophy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.philosophy-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.philosophy-content {
    padding: 30px;
}

.philosophy-card h3 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.philosophy-card p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

.sports-info.info-table-wrapper {
    border-top: 5px solid #e67e22; /* 料金テーブルと区別するためのアクセント */
    margin-top: 20px;
}

/* フッター */
.footer {
    background-color: #2c3e50;
    color: var(--white);
    text-align: center;
    padding: 40px 0;
    /* スティッキーCTA分の余白を下部に空ける */
    padding-bottom: 100px;
}

.footer .copyright {
    font-size: 14px;
    margin-top: 10px;
    color: #95a5a6;
}

/* スティッキーCTA（スマホ用追従ボタン） */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta .btn {
    width: 100%;
    max-width: 400px;
    padding: 15px;
    font-size: 18px;
}

/* グローバルナビゲーション */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--white);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    border-radius: 4px;
}

.nav-logo-text {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Yu Rounded', 'TsukuARdGothic-Regular', 'Arial Rounded MT Bold', sans-serif;
    color: var(--secondary-color);
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1.3;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9998;
}

.nav-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu li {
    margin-bottom: 15px;
    text-align: center;
}

.nav-menu .nav-link {
    color: var(--text-color);
    font-weight: bold;
    font-size: 15px;
    display: block;
    padding: 10px;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu .nav-link:hover {
    color: var(--primary-color);
}

.nav-menu .nav-item-btn {
    margin-top: 10px;
}

.nav-btn {
    padding: 10px 30px;
    font-size: 14px;
}

/* ハンバーガーメニュー */
.hamburger {
    display: block;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2001;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(-50%) rotate(-45deg);
    /* Adjusted to center properly */
}

/* メディアクエリ（PC・タブレット向け調整） */
@media screen and (min-width: 768px) {
    .hero-content h1 {
        font-size: 48px;
    }

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

    /* PCではスティッキーCTAを非表示（または控えめに）する運用が一般的 */
    .sticky-cta {
        display: none;
    }

    .footer {
        padding-bottom: 40px;
    }

    /* PC用ナビゲーション */
    .hamburger {
        display: none;
    }

    .nav-container {
        padding: 0 40px;
        max-width: 1200px;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        align-items: center;
        background: transparent;
        width: auto;
        height: auto;
        box-shadow: none;
        padding: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        z-index: auto;
    }

    .nav-menu li {
        margin-bottom: 0;
        margin-left: 12px;
    }

    .nav-menu .nav-item-btn {
        margin-top: 0;
        margin-left: 15px;
    }

    .nav-menu .nav-link {
        padding: 5px 8px;
    }
}

/* スマホでの表示調整 */
@media screen and (max-width: 600px) {
    .nowrap {
        font-size: clamp(14px, 4.5vw, 24px);
    }

    .hero-content h1 {
        font-size: 24px; /* Reduced slightly for mobile */
    }

    .section-title {
        font-size: 22px; /* Reduced slightly for mobile */
    }

    .trouble-list li {
        font-size: 15px;
        padding: 15px;
        line-height: 1.4;
    }

    .trouble-text {
        text-align: left;
    }

    .btn-large {
        padding: 15px 10px;
        font-size: 18px;
        white-space: nowrap; /* Ensure button text stays on one line */
        max-width: 100%;
        display: inline-block;
    }

    .contact-link-btn {
        font-size: 18px;
        padding: 20px 10px;
    }

    .hero-badge {
        font-size: 16px;
        padding: 8px 16px;
    }

    .schedule-timeline::before {
        left: 15px;
    }

    .timeline-item {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .timeline-item .time {
        flex: none;
        width: 100%;
        padding-left: 45px;
        margin-bottom: 15px;
        font-size: 20px;
    }

    .timeline-item .time::before {
        left: 5px; /* Position dot on the vertical line */
    }

    .timeline-item .content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
        margin-left: 30px;
        border-left: none; /* Content box border might be redundant with the vertical line */
        border-top: 6px solid var(--secondary-color);
    }

    .timeline-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .sports-philosophy {
        grid-template-columns: 1fr;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
    }
    .info-table th {
        border-right: none;
        border-bottom: none;
        padding-bottom: 5px;
    }
    .info-table td {
        padding-top: 5px;
        padding-bottom: 25px;
        border-bottom: 1px solid #eee;
    }
    .info-table tr:last-child td {
        border-bottom: none;
    }

    .special-events li {
        font-size: 13px;
    }
}

/* インスタグラムリンク共通スタイル */
.insta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    gap: 12px;
}

.insta-text {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-color);
}

.insta-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); /* より正確なインスタグラデーション */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.insta-link:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.insta-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}