/*-------------------------------------*/
/*全体*/

html,
body {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #fff;
    color: #3F3F3F;
    font-feature-settings: "palt" 1;
}

body.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
}

.fadein {
    opacity: 0;
    transform: translate(0, 50px);
    transition: all 1500ms;
}

.fadein.scrollin {
    opacity: 1;
    transform: translate(0, 0);
}


/*-------------------------------------*/
/*ローティング画面*/

.loading {
    width: 100vw;
    height: 100vh;
    transition: all 1s;
    background-color: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
}

.loading.is-active {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    width: 100vw;
    height: 100vh;
    transition: all 1.5s;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
}

.loading-animation img {
    width: 30%;
}

.loading-animation.is-active {
    opacity: 1;
    visibility: visible;
}

/*-------------------------------------*/
/*HOMEのメインスライダー*/

#slider {
    max-width: 2000px;
    width: 100%;
    height: 700px;
    margin: 0 auto;
    z-index: 3;
    background-image: url("../img/top_main01.jpg");
    background-position: 50% 55%;
    background-size: cover;
    position: relative;
}

#slider_in {
    max-width: 1200px;
    width: 90%;
    height: 700px;
    margin: 0px auto;
    display: flex;
    display: -webkit-flex;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-items: center;
}

.sub_logo {
    max-width: 440px;
    width: 100%;
    margin-top: 100px;
}

.sub_logo img {
    width: 100%;
}


/*-------------------------------------*/
/*HOME以外_ページタイトル*/

.sub_logo2 {
    height: 110px;
}

.sub_logo2 img {
    height: 110px;
    margin-top: 40px;
}

.page_title_naka {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0;
    top: 0px;
    z-index: 999;
    color: #fff;
}

.page_title2 {
    max-width: 2000px;
    width: 100%;
    height: 450px;
    margin: 0px auto 0;
    background: url(../img/top_main02.jpg);
    background-repeat: no-repeat;
    background-position: 100% 60%;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page_title3 {
    max-width: 2000px;
    width: 100%;
    height: 450px;
    margin: 0px auto 0;
    background-image: url("../img/top_main03.jpg");
    background-position: 100% 65%;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page_title4 {
    max-width: 2000px;
    width: 100%;
    height: 450px;
    margin: 0px auto 0;
    background-image: url("../img/top_main04.jpg");
    background-repeat: no-repeat;
    background-position: 100% 30%;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page_title5 {
    max-width: 2000px;
    width: 100%;
    height: 450px;
    margin: 0px auto 0;
    background-image: url("../img/top_main05.jpg");
    background-position: center center;
    background-size: cover;
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/*-------------------------------------*/
/*共通　文字の種類・太さ*/

body h1 {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.1em;
}

body h2 {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 0.05em;
}

body h3 {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

body h4 {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.1em;
}

body h5 {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.1em;
}

body h6 {
    font-family: "biz-udpmincho", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

body p {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

body table {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

body a {
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    letter-spacing: 0.1em;
}

/*-------------------------------------*/
/*共通　背景*/

.bg_shiro {
    position: relative;
    z-index: 1;
    background-color: #FFF;
}

.bg_glay {
    position: relative;
    z-index: 1;
    background-color: #f0f0f0;
}

.bg_red {
    position: relative;
    z-index: 1;
    background-color: #D81918;
}

.bg_glay2 {
    position: relative;
    z-index: 1;
    background-color: #3f3f3f;
}

.bg_jyosan {
    position: relative;
    z-index: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.bg_footer {
    position: relative;
    z-index: 0;
    background-color: #3f3f3f;
}

.bg_main {
    position: relative;
    z-index: 0;
    margin: 0;
}

.bg_main::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-image: url("../img/bg_main.jpg");
    background-size: cover;
}

.bg_main2 {
    position: relative;
    z-index: 0;
    margin: 0;
}

.bg_main2::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9999;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-image: url("../img/bg_main2.jpg");
    background-size: cover;
}

.w1000 {
    max-width: 1000px;
    margin: 0 auto;
}

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

.kihon {
    width: 100%;
    padding: 100px 0px;
}

.kihon h1 {
    line-height: 1.3;
}

.kihon h2 {
    line-height: 1.3;
}

.kihon h3 {
    line-height: 1.5;
}

.kihon h4 {
    line-height: 1.5;
}

.kihon h5 {
    line-height: 1.5;
}

.kihon p {
    line-height: 2.0;
}

.kihon a {
    line-height: 2.0;
}

.kihon th {
    line-height: 2.0;
}

.kihon td {
    line-height: 2.0;
}

/*-------------------------------------*/
/*ボタン PC左寄せ*/

.btn_left {
    width: 280px;
    margin: ;
    margin-top: 60px;
    transition: 0.5s;
    color: #fff;
    background: #D81918;
}

a.btn_left {
    display: block;
    width: 280px;
    padding: 19px 10px;
    text-align: center;
    font-size: 16px;
}

a.btn_left:hover {
    opacity: 0.7;
}

/*-------------------------------------*/
/*ボタン PC中央*/

.btn_center {
    width: 280px;
    margin: 0 auto;
    margin-top: 60px;
    transition: 0.5s;
    color: #fff;
    background: #D81918;
}

a.btn_center {
    display: block;
    width: 280px;
    padding: 19px 10px;
    text-align: center;
    font-size: 16px;
}

a.btn_center:hover {
    opacity: 0.7;
}

/*-------------------------------------*/
/*con00*/

.con00 {
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

.con00 h2 {
    color: #3F3F3F;
    font-size: 40px;
    padding: 0px;
    text-align: center;
}

.con00 h3 {
    color: #3F3F3F;
    font-size: 16px;
    padding: 0px;
    text-align: center;
}

.con00 h4 {
    color: #3F3F3F;
    font-size: 24px;
    padding: 0px;
    text-align: center;
}

.con00 h5 {
    color: #D81918;
    font-size: 20px;
    padding: 0px;
}

.con00 h6 {
    font-size: 24px;
    padding-top: 40px;
}

.con00 p {
    font-size: 16px;
    padding: 0;
}

@media screen and (max-width: 1024px) {
    .con00 h2 {
        font-size: 32px;
    }
}

/*-------------------------------------*/
/*box_rl*/

.box_lr {
    width: 100%;
    margin-top: 100px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: flex-start;
}

.box_text {
    width: 420px;
}

.text_l_mt {
    margin-left: 100px;
    margin-right: 40px;
}

.text_r_mt {
    margin-right: 100px;
    margin-left: 40px;
}


@media screen and (max-width: 1024px) {
    .text_l_mt {
        margin-left: 0px;
        margin-right: 30px;
    }

    .text_r_mt {
        margin-right: 0px;
        margin-left: 30px;
    }
}

.box_text h2,
.box_text h3 {
    text-align: left;
}

.box_text h4 {
    text-align: left;
}

.box_text p {
    margin-top: 60px;
}

.box_photo {
    width: 600px;
}

.box_photo img {
    width: 100%;
}

/*-------------------------------------*/
/*box_center*/

.box_same {
    width: 100%;
    margin-top: 40px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.box_same_in {
    width: 41%;
    padding: 40px 4%;
    background-color: #3F3F3F;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
}

.ser_ill {
    height: 140px;
    padding: 40px 0;
}

.ser_ill img {
    height: 100%;
}

h4.ser_fee {
    width: 600px;
    margin: 60px auto 0;
    padding: 30px;
    background: #3f3f3f;
    box-shadow: 0px 0px 0px 10px #3f3f3f;
    border: dashed 2px white;
    font-weight: 700;
}

/*-------------------------------------*/
/*contact*/

h2.telnum {
    padding: 30px;
}

.telnum a {
    text-decoration: none;
    color: #3f3f3f;
    font-weight: 800;
    letter-spacing: 0.05em;
}

/*-------------------------------------*/
/*共通　フッター*/
.footer {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.footer img {
    width: 300px;
    padding-top: 60px;
    margin-bottom: 0px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#footer01 {
    padding: 0 0 0px;
    position: relative;
}

.nav a {
    font-size: 16px;
    display: block;
    padding: 0px 16px;
    color: #fff;
}

.footer p {
    padding: 0px;
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
}

.footer a {
    padding: 0px;
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
}

.end {
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
    background: #3f3f3f;
    text-align: center;
    z-index: 1;
}

.end p {
    font-size: 12px;
    color: #fff;
    line-height: 1.8;
}

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

    body.fixed {
        position: fixed;
        width: 100%;
        height: 100%;
        left: 0;
    }

    #footer01 .nav {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        padding: 24px 0;
    }

    #footer01 .nav li {
        padding: 0 11px;
    }

    #footer01 .nav li a {
        margin: 0;
        padding: 0 5px;
        color: #fff;
        line-height: 1.8;
        font-weight: 400;
        position: relative;
    }

    #footer01 .nav li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        -webkit-transform: scaleX(0);
        -ms-transform: scaleX(0);
        transform: scaleX(0);
        background-color: #fff;
        -webkit-transition: all .3s ease;
        transition: all .3s ease;
    }

    #footer01 .nav li a:hover::after {
        -webkit-transform: scaleX(1);
        -ms-transform: scaleX(1);
        transform: scaleX(1);
    }
}

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

    #footer01 {
        text-align: center;
    }

    #footer01 .nav li {
        border-top: 1px solid #fff;
    }

    #footer01 .nav li:last-child {
        border-bottom: 1px solid #fff;
    }

    #footer01 .nav li a {
        padding: 16px 20px;
        text-align: left;
        font-weight: 400;
    }

    #footer01 span {
        width: 100%;
        position: relative;
        font-size: 13px;
        display: block;
    }

    #footer01 span::before {
        width: 100%;
        content: "";
        position: absolute;
        top: 38%;
        right: 0px;
        width: 5px;
        height: 5px;
        border-top: 1px solid;
        border-right: 1px solid;
        transform: rotate(45deg);
    }
}

/*-------------------------------------*/
/*テキストカラー*/

.text_shiro h2,
.text_shiro h3,
.text_shiro h4,
.text_shiro h5,
.text_shiro h6,
.text_shiro p {
    color: #fff;
}

.text_center {
    text-align: center;
}

.text_right {
    text-align: right;
}

/*-------------------------------------*/
/*テーブル*/

.table_box {
    max-width: 1000px;
    margin: 0 auto;
}

/*基本テーブル*/
.defo_table {
    margin: 60px auto 0;
}

.defo_table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 10px;
}

.defo_table th {
    width: 25%;
    background: #D81918;
    color: #fff;
    padding: 24px 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.defo_table td {
    background: #fff;
    padding: 24px;
    vertical-align: middle;
    font-size: 16px;
}

.indent {
    text-indent: -1em;
    padding-left: 1em;
}

/*-------------------------------------*/
/*マップ*/

.map_box {
    width: 100%;
    margin-top: 60px;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: flex-start;
}

.map {
    width: 47.5%;
}

/*-------------------------------------*/
/*事業内容*/

.service_nav {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 18px 0;
}

.service_nav ul li {
    display: inline-block;
}

.service_nav ul li a {
    color: #fff;
    margin-right: 20px;
    padding: 0px 0px 0px 0;
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 1.8;
    text-decoration: none;
}

.service_nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    background-color: #fff;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.service_nav ul li a:hover::after {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}


/*フローテーブル*/

.table_box2 {
    max-width: 600px;
    margin: 0 auto;
}

.flow_table {
    margin: 60px auto 0;
}

.flow_table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px 10px;
}

.flow_table th {
    width: 100%;
    display: block;
    background: #D81918;
    color: #fff;
    padding: 10px 0px;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50px;
}

.flow_table td {
    width: 100%;
    display: block;
    padding: 16px 0 0;
    text-align: center;
    vertical-align: middle;
    font-size: 16px;
}

.flow_table img {
    width: 30px;
}


/*スライダー*/
.gallery {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    z-index: 1;
}

.slide {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0 20px;
    background-color: #fff;
}

.slide img {
    width: 98%;
    height: 50vw;
    max-height: 500px;
    margin: 0 auto;
    object-fit: cover;
    object-position：；
}

.slide_img3 img {
    object-position: 100% bottom;
}


/*-------------------------------------*/
/*お問い合せ*/

.info_text {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
}

.info_text p {
    text-align: center;
    font-size: 16px;
}

.info_text a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.thanks p {
    font-size: 16px;
    line-height: 1.8;
}

/*-------------------------------------*/
/*-------------------------------------*/
/*-------------ここからスマホ--------------*/

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


    .loading-animation img {
        width: 50%;
    }

    /*sp_HOME_メインキャッチ*/
    #slider {
        height: 100vh;
        /* Fallback */
        height: calc(var(--vh, 1vh) * 100);
    }

    #slider_in {
        height: 100vh;
        /* Fallback */
        height: calc(var(--vh, 1vh) * 100 + 60px);
        justify-content: flex-start;
        -webkit-justify-content: flex-start;
        align-items: center;
    }

    .sub_logo {
        max-width: 300px;
        width: 100%;
        margin-top: 0px;
    }

    .sub_logo img {
        width: 100%;
    }

    /*sp_HOME以外_ページタイトル*/

    .sub_logo2 {
        height: 90px;
    }

    .sub_logo2 img {
        height: 90px;
        margin-top: 20px;
    }

    .page_title2 {
        height: 300px;
    }

    .page_title3 {
        height: 300px;
    }

    .page_title4 {
        height: 300px;
    }

    .page_title5 {
        height: 300px;
    }


    /*基本の箱・文字サイズ*/
    .kihon {
        width: 100%;
        padding: 80px 0;
    }

    /*-------------------------------------*/
    /*sp_ボタン*/

    .btn_left {
        margin: 40px auto 0;
        transition: 0.5s;
    }

    a.btn_left {
        display: block;
        width: 240px;
        padding: 16px 0px;
        text-align: center;
        font-size: 15px;
    }

    a.btn_left:hover {
        opacity: 0.7;
    }

    .btn_center {
        margin: 40px auto 0;
        transition: 0.5s;
    }

    a.btn_center {
        display: block;
        width: 240px;
        padding: 16px 0px;
        text-align: center;
        font-size: 15px;
    }

    a.btn_center:hover {
        opacity: 0.7;
    }

    /*-------------------------------------*/
    /*sp_con00*/

    .con00 h2 {
        font-size: 30px;
    }

    .con00 h3 {
        font-size: 15px;
    }

    .con00 h4 {
        font-size: 20px;
        text-align: left;
    }

    .con00 h5 {
        font-size: 18px;
    }

    .con00 h6 {
        font-size: 20px;
    }

    .con00 p {
        font-size: 15px;
    }

    /*-------------------------------------*/
    /*sp_box_rl*/

    .box_lr {
        width: 100%;
        margin-top: 60px;
        display: flex;
        display: -webkit-flex;
        flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
        align-items: flex-start;
    }

    .box_line {
        width: 100%;
        padding-bottom: 60px;
        border-bottom: 0.5px solid #3f3f3f;
    }

    .box_text {
        width: 100%;
    }

    .text_l_mt {
        margin-left: 0px;
        margin-right: 0px;
    }

    .text_r_mt {
        margin-right: 0px;
        margin-left: 0px;
    }

    .box_text p {
        margin-top: 40px;
    }

    .box_photo {
        margin-bottom: 40px;
        width: 100%;
    }

    .box_photo img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .box_reverse {
        flex-direction: column-reverse;
    }

    /*-------------------------------------*/
    /*box_center*/

    .box_same_in {
        width: 100%;
        padding: 40px 4%;
        background-color: #3F3F3F;
        display: flex;
        display: -webkit-flex;
        flex-direction: column;
        justify-content: center;
        -webkit-justify-content: center;
        align-items: center;
    }

    /*-------------------------------------*/
    /*フッター*/

    .footer {
        padding: 0;
    }

    .footer img {
        width: 240px;
        margin-bottom: 20px;
    }

    .footer p,
    .footer a {
        padding: 20px 0 0px;
        font-size: 12px;
        line-height: 1.6;
    }

    /*-------------------------------------*/
    /*sp_テーブル*/

    .defo_table {
        margin: 40px auto 0;
    }

    .defo_table table {
        border-spacing: 0px 16px;
    }

    .defo_table th {
        display: block;
        width: 90%;
        padding: 4px 5%;
        text-align: left;
        font-size: 15px;
    }

    .defo_table td {
        display: block;
        width: 90%;
        padding: 16px 5%;
        font-size: 15px;
        line-height: 1.8;
    }

    /*-------------------------------------*/
    /*sp_マップ*/

    .map_box {
        margin-top: 40px;
        display: flex;
        flex-wrap: wrap;
        display: -webkit-flex;
        justify-content: center;
        -webkit-justify-content: center;
        align-items: flex-start;
    }

    .map {
        width: 100%;
        height: 400px;
    }

    /*-------------------------------------*/
    /*サービスページ*/

    .ser_ill {
        height: 140px;
        padding: 40px 0;
    }

    .ser_ill img {
        height: 100%;
    }

    h4.ser_fee {
        width: calc(100% - 90px);
        margin: 40px auto 0;
        padding: 20px 30px;
    }

    /*フローテーブル*/

    .flow_table {
        margin: 40px auto 0;
    }

    .flow_table table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0px 10px;
    }

    .flow_table th {
        padding: 10px 0px;
        font-size: 20px;
    }

    .flow_table td {
        padding: 16px 0 0;
        font-size: 15px;
    }

    .flow_table img {
        width: 30px;
    }

    .service_nav ul li a {
        margin-right: 16px;
        font-size: 16px;
        line-height: 1.6;
    }

    /*-------------------------------------*/
    /*sp_お問合せ*/

    .info_text p {
        text-align: left;
        font-size: 16px;
    }

    .info_text a {
        position: relative;
    }

    .info_text a::after {
        content: '';
        display: inline-block;
        background-color: #333;
        position: absolute;
        bottom: 2px;
        width: 100%;
        height: 1.5px;
        left: 0;
    }

    h4.sp_text_center {
        text-align: center;
    }

    h2.telnum {
        font-size: 24px;
        padding: 30px;
    }

}

@media screen and (min-width: 768px) {
    .br-sp {
        display: none;
    }
}