@charset "UTF-8";

/*============================
loading
============================*/

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background-color: #fff;
}

.loader,
.loader:after {
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    margin-top: -30px;
}

.loader {
    position: relative;
    text-indent: -9999em;
    border-top: 5px solid #1058ad;
    border-right: 5px solid #1058ad;
    border-bottom: 5px solid #1058ad;
    border-left: 5px solid #1ba452;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*============================
トップ共通
============================*/

.eng {
    display: block;
}

/*============================
top_img
============================*/
#top_img {
    width: 100%;
    height: 650px;
    /*装飾の基準*/
    position: relative;
    background: #e9f9ff;
    overflow: hidden;
    /*headerの高さぶん*/
}

#top_img .slide::before {
    content: "";
    background-image: linear-gradient(to right, rgba(0, 163, 233, 0.9) 0%, rgba(0, 163, 233, 0.5) 70%, rgba(0, 163, 233, 0) 100%);
    display: block;
    width: 80%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

#top_img .swiper {
    height: 650px;
    margin-left: auto;
    margin-right: 0;
    position: relative;
}

#top_img .swiper-wrapper {
    background: #f3f3f3;

}

#top_img .swiper-slide {
    /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
}

#top_img .slide-media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#top_img .slide.slide01 {
    position: relative;

}

/*画像*/
#top_img .swiper-slide-active .slide-media img,
#top_img .swiper-slide-duplicate-active .slide-media img,
#top_img .swiper-slide-prev .slide-media img {
    animation: zoom-in 10s linear 0s 1 normal both;
}

@keyframes zoom-in {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/*文字*/
#top_img .ja {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
}

#top_img .inner {
    width: 1040px;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    /* 擬似要素がスライダー操作を邪魔しないように、コンテナ自体をスルーさせる */
    pointer-events: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#top_img .inner h1 {
    width: 500px;
    color: #fff;
    text-shadow: 2px 0px 10px rgba(12, 73, 146, 0.3);
    line-height: 1.4;
}

#top_img h1 img {
    width: 280px;
    margin: 0 auto 50px;
}

#top_img h1 .ja {
    font-size: 40px;
    display: block;
    text-align: center;
}

/*文字のアニメーション*/

#top_img .swiper-slide-active .slide-title,
#top_img .swiper-slide-duplicate-active .slide-title,
#top_img .swiper-slide-prev .slide-title {
    animation: mv01-fadeIn 1s 0.5s ease-in-out both;
}

@keyframes mv01-fadeIn {
    0% {
        /*        transform: scale(1);*/
        opacity: 0;
        /*        filter: blur(300px);*/
    }

    100% {
        /*        transform: scale(1.2);*/
        opacity: 1;
        /*        filter: blur(0);*/
    }
}

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

    #top_img {
        height: 60vh;
    }

    #top_img .swiper {
        height: 60vh;
    }

    #top_img .inner {
        width: 90.625%;
    }

    #top_img .inner h1 {
        width: 100%;
    }

    #top_img h1 img {
        width: 120px;
        margin: 0 auto 25px;
    }

    #top_img h1 .ja {
        font-size: 20px;
    }

}


/*============================
container
============================*/

.container {
    position: relative;
}

.primary {
    width: 100%;
    float: none;
}

.primary > article {
    padding: 80px 0 80px;
}

.primary .inner {
    width: 1040px;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    .primary > article {
        padding: 50px 0;
    }

    .primary .inner {
        width: 90.625%;
    }
}


/*============================
h2
============================*/

h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #1058ad;
}

h2 span {
    display: block;
}

h2 span.eng {
    font-size: 60px;
    color: rgba(0, 192, 241, 0.4);
}

h2 span.ja {
    margin-top: -35px;
}

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

    h2 {
        margin-bottom: 20px;
        font-size: 20px;
    }

    h2 span.eng {
        font-size: 40px;
    }

    h2 span.ja {
        margin-top: -27px;
    }

}

/*============================
h3
============================*/

h3 {
    font-size: 18px;
    font-weight: bold;
}

@media only screen and (max-width: 768px) {
    h3 {
        font-size: 16px;
    }
}

/*============================
service
============================*/

#service {
    background: #FFFFFF;
}

#service .left_box,
#service .right_box {
    width: 500px;
}

#service .left_box ul {
    margin-top: 36px;
    gap: 20px;
    counter-reset: number 0;
}

#service .left_box ul li {
    width: 240px;
    background: #f1f4f9;
    position: relative;
}

#service .left_box ul li::before {
    counter-increment: number 1;
    content: "/"counter(number, decimal-leading-zero) " ";
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: #1058ad;
    letter-spacing: 0.04em;
}

#service .left_box ul li p {
    background: #1058ad;
    color: #fff;
    line-height: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

#service .left_box ul li img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

#service .right_box {
    flex-direction: column;
    grid-row-gap: 1px;
}

#service .right_box .box {
    position: relative;
}

#service .right_box h3 {
    position: absolute;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: #1058ad;
    line-height: 60px;
    width: 250px;
    text-align: center;
}

#service .right_box .box:first-child h3 {
    left: 0;
    bottom: 0;
    clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
    padding-right: 10px;
}

#service .right_box .box:last-child h3 {
    top: 0;
    right: 0;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
    padding-left: 10px;
}

#service .right_box .box img {
    width: 100%;
}

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

    #service .left_box,
    #service .right_box {
        width: 100%;
    }

    #service .left_box ul {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    #service .left_box ul li {
        width: 100%;
    }

    #service .left_box ul li img {
        height: auto;
        max-width: 250px;
        margin: auto;
    }

    #service .left_box ul li p {
        font-size: 16px;
    }

    #service .right_box {
        grid-row-gap: 20px;
    }

    #service .right_box h3 {
        font-size: 16px;
        line-height: 40px;
        width: 180px;
    }

    #service .right_box .box:last-child h3 {
        top: auto;
        right: auto;
        left: 0;
        bottom: 0;
        clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
        padding-left: 0;
        padding-right: 10px;
    }
}

/*============================
works
============================*/

#works {
    background: #1058ad;
}

#works h2 .ja {
    color: #fff;
}

#works a.box {
    display: block;
    width: 500px;
}

#works a.box .photo {
    width: 100%;
    height: 0;
    padding-top: 60%;
    margin: 0;
    position: relative;
}

#works a.box .photo .img {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

#works .box .text {
    background: #FFF;
    padding: 10px 15px;
}

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

    #works a.box {
        width: 100%;
    }

    #works a.box:not(:first-child) {
        margin-top: 20px;
    }

    #works a.box .photo {
        height: 200px;
    }
}

/*============================
recruit
============================*/

#recruit {
    background: url(../images/home/recruit/bg.jpg)no-repeat center center;
    background-size: cover;
}

#recruit h2 {
    text-align: left;
}

#recruit .lead {
    margin-bottom: 30px;
}

#recruit .lead p {
    margin-top: 15px;
}

#recruit table.info {
    width: 620px;
}

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

    #recruit {
        background-image: url(../images/home/recruit/bg_sp.jpg);
        background-position: right top;
        background-size: 100%;
    }

    #recruit table.info {
        width: 100%;
    }
}

/*============================
company
============================*/

#company {
    background: url(../images/home/company/bg.jpg)no-repeat center center;
    background-size: cover;
}

#company table.info tbody {
    width: 500px;
}

#company table.info th,
#company table.info td {
    background: #fff;
}

#company table.info td {
    padding-right: 20px;
}

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

    #company {
        background-position: center bottom;
        background-size: contain;
        background-color: #bcdfff;
    }

    #company table.info {
        width: 100%;
    }

    #company table.info tbody {
        width: 100%;
    }

}
