
/*
Theme Name: freemaile_02
*/


@charset "UTF-8";
/*-------------PC nav-------------------*/

.header_logo{
	position: fixed;
	width: 152px;
	left: 15px;
	top: 15px;
	z-index: 6;
}
.pcheader{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 5;
	background-color: #fff;
}
.pcheader_inner{
	display: flex;
	justify-content: flex-end;
}
.pcnav{
	display: flex;
	justify-content: flex-end;
	align-items: center;
/*	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 5;*/
	background-color: #fff;
}

.pcnav a{
	display: block;
}
.nav_contacts{
	display: flex;
}
.pcheader .nav_contact{
	background-color: #1d1d1d;
	width: 100px;
	margin-right: 0;
	text-align: center;
}
.pcheader .nav_contact:last-child{
	background-color: #e60012;
	width: 160px;
}
.pcheader .nav_contact a{
	color: white;
    line-height: 100px;
    padding: 38px 0;
    font-size: 1.3rem;
    font-weight: bold;
}
.pcheader .nav_contact img {
    width: 22px;
    margin: 40px 5px 0 0;
}

.pcnav>li{
    margin-right: 30px;
	font-size: 1.3rem;
	font-weight: bold;
}

.pcnav>li>a{
	padding: 20px 0 10px;
}
.pcnav2{
	display: flex;
	z-index: 6;
	justify-content: flex-end;
	padding-top: 8px;
}
.pcnav2 li{
	margin-right: 20px;
}
.pcnav2 a{
	font-size: 1.1rem;
}
.pcnav2_btn{
	background-color: #000;
	padding: 7px 20px;
	border-radius: 15px;
	color: #fff;
}
.pcnav2_btn_circle{
	vertical-align: baseline;
	margin-right: 5px;
}

.nav_dropdwn{
	position: relative;
}

.dropdwn_menu{
	display: none;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 20px 15px;
	width: 180px;
	position: absolute;
	top: 50px;
}


.dropdwn_menu li{
	margin-bottom: 15px;
}

.dropdwn_menu li:last-child{
	margin-bottom: 0;
}

@media screen and (max-width: 899px) {
		
html{overflow:auto;	height:100%;}

body {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	text-size-adjust: 100%;
	position:relative;
	background-image:none;
}
/*--------------- SP header------------------*/

.spheader{
	position: fixed;
    width: 100%;
	background-color: #fff;
	padding: 3px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	z-index: 5;
	top: 0;
	padding: 2rem;
}
    .spheader.spheader_new {
        padding: 3vw 3vw;
    }
.spheader figure{
	width: 50px;
}

.humbarger {
	position: relative;
    width: 27px;
    height: 23px;
    cursor: pointer;
    }
    .humbarger.humbarger_new {
        width: 4.2vw;
        height: 3.6vw;
    }

.humbarger span {
	position: absolute;
    display: block;
  	left: 0;
  	width: 100%;
  	height: 3px;
  	background-color: #000;
    -webkit-transition: .35s ease-in-out;	/*変化の速度を指定*/
    -moz-transition: .35s ease-in-out;		/*変化の速度を指定*/
    transition: .35s ease-in-out;			/*変化の速度を指定*/
}

.humbarger span:nth-child(1) {
    top: 0;
}

.humbarger span:nth-child(2) {
    top: 10px;
}
    .humbarger.humbarger_new span:nth-child(2) {
    top: 1.42vw;
}
    
    .humbarger.humbarger_new.active span:nth-child(2) {
    display: none;
}

.humbarger span:nth-child(3) {
    bottom: 0px;
}

.sp .nav_contact {
    background: #1d1d1d;
    width: auto;
    position: absolute;
    top: 0;
    right: 115px;
    padding: 2rem 1rem;
    display: block;
    line-height: 22px;
}
    .sp .nav_contact.nav_contact_new {
        right: 38.6vw;
        font-size: 2.8vw;
        height: 10vw;
        line-height: 10vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        box-sizing: border-box;
        padding: 0 1rem !important;
    }
    .sp .nav_contact.nav_contact_new img {
        width: 3vw;
        height: auto;
    }
.sp .nav_contact2{
	background-color: #e60012;
	position: absolute;
	top: 0;
	right: 65px;
	padding: 2rem 1rem;
	line-height: 22px;
	width: 50px;
}
    .sp .nav_contact2.nav_contact2_new {
        width: 28.5vw;
        padding: 0;
        right: 10vw;
        height: 10vw;
        line-height: 10vw;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        box-sizing: border-box;
    }
    .sp .nav_contact2.nav_contact2_new img {
        display: block;
        width: 90%;
        margin: 0 auto;
    }
.sp .nav_contact a,
.sp .nav_contact2 a{
	height: 23px;
    display: flex;
    font-size: 14px;
	    color: white;
}	
    .sp .nav_contact.nav_contact_new a {
        height: auto;
    }
    .sp .nav_contact2.nav_contact2_new a {
        display: block;
        height: auto;
    }
.sp .nav_contact a img{
    width: 20px;
    margin-right: 3px;
}
/* 最初のspanをマイナス45度に */
.active span:nth-child(1) {
    top: 9px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
 
 /* 2番目と3番目のspanを45度に */
.active span:nth-child(2),
.active span:nth-child(3) {
    top: 9px;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}


.spnav{
	position:fixed;
	z-index: 5;
	top: 60px;
	left: 0;
	background: #000;
	text-align: center;
	width: 100%;
	height: 100%;
	transform: translateX(200%);
	transition: all 0.6s;
}
    .spnav.spnav_new {
        top: 10vw;
    }
.spnav ul{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	height: 100%;
	overflow: auto;
	-webkit-overflow-scrolling:touch;
}

.spnav ul li{
	font-size: 1em;
	width: 100%;
	border-bottom: 1px dotted #fff;
	color: #fff;
	font-weight: bold;
}

.spnav .spnav_dropdwn_menu li{
	border-bottom: none;
}

.spnav ul li:last-child{
	padding-bottom: 0;
	border-bottom: none;
}
.spnav ul .spnav_faq{
	border-bottom: solid 3px #fff;
}
.spnav>ul>li:last-child{
	margin-bottom: 60px;
}
.spnav ul li a{
	display: block;
	padding: 1em 0;
	color: #fff;
	font-weight: bold;
}

.spnav_dropdwn p{
	display: block;
	padding: 1em 0;
	color: #fff;
	font-weight: bold;
	position: relative;
}

.spnav_dropdwn p:after{
	content: '';
	width: 10px;
	height: 10px;
	border: 0px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-ms-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
	position: absolute;
	top: 50%;
	right: 30%;
	margin-top: -10px;
}

.spnav_dropdwn p.open{
	border-bottom: 1px dotted #fff;
}

.spnav_dropdwn p.open:after{
	content: '';
	width: 10px;
	height: 10px;
	border: 0px;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	-ms-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	position: absolute;
	top: 50%;
	right: 30%;
	margin-top: -4px;
}


.spnav_dropdwn_menu{
	display: none;
}

.spnav.active{
	transform: translateX(0%);
}

.spsns{
	display: flex;
	justify-content: center;
	padding: 20px 0 30px;
}

.spsns p{
	width: 50px;
	margin-right: 20px;
}

.spnav .nav_contact{
	background-color: #e60012;
}
.spnav .nav_contact img{
	width: 20px;
   margin: 0 5px 0 0;
}
.header_logo{
	width: 18%;
	top: 2%;
	left: 3%;
}

}
