/* ヘッダー */

.header {
    position: fixed;
    top: calc((40 / 1920)* 100vw);
    width: calc(100% - calc((240 / 1920) * 100vw));
    z-index: 9999;
    padding: calc((20 / 1920)* 100vw) calc((120 / 1920)* 100vw);
    background-color: rgba(0, 0, 0, 0.8);
}
.header__inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header__logo {
    width: calc((350 / 1920)* 100vw);
}
.header__ul {
    display: flex;
    align-items: center;
}
.header__li > a {
    margin: 0 calc((5 / 1920)* 100vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    border-bottom: calc((3 / 1920)* 100vw) solid white;
    width: calc((185 / 1920)* 100vw);
    padding: calc((15 / 1920) * 100vw) calc((0 / 1920) * 100vw);
    transition: all 0.3s;
}
.header__li.active > a {
    border-bottom: calc((3 / 1920)* 100vw) solid #0000FF;
}
.header__li > a:hover {
    border-bottom: calc((3 / 1920)* 100vw) solid #0000FF;
}

.header__li-ctt > a {
    border: calc((3 / 1920)* 100vw) solid black !important;
    color: black;
    width: calc((305 / 1920)* 100vw);
    height: calc((75 / 1920)* 100vw);
    border-radius: calc((10 / 1920)* 100vw);
    background-color: #FFFE02;
    padding: 0;
}
.header__li-ctt > a:hover {
    border: calc((3 / 1920)* 100vw) solid white !important;
    background-color: black;
    color: white;
}

@media (max-width: 768px) {
    .header {
        height: 50px;
        padding: 5px 20px;
        width: calc(100% - 40px);
    }
    .header__logo {
        width: 110px;
    }
    .header__ul {
        display: none;
    }
}


/* ハンバーガーメニュー */
.mobileBtn {
    transition: all 0.8s ease;
    position: relative;
    z-index: 101;
    background-color: unset;
    width: 30px;
    height: 30px;
    display: none;
    margin-right: 20px;
}

.mobileBtn__bar {
    width: 100%;
    height: 2px;
    content: "";
    position: absolute;
    transform: translateY(-50%);
    transition: all 0.8s ease;
    background-color: white;
    left: 0;
}

.mobileBtn__bar:nth-child(1) {
    top: 25%;
}

.mobileBtn__bar:nth-child(2) {
    top: 50%;
}

.mobileBtn__bar:nth-child(3) {
    top: 75%;
}

.mobileBtn__bar.rotate:nth-child(1), .mobileBtn__bar.rotate:nth-child(3) {
    top: 50%;
}

.mobileBtn__bar.rotate:nth-child(1) {
    transform: rotate(-225deg);
}

.mobileBtn__bar.rotate:nth-child(2) {
    transform: translate(0%, -50%) scale(0);
}

.mobileBtn__bar.rotate:nth-child(3) {
    transform: rotate(225deg);
}

.mobile {
    overflow: scroll;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    background-size: cover;
    position: fixed;
    top: -200vh;
    right: 0;
    z-index: 98;
    transition: all 0.5s ease;
}

.mobile.down {
    top: 0;
}

.mobile__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    margin: 110px auto 0;
}

.mobile__ul {
    width: 90%;
    margin: 0 auto;
}

.mobile__li {
    font-size: 14px;
    margin: 0;
}
.mobile__li > a {
    border-bottom: 2px solid white;
    padding: 15px 0;
    color: white;
    width: 85%;
    margin: 0 auto;
}

.mobile__li.header__li-ctt > a {
    margin-top: 80px;
    color: black;
    height: 30px;
    width: 250px;
}
.mobile__li.header__li-ctt > a:hover {
    color: white !important;
}

@media (max-width: 768px) {
    .mobileBtn {
        display: block;
    }
}

/* トップページ */
.btn-tell {
    width: calc((125 / 1920)* 100vw);
    position: fixed;
    bottom: calc((100 / 1920)* 100vw);
    right: calc((130 / 1920)* 100vw);
}

/* box */
.box__ttl {
    border-top-left-radius: calc((10 / 1920)* 100vw);
    border-top-right-radius: calc((10 / 1920)* 100vw);
}

.box-border .box__container {
    border: calc((2 / 1920)* 100vw) solid #727171;
    border-bottom-left-radius: calc((10 / 1920)* 100vw);
    border-bottom-right-radius: calc((10 / 1920)* 100vw);
    padding: calc((10 / 1920)* 100vw) 0;
}
.box-border .box__container > p {
    width: fit-content;
    margin: 0 auto;
}

.box-pad {
    padding: calc((25 / 1920)* 100vw) calc((65 / 1920)* 100vw);
}

.box-txt .box__container > p {
    padding: 0 calc((25 / 1920)* 100vw);
}

.box-grid .box__contents {
    height: calc((170 / 1920)* 100vw);
    flex-direction: column;
}

/* fvセクション */
.fv__txt {
    width: calc((160 / 1920)* 100vw);
    bottom: calc((40 / 1920)* 100vw);
    right: calc((400 / 1920)* 100vw);
}

/* aboutセクション */
.t-about__three > p {
    height: calc((135 / 1920)* 100vw);
    border-radius: calc((40 / 1440)* 100vw);
    border: calc((3 / 1920)* 100vw) solid #040064;
}

.box__ttl02 {
    padding-top: calc((50 / 1920)* 100vw);
    border-top: 1px solid #231815;
    border-radius: unset !important;
}

.under-blue {
    position: relative;
}

.under-blue::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc((-9 / 1920)* 100vw);
    width: calc((175 / 1920)* 100vw);
    height: calc((3 / 1920)* 100vw);
    background-color: #348CCC;
}

/* t-comセクション */
.t-com__contents {
    justify-content: space-between;
    margin-right: auto;
    margin-left: auto;
}

.t-com__contents-left {
    width: calc((355 / 1920)* 100vw);
}

.t-com__contents-right {
    width: calc((945 / 1920)* 100vw);
}

.t-com__contents-right-top {
    display: flex;
    align-items: center;
}

.t-com__contents-right-top > img {
    width: calc((250 / 1920)* 100vw);
    margin-right: calc((30 / 1920)* 100vw);
}

/* t-serviceセクション */
.t-service {
    background-color: #040064;
}

.t-service .box__contents {
    background-color: white;
}

/* t-worksセクション */
.t-works__contents {
    padding: calc((20 / 1920)* 100vw);
    border: calc((4 / 1920)* 100vw) solid #A0A0A0;
}
.t-works__contents > img {
    height: calc((215 / 1920)* 100vw);
    margin-bottom: calc((10 / 1920)* 100vw);
}
.t-works__contents > a {
    width: 100%;
    height:calc((53 / 1920)* 100vw);
    background-color: #CACACA;
}

/* accセクション */
.acc {
    padding-bottom: calc((300 / 1920)* 100vw);
    border-top: calc((1 / 1920)* 100vw) solid #231815;
    margin-top: calc((50 / 1920)* 100vw);
}

.acc__map {
    padding-bottom: calc((20 / 1920)* 100vw);
    border-bottom: calc((3 / 1920)* 100vw) solid #348CCC;
    height: calc((580 / 1920)* 100vw);
}

.acc__bottom {
    padding: 0 calc((150 / 1920)* 100vw);
}



@media (max-width: 768px) {
    /* トップページ */
    .btn-tell {
        width: 50px;
        bottom: 20px;
        right: 20px;
    }

    /* box */
    .box__ttl {
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        padding: 10px 0;
    }

    .box-border .box__container {
        border: 2px solid #727171;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        padding: 10px;
    }

    .box-txt .box__container > p {
        padding: 0;
    }

    .box-pad {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 30px 20px;
    }

    .box-pad {
        grid-template-columns: repeat(2, 1fr);
    }
    .box-pad p {
        font-size: 13px;
        line-height: 1.2;
    }

    .box-grid .box__contents {
        height: 100px;
    }

    /* fvセクション */
    .fv__txt {
        width: 70px;
        top: 100px;
        bottom: auto;
        right: 30px;
    }

    /* aboutセクション */
    .t-about__h2 {
        font-size: 28px;
        padding: 50px 0;
    }

    .t-about__bottakuri {
        padding: 8px 0;
        font-size: 16px;
    }

    .box__ttl02 {
        padding-top: 50px;
        border-top: 1px solid #231815;
    }

    .t-about__p-top > p:nth-child(1) {
        font-size: 18px;
        margin-bottom: 50px;
    }

    .t-about__p-top > p:nth-child(2) {
        font-size: 24px;
        margin-bottom: 50px;
    }

    .t-about__three {
        margin-bottom: 50px;
    }

    .t-about__three > p {
        width: 100%;
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
        height: 90px;
        border-radius: 40px;
        border: 3px solid #040064;
    }

    .under-blue::after {
        bottom: -5px;
        width: 100px;
        height: 1px;
    }

    /* t-comセクション */
    .t-com__img {
        height: calc((150 / 375)* 100vw);
    }

    .t-com__inner > h2, .t-com__inner > p:nth-of-type(1) {
        margin-bottom: 30px;
    }
    .t-com__inner > p:nth-of-type(2) {
        margin-bottom: 50px;
    }
    
    .t-com__contents {
        flex-direction: column;
        max-width: 400px;
    }

    .t-com__contents-left {
        width: 100%;
        margin-bottom: 20px;
    }

    .t-com__contents-right {
        width: 100%;
    }
    .t-com__contents-right > p {
        line-height: 1.5;
    }
    
    .t-com__contents-right-top > h3 {
        font-size: 22px;
    }   

    .t-com__contents-right-top > img {
        width: 90px;
        margin-right: 15px;
    }

    /* t-serviceセクション */
    .t-service__inner > h2 {
        margin-bottom: 50px;
    }
    .t-service__inner > p {
        margin-bottom: 50px;
    }

    .t-service__inner > p:nth-of-type(2) {
        margin-top: 40px;
        line-height: 1.5;
    }

    /* t-worksセクション */
    .t-works__contents {
        padding: 15px;
        border: 3px solid #A0A0A0;
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }
    .t-works__contents > img {
        width: 100%;
        height: calc((215 / 375)* 100vw);
        margin-bottom: 10px;
    }
    .t-works__contents > p {
        line-height: 1.5;
    }
    .t-works__contents > a {
        height: 50px;
    }

    /* accセクション */
    .acc {
        padding-bottom: 150px;
        border-top: 1px solid #231815;
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
    }

    .acc__map {
        padding-bottom: 20px;
        border-bottom: 2px solid #348CCC;
        height: calc((200 / 375)* 100vw);
    }

    .acc__bottom {
        padding: 0;
    }

    .acc__bottom .flex-bet {
        flex-direction: column;
    }
    .acc__bottom .flex-bet > p:nth-of-type(1) {
        margin-bottom: 10px;
    }
    .acc__bottom .flex-bet > p:nth-of-type(2) {
        margin-bottom: 30px;
    }
}