@charset "utf-8";
header{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	z-index: 10;
}
header .logo{
	position: absolute;
	top: 16px;
}
/*****PC*****/
@media screen and (min-width: 1024px) {
	header a:hover picture:after{
		display: none;
	}
header{
	padding: 12px 40px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 0 0 4px rgba(0,0,0,.24);
	z-index: 99999;
}
header.hidden{
	display: none;
}
/*header{
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}*/
.header_inner{
	margin: 0 auto;
	max-width: 1280px;
}
body.modal_open header{
	z-index: 1;
}
.header_inner .header_top{
	display: flex;
	justify-content: flex-end;
}
.header_inner .header_top nav{
	display: grid;
	grid-template-columns: auto auto;
}
nav ul.page_link{
	display: flex;
	justify-content: space-between;
}
nav ul.btns{
	display: flex;
	justify-content: space-between;
}
.header_inner nav .page_link a,
.header_inner nav .btns a.button{
	font-weight: bold;
    line-height: 1.5em;
    background-color: #fff;
    padding: 6px 10px;
    text-align: center;
    display: block;
    border-radius: 4px;
    margin: 8px 0;
    position: relative;
}
.header_inner nav .page_link a:after,
.header_inner nav .btns a.button:after{
	content: "";
	display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin: auto;
		height: 1px;
		width: 0;
		transition: .3s;
		background-color: #E54816;
}
.header_inner nav .btns a.button:after{
	left: 4px;
}
.header_inner nav .page_link a:hover:after,
.header_inner nav .btns a.button:hover:after{
		width: calc(100% - 20px);
}
/*.header_inner nav .btns .login a{
	padding-right: 0;
}*/
.header_inner nav .btns .login + .login a{
	padding-left: 0;
	padding-right: 10px;
}
.header_inner nav .page_link a,
.header_inner nav .btns a.button{
	font-size: 1.2rem;
}
/*.header_inner nav .btns a.button:last-child{
	padding-right: 0;
}*/
header .inner nav ul:not(.sp){
	display: grid;
grid-template-columns: 1fr 1fr 1fr auto;
}
header .inner nav ul li{
	text-align: center;
	padding: 8px 0 0 0;
}

header .logo{
	max-width: 231px;
	min-width: 231px;
	display: block;
	right: calc(50% + 409px);
	top: 0;
	bottom: 0;
	left: 10px;
	margin: auto;
	height: fit-content;
}
header .inner nav{
	width: fit-content;
	margin-left: auto;
}
header .inner{
	padding-right: 0;
}
header .inner nav a{
	padding: 12px 18px;
	font-weight: bold;
	font-size: 1.4rem;
	position: relative;
	transition: .3s;
}
header .inner nav a:after{
	content: "";
/*	background-color: #222;*/
background-color: #E54816;
	height: 0;
	width: 0;
	position: absolute;
	bottom: 5px;
	left: 0;
	right: 0;
	margin: auto;
	transition: .3s;
}
header .inner nav a:hover:after{
	width: calc(100% - 36px);
	height: 1px;
}
header .inner nav li.pc_last a:hover:after{
	width: calc(100% - 18px);
	right: -18px;
}
header .inner nav .pc_last a{
	padding-right: 0;
}
header .heckler:after{
		transform: rotate(0);
		border: none;
}
header .inner nav a.nowpage:after{
	width: calc(100% - 36px);
        height: 1px;
}
header .btns.pc li{
	position: relative;
}
header .btns.pc li span.info_num{
		        position: absolute;
        width: 16px;
        height: 16px;
        background-color: #EA3800;
        color: #fff;
        font-size: 10px;
        text-align: center;
        line-height: 16px;
        top: 10px;
        left: 18px;
        border-radius: 8px;
	}
	.header_top nav .btns.pc li:last-child a{
		    background-color: #E54816;
		    border: 1px solid #E54816;
    		color: #fff;
    		border-radius: 16px;
	}
	.header_top nav .btns.pc li:last-child a:hover{
		background-color: #ff8252;
	}
	.header_inner nav .btns.pc li:last-child a.button:hover:after{
		display: none;
	}
}

/*****SP*****/
@media not screen and (min-width: 1024px) {
	header{
		padding: 8px 16px;
	}
	.sp_h_nav{
		max-width: calc(100% - 200px);
		width: fit-content;
		margin-left: auto;
	}
	.sp_h_nav ul{
		display: flex;
		justify-content:space-between;
	}
	.sp_h_nav ul li p,
	.sp_h_nav ul li a{
		font-size: 10px;
		text-align: center;
	}
	.sp_h_nav ul li span{
		position: relative;
		width: 24px;
		height: 24px;
		display: block;
		margin: 0 auto;
		margin-bottom: 6px;
	}
	.sp_h_nav ul li div.menu.sp_menu > span{
		margin-bottom: 0;
	}
	.sp_h_nav ul li .menu span span{
		display: block;
		width: 100%;
		height: 3px;
		background-image: url(../img/header/nav_bar.png);
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
	}
	.sp_h_nav ul li .menu span span:before,
	.sp_h_nav ul li .menu span span:after{
		display: none;
	}
	.sp_h_nav ul li .menu span:before,
	.sp_h_nav ul li .menu span:after{
		content: "";
		display: block;
		width: 100%;
		height: 3px;
		background-image: url(../img/header/nav_bar.png);
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		position: absolute;
		left: 0;
		right: 0;
		transition: .3s;
	}
	.sp_h_nav ul li .menu span:before{
		top:4px;
	}
	.sp_h_nav ul li .menu span:after{
		bottom: 4px;
	}
	.sp_h_nav ul li .menu.active span{
		background-image: none;
	}
	.sp_h_nav ul li .menu.active span:before{
		transform: rotate(45deg);
		top: 0;
		bottom: 0;
		margin: auto;
	}
	.sp_h_nav ul li .menu.active span:after{
		transform: rotate(-45deg);
		top: 0;
		bottom: 0;
		margin: auto;
	}
	.sp_h_nav ul li .menu.active span span{
		display: none;
	}
	.sp_h_nav ul li .menu{
		z-index: 99999;
		position: relative;
	}
	.header_inner{
		display: block;
		background-color: #fff;
		width: 90vw;
		height: 100vh;
		position: fixed;
		right: -100vw;
		transition: .3s;
		z-index: 9999;
		top: 0;
		padding:73px 0 150px;
	}
	body.header_active header:before{
		content: "";
		display: block;
		background-color: rgba(0,0,0,.6);
		width: 100vw;
		height: 100vh;
		position: fixed;
		z-index: 9999;
		left: 0;
        top: 0;
        transition: .2s;
	}
	.header_inner.active{
		right: 0;
		overflow-y: scroll;
	}
	header .logo{
		max-width: 160px;
	}
	header .sp_h_nav li{
		position: relative;
		padding: 0 4px;
	}
	header .sp_h_nav li span.info_num{
		position: absolute;
		width: 14px;
		height: 14px;
		background-color: #EA3800;
		color: #fff;
		font-size: 8px;
		text-align: center;
		line-height: 13px;
		top: 0;
		right: 8px;
		border-radius: 8px;
	}
	header .header_inner{
		display: flex;
		flex-wrap: wrap;
		background-color: #F1F1F1;
	}
	header .sp.login{
		background-color: #ccc;
		padding: 24px 16px;
	}
	header .sp.login,header .header_top,header .inner{
		height: fit-content;
		display: block;
		width: 100%;
	}
	header .sp.login{
		order: 1;
	}
	header .sp.login p.center{
		padding: 16px 0;
	}
	header .sp.login p.center + a{
		margin-top: 0;
	}

	header .header_top{
		order: 3;
	}
	header .inner{
		order: 2;
	}
	header ul.sp{
		max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-out;
	}
	header .sp_nav_open.active + ul.sp{
		max-height: 999px;
    transition: max-height .3s ease-out;
	}
	header .header_inner ul li .sp_nav_open,
	header .header_inner ul li a{
	background-color: #fff;
    border-radius: 4px;
	}
	header .header_inner nav{
		padding: 0 16px;
	}
	header .header_inner ul li a:not(.pc),
	header .header_inner ul li .sp_nav_open{
		display: block;
		font-size: 1.4rem;
		font-weight: bold;
		line-height: 1.7em;
		padding: 10px;
		width: 100%;
		position: relative;
		margin-top: 8px;
	}
	 header .header_inner ul li .sp_nav_open{
	 	padding-left: 40px;
	 }
	header .header_inner ul li .sp_nav_open:before,
	header .header_inner ul li .sp_nav_open:after{
		content: "";
		width: 15px;
  height: 1px;
  border-top: solid 1px #E54816;
  border-right: solid 1px #E54816;
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  margin: auto;

	}
	header .header_inner ul li .sp_nav_open:after{
  transform: rotate(90deg);
	}
header .header_inner ul li .sp_nav_open:after{
	transition: .3s;
}
header .header_inner ul li .sp_nav_open.active:after{
	transform: rotate(-0);
}
header .header_inner ul li ul li a:not(.pc){
	padding-left: 24px;
	font-weight: 400;
	position: relative;
	font-weight: bold;
}
	.sp_h_nav ul li a{
		display: block;
		line-height: 1em;
	}
	.sp_h_nav ul li p{
		padding-bottom: 0;
		line-height: 1em;
		padding-top: 6px;
	}

header .logo{
	top: 0;
	bottom: 0;
	margin: auto;
	height: fit-content;
	padding-top: 2px;
}
header .heckler:after{
	top: 0;
	bottom: 0;
	margin: auto;
	right: 20px;
}
.header_inner a.button{
	width: 100%;
}
.header_top .page_link li:last-child a{
	color: #E54816;
    background-color: #fff;
    font-weight: bold;
}
.header_top .page_link li:last-child a.heckler:after{
	border-top: solid 1px #E54816;
    border-right: solid 1px #E54816;
}

}


@media screen and (max-width: 380px) {
	.sp_h_nav{
		max-width: calc(100% - 165px);
	}

}

@media screen and (max-width: 345px) {
	.sp_h_nav ul li p, .sp_h_nav ul li a{
		font-size: 8px;
	}

}