/* ========================================
   基本設定・リセット
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #0B0B0D !important;
    color: #F2F2F2;
    line-height: 1.8;
}

/* WordPressデフォルトスタイルのリセット */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
    margin: 0 !important;
    padding: 0 !important;
}

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

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
    padding: 0;
}

/* ========================================
   ヘッダー
======================================== */
/* ------- 既存調整 ------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 11, 13, 0.95) !important;
    padding: 20px 40px;
    z-index: 1000;
    border-bottom: 1px solid #2A2A2E;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center; /* 追加すると縦中央に揃う */
}

/* ロゴ用クラスにしておくとわかりやすい */
.site-logo img {
    margin: 0;
    position: relative;
    left: 5px;
    top: 2px;
    width: 20%;
    height: auto;
}

.site-header nav {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    position: relative;
    right: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav li {
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav a {
    color: #F2F2F2;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: color 0.3s;
    display: block;
    padding: 0;
}

.main-nav a:hover {
    color: #C6A15B;
}

/* ------- ハンバーガーメニュー ------- */

/* PCでは非表示 */
.hamburger {
    display: none;
}

/* 中身3本線 */
.hamburger {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 24px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #F2F2F2;
    border-radius: 2px;
    transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}

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

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

/* 開いたときの×印アニメーション */
.hamburger.is-open span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

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

.hamburger.is-open span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* ------- スマホレイアウト ------- */

@media (max-width: 768px) {
    .site-header {
        padding: 10px 16px;
    }

    .site-logo img {
        width: 60px;  /* スマホは小さめに */
        left: 0;
        top: 0;
    }

    /* ハンバーガー表示 */
    .hamburger {
        display: block;
    }

    /* ナビは初期状態では非表示 */
    .main-nav {
        display: none;
        position: fixed;
        top: 60px;              /* ヘッダーの下から表示 */
        right: 0;
        left: 0;
        background-color: rgba(11, 11, 13, 0.98);
        padding: 24px 16px 40px;
    }

    .main-nav.is-open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .main-nav a {
        font-size: 16px;
        padding: 4px 0;
    }
}


/* ========================================
   共通ボタン
======================================== */
.btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: #C6A15B !important;
    color: #0B0B0D !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 2px;
    margin: 0 !important;
}

.btn:hover {
    background-color: #D1B279 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(198, 161, 91, 0.3);
    color: #0B0B0D !important;
}

.btn:focus {
    outline: none;
}

/* ========================================
   セクションタイトル
======================================== */
.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 80px;
    letter-spacing: 0.1em;
    color: #F2F2F2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: #C6A15B;
    margin: 30px auto 0;
}

/* ========================================
   フッター
======================================== */
.site-footer {
    background-color: #141418 !important;
    border-top: 1px solid #2A2A2E;
    padding: 40px 60px;
    text-align: center;
    color: #B9BCC2;
    font-size: 14px;
    margin: 0 !important;
}

.site-footer p {
    margin: 0 !important;
    text-align: center;
}

/* ========================================
   WordPressウィジェットのリセット
======================================== */
.widget {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.widget-title {
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
   レスポンシブ（ヘッダー・共通要素）
======================================== */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 30px;
    }

    .main-nav ul {
        gap: 20px;
        font-size: 12px;
    }

    .section-title {
        font-size: 32px;
    }

    .btn {
        padding: 15px 30px;
        font-size: 14px;
    }
}
/* ========================================
   FVセクション
======================================== */
.fv-section {
    position: relative;
    height: 100vh;
    background-image: url('../img/FV.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    margin: 0 !important;
    margin-top: 60px;
    overflow: hidden;
}



.fv-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.fv-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
    color: #F2F2F2;
}

.fv-content .subtitle {
    font-size: 18px;
    color: #B9BCC2;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    line-height: 1.6;
}

.trial-button {
    position: absolute;
    bottom: 60px;
    right: 60px;
    z-index: 3;
}
@media (max-width: 768px) {
    .fv-section {
        padding: 0 10px;
        background-size: contain;         /* ← 画像全体が入る */
        background-repeat: no-repeat;     /* ← 黒の余白を出さない */
        background-position: top center;  /* ← 上寄せで表示 */
        min-height: 600px;                /* ← 高さがゼロにならないよう保証 */
    }
}


/* ========================================
   Valueセクション
======================================== */
.value-section {
    padding: 120px 60px;
    background-color: #0B0B0D !important;
    margin: 0 !important;
}

.value-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    background-color: #141418 !important;
    padding: 50px 35px;
    border: 1px solid #2A2A2E;
    transition: all 0.3s;
    text-align: center;
    margin: 0 !important;
}

.value-card:hover {
    border-color: #C6A15B;
    transform: translateY(-5px);
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #C6A15B;
    letter-spacing: 0.1em;
}

.value-card p {
    color: #B9BCC2;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 !important;
    text-align: left;
}

.about-link {
    text-align: center;
    margin-top: 80px;
}

/* ========================================
   トレーナーセクション
======================================== */
.trainer-section {
    padding: 120px 60px;
    background-color: #141418 !important;
    margin: 0 !important;
}

.trainer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    justify-items: center;
}

.trainer-card {
    background-color: #0B0B0D !important;
    border: 1px solid #2A2A2E;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
    transition: all 0.3s;
    margin: 0 !important;
}

.trainer-card:hover {
    border-color: #C6A15B;
    transform: translateY(-5px);
}

.trainer-image {
    width: 100%;
    height: 400px;
    background-color: #2A2A2E;
    background-size: cover;
    background-position: center;
    display: block;
}

.trainer-info {
    padding: 30px;
}

.trainer-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #F2F2F2;
    letter-spacing: 0.05em;
}

.trainer-qualification {
    color: #C6A15B !important;
    font-size: 13px;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    display: block;
}

.trainer-info p {
    color: #B9BCC2;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 !important;
}

/* ========================================
   マップセクション
======================================== */
.map-section {
    padding: 120px 60px;
    background-color: #0B0B0D !important;
    margin: 0 !important;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    border: 1px solid #2A2A2E;
    background-color: #141418;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(92%) contrast(83%);
    border: none;
}

/* ========================================
   レスポンシブ（トップページ）
======================================== */
@media (max-width: 1024px) {
    .value-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .trainer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .fv-content h1 {
        font-size: 42px;
    }

    .fv-section {
        padding: 0 40px;
    }

    .trial-button {
        bottom: 40px;
        right: 40px;
    }
    .value-card h3 {
        font-size: 20px;
        margin-bottom: 25px;
        color: #C6A15B;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 768px) {
    .fv-section {
        padding: 0 30px;
        margin-top: 70px;
    }

    .fv-content h1 {
        font-size: 36px;
    }

    .fv-content .subtitle {
        font-size: 16px;
    }

    .trial-button {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        text-align: center;
    }

    .value-section,
    .trainer-section,
    .map-section {
        padding: 80px 30px;
    }

    .value-container {
        gap: 20px;
    }

    .trainer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .trainer-card {
        max-width: 100%;
    }

    .trainer-image {
        height: 300px;
    }

    .trainer-info {
        padding: 25px;
    }

    .trainer-info h3 {
        font-size: 20px;
    }

    .map-wrapper {
        height: 350px;
    }
}
@media (max-width: 768px) {
    .fv-section {
        /* 100vh固定だとスマホで不安定なのでautoにする */
        height: auto;
        min-height: calc(100vh - 70px);  /* ヘッダー分を引いた高さイメージ */
        padding: 100px 24px 60px;        /* 上に余白を多めにしてヘッダーを避ける */
        margin-top: 0;                   /* ここでのmargin-topは0に */
        background-position: center top; /* 上寄せで見せる */
        background-attachment: scroll;   /* スマホでfixedは不安定なのでオフ */
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .fv-content {
        max-width: 100%;
    }

    .fv-content h1 {
        font-size: 32px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .fv-content .subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .trial-button {
        position: static;      /* 絶対位置をやめて通常フローに */
        margin-top: 10px;
        text-align: center;
    }

    .trial-button .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* ========================================
   信念セクション
======================================== */
.belief-section {
    padding: 120px 60px;
    background-color: #0B0B0D !important;
    margin: 0 !important;
}

.belief-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.belief-card {
    text-align: center;
    transition: all 0.3s ease;
}

.belief-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #141418;
    border: 2px solid #2A2A2E;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.belief-icon svg {
    width: 50px;
    height: 50px;
}

.belief-card:hover .belief-icon {
    border-color: #C6A15B;
    background-color: rgba(198, 161, 91, 0.05);
    box-shadow: 0 0 20px rgba(198, 161, 91, 0.2);
}

.belief-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #F2F2F2;
    letter-spacing: 0.05em;
}

.belief-card p {
    font-size: 15px;
    color: #B9BCC2;
    line-height: 1.9;
    letter-spacing: 0.02em;
}
.mobile{
    display: none;
}
/* ========================================
   レスポンシブ（信念セクション）
======================================== */
@media (max-width: 1024px) {
    .belief-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .belief-section {
        padding: 80px 30px;
    }

    .belief-container {
        gap: 30px;
    }

    .belief-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 25px;
    }

    .belief-icon svg {
        width: 45px;
        height: 45px;
    }

    .belief-card h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .belief-card p {
        font-size: 14px;
    }
    .mobile{
        display: block;
    }
    .pc{
        display: none;
    }
}
@media (max-width: 768px) {

    /* ▼ FVセクション：文字の高さに合わせる */
    .fv-section {
        height: auto;              /* ← 100vhをやめる */
        min-height: 0;
        padding: 90px 20px 32px;   /* 上ヘッダー分＋少し余白 / 下は少なめ */
        margin-top: 0;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        background-size: cover;        /* 画像は画面いっぱいに */
        background-position: center;   /* 中心に寄せる（好みで top center でもOK） */
        background-attachment: scroll; /* スマホでfixedを無効 */
    }

    .fv-content {
        max-width: 100%;
    }

    .fv-content h1 {
        font-size: 28px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    .fv-content .subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* ▼ ボタンを通常フローにして下の余白を減らす */
    .trial-button {
        position: static;       /* 画面下固定をやめる */
        margin-top: 16px;
        text-align: center;
    }

    .trial-button .btn {
        width: 100%;
        max-width: 320px;
    }
}

