@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Noto+Sans+JP:wght@400;500;700;800;900&display=swap');

/* =========================================
   リセット — SWELL競合回避
   ========================================= */
.gd-fv-section,
.gd-fv-section *,
.gd-fv-section *::before,
.gd-fv-section *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================
   ファーストビュー セクション
   ========================================= */
.gd-fv-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    /* アスペクト比 1600x740 = 46.25% → 高さ自動追従 */
    height: clamp(420px, 46.25vw, 888px);
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* ---- 背景レイヤー ---- */

/* 左: オレンジ波線 SVG — 高さ100%で左寄せ */
.gd-fv-bg-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-size: auto 100%;
    background-position: left top;
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* 右: 街並み＋ポラロイド — 右端に張り付き */
.gd-fv-bg-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}

/* =========================================
   コンテナ
   ========================================= */
.gd-fv-container {
    max-width: 1400px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 clamp(24px, 3vw, 60px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 10;
}

/* =========================================
   コンテンツ (左側)
   ========================================= */
.gd-fv-content {
    max-width: 600px;
    width: 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(16px, 2vw, 30px);
}

/* =========================================
   キャッチコピー
   ========================================= */
.gd-fv-catch-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(6px, 0.6vw, 12px);
}

.gd-fv-sub-catch {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "ヒラギノ角ゴ", "Noto Sans JP", sans-serif;
    font-size: clamp(18px, 1.8vw, 26px);
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 0.1em;
    line-height: 1.3;
}

.gd-fv-main-catch {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "ヒラギノ角ゴ", "Noto Sans JP", sans-serif;
    font-size: clamp(38px, 4vw, 64px);
    font-weight: 900;
    color: #1c1c1c;
    line-height: 1.25;
    letter-spacing: 0.03em;
}

.gd-fv-main-line1,
.gd-fv-main-line2 {
    display: block;
}

/* =========================================
   スタッツカード (3列)
   ========================================= */
.gd-fv-cards-container {
    display: flex;
    gap: clamp(6px, 0.8vw, 14px);
    width: 100%;
}

.gd-fv-card {
    flex: 1;
    border-radius: clamp(8px, 0.8vw, 14px);
    padding: clamp(10px, 1vw, 18px) clamp(8px, 0.6vw, 12px) clamp(10px, 0.8vw, 14px);
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                box-shadow 0.3s ease;
}

.gd-fv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

/* 各カード色 */
.gd-fv-card-1 { background-color: #E24A1E; }
.gd-fv-card-2 { background-color: #219B86; }
.gd-fv-card-3 { background-color: #C6923F; }

/* アイコン */
.gd-fv-card-icon {
    width: clamp(22px, 1.8vw, 32px);
    height: clamp(22px, 1.8vw, 32px);
    margin-bottom: clamp(2px, 0.3vw, 6px);
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    margin-left: clamp(4px, 0.4vw, 10px);
}

.gd-fv-card-icon svg {
    width: 100%;
    height: 100%;
    fill: #ffffff;
}

/* 数字 */
.gd-fv-card-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 2vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: clamp(2px, 0.2vw, 4px);
    letter-spacing: -0.01em;
}

/* ラベル */
.gd-fv-card-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(9px, 0.7vw, 13px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: clamp(1px, 0.15vw, 3px);
}

/* 注釈 */
.gd-fv-card-note {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(7px, 0.55vw, 10px);
    font-weight: 500;
    line-height: 1.3;
    opacity: 0.88;
    white-space: nowrap;
}

/* =========================================
   CTA ボタン
   ========================================= */
.gd-fv-btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.gd-fv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.5vw, 10px);
    background-color: #E05423;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: clamp(12px, 1vw, 18px) clamp(24px, 2.5vw, 44px);
    border-radius: 60px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(14px, 1.15vw, 20px);
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 18px rgba(224, 84, 35, 0.35);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    border: none;
    cursor: pointer;
}

.gd-fv-btn:hover {
    background-color: #e85d2c;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(224, 84, 35, 0.5);
    color: #ffffff !important;
    text-decoration: none !important;
}

.gd-fv-btn-text {
    white-space: nowrap;
}

/* 電球アイコン */
.gd-fv-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gd-fv-btn-icon svg {
    width: clamp(16px, 1.2vw, 22px);
    height: auto;
    fill: #ffffff;
    transition: transform 0.3s ease;
}

.gd-fv-btn:hover .gd-fv-btn-icon svg {
    transform: rotate(15deg) scale(1.1);
}

/* キラキラ装飾 */
.gd-fv-btn-sparkle {
    position: absolute;
    right: clamp(-14px, -1vw, -8px);
    top: clamp(-20px, -1.4vw, -12px);
    pointer-events: none;
    animation: gd-sparkle-float 3s ease-in-out infinite;
}

.gd-fv-btn-sparkle svg {
    width: clamp(24px, 2vw, 36px);
    height: auto;
}

@keyframes gd-sparkle-float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-4px) scale(1.1);
        opacity: 0.85;
    }
}

/* =========================================
   SP版: デフォルト非表示
   ========================================= */
.gd-fv-section-sp {
    display: none;
}

/* =========================================
   767px 以下: SP版レイアウト
   ========================================= */
@media (max-width: 767px) {
    /* PC版を非表示 */
    .gd-fv-section.gd-fv-pc {
        display: none !important;
    }

    /* SP版を表示 — 親コンテナのpadding無視で全幅 */
    .gd-fv-section-sp {
        display: block;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
        background: #ffffff;
    }

    /* リセット */
    .gd-fv-section-sp,
    .gd-fv-section-sp *,
    .gd-fv-section-sp *::before,
    .gd-fv-section-sp *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    /* ---- 上部: オレンジウェーブ + テキスト ---- */
    .gd-fv-sp-top {
        position: relative;
        background: #ffffff;
        padding-bottom: 6px;
    }

    .gd-fv-sp-wave-top {
        display: block;
        width: 100%;
        height: clamp(30px, 10vw, 50px);
        object-fit: cover;
        object-position: bottom;
    }

    .gd-fv-sp-catch {
        padding: 10px 20px 0;
        text-align: center;
    }

    .gd-fv-sp-catch .gd-fv-sub-catch {
        font-size: clamp(16px, 4.5vw, 20px);
        font-weight: 800;
        color: #1a1a1a;
        margin-bottom: 6px;
        letter-spacing: 0.1em;
    }

    .gd-fv-sp-catch .gd-fv-main-catch {
        font-size: clamp(28px, 8.5vw, 38px);
        font-weight: 900;
        color: #1c1c1c;
        line-height: 1.25;
        letter-spacing: 0.01em;
    }

    .gd-fv-sp-catch .gd-fv-main-line1,
    .gd-fv-sp-catch .gd-fv-main-line2 {
        display: block;
    }

    /* ---- 中部: 街並み写真 ---- */
    .gd-fv-sp-photo {
        width: 100%;
        overflow: hidden;
    }

    .gd-fv-sp-photo img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* ---- 装飾: オレンジウェーブライン ---- */
    .gd-fv-sp-wave-bottom {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 1;
        pointer-events: none;
        line-height: 0;
    }

    .gd-fv-sp-wave-bottom img {
        display: block;
        width: 50%;
        height: auto;
        padding: 0;
    }

    /* ---- 下部: ボタン + カード ---- */
    .gd-fv-sp-bottom {
        position: relative;
        background: #ffffff;
        padding: 16px 16px 45px;
        overflow: hidden;
    }

    .gd-fv-sp-bottom-inner {
        position: relative;
        z-index: 2;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* ボタン中央寄せ */
    .gd-fv-sp-btn-wrapper {
        justify-content: center;
    }

    .gd-fv-sp-btn-wrapper .gd-fv-btn {
        font-size: 16px;
        padding: 12px 28px;
    }

    /* カード3列横並び */
    .gd-fv-sp-bottom .gd-fv-cards-container {
        display: flex;
        gap: 6px;
        width: 100%;
    }

    .gd-fv-sp-bottom .gd-fv-card {
        flex: 1;
        min-width: 0;
        border-radius: 8px;
        padding: 8px 4px 8px;
    }

    .gd-fv-sp-bottom .gd-fv-card-num {
        font-size: 20px;
    }

    .gd-fv-sp-bottom .gd-fv-card-label {
        font-size: 10px;
    }

    .gd-fv-sp-bottom .gd-fv-card-note {
        font-size: 7px;
    }

    .gd-fv-sp-bottom .gd-fv-card-icon {
        width: 20px;
        height: 20px;
    }
}


/* =========================================
   768px–1024px: タブレット微調整
   ========================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    .gd-fv-content {
        width: 50%;
        max-width: 480px;
    }

    .gd-fv-bg-left {
        width: 58%;
    }

    .gd-fv-bg-right {
        width: 52%;
    }
}
