@charset "utf-8";
/******************************
header
*******************************/
header[id^="MnHD"]{
	width: 100%;
	text-align: center;
	padding: 0;
	margin: 0;
	background: hsl(0, 0%, 100%);
	z-index: 999;
	top: 0;
	position: fixed;
}
dl.comenu{
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: relative;
}
dl.comenu > dt{
	text-align: left;
	position: relative;
}
dl.comenu > dt img{
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%) translateX(0%);
}
dl.comenu > dd{
	text-align: center;
}
dl.comenu > dd a{
	text-decoration: none;
}
dl.comenu > dd > div:first-child > a{
	font-family: "Public Sans", sans-serif;
	color: hsl(0, 0%, 10%);
	display: block;
}
dl.comenu > dd > div:last-child img{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	filter: brightness(0) saturate(100%) invert(99%) sepia(92%) saturate(1%) hue-rotate(250deg) brightness(108%) contrast(100%);
}
dl.comenu > dd > div:last-child{
	background: hsl(217, 96%, 60%);
	position: relative;
}
dl.comenu > dd > div:last-child a{
	height: 100%;
	display: block;
}
@media screen and (max-width: 999px) {
	dl.comenu > dt{
		height: 50px;
	}
	dl.comenu > dt img{
		height: 20px;
		left: 1em;
	}
	dl.comenu > dd{
		padding: 0 50px 0 0;
		display: flex;
	}
	dl.comenu > dd > div:first-child{
		font-size: 1.1em;
		line-height: 50px;
		padding-right: .7em;
	}
	dl.comenu > dd > div:first-child > a img{
		width: 7px;
		margin: 0 .2em .2em 0;
		vertical-align: middle;
	}
	dl.comenu > dd > div:last-child{
		width: 50px;
	}
	dl.comenu > dd > div:last-child img{
		width: 15px;
	}
}
@media screen and (min-width: 1000px) {
	dl.comenu{
		line-height: 135%;
	}
	dl.comenu > dt{
		width: 390px;
		height: 120px;
	}
	dl.comenu > dt img{
		width: 290px;
		left: 1em;
	}
	dl.comenu > dd{
		width: calc(100% - 390px);
		height: 120px;
		position: relative;
		display: flex;
		flex-direction: row;
	}
	dl.comenu > dd > div:first-child{
		width: calc(100% - 120px);
		position: relative;
	}
	dl.comenu > dd > div:first-child .drawer-menu{
		position: absolute;
		right: 0;
		bottom: 0;
	}
	dl.comenu > dd > div:first-child > a{
		font-size: 1.75em;
		line-height: 135%;
		position: absolute;
		right: .8em;
		top: 1.3em;
	}
	dl.comenu > dd > div:first-child > a img{
		width: 15px;
		margin: 0 .3em .2em 0;
		vertical-align: middle;
	}
	dl.comenu > dd > div:last-child{
		width: 120px;
	}
	dl.comenu > dd > div:last-child img{
		width: 30px;
	}
}
@media screen and (min-width: 1280px) {
	header[id^="MnHD"]{
		background: linear-gradient(90deg, hsl(0, 0%, 100%) 0%, hsl(0, 0%, 100%) calc(100% - (100% - 1280px) / 2), hsl(205, 97%, 37%) calc(100% - (100% - 1280px) / 2), hsl(205, 97%, 37%) 100%);
	}
	dl.comenu{
		width: 1280px;
	}
	dl.comenu > dt img{
		left: 100px;
	}
}


/******************************
Menu
*******************************/
.drawer-menu{
	box-sizing: border-box;
}
ul#primary-menu{
	line-height: 135%;
	text-align: center;
	padding: 0;
	margin: auto;
	display: flex;
	box-sizing: border-box;
	list-style: none;
}
/***メイン***/
ul#primary-menu > li{
	text-align: center;
	position: relative;
}
ul#primary-menu > li a{
	color: hsl(0, 0%, 20%);
	text-decoration:none;
	display: block;
	transition: all .3s;
}

/* ---------- checkbox */
.check {
	display: none;
}

@media screen and (max-width: 999px) {
	/* ------------------------------------------------ drawer menu */
	.drawer-menu{
		width: 50%;
		padding: 0;
		margin: 0;
		background: hsl(0, 0%, 100%);
		position: fixed;
		top: 50px;
		right: -50%;
		transition:all 0.2s ease-out;
		box-sizing:border-box;
		opacity: 0;
		visibility: hidden;
	}
	.check:checked ~ .drawer-menu{
		opacity: 1;
		visibility: visible;
		right: 0;
	}
	ul#primary-menu{
		padding: 0;
		margin: 0;
		flex-direction: column;
	}
	ul#primary-menu > li{
		text-align: center;
		padding:0;
		margin: 0;
		border-bottom: 1px solid hsl(0, 0%, 0%, .7);
		box-sizing: border-box;
		position: relative;
	}
	ul#primary-menu > li:last-child{
		border-bottom: none;
	}
	ul#primary-menu > li a{
		padding: 1em 0;
		display: block;
	}

	/* ------------------------------------------------ menu button */
	.menu-btn{
		font-size:1.0rem;
		text-align:center;
		width:50px;
		height:50px;
		padding:0;
		background: hsl(205, 97%, 37%);
		position:absolute;
		top: 0;
		right:0;
		cursor: pointer;
		display: block;
		z-index: 1;
	}
	.bar{
		position: absolute;
		top: 20px;
		left: 18px;
		display: block;
		width: 14px;
		height: 2px;
		background: hsl(0, 0%, 100%);
		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: 28px;
		-webkit-transform-origin: left bottom;
		-ms-transform-origin: left bottom;
		transform-origin: left bottom;
	}
	.menu-btn:hover .bar{background: hsl(0, 0%, 100%);}

	/* ------------------------------------------------ checked */
	.check:checked ~ .menu-btn .bar.top{
		width: 15px;
		top: 19px;
		left: 21px;
		-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: 15px;
		top: 29px;
		left: 21px;
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	/* メニュー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;
		z-index: 10;
	}
	.close-menu.active {
		background: hsla(0, 0%, 0%, .6);
		visibility: visible;
	}
}
@media screen and (min-width: 1000px) {
	ul#primary-menu{
		margin:auto;
		box-sizing:border-box;
		flex-direction:row;
		justify-content: right;
	}
	ul#primary-menu > li{
		line-height: 175%;
		padding:0;
		margin:0;
	}
	ul#primary-menu > li > a{
		font-size: .9em;
		padding: 1em;
		display: block;
		transition: .3s ease-in-out;
	}
	ul#primary-menu > li > a:hover{
		background: hsla(0, 0%, 0%, .1);
	}
	.menu-btn{display: none;}
}
@media screen and (min-width: 1280px) {
	ul#primary-menu > li > a{
		padding: 1em 2.3em;
	}
}



/******************************
primary-under
*******************************/
ul#primary-under{
	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%);
	font-size: 1.15em;
	font-weight: 400;
	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{
		padding: .5em 0;
		width: 88%;
	}
	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: 600px;
	}
}
