@charset "UTF-8";

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

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90000;
    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 #0052cc;
    border-right: 5px solid #0052cc;
    border-bottom: 5px solid #0052cc;
    border-left: 5px solid #003399;
    -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%;
    background: url(../images/home/top_img.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}

.top_img h1 {
    width: 1040px;
    padding-top: 650px;
    height: 0;
    overflow: hidden;
    background: url(../images/home/top_catch.png) no-repeat left top;
    background-size: 100%;
    margin: auto;
}

.top_img .link {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 170px;
    margin: auto;
    padding: 0;
}

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

    .top_img {
        padding-bottom: 100px;
    }

    .top_img h1 {
        width: 100%;
        padding-top: 86.67%;
        background-image: url(../images/home/top_catch_sp.png);
    }

    .top_img .link {
        bottom: 70px;
    }

}

/*============================
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: 18px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #0052cc;
}

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

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

    h2 {
        margin-bottom: 30px;
        font-size: 18px;
    }

}

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

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

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

    h3 {
        font-size: 16px;
    }
}

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

#service {
    background: #FFFFFF;
}

#service h2 {
    text-align: left;
}

#service div.flex {
    margin-bottom: 40px;
}

#service .text {
    width: 580px;
}

#service .lead {
    margin-bottom: 20px;
}

#service .lead span {
    font-size: 20px;
    display: block;
}

#service .strength {
    width: 420px;
    margin-top: 10px;
}

#service .strength h3 {
    display: block;
    background: #9fe4ff;
    border: 1px solid #0052cc;
    border-radius: 20px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    color: #0052cc;
}

#service .strength-list {
    counter-reset: number;
    font-size: 18px;
    font-weight: 700;
}

#service .strength-list li {
    border-bottom: 1px solid #d9d9d9;
    padding: 6px 0;
}

#service .strength-list li::before {
    counter-increment: number 1;
    content: counter(number, decimal-leading-zero) " ";
    font-family: "Montserrat", sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0052cc;
}

#service .box {
    width: 320px;
}

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

#service .box h3 {
    background: #9fe4ff;
    color: #0052cc;
    padding: 10px;
    text-align: center;
}

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

    #service h2 {
        text-align: left;
    }

    #service div.flex {
        margin-bottom: 40px;
        gap: 30px;
    }

    #service .text {
        width: 100%;
    }

    #service .lead span {
        font-size: 16px;
    }

    #service .strength {
        width: 100%;
        margin-top: 0;
    }

    #service .box {
        width: 100%;
    }

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

    #service .box h3 {
        background: #9fe4ff;
        color: #0052cc;
        padding: 10px;
        text-align: center;
    }

    #service section.flex {
        gap: 20px;
    }

}

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

#works {
    background: #9fe4ff;
}

#works .box {
    display: block;
    width: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

#works .box .photo {
    width: 100%;
    height: 0;
    padding-top: 81.25%;
    position: relative;
    overflow: hidden;
}

#works .box .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    transition: transform .3s;
    display: block;
}

#works .box .text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: center;
    padding: 25px 30px;
/*    background: rgba(68, 114, 196, .6);*/
    background-image: linear-gradient(0deg, rgba(0, 82, 204, 0), rgba(0, 82, 204, 1));
}

#works .box .text::after {
    content: "→";
    margin-top: 12px;
    font-size: 20px;
    line-height: 60px;
    position: absolute;
    bottom: 0;
    right: 0;
    background: #0052cc;
    width: 60px;
    height: 60px;
    border-radius: 10px 0 10px 0;
    align-self: center;
}

#works .box .text h3 {
/*    font-size: 16px;*/
    font-size: 24px;
    font-weight: 500;
    color: #fff;
}

#works .box .text p {
    font-size: 14px;
    color: #fff;
}

#works .box:hover .photo img {
/*    transform: scale(1.08);*/
}

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

    #works .flex {
        gap: 20px;
    }

    #works .box {
        width: 100%;
    }

    #works .box .photo {
        padding-top: 60%;
    }

    #works .box .text h3 {
        font-size: 20px;
    }
}

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

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

#recruit .inner .detail {
    width: 550px;
}

#recruit h2 {
    text-align: left;
}

@media only screen and (max-width: 768px) {
    #recruit {
        background-image: url(../images/home/recruit/bg_sp.jpg);
        background-size: auto 180px;
        background-position: top right;
    }

    #recruit .inner .detail {
        width: 100%;
    }
}


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

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

#company h2 {
    color: #fff;
    text-align: left;
}

#company .inner .detail {
    width: 570px;
    margin-left: 0;
}

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

#company table.info th {
    background: #fff;
    color: #030b14;
}

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

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

    #company .inner .detail {
        width: 100%;
    }
}
