@charset "UTF-8";
@import url("grid.css");

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
    vertical-align: middle;
}

a {
    display: block;
    color: #000;
    text-decoration-line: none;
}

a:hover {
    color: #999;
}

.pc {
    display: none;
}

.sp {
    display: block;
}

@media (min-width : 768px) {
    .pc {
        display: block;
    }

    .sp {
        display: none;
    }
}

/*ヘッダー
-------------------------------------*/
header {
    /* display: flex;
    flex-direction: row; */
    height: 100px;
    /* position: fixed; */
    background-color: #fff;
}

.header_fix {
    background-color: #fff;
    position: fixed;
    width: 100%;
    height: 100px;
    padding-top: 1em;
    padding-bottom: 1em;
    z-index: 10;
}

.header-box {
    margin-left: auto;
    margin-top: 8px;
}

h1 {
    width: 70%;
    max-width: 400px;
    margin: 0 auto;
}

@media screen and (max-width: 540px) {
    header {
        height: 80px;
    }

    .header_fix {
        padding-bottom: 0;
        height: 80px;
    }

}

/*メイン画像
-------------------------------------*/

.mainimg {
    background-image: url(../images/top_img_color.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 40vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1000px) {
    .mainimg {
        height: 50vh;
    }
}

/*事業案内
-------------------------------------*/
main {
    margin: 0 0 0 0;
}

section {
    margin: 0;
    padding: 0;
}

.gray-back {
    background-color: #5f91ab;
}

.jigyo-cont {
    margin: 80px auto 0;
}

.jigyo-cont-in {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5em;
}

.rev {
    flex-direction: row-reverse;
}

.jigyo-cont-pic {
    width: 40%;
}

.jigyo-cont-in-txt {
    width: 55%;
    text-align: left;
}

.jigyo-cont-in-txt p{
    font-size: .9em;
}

.jigyo-cont-in h3 {
    /* font-size: 1em; */
    font-weight: bold;
    letter-spacing: .1em;
    margin-bottom: .2em;
}

.jigyo-txt {
    padding-top: 1em;
    line-height: 2;
    margin-bottom: 0;
}

.jigyo-txt-cont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 50px auto;
}

.under-color {
    position: relative;
}

.under-color::before {
    position: absolute;
    content: "";
    background-image: url(../images/under_long.png);
    background-size: cover;
    width: 100%;
    height: 2em;
    z-index: -1;
    bottom: -0.6em;
}

.jigyo-txt-pic {
    max-width: 30%;
}

.recruit{
    border: 3px solid #888;
    max-width: 1000px;
    margin: 100px auto 0;
    padding: 100px 5%;
    background-image: url(../images/recruit-back.jpg);
    background-size: cover;
    background-position: 90% 50%;
}

.recruit-txt{
    padding: 1em;
    background-color: rgba(255,255,255,.8);
    display: block;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 0.9em;
}

.recruit-ttl{
    color: #5f91ab;
    border-bottom: #5f91ab 3px solid;
    display: inline-block;
    padding: 0 2em .5em;
    padding-bottom: .2em;
    font-size: 1.5em;
    margin-bottom: .5em;
    font-weight: bold;
    letter-spacing: .15em;
}

.recruit-tel{
    font-size: 1.2em;
    letter-spacing: .1em;
    border: solid 1px #000;
    background-color: #fff;
    display: inline-block;
    padding: .5em 1em;
    margin-top: .5em;
}

.recruit a{
    display: inline-block;
}

@media (min-width : 500px) {
    .jigyo-cont-in h3 {
        font-size: 1.2em;
        margin-bottom: 1em;
    }

    .jigyo-cont-in-txt p, .recruit-txt{
        font-size: 1em;
    }
    
}

@media (min-width : 768px) {
    .jigyo-cont {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .rev {
        flex-direction: row;
    }

    .jigyo-cont-in {
        /* margin: 1%; */
        width: 48%;
        margin: 2em 0;
        max-width: 600px;
    }

    .jigyo-txt-cont {
        flex-direction: row;
    }

    .jigyo-txt {
        font-size: 1.2em;
        padding-top: 0;
        padding-left: 2em;
    }

    .recruit-ttl{
        font-size: 2em;
    }

    .recruit-ttl{
        padding: 0 2.5em .5em;
    }

}

#section1 {
    padding-bottom: 50px;
}

.sub-ttl {
    color: #fff;
    text-align: center;
    padding: 1.5rem 0 0.2em;

}

.sub-ttl h2 {
    letter-spacing: .2em;
}

.center {
    text-align: center;
}

h4 {
    color: #5f91ab;
    font-weight: bold;
    border: 2px solid #5f91ab;
    text-align: center;
    margin: 0 auto .5em;
    padding: .2em .5em .1em;
    width: 80%;
    max-width: 350px;
}

.align-left {
    text-align: left;
}

.info_out_cont {
    padding: 50px 0;
}

.foot_logo {
    width: 80%;
    max-width: 350px;
    margin: 0 auto .5em;
}

.info_cont {
    display: inline-block;
}

.g-map iframe {
    min-height: 300px;
    height: 100%;
}

@media (min-width : 768px) {

    .foot_logo,
    h4 {
        width: 100%;
    }
}


/*フッター
-------------------------------------*/
footer {
    background-color: #000;
    padding: .5rem 0;
}

.info_cont p{
font-size: .9em;
}

@media (min-width : 768px) {

    .info_cont p{
        font-size: 1em;
        }
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
    border: 1px solid #ccc;
    text-align: center;
    padding: 2rem 0;
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: .5rem 0;
    color: #fff;
    text-decoration: none;
    font-size: .8em;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}

#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}

#pagetop a:hover {
    background: #666;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #67544b;
    background: #fff;
    z-index: 9999999;
    text-align: center;
    color: #fff;
}

#splash-logo {
    position: absolute;
    width: 30%;
    max-width: 300px;
    min-width: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #67544b;
    /*伸びる背景色の設定*/
    background-color: #5f91ab;
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/
#container {
    opacity: 0;
    /*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container {
    animation-name: PageAnimeAppear;
    animation-duration: 1s;
    animation-delay: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/

.box {
    opacity: 0;
}

/*==================================================
動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}