#top-main{
    height: 750px;
}

#top-main::before{
    content: "";
    background-image: url(http://xs097363.xsrv.jp/hemitech/wp-content/uploads/2024/11/top-main01.png);
    background-repeat: no-repeat;
    background-position: center -30%;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    max-width: 100vw;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

#top-main>div{
    position: relative;
    height: 100%;
}
#top-main .top-text{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

#top-main h1{
    margin-bottom: 20px;
    line-height: 1.2;
}

#top-main p{
    color: var(--color-white);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 50px;
}
#top-main .wp-block-buttons{
    justify-content: flex-start;
}
#top-main .wp-block-button__link,
#top-04 .wp-block-button__link{
    margin: 0;
}

/*-------------------------
    #top-01
-------------------------*/
#top-01{
    background: var(--color-white);
    margin: 0;
    text-align: center;
    background-image: radial-gradient(circle at 0% 100%, #E98125 0%, 6.6%, rgba(233, 129, 37, 0) 22%), radial-gradient(circle at 97.97159830729166% 95.849609375%, #2481C9 0%, 9.950000000000001%, rgba(36, 129, 201, 0) 25%), radial-gradient(circle at 100% 0%, #E98125 0%, 16.864%, rgba(233, 129, 37, 0) 34%), radial-gradient(circle at 0% 0%, rgba(36, 129, 201, 0.67) 0%, 12.9%, rgba(36, 129, 201, 0) 43%), radial-gradient(circle at 48.9013671875% 49.521484375%, #FFFFFF 0%, 100%, rgba(255, 255, 255, 0) 100%);
}
#top-01 figure{
    max-width: 429px;
    margin: 0 auto 50px;
}
#top-01 p{
    font-weight: 500;
    line-height: 2.25em;
    margin-bottom: 2em;
}

#top-01 .wp-block-buttons-is-layout-flex{
    justify-content: center;
}

/*-------------------------
    #top-02
-------------------------*/
section#top-02{
    background-image: url(https://hemitech.co.jp/wp/wp-content/uploads/2024/12/ソリューション-background.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#top-02>div{
    color: var(--color-white);
}

#top-02 .top-group{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 700px;
}

#top-02 .top-group>div{
    width: 100%;
    max-width: 300px;
}
#top-02 ul{
    gap: 10%;
    color: var(--color-white);
}
#top-02 li{
    padding: 0;
}

#top-02 img{
    margin-bottom: 25px;
    max-height: 100px;
    width: auto;
}
#top-02 p{
    font-size: 18px;
    margin-bottom: 4em;
}
#top-02 .heading{
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 25px;
}


/*-------------------------
    #top-03
-------------------------*/
#top-03{
    background: var(--color-bg-gray);
    margin: 0;
}
#top-03 h2{
    color: var(--color-navy);
}


/*-------------------------
    #top-04
-------------------------*/

#top-04{
    background: linear-gradient(180deg,#19387F,#2481C9);
    min-height: 900px;
}
#top-04>div{
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-bottom: 7%;
}
#top-04 div>div{
    position: relative;
}
#top-04 img{
    width: 1492px;
    max-width: 60vw;
    height: 587px;
    object-fit: cover;
    object-position: 50% 50%;
}
#top-04 .top-group{
    background: var(--color-orange);
    padding: 30px;
    display: block;
    width: 70%;
    max-width: 980px;
    position: absolute;
    top: 55%;
    left: 100%;
    transform: translate(-50%, -40%);
}
#top-04 p{
    color: var(--color-white);
    font-size: 16px;
    margin-bottom: 2em;
}
#top-04 p:last-child{
    margin-bottom: 4em;
}

/*-------------------------
    #top-05
-------------------------*/
#top-05{
    background: var(--color-white);
}
#top-05 h2{
    color: var(--color-navy);
}
@media screen and (max-width: 1150px){
    #top-03 ul{
        grid-template-columns: 1fr 1fr 1fr;
    }
}
@media screen and (max-width: 1024px){
    #top-04{
        padding: 20px 0;
        min-height: 600px;
    }
    #top-04 img{
        max-width: 100vw;
        width: 100%;
        height: 200px;
    }
    #top-04 .top-group, #top-04>div{
        width: 100%;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }
    #top-04 .top-group h2{
        margin-bottom: 30px;
    }
    #top-04>div{
        padding-bottom: 0;
    }
    #top-04 .wp-block-button__link{
        margin: 0 auto;
    }
}
@media screen and (max-width: 840px){
    #top-03 ul{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 768px){
    h2{
        font-size: 32px;
    }
    #top-main{
        height: 450px;
    }
    #top-main .sp{
        display: none;
    }
    #top-main::before{
        top: var(--header-height-sp);
        height: 450px;
    }
    #top-main p{
        font-size: 18px;
    }
    #top-01 figure{
        margin-bottom: 30px;
    }
    #top-01 p{
        font-size: 18px;
    }
    #top-02 .top-group{
        max-width: 300px;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        align-items: center;
    }
    #top-02 img{
        display: flex;
        margin: 0 auto 25px;
    }
    #top-03 li{
        max-width: 320px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin:  0 auto;
    }
}
@media screen and (max-width: 600px){
    #top-main .sp{
        display: block;
    }
    #top-03 ul{
        grid-template-columns: 1fr;
        gap: 50px 20px;
    }
}