@charset "utf-8";
/* CSS Document */





#header{
	height:136px;
	width:100%;
	padding:0 3%;
	box-sizing:border-box;
	position:fixed;
	background:#fff;
	z-index: 1100;
	display:block; /* IE対策に追加 */
}

#main{
	padding:136px 0 0 0;
	display:block; /* IE対策に追加 */
}


#pcheader .logo{
	width:144px;
	height:80px;
	line-height:0px;
	float:left;
	margin-right:1.8%;
	
	position: relative;
    top: 24px;
}

#pcheader .logo a{
	display:block;
}

#pcheader .logo img {
	width:100%;
	height:auto;
	}

#pcheader .btn{
    position:relative;
    background:#82dcfe;
    display:inline-block;
    text-align:center;
    float:right;
    margin-left:1.8%;
	padding:0;
	border-radius:30px;
	
    top: 38px;
}

#pcheader .btn a{
	display:block;
    position:relative;
    font-size:0.94rem;
    line-height:1em;
    color:#000;
   	padding:15px 50px 15px 20px;
}

#pcheader .btn a:before{ 
    content:'';
    position: absolute;
    display: inline-block;
    vertical-align: middle;
    background:#000;
    border-radius:30px;
    
    width: 26px;
    height: 26px;
    top:calc(50% - 14px);
    right:13px;
    transition:all .3s linear;
    -webkit-transition: all .2s cubic-bezier(.18,.06,.23,1);
    transition: all .2s cubic-bezier(.18,.06,.23,1);
}

#pcheader .btn a:after{
	content:'';
	position: absolute;
	display: inline-block;
	vertical-align: middle;

	width:8px;
	height:8px;
	
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top:calc(50% - 5px);
    right: 23px;
    transition:all .3s linear;
    -webkit-transition: all .3s cubic-bezier(.18,.06,.23,1);
    transition: all .3s cubic-bezier(.18,.06,.23,1);
}


#pcheader .btn:hover a:before{ 

    background:#fff;
    border-radius:40px;
    
    width: 34px;
    height: 34px;
    top:calc(50% - 18px);
    right:8px;
    transition:all .3s linear;
    -webkit-transition: all .2s cubic-bezier(.18,.06,.23,1);
    transition: all .2s cubic-bezier(.18,.06,.23,1);
}

#pcheader .btn:hover a:after{
    border-top: 1px solid #000;
    border-right: 1px solid #000;
	width:10px;
	height:10px;
    top:calc(50% - 6px);
    transition:all .3s linear;
    -webkit-transition: all .3s cubic-bezier(.18,.06,.23,1);
    transition: all .3s cubic-bezier(.18,.06,.23,1);
    right: 22px;
}

/*
#pcheader .btn:hover{
	opacity:0.5;
}*/


#pcheader #menubox{
    display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
    -webkit-flex-wrap: nowrap; /* Safari */
	flex-wrap:         nowrap;
	-webkit-justify-content: space-between; /* Safari */
	justify-content:         space-between;
	align-items: center;
	
	height:136px;
	max-width: 800px;
    margin: auto;
	
	}
	
#pcheader #menubox li {
	-webkit-box-flex: 1; /* Safari */
	box-flex:         1;
	width:100%;
	list-style:none;
	text-align:center;
}

/*改行対策*/
@media screen and (min-width:984px){
#pcheader #menubox li:first-of-type{
    min-width: 189px;
}
}

@media screen and (min-width:984px){
#pcheader #menubox li:nth-child(3){
    min-width: 120px;
}
}


@media screen and (min-width:767px) and (max-width:983px){
	#header{
	height:13.6vw;
	}
	
	#main{
	padding-top:13.6vw;
	}
	
	#pcheader #menubox{
	height:13.6vw;
	}
	
	#pcheader .logo{
	width:13%;
	max-width:144px;
	height:auto;
	max-height:80px;
	}
	
	#pcheader #menubox li:first-of-type{
    min-width: 18vw;
    }
    #pcheader #menubox li:nth-child(3){
    min-width: 12vw;
    }
    
    #pcheader .btn{
    top: 3.8vw;
    }
    
    #pcheader .btn a{
    padding: 15px 5vw 15px 2vw;
    }
    
    #pcheader .btn a:before{
    width: 2.6vw;
    height: 2.6vw;
    top: calc(50% - 1.3vw);
    right: 1.3vw;
    }
    
    #pcheader .btn a:after{
    right: 2.3vw;
    }
    
    
    
    #pcheader .btn:hover a:before{ 
    width: 3.6vw;
    height: 3.6vw;
    top:calc(50% - 1.8vw);
    right:0.8vw;
}

#pcheader .btn:hover a:after{
	width:1.2vw;
	height:1.2vw;
    top:calc(50% - 0.6vw);
    right: 2.2vw;
}
    
    
    
}


#pcheader #menubox a{
    color:#000;
    font-size:1.1rem;
    letter-spacing:0.05em;
	position:relative;
	display: block;
}

#pcheader #menubox a span{
	font-size:0.83rem;
	color:#ed3e5c;
	display:block;
}

#pcheader #menubox a:hover{
	color:#b4b4b5;
}

#pcheader #menubox a.on{
	color:#ed3e5c;
}

#pcheader #menubox a.on:after{
	content:"";
	width:26px;
	height:1px;
	border-bottom:1px solid #ed3e5c;
	
	position:absolute;
	bottom:-10px;
	left:calc(50% - 13px);

}







/*PC==========================================*/


@media print, screen and (min-width:768px){
.spmenubox{
	display:none;
	}



}
/*PC終わり*/



/*スマホ==========================================*/
@media screen and (max-width: 767px){


#header{
	height:18vw;
	padding:0;
}

#main{
	padding-top:18vw;
}

#spheader {
    height: 100%;
}

#spheader .logo {
	line-height:0px;
	float:left;
    display:inline-block;
    width:18%;
    max-width:114px;
    
    margin-left: 3%;
    position: relative;
    top: 3.2vw;
   
}



#spheader .logo img {
	 width:100%;
	}

#spheader .menubtn{
    float:right;
    display:block !important;
	margin-top:4vw;
	position:relative;
	
	width: 25px;
    height: 25px;
    padding: 10px;
    cursor: pointer;
	margin-right: 3%;
	}
#spheader .menubtn div{
	position:relative;
}
	
/*ハンバーガーアイコンをCSSだけで表現*/
#spheader .menubtn span{
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 100%;/*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  content: '';
  cursor: pointer;
  -webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
	left:0;
}

#spheader .menubtn span:nth-child(1) {
  top: 0px;
}

#spheader .menubtn span:nth-child(2) {
  top: 8px;
}
#spheader .menubtn span:nth-child(3) {
  top: 16px;
}


#spheader .menubtnactive span:nth-child(1){
    -webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	transform: rotate(135deg);
	top:8px;
	}
	
#spheader .menubtnactive span:nth-child(2) {
			width: 0;
			left: 50%;
		}
	
#spheader .menubtnactive span:nth-child(3){
	-webkit-transform: rotate(-135deg);
	-moz-transform: rotate(-135deg);
	transform: rotate(-135deg);
	top:8px;
}

#header .spmenubox{
	background:#fff;
	width:100%;
	box-sizing:border-box;
	position:relative;
	z-index:1000;

	top:0;
	left:0;
	}
#header .spmenuboxbg{
	background:#eeeeef;
	border-top:solid 1px #9e9e9f;
	border-bottom:solid 1px #9e9e9f;
	padding:6vw 3vw 7vw;
	position:relative;
	top:18px;
}

#header .spmenuboxbg:before{
	content:"";
	border-style: solid;
	border-width: 0 18px 19px 18px;
	border-color: transparent transparent #9e9e9f transparent;
	position:absolute;
	top:-19px;
	right:calc(3% + 6px);
}


#header .spmenuboxbg:after{
	content:"";
	border-style: solid;
	border-width: 0 17px 18px 17px;
	border-color: transparent transparent #eeeeef transparent;
	position:absolute;
	top:-18px;
	right:calc(3% + 7px);
}
	
#header .spmenubox li{
	list-style: none;
}

#header .btn{
    position:relative;
    display:block;
    text-align:center;
    float: none;
    margin:auto;
    height:auto;
	}

#header .topPage .btn{
    position:relative;
    width:41%;
    display:block;
    text-align:center;
    /*height:23px;*/
    float: left;
	}


	
#sp-globalBtnArea a{
	font-size: 1.15rem;
	padding:20px 18px;
	color:#000;
	display:block;
	border-bottom:1px solid #9e9e9f;
	vertical-align:top;
	line-height:1.5rem;
	position:relative;
	font-weight: lighter;
	}
	
#sp-globalBtnArea a.on{
/*	color:#ed3e5c;*/
}


#sp-globalBtnArea a span {
    font-size: 0.9rem;
    color: #000;
    display: inline-block;
    margin-left:15px;
    padding-left:15px;
    border-left:solid 1px #ed3e5c;
    line-height:1.5rem;
	vertical-align: middle;
}


	
}/*SP終わり*/
/****************************/






