/* =========================================================
   geo-sell-diagnosis  –  redesigned
========================================================= */

.geo-diagnosis-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 16px;
    box-sizing: border-box;
}

.geo-diagnosis {
    width: 100%;
    max-width: 860px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(4, 56, 76, 0.10);
}

/* =========================
   header
========================= */

.geo-diagnosis-head {
    position: relative;
    text-align: center;
    padding: 36px 48px 28px;
    background: linear-gradient(150deg, #04384c 0%, #075d7a 100%);
    overflow: hidden;
    box-sizing: border-box;
}

/* 装飾：背景の円 */

.geo-diagnosis-head::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.geo-diagnosis-head::after {
    content: "";
    position: absolute;
    bottom: -70px;
    left: -30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

/* SWELLのheadingデフォルトスタイルを打ち消す */

.geo-title {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    font-size: 28px;
    line-height: 1.45;
    font-weight: 700;
    color: #ffffff !important;
    text-align: center !important;
    box-sizing: border-box;
    word-break: keep-all;
    overflow-wrap: break-word;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

.geo-title-lead {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    text-align: center;
    background: none !important;
}

/* =========================
   body
========================= */

.geo-diagnosis-body {
    padding: 36px 48px 44px;
    min-height: 180px;
    text-align: center;
    box-sizing: border-box;
}

.geo-step {
    animation: geoFadeUp .35s ease both;
}

/* =========================
   badges
========================= */

.geo-stage-badge,
.geo-result-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    padding: 6px 18px !important;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0 auto 22px auto !important;
    box-sizing: border-box;
    background-image: none !important;
}

/* QUESTIONバッジ → オレンジアクセント */

.geo-stage-badge {
    background: rgba(255, 132, 0, 0.08) !important;
    color: #c96200;
    border: 1px solid rgba(255, 132, 0, 0.22);
}

.geo-result-badge {
    background: rgba(255, 132, 0, 0.10) !important;
    color: #c96200;
    border: 1px solid rgba(255, 132, 0, 0.22);
}

/* =========================
   question
========================= */

.geo-question {
    position: relative;
    margin: 0 0 26px 0 !important;
    padding: 0 56px;
    font-size: 22px;
    line-height: 1.65;
    font-weight: 700;
    color: #1a2c35;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    background: none !important;
}

/* \\ // 装飾 → オレンジ */

.geo-question::before,
.geo-question::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 4px;
    height: 36px;
    background: rgba(255, 132, 0, 0.65);
    border-radius: 2px;
    margin-top: -18px;
    pointer-events: none;
}

.geo-question::before {
    left: 10px;
    transform: rotate(-20deg);
    box-shadow: 10px 0 0 rgba(255, 132, 0, 0.65);
}

.geo-question::after {
    right: 10px;
    transform: rotate(20deg);
    box-shadow: -10px 0 0 rgba(255, 132, 0, 0.65);
}

/* =========================
   buttons
========================= */

.geo-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 540px;
    margin: 0 auto;
}

button.geo-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 24px !important;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
    line-height: 1 !important;
    border: 1.5px solid rgba(4, 56, 76, 0.22);
    background: #ffffff;
    color: #04384c;
    box-shadow: none;
}

button.geo-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* YES → オレンジ */

.geo-btns button.geo-btn:first-child {
    background: #ff8400;
    color: #ffffff;
    border-color: #ff8400;
    box-shadow: 0 4px 14px rgba(255, 132, 0, 0.28);
}

.geo-btns button.geo-btn:first-child:hover {
    background: #e67600;
    border-color: #e67600;
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.38);
    transform: translateY(-1px);
}

/* NO → 白ベース・ホバーでティール */

.geo-btns button.geo-btn:last-child {
    background: #ffffff;
    color: #04384c;
    border: 1.5px solid rgba(4, 56, 76, 0.22);
    box-shadow: none;
}

.geo-btns button.geo-btn:last-child:hover {
    background: #04384c;
    color: #ffffff;
    border-color: #04384c;
    transform: translateY(-1px);
}

/* =========================
   result
========================= */

.geo-result {
    text-align: center;
    animation: geoFadeUp .35s ease both;
}

/* 結果タイプ A/B/C/D */

.geo-result-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 132, 0, 0.12);
    color: #c96200;
    font-size: 22px;
    font-weight: 700;
    margin: 0 auto 16px auto;
    letter-spacing: 0;
    box-shadow: 0 2px 10px rgba(255, 132, 0, 0.18);
}

/* 結果見出し */

.geo-result-label {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #04384c !important;
    line-height: 1.4 !important;
    margin: 0 0 18px 0 !important;
    text-align: center;
    background: none !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 結果説明文 */

.geo-result-note {
    font-size: 14px;
    line-height: 1.85;
    color: #5a6e77;
    margin: 0 0 26px 0 !important;
    text-align: left;
    background: none !important;
}

/* 結果ボタンエリア */

.geo-result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
}

/* もう一度診断する */

button.geo-btn.geo-restart {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #ffffff;
    color: #04384c;
    border: 1.5px solid rgba(4, 56, 76, 0.22);
    box-shadow: none;
}

button.geo-btn.geo-restart:hover {
    background: #04384c;
    color: #ffffff;
    border-color: #04384c;
    transform: translateY(-1px);
}

/* お問い合わせはこちら */

.geo-contact-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 52px;
    height: 52px;
    margin: 0;
    padding: 0 24px;
    box-sizing: border-box;
    border: 1.5px solid #ff8400;
    border-radius: 10px;
    background: #ff8400;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(255, 132, 0, 0.28);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.geo-contact-btn:hover,
.geo-contact-btn:focus {
    background: #e67600;
    border-color: #e67600;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.38);
    transform: translateY(-1px);
    outline: none;
}

/* =========================
   tablet
========================= */

@media (max-width: 1024px) {
    .geo-diagnosis-head {
        padding: 30px 36px 24px;
    }

    .geo-title {
        font-size: 26px;
    }

    .geo-diagnosis-body {
        padding: 30px 36px 38px;
    }
}

/* =========================
   mobile
========================= */

@media (max-width: 767px) {
    .geo-diagnosis-wrap {
        padding: 24px 12px;
    }

    .geo-diagnosis {
        border-radius: 16px;
    }

    .geo-diagnosis-head {
        padding: 22px 20px 18px;
    }

    .geo-diagnosis-head::before {
        width: 140px;
        height: 140px;
        top: -36px;
        right: -36px;
    }

    .geo-diagnosis-head::after {
        width: 120px;
        height: 120px;
        bottom: -50px;
        left: -20px;
    }

    .geo-title {
        font-size: 20px;
        line-height: 1.5;
    }

    .geo-title-lead {
        font-size: 12px;
        line-height: 1.7;
    }

    .geo-diagnosis-body {
        padding: 24px 20px 30px;
    }

    .geo-stage-badge,
    .geo-result-badge {
        font-size: 10px;
        padding: 5px 14px !important;
        margin-bottom: 18px !important;
    }

    .geo-question {
        padding: 0 44px;
        font-size: 18px;
        line-height: 1.7;
        margin-bottom: 22px !important;
    }

    .geo-question::before,
    .geo-question::after {
        width: 3px;
        height: 28px;
        margin-top: -14px;
    }

    .geo-question::before {
        left: 8px;
        box-shadow: 8px 0 0 rgba(255, 132, 0, 0.65);
    }

    .geo-question::after {
        right: 8px;
        box-shadow: -8px 0 0 rgba(255, 132, 0, 0.65);
    }

    button.geo-btn {
        min-height: 48px !important;
        height: 48px !important;
        font-size: 14px;
    }

    .geo-result-label {
        font-size: 20px !important;
    }

    .geo-result-code {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .geo-result-actions {
        max-width: 100%;
        gap: 10px;
    }

    .geo-contact-btn {
        min-height: 48px;
        height: 48px;
        font-size: 14px;
    }
}

/* =========================
   animation
========================= */

@keyframes geoFadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}