/* ================================================
   グローバルスタイル - ヘッダー・フッター
   信濃環境整備
   ================================================ */

/* ---------- header ---------------------------------------- */
#header {
    position: fixed;
    min-width: 960px;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    font-family: dnp-shuei-mgothic-std, sans-serif;
}

#header .logo {
    position: absolute;
    top: 10px;
    left: 60px;
    z-index: 1500;
}

#header .logo img {
    height: 60px;
}

#header .logo p {
    overflow: hidden;
    text-indent: -999px;
}

/* gnav */
.gnav-area {
    position: relative;
    height: 80px;
}

@media (min-width: 769px) {
    .gnav-area {
        height: 80px !important;
    }
}

.gnav {
    font-family: dnp-shuei-mgothic-std, sans-serif;
}

.gnav ul {
    text-align: center;
}

.gnav li {
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}

.gnav li:last-child {
    margin-right: 0;
}

.gnav li:after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 12px;
    margin-left: 16px;
    vertical-align: middle;
}

.gnav li:last-child:after {
    display: none;
}

.gnav li a {
    position: relative;
    display: inline-block;
    padding: 4px 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #000;
}

.gnav li a:before {
    display: block;
    content: '';
    width: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-bottom: 1px solid #fff;
    transition: all 0.4s ease;
}

.gnav li a:after {
    display: block;
    content: '';
    width: 0;
    position: absolute;
    right: 50%;
    bottom: 20px;
    border-bottom: 1px solid #007ec5;
    transition: all 0.4s ease;
}

.gnav li a:hover:before,
.gnav li a:hover:after {
    width: 50%;
}

/* ボタン */
.btn-yoyaku-tel {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
}

.btn-yoyaku-tel a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #000000;
    text-align: center;
    font-family: "tot-shizukamin-stdn", sans-serif;
}

.btn-yoyaku-tel a span {
    margin-top: 18px;
    display: inline-block;
    padding-top: 28px;
    background-size: 22px auto;
    color: #fff;
    font-size: 16px;
}

.btn-yoyaku-tel a span:before {
    font-family: "Font Awesome 6 Pro";
    content: "\f0e0";
    font-size: 22px;
    font-style: normal;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    top: 8px;
    left: 40%;
    right: 35%;
    padding-right: 10px;
    z-index: 1;
    line-height: 30px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

[data-ruby] {
    position: relative;
}

[data-ruby]::before {
    content: attr(data-ruby);
    position: absolute;
    top: -1em;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 0.5em;
}

/* ---------- footer ---------------------------------------- */
#footer {
    padding: 0px 0 0px;
    text-align: center;
    color: #000;
    position: relative;
    border-top: 1px solid #ddd;
    z-index: 2;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

#footer .logo {
    margin-bottom: 23px;
}

#footer .footer_1st {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #ddd;
    padding: 10px 10px 20px;
    justify-content: space-between;
    max-width: 100%;
    overflow-x: hidden;
    flex-direction: row;
}

#footer .footer_1st {}

@media only screen and (max-width: 738px) {

    #footer .footer_1st {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 1px solid #ddd;
        padding: 10px 10px 20px;
        justify-content: space-around;
        max-width: 100%;
        overflow-x: hidden;
        align-items: stretch;
        gap: 1em;
    }
}




#footer .f_1stL {
    width: 30%;
    display: flex;
    align-items: center;
    font-family: "Century Gothic", sans-serif;
}

#footer .f_1stR {
    width: 40%;
    text-align: center;
}

#footer .footer_en_name {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    display: inline;
}

#footer .footer_en_name img {
    width: 280px
}

@media only screen and (max-width: 738px) {

    #footer .footer_en_name {
        color: #fff;
        font-size: 40px;
        font-weight: 600;
        display: inline;
    }



    #footer .footer_en_name img {
        width: 280px
    }
}


#footer .en_catch {
    height: 35px;
    padding-left: 30px;
    color: #555;
    font-size: 16px;
    line-height: 35px;
    display: inline;
}

#footer .f_1stR ul {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
}

#footer .f_1stR ul li {
    margin: 5px 5px 0;
    position: relative;
    z-index: 1;
    width: min(290px, calc(100% - 10px));
    max-width: 290px;
}

#footer .f_1stR ul li a,
#footer .f_1stR ul li span {
    display: block;
    line-height: 50px;
    position: relative;
    z-index: 2;
    color: #fff;
}

/* mail button */
#footer .f_1stR ul li .mail {
    border: #666666 1px solid;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0 auto;
    padding-left: 20px;
}

#footer .f_1stR ul li .mail:before {
    position: absolute;
    top: 0;
    left: 11px;
    bottom: 0;
    width: 25px;
    font-size: 20px;
    text-align: left;
    font-family: "Font Awesome 6 Pro";
    content: "\f0e0";
}

#footer .f_1stR ul li .mail:hover {
    color: #fefefe;
    background: #4a4a4a;
    border: #f0fafe 1px solid;
}

#footer .f_1stR ul li .mail:after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    font-size: 10px;
    font-family: "Font Awesome 6 Pro";
    content: "\f105";
    font-weight: normal;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#footer .f_1stR ul li .mail:hover:after {
    opacity: 1;
    -webkit-transform: translate(5px, 0px);
    -moz-transform: translate(5px, 0px);
    -o-transform: translate(5px, 0px);
    -ms-transform: translate(5px, 0px);
    transform: translate(5px, 0px);
}

/* footer 2nd section */
#footer .footer_2nd {
    display: flex;
    padding: 40px 10px;
    /* background: #f5f5f5; */
}

#footer .right_area {
    width: 100%;
}

#footer .sitemap_area {
    display: block;
    width: 100%;
}

#footer .sitemap_area h3 {
    color: #fff;
    /* color: #464544; */
    font-size: 15px;
    /* font-family: 'Poppins', sans-serif; */
    /* font-weight: 600; */
    letter-spacing: 1px;
    text-align: left;
    position: relative;
    padding-left: 10px;
    font-family: "Century Gothic", sans-serif;
}

#footer .sitemap_area h3 a {
    color: #fff;
}




#footer .sitemap_area ul {
    display: block;
    list-style: none;
}

#footer .sitemap_area ul li {
    display: inline-block;
    width: 28.333%;
    margin: 5px 0;
}

#footer .sitemap_area ul li a {
    color: #fff;
    display: block;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 50px;
    border-bottom: #333 1px solid;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

#footer .sitemap_area ul li a:hover {
    color: #f7f7f7;
}

#footer .info_area {
    margin-top: 30px;
}

#footer .info_area .txt_area {
    margin-top: 5px;
    padding: 0 10% 0 1px;
    line-height: 1.9;
}

#footer .info_area .txt_area p {
    font-size: 16px;
    line-height: 1.9;
}

#footer .info_area .txt_area a {
    color: #fff;
}

#footer .info_area .txt_area a:hover {
    color: #8061a7;
}

/* footer bottom */
#footer .footer_bottom {
    /* background: #333; */
    padding: 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
}

#footer .footer_bottom .logo {
    width: min(200px, calc(50% - 20px));
    max-width: 200px;
    flex-shrink: 0;
}

#footer .footer_bottom .logo img {
    max-width: 100%;
    height: auto;
}

#footer .copyright {
    color: #fff;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

#footer .copyright p {
    color: #fff;
    text-align: right;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}




.btnTel {
    padding-right: 0px;
}


a.btnTel:before,
.btnTel:before {
    font-family: 'Font Awesome 6 pro';
    content: "\f87b";
    font-size: 10px;
    padding-right: 5px;
    font-style: normal;
    content: 'TEL';
    color: #fff;
    top: -2px;
    position: relative;
}

.btnFax:before {
    font-family: 'Font Awesome 6 pro';
    content: "\f1ac";
    font-size: 10px;
    padding-right: 5px;
    font-style: normal;
    content: 'FAX';
    top: -2px;
    position: relative;
}





/* scroll up button */
#scrollUp {
    position: fixed;
    bottom: 85px;
    right: 11px;
    z-index: 1000;
}

#scrollUp a {
    width: 60px;
    height: 60px;
    display: block;
    color: #fefefe;
    background: #162a43;
    border: none;
    text-align: center;
    z-index: 11;
    position: relative;
    z-index: 1;
}

#scrollUp a:before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    font-family: 'FontAwesome';
    content: "\f106";
    font-size: 15px;
    line-height: 58px;
}

#scrollUp a:hover {
    -webkit-transform: translate(0px, -10px);
    -moz-transform: translate(0px, -10px);
    -o-transform: translate(0px, -10px);
    -ms-transform: translate(0px, -10px);
    transform: translate(0px, -10px);
}

/* --------- .inner --------- */
.footer_inner {
    padding: 40px 5% 60px;
    overflow-x: hidden;
    overflow-y: visible;
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
}

@media only screen and (max-width: 738px) {
    .footer_inner {
        padding: 50px 5%;
        z-index: 2;
    }
}



#footer .footer_2nd {
    display: flex;
    /* align-items: center; */
    margin-top: 50px;
}


@media only screen and (max-width:736px) {

    #footer .footer_2nd {
        flex-direction: column;
        padding: 0;
    }
}

#footer .right_area {
    /* width: 66.666%; */
}

/*  .right_area */
#footer .right_area {
    width: 40%;
    padding-right: 15px;
}

/*  .infoArea */
#footer .info_area {
    width: 30%;
    text-align: left;
    padding: 0 10px;
    /* padding-left: 0; */
}

#footer .info_area h1 {
    width: 230px;
    height: 120px;
    background: url(../images/logo_w.svg) center center no-repeat;
    background-size: 180px 90px;
    display: block;
    position: relative;
    overflow: hidden;
    text-indent: -999px;
    z-index: 1003;
    margin: 0 auto;
}

#footer .info_area .logo {
    width: 230px;
    height: 120px;
    background: url(../../../common/img/logo_header.svg) center center no-repeat;
    background-size: 180px 90px;
    display: block;
    position: relative;
    overflow: hidden;
    text-indent: -999px;
    z-index: 1003;
    margin: 0 auto;
}

@media only screen and (max-width: 736px) {
    #footer .info_area {
        width: 100%;
        margin-top: 30px;
        padding-left: 0px;
    }
}


#footer .info_area p {
    /* margin-bottom: 5px; */
    line-height: 1.3;
}

#footer .info_area .txt_area {
    margin-top: 5px;
    padding: 0 10% 0 1px;
    padding: 0;
    /* color: #08397b; */
    color: #fff;
    font-weight: 500;
}

#footer .info_area .txt_area p {
    font-size: 15px;
    /* line-height: 1.6; */
    letter-spacing: 0.5px;
    font-feature-settings: "palt" 1;
}

#footer .info_area .txt_area a {
    /* color: #fff; */
}

#footer .info_area .txt_area a:hover {
    color: #ccc;
}



#footer .info_area .txt_phone {
    margin: 5px 0 10px;
}


#footer .info_area .txt_area p a.btngooglemap {
    color: #fff;
    color: #000;
}

#footer .info_area .txt_area p a.btngooglemap {
    color: #000000;
    background: #ffffff;
    border-color: #ffffff;
    text-align: center;
    width: 150px;
    margin: 10px auto;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 5em;
    padding: 10px 15px;
    height: 60px;
}

#footer .info_area .txt_area p a.btngooglemap:hover {
    color: #14357b;
    background: #ccdee8;
    /*     border: #fff 2px solid; */
    margin-top: 10px;
}

#footer .info_area .txt_area p a.btngooglemap:before {
    font-family: 'Font Awesome 6 pro';
    content: "\f3c5";
    font-size: 16px;
    padding-right: 10px;
}



#footer .info_area .txt_phone {
    font-size: 20px;
}











/* .youtube */

#footer .f_1stR ul li .youtube {
    /* color: #fff; */
    border: #666666 1px solid;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    /* max-width: 250px; */
    margin: 0 auto;
    padding-left: 20px;
    font-family: "Century Gothic", sans-serif;
}

#footer .f_1stR ul li .youtube:before {
    position: absolute;
    top: 0;
    left: 21px;
    bottom: 0;
    width: 25px;
    font-size: 20px;
    text-align: left;
    font-family: 'themify';
    content: "\e75a";
    font-weight: normal;
}

#footer .f_1stR ul li .youtube:before {
    position: absolute;
    top: 0;
    left: 11px;
    bottom: 0;
    width: 25px;
    font-size: 20px;
    text-align: left;
    font-family: 'themify';
    content: "\e75a";
    font-family: "Font Awesome 6 Brands";
    content: "\f167";
}

#footer .f_1stR ul li .youtube:hover {
    color: #fefefe;
    background: #555;
    border: #f0fafe 1px solid;
}

#footer .f_1stR ul li .youtube:after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    font-size: 10px;
    font-family: "Font Awesome 6 Pro";
    content: "\f105";
    font-weight: normal;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


#footer .f_1stR ul li .youtube:hover:after {
    opacity: 1;
    -webkit-transform: translate(5px, 0px);
    -moz-transform: translate(5px, 0px);
    -o-transform: translate(5px, 0px);
    -ms-transform: translate(5px, 0px);
    transform: translate(5px, 0px);
}





/* 
#footer .info_area .txt_phone a.btnTel:before {
    font-family: 'Font Awesome 6 pro';
    content: "\f87b";
    font-size: 15px;
    padding-right: 5px;
}

#footer .info_area .txt_phone .btnFax:before {
    font-family: 'Font Awesome 6 pro';
    content: "\f1ac";
    font-size: 15px;
    padding-right: 5px;
}





/* ---------- Responsive ---------------------------------------- */
@media only screen and (max-width: 738px) {
    #footer {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #footer .footer_bottom {
        /* flex-direction: column; */
        gap: 15px;
        text-align: center;
        padding: 20px 10px;
    }

    #footer .footer_bottom .logo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    #footer .copyright {
        width: 100%;
    }

    #footer .copyright p {
        text-align: center;
        font-size: 12px;
    }

    #footer .en_catch {
        padding-left: 0px;
    }

    #footer .f_1stL {
        width: 100%;
        flex-direction: column;
        display: flex;
    }


    #footer .f_1stL img {
        width: 80%;
    }



    #footer .f_1stR {
        width: 100%;
        flex-direction: column;
        margin: 0 auto;
    }

    #footer .f_1stR ul {
        flex-direction: column;
        align-content: space-between;
        margin: 0 auto;
        text-align: center;
    }

    #footer .f_1stR ul li {
        margin: 5px 0px 0;
        width: 100%;
        margin: 10px auto;
    }
}


/* ---------- Responsive ---------------------------------------- */
@media only screen and (max-width: 640px) {
    #footer {
        overflow-x: hidden;
        max-width: 100vw;
    }

    #footer .footer_bottom {
        /* flex-direction: column; */
        display: flex;
        gap: 5px;
        text-align: center;
        padding: 10px 10px;
        align-items: center;
        height: 60px;
    }

    #footer .footer_bottom .logo {
        width: 100%;
        max-width: 60px;
        margin: 0 auto;
    }

    #footer .copyright {
        width: 100%;
        font-size: 0.5em !important;
    }

    #footer .copyright p {
        text-align: center;
        font-size: 1.2em;
        padding: 0;
    }

    #footer .en_catch {
        padding-left: 0px;
    }

    #footer .f_1stL {
        width: 100%;
        flex-direction: column;
        display: flex;
    }


    #footer .f_1stL img {
        width: 80%;
    }



    #footer .f_1stR {
        width: 100%;
        flex-direction: column;
        margin: 0 auto;
    }

    #footer .f_1stR ul {
        flex-direction: column;
        align-content: space-between;
        margin: 0 auto;
        text-align: center;
    }

    #footer .f_1stR ul li {
        margin: 5px 0px 0;
        width: 100%;
        margin: 10px auto;
    }
}





@media only screen and (max-width: 800px) {
    #scrollUp a:hover {
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        transform: translate(0px, 0px);
    }
}

@media only screen and (max-width: 414px) {
    #scrollUp a {
        width: 50px;
        height: 50px;
    }

    #scrollUp a:before {
        font-size: 16px;
        line-height: 48px;
    }
}




/* ------------------------------------------
フェードインアニメーション
--------------------------------------------*/
.fadeIn {
    -webkit-transition: 1s;
    transition: 1s;
    opacity: 0;
    -webkit-transform: translatey(50px);
    transform: translatey(50px);
}

.fadeIn.animated {
    opacity: 1;
    -webkit-transform: translatey(0px);
    transform: translatey(0px);
}



/* どくどく */
.anim-box.poyopoyo {
    animation: poyopoyo 2s ease-out infinite;
    opacity: 1;
}

@keyframes poyopoyo {

    0%,
    40%,
    60%,
    80% {
        transform: scale(1.0);
    }

    50%,
    70% {
        transform: scale(0.95);
    }
}