@charset "UTF-8";

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

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

.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 #00bfff;
    border-right: 5px solid #00bfff;
    border-bottom: 5px solid #00bfff;
    border-left: 5px solid #fff;
    -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;
}

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

@media only screen and (max-width: 768px) {
    .top_img h1 {
        width: 100%;
        padding-top: 96%;
        background-image: url(../images/home/top_catch_sp.png);
    }
}

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

.container {
    position: relative;
}

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

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

.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 {
    margin-bottom: 40px;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.06em;
    color: #0045b4;
    font-weight: 700;
}

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

h2 .eng span {
    font-size: 25px;
    padding: 0 10px;
}

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

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

    h2 .eng {
        font-size: 28px;
    }

    h2 .eng span {
        font-size: 18px;
        padding: 0 5px;
    }

}

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

    h2 .eng {
        font-size: 24px;
    }

    h2 .eng span {
        font-size: 16px;
        padding: 0 5px;
    }
}

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

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

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

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

#service {
    background: url(../images/home/service/service-bg.png) no-repeat center top #FFFFFF;
    background-size: cover;
}

#service h2 .eng {
    display: flex;
    align-items: center;
}

#service .text {
    width: 762px;
    margin-bottom: 50px;
}

#service .flex {
    align-items: stretch;
}

#service .flex .box {
    width: 320px;
}

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

#service .flex .box h3 {
    font-size: 18px;
    text-align: center;
    color: #fff;
    background: #00bfff;
    line-height: 40px;
}

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

    #service {
        background: #fff;
    }

    #service .text {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #service .text img.sp-only {
        width: 100%;
        margin: 20px 0;
    }

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

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

    #service .flex .box .photo {
        width: 100%;
        height: 0;
        padding-top: 60%;
        position: relative;
    }

    #service .flex .box .photo img {
        height: 100%;
        object-fit: cover;
        object-position: center;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: auto;
    }
}

/*============================
products
============================*/

#products {
    background: #ebf4fb;
}

#products h2 {
    align-items: center;
    text-align: center;
}

#products .flex {
    gap: 40px;
}

#products .box {
    width: 320px;
}

#products h3 {
    font-size: 18px;
    color: #fff;
    background: #00bfff;
    line-height: 40px;
    text-align: center;
}

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

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

    #products .flex {
        gap: 20px;
    }

    #products .box {
        width: 100%;
    }

}


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

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

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

#company table.info {
    font-size: 15px;
}

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

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

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

#company .link a {
    background: #fff;
    color: #0045b4;
}

#company .link li a::before {
    border-color: #0045b4;
}

@media only screen and (max-width: 768px) {
	#company {
    background: url(../images/home/company/company_bg_sp.png) no-repeat center bottom #29a1ff;
    background-size: 150%;
}
	
    #company table.info tbody {
        width: 100%;
    }
}
