/* -----------------------
	header 
-----------------------*/

header {
    position: relative;
    padding-top: 16px;
    padding-bottom: 16px;
}
header ul {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
header li {
    height: 86px;
    font-size: 1vw;
    display: block;
    float: left;
}
header h1 {
    height: 78px;
    font-size: 2.2vw;
    font-family: serif;
    padding: 0 0 10px 78px;
    margin: 0;
    background: url("../img/header_logo_pc.png") 0 10px no-repeat;
}
header h1 span {
    font-size: 1.1vw;
    font-family: sans-serif;
}
header li:nth-child(1) {
    width: 40%;
}
header li:nth-child(2) {
    width: 24%;
    padding: 5px 0 0 60px;
    background: url("../img/header_icon_01_pc.png") 0 15px no-repeat;
}
header li:nth-child(2) p.tel {
    font-size: 1.7vw;
    font-weight: bold;
    padding-top: 5px;
    margin-bottom: 0;
}
header li:nth-child(3), header li:nth-child(4) {
    width: 16%;
    margin-left: 1%;
    padding-top: 16px;
}
header li:nth-child(3) img, header li:nth-child(4) img {
    width: 100%;
}
#top-head {
    position: fixed;
    width: 100%;
    height: 140px;
    margin: 0 auto;
    padding: 0;
    background: #fff;
}
#top-head:after {
    content: "";
    display: block;
    background: #fff;
}
/* Fixed */

#top-head.fixed {
    padding-top: 0;
    height: 131px;
}
#top-head.fixed:after {
    width: 100%;
    margin-top: 20px;
}
#top-head.fixed header li {
    height: 53px;
}
#top-head.fixed header h1 {
    height: 53px;
    line-height: 53px;
    padding: 0 0 10px 60px;
    background: url("../img/header_logo_pc.png") 0 0 no-repeat;
    background-size: 53px 53px;
}
#top-head.fixed header h1 span {
    display: none;
}
#top-head.fixed header li:nth-child(2) {
    padding-top: 0;
    background-position: 0 0;
    background-size: 53px 53px;
}
#top-head.fixed header li:nth-child(2) p.tel {
    line-height: 1.1;
    padding-top: 3px;
}
#top-head.fixed header li:nth-child(3), #top-head.fixed header li:nth-child(4) {
    padding-top: 0;
}

@media screen and (min-width: 1169px) {
    header h1 {
        font-size: 32px;
    }
    header h1 span {
        font-size: 14px;
    }
    header li {
        font-size: 14px;
    }
    header li:nth-child(2) p.tel {
        font-size: 26px;
    }
}

@media screen and (min-width: 768px) {
    header.head-sm {
        display: none;
    }
}

/* SP header */

@media screen and (max-width: 767px) {
    header.head-md {
        display: none;
    }
    header.head-sm {
        width: 100%;
        height: 47px;
        margin: 0;
        padding: 0;
    }
    header.head-sm h1 {
        width: auto;
        height: 47px;
        font-size: 16px;
        line-height: 1;
        font-family: serif;
        padding: 5px 125px 5px 5px;
        margin: 0;
        background: none;
        position: relative;
        z-index: 10;
    }
    header.head-sm h1 a img {
        max-width: 100%;
        max-height: 100%;
    }
    header.head-sm p {
        width: 35px;
        height: 35px;
        padding: 0;
        margin: 0;
    }
    header.head-sm p.mail {
        top: 5px;
        right: 45px;
        position: absolute;
        z-index: 10;
    }
    header.head-sm p.tel {
        top: 5px;
        right: 85px;
        position: absolute;
        z-index: 10;
    }
    header.head-sm p img {
        width: 100%;
    }
    #top-head {
        height: 47px;
    }
    #top-head.fixed {
        padding-top: 0;
        height: 47px;
    }
    #top-head.fixed:after {
        width: 100%;
        margin-top: 0;
    }
    #top-head.fixed header h1 {
        height: 47px;
        font-size: 16px;
        line-height: 1;
        padding: 5px 125px 5px 5px;
        background: none;
        position: relative;
        z-index: 10;
    }
}
/* -----------------------
	nav 
-----------------------*/

nav {
    width: 100%;
    border-top: 1px solid #BEBEBE;
    border-bottom: 1px solid #BEBEBE;
    background: #F6F6F6;
    padding: 0 !important;
}
nav ul {
    width: 100%;
}
nav li {
    width: 16.6%;
    border-left: 1px solid #BEBEBE;
}
nav li:last-child {
    border-right: 1px solid #BEBEBE;
}
nav li a {
    color: #000;
    text-align: center;
    padding: 10px !important;
    display: block;
}

/* SP nav */

@media screen and (max-width: 767px) {
    nav {
        height: 35px;
        border: none;
        background: none;
        padding: 0 !important;
    }
    .navbar {
        top: 5px;
        position: absolute;
    }
    nav ul {
        top: 42px;
        position: absolute;
        background: rgba(255, 255, 255, 1);
    }
    nav li {
        width: 100%;
        border: none;
        border-bottom: 1px solid #ccc;
    }
    nav li:first-child {
        border-top: 1px solid #ccc;
    }
    nav .navbar-toggler {
        width: 35px;
        height: 35px;
        background: url("../img/btn-menu.png") 0 0 no-repeat;
        background-size: 35px 35px;
        padding: 0;
        border: none;
        top: 0;
        right: 5px;
        position: absolute;
        z-index: 11;
    }
}

/* Nav dropdown on hover */

@media screen and (min-width: 768px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        min-width: calc(100% + 2px);
        margin-top: 0;
        left: -1px;
        border-radius: 0;
        background: #F6F6F6;
    }

    .dropdown-menu a.dropdown-item:hover {
        color: #0056b3;
        background-color: transparent;
    }
}
/* -----------------------
	190605_sp_new_navi
-----------------------*/
@media screen and (max-width: 767px){
	.key_visual {
	    padding-top: 0 !important;
   	 	padding-bottom: 0!important;
	}
	#top-head{
   		height: initial;
		background: none;
	}
}

.sp_navi_hbg{
	top:0;
	right:0;
	background:#000;
	padding:0.5rem;
}

.sp_navi_hbg_img{
	width:2.5rem;
}


#sp_footer_fix{
	background:#000;
}

.sp_footer_row_gutter .col-4 {
	padding: 0 2px;
}

.sp_footer_tel{
	background:#0bc4ee;
	box-sizing:border-box;
}

.sp_footer_line{
	background:#1dcd00;
	box-sizing:border-box;
}

.sp_footer_mail{
	background:#ea5757;
	box-sizing:border-box;
}

.a_area100{
	position: absolute;
    top: 0;
    left: 0;
	width:100%;
	height:100%;
	text-indent:-999px;
    z-index: 2;
}