/*全体*/

html,
body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.4px;
}


#wrapper {
    overflow: hidden;
}


/*メインスライダー*/
.bg-switcher {
    width: 100vw;
    height: 600px;
    background-position: center center;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
}

/*メインテキスト*/

.bg-title {
    color: #fff;
    line-height: 1.5;
    background: rgba(0, 0, 0, .7);
    margin-top: 55px;
    padding: 20px 40px 24px;
    letter-spacing: 10px;

}

.bg-title h1 {
    font-size: 32px;
    text-align: center;
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 700;
}

.bg-title p {
    font-size: 16px;
    text-align: center;
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 500;
}




/*フォントの種類・太さ*/

body h1 {
    font-family: din-1451-lt-pro-engschrift, source-han-sans-cjk-ja, sans-serif;
    font-weight: 500;
    font-style: normal;
}

body h2 {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 700;
    font-style: normal;
}

body h3 {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 700;
    font-style: normal;
}

body p {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 500;
    font-style: normal;
}

body table {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 500;
    font-style: normal;
}

body a {
    font-family: source-han-sans-cjk-ja, sans-serif;
    font-weight: 500;
    font-style: normal;
    text-decoration: none;
}




/*要素・文字の色*/
.bg_color1 {
    background-color: #036eb8;}

.bg_color2 {
    background-color: #f0f0f0;
}

.text_shiro {
    color: #fff;
}

.mt60{margin-top: 80px;}



/*基本の箱・文字サイズ*/

.kihon {
    width: 100%;
    padding: 100px 0;
    text-align: center;
}

.kihon h1 {
    text-align: center;
    padding: 0 20px 60px;
    font-size: 100px;
}

.kihon h2 {
    padding: 0 20px 30px;
    font-size: 32px;
    line-height: 1.4;
}


.kihon p {
    max-width: 760px;
    text-align: left;
    margin: 0 auto 30px;
    padding: 0 20px 0;
    font-size: 16px;
    line-height: 1.8;
}

.kihon a {
    font-size: 14px;
    line-height: 1.8;
}


p.center {
    text-align: center;
}

.btn {
    width: 280px;
    text-align: center;
    margin: 30px auto 0;
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    color: #000;
    border: solid 1px #000;
    border-radius: 4px;
    transition: .4s;
}

.btn:hover {
    background: #000;
    color: white;
}


/*基本のテーブル*/

.table01 table {
    width: 760px;
    margin: 0px auto 0;
    border-collapse: collapse;
    text-align: left;
    line-height: 1.8;
}


.kihon th {
    width: 20%;
    padding: 20px 20px;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: solid 1px #000;
}

.kihon td {
    width: 80%;
    padding: 20px 20px;
    font-size: 14px;
    line-height: 1.8;
    border-bottom: solid 1px #000;
}



/*選ばれる理由*/

.select {
    margin: 30px 20px 60px;
}

.select_last {
    margin: 30px 20px 0px;
}

.select h3 {
    background-color: #f0f0f0;
    padding: 10px 0px;
    max-width: 760px;
    margin: 0 auto 20px;
    font-size: 20px;
    line-height: 1.4;
    border: solid 1px #000;
    border-radius: 4px;
}

.select p {
    width: 460px;
    margin-right: 30px;
    padding: 0;
}

.select img {
    width: 280px;
    margin: 0;
    padding: 0;
}


.yokonarabi {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;

}



/*スライダー*/
.slide {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 0;
}

.slide img {
    width: 100%;
}


.big {
    max-width: 760px;
    margin: 0 auto;
}

.big img {
    width: 100%;
}

.sam {
    max-width: 760px;
    margin: 0 auto;
}

.sam img {
    width: 94%;
    margin: 30px 0px 0;
}



/*アクセス*/

.tel h1{
    font-size: 42px;
    margin-bottom:-80px;
    color: #000;
}

.tel p{
    font-size: 12px;
    margin-bottom: px;
    text-align: center;
}




.map {
    margin: 80px auto 0px;
    height: 400px;
    max-width: 900px;
}


/*フッター*/

.footer {
    width: 100%;
    background: #fff;
    padding: 10px 0 20px;
    color: #000;

}

.footer p {
    text-align: center;
    padding: 10px 0 100px;
}

.footer a {
    color: #000;
}

.footer img {
    width: 200px;
}

.end {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
}

.end p {
    padding: 0px;
}


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


    .bg-switcher {
        width: 100vw;
        height: 400px;}
        
    
    .bg-title {
        color: #fff;
        line-height: 1.2;
        background: rgba(0, 0, 0, .7);
        margin: 50px 20px 0;
        padding: 20px 20px;
        letter-spacing: 2px;
    }

    .bg-title h1 {
        font-size: 18px;
        font-weight: 700;
    }

    .bg-title p {
        font-size: 10px;
        margin-top: 8px;
        font-weight: 500;
    }


    /*基本の箱・文字サイズ*/

    .kihon {
        padding: 60px 0;
    }

    .kihon h1 {
        padding: 0 20px 40px;
        font-size: 50px;
    }

    .kihon h2 {
        padding: 0 20px 30px;
        font-size: 18px;
        line-height: 1.4;
    }

    .kihon p {
        width: 90%;
        padding: 0;
        margin: 0 auto 30px;
        font-size: 12px;
        line-height: 1.6;
    }

    .kihon a {
        font-size: 12px;
        line-height: 1.6;
    }

    .kihon th {
        width: 25%;
        font-size: 12px;
        line-height: 1.6;
    }

    .kihon td {
        width: 75%;
        font-size: 12px;
        line-height: 1.6;
    }

    /*スマホテーブル*/
    .table01 table {
        width: 90%;
    }


    /*スマホ選ばれる理由*/

    .select {
        width: 90%;
        margin: 0px auto 40px;
    }

    .select_last {
        margin: 0px 0px 0px;
    }

    .select h3 {
        padding: 10px 10px;
        max-width: 90%;
        margin: 0 auto 20px;
        font-size: 14px;
        line-height: 1.4;
    }

    .select p {
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
    }

    .select img {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .yokonarabi {
        justify-content: center;
        -webkit-justify-content: center;
        flex-wrap: wrap;
        -webkit-flex-wrap: wrap;
    }


    /*スマホ流れ*/

    .nagare_photo {
        width: 100%;
        margin: 0 auto 0px;
        padding: 0 0px;
    }

    .nagare_photo img {
        width: 90%;
    }

    .nagare_text {
        margin: 60px auto 0;
    }

    .nagare_text h3 {
        width: 90%;
        margin: 0 auto 10px;
        font-size: 12px;
    }

    .nagare p {
        width: 90%;
    }

    p.last {
        margin-bottom: -20px;
    }



    .gaiyo_photo {
        width: 90%;
        margin: 0 auto 40px;
    }

    .gaiyo_photo img {
        width: 200px;
        margin: 0 0 0 auto;
        display: block;
    }

    /*採用フォト*/

    .saiyo_photo {
        margin: 0 auto 0px;
        padding: 0 0px;
    }


    .saiyo_photo img {
        width: 90%;
    }

    /*スマホアクセス*/
    .tel h1{
        font-size: 40px;
        margin-bottom:-50px;
        color: #000;
    }

    .tel p{
        font-size: 10px;
        margin-bottom: px;
        text-align: center;
    }

    .map {
        margin: 60px auto 0px;
        height: 300px;
        width: 90%;
    }

    .btn {
        width: 240px;
    }

    /*スマホフッター*/

    .footer {
        width: 100%;
        padding: 10px 0 10px;
    }

    .footer p {
        text-align: center;
        padding: 10px 0 80px;
    }


    .footer img {
        width: 160px;

    }

    .end p {
        padding: 0 10px;
    }


}
