/*
 * gw-lp-soudan / LP スタイル
 * 新調子パレット（共感×信頼）
 *   --soudan-primary:       #E87461   warm coral  (CTA)
 *   --soudan-primary-dark:  #D65C48   hover
 *   --soudan-accent:        #F5B8A8   blush
 *   --soudan-trust:         #4A6C6F   sage teal (trust)
 *   --soudan-bg:            #FFFAF5   cream
 *   --soudan-bg-alt:        #F5E6D3   beige
 *   --soudan-text:          #2F2F2F
 *   --soudan-text-muted:    #6B6B6B
 *   --soudan-border:        #E5D5C3
 */

.gwls-lp {
    --soudan-primary: #E87461;
    --soudan-primary-dark: #D65C48;
    --soudan-accent: #F5B8A8;
    --soudan-trust: #4A6C6F;
    --soudan-bg: #FFFAF5;
    --soudan-bg-alt: #F5E6D3;
    --soudan-text: #2F2F2F;
    --soudan-text-muted: #6B6B6B;
    --soudan-border: #E5D5C3;

    font-family: "Hiragino Sans", "Noto Sans JP", system-ui, -apple-system, sans-serif;
    color: var(--soudan-text);
    line-height: 1.8;
    background: var(--soudan-bg);
    box-sizing: border-box;
    /* ================================
     * 全幅表示 (親コンテナの制約を突き抜ける)
     * ================================ */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ============================================
 * Blocksyテーマのコンテナ余白を強制ゼロに
 * `.ct-container-full` が左右余白、data-vertical-spacing が上下余白を作っているため
 * ============================================ */
body:has(.gwls-lp) .ct-container-full,
body:has(.gwls-lp) article.post,
body:has(.gwls-lp) .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    --container-spacing: 0 !important;
    --vertical-spacing: 0 !important;
}
body:has(.gwls-lp) [data-vertical-spacing] {
    --vertical-spacing: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body:has(.gwls-lp) #main-container,
body:has(.gwls-lp) main#main,
body:has(.gwls-lp) main.site-main {
    padding: 0 !important;
    margin: 0 !important;
}
/* ページタイトルや header も非表示 */
body:has(.gwls-lp) .entry-header,
body:has(.gwls-lp) .page-header,
body:has(.gwls-lp) .ct-page-title {
    display: none !important;
}
.gwls-lp *, .gwls-lp *::before, .gwls-lp *::after { box-sizing: border-box; }

/* ====================================================
 * Common
 * ==================================================== */
.gwls-lp .gwls-section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--soudan-text);
    text-align: center;
    margin: 0 0 24px;
    line-height: 1.5;
}
.gwls-pc-only { display: inline; }
.gwls-sp-only { display: none; }
@media (max-width: 640px) {
    .gwls-pc-only { display: none; }
    .gwls-sp-only { display: inline; }
    .gwls-lp .gwls-section-title { font-size: 22px; }
}

.gwls-cta {
    display: inline-block;
    padding: 18px 40px;
    background: var(--soudan-primary);
    color: #fff !important;
    border: 2px solid var(--soudan-primary);
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(232, 116, 97, 0.42);
    transition: transform .15s, box-shadow .15s, background .15s;
    text-align: center;
    line-height: 1.3;
    position: relative;
}
.gwls-cta:hover,
.gwls-cta:focus {
    background: var(--soudan-primary-dark);
    border-color: var(--soudan-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 116, 97, 0.55);
    color: #fff !important;
    text-decoration: none;
}

/* ヒーロー直下のCTA：サイズ・押し出しを強化 */
.gwls-hero .gwls-cta {
    padding: 22px 48px;
    font-size: 19px;
    border-radius: 14px;
    box-shadow:
        0 10px 28px rgba(232, 116, 97, 0.50),
        0 0 0 8px rgba(232, 116, 97, 0.08);
    animation: gwls-cta-pulse 2.8s ease-in-out infinite;
}
.gwls-hero .gwls-cta:hover {
    animation-play-state: paused;
    transform: translateY(-2px) scale(1.02);
}
@keyframes gwls-cta-pulse {
    0%, 100% {
        box-shadow:
            0 10px 28px rgba(232, 116, 97, 0.50),
            0 0 0 0 rgba(232, 116, 97, 0.40);
    }
    50% {
        box-shadow:
            0 14px 34px rgba(232, 116, 97, 0.55),
            0 0 0 14px rgba(232, 116, 97, 0);
    }
}
/* 低アニメーション設定の尊重 */
@media (prefers-reduced-motion: reduce) {
    .gwls-hero .gwls-cta { animation: none; }
}
.gwls-cta-outline {
    background: #fff;
    color: var(--soudan-primary) !important;
    box-shadow: none;
}
.gwls-cta-outline:hover { background: #fff5f1; color: var(--soudan-primary-dark) !important; }
.gwls-cta-block { display: block; width: 100%; max-width: 400px; margin: 0 auto; }
.gwls-cta svg { vertical-align: middle; margin-left: 6px; }

/* ====================================================
 * Coupon badge
 * ==================================================== */
.gwls-coupon-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #FF6B35 0%, #E87461 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(232, 116, 97, 0.35);
    margin: 18px 0 22px;
    text-align: left;
    position: relative;
}
.gwls-coupon-badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
    pointer-events: none;
}
.gwls-coupon-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    flex-shrink: 0;
}
.gwls-coupon-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}
.gwls-coupon-amount {
    font-size: 22px;
    font-weight: 800;
    margin: 0 2px;
    display: inline-block;
}
.gwls-coupon-text small {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    letter-spacing: 0.02em;
    margin-top: 2px;
}
.gwls-coupon-badge-final {
    background: rgba(255,255,255,0.18);
    box-shadow: none;
    border: 1px solid rgba(255,255,255,0.3);
    margin: 0 auto 28px;
}
.gwls-coupon-badge-final::before { display: none; }

/* ==== Coupon notice (outline / 告知風) ==== */
.gwls-coupon-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px dashed var(--soudan-primary);
    color: var(--soudan-text);
    padding: 10px 18px;
    border-radius: 999px;
    margin: 16px 0 22px;
    font-size: 14px;
}
.gwls-coupon-icon-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.gwls-coupon-notice-text strong {
    color: var(--soudan-primary);
    font-weight: 800;
    font-size: 17px;
    margin: 0 2px;
}
.gwls-coupon-notice-final {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
.gwls-coupon-notice-final .gwls-coupon-notice-text strong {
    color: #FFE5D5;
}

/* ==== 博士推奨だから違う3つの理由 ==== */
.gwls-unique {
    background: var(--soudan-bg-alt);
    padding: 60px 20px;
    text-align: center;
}
.gwls-unique-lead {
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--soudan-text);
}
.gwls-unique-lead strong {
    color: var(--soudan-primary);
    font-size: 20px;
    font-weight: 800;
}
.gwls-unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}
.gwls-unique-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    position: relative;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.gwls-unique-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--soudan-primary);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.9;
}
.gwls-unique-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--soudan-text);
    margin: 0 0 10px;
    line-height: 1.5;
}
.gwls-unique-card p {
    font-size: 14px;
    color: var(--soudan-text-muted);
    line-height: 1.8;
    margin: 0;
}

/* ==== 料金体系 ==== */
.gwls-pricing {
    max-width: 640px;
    margin: 0 auto;
    padding: 56px 20px;
}
.gwls-pricing-card {
    background: #fff;
    border: 2px solid var(--soudan-border);
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
}
.gwls-pricing-main {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}
.gwls-pricing-from {
    font-size: 15px;
    color: var(--soudan-text-muted);
    font-weight: 600;
}
.gwls-pricing-amount {
    font-size: 54px;
    font-weight: 800;
    color: var(--soudan-primary);
    letter-spacing: -0.02em;
    line-height: 1;
}
.gwls-pricing-unit {
    font-size: 24px;
    color: var(--soudan-primary);
    font-weight: 700;
}
.gwls-pricing-note {
    font-size: 13px;
    color: var(--soudan-text-muted);
    margin: 0 0 22px;
}
.gwls-pricing-bullets {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.gwls-pricing-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px dashed var(--soudan-border);
    font-size: 14px;
    line-height: 1.7;
}
.gwls-pricing-bullets li:first-child { border-top: none; }
.gwls-pricing-bullets li svg {
    flex-shrink: 0;
    margin-top: 5px;
}
.gwls-pricing-bullets strong {
    color: var(--soudan-primary);
    font-weight: 700;
}
.gwls-pricing-bullets small {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--soudan-text-muted);
    line-height: 1.6;
}

/* ====================================================
 * HERO
 * ==================================================== */
.gwls-hero {
    background: linear-gradient(180deg, #FFF6EF 0%, #FFFAF5 100%);
    padding: 56px 20px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gwls-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 260px; height: 260px;
    background: radial-gradient(closest-side, var(--soudan-accent) 0%, transparent 70%);
    opacity: 0.45;
    pointer-events: none;
}
.gwls-hero-bg {
    position: absolute;
    /* パララックス／Ken Burns 用に上下15%拡張（移動・拡大余裕） */
    top: -15%;
    bottom: -15%;
    left: 0;
    right: 0;
    background-size: cover;
    background-position: center 30%;
    z-index: 0;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transform-origin: center 35%; /* 顔付近を中心にズーム */
}

/* ============================================
 * Desktop / Mobile 切替
 *  - PC: .gwls-hero-bg-desktop（background-image / cover でフル）
 *  - モバイル: .gwls-hero-img-mobile（<img> タグで自然比率表示）
 * ============================================ */
.gwls-hero-bg-desktop { display: block; }
.gwls-hero-img-mobile { display: none; }

/* モバイル：<img> で 4:5 自然比率表示し、テキストはその下にオーバーレイ */
@media (max-width: 1024px) {
    /* デスクトップ用 bg は完全非表示 */
    .gwls-hero-bg-desktop { display: none !important; }

    /* ヒーロー全体: ブロックレイアウト（img → inner の縦並び） */
    .gwls-hero-has-image {
        min-height: auto !important;
        padding: 0 0 28px !important;
        display: block !important;
        align-items: initial !important;
    }

    /* モバイル用 img: フル幅・自然比率 4:5（顔がアップにならない） */
    .gwls-hero-img-mobile {
        display: block;
        width: 100%;
        height: auto;
        position: relative;
        z-index: 0;
        margin: 0;
    }

    /* hero自体の::after は無効化（inner自身に gradient bg を持たせる方式に変更） */
    .gwls-hero-has-image::after {
        display: none !important;
    }

    /* inner: 画像の下端に大きく食い込ませ、inner 自身に画像→クリームのグラデを敷く
     * 上 24px は完全に透明（画像が見える）→ 70px で 0.85 → 120px で完全クリーム
     * これでタグは画像にオーバーレイ、キャッチコピー以下は自然にクリーム背景に */
    .gwls-hero-has-image .gwls-hero-inner {
        position: relative;
        z-index: 2;
        margin-top: -21vw !important;
        max-width: initial !important;
        padding: 0 18px 8px !important;
        background: linear-gradient(180deg,
            rgba(255,250,245,0) 0px,
            rgba(255,250,245,0.0) 24px,
            rgba(255,250,245,0.85) 70px,
            rgba(255,250,245,1) 120px,
            rgba(255,250,245,1) 100%);
    }
}

/* ============================================
 * Ken Burns（控えめなゆっくりズームアウト）
 * 0%: 微拡大(1.03) → 100%: 等倍(1.00)
 * 開始時の違和感を抑えつつ、ゆっくり引いていく演出
 * モバイル（<= 1024px）でのみ適用、デスクトップは JS パララックス
 * ============================================ */
@keyframes gwls-ken-burns {
    0% {
        transform: scale(1.03) translate3d(-0.5%, -0.5%, 0);
    }
    100% {
        transform: scale(1.00) translate3d(0, 0, 0);
    }
}

/* Ken Burns はモバイル <img> 自然サイズ表示では不要（無効化） */
@media (max-width: 1024px) {
    .gwls-hero-has-image .gwls-hero-bg,
    .gwls-hero-has-image .gwls-hero-img-mobile {
        animation: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gwls-hero-has-image .gwls-hero-bg {
        animation: none !important;
    }
}
.gwls-hero-has-image {
    padding: 60px 20px 60px;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.gwls-hero-has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    /* 上半分は画像をクリアに見せ、下から徐々にクリーム色フェード */
    background: linear-gradient(180deg,
        rgba(255,250,245,0.0) 0%,
        rgba(255,250,245,0.0) 38%,
        rgba(255,250,245,0.75) 55%,
        rgba(255,250,245,0.98) 75%,
        rgba(255,250,245,1) 100%);
    z-index: 1;
    pointer-events: none;
}
.gwls-hero-has-image .gwls-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 280px; /* 上部に画像を見せる余白 */
}
/* スマホ小サイズの微調整（img 自然サイズ前提） */
@media (max-width: 640px) {
    .gwls-hero-has-image {
        padding: 0 0 24px !important;
    }
    .gwls-hero-has-image .gwls-hero-inner {
        padding: 0 16px 4px !important;
        margin-top: -47vw !important;  /* 画像高さ(125vw)の約38%に重ねる */
    }
}

/* ==========================================
 * キャンペーン ポップ要素（リボン）
 * ========================================== */
.gwls-campaign-ribbon {
    position: absolute;
    top: 22px;
    left: -38px;
    width: 160px;
    background: linear-gradient(135deg, #FF6B35 0%, #E87461 100%);
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.15em;
    transform: rotate(-32deg);
    box-shadow: 0 5px 14px rgba(0,0,0,0.18);
    z-index: 5;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.gwls-campaign-ribbon::before,
.gwls-campaign-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    border: 6px solid transparent;
    border-top-color: #c04a2e;
}
.gwls-campaign-ribbon::before { left: 2px; }
.gwls-campaign-ribbon::after { right: 2px; }

/* 右上の円形ポップ */
.gwls-campaign-pop {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 92px; height: 92px;
    background: linear-gradient(135deg, #FFD166 0%, #FF6B35 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(0,0,0,0.22);
    transform: rotate(-8deg);
    z-index: 5;
    padding: 4px;
    text-align: center;
    border: 3px solid #fff;
}
.gwls-campaign-pop-top {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.gwls-campaign-pop-main {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    margin: 2px 0;
}
.gwls-campaign-pop-sub {
    font-size: 9px;
    font-weight: 700;
    opacity: 0.95;
}
@media (max-width: 640px) {
    .gwls-campaign-pop {
        width: 78px; height: 78px;
        top: 12px; right: 12px;
    }
    .gwls-campaign-pop-top { font-size: 10px; }
    .gwls-campaign-pop-main { font-size: 15px; }
    .gwls-campaign-pop-sub { font-size: 8px; }
}
.gwls-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.gwls-hero-tag svg { vertical-align: middle; margin-right: 4px; color: var(--soudan-primary); }
.gwls-hero-tag {
    display: inline-block;
    background: #fff;
    color: var(--soudan-trust);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid var(--soudan-border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.gwls-hero-catch {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.35;
    color: var(--soudan-text);
    letter-spacing: -0.01em;
}
.gwls-hero-sub {
    font-size: 16px;
    color: var(--soudan-text-muted);
    margin: 0 0 28px;
    line-height: 1.7;
}
.gwls-hero-note {
    margin: 16px 0 0;
    font-size: 13px;
    color: var(--soudan-text-muted);
}
@media (max-width: 640px) {
    .gwls-hero-catch { font-size: 25px; }
    .gwls-hero-sub { font-size: 15px; }
    .gwls-hero { padding: 44px 18px 40px; }
}

/* ====================================================
 * 共感パート
 * ==================================================== */
.gwls-empathy {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 20px 40px;
    text-align: center;
}
.gwls-empathy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    text-align: left;
}
@media (max-width: 640px) {
    .gwls-empathy-list { grid-template-columns: 1fr; }
}
.gwls-empathy-list li {
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid var(--soudan-border);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.5;
}
.gwls-empathy-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFF4ED;
    border-radius: 8px;
    color: var(--soudan-primary);
}
.gwls-empathy-lead {
    margin: 28px 0 0;
    font-size: 16px;
    color: var(--soudan-text);
    font-weight: 500;
    line-height: 1.9;
}

/* ====================================================
 * サービス紹介
 * ==================================================== */
.gwls-intro {
    background: var(--soudan-bg-alt);
    padding: 56px 20px;
    text-align: center;
}
.gwls-intro-lead {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 16px;
    color: var(--soudan-text);
}
.gwls-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}
.gwls-feature {
    background: #fff;
    padding: 28px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.gwls-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    margin: 0 auto 14px;
    background: #FFF4ED;
    border-radius: 14px;
    color: var(--soudan-primary);
}
.gwls-feature h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--soudan-trust);
}
.gwls-feature p {
    font-size: 14px;
    color: var(--soudan-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ====================================================
 * 流れ
 * ==================================================== */
.gwls-flow {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 20px;
}
.gwls-flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.gwls-flow-step {
    display: flex;
    gap: 18px;
    background: #fff;
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid var(--soudan-border);
    position: relative;
}
.gwls-flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 33px;
    width: 2px;
    height: 16px;
    background: var(--soudan-accent);
}
.gwls-flow-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--soudan-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
}
.gwls-flow-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--soudan-text);
}
.gwls-flow-body p {
    font-size: 14px;
    color: var(--soudan-text-muted);
    margin: 0;
    line-height: 1.75;
}
.gwls-flow-body small {
    color: var(--soudan-text-muted);
    font-size: 12px;
    display: block;
    margin-top: 4px;
}

/* ====================================================
 * 専門家カード
 * ==================================================== */
.gwls-experts-section {
    background: var(--soudan-bg-alt);
    padding: 56px 20px;
}
.gwls-experts-lead {
    text-align: center;
    margin: 0 auto 32px;
    max-width: 640px;
    font-size: 15px;
    color: var(--soudan-text-muted);
    line-height: 1.8;
}
.gwls-experts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.gwls-expert-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform .15s, box-shadow .15s;
}
.gwls-expert-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.gwls-expert-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--soudan-bg);
    overflow: hidden;
}
.gwls-expert-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gwls-expert-noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 72px;
    color: var(--soudan-accent);
}
.gwls-expert-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--soudan-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(232,116,97,0.4);
}
.gwls-expert-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.gwls-expert-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--soudan-text);
}
.gwls-expert-specialty {
    font-size: 13px;
    color: var(--soudan-trust);
    margin: 0;
    font-weight: 600;
}
.gwls-expert-lead {
    font-size: 13px;
    color: var(--soudan-text-muted);
    margin: 0 0 12px;
    line-height: 1.7;
    flex: 1;
}
.gwls-expert-card .gwls-cta {
    font-size: 14px;
    padding: 12px 20px;
    margin-top: auto;
}

/* ====================================================
 * 信頼要素
 * ==================================================== */
.gwls-trust {
    max-width: 960px;
    margin: 0 auto;
    padding: 56px 20px;
}
.gwls-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.gwls-trust-item {
    display: flex;
    gap: 14px;
    background: #fff;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid var(--soudan-border);
}
.gwls-trust-check {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--soudan-trust);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gwls-trust-check svg { display: block; }
.gwls-trust-item h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--soudan-text);
}
.gwls-trust-item p {
    font-size: 13px;
    color: var(--soudan-text-muted);
    margin: 0;
    line-height: 1.7;
}

/* ====================================================
 * FAQ
 * ==================================================== */
.gwls-faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 20px;
}
.gwls-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gwls-faq-item {
    background: #fff;
    border: 1px solid var(--soudan-border);
    border-radius: 12px;
    overflow: hidden;
}
.gwls-faq-item summary {
    list-style: none;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--soudan-text);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}
.gwls-faq-item summary::-webkit-details-marker { display: none; }
.gwls-faq-item summary::after {
    content: '＋';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--soudan-primary);
    transition: transform .2s;
}
.gwls-faq-item[open] summary::after {
    content: '−';
}
.gwls-faq-q {
    color: var(--soudan-primary);
    font-weight: 800;
    font-size: 17px;
    margin-right: 4px;
}
.gwls-faq-item p {
    padding: 0 20px 20px;
    margin: 0;
    font-size: 14px;
    color: var(--soudan-text-muted);
    line-height: 1.8;
    border-top: 1px dashed var(--soudan-border);
    padding-top: 14px;
}

/* ====================================================
 * 最終 CTA
 * ==================================================== */
.gwls-final-cta {
    background: linear-gradient(135deg, var(--soudan-primary) 0%, #F08A78 100%);
    color: #fff;
    padding: 64px 20px;
    text-align: center;
}
.gwls-final-title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
    line-height: 1.4;
}
.gwls-final-sub {
    font-size: 16px;
    opacity: 0.95;
    margin: 0 0 32px;
    line-height: 1.8;
    color: #fff;
}
.gwls-final-cta .gwls-cta {
    background: #fff;
    color: var(--soudan-primary) !important;
    border-color: #fff;
    font-size: 18px;
    padding: 18px 40px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.gwls-final-cta .gwls-cta:hover {
    background: #FFFAF5;
    color: var(--soudan-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}
@media (max-width: 640px) {
    .gwls-final-title { font-size: 23px; }
    .gwls-final-sub { font-size: 15px; }
}

/* ====================================================
 * Floating CTA（スマホ下部固定）
 * ==================================================== */
.gwls-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    transform: translateY(110%);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,250,245,0) 0%, rgba(255,250,245,0.95) 40%);
    pointer-events: none;
}
.gwls-floating-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}
.gwls-floating-cta .gwls-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 18px 20px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 14px;
    box-shadow:
        0 -2px 10px rgba(0,0,0,0.08),
        0 12px 28px rgba(232, 116, 97, 0.55),
        0 0 0 6px rgba(232, 116, 97, 0.12);
    animation: gwls-cta-pulse 2.8s ease-in-out infinite;
}
.gwls-floating-cta .gwls-cta:hover {
    animation-play-state: paused;
    transform: translateY(-2px);
}
@media (min-width: 1024px) {
    .gwls-floating-cta {
        left: auto;
        right: 24px;
        bottom: 24px;
        padding: 0;
        max-width: 360px;
        background: none;
        transform: translateY(160%);
    }
    .gwls-floating-cta .gwls-cta {
        width: auto;
        min-width: 280px;
    }
    .gwls-floating-cta.is-visible {
        transform: translateY(0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .gwls-floating-cta .gwls-cta { animation: none; }
}

/* ====================================================
 * Mid-CTA（v3: 中間CTA）
 * ==================================================== */
.gwls-mid-cta {
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(232,116,97,0.04) 0%, rgba(232,116,97,0.08) 100%);
    text-align: center;
    border-top: 1px solid rgba(232,116,97,0.12);
    border-bottom: 1px solid rgba(232,116,97,0.12);
}
.gwls-mid-cta-inner {
    max-width: 520px;
    margin: 0 auto;
}
.gwls-mid-cta-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--soudan-text);
    margin: 0 0 18px;
    line-height: 1.5;
}
.gwls-mid-cta .gwls-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 36px;
    font-size: 17px;
}
.gwls-mid-cta-sub {
    margin: 14px 0 0;
    font-size: 13px;
    color: var(--soudan-text-muted);
}
@media (max-width: 640px) {
    .gwls-mid-cta { padding: 32px 16px; }
    .gwls-mid-cta-text { font-size: 16px; }
    .gwls-mid-cta .gwls-cta {
        display: flex;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
    }
}

/* ====================================================
 * Empty / エラー
 * ==================================================== */
.gwls-empty {
    text-align: center;
    color: var(--soudan-text-muted);
    padding: 40px 20px;
}

/* ====================================================
 * Section reveal (軽量版フェードイン)
 * 大きなセクションを動かさず、中身の小要素だけフェードして
 * スクロール時の負荷を抑える
 * ==================================================== */
body.gwls-reveal-active .gwls-lp .gwls-section-title,
body.gwls-reveal-active .gwls-lp .gwls-empathy-list li,
body.gwls-reveal-active .gwls-lp .gwls-feature,
body.gwls-reveal-active .gwls-lp .gwls-flow-step,
body.gwls-reveal-active .gwls-lp .gwls-trust-item,
body.gwls-reveal-active .gwls-lp .gwls-faq-item,
body.gwls-reveal-active .gwls-lp .gwls-unique-card,
body.gwls-reveal-active .gwls-lp .gwls-pricing-card,
body.gwls-reveal-active .gwls-lp .gwls-expert-card {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.gwls-revealed {
    opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
    body.gwls-reveal-active .gwls-lp .gwls-section-title,
    body.gwls-reveal-active .gwls-lp .gwls-empathy-list li,
    body.gwls-reveal-active .gwls-lp .gwls-feature,
    body.gwls-reveal-active .gwls-lp .gwls-flow-step,
    body.gwls-reveal-active .gwls-lp .gwls-trust-item,
    body.gwls-reveal-active .gwls-lp .gwls-faq-item,
    body.gwls-reveal-active .gwls-lp .gwls-unique-card,
    body.gwls-reveal-active .gwls-lp .gwls-pricing-card,
    body.gwls-reveal-active .gwls-lp .gwls-expert-card {
        opacity: 1 !important;
        transition: none !important;
    }
}

/* =====================================================================
 * E：数字バッジ（累計実績）
 * ===================================================================== */
.gwls-stats {
    padding: 32px 20px 28px;
    text-align: center;
    background: linear-gradient(180deg, #FFFAF5 0%, #FFF6EF 100%);
}
.gwls-stats-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    max-width: 720px;
    margin: 0 auto;
}
.gwls-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}
.gwls-stat-num {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 800;
    line-height: 1;
    color: var(--soudan-primary);
    letter-spacing: -0.02em;
    font-feature-settings: 'tnum';
    white-space: nowrap;
}
.gwls-stat-num-suffix {
    font-size: 0.45em;
    margin-left: 2px;
    color: var(--soudan-text);
    font-weight: 700;
    letter-spacing: 0;
}
.gwls-stat-label {
    font-size: 13px;
    color: var(--soudan-text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
}
.gwls-stat-divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent 0%, rgba(232,116,97,0.3) 50%, transparent 100%);
    flex-shrink: 0;
}
.gwls-stats-caption {
    margin-top: 18px;
    font-size: 13px;
    color: var(--soudan-text-muted);
    line-height: 1.7;
}
/* スマホ：2項目を縦並びにしてそれぞれを大きく見せる */
@media (max-width: 640px) {
    .gwls-stats { padding: 30px 20px 26px; }
    .gwls-stats-inner {
        flex-direction: column;
        gap: 20px;
    }
    .gwls-stat {
        flex: 0 0 auto;
        width: 100%;
    }
    .gwls-stat-num {
        font-size: clamp(40px, 12vw, 56px);
    }
    .gwls-stat-num-suffix {
        font-size: 0.42em;
    }
    .gwls-stat-label {
        font-size: 12.5px;
    }
    .gwls-stat-divider {
        width: 60%;
        max-width: 200px;
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(232,116,97,0.35) 50%, transparent 100%);
    }
    .gwls-stats-caption {
        margin-top: 14px;
        font-size: 12px;
    }
}

/* =====================================================================
 * A：体験談カード（実際にご相談された方の声）
 * ===================================================================== */
.gwls-voices {
    padding: 56px 20px 52px;
    background: #fff;
}
.gwls-voices-lead {
    text-align: center;
    color: var(--soudan-text-muted);
    line-height: 1.8;
    margin: -8px auto 28px;
    font-size: 14px;
    max-width: 640px;
}
.gwls-voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}
.gwls-voice-card {
    display: flex;
    gap: 14px;
    padding: 18px 18px 18px 16px;
    background: #FFFAF5;
    border: 1px solid rgba(232,116,97,0.18);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(60,40,30,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gwls-voice-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(60,40,30,0.08);
}
.gwls-voice-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F0C8D8, #D4A5C9);
}
.gwls-voice-card[data-avatar="2"] .gwls-voice-avatar { background: linear-gradient(135deg, #FFD9B7, #F3A37D); }
.gwls-voice-card[data-avatar="3"] .gwls-voice-avatar { background: linear-gradient(135deg, #C7E0F4, #93BCE3); }
.gwls-voice-card[data-avatar="4"] .gwls-voice-avatar { background: linear-gradient(135deg, #DDE7C7, #A8C490); }
.gwls-voice-card[data-avatar="5"] .gwls-voice-avatar { background: linear-gradient(135deg, #F4D4E0, #E8A4BE); }
.gwls-voice-card[data-avatar="6"] .gwls-voice-avatar { background: linear-gradient(135deg, #E5D4F4, #B8A0DC); }
.gwls-voice-body {
    flex: 1;
    min-width: 0;
}
.gwls-voice-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.gwls-voice-nickname {
    font-weight: 700;
    color: var(--soudan-text);
    font-size: 14px;
}
.gwls-voice-text {
    font-size: 13px;
    line-height: 1.75;
    color: var(--soudan-text);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}
.gwls-voices-more {
    text-align: center;
    margin-top: 28px;
}
.gwls-voices-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border: 1.5px solid var(--soudan-primary);
    color: var(--soudan-primary);
    border-radius: 999px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease;
}
.gwls-voices-more-link:hover {
    background: var(--soudan-primary);
    color: #fff;
}
.gwls-voices-more-link svg { transition: transform 0.2s ease; }
.gwls-voices-more-link:hover svg { transform: translateX(3px); }

/* =====================================================================
 * 体験談セクション内：サブタイトル（区切り線つき）
 * ===================================================================== */
.gwls-voices-sub {
    margin: 36px auto 16px;
    max-width: 720px;
    padding: 0 8px;
}
.gwls-voices-subtitle {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    text-align: center;
    color: var(--soudan-text-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.gwls-voices-subtitle-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(232,116,97,0.35) 100%);
}
.gwls-voices-subtitle-line:last-child {
    background: linear-gradient(270deg, transparent 0%, rgba(232,116,97,0.35) 100%);
}
.gwls-voices-subtitle-text {
    flex-shrink: 0;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .gwls-voices-subtitle { font-size: 12.5px; gap: 10px; }
    .gwls-voices-sub { margin: 28px auto 12px; }
}

/* =====================================================================
 * C：流れる口コミ帯（マーキー）— 小さなアイコン付きピル
 * ===================================================================== */
.gwls-marquee {
    overflow: hidden;
    padding: 14px 0 18px;
    margin: 0 calc(50% - 50vw);  /* セクション内でも左右画面端まで広げる */
    width: 100vw;
    position: relative;
}
.gwls-marquee::before,
.gwls-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.gwls-marquee::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.gwls-marquee::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}
.gwls-marquee-track {
    display: flex;
    width: max-content;
    gap: 10px;
    padding: 4px 0;
    animation: gwls-marquee-scroll 90s linear infinite;
    will-change: transform;
}
.gwls-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    background: #FFFAF5;
    border: 1px solid rgba(232,116,97,0.18);
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(60,40,30,0.04);
    white-space: nowrap;
    font-size: 12.5px;
    color: var(--soudan-text);
    flex-shrink: 0;
}
.gwls-marquee-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0C8D8, #D4A5C9);
    flex-shrink: 0;
}
.gwls-marquee-item[data-avatar="2"] .gwls-marquee-avatar { background: linear-gradient(135deg, #FFD9B7, #F3A37D); }
.gwls-marquee-item[data-avatar="3"] .gwls-marquee-avatar { background: linear-gradient(135deg, #C7E0F4, #93BCE3); }
.gwls-marquee-item[data-avatar="4"] .gwls-marquee-avatar { background: linear-gradient(135deg, #DDE7C7, #A8C490); }
.gwls-marquee-item[data-avatar="5"] .gwls-marquee-avatar { background: linear-gradient(135deg, #F4D4E0, #E8A4BE); }
.gwls-marquee-item[data-avatar="6"] .gwls-marquee-avatar { background: linear-gradient(135deg, #E5D4F4, #B8A0DC); }
.gwls-marquee-quote {
    color: var(--soudan-text);
    line-height: 1.5;
}
.gwls-marquee-name {
    color: var(--soudan-primary);
    font-weight: 700;
    font-size: 11.5px;
    margin-left: 4px;
}
@keyframes gwls-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.gwls-marquee:hover .gwls-marquee-track {
    animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
    .gwls-marquee-track {
        animation: none !important;
    }
}
@media (max-width: 640px) {
    .gwls-marquee { padding: 12px 0 16px; }
    .gwls-marquee-item {
        font-size: 11.5px;
        padding: 6px 12px 6px 6px;
    }
    .gwls-marquee-avatar {
        width: 22px;
        height: 22px;
    }
    .gwls-marquee-name { font-size: 11px; }
    .gwls-voices { padding: 44px 16px 40px; }
    .gwls-voices-grid { gap: 12px; }
    .gwls-voice-card { padding: 14px; }
}
