/* ============================================================
   G-NEXT トップページ
   Premium Golf Membership Site
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Cormorant+Garamond:wght@500;600;700&display=swap');

:root {
    --gnext-bg: #141414;
    --gnext-text: #e5e5e5;
    --gnext-text-sub: #787872;
    --gnext-green-deep: #1a3c28;
    --gnext-green: #2d5a3f;
    --gnext-green-mid: #3d7a55;
    --gnext-gold: #b8973b;
    --gnext-gold-light: #d4b96a;
    --gnext-card-bg: #141414;
    --gnext-card-radius: 4px;
    --gnext-section-gap: 56px;
    --gnext-content-max: 1320px;
    --gnext-nav-size: 40px;
    --gnext-font-heading: 'Cormorant Garamond', 'Noto Sans JP', serif;
    --gnext-font-body: 'Noto Sans JP', -apple-system, sans-serif;
    --gnext-border: #e5e3dc;
}

/* ページ全体 */
.gnext-top {
    background-color: var(--gnext-bg);
    color: var(--gnext-text);
    padding-bottom: 80px;
    overflow-x: hidden;
    font-family: var(--gnext-font-body);
}

/* SWELL側リセット */
.page-template-page-top .l-content,
.page-template-page-top .l-mainContent,
.page-template-page-top .post_content {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
.page-template-page-top #content,
.page-template-page-top .l-content {
    background-color: var(--gnext-bg);
}
body.page-template-page-top {
    background-color: var(--gnext-bg);
}
.page-template-page-top .c-pageTitle,
.page-template-page-top .l-mainContent__inner > .post_ttl {
    display: none;
}

/* ============================================================
   ヘッダー（2段構成：ロゴバー + ナビバー）
   ============================================================ */
.gnext-header {
    position: relative;
    z-index: 1000;
}

/* --- 上段：ロゴバー --- */
.gnext-header__top {
    background: var(--gnext-green-deep);
}
.gnext-header__inner {
    max-width: var(--gnext-content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
}

.gnext-header__logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}
.gnext-header__logo-img {
    height: 30px;
    width: auto;
}
.gnext-header__logo-text {
    font-family: var(--gnext-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.08em;
}

/* --- 下段：ナビバー（Netflix風） --- */
.gnext-header__navbar {
    background: #141414;
    border-top: none;
}
.gnext-header__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 24px;
    max-width: var(--gnext-content-max);
    margin: 0 auto;
    gap: 4px;
}
.gnext-header__menu li {
    flex: none;
    border-right: none;
}
.gnext-header__menu li:last-child {
    border-right: none;
}
.gnext-header__menu li a {
    display: block;
    padding: 12px 16px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: color 0.2s;
}
.gnext-header__menu li a:hover {
    background: none;
    color: #e5e5e5;
}
/* アイコン非表示（Netflix風はテキストのみ） */
.gnext-header__menu li a .gnext-nav-icon {
    display: none;
}

/* ============================================================
   優待特典スライダー（ヒーロー型・1枚ずつ表示）
   ============================================================ */
.gnext-benefit-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* 背景色はインラインスタイルで設定（管理画面から変更可） */
    padding: 0 0 20px;
}

.gnext-benefit-slider__heading {
    max-width: var(--gnext-content-max);
    margin: 0 auto;
    padding: 20px 40px 8px;
    font-family: var(--gnext-font-body);
    font-size: 20px;
    font-weight: 400;
    color: #e5e5e5;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

.gnext-benefit-slider__track {
    display: flex;
    will-change: transform;
    transition: transform 0.5s ease;
}

.gnext-benefit-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: var(--gnext-nav-size);
    height: 56px;
    font-size: 22px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.gnext-benefit-slider__nav:hover {
    background: rgba(0,0,0,0.75);
}

.gnext-benefit-slider__nav--prev { left: 12px; }
.gnext-benefit-slider__nav--next { right: 12px; }

/* 優待特典カード（ヒーロー型） */
.gnext-benefit-card {
    flex: 0 0 72%;
    margin: 0 0.8%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: scale(0.88);
    opacity: 0.45;
    text-decoration: none;
    color: #2c2c2c;
    background: #ffffff;
    /* カード内を縦フレックスで満たし、CTAを最下部に固定する */
    display: flex;
    flex-direction: column;
}

.gnext-benefit-card.is-active {
    transform: scale(1);
    opacity: 1;
}

/* カード内リンクをカード高さいっぱいに伸ばす（インライン display:block を上書き） */
.gnext-benefit-card > a {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
}

.gnext-benefit-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gnext-benefit-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnext-benefit-card__body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
}

.gnext-benefit-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    color: var(--gnext-green-deep);
}

.gnext-benefit-card__desc {
    font-size: 13px;
    color: var(--gnext-text-sub);
    line-height: 1.6;
    margin: 0;
}

.gnext-benefit-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

.gnext-benefit-card__price-orig {
    font-size: 14px;
    color: var(--gnext-text-sub);
    text-decoration: line-through;
}

.gnext-benefit-card__price-deal {
    font-size: 22px;
    font-weight: 700;
    color: #c4302b;
}

.gnext-benefit-card__price-note {
    font-size: 12px;
    color: var(--gnext-text-sub);
    width: 100%;
}

/* 優待カードCTAボタン（トップページ） */
.gnext-benefit-card__cta {
    display: block;
    margin-top: auto;
    padding: 14px 24px;
    background: #c4302b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    transition: background 0.2s;
    letter-spacing: 0.04em;
}

.gnext-benefit-card a:hover .gnext-benefit-card__cta,
.gnext-benefit-card__cta:hover {
    background: #d94440;
}

/* 優待 ドットナビゲーション */
.gnext-benefit-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    position: relative;
    z-index: 2;
}

.gnext-benefit-slider__dot {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s, width 0.3s;
}

.gnext-benefit-slider__dot.is-active {
    background: var(--gnext-gold);
    width: 32px;
}

@media (max-width: 768px) {
    .gnext-benefit-slider { padding: 0 0 12px; }

    .gnext-benefit-slider__heading {
        padding: 16px 16px 6px;
        font-size: 17px;
    }

    .gnext-benefit-card {
        flex: 0 0 82%;
        transform: scale(0.9);
    }

    .gnext-benefit-card__body {
        padding: 12px 16px 16px;
    }

    .gnext-benefit-card__title { font-size: 14px; }
    .gnext-benefit-card__desc { font-size: 12px; }
    .gnext-benefit-card__price-deal { font-size: 18px; }

    .gnext-benefit-slider__nav { width: 28px; height: 44px; font-size: 16px; }
}

/* ============================================================
   検索バー
   ============================================================ */
.gnext-search {
    background: #f5f3eb;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 16px 24px;
}
.gnext-search__inner {
    max-width: var(--gnext-content-max);
    margin: 0 auto;
}
.gnext-search__desc {
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    text-align: center;
    margin: 0 0 12px;
    line-height: 1.5;
}
.gnext-search__form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 680px;
    margin: 0 auto;
}
.gnext-search__input-wrap {
    display: flex;
    align-items: center;
    background: #fffde6;
    border: 2px solid #d4c97a;
    border-radius: 6px;
    padding: 0 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.gnext-search__input-wrap:focus-within {
    border-color: var(--gnext-gold);
    box-shadow: 0 0 0 3px rgba(184,151,59,0.15);
}
.gnext-search__icon {
    color: #999;
    flex-shrink: 0;
    margin-right: 8px;
}
.gnext-search__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--gnext-font-body);
    padding: 12px 0;
    outline: none;
    color: #2c2c2c;
    min-width: 0;
}
.gnext-search__input::placeholder {
    color: #aaa;
    font-size: 14px;
}
/* メニュー内の検索バー（不要、常にヘッダー直下に表示） */
.gnext-search--sp {
    display: none;
}

/* 検索バーはヘッダーではなく各テンプレート内に配置 */

.gnext-search__btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    font-family: var(--gnext-font-body);
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: opacity 0.2s;
    text-align: center;
    /* 色はインラインstyleで上書き */
    background: #1a3c28;
    color: #fff;
}

/* --- SPメニューボタン（文字ボタン） --- */
.gnext-header__menu-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--gnext-font-body);
    letter-spacing: 0.05em;
    white-space: nowrap;
    transition: opacity 0.2s;
    /* デフォルト色はheader-top.phpのインラインstyleで設定 */
    background: #b8973b;
    color: #fff;
}
.gnext-header__menu-btn:active {
    opacity: 0.8;
}

/* --- モバイルメニュー --- */
.gnext-header__mobile-menu {
    display: none;
    background: #333;
    border-top: 1px solid rgba(255,255,255,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}
.gnext-header__mobile-menu.is-open {
    max-height: 80vh;
    overflow-y: auto;
}
.gnext-header__mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gnext-header__mobile-list li {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gnext-header__mobile-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    color: #e5e5e5;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: background 0.2s;
}
.gnext-header__mobile-list li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.gnext-header__mobile-list li a .gnext-nav-icon {
    display: none;
}

/* ============================================================
   プロモーションバナー
   ============================================================ */
.gnext-promo {
    position: relative;
    width: 100%;
    min-height: 220px;
    overflow: hidden;
}

.gnext-promo__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.gnext-promo__bg-scroll {
    display: flex;
    width: 200%;
    height: 100%;
    animation: gnext-promo-scroll 30s linear infinite;
}

.gnext-promo__bg-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

@keyframes gnext-promo-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gnext-promo__overlay {
    position: absolute;
    inset: 0;
    /* 色はインラインスタイルで設定（管理画面から変更可） */
}

.gnext-promo__inner {
    position: relative;
    z-index: 1;
    max-width: var(--gnext-content-max);
    margin: 0 auto;
    padding: 48px 40px;
}

.gnext-promo__text {
    max-width: 560px;
}

.gnext-promo__lead {
    font-family: var(--gnext-font-body);
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
    letter-spacing: 0.04em;
}

.gnext-promo__lead strong {
    color: var(--gnext-gold-light);
    font-weight: 700;
}

.gnext-promo__highlight {
    font-family: var(--gnext-font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--gnext-gold-light);
    line-height: 1.6;
    margin: 2px 0 8px;
    letter-spacing: 0.03em;
}

.gnext-promo__highlight strong {
    color: var(--gnext-gold-light);
    font-size: 26px;
}

.gnext-promo__logo {
    font-family: var(--gnext-font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 16px;
    letter-spacing: 0.08em;
}

.gnext-promo__logo-img {
    max-height: 40px;
    width: auto;
}

/* SP対応 */
@media (max-width: 768px) {
    .gnext-promo {
        min-height: 180px;
    }

    .gnext-promo__inner {
        padding: 32px 20px;
    }

    .gnext-promo__overlay {
        background: linear-gradient(180deg, rgba(18, 36, 24, 0.9) 0%, rgba(18, 36, 24, 0.7) 100%);
    }

    .gnext-promo__lead {
        font-size: 13px;
    }

    .gnext-promo__highlight {
        font-size: 18px;
    }

    .gnext-promo__highlight strong {
        font-size: 21px;
    }

    .gnext-promo__logo {
        font-size: 28px;
        margin-top: 12px;
    }

    .gnext-promo__logo-img {
        max-height: 30px;
    }
}

/* ヒーロースライダー見出し（スライダー内） */
.gnext-hero-heading {
    max-width: var(--gnext-content-max);
    margin: 0 auto;
    padding: 20px 40px 8px;
    font-family: var(--gnext-font-body);
    font-size: 20px;
    font-weight: 400;
    color: #e5e5e5;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .gnext-hero-heading {
        padding: 16px 16px 6px;
        font-size: 17px;
    }
}

/* ============================================================
   ヒーロースライダー（横スライド・左右チラ見せ）
   ============================================================ */
.gnext-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--gnext-green-deep);
    padding: 0 0 20px;
}

.gnext-hero__slider {
    display: flex;
    will-change: transform;
}

.gnext-hero__slide {
    flex: 0 0 72%;
    margin: 0 0.8%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s ease, opacity 0.5s ease, filter 0.5s ease;
    transform: scale(0.88);
    opacity: 0.45;
    filter: brightness(0.6);
}
.gnext-hero__slide.is-active {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
}

.gnext-hero__link {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.gnext-hero__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.gnext-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 5% 24px;
    background: linear-gradient(
        transparent 0%,
        rgba(26,60,40,0.3) 40%,
        rgba(26,60,40,0.85) 100%
    );
    border-radius: 0 0 8px 8px;
}

.gnext-hero__cat {
    display: inline-block;
    background: var(--gnext-gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.gnext-hero__title {
    font-family: var(--gnext-font-body);
    font-size: clamp(14px, 2vw, 24px);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ヒーローナビ */
.gnext-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 72px;
    background: rgba(0,0,0,0.35);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.gnext-hero__nav:hover {
    background: rgba(0,0,0,0.6);
}
.gnext-hero__nav--prev { left: 8px; }
.gnext-hero__nav--next { right: 8px; }

/* ドット */
.gnext-hero__dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}
.gnext-hero__dot {
    width: 24px;
    height: 3px;
    border-radius: 0;
    border: none;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, width 0.3s;
}
.gnext-hero__dot.is-active {
    background: var(--gnext-gold);
    width: 36px;
}

/* ============================================================
   セクション共通
   ============================================================ */
.gnext-section {
    margin-top: var(--gnext-section-gap);
    padding: 0 4%;
}

.gnext-section__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 24px;
    max-width: var(--gnext-content-max);
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 16px;
}

.gnext-section__title {
    font-family: var(--gnext-font-body);
    font-size: 20px;
    font-weight: 400;
    color: #e5e5e5;
    margin: 0;
    position: relative;
    padding-left: 0;
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.gnext-section__title::before {
    display: none;
}

.gnext-section__more {
    font-size: 12px;
    color: var(--gnext-text-sub);
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: color 0.25s;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.gnext-section__more:hover {
    color: var(--gnext-gold-light);
    border-bottom-color: var(--gnext-gold-light);
}

.gnext-section__empty {
    color: var(--gnext-text-sub);
    font-size: 13px;
    padding: 24px;
    text-align: center;
    background: #f5f4f0;
    max-width: var(--gnext-content-max);
    margin: 0 auto;
}

/* ============================================================
   カルーセル
   ============================================================ */
.gnext-carousel {
    position: relative;
    max-width: var(--gnext-content-max);
    margin: 0 auto;
}

.gnext-carousel__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0 8px;
}
.gnext-carousel__track::-webkit-scrollbar {
    display: none;
}

.gnext-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-55%);
    width: var(--gnext-nav-size);
    height: 88px;
    background: #fff;
    border: 1px solid var(--gnext-border);
    color: var(--gnext-green);
    font-size: 20px;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.gnext-carousel:hover .gnext-carousel__nav {
    opacity: 1;
}
.gnext-carousel__nav:hover {
    background: var(--gnext-green-deep);
    color: #fff;
    border-color: var(--gnext-green-deep);
}
.gnext-carousel__nav--prev { left: -12px; }
.gnext-carousel__nav--next { right: -12px; }
.gnext-carousel__nav:disabled {
    opacity: 0.15;
    cursor: default;
}

/* ============================================================
   動画カード
   ============================================================ */
.gnext-movie-card {
    flex: 0 0 230px;
    text-decoration: none;
    color: var(--gnext-text);
    border-radius: var(--gnext-card-radius);
    overflow: hidden;
    background: var(--gnext-card-bg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.gnext-movie-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}

.gnext-movie-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.gnext-movie-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gnext-movie-card:hover .gnext-movie-card__thumb img {
    transform: scale(1.05);
}

.gnext-movie-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 65%, rgba(0,0,0,0.2));
    pointer-events: none;
}

.gnext-movie-card__info {
    padding: 12px 14px 16px;
}

.gnext-movie-card__title {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.6;
    margin: 0 0 8px;
    color: var(--gnext-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gnext-movie-card__title a {
    color: inherit;
    text-decoration: none;
}

.gnext-movie-card__title a:hover {
    color: var(--gnext-gold-light);
}

.gnext-movie-card__cat {
    font-size: 10px;
    color: var(--gnext-gold-light);
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================
   カスタムHTML挿入エリア
   ============================================================ */
.gnext-custom-html {
    max-width: var(--gnext-content-max);
    margin: var(--gnext-section-gap) auto 0;
    padding: 0 4%;
}
.gnext-custom-html img {
    max-width: 100%;
    height: auto;
}
.gnext-custom-html--footer {
    margin-top: 72px;
}

/* ============================================================
   ムービースライダー（左右チラ見せ）
   ============================================================ */
.gnext-movie-slider {
    position: relative;
    overflow: hidden;
    padding: 0 0 8px;
}
.gnext-movie-slider__track {
    display: flex;
    will-change: transform;
}
.gnext-movie-slider__slide {
    flex: 0 0 420px;
    margin: 0 8px;
    opacity: 0.4;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.gnext-movie-slider__slide.is-active {
    opacity: 1;
    transform: scale(1);
}
.gnext-movie-slider__video {
    position: relative;
    border-radius: var(--gnext-card-radius);
    overflow: hidden;
    background: #000;
}
.gnext-movie-slider__video img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.gnext-movie-slider__title {
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--gnext-text);
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gnext-movie-slider__title a {
    color: inherit;
    text-decoration: none;
}
.gnext-movie-slider__title a:hover {
    color: var(--gnext-gold-light);
}
.gnext-movie-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-65%);
    width: var(--gnext-nav-size);
    height: 88px;
    background: rgba(20, 20, 20, 0.7);
    color: var(--gnext-text);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-size: 22px;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gnext-movie-slider:hover .gnext-movie-slider__nav {
    opacity: 1;
}
.gnext-movie-slider__nav:hover {
    background: var(--gnext-green-deep);
    color: #fff;
    border-color: var(--gnext-green-deep);
}
.gnext-movie-slider__nav--prev { left: 12px; }
.gnext-movie-slider__nav--next { right: 12px; }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
    :root {
        --gnext-section-gap: 36px;
        --gnext-nav-size: 32px;
    }

    .gnext-header__navbar { display: none; }
    .gnext-header__menu-btn { display: flex; }
    .gnext-header__mobile-menu { display: block; }
    .gnext-header__inner { height: 50px; padding: 0 16px; }
    .gnext-header__logo-img { height: 24px; }
    .gnext-header__logo-text { font-size: 18px; }

    /* 検索バー SP */
    .gnext-search { padding: 12px 16px; }
    .gnext-search__desc { font-size: 12px; margin-bottom: 8px; }
    .gnext-search__input { font-size: 16px; padding: 10px 0; }
    .gnext-search__btn { font-size: 14px; padding: 12px 16px; }

    .gnext-hero { padding: 0 0 12px; }
    .gnext-hero__slide { flex: 0 0 82%; margin: 0 0.8%; transform: scale(0.9); }
    .gnext-hero__content { padding: 36px 4% 14px; }
    .gnext-hero__title { font-size: 13px; -webkit-line-clamp: 1; }
    .gnext-hero__cat { font-size: 9px; padding: 3px 10px; margin-bottom: 6px; }
    .gnext-hero__nav { width: 28px; height: 44px; font-size: 16px; }
    .gnext-hero__dots { margin-top: 10px; gap: 6px; }
    .gnext-hero__dot { width: 16px; height: 2px; }
    .gnext-hero__dot.is-active { width: 24px; }

    .gnext-section { padding: 0 4%; }
    .gnext-section__header { padding-bottom: 12px; }
    .gnext-section__title { font-size: 17px; padding-left: 0; }

    .gnext-movie-card { flex: 0 0 155px; }
    .gnext-movie-card__title { font-size: 11.5px; }
    .gnext-movie-card__info { padding: 8px 10px 12px; }
    .gnext-movie-card__cat { font-size: 9px; }

    .gnext-carousel__nav { display: none; }
    .gnext-carousel__track { gap: 10px; }

    .gnext-movie-slider__slide { flex: 0 0 78%; margin: 0 1.5%; }
    .gnext-movie-slider__nav { display: none; }
    .gnext-movie-slider__title { font-size: 12px; }

    .gnext-custom-html { padding: 0 4%; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gnext-movie-card {
        flex: 0 0 195px;
    }
    .gnext-movie-slider__slide {
        flex: 0 0 340px;
    }
}

@media (min-width: 1025px) {
    .gnext-movie-card {
        flex: 0 0 calc((100% - 64px) / 5);
        max-width: 260px;
    }
}

/* ヒーロー / 優待特典スライダー：PCで大きくなりすぎないよう縮小
   （SPは各セクションの max-width:768px ルールで別途指定済み）
   優待カードはヒーローより一段小さく（画像は16:9のまま、幅に比例して高さも縮小） */
@media (min-width: 769px) {
    .gnext-hero__slide {
        flex: 0 0 52%;
    }
    .gnext-benefit-card {
        flex: 0 0 40%;
    }
}

@media (min-width: 1400px) {
    .gnext-hero__slide {
        flex: 0 0 44%;
    }
    .gnext-benefit-card {
        flex: 0 0 34%;
    }
}

/* ============================================================
   ランディングページ（未ログイン）
   ============================================================ */
.gnext-landing {
    background: #141414;
    color: #e5e5e5;
    font-family: var(--gnext-font-body);
}

/* --- ヒーロー --- */
.gnext-lp-hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.gnext-lp-hero__bg {
    position: absolute;
    inset: 0;
}

.gnext-lp-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnext-lp-hero__overlay {
    position: absolute;
    inset: 0;
}

.gnext-lp-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 48px 24px;
}

.gnext-lp-hero__title {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: #e5e5e5;
    line-height: 1.4;
    margin: 0 0 20px;
}

.gnext-lp-hero__accent {
    color: var(--gnext-gold-light);
}

.gnext-lp-hero__sub {
    font-size: clamp(14px, 2vw, 18px);
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin: 0 0 16px;
}

.gnext-lp-hero__price {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px;
}

.gnext-lp-hero__price strong {
    font-size: 28px;
    color: #e5e5e5;
    font-weight: 700;
}

/* --- アカウント作成 埋め込みエリア --- */
.gnext-lp-signup {
    max-width: 520px;
    margin: 0 auto;
}

.gnext-lp-signup__placeholder {
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 32px 24px;
    background: rgba(255,255,255,0.05);
}

.gnext-lp-signup__placeholder-label {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin: 0 0 8px;
    text-align: center;
}

.gnext-lp-signup__placeholder-note {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin: 0;
    text-align: center;
}

/* トライアル誘導ボタン（LP・2行 → ECトライアルページ） */
.gnext-lp-trial-btn {
    display: block;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: 20px 28px;
    /* ピンク→パープル→ブルーのグラデCTA（暗い背景でも視認性を確保） */
    background: linear-gradient(100deg, #e5308a 0%, #6d3bd1 50%, #2f6fe0 100%);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    line-height: 1.35;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transition: filter 0.2s, transform 0.08s, box-shadow 0.2s;
}

.gnext-lp-trial-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 26px rgba(47, 111, 224, 0.4);
}

.gnext-lp-trial-btn:active {
    transform: translateY(1px);
}

.gnext-lp-trial-btn__line1 {
    display: block;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gnext-lp-trial-btn__line2 {
    display: block;
    font-size: 24px;
    font-weight: 800;
    margin-top: 4px;
}

/* トライアルボタン下のログイン導線（ヒーロー側） */
.gnext-lp-signup__login {
    margin: 16px 0 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.gnext-lp-signup__login a {
    color: var(--gnext-gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnext-lp-signup__login a:hover {
    color: var(--gnext-gold);
}

/* --- セクション共通 --- */
.gnext-lp-section {
    padding: 64px 24px;
    border-top: 8px solid #1e1e1e;
}

.gnext-lp-section__inner {
    max-width: var(--gnext-content-max);
    margin: 0 auto;
}

.gnext-lp-section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #e5e5e5;
    text-align: center;
    margin: 0 0 40px;
}

/* --- トレンド動画 --- */
.gnext-lp-trending {
    background: #141414;
}

.gnext-lp-trend-card {
    flex: 0 0 200px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--gnext-card-bg);
    transition: transform 0.3s;
}

.gnext-lp-trend-card:hover {
    transform: scale(1.05);
}

.gnext-lp-trend-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.gnext-lp-trend-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnext-lp-trend-card__info {
    padding: 10px 12px 14px;
}

.gnext-lp-trend-card__title {
    font-size: 12px;
    font-weight: 500;
    color: #e5e5e5;
    margin: 0 0 4px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gnext-lp-trend-card__cat {
    font-size: 10px;
    color: var(--gnext-gold-light);
}

/* --- 特徴セクション（交互レイアウト） --- */
.gnext-lp-feature {
    padding: 80px 24px;
    border-top: 8px solid #1e1e1e;
}

.gnext-lp-feature__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.gnext-lp-feature--reverse .gnext-lp-feature__inner {
    flex-direction: row-reverse;
}

.gnext-lp-feature__text {
    flex: 1;
}

.gnext-lp-feature__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #e5e5e5;
    line-height: 1.4;
    margin: 0 0 20px;
}

.gnext-lp-feature__desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
    margin: 0;
}

.gnext-lp-feature__visual {
    flex: 0 0 auto;
}

.gnext-lp-feature__icon-wrap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(184,151,59,0.1);
    border: 1px solid rgba(184,151,59,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gnext-gold-light);
}

/* --- FAQセクション --- */
.gnext-lp-faq {
    background: #141414;
}

.gnext-lp-faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gnext-lp-faq__item {
    background: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
}

.gnext-lp-faq__q {
    padding: 20px 56px 20px 24px;
    font-size: 17px;
    font-weight: 500;
    color: #e5e5e5;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: background 0.2s;
}

.gnext-lp-faq__q::-webkit-details-marker {
    display: none;
}

.gnext-lp-faq__q::after {
    content: '+';
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 300;
    color: #e5e5e5;
    transition: transform 0.2s;
}

.gnext-lp-faq__item[open] .gnext-lp-faq__q::after {
    content: '\d7';
    transform: translateY(-50%) rotate(0deg);
}

.gnext-lp-faq__q:hover {
    background: #333;
}

.gnext-lp-faq__a {
    padding: 0 24px 24px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.9;
}

.gnext-lp-faq__a h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gnext-gold-light);
    margin: 20px 0 8px;
}

.gnext-lp-faq__a h4:first-child {
    margin-top: 0;
}

.gnext-lp-faq__a p {
    margin: 0 0 12px;
}

.gnext-lp-faq__note {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    border-left: 3px solid #444;
    padding-left: 12px;
}

/* --- CTA再表示 --- */
.gnext-lp-cta {
    padding: 80px 24px;
    border-top: 8px solid #1e1e1e;
    text-align: center;
}

.gnext-lp-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.gnext-lp-cta__title {
    font-size: clamp(22px, 3.5vw, 32px);
    font-weight: 700;
    color: #e5e5e5;
    margin: 0 0 12px;
}

.gnext-lp-cta__sub {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0 0 32px;
}

/* --- ログインリンク --- */
.gnext-lp-login-link {
    text-align: center;
    padding: 32px 24px 48px;
    border-top: 1px solid #2a2a2a;
}

.gnext-lp-login-link p {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.gnext-lp-login-link a {
    color: var(--gnext-gold-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnext-lp-login-link a:hover {
    color: #e5e5e5;
}

/* --- SP対応 --- */
@media (max-width: 768px) {
    .gnext-lp-hero__inner {
        padding: 36px 20px;
    }

    .gnext-lp-feature__inner {
        flex-direction: column !important;
        gap: 32px;
        text-align: center;
    }

    .gnext-lp-feature__icon-wrap {
        width: 120px;
        height: 120px;
    }

    .gnext-lp-feature__icon-wrap svg {
        width: 56px;
        height: 56px;
    }

    .gnext-lp-feature__desc {
        font-size: 14px;
    }

    .gnext-lp-section {
        padding: 48px 16px;
    }

    .gnext-lp-feature {
        padding: 48px 16px;
    }

    .gnext-lp-faq__q {
        font-size: 15px;
        padding: 16px 48px 16px 16px;
    }

    .gnext-lp-faq__a {
        padding: 0 16px 20px;
        font-size: 14px;
    }

    .gnext-lp-trend-card {
        flex: 0 0 160px;
    }

    .gnext-lp-cta {
        padding: 48px 20px;
    }
}

/* ============================================================
   マイページ共通（プロフィール / メンバーシップ / パスワード変更）
   ============================================================ */

/* --- レイアウト（PC: サイドバー + メイン / SP: タブ + メイン） --- */
.gnext-mypage {
    background: #141414;
    color: #e5e5e5;
    font-family: var(--gnext-font-body);
    min-height: 100vh;
    display: flex;
}

/* --- サイドバー（PC） --- */
.gnext-mypage__nav {
    width: 240px;
    flex-shrink: 0;
    background: #1a1a1a;
    border-right: 1px solid #2a2a2a;
    padding: 32px 0;
}

.gnext-mypage__nav-back {
    padding: 0 24px 24px;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 8px;
}

.gnext-mypage__nav-back a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.gnext-mypage__nav-back a:hover {
    color: #e5e5e5;
}

.gnext-mypage__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnext-mypage__nav-list li a {
    display: block;
    padding: 14px 24px;
    color: #b3b3b3;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.gnext-mypage__nav-list li a:hover {
    color: #e5e5e5;
    background: rgba(255,255,255,0.04);
}

.gnext-mypage__nav-list li.is-active a {
    color: #e5e5e5;
    border-left-color: var(--gnext-gold);
    background: rgba(255,255,255,0.06);
}

/* --- メインコンテンツ --- */
.gnext-mypage__main {
    flex: 1;
    max-width: 720px;
    padding: 40px 48px 60px;
}

.gnext-mypage__title {
    font-size: 28px;
    font-weight: 700;
    color: #e5e5e5;
    margin: 0 0 8px;
}

.gnext-mypage__subtitle {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    margin: 0 0 36px;
}

/* --- セクション --- */
.gnext-mypage__section {
    margin-bottom: 40px;
}

.gnext-mypage__section-title {
    font-size: 18px;
    font-weight: 500;
    color: #e5e5e5;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2a2a2a;
}

/* --- 情報カード（プロフィール・メンバーシップ） --- */
.gnext-mypage__info-card {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    padding: 8px 0;
}

.gnext-mypage__info-list {
    margin: 0;
}

.gnext-mypage__info-row {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #2a2a2a;
}

.gnext-mypage__info-row:last-child {
    border-bottom: none;
}

.gnext-mypage__info-row dt {
    width: 160px;
    flex-shrink: 0;
    font-size: 14px;
    color: #999;
}

.gnext-mypage__info-row dd {
    flex: 1;
    font-size: 15px;
    color: #e5e5e5;
    margin: 0;
}

/* ステータスバッジ */
.gnext-mypage__status-badge {
    display: inline-block;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    background: rgba(45, 90, 63, 0.3);
    color: #6fcf87;
    border: 1px solid rgba(45, 90, 63, 0.5);
}

/* --- リンクカード（Netflix風矢印付き） --- */
.gnext-mypage__link-card {
    background: #1e1e1e;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
}

.gnext-mypage__link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-decoration: none;
    transition: background 0.2s;
    border-bottom: 1px solid #2a2a2a;
}

.gnext-mypage__link-item:last-child {
    border-bottom: none;
}

.gnext-mypage__link-item:hover {
    background: rgba(255,255,255,0.04);
}

.gnext-mypage__link-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gnext-mypage__link-label {
    font-size: 15px;
    color: #e5e5e5;
    font-weight: 400;
}

.gnext-mypage__link-desc {
    font-size: 13px;
    color: #999;
}

.gnext-mypage__link-arrow {
    font-size: 24px;
    color: #666;
    flex-shrink: 0;
    margin-left: 16px;
}

/* --- フォーム（パスワード変更） --- */
.gnext-mypage__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gnext-mypage__field {
    position: relative;
}

.gnext-mypage__label {
    display: block;
    font-size: 13px;
    color: #b3b3b3;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.gnext-mypage__input {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-family: var(--gnext-font-body);
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #e5e5e5;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gnext-mypage__input::placeholder {
    color: #666;
}

.gnext-mypage__input:focus {
    border-color: var(--gnext-gold);
}

.gnext-mypage__form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.gnext-mypage__btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--gnext-font-body);
    background: #e5e5e5;
    color: #141414;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.gnext-mypage__btn-primary:hover {
    background: #fff;
}

.gnext-mypage__btn-primary:disabled {
    background: #3a3a3a;
    color: #666;
    cursor: not-allowed;
}

.gnext-mypage__btn-secondary {
    font-size: 15px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.gnext-mypage__btn-secondary:hover {
    color: #e5e5e5;
}

/* --- エンジニア向けノート --- */
.gnext-mypage__note {
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 12px;
    line-height: 1.6;
}

/* --- SP: サイドバー → 横タブ化 --- */
@media (max-width: 768px) {
    .gnext-mypage {
        flex-direction: column;
    }

    .gnext-mypage__nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #2a2a2a;
        padding: 0;
        background: #1a1a1a;
    }

    .gnext-mypage__nav-back {
        padding: 12px 16px;
        margin-bottom: 0;
        border-bottom: none;
    }

    .gnext-mypage__nav-back a {
        font-size: 13px;
    }

    .gnext-mypage__nav-list {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .gnext-mypage__nav-list li {
        flex-shrink: 0;
    }

    .gnext-mypage__nav-list li a {
        padding: 14px 20px;
        font-size: 14px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
    }

    .gnext-mypage__nav-list li a:hover {
        background: none;
    }

    .gnext-mypage__nav-list li.is-active a {
        border-left-color: transparent;
        border-bottom-color: var(--gnext-gold);
        background: none;
    }

    .gnext-mypage__main {
        padding: 28px 20px 48px;
    }

    .gnext-mypage__title {
        font-size: 22px;
    }

    .gnext-mypage__info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 14px 20px;
    }

    .gnext-mypage__info-row dt {
        width: auto;
        font-size: 12px;
    }

    .gnext-mypage__info-row dd {
        font-size: 15px;
    }

    .gnext-mypage__link-item {
        padding: 16px 20px;
    }
}

/* ============================================================
   ログインページ
   ============================================================ */
.gnext-login {
    background:
        linear-gradient(rgba(15, 26, 19, 0.82), rgba(15, 26, 19, 0.90)),
        url('https://golflive-next.jp/wp-content/uploads/2016/08/sam-image.jpg') center center / cover no-repeat;
    color: #e5e5e5;
    font-family: var(--gnext-font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.gnext-login__inner {
    flex: 1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.gnext-login__back {
    display: inline-block;
    font-size: 24px;
    color: #e5e5e5;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s;
}

.gnext-login__back:hover {
    color: var(--gnext-gold-light);
}

.gnext-login__title {
    font-size: 28px;
    font-weight: 700;
    color: #e5e5e5;
    margin: 0 0 12px;
}

.gnext-login__desc {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    margin: 0 0 32px;
}

/* エラーメッセージ */
.gnext-login__error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b7a;
    padding: 14px 16px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

/* フォーム */
.gnext-login__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gnext-login__field {
    position: relative;
}

.gnext-login__label {
    display: block;
    font-size: 13px;
    color: #b3b3b3;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.gnext-login__input {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-family: var(--gnext-font-body);
    background: #1e1e1e;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #e5e5e5;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.gnext-login__input::placeholder {
    color: #666;
}

.gnext-login__input:focus {
    border-color: var(--gnext-gold);
}

/* ログイン状態保持チェックボックス */
.gnext-login__remember {
    margin: 4px 0;
}

.gnext-login__checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #b3b3b3;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.gnext-login__checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--gnext-gold);
    cursor: pointer;
}

.gnext-login__actions {
    margin-top: 12px;
}

.gnext-login__btn-login {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--gnext-font-body);
    background: #e5e5e5;
    color: #141414;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.gnext-login__btn-login:hover {
    background: #fff;
}

.gnext-login__btn-login:disabled {
    background: #3a3a3a;
    color: #666;
    cursor: not-allowed;
}

/* パスワード忘れ等リンク */
.gnext-login__links {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.gnext-login__link-forgot {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.gnext-login__link-forgot:hover {
    color: var(--gnext-gold-light);
    text-decoration: underline;
}

.gnext-login__form-note {
    margin-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    text-align: center;
    border: 1px dashed rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 12px;
    line-height: 1.6;
}

/* 会員登録誘導 */
.gnext-login__signup-cta {
    margin-top: 40px;
    padding: 24px;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    text-align: center;
    background: #1a1a1a;
}

.gnext-login__signup-cta p {
    font-size: 14px;
    color: #b3b3b3;
    margin: 0 0 14px;
}

.gnext-login__signup-btn {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: var(--gnext-gold-light);
    border: 1px solid var(--gnext-gold);
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.gnext-login__signup-btn:hover {
    background: var(--gnext-gold);
    color: #141414;
}

/* ログインはこちら（テキストリンク → /wp-login.php） */
.gnext-login__login-link {
    display: inline-block;
    margin: 4px 0 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--gnext-gold-light);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.gnext-login__login-link:hover {
    color: var(--gnext-gold);
}

/* トライアル誘導ボタン（2行 → ECトライアルページ） */
.gnext-login__trial {
    margin-top: 28px;
    text-align: center;
}

.gnext-login__trial-btn {
    display: block;
    width: 100%;
    padding: 18px 24px;
    /* ピンク→パープル→ブルーのグラデCTA（LPと統一） */
    background: linear-gradient(100deg, #e5308a 0%, #6d3bd1 50%, #2f6fe0 100%);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: filter 0.2s, transform 0.08s, box-shadow 0.2s;
}

.gnext-login__trial-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 22px rgba(47, 111, 224, 0.4);
}

.gnext-login__trial-btn:active {
    transform: translateY(1px);
}

.gnext-login__trial-btn-line1 {
    display: block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.gnext-login__trial-btn-line2 {
    display: block;
    font-size: 21px;
    font-weight: 800;
    margin-top: 3px;
}

/* フッター */
.gnext-login__footer {
    border-top: 1px solid #2a2a2a;
    padding: 24px;
    text-align: center;
}

.gnext-login__footer p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.gnext-login__footer a {
    color: #999;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gnext-login__footer a:hover {
    color: var(--gnext-gold-light);
}

@media (max-width: 768px) {
    .gnext-login__inner {
        padding: 28px 20px 48px;
    }

    .gnext-login__title {
        font-size: 22px;
    }

    .gnext-login__signup-cta {
        padding: 20px 16px;
        margin-top: 32px;
    }
}

/* ============================================================
   通常固定ページ（白背景・LPライクスタイル）
   page-template-default のみに適用
   ============================================================ */

/* --- ページ全体 --- */
body.page-template-default {
    background: #ffffff;
    color: #333333;
}
body.page-template-default #content,
body.page-template-default .l-content,
body.page-template-default .l-mainContent {
    background: #ffffff;
}

/* --- ページタイトルエリア --- */
body.page-template-default .c-pageTitle {
    background: none;
    color: #1a1a1a;
    padding: 32px 24px 16px;
    text-align: left;
    max-width: 960px;
    margin: 0 auto;
    border-bottom: 3px solid var(--gnext-gold);
}
body.page-template-default .c-pageTitle__ttl {
    color: #1a1a1a;
    font-size: 26px;
    font-weight: 500;
    font-family: var(--gnext-font-body);
}

/* --- コンテンツエリア --- */
body.page-template-default .l-mainContent__inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}
body.page-template-default .post_content {
    color: #333333;
    font-family: var(--gnext-font-body);
    font-size: 16px;
    line-height: 1.9;
}

/* --- 見出し h2（ゴールド下線） --- */
body.page-template-default .post_content h2 {
    background: none;
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 500;
    padding: 0 0 12px;
    margin: 48px 0 24px;
    border: none;
    border-bottom: 3px solid var(--gnext-gold);
    border-radius: 0;
    line-height: 1.5;
    letter-spacing: 0.04em;
}

/* --- 見出し h3（左ボーダー＋背景） --- */
body.page-template-default .post_content h3 {
    background: #f5f3eb;
    color: #1a3c28;
    font-size: 18px;
    font-weight: 500;
    padding: 14px 20px;
    margin: 36px 0 20px;
    border: none;
    border-left: 4px solid var(--gnext-gold);
    border-radius: 0;
    line-height: 1.5;
}

/* --- 見出し h4 --- */
body.page-template-default .post_content h4 {
    color: #1a3c28;
    font-size: 17px;
    font-weight: 500;
    padding: 0 0 8px;
    margin: 28px 0 16px;
    border: none;
    border-bottom: 2px solid var(--gnext-gold);
    line-height: 1.5;
}

/* --- テキスト・段落 --- */
body.page-template-default .post_content p {
    color: #333333;
    margin-bottom: 1.5em;
}
body.page-template-default .post_content strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* --- リンク --- */
body.page-template-default .post_content a {
    color: #1a6b3c;
    text-decoration: underline;
}
body.page-template-default .post_content a:hover {
    color: var(--gnext-gold);
}

/* --- 画像 --- */
body.page-template-default .post_content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* --- リスト --- */
body.page-template-default .post_content ul,
body.page-template-default .post_content ol {
    color: #333333;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}
body.page-template-default .post_content li {
    margin-bottom: 0.5em;
    line-height: 1.8;
}

/* --- テーブル --- */
body.page-template-default .post_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
body.page-template-default .post_content th {
    background: var(--gnext-green-deep);
    color: #e5e5e5;
    padding: 12px 16px;
    font-weight: 500;
    text-align: left;
    border: 1px solid #2a5a3a;
}
body.page-template-default .post_content td {
    padding: 12px 16px;
    border: 1px solid #ddd;
    background: #ffffff;
    color: #333333;
}
body.page-template-default .post_content tr:nth-child(even) td {
    background: #f9f9f7;
}

/* --- blockquote --- */
body.page-template-default .post_content blockquote {
    background: #f5f3eb;
    border-left: 4px solid var(--gnext-gold);
    padding: 20px 24px;
    margin: 24px 0;
    color: #555;
    font-style: normal;
}

/* --- ボタン風リンク（SWELLブロック） --- */
body.page-template-default .post_content .swell-block-button a,
body.page-template-default .post_content .wp-block-button__link {
    background: var(--gnext-green-deep);
    color: #e5e5e5;
    text-decoration: none;
    border-radius: 4px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
}
body.page-template-default .post_content .swell-block-button a:hover,
body.page-template-default .post_content .wp-block-button__link:hover {
    opacity: 0.85;
    color: #e5e5e5;
}

/* --- SWELLの装飾リセット（白背景に合わせる） --- */
body.page-template-default .post_content .swell-block-faq .faq_q,
body.page-template-default .post_content .swell-block-faq .faq_a {
    color: #333333;
}

/* --- SP対応 --- */
@media (max-width: 768px) {
    body.page-template-default .c-pageTitle {
        padding: 24px 16px 12px;
    }
    body.page-template-default .c-pageTitle__ttl {
        font-size: 22px;
    }
    body.page-template-default .l-mainContent__inner {
        padding: 28px 16px 48px;
    }
    body.page-template-default .post_content {
        font-size: 15px;
    }
    body.page-template-default .post_content h2 {
        font-size: 19px;
        padding: 0 0 10px;
        margin: 36px 0 20px;
    }
    body.page-template-default .post_content h3 {
        font-size: 16px;
        padding: 12px 16px;
        margin: 28px 0 16px;
    }
    body.page-template-default .post_content h4 {
        font-size: 15px;
    }
}
