@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    letter-spacing: 0.1em;
}

body {
    font-family: "Inter", sans-serif;
}

/* 共通ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */

main h2 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #fff;
}

p {
    font-size: 16px;
}

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 80px 0;
}


/* header------------------------------------------------------------ */


/* hero------------------------------------------------------------- */

header {
    background: url(images/hero-bg.png) center / cover;
    padding: 80px 0;
}

.header-box {
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sp-menu {
    display: none;
}

.pc-menu ul {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
}

.pc-menu a {
    color: #fff;
    font-size: 24px;
    padding: 8px 16px;
}


header h2 {
    margin: 80px 0;
    font-size: 64px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: rgba(255, 255, 255, .3);
}

header h3 {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #fff;
}

.sp-br {
    display: none;
}

.hero-box {
    display: flex;
    justify-content: space-between;
}

.hero1,
.hero2,
.hero3 {
    width: 30%;
}



/* maker------------------------------------------------------- */

#maker {
    background: #010427;
}

#maker h2 {
    padding-top: 80px;
}


#maker ul {
    width: 75%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#maker li {
    width: calc((100% - 120px) / 4);
}

#maker a {
    display: block;
    color: #fff;
    text-align: center;
    font-size: 24px;
    margin-top: 48px;
}







/* category-------------------------------------------------- */

#category {
    background: url(images/bg2.png) top / cover;
    padding-bottom: 200px;
}

#category h2 {
    padding-top: 250px;
    color: #010427;
}

#category h4 {
    font-size: 24px;
    color: #010427;
}

.category-box {
    width: 350px;
    height: 170px;
    background: #fff;
    border: 5px solid #010427;
    padding: 16px 0 0 16px;
    position: relative;
}

.category-box p {
    margin: 8px 0 16px;
}

.category-box img {
    width: 50%;
    position: absolute;
    bottom: -3px;
    right: -3px;
}

.category-box a {
    color: #010427;
}

.img2 img {
    width: 35%;
}

.category1 {
    display: flex;
    justify-content: right;
    align-items: flex-end;
    gap: 32px;
    margin-bottom: 32px;
}

.category2 {
    display: flex;
    justify-content: left;
    align-items: flex-start;
    gap: 32px;
}

/* topic------------------------------------------------ */

#topic {
    padding-bottom: 40px;
    position: relative;
    background: #2B3AA0;
    width: 90%;
    margin-bottom: 100px;
}

#topic .container {
    padding-top: 40px;
}

#topic h2 {
    text-align: right;
    margin-right: 320px;
}

.topic {
    display: flex;
    justify-content: space-between;
    margin-top: -150px;
}

.topic-box {
    width: 32%;
    margin-top: -80px;
    position: relative;
}

.topic-box2 {
    width: 32%;
    position: relative;
    margin-top: 56px;
}

.topic-box3 {
    width: 32%;
    position: relative;
    margin-top: 192px;
}




/* ------------------------------------------------------ */

#mix {
    background: url(images/site-bg.png) center / cover;
    padding-bottom: 300px;
}

.mix-box {
    display: flex;
    justify-content: center;
}

#mix .digitalparts-box h3,
.news-box h3 {
    margin: 0 auto 24px;
}

#mix p {
    color: #fff;
    font-size: 16px;
}



.digitalparts-sp {
    display: none;
}

.digitalparts {
    margin-right: -120px;
}





.news-box {
    margin-left: -120px;
}

.news-sp {
    display: none;
}





.site-box {
    padding-left: 10%;
    margin-top: 80px;
}

.site-box h2 {
    text-align: start;
    margin-bottom: 16px;
}

.site-box p {
    margin-bottom: 16px;
}

.site-box2 {
    width: 600px;
    height: 70px;
    background: #fff;
    display: flex;
    justify-content: space-between;
}

#mix .site-box2 p {
    color: #747474;
    margin: auto 16px;
}

.site-box2 a {
    display: block;
    width: 100px;
    height: 50px;
    background: #159784;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 16px;
}



/* footer------------------------------------------------- */

footer {
    background: #010427;
}

.footer {
    display: flex;
    justify-content: space-between;
    padding: 24px 0 80px;
}

footer p {
    color: #fff;
    text-align: start;
    margin-bottom: 16px;
}

.footer-box {
    display: flex;
    justify-content: space-between;
}

.footer-box2 {
    margin: 0 64px;
}

footer img {
    display: block;
    width: 20%;

}

small {
    color: #fff;
    font-size: 12px;
    display: block;
    text-align: center;
}













@media(max-width:1032px) {

    .container {
        max-width: 980px;
        margin: 0 auto;
    }



    .pc-menu {
        display: none;
    }

    .sp-menu {
        display: block;
    }

    label {
        background: rgba(1, 4, 39, 0.8);
    }


    .menu-btn {
        position: fixed;
        top: 20px;
        right: 15px;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100;
    }

    .menu-btn span,
    .menu-btn span::before,
    .menu-btn span::after {
        content: "";
        background: #fff;
        width: 40px;
        height: 3px;
        position: absolute;
        transition: all .5s;
    }

    .menu-btn span::before {
        bottom: 12px;
    }

    .menu-btn span::after {
        top: 12px;
    }

    #menu-btn-check:checked+.menu-btn span {
        background: rgba(255, 255, 255, 0);
    }

    #menu-btn-check:checked~.menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
        background: #fff;
    }

    #menu-btn-check:checked~.menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
        background: #fff;
    }

    #menu-btn-check {
        display: none;
    }

    .sp-menu-box {
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 50;
    }

    .sp-menu-box ul {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
    }

    .sp-menu-box li a {
        margin: 0;
        padding: 0;
        display: block;
        color: #fff;
        text-align: center;
        padding: 16px 15px;
        font-size: 24px;
        border-bottom: 1px solid #fff;
    }

    #menu-btn-check:checked~.sp-menu-box {
        left: 0;
    }


    header {
        padding-top: 20px;
    }

    header h2 {
        font-size: 50px;
        margin: 40px 0 0;
    }




    .maker-box {
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 40px;
    }

    #category h2 {
        padding-top: 200px;
    }




    #topic {
        padding-bottom: 40px;
        background: #2B3AA0;
        width: 100%;

    }

    #topic h2 {
        margin-right: 168px;
    }


    .mix-box {
        display: block;
    }

    .digitalparts {
        margin-right: 0;
        margin-bottom: 80px;
    }

    .news-box {
        margin: 0;
    }




    .footer-box2 {
        margin: 0 32px;
    }




}













@media (max-width:500px) {

    .container {
        padding: 40px 0;
    }

    .sp-br {
        display: block;
    }

    .hero-box {
        display: block;
    }

    header {
        padding: 20px 0 0;
    }

    header h2 {
        padding: 16px 0;
        margin: 24px 0 0;
        font-size: 40px;
    }

    header h3 {
        margin: 0;
    }

    header h1 {
        width: 60%;
        margin: 16px 0 0;
    }

    .hero1,
    .hero2,
    .hero3 {
        width: 90%;
        margin: 16px auto;
    }


    #maker h2 {
        padding-top: 40px;
    }

    #maker ul {
        width: 90%;
        margin: 0 auto;
        flex-wrap: wrap;
        gap: 32px;
    }

    #maker li {
        width: calc((100% - 32px) / 2);
    }


    #category h2 {
        padding-top: 170px;
    }

    #category {
        background: url(images/bg2-sp.png) top / cover;
        padding: 0;
    }

    .category1 {
        margin: 40px auto 0;
        display: block;
    }

    .category2 {
        display: block;
    }



    .category-box {
        margin: 16px auto;
    }



    #topic {
        padding-bottom: 0;
        position: relative;
        background: #2B3AA0;
        width: 100%;
    }

    #topic h2 {
        text-align: center;
        margin: 0;
        padding-top: 0;
    }

    .topic {
        display: block;
        margin: 0;
    }

    .topic-box {
        width: 90%;
        margin: 40px auto 0;
    }


    .topic-box2 {
        width: 90%;
        margin: 16px auto;
    }

    .topic-box3 {
        width: 90%;
        margin: 0 auto;
    }






    #mix {
        background: none;
        padding: 0;
    }



    .digitalparts {
        display: none;
    }

    .digitalparts-sp {
        display: block;
        background: url(images/digitalpartsn-bg-sp.png) center / cover;
        padding: 40px 0 340px;

    }

    .digitalparts-box p {
        margin: 24px 0;
        text-align: center;
    }

    .digitalparts-img img {
        width: 90%;
        display: block;
        margin: 16px auto;
    }

    .digitalparts-box a {
        display: block;
        color: #fff;
        text-align: center;
        margin-top: 40px;
    }



    .news-box {
        display: none;
    }

    .news-sp {
        display: block;
        padding: 287px 0 40px;
        margin-top: -332px;
        background: url(images/news-bg-sp.png) center / cover;
    }

    .news-sp-box {
        width: 90%;
        margin: 0 auto;
    }

    .news-txt {
        display: flex;
    }

    .news-txt p {
        margin: 24px 8px 0 0;
        text-align: start;
    }

    .news-p {
        text-align: center;
        margin-top: 24px;
    }

    .news-txt img {
        margin: 24px 8px 0 0;
        width: 90%;
    }




    .site-box {
        background: url(images/site-bg-sp.png) center / cover;
        padding: 40px 0 200px;
        margin: 0;
    }

    .site-box2 {
        width: 90vw;
        height: 70px;
        margin-left: 5%;
    }

    .site-box h2,
    p {
        margin-top: 0;
        margin-left: 5%;
    }





    .footer {
        display: block;
        padding: 24px 0 80px;
        width: 90%;
        margin: 0 auto;
    }

    .footer-box {
        display: block;

    }

    .footer-box2 {
        margin: 40px 0;
    }

    .footer p {
        margin-left: 0;
    }

    footer img {
        width: 50%;
        padding-left: 5%;
    }


}