@charset "utf-8";

@import url("reset.css");
@import url("navi.css");


/* 基本要素 */

html {
  scroll-behavior: smooth;
}

.pc {
    display: block !important;
}

.sp {
    display: none !important;
}

html {
    overflow: auto;
}

section {
    text-align: center;
    clear: both;

}

.color001 {
    background-color: #f7f1ea;
}

body {
    margin: 0;
    padding: 0;
    color: #333;
    overflow: hidden;
    position: relative;
}

a {
    color: #333;
}

a:hover {
    opacity: 0.9;
    text-decoration: none;
}

a img {
    transition: opacity 0.2s linear;
}

a:hover img {
    opacity: 0.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 0;
    border: none:
}

p {
    margin-top: 0;
    line-height: 1.6;
    text-indent: 1em;
    font-size: 1.1rem;
}

img {
    vertical-align: bottom;
}

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


/*ヘッダー部分*/

header {

    margin: 0 auto 0;

}

.headlogo {
    width: 950px;
    margin: 15px auto 20px;
    display: flex;
    justify-content: space-between;

}

.headertel {
    width: 292px;
    height: 62px;
    margin: 13px 0 0;
}



.w950 {
    width: 950px;
    margin: 0 auto;
}

.wcontents {
    padding: 80px 0 100px;

}

.wcontentsb {
    padding: 80px 0 0;
}


.w_left>p {
    text-align: left;
}


.jumpbtn {
    text-align: center;
    margin: 50px 0 20px;
}

.jumpbtn a {
    background-color: #5c2d2d;
    color: white;
    padding: 10px 50px;
    margin: 0 auto;
}

.h1area {
    margin: 30px 0;

}



/* フッター */

#pageTop {
    background-color: white;
    padding: 20px 0;
    border: 1px solid #ccc;
}


.footercontact {
    text-align: center;
}

.footercontact p {
    display: inline-block;
    background-color: rgb(236, 236, 236);
    margin: 0 auto 30px;
    padding: 5px 50px 2px;
    text-indent: unset;
}



.f_contact dl {
    display: flex;
    flex-wrap: wrap;
}


.f_contact dt {
    width: 40%;
    background-color: rgb(149, 0, 0);
    padding: 20px 30px 5px;
    color: #fff;
    text-align: center;
    border: 5px solid white;
    vertical-align: middle;

}

.f_contact dd {
    width: 60%;
    border: 5px solid white;
    vertical-align: middle;
    font-size: 1.3rem;
    padding: 20px 30px 14px;

    background-color: rgb(255, 239, 233);

}

.f_contact dd a {
    color: blue;
    text-decoration: underline;

}





footer {
    clear: both;
    margin-top: 0;
    background-color: #333333;
    text-align: center;
}

footer #footer_nav {
    background-color: rgb(251, 250, 240);
    padding: 25px 0 80px;
    text-align: center;
    background-image: url("../images/footer_bg1.png");
    background-repeat: repeat-x;
    background-position: bottom;


}

footer #footer_nav>div {
    width: 950px;
    margin: 0 auto;
    overflow: hidden;
}

footer #footer_nav ul {
    list-style: none;
    padding: 0;

    float: left;
    line-height: 1.8;

}

footer #footer_nav li {
    margin-left: 8px;
    padding-left: 8px;
    font-size: 1.0rem;

}




footer #footer_nav li:last-child {
    border-right: solid 1px #aaa;
    padding: 0 8px;
}

footer #footer_nav img {
    float: left;
    margin: 0 0 10px;
}

footer small {
    clear: both;
    display: block;
    padding: 8px 0;
    color: #fff;
}

div.footlogo {
    float: right;
    width: 400px;
}


div.footlogo>address {
    clear: both;
    text-align: left;
    font-style: normal;
    margin: 0 0 0 70px;
    padding: 0;
}

div.footlogo>address p {
    text-indent: 0;
    line-height: 1.3 !important;
}



div.footlogo div img {}

/* ---------------------------------
メディアクエリー
--------------------------------- */
@media screen and (max-width : 767px) {

    /* 基本要素 */
    .pc {
        display: none !important;
    }

    .sp {
        display: block !important;
    }

    img {
        max-width: 100%;
    }

    header {
        width: 100%;
    }

    .headlogo {
        display: block;
        width: auto;
    }

    header h1 {
        margin: 0;
    }

    header h1 img {
        margin: 10px auto 20px;
        width: 90vw;
        height: auto;

    }

    .w950 {
        width: 90%;
        margin: 0 auto;
    }


    /* フッター */


    footer {
        clear: both;
        margin-top: 0;
        background-color: #333333;
        text-align: center;
    }

    .footercontact {
        text-align: center;
    }

    .footercontact p {
        display: inline-block;
        background-color: rgb(236, 236, 236);
        margin: 0 auto 30px;
        padding: 5px 20px 2px;
        text-indent: unset;
    }

    .f_contact dl {
        display: block;
    }

    .f_contact dt {
        width: 100%;
        margin: 0 !important;
        border: none;
        padding: 20px 30px 14px;
    }

    .f_contact dd {
        width: 100%;
        border: none;
        font-size: 1.3rem;
        padding: 20px 30px 14px;
        margin-bottom: 30px;
    }

    .f_contact dd a {
        color: blue;
        text-decoration: underline;
    }

    div#footline {
        margin-top: 30px;
        float: left;
    }

    .footercontact h2 {
        line-height: 2.6rem;
    }


    footer #footer_nav div {
        width: 90%;
    }

    footer #footer_nav ul {
        float: none;
        margin: 10px auto 20px;
        width: 100%;
    }

    footer #footer_nav li {
        line-height: 2.0rem;
        font-size: 1.2rem;
    }

    footer #footer_nav div img {
        float: none;
        margin: 0 auto 20px;
    }
}