/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    color: var(--text-color);
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --highlight-color: #CA3E40;
    --base-color: #29150A;
    --background-color: #F5F0E7;
    --theme-color: #389359;
    --text-color: #524137;
    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}



.br {
    border-radius: 20px;
}


.section {
    width: 100%;
}

/* Footer Styles */
.footer {
    background-color: var(--base-color);
    color: #fff;
    padding: 100px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    height: 200px;
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 50px;
}

.footer-logo img {
    width: 160px;
    margin-bottom: 10px;
}

.footer-address {
    p:not(:last-child) {
        margin: 0 0 10px;
    }

    a {
        color: white;
        text-decoration: none;
    }
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    flex: 1;
    align-items: flex-end;
}

.footer-nav ul {
    list-style: none;
    display: flex;
}

.footer-nav li {
    margin-left: 20px;
}

.footer-nav a {
    text-decoration: none;
    color: #fff;
}

.footer-copyright p {
    margin-top: 10px;
    font-size: 12px;
}

img {
    max-width: 100%;
}

body {
    font-family: var(--font-ja);
}


.section-inner {
    max-width: 1440px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    /* background-color: var(--background-color); */
    color: var(--text-color);
    padding: 20px 75px 20px 30px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    z-index: 1000;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* max-width: 1324px; */
    margin: 0 auto;
    width: 100%;
    gap: 30px;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--base-color);
    font-size: 13px;
}

.header-logo img {
    max-width: 150px;
    margin-right: 25px;
}

.header-nav {
    flex-grow: 1;
}

.header-nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}

.header-nav li {
    /* margin-left: 20px; */
}

.header-nav a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: var(--highlight-color);
}

.header-contact .button {
    background-color: var(--highlight-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;

    img {
        max-width: 20px;
        margin-right: 10px;
    }
}

.header-contact .button:hover {
    background-color: darken(var(--highlight-color), 10%);
}





footer {
    background-color: var(--base-color);
    color: white;
}




/* -------------------------------
トップページ
------------------------------- */


.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    max-width: 280px;
    width: 80%;
    background-color: white;
    height: 65px;
    color: #3F2B1E;
    text-decoration: none;
    font-family: var(--font-en);
    font-weight: 500;
    background-image: url(./img/btn_arrow.png);
    background-position: 90% center;
    background-repeat: no-repeat;
    background-size: 14px;
}

h2.temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;

    .en {
        font-family: var(--font-en);
        color: #CA3E40;
        font-weight: 800;
        font-size: 28px;
        margin-bottom: 30px;
    }

    .ja {
        font-size: 38px;
        font-weight: 600;
        letter-spacing: 2px;
    }
}


.front {
    .sec1 {
        margin-bottom: 50px;



        .section-inner {
            display: flex;
            justify-content: center;
        }

        .radi {
            border-radius: 20px;
            width: 95%;
            max-width: 95%;
            margin: 0 auto;
            height: 854px;
            position: relative;
            overflow: hidden;

            .bg-slider {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }

            .slide {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center;
                opacity: 0;
                transition: opacity 1.5s ease-in-out;
            }

            .slide.active {
                opacity: 1;
            }

            .copy {
                position: absolute;
                left: 90px;
                top: 130px;
                z-index: 2;

                .bg_white {
                    color: var(--text-color);
                    font-size: 44px;
                    flex-direction: column;
                    font-weight: 700;
                    margin-bottom: 10px;
                    display: flex;
                    justify-content: flex-start;
                    align-items: flex-start;
                    gap: 3px;

                    div {
                        display: block;
                        flex: 0 0 auto;
                        padding: 3px 10px 7px;
                        line-height: 1;
                        margin-bottom: 10px;
                        background-color: white;
                        letter-spacing: 2px;
                    }
                }

                .text_white {
                    font-size: 24px;
                    font-weight: 600;
                    color: white;
                    line-height: 1.6;
                }
            }
        }

    }

    .sec2 {
        margin-bottom: 30px;

        .section-inner {
            display: flex;
            max-width: 1324px;
            justify-content: space-between;

            /* flex-wrap: wrap; */
            .left {
                flex: 0 0 56%;
                padding: 9% 6%;
                color: white;
                background-color: var(--theme-color);

                .top {
                    .en {
                        font-family: var(--font-en);
                        font-size: 28px;
                        font-weight: 800;
                        margin-bottom: 23px;
                    }

                    .copy {
                        font-size: 34px;
                        font-weight: bold;
                        letter-spacing: 1px;
                        line-height: 1.7;
                        margin-bottom: 20px;
                    }

                    .subcopy {
                        font-size: 23px;
                        font-weight: bold;
                        margin-bottom: 70px;
                    }
                }

                .middle {
                    margin-bottom: 100px;

                    p {
                        font-size: 18px;
                        line-height: 1.8;
                        margin-bottom: 35px;
                    }

                }
            }

            .right {
                flex: 0 0 40%;
                position: relative;
                overflow: hidden;
            }

            .bg-slider-sec2 {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                z-index: 1;
            }

            .slide-sec2 {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-size: cover;
                background-position: center;
                opacity: 0;
                transition: opacity 1.5s ease-in-out;
            }

            .slide-sec2.active {
                opacity: 1;
            }
        }
    }

    .sec3 {

        .section-inner {
            max-width: 1324px;
            background-color: #F8F8F8;
            padding: 110px 60px 80px;

            .desc {
                text-align: center;
                line-height: 1.8;
                font-size: 18px;
            }

            .f_wrap {
                display: flex;
                justify-content: space-between;
                margin-top: 90px;

                .sec3_fwrap_box {
                    flex: 0 0 31%;
                    border-radius: 20px;
                    background-color: white;
                    padding: 80px 40px 60px;


                    .title {
                        margin-top: 60px;
                        margin-bottom: 20px;

                        .small {
                            font-size: 16px;
                            font-weight: 500;
                            margin-bottom: 10px;
                        }

                        .large {
                            font-size: 24px;
                            font-weight: 500;
                        }
                    }

                    .text {
                        font-size: 18px;
                        line-height: 1.8;
                    }
                }

                .sec3_fwrap_box>div:first-child {
                    text-align: center;

                    img {
                        max-width: 150px;
                    }
                }
            }



            .flowwrap {
                margin-top: 60px;

                .flowbox {
                    border-radius: 20px;
                    position: relative;
                    color: white;
                    padding: 80px;
                    margin-bottom: 30px;

                    .number {
                        position: absolute;
                        left: 30px;
                        top: 30px;
                        font-size: 128px;
                        font-weight: 900;
                        color: white;
                        font-family: var(--font-en);
                        z-index: 9;
                    }



                    .flowbox_f_wrap {
                        display: flex;
                        justify-content: space-between;
                        align-items: center;
                    }

                    .flowbox_f_wrap>div:first-child {
                        flex: 0 0 49%;

                        img {
                            border-radius: 20px;
                        }
                    }

                    .flowbox_f_wrap>div:last-child {
                        flex: 0 0 45%;
                        font-size: 18px;
                        line-height: 1.8;

                        h3 {
                            font-size: 30px;
                            font-weight: 500;
                            margin-bottom: 20px;
                        }
                    }
                }

                .flowbox:nth-child(1) {
                    background-color: #E47F6B;
                }

                .flowbox:nth-child(2) {
                    background-color: #DBBB68;
                }

                .flowbox:nth-child(3) {
                    background-color: #6EABD1;
                }

                .flowbox:nth-child(4) {
                    background-color: #72B89C;
                }


            }
        }

        .btn_wrap {
            margin-top: 70px;
        }

        .btn {
            width: 385px;
            max-width: 90vw;
            margin: 0 auto;
            background-color: var(--highlight-color);
            color: white;
            background-image: url(./img/btn_arrow_white.png);
        }
    }

    .sec4 {
        background-color: #F5F0E7;
        margin-top: 45px;

        .section-inner {
            padding-top: 105px;
            max-width: 1200px;
            margin: 0 auto;
            padding-bottom: 110px;

            h2 {
                margin-bottom: 100px;
            }

            .serviceflex {
                display: flex;
                margin-bottom: 20px;
                justify-content: space-between;

                .circle {
                    border-radius: 50px;
                    border: 3px solid var(--highlight-color);
                    color: var(--highlight-color);
                    display: inline-block;
                    font-size: 14px;
                    line-height: 1;
                    padding: 6px 15px;
                    margin-bottom: 20px;
                    font-weight: bold;
                }

                .circle.green {
                    border-color: var(--theme-color);
                    color: var(--theme-color);
                }

                h3 {
                    font-size: 28px;
                    font-weight: 700;
                    margin-bottom: 20px;
                }

                p {
                    font-size: 18px;
                    line-height: 1.9;
                }
            }

            .serviceflex>div:first-child {
                flex: 0 0 38%;
            }

            .serviceflex>div:last-child {
                flex: 0 0 43%;
                position: relative;

                img.poab {
                    position: absolute;
                    left: -161px;
                    bottom: -160px;
                    max-width: 180px;
                    z-index: 99;
                }
            }

            .serviceflex1 {
                .sf1img {
                    /* margin: 0 20px; */
                }

                .right {
                    padding: 0 30px;
                    text-align: center;
                }
            }

            .serviceflex2 {
                .right {
                    padding-top: 30px;
                }
            }

        }
    }

    .sec5 {
        padding-top: 120px;

        .faqwrap_box {
            max-width: 995px;
            margin: 70px auto;
        }

        .faqwrap {
            border-radius: 20px;
            background-color: #F5F0E7;
            padding: 20px 50px;
            margin-bottom: 20px;

            .q {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }

            .q>span:first-child {
                font-family: var(--font-en);
                font-weight: 800;
                font-size: 28px;
                margin-right: 10px;
            }

            .q>span:nth-child(2) {
                font-size: 22px;
                font-weight: 700;
                flex-grow: 1;
            }

            .q>div:nth-child(3) {
                margin-right: -20px;

                img {
                    width: 30px;
                }
            }

            .a {
                background-color: white;
                border-radius: 20px;
                display: flex;
                align-items: flex-start;
                font-size: 18px;
                line-height: 1.8;
                padding: 20px 30px 30px;
                margin-top: 30px;
            }

            .a>div:first-child {
                font-family: var(--font-en);
                color: var(--highlight-color);
                font-size: 28px;
                font-weight: 800;
                margin-right: 20px;
            }

            .a>div:last-child {
                padding-top: 8px;
            }
        }
    }
}


.recruit {
    position: relative;
    padding: 100px 0;
    width: 100%;

    .bg_gray {
        position: absolute;
        background-color: #F8F8F8;
        top: 0px;
        left: 0;
        width: 77%;
        height: 100%;
        border-top-right-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .section-inner {
        position: relative;
        display: flex;
        justify-content: space-between;
        max-width: 1200px;

        .left {
            flex: 0 0 40%;

            h2.temp {
                align-items: flex-start;
                margin-bottom: 50px;

                .en {
                    margin-bottom: 25px;
                }
            }

            .copy {
                font-size: 28px;
                font-weight: bold;
                line-height: 1.6;
                margin-bottom: 35px;
            }

            .text {
                line-height: 2.2;

                p {
                    margin-bottom: 20px;
                }
            }
        }

        .right {
            flex: 0 0 50%;
        }
    }

    .btn {
        background-color: var(--highlight-color);
        color: white;
        background-image: url(./img/btn_arrow_white.png);
    }
}

.contact {
    padding: 120px 0 30px;

    .desc {
        text-align: center;
        line-height: 1.8;
        font-size: 18px;
    }

    .f_wrap {
        display: flex;
        justify-content: space-between;
        max-width: 1200px;
        margin: 60px auto;

        .left {
            flex: 0 0 48%;

            .text1 {
                font-size: 22px;
                font-weight: 600;
                margin-bottom: 15px;
            }

            .tel {
                font-size: 52px;
                font-family: var(--font-en);
                font-weight: 700;
                margin-bottom: 10px;

                a {
                    color: var(--text-color);
                    text-decoration: none;
                }
            }

            .text2 {
                font-size: 16px;
            }
        }

        .right {
            flex: 0 0 48%;

            .text1 {
                font-size: 22px;
                font-weight: 600;
                margin-bottom: 30px;
            }

            .btn2 {
                background-color: var(--highlight-color);
                color: white;
                display: flex;
                justify-content: center;
                align-items: center;
                height: 70px;
                text-decoration: none;
                font-size: 20px;
                border-radius: 10px;
                line-height: 1;
            }
        }
    }

    .f_wrap>div {
        background-color: var(--background-color);
        border-radius: 20px;
        text-align: center;
        padding: 40px 40px;
    }


}


/* -------------------------------
ぐらんどとはのページ
------------------------------- */

.about {
    .sec1 {
        position: relative;
        min-height: 200vh;
        /* スクロール可能な高さを確保 */

        .section-inner {
            position: relative;
            z-index: 2;
            padding: 100px 60px;
        }

        /* 背景画像用のコンテナ */
        .bg-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

        .bg-container.active {
            opacity: 1;
        }

        .bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            opacity: 0;
            transition: opacity 0.8s ease-in-out;
        }

        .bg-image.active {
            opacity: 1;
        }

        .bg-image.phrase1-bg {
            background-image: url('./img/about_sec1_img1.png');
        }

        .bg-image.phrase2-bg {
            background-image: url('./img/about_sec1_img2.png');
        }

        .scroll_content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;

            .phrase1, .phrase2 {
                min-height: 100vh;
                display: flex;
                flex-direction: column;
                justify-content: center;
                padding: 20vh 0;

                p {
                    font-size: 24px;
                    line-height: 2;
                    margin-bottom: 40px;
                    color: var(--text-color);
                    padding: 20px;
                    border-radius: 10px;
                    font-weight: 700;
                    transition: all 0.3s ease;
                }
            }

            .phrase2 {
                padding: 40vh 0 0;
            }


        }

        /* 背景画像が表示されている時のテキストスタイル */
        .bg-container.active~.section-inner .scroll_content .phrase1 p,
        .bg-container.active~.section-inner .scroll_content .phrase2 p {
            color: white;
            /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
            /* background-color: rgba(0, 0, 0, 0.3); */
            /* backdrop-filter: blur(5px); */
        }



    }

    .sec2 {
        padding: 50vh 0;





        .inner-text {
            max-width: 750px;
            margin: 0 auto;




            .logo {
                text-align: center;
                margin-bottom: 100px;

                img {
                    max-width: 330px;
                }
            }

            .text_top {
                font-size: 24px;
                font-weight: 700;
                line-height: 2.1;
                margin-bottom: 60px;
            }

            .text_body {
                font-size: 28px;
                font-weight: 700;
                line-height: 2.5;

                span {
                    color: #E47F6B;
                    border-bottom: 2px dotted #E47F6B;
                }
            }
        }
    }

    .sec3 {
        .section-inner {
            max-width: 1324px;
            background-color: #F8F8F8;
            padding: 110px 60px 80px;

            h2.temp {
                margin-bottom: 60px;
            }

            .f_wrap {
                background-color: white;
                border-radius: 20px;
                display: flex;
                align-items: center;
                padding: 80px;
                font-size: 18px;
                line-height: 1.9;
                font-weight: 500;
                gap: 5%;
                margin-bottom: 30px;
                flex-wrap: wrap;


                h3 {
                    font-size: 30px;
                    font-weight: 700;
                    line-height: 1.6;
                    margin-bottom: 28px;
                }
            }

            .f_wrap>div:first-child {
                flex: 0 0 25%;
            }

            .f_wrap>div:last-child {
                flex: 0 0 70%;
            }
        }

    }
}



/* -------------------------------
サービス案内
------------------------------- */

#breadcrumbs {
    margin-top: 20px;
    margin-left: 110px;
    font-size: 13px;
}




.service {

    .sec1 {
        .section-inner {
            max-width: 1324px;

            h2.temp {
                align-items: flex-start;
            }

            .outer {
                background-color: #F5F0E7;
                border-radius: 20px;
                padding: 60px;

                .inner {
                    background-color: white;
                    border-radius: 20px;
                    display: flex;
                    justify-content: space-between;
                    padding: 60px 80px;

                    .left {
                        flex: 0 0 43%;
                        line-height: 2.1;
                        font-weight: 500;
                        padding-top: 30px;

                        h3 {
                            font-size: 30px;
                            font-weight: 600;
                            margin-bottom: 30px;
                        }

                        p {
                            margin-bottom: 20px;
                            font-size: 18px;
                        }
                    }

                    .right {
                        flex: 0 0 53%;
                    }
                }
            }
        }
    }

    .sec2 {
        padding-top: 70px;

        .copy {
            text-align: center;
            font-size: 30px;
            font-weight: 600;
            line-height: 1.8;
        }

        .f_wrap {
            display: flex;
            justify-content: space-between;
            max-width: 1200px;
            margin: 50px auto;

            .box {
                flex: 0 0 31%;
                color: white;
                text-decoration: none;
                border-radius: 20px;
                display: flex;
                flex-direction: column;

                img+div {
                    padding: 20px 30px;
                    flex-grow: 1;
                    line-height: 1.6;
                }

                h3 {
                    font-size: 24px;
                    font-weight: 600;
                    margin-bottom: 15px;
                    line-height: 1.6;
                }

                .sec2btn {
                    background-color: white;
                    color: #000;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50px;
                    margin: 0 30px 30px;
                    height: 46px;
                }

            }

            .box:nth-child(1) {
                background-color: #CA3E40;
            }

            .box:nth-child(2) {
                background-color: #DBBB68;
            }

            .box:nth-child(3) {
                background-color: #6EABD1;
            }

            .box>div:nth-child(2) {
                flex-grow: 1;
            }
        }
    }
}




.company {
    .sec1 {
        .section-inner {
            max-width: 1324px;

            h2.temp {
                align-items: flex-start;
            }
        }
    }

    .sec2 {
        background-color: #F5F0E7;
        padding: 100px 0;

        .section-inner {
            max-width: 1324px;
            margin: 0 auto;
        }
    }

    .sec3 {
        padding: 100px 0;
    }

    .sec4 {
        .section-inner {
            max-width: 1324px;
            border-radius: 20px;
            background-color: #f8f8f8;
            padding: 60px 0;
        }
    }
}





/* -------------------------------
ハンバーガー
------------------------------- */

.hamburger-menu {
    cursor: pointer;
    z-index: 9990;
    position: fixed;
    right: 20px;
}

/* ハンバーガーメニューのアニメーション */
.hamburger-menu .line {
    width: 33px;
    height: 3px;
    background-color: #000000;
    display: block;
    margin: 8px auto;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    box-shadow: 0 0 3px #fff;
}

/* アクティブ時のアニメーション */
.hamburger-menu.active .line1 {
    transform: translateY(10px) rotate(45deg);
    background-color: #000000;
}

.hamburger-menu.active .line2 {
    opacity: 0;
}

.hamburger-menu.active .line3 {
    transform: translateY(-12px) rotate(-45deg);
    background-color: #000000;
}



/* グローバルメニューのスタイル */
.global-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* ビューポートの高さに合わせる */
    background-color: #F4F4F5;
    /* 背景色 */
    color: #000;
    display: none;
    /* 最初は非表示 */
    z-index: 999;
    opacity: 0;
    max-height: 100vh;
    transition: opacity 0.3s ease;


    /* ヘッダーより手前に表示 */
    .global-menu_inner {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        height: 100vh;
        max-width: 1000px;
        margin: 0 auto;
        animation: menuFadeIn 0.6s ease forwards;
        max-height: 100vh;
    }
}

/* メニューが表示されたときのスタイル */
.global-menu.active {
    opacity: 1;
}



.global-menu .global-menu_top {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;



    .global-menu_column {
        display: flex;
        flex-direction: column;
        /* margin-right: 74px; */
        flex: 0 0 50%;
        align-items: flex-end;
    }

    .global-menu_column>div:first-child {
        min-height: 370px;
        margin-bottom: 0px;
    }



    @media only screen and (max-height: 680px) {
        .global-menu_column>div:first-child {
            min-height: 300px;
            margin-bottom: 0px;
        }
    }


    .global-menu_column .global-menu_sub {
        display: flex;
        flex-direction: column;

        a {
            color: #000;
            font-weight: 700;
            margin-bottom: 20px;
            transition: 0.3s;
            animation: slideInFromTop 0.4s ease forwards;
            opacity: 0;

            &:nth-child(1) {
                animation-delay: 0.4s;
            }

            &:nth-child(2) {
                animation-delay: 0.5s;
            }

            &:nth-child(3) {
                animation-delay: 0.6s;
            }

            &:nth-child(4) {
                animation-delay: 0.7s;
            }

            &:nth-child(5) {
                animation-delay: 0.8s;
            }
        }

        a:hover {
            color: #EB6400;
        }

        span {
            color: #ddd;
            font-weight: 700;
            margin-bottom: 20px;
            font-size: 18px;
            animation: slideInFromTop 0.4s ease forwards;
            opacity: 0;
            animation-delay: 0.6s;
        }
    }
}

@media only screen and (max-width: 1100px) {
    .global-menu {
        .global-menu_inner {
            .global-menu_top {
                justify-content: center;
                flex-wrap: nowrap;
                gap: 2vw;

                .global-menu_column {
                    margin-right: 0;
                }
            }

            .global-menu_column {
                justify-content: center;
            }

            .global-menu_bottom {
                justify-content: center;
                gap: 10vw;
            }
        }
    }


}


.global-menu .global-menu_title {
    display: flex;
    flex-direction: column;
    font-family: "Lato", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #EB6400;
    margin-bottom: 42px;
    animation: slideInFromLeft 0.5s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;

    span:first-child {
        font-weight: 900;
        margin-bottom: 15px;
        font-family: "Lato", sans-serif;
    }

    span:last-child {
        font-size: 18px;
        font-weight: 700;
        color: #000;
        font-family: 'Zen Kaku Gothic New', sans-serif;
    }
}

.global-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    /* position: absolute; */
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    display: flex;
}

.global-menu li {
    margin: 20px 0;
}

.global-menu a {
    color: #000;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.global-menu_bottom {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 1vh;
    padding-bottom: 0;
    animation: fadeInRotate 0.6s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;




    .left {
        .f_wrap {
            display: flex;
            gap: 10px;
            margin-top: 34px;


            a {
                img {
                    max-width: 30px;
                    transition: transform 0.3s ease;

                    &:hover {
                        transform: scale(1.2) rotate(10deg);
                    }
                }
            }
        }
    }

    .right {
        display: flex;
        gap: 20px;

        a {
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 127px;
            width: 250px;
            border-radius: 10px;
            background-image: url(../img/ic_target.png);
            background-position: 90% 10%;
            background-size: 20px;
            background-repeat: no-repeat;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;

            &::before {
                content: '';
                position: absolute;
                top: 0;
                left: -100%;
                width: 100%;
                height: 100%;
                background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
                transition: left 0.7s ease;
            }

            &:hover {
                transform: translateY(-5px);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

                &::before {
                    left: 100%;
                }
            }

            span:nth-child(1) {
                font-size: 17px;
                position: relative;
                z-index: 2;
            }

            span:nth-child(2) {
                font-size: 40px;
                font-weight: 900;
                position: relative;
                z-index: 2;
            }
        }

        a:nth-child(1) {
            background-color: #EB6400;

            &:hover {
                background-color: darken(#EB6400, 5%);
            }
        }

        a:nth-child(2) {
            background-color: #000;

            &:hover {
                background-color: #222;
            }
        }
    }
}

/* -------------------------------
スクロールインアニメーション
------------------------------- */

/* スクロールイン対象の要素の初期状態 */
.scroll-in {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

/* アニメーション実行時のスタイル */
.scroll-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* 遅延アニメーション用のクラス */
.scroll-in.delay-1 {
    transition-delay: 0.1s;
}

.scroll-in.delay-2 {
    transition-delay: 0.2s;
}

.scroll-in.delay-3 {
    transition-delay: 0.3s;
}

.scroll-in.delay-4 {
    transition-delay: 0.4s;
}

.scroll-in.delay-5 {
    transition-delay: 0.5s;
}

/* 異なるアニメーションパターン */
.scroll-in.fade-up {
    opacity: 1;
    transform: translateY(70px);
}

.scroll-in.fade-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-in.fade-left {
    opacity: 0;
    transform: translateX(-50px);
}

.scroll-in.fade-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-in.fade-right {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-in.fade-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scroll-in.scale-up {
    opacity: 0.5;
    transform: scale(0.8);
}

.scroll-in.scale-up.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* -------------------------------
アニメーション
------------------------------- */



@keyframes zoomInBlur {
    0% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    20% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur1 {
    0% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    20% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur2 {
    5% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    23% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    75% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur3 {
    10% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    30% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur4 {
    15% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    35% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur5 {
    19% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    39% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur6 {
    23% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    43% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur7 {
    15% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    35% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}

@keyframes zoomInBlur8 {
    5% {
        filter: blur(20px);
        transform: scale(3.5);
        opacity: 0;
    }

    28% {
        filter: blur(0);
        transform: scale(1.1);
        opacity: 1;
    }

    70% {
        filter: blur(0);
        transform: scale(1);
        opacity: 1;
    }

    100% {
        filter: blur(10px);
        transform: scale(0.6);
        opacity: 0;
    }
}


@keyframes fadeInOutBlur {
    0% {
        filter: blur(10px);
        opacity: 0;
    }

    50% {
        filter: blur(0);
        opacity: 1;
    }

    75% {
        filter: blur(0);
        opacity: 1;
    }

    100% {
        filter: blur(10);
        opacity: 0;
    }
}

/* ハンバーガーメニューのアニメーション用 */
@keyframes menuFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-50px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInRotate {
    0% {
        opacity: 0;
        transform: rotate(0) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}





@media only screen and (max-width: 1440px) {


    header {
        .header-nav {
            display: none;
        }
    }




}