html{
    scroll-behavior: smooth;
}

body{
    font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

header {
    position: sticky;
    top:0;
    background-color: #ffffffee;
    z-index: 100;
}

.wrap{
    max-width: 1200px;
    margin: auto;
}

.bread>.wrap{
    margin-top:50px;
}

.breadcrumb{
    text-align: left;
    max-width: 1200px;
    padding: 20px 0;
    margin: auto;
}

.breadcrumb a{
    color: #000000;
}



header .flex{
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
    align-items: center;
}

.logo{
    width: 250px;
}

.button {
    display: flex;
    text-align: center;
    align-items: center;
}

.button small{
    color: #000000;
    text-decoration: solid #000 1px underline;
}


.button img{
    display: inline-block;
    margin: 5px 10px 20px;
    width: 30px;
    vertical-align: bottom;
}


.button button{
    display: inline-block;
    width: 115px;
    background-color: #000000;
    color: #fff;
    padding: 8px 0 ;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 50px;
    border-radius: 20px;
    margin-top: 0;
}

nav{
    background-color:#000000 ;
    padding:10px;
}

nav>div{
    background-color:#000000 ;
}

nav ul{
    list-style: none;
    padding: 0;
    margin: auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    align-items: center;
}

nav ul li{
    padding: 0;
    font-weight: 600;
    letter-spacing: 0.1em;
}

a{
    text-decoration: none;
    transition: 0.3s;
}

a:hover{
    opacity: 0.7;
}

nav ul li a.uchoten{
    color:#5ABED2;
}

nav ul li a.tec{
    color:#FF8282;
}

nav ul li a.sofbi{
    color:#FFA500;
}

nav ul li a.member{
    color:#46B48C;
}

nav ul li a.recruit{
    color:#5A87BE;
}

nav ul li a.about{
    color:#78DC64;
}

.kv{
    position: relative;
    z-index: 10;
}

.kv>img{
    width: 100%;
    height: 490px;
    object-fit: cover;
    object-position:80% 100%;
    vertical-align:top;
}

.kv>.title{
    position: absolute;
    width: 100%;
    max-width: 1200px;
    top:50%;
    left: 50%;
    z-index: 11;
    transform: translate(-50%,-50%);
}

.kv>.title>img{
    width: 270px;
}


main{
    padding-bottom:100px;
}

/*トップページ*/

main.top{
    background-image: url(../img/top/bg.png);
    background-size: cover;
    /* background-color: #FFFF46; */
    font-weight: 600;
    text-align: center;
    height: 230vw;
    max-height: 2480px;
    overflow: hidden;
    padding:100px 0;
}

main .wrap{
    font-weight: 600;
    text-align: center;
    height: 100%;
    position: relative;
}

main.top p{
    position: relative;
    line-height: 1.5em;
    font-size: 1.8em;
    z-index: 10;
}

.bg01 {
    width:940px;
    position: absolute;
    z-index: 0;
    top:-190px;
    right: -210px;
}

.bg02 {
    width:875px;
    position: absolute;
    z-index: 0;
    top:500px;
    left: -150px;
}

.bg03 {
    width:620px;
    position: absolute;
    z-index: 0;
    top:1490px;
    right: -100px;
}

.bg04 {
    width:1000px;
    position: absolute;
    z-index: 0;
    top:2300px;
    left: -240px;
}

.bg05 {
    width:800px;
    position: absolute;
    z-index: 0;
    top:3400px;
    right: -320px;
}

.bg06 {
    width:660px;
    position: absolute;
    z-index: 0;
    top:4050px;
    left: -210px;
}

.bg07 {
    width:940px;
    position: absolute;
    z-index: 0;
    top:4700px;
    right: -210px;
}



.bg08 {
    width:875px;
    position: absolute;
    z-index: 0;
    top:5390px;
    left: -150px;
}


img.uchoten{
    max-width:560px;
    position: absolute;
    z-index: 0;
    top:7%;
    left: 11%;
}

img.tec{
    width:455px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 380px);
    right: 16%;
}

img.sofbi{
    width:455px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 620px);
    left: 15%;
}

img.member{
    width:405px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 910px);
    right: 20%;
}

img.recruit{
    width:355px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 1150px);
    left: 23%;
}

img.about{
    width:305px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 1460px);
    right: 35%;
}

img.contact{
    width:265px;
    position: absolute;
    z-index: 0;
    top:calc(7% + 1730px);
    right: 25%;
}
/**/


footer{
    background-color: #fff;
    padding: 50px 0 0px;
    position: relative;
    z-index: 10;
    text-align: center;
}

footer img{
    display: inline-block;
    margin:0 20px;
    width: 62px;
}

footer p{
    font-size: 0.95em;
    font-weight: 600;
    padding: 20px 0 10px;
}

.to-top{
    position: fixed;
    width: 60px;
    bottom: -100px;
    right: 6%;
    z-index: -100;
    opacity: 0;
    transition: 0.3s;
}

.to-top.fade{
    z-index: 100;
    opacity: 1;
}

.tab{
    display: none;
}

.sp{
    display: none;
}

.tabsp{
    display: none;
}

@media screen and (max-width:1200px) {

    main.top p{
        top:-50px;
    }

    img.uchoten{
        max-width:560px;
        position: absolute;
        z-index: 0;
        top:7%;
        left: 6%;
    }
    
    img.tec{
        width:455px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 380px);
        right: 11%;
    }
    
    img.sofbi{
        width:455px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 620px);
        left: 10%;
    }
    
    img.member{
        width:405px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 910px);
        right: 15%;
    }
    
    img.recruit{
        width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1150px);
        left: 18%;
    }
    
    img.about{
        width:305px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1460px);
        right: 30%;
    }
    
    img.contact{
        width:265px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1730px);
        right: 20%;
    }
    
}

@media screen and (max-width:1000px) {

    main.top{
        background-image: url(../img/top/bg_tab.png);
    }

    header .flex{
        padding: 30px 20px 10px;
    }

    .logo{
        width: 22vw;
    }
   
    .kv>img{
        width: 100%;
        height: 50vw;
        object-fit: cover;
        object-position:80% 100%;
        vertical-align:top;
    }

    .pc{display: none;}

    .tab{
        display: block;
    }

    .tabsp{
        display: block;
    }
   
    main.top{
        height: 300vw;
        max-height: 1700px;
    }   

    main.top p{
        font-size: 1.5em;
    }

    img.uchoten{
        max-width:460px;
        position: absolute;
        z-index: 0;
        top:7%;
        left: 11%;
    }

    
    img.tec{
        width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 350px);
        right: 16%;
    }
    
    img.sofbi{
        width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 550px);
        left: 15%;
    }
    
    img.member{
        width:305px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 780px);
        right: 20%;
    }
    
    img.recruit{
        width:255px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 980px);
        left: 23%;
    }
    
    img.about{
        width:205px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1180px);
        right: 35%;
    }
    
    img.contact{
        width:165px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1350px);
        right: 25%;
    }
    
}

@media screen and (max-width:800px) {

    nav ul{
        font-size: 0.9em;
    }
    main.top{
        height: 250vw;
        max-height: 1700px;
    }   

    img.uchoten{
        max-width:460px;
        position: absolute;
        z-index: 0;
        top:7%;
        left: 5%;
    }

    
    img.tec{
        width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 380px);
        right: 8%;
    }
    
    img.sofbi{
        width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 630px);
        left: 8%;
    }
    
    img.member{
        width:305px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 880px);
        right: 15%;
    }
    
    img.recruit{
        width:255px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1080px);
        left: 17%;
    }
    
    img.about{
        width:205px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1250px);
        right: 29%;
    }
    
    img.contact{
        width:165px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 1450px);
        right: 19%;
    }
    
}


@media screen and (max-width:680px) {



    .logo{
        width: 40vw;
        max-width: 180px;
    }

    .kv>img{
        object-fit: cover;
        object-position:80% 100%;
        vertical-align:top;
    }

    .tab{
        display: none;
    }

    .pc{
        display: none;
    }

    .pctab{
        display: none;
    }

    .sp{
        display: block;
    }

    main.top{
        background-image: url(../img/top/bg_sp.png);
    }

    main.top{
        height: 380vw;
        max-height: 2200px;
    }   
   
    main.top p{
        text-align: left;
        font-size: 1.5em;
        width: 90%;
        margin: auto;
        line-height: 1.8em;
    }


    nav>.wrap{
        position: fixed;
        width: 100vw;
        height: 100vh;
        top:0;
        left: 100vw;
        display: flex;
        align-items: center;
        transition: 0.3s;
    }
    
    nav ul{
        list-style: none;
        padding: 0;
        margin: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        text-align: center;
        align-items: center;
        position: relative;
    }
    
    nav ul li{
        margin: 3vw 0;
        font-weight: 600;
        letter-spacing: 0.1em;
    }

    nav ul li a {
        font-size: 1.5em;
    }

    nav ul button{
        display: inline-block;
        width: 100%;
        background-color: #ffffff;
        color: #000000;
        padding: 8px 30px ;
        font-size: 1.5em;
        font-weight: 600;
        margin-top: 10vw;
        border-radius: 30px;
        border: none;
    }

    nav .open{
        width: 50px;
        margin: 0 5vw 0 auto;
    }

    nav .open span{
        display: block;
        width: 50px;
        background-color: #fff;
        height: 2px;
        margin: 8px;
    }


    nav ul .close{
        position: absolute;
        top: -10vw;
        right: 0;

    }

    .close span{
        position: absolute;
        top:0;
        left: 0;
        display: inline-block;
        width: 50px;
        height: 2px;
        background-color: #fff;
        transform: rotate(45deg);
    }

    .close span.first{
        transform: rotate(-45deg);
    }


    img.uchoten{
        width: 70vw;
        max-width:460px;
        position: absolute;
        z-index: 0;
        top:7%;
    }

    
    img.tec{
        width: 60vw;
        max-width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 65vw);
    }
    
    img.sofbi{
        width: 60vw;
        max-width:355px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 120vw);
    }
    
    img.member{
        width: 50vw;
        max-width:305px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 175vw);
    }
    
    img.recruit{
        width: 40vw;
        max-width:255px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 220vw);
    }
    
    img.about{
        width: 35vw;
        max-width:205px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 255vw);
    }
    
    img.contact{
        width: 30vw;
        max-width:165px;
        position: absolute;
        z-index: 0;
        top:calc(7% + 290vw);
    }
    
}

@media screen and (max-width:480px) {


    header .flex{
        padding:10px 20px;
    }


    .logo{
        width: 40vw;
    }

    main.top{
        height: 380vw;
        max-height: 2200px;
    }   
   
    main.top p{
        font-size: 1.2em;
    }

    
    
}