/*
 * SETTAR HERO
 * v16
 * Single Layer Hero
 * Desktop Balanced Visual
 * Mobile Fixed Copy Lines
 */


/* =========================================================
   HOME
========================================================= */

.home .c-pageTitle {
    display: none !important;
}

.home .l-content {
    padding-top: 14px !important;
}


/* =========================================================
   HERO
========================================================= */

.settar-hero {
    position: relative;

    width: min(1440px, calc(100% - 32px));
    min-height: 680px;

    margin:
        0
        auto !important;

    padding:
        clamp(84px, 7vw, 110px)
        clamp(48px, 6vw, 92px);

    overflow: hidden;

    border-radius: 32px;

    background:
        radial-gradient(
            circle at 82% 26%,
            rgba(49, 121, 200, .24),
            transparent 34%
        ),
        radial-gradient(
            circle at 68% 80%,
            rgba(90, 168, 255, .10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #07172f 0%,
            #091d3d 52%,
            #0b244b 100%
        );

    box-shadow:
        0 24px 70px rgba(7, 23, 47, .16);

    box-sizing: border-box;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.settar-hero::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -120px;

    width: 560px;
    height: 560px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(90, 168, 255, .14) 0%,
            rgba(90, 168, 255, .05) 42%,
            transparent 72%
        );

    pointer-events: none;
}

.settar-hero::after {
    content: "";

    position: absolute;

    right: 8%;
    bottom: -270px;

    width: 560px;
    height: 560px;

    border:
        1px solid rgba(255, 255, 255, .05);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   CONTENT
========================================================= */

.settar-hero-content {
    position: relative;

    z-index: 5;

    width: min(100%, 820px);
    max-width: 820px;

    margin: 0 !important;
}


/* =========================================================
   BRAND
========================================================= */

.settar-hero-brand {
    width: auto;

    margin:
        0
        0
        18px !important;

    padding: 0 !important;

    background: none !important;

    border: 0 !important;

    box-shadow: none !important;

    color: #5aa8ff;

    font-size: 13px !important;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}

.settar-hero-brand::before,
.settar-hero-brand::after {
    content: none !important;

    display: none !important;
}


/* =========================================================
   MAIN COPY
========================================================= */

.settar-hero-copy {
    width: 100%;
    max-width: 780px;

    margin:
        0
        0
        28px !important;

    padding: 0 !important;

    background: none !important;

    border: 0 !important;

    box-shadow: none !important;

    color: #ffffff;

    font-size:
        clamp(
            56px,
            5.5vw,
            82px
        ) !important;

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -.05em;

    word-break: keep-all;

    overflow-wrap: normal;
}

.settar-hero-copy::before,
.settar-hero-copy::after {
    content: none !important;

    display: none !important;
}

.settar-hero-copy-line {
    display: block;

    white-space: nowrap;
}


/* =========================================================
   LEAD
========================================================= */

.settar-hero-lead {
    width: 100%;
    max-width: 650px;

    margin:
        0
        0
        34px !important;

    color:
        rgba(
            255,
            255,
            255,
            .76
        );

    font-size: 16px;

    line-height: 1.9;
}


/* =========================================================
   ACTIONS
========================================================= */

.settar-hero-actions {
    display: flex !important;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin: 0 !important;
}

.settar-hero-actions
.wp-block-button__link {
    display: inline-flex !important;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        12px
        24px !important;

    border-radius: 999px !important;

    font-size: 14px;

    font-weight: 700;

    text-decoration: none !important;

    transition:
        transform .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


/* PRIMARY */

.settar-hero-actions
.wp-block-button:first-child
.wp-block-button__link {
    border:
        1px solid #3179c8 !important;

    background:
        #3179c8 !important;

    color:
        #ffffff !important;

    box-shadow:
        0 10px 26px rgba(49, 121, 200, .24);
}

.settar-hero-actions
.wp-block-button:first-child
.wp-block-button__link:hover {
    transform:
        translateY(-2px);

    background:
        #4189d8 !important;

    box-shadow:
        0 14px 32px rgba(49, 121, 200, .32);
}


/* SECONDARY */

.settar-hero-actions
.wp-block-button:not(:first-child)
.wp-block-button__link {
    border:
        1px solid rgba(255, 255, 255, .22) !important;

    background:
        rgba(255, 255, 255, .05) !important;

    color:
        #ffffff !important;

    box-shadow: none !important;
}

.settar-hero-actions
.wp-block-button:not(:first-child)
.wp-block-button__link:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(255, 255, 255, .40) !important;

    background:
        rgba(255, 255, 255, .10) !important;
}


/* =========================================================
   VISUAL
   DESKTOP
========================================================= */

.settar-hero-visual {
    position: absolute;

    z-index: 2;

    top: 50%;
    right: 42px;

    transform:
        translateY(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    width: 400px;
    height: 400px;

    max-width: 400px;
    min-width: 0;
    min-height: 0;

    margin: 0 !important;

    opacity: .82;

    pointer-events: none;
}


/* =========================================================
   SYMBOL
========================================================= */

.settar-hero-symbol {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 330px;
    max-width: 330px;

    aspect-ratio: 1;

    border:
        1px solid rgba(255, 255, 255, .08);

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(49, 121, 200, .13),
            rgba(7, 23, 47, .10) 62%,
            transparent 72%
        );

    box-shadow:
        inset
        0
        0
        70px rgba(90, 168, 255, .06);

    animation:
        settarFloat
        5s
        ease-in-out
        infinite;
}

.settar-hero-symbol::before {
    content: "";

    position: absolute;

    inset: 11%;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 50%;
}

.settar-hero-symbol::after {
    content: none !important;

    display: none !important;
}

.settar-hero-symbol
figure {
    position: relative;

    z-index: 2;

    margin: 0 !important;
}

.settar-hero-symbol
img {
    position: relative;

    z-index: 2;

    display: block;

    width: 64% !important;

    max-width: 215px !important;

    height: auto;

    margin:
        0
        auto !important;
}


/* =========================================================
   ORBIT LABELS
========================================================= */

.settar-orbit-label {
    position: absolute;

    z-index: 4;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 34px;

    margin: 0 !important;

    padding:
        7px
        14px;

    border:
        1px solid rgba(255, 255, 255, .16);

    border-radius: 999px;

    background:
        rgba(7, 23, 47, .72);

    color:
        rgba(255, 255, 255, .82);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, .14);

    backdrop-filter:
        blur(8px);

    -webkit-backdrop-filter:
        blur(8px);

    font-size: 12px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: .03em;

    animation:
        settarLabelFloat
        4.5s
        ease-in-out
        infinite;
}


/* Growth */

.settar-orbit-growth {
    top: 8%;
    left: 7%;

    animation-delay: 0s;
}


/* Field */

.settar-orbit-field {
    top: 25%;
    right: 5%;

    animation-delay: .6s;
}


/* Japan */

.settar-orbit-japan {
    bottom: 18%;
    left: 5%;

    animation-delay: 1.1s;
}


/* AI / DX */

.settar-orbit-ai {
    right: 7%;
    bottom: 7%;

    animation-delay: 1.7s;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes settarFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px);
    }
}

@keyframes settarLabelFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-6px);
    }
}


/* =========================================================
   DESKTOP NARROW
========================================================= */

@media (max-width: 1180px) and (min-width: 769px) {

    .settar-hero {
        min-height: 650px;

        padding:
            74px
            48px;
    }

    .settar-hero-content {
        max-width: 700px;
    }

    .settar-hero-copy {
        max-width: 680px;

        font-size:
            clamp(
                50px,
                6vw,
                70px
            ) !important;
    }

    .settar-hero-visual {
        right: 28px;

        width: 360px;
        height: 360px;

        max-width: 360px;

        opacity: .76;
    }

    .settar-hero-symbol {
        width: 300px;
        max-width: 300px;
    }

    .settar-hero-symbol
    img {
        max-width: 195px !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) and (min-width: 769px) {

    .settar-hero {
        min-height: 620px;

        padding:
            66px
            36px;
    }

    .settar-hero-content {
        max-width: 620px;
    }

    .settar-hero-copy {
        max-width: 610px;

        font-size:
            clamp(
                46px,
                6.6vw,
                62px
            ) !important;
    }

    .settar-hero-lead {
        max-width: 560px;
    }

    .settar-hero-visual {
        right: 16px;

        width: 330px;
        height: 330px;

        max-width: 330px;

        opacity: .60;
    }

    .settar-hero-symbol {
        width: 270px;
        max-width: 270px;
    }

    .settar-hero-symbol
    img {
        max-width: 175px !important;
    }

    .settar-orbit-label {
        font-size: 11px;

        padding:
            6px
            11px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    .home .l-content {
        padding-top:
            10px !important;
    }


    .settar-hero {
        width:
            calc(100% - 20px);

        min-height: 0;

        height: auto;

        padding:
            48px
            22px
            34px;

        border-radius: 22px;
    }


    /* CONTENT */

    .settar-hero-content {
        position: relative;

        z-index: 5;

        width: 100%;

        max-width: none;

        margin: 0 !important;
    }


    .settar-hero-brand {
        margin-bottom:
            14px !important;

        font-size:
            12px !important;
    }


    .settar-hero-copy {
        width: 100%;

        max-width: none;

        margin-bottom:
            22px !important;

        /*
         * 2行固定を優先しつつ、
         * 320px級まで安全に収める
         */
        font-size:
            clamp(
                30px,
                8.8vw,
                46px
            ) !important;

        line-height: 1.08;

        letter-spacing: -.035em;

        word-break: keep-all !important;

        overflow-wrap: normal !important;
    }


    .settar-hero-copy-line {
        display: block;

        white-space: nowrap;
    }


    .settar-hero-lead {
        width: 100%;

        max-width: none;

        margin-bottom:
            28px !important;

        font-size: 15px;

        line-height: 1.85;
    }


    /* BUTTONS */

    .settar-hero-actions {
        flex-direction:
            column;

        align-items:
            stretch;

        gap: 10px;

        margin-bottom:
            34px !important;
    }


    .settar-hero-actions
    .wp-block-button {
        width: 100%;
    }


    .settar-hero-actions
    .wp-block-button__link {
        width: 100%;

        min-height: 48px;
    }


    /* =====================================================
       VISUAL
       CTAの下に通常フローで表示
    ===================================================== */

    .settar-hero-visual {
        position: relative;

        z-index: 2;

        top: auto;
        right: auto;
        bottom: auto;
        left: auto;

        transform: none;

        display: flex;

        align-items: center;

        justify-content: center;

        width:
            min(
                100%,
                340px
            );

        height: 340px;

        max-width: 340px;

        min-height: 340px;

        margin:
            0
            auto !important;

        opacity: 1;

        pointer-events: none;
    }


    /* SYMBOL */

    .settar-hero-symbol {
        width: 245px;

        max-width: 245px;

        opacity: 1;
    }


    .settar-hero-symbol
    img {
        width: 68% !important;

        max-width: 170px !important;

        margin:
            0
            auto !important;
    }


    /* LABELS */

    .settar-orbit-label {
        display: inline-flex !important;

        min-height: 28px;

        padding:
            6px
            10px;

        font-size: 10px;

        line-height: 1;

        opacity: 1;
    }


    .settar-orbit-growth {
        top: 7%;
        left: 5%;
    }


    .settar-orbit-field {
        top: 27%;
        right: 2%;
    }


    .settar-orbit-japan {
        bottom: 20%;
        left: 3%;
    }


    .settar-orbit-ai {
        right: 4%;
        bottom: 7%;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .home .l-content {
        padding-top:
            8px !important;
    }


    .settar-hero {
        width:
            calc(100% - 16px);

        padding:
            42px
            18px
            30px;

        border-radius: 20px;
    }


    .settar-hero-copy {
        font-size:
            clamp(
                29px,
                8.5vw,
                38px
            ) !important;
    }


    .settar-hero-actions {
        margin-bottom:
            28px !important;
    }


    .settar-hero-visual {
        width: 300px;

        height: 300px;

        max-width: 100%;

        min-height: 300px;
    }


    .settar-hero-symbol {
        width: 215px;

        max-width: 215px;
    }


    .settar-hero-symbol
    img {
        max-width: 150px !important;
    }


    .settar-orbit-label {
        min-height: 26px;

        padding:
            5px
            9px;

        font-size: 9px;
    }


    .settar-orbit-growth {
        top: 7%;
        left: 3%;
    }


    .settar-orbit-field {
        top: 26%;
        right: 0;
    }


    .settar-orbit-japan {
        bottom: 19%;
        left: 1%;
    }


    .settar-orbit-ai {
        right: 2%;
        bottom: 6%;
    }
}


/* =========================================================
   EXTRA SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .settar-hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .settar-hero-copy {
        font-size: 28px !important;
        letter-spacing: -.04em;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .settar-hero-symbol,
    .settar-orbit-label {
        animation:
            none !important;
    }
}