@charset "utf-8"; img {
    width: 100%;
    height: auto;
}

input, button, textarea, select {
    /*-webkit-appearance: none;*/
    border-radius: 0;
}

.sp_only {
    display: block;
}

.pc_only {
    display: none !important;
}

/*--------------------------------------
　header
---------------------------------------*/
#head_inner {
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
}

#head_inner #headlogo {
    width: 140px;
    margin: 0;
    padding: 20px 0 20px 5%;
}

#head_inner #contact_box {
    /* width: 40px; */
    padding: 0px 3% 0 0;
    display: flex;
}

#head_inner #contact_box {
    /* width: 40px; */
    padding: 0px 3% 0 0;
    height: 40px;
}

#head_inner h1 img {
    width: 100%;
}

header #sp_menu {
    position: absolute;
    top: 40px;
    width: 100%;
    background-color: #FFF;
    z-index: 1000;
    padding: 30px 0 33px;
}

header #sp_menu ul {
    width: 215px;
    margin: 0 auto;
}

header #sp_menu ul li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid;
}

header #sp_menu ul li:nth-child(7) {
    width: calc(100% - 4px);
    margin: 20px 0 10px;
    border: 2px solid #c1bdb8;
}

header #sp_menu ul li:nth-child(8) {
    width: calc(100% - 4px);
    margin: 10px 0 10px;
    border: 2px solid #b2c1d3;
    font-size: 22px;
    text-align: center;
    font-weight: bold;
}

header #sp_menu ul li a {display: block;background: url(../../img/common/arrow02.png) right 10px center no-repeat;background-size: 5px;}

header #sp_menu ul li.mail a {display: block;background: none;background-size: 5px;text-align: center;font-size: 15px;color: #322615;line-height: 1;padding: 11px 0 11px 24px;font-weight: bold;background: url(../../img/common/mail_sp.png) left 40px center no-repeat;background-size: 25px;}

header #sp_menu ul li.tel a {
    display: block;
    background: none;
    color: #00316c;
    background: url(../../img/common/tel_sp.png) left 22px center no-repeat;
    background-size: 22px;
    line-height: 1;
    padding: 12px 0 9px 26px;
}

header #sp_menu ul li a span {
    display: block;
    color: #00316c;
    text-align: left;
    padding: 12px 0 12px 10px;
    font-size: 14px;
    color: #111;
}

header #sp_menu ul li:nth-child(1), header #sp_menu ul li:nth-child(3), header #sp_menu ul li:nth-child(5), header #sp_menu ul li:nth-child(7) {
}

#header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 6;
    background: none;
}

#head_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

#head_inner #headlogo {
    margin: 0 0 0;
    float: none;
    padding: 0px 0 0px 3%;
}

#head_inner div.itembox {
    padding-right: 3%;
}

#head_inner div.itembox ul {
    display: flex;
    height: 40px;
    align-items: center;
}

#head_inner div.itembox ul li.tel {
    margin: 0 10px 0 0px;
}

#head_inner div.itembox ul li.tel.active {
    display: none;
}

#head_inner div.itembox ul li.tel img {
    height: 27px;
    width: auto;
}

#head_inner div.itembox ul li.mail {
    margin: 0 10px 0 0px;
}

#head_inner div.itembox ul li.mail.active {
    display: none;
}

#head_inner div.itembox ul li.mail a {
}

#head_inner div.itembox ul li.mail a img {
    width: auto;
    height: 27px;
}

#head_inner div.itembox ul li.menu_box {
}

#head_inner div.itembox ul li.menu_box img.right.sp_only {
    width: auto;
    height: 27px;
}

#head_inner div.itembox ul li.menu_box img.right.sp_only.active {
    width: auto;
    height: 17px;
}

#head_inner #contact_box ul li.mail a {
    font-size: 18px;
    font-weight: bold;
    padding-left: 0;
    background: none;
    padding: 0;
}

#head_inner #contact_box ul li.tel {
    line-height: 1;
    margin-right: 10px;
    width: 20px;
    height: 40px;
}

#head_inner #contact_box ul li.tel img {
    width: 100%;
}

/*--------------------------------------
　contactbox
---------------------------------------*/
#contactbox {
    width: 100%;
    background: #d7ebf3;
    padding-top: 25px;
    padding-bottom: 25px;
}

#contactbox .contactinner {
    width: 92%;
    margin: 0 4%;
    background: #FFFFFF;
    text-align: center;
}

#contactbox .contactinner .contactword {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 95%;
}

#contactbox .contactinner .contacttel {
    text-align: right;
    float: none;
    width: 95%;
    margin: 0 auto 15px;
}

#contactbox .contactinner .contactmail {
    padding-top: 10px;
    text-align: left;
    float: none;
    width: 80%;
    margin: 0 auto 15px;
}

#contactbox .contactinner ul li {
    width: 100%;
}

/*--------------------------------------
　footer
---------------------------------------*/
#footer {
    width: 100%;
}

#footer_inner {
    width: 92%;
    height: auto;
    margin: 0px 3%;
    padding: 25px 0 0 0;
    position: static;
}

#footer_inner #totop.fixed {
    width: 100%;
    position: fixed;
    bottom: 80px;
    margin-left: 0;
    left: 71%;
}


#footer_inner #totop.absolute {
    width: 100%;
    position: static;
    bottom: 0;
    left: 0;
    margin-left: 0;
}

#footer_inner #totop a {
    display: block;
    width: 38px;
    height: 38px;
}

#footer_inner #fnav_box {
    width: 94%;
    float: none;
    margin: 21px auto 10px;
    display: flex;
}

#footer_inner #fnav_box ul li {
    margin: 0 0 25px 0;
}

#footer_inner #fnav_box ul#sp_fnav01 {
    float: none;
    width: 48%;
    margin: 0;
    letter-spacing: -0.08rem;
}

#footer_inner #fnav_box ul#sp_fnav02 {
    float: none;
    width: 52%;
    margin: 0;
    letter-spacing: -0.08rem;
}

#footer #footer_inner #flogo_box {
    width: 100%;
    float: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#footer #footer_inner #flogo_box img {
    display: block;
}

#footer #footer_inner #flogo_box #sp_flogo {
    width: 100%;
    margin-right: 10px;
    margin-bottom: 20px;
}

#footer #footer_inner #flogo_box #sp_ftel {
    width: 90%;
    margin: 15px auto 10px;
}

#footer #footer_inner #flogo_box #sp_ffax {
    width: 90%;
    margin: 0 auto 20px;
}

#footer #footer_inner #flogo_box p {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

#footer_bottom {
    text-align: center;
    height: auto;
    padding: 0;
}

#footer_bottom p {
    padding: 18px 0;
}

#footer_inner #logo img {
    width: 236px;
    margin: 0 auto 0;
    display: block;
}
