@charset "UTF-8";

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

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

.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 #00057b;
    border-right: 5px solid #00057b;
    border-bottom: 5px solid #00057b;
    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 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 650px;
    width: 100%;
    background: url(../images/home/top_img.jpg) no-repeat center center;
    background-size: cover;
    text-align: center;
}

.top_img .catch img {
    width: 260px;
    margin: 0 auto 20px;
}

.top_img h1 {
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    font-size: 40px;
    color: #00057b;
    line-height: 1.5;
}


@media only screen and (max-width: 768px) {
    
    .top_img {
        height: 70vh;
    }

    .top_img .catch {
        width: 90.625%;
    }

    .top_img .catch img {
        width: 130px;
    }

    .top_img h1 {
        margin: auto;
        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: 20px;
    line-height: 1.2;
    letter-spacing: 0.06em;
    color: #070a46;
}

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

@media only screen and (max-width: 768px) {
    h2 {
        margin-bottom: 30px;
        font-size: 16px;
    }

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

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

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

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

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

#service {
    background: #FFFFFF;
}

#service .inner {
    position: relative;
}

#service h2 {
    text-align: left;
    margin-bottom: 30px;
}

#service .photo {
    width: 490px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

#service .photo img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#service .box {
    width: 500px;
}

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

#service .box dl {
    background: #ebebeb;
    padding: 25px 30px 30px;
    margin-top: 30px;
}

#service .box dl dt {
    color: #00057b;
    font-size: 18px;
    font-weight: 700;
    position: relative;
}

#service .box dl dt::after {
    content: "";
    background: #00057b;
    width: calc(100% - 84px);
    height: 1px;
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
}

@media only screen and (max-width: 768px) {
    #service .photo {
        width: 100%;
        height: 0;
        padding-top: 60%;
        position: relative;
        margin-bottom: 15px;
    }

    #service .photo img {
        width: 100%;
        height: 100%;
        object-position: center;
        object-fit: cover;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #service .box {
        width: 100%;
    }

    #service .box dl {
        margin-top: 20px;
    }
}

/*============================
reason
============================*/

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

#reason h2 {
    color: #fff;
}

#reason .flex {
    background: #fff;
    align-items: stretch;
}

#reason .photo {
    width: 520px;
}

#reason .flex ul {
    flex: 1;
    padding: 50px 40px;
}

#reason .flex ul li {
    position: relative;
    font-size: 18px;
    line-height: 2;
    padding-left: 20px;
}

#reason .flex ul li::before {
    content: "\f14a";
    font-family: "Font Awesome 7 Free";
    font-weight: 700;
    color: #00057b;
    padding-right: 5px;
    position: absolute;
    top: 2px;
    left: 0;
}

#reason .link li a {
    border: 1px solid #fff;
    background: transparent;
}

@media only screen and (max-width: 768px) {
    #reason .flex ul {
        flex: none;
        padding: 20px 30px;
        width: 100%;
    }
    
    #reason .flex ul li {
        font-size: 16px;
    }
}


/*============================
works（wp）
============================*/

#works {
    background: #eeeeee;
}

#works .inner::after {
    display: block;
    content: "";
    width: 330px;
}

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

#works .inner a.box .photo {
    width: 100%;
    height: 300px;
    margin: 0;
}

#works .inner a.box .photo .img {
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
}

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

@media only screen and (max-width: 768px) {
    #works .inner a.box {
        width: 100%;
    }
    #works a.box:not(:first-child) {
        margin-top: 20px;
    }
    #works .inner a.box .photo {
        height: 200px;
    }
}

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

#recruit {
    background: #fff;
}

#recruit .message {
    background: url(../images/home/recruit.jpg)no-repeat center center;
    background-size: cover;
    padding: 75px 60px;
    margin-bottom: 20px;
}

#recruit .message .text {
    width: 500px;
    margin-left: auto;
    color: #fff;
    text-align: right;
}

#recruit .message .text img {
    width: 310px;
    display: block;
    margin-left: auto;
    margin-bottom: 30px;
}

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

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

#recruit table.info tbody {
    width: 49%;
}

#recruit table.info tr {
    background: #ebebeb;
    padding-top: 0;
    padding-bottom: 0;
}

#recruit table.info tbody tr:not(:last-child) {
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    #recruit .message {
        background: url(../images/home/recruit_sp.jpg)no-repeat top center #070a46;
        background-size: 100%;
        padding: 30px;
    }

    #recruit .message .text {
        width: 100%;
        padding-top: 140px;
        margin-left: auto;
        text-align: left;
    }

    #recruit .message .text img {
        width: 100%;
        max-width: 310px;
        margin-left: 0;
        margin-bottom: 20px;
    }

    #recruit .lead {
        margin-bottom: 0;
    }

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

    #recruit table.info tbody:not(:last-of-type) {
        margin-bottom: 10px;
    }
}

/*============================
attractive
============================*/
#attractive {
    background: #eaeaea;
}

#attractive .pick_up {
    counter-reset: number;
    gap: 2px;
}

#attractive .pick_up li {
    background: #fff;
    padding: 21px 20px;
    width: calc(20% - 2px);
    position: relative;
}

#attractive .pick_up li::before {
    content: "";
    background: #00057b;
    width: 65px;
    height: 65px;
    display: block;
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

#attractive .pick_up li::after {
    counter-increment: number 1;
    content: counter(number) " ";
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 26px;
    padding-left: 10px;
    z-index: 10;
}

#attractive .pick_up li img {
    width: 100%;
    margin-bottom: 20px;
}

@media only screen and (max-width: 768px) {
    #attractive .pick_up li {
        width: 100%;
    }

    #attractive .pick_up li img {
        max-width: 160px;
        margin: 0 auto 20px;
    }

    #attractive .pick_up li p {
        text-align: center;
    }
}

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

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

#company h2 {
    color: #fff;
}

#company table.info {}

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

#company table.info tr {
    display: flex;
    gap: 10px;
}

#company table.info th {
    background: #fff;
    color: #323232;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

    #company table.info tbody:not(:last-of-type) {
        margin-bottom: 10px;
    }

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

}
