@charset "utf-8";
/******************************
header
*******************************/
header[id^="MnHD"]{
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
	z-index: 8888;
	top: 0;
	background: hsl(240, 100%, 26%);
	position: fixed;
}
.comdtl{
	position: relative;
	overflow: hidden;
}
header[id^="MnHD"] dl{
	width: 100%;
	padding: 0;
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
header[id^="MnHD"] dl > dt{
	text-align: left;
	position: relative;
}
header[id^="MnHD"] dl > dt img{
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%) translateX(0%);
}
header[id^="MnHD"] dl > dd{
	text-align: center;
	position: relative;
}
header[id^="MnHD"] dl > dd > a{
	color: hsl(0, 0%, 100%);
	text-decoration: none;
	display: block;
	transition: .3s all;
}
@media screen and (max-width: 999px) {
	header[id^="MnHD"] dl > dt{
		height: 55px;
	}
	header[id^="MnHD"] dl > dt img{
		height: 25px;
		left: 1em;
	}
	header[id^="MnHD"] dl > dd{
		padding: 0;
	}
}
@media screen and (min-width: 1000px) {
	header[id^="MnHD"]{
		line-height: 135%;
	}
	header[id^="MnHD"] dl > dt{
		width: 270px;
		height: 90px;
	}
	header[id^="MnHD"] dl > dt img{
		width: 270px;
		left: 1em;
	}
	header[id^="MnHD"] dl > dd{
		width: calc(100% - 270px);
		height: 90px;
	}
}
@media screen and (min-width: 1280px) {
	header[id^="MnHD"] dl{
		width: 1280px;
	}
	header[id^="MnHD"] dl > dt img{
		left: 0;
	}
}

/******************************
Menu
*******************************/
header[id^="MnHD"] .drawer-menu{
	text-align: center;
}
header[id^="MnHD"] .drawer-menu ul#primary-menu{
	text-align: center;
	padding: 0;
	margin: auto;
	display: flex;
	box-sizing: border-box;
	list-style: none;
}
.drawer-menu{
	box-sizing: border-box;
}
/***メイン***/
.drawer-menu ul#primary-menu > li{
	text-align: center;
	box-sizing: border-box;
	position: relative;
}
.drawer-menu ul#primary-menu > li a{
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 500;
	color: hsl(0, 0%, 100%);
	text-decoration:none;
	display: block;
	transition: all .3s;
}

/* メニューOPEN時の背景 */
.close-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;
	visibility: hidden;
	opacity: 0;
	z-index: -1;
}
.check:checked ~ .close-menu {
	background: hsla(0, 0%, 0%, .7);
	visibility: visible;
	opacity: 0;
}

/* ------------------------------------------------ checkbox */
.check {
	display: none;
}
@media screen and (max-width: 999px) {
	/* ------------------------------------------------ drawer menu */
	.drawer-menu{
		width: 100%;
		padding: 1em 0;
		margin: 0;
		background: hsla(240, 100%, 26%, .7);
		position: fixed;
		top: 55px;
		left: 0;
		transition:all 0.2s ease-out;
		box-sizing:border-box;
		opacity: 0;
		display: none;
	}
	.check:checked ~ .drawer-menu{
		opacity: 1;
		display: inline;
	}
	.drawer-menu ul#primary-menu{
		padding: 0;
		margin: 0;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.drawer-menu ul#primary-menu > li{
		width: calc(100% / 3);
		text-align: center;
		padding:0;
		margin: 0;
		box-sizing: border-box;
		position: relative;
	}
	.drawer-menu ul#primary-menu > li a{
		padding: 1em 0;
		display: block;
	}

	/* ------------------------------------------------ menu button */
	.menu-btn{
		font-size:1.0rem;
		text-align:center;
		width:50px;
		height:55px;
		padding:0;
		position:absolute;
		top: 0;
		right:0;
		cursor: pointer;
		display: block;
		z-index: 9999;
	}
	.bar{
		position: absolute;
		top: 15px;
		left: 12px;
		display: block;
		width: 25px;
		height: 4px;
		background: hsl(201, 100%, 50%);
		transition: all .3s;
		-webkit-transform-origin: left top;
		-ms-transform-origin: left top;
		transform-origin: left top;
	}
	.bar.middle{
		top: 24px;
		opacity: 1;
	}
	.bar.bottom{
		top: 33px;
		-webkit-transform-origin: left bottom;
		-ms-transform-origin: left bottom;
		transform-origin: left bottom;
	}
	.menu-btn:hover .bar{background: hsl(201, 100%, 50%);}

	/* ------------------------------------------------ checked */
	.check:checked ~ .drawer-menu{left: 0;}
	.check:checked ~ .menu-btn .bar.top{
		width: 29px;
		top: 14px;
		left: 15px;
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.check:checked ~ .menu-btn .bar.middle{
		opacity: 0;
	}
	.check:checked ~ .menu-btn .bar.bottom{
		width: 29px;
		top: 34px;
		left: 15px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
}
@media screen and (min-width: 1000px) {
	.drawer-menu{
		width: 100%;
	}
	.drawer-menu ul#primary-menu{
		margin:auto;
		box-sizing:border-box;
		flex-direction:row;
		justify-content: right;
	}
	.drawer-menu ul#primary-menu > li{
		line-height: 135%;
		padding:0;
		margin:0;
	}
	.drawer-menu ul#primary-menu > li:first-child{
		display: none;
	}
	.drawer-menu ul#primary-menu > li > a{
		line-height: 90px;
		padding: 0 2em;
		display: block;
		transition:0.3s ease-in;
	}
	.drawer-menu ul#primary-menu > li > a:hover{
		background: hsla(0, 0%, 100%, .4);
	}
	.menu-btn{display: none;}
}
@media screen and (min-width: 1280px) {
}


/******************************
primary-under
*******************************/
ul#primary-under{
	font-family:'Noto Sans JP',"メイリオ","ＭＳ Ｐゴシック", "ヒラギノ角ゴ Pro W3", arial,helvetica,clean,sans-serif;
	width: 100%;
	padding: 3rem 0;
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
}
ul#primary-under > li{
	text-align: center;
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
ul#primary-under > li > a{
	color: hsl(0, 0%, 100%);
	text-decoration: none;
	padding: .5rem 1rem;
	display: block;
	transition: all 0.5s;
}
ul#primary-under > li > a:hover{
	background: hsla(0, 0%, 100%, .3);
}

@media screen and (max-width: 699px) {
	ul#primary-under{
		width: 100%;
	}
	ul#primary-under > li{
		width: calc(100% / 3);
	}
	ul#primary-under > li > a{
		padding: .5rem 0;
	}
}
@media screen and (min-width: 700px) {
	ul#primary-under > li{
		line-height: 135%;
		text-align: center;
		width: calc(100% / 5);
	}
}
@media screen and (min-width: 1280px) {
	ul#primary-under{
		width: 900px;
	}
}
