@charset "UTF-8";

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

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

.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 #333;
    border-right: 5px solid #333;
    border-bottom: 5px solid #333;
    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 {
    -js-display: flex;
    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 h1 {
    font-size: 50px;
    color: #fff;
    line-height: 1.4;
}

.top_img h1 span.eng {
    font-size: 25px;
}

/*********キャッチが画像の場合は以下に変更**********/

/*
.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 {
        height: 50vh;
        background-image: url(../images/home/top_img_sp.jpg);
    }

    .top_img h1 {
        font-size: 28px;
        line-height: 1.6;
    }

    .top_img h1 span.eng {
        font-size: 18px;
    }

    /*********キャッチが画像の場合は以下に変更**********/
    /*
    .top_img {
        background-image: url(../images/home/top_img_sp.jpg);
    }
    .top_img h1 {
        width: 100%;
        padding-top: 86.67%;
        background-image: url(../images/home/top_catch_sp.png);
    }
*/
}


/*============================
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: 28px;
    line-height: 1.4;
    letter-spacing: 0.06em;
}

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

/*********画像の場合は以下に変更**********/

/*
h2 {
    width: 1040px;
    padding-top: 52px;
    height: 0;
    overflow: hidden;
    background: url(../images/home/service/title.png) no-repeat left top;
    background-size: 100%;
    margin: auto;
    margin-bottom: 40px;
}
*/

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

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

    /*********画像の場合は以下に変更**********/
    /*
    h2 {
        width: 100%;
        padding-top: 11.07%;
        background-image: url(../images/home/service/title_sp.png);
        margin-bottom: 30px;
    }
*/
}

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

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

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

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

#service {
    background: #FFFFFF;
}

#service .catch {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

#service .lead {
    margin-bottom: 40px;
    text-align: center;
}

#service .box {
    width: 500px;
}

#service .box figure {
    height: 340px;
}

#service .box .text {
    padding-top: 15px;
}

#service .box .text h3 {
    margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
    #service .catch {
        font-size: 18px;
        margin-bottom: 20px;
    }

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

    #service .lead br {
        display: none;
    }

    #service .box {
        width: 100%;
    }

    #service .box:nth-child(2) {
        margin-top: 20px;
    }

    #service .box figure {
        width: 100%;
        height: auto;
    }

    #service .box figure img {
        position: inherit;
        top: inherit;
        left: inherit;
        transform: none;
    }

    #service .box .text {
        padding-top: 15px;
    }

    #service .box .text h3 {
        margin-bottom: 5px;
    }
}

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

#works {
    background: #eeeeee;
}

/*
#works h2 {
    background-image: url(../images/home/works/title.png);
}
*/

#works .box {
    width: 330px;
}

#works .box figure {
    height: 300px;
}

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

@media only screen and (max-width: 768px) {
    /*
    #works h2 {
        background-image: url(../images/home/works/title_sp.png);
    }
*/
    #works .box {
        width: 100%;
    }
    #works .box:not(:first-child) {
        margin-top: 20px;
    }
    #works .box figure {
        height: 250px;
    }
}

/*============================
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 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 h2 {
    background-image: url(../images/home/recruit/title.png);
}
*/

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

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

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

@media only screen and (max-width: 768px) {
    /*
    #recruit h2 {
        background-image: url(../images/home/recruit/title_sp.png);
    }
*/
    #recruit.type1 section.no1 {
        margin-bottom: 30px;
    }

    #recruit .lead img {
        width: 100%;
        padding-top: 36.57%;
        height: 0;
        overflow: hidden;
        background: url(../images/home/recruit/01_sp.jpg) no-repeat left top;
        background-size: 100%;
        margin-bottom: 20px;
    }
    #recruit table.info {
        width: 100%;
    }
}

/*============================
blog(wp)
============================*/

#blog {
    background: #d9d9d9;
}

#blog .inner-bg {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px 35px;
}

#blog .inner .box a {
    display: block;
    padding: 10px 0;
}

#blog .inner .box a:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

#blog .inner .box a p span {
    font-weight: bold;
    margin-right: 20px;
}

#blog .small_link {
    text-align: right;
    font-weight: bold;
    margin-top: 5px;
}

@media only screen and (max-width: 768px) {
    #blog .inner-bg {
        border-radius: 3px;
        padding: 10px 15px;
    }

    #blog .inner .box a p span {
        display: block;
    }
}


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

#company {
    background: #eaeaea;
}

/*
#company h2 {
    background-image: url(../images/home/company/title.png);
}
*/

#company table.info {
    width: 490px;
}

#company #map {
    width: 490px;
    height: 420px;
}

@media only screen and (max-width: 768px) {
    /*
    #company h2 {
        background-image: url(../images/home/company/title_sp.png);
    }
*/
    #company table.info {
        width: 100%;
    }
    #company #map {
        width: 100%;
        height: 300px;
        margin-top: 20px;
    }
}
