@charset "utf-8";
/******************************
header
*******************************/
header[id^="MnHD"]{
	width: 100%;
	text-align: center;
	position: relative;
	z-index: 9999;
}
header[id^="MnHD"] > dl{
	margin: 0 auto;
	display: flex;
	flex-direction: row;
}
header[id^="MnHD"] > dl dt a span{display: none;}

@media screen and (max-width: 799px) {
	header[id^="MnHD"]{
		height: 95px;
		padding: 40px 0 0 0;
		background: url(../img/tpbg/star03.svg), hsl(0, 0%, 100%);
		background-repeat: repeat-x, repeat;
		background-size: 100% auto, 100% 100%;
		position: fixed;
		box-sizing: border-box;
	}
	header[id^="MnHD"] > dl{
		width: 100%;
		justify-content: space-between;
		align-items: center;
	}
	header[id^="MnHD"] > dl dt{
		text-align: left;
		width: 70%;
		padding: 0 0 0 1em;
	}
	header[id^="MnHD"] > dl dt img{
		height: 45px;
	}
	header[id^="MnHD"] > dl dd{
		width: 30%;
	}
}
@media screen and (min-width: 800px) {
	header[id^="MnHD"]{
		padding-top: 50px;
		background: url(../img/tpbg/star01.png) repeat-x top center;
	}
	header[id^="MnHD"] > dl{
		width: 100%;
		align-items: center;
		position: relative;
	}
	header#MnHDtop > dl > dt{
		width: 370px;
		padding: 0 2em;
	}
	header[id^="MnHD"] > dl dt img{width: 100%;}
	header#MnHDtop > dl > dd{
		width: calc(100% - 370px);
	}
	header#MnHDsub > dl > dt{
		width: 80px;
		padding: 0 2em 0 1em;
	}
	header#MnHDsub > dl dt img{width: 15px;}
	header#MnHDsub > dl > dd{
		width: calc(100% - 80px);
	}
}
@media screen and (min-width: 900px) {
	header[id^="MnHD"] > dl{
		width: 900px;
	}
}

/******************************
Menu
*******************************/
[class^="drawer-menu"]{box-sizing:border-box;}
/***メイン***/
[id^="primary-menu"]{
	text-align: center;
	padding: 0;
	margin: 0;
	display: flex;
	box-sizing: border-box;
	list-style: none;
}
[id^="primary-menu"] > li{
	text-align: center;
	position: relative;
}
[id^="primary-menu"] > li a{
	font-family: "Kosugi Maru", sans-serif;
	text-decoration: none;
	letter-spacing: .1em;
	line-height: 135%;
	display: block;
	transition: 0.3s ease-in all;
}
[id^="primary-menu"] > li span.sbtit{
	color: hsl(81, 56%, 61%);
	font-family: "M PLUS 1", sans-serif;
	font-size: .5em;
	line-height: 100%;
	letter-spacing: 0;
	margin-top: .3em;
	display: block;
}
ul.accslst{
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
}


/* メニュー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;
	pointer-events: none;
}
.check:checked ~ .close-menu {
	visibility: visible;
	opacity: 1;
}

/* ------------------------------------------------ checkbox */
.check {
	display: none;
}
@media screen and (max-width: 899px) {
	/* ------------------------------------------------ drawer menu */
	[class^="drawer-menu"]{
		text-align: center;
		padding: 1em;
		width: 60%;
		background-color: hsl(0, 77%, 74%);
		position: fixed;
		top: 95px;
		right: 0;
		transition:all 0.5s ease-out;
		opacity: 0;
		overflow-y: scroll;
		box-sizing:border-box;
		display: none;
	}
	.check:checked ~ [class^="drawer-menu"]{
		opacity: 1;
		display: inline;
	}
	ul[id^="primary-menu"]{
		padding: 0;
		margin: 0;
		flex-direction: column;
	}
	ul[id^="primary-menu"] > li{
		text-align: center;
		padding: .3rem;
		background-image : linear-gradient(to right, #fff 2px, transparent 2px);
		background-size: 6px 2px;
		background-repeat: repeat-x;
		background-position: left top;
	}
	ul[id^="primary-menu"] > li > a{
		color: hsl(0, 0%, 100%);
		padding: .7rem 0;
	}
	ul[id^="primary-menu"] > li:last-child{
		background-image : linear-gradient(to right, #fff 2px, transparent 2px), linear-gradient(to right, #fff 2px, transparent 2px);
		background-size: 6px 2px, 6px 2px;
		background-repeat: repeat-x, repeat-x;
		background-position: left top, left bottom;
	}
	ul[id^="primary-menu"] > li > a > span.sbtit{
		display: none;
	}
	ul[id^="primary-menu"] > li:nth-last-child(5) > a span.brpc{
		padding-left: 12px;
		position: relative;
		display: inline-block;
	}
	ul[id^="primary-menu"] > li:nth-last-child(5) > a span.brpc::after{
		content: "";
		background: hsl(0, 0%, 100%);
		height: 3px;
		width: 3px;
		border-radius: 50%;
		position: absolute;
		left: 4px;
		top: 50%;
		transform: translateY(-50%);
	}

	/* サブメニュー　入れ子 */
	[class^="drawer-menu"] ul.sub-menu{
		padding:0;
		margin:0;
		list-style: none;
	}
	[class^="drawer-menu"] ul.sub-menu li{
		padding:0;
		margin:0;
		background-size:3px;
		position: relative;
	}
	[class^="drawer-menu"] ul.sub-menu li:first-child{
		margin-top: .2rem;
	}
	[class^="drawer-menu"] ul.sub-menu li a{
		color: hsl(0, 0%, 100%);
		line-height:150%;
		padding: .5rem 0;
		border-top: 1px solid hsla(0, 0%, 100%, .3);
		position: relative;
		background: hsla(0, 0%, 100%, .1);
	}
	[class^="drawer-menu"] li ul.sub-menu img{
		display: none;
	}

	.accordionBtn {
		position: absolute;
		top: 0;
		right: 0;
		width: 50px;
		height: 39px;
		background-color: transparent;
		border: none;
		cursor: pointer;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.accordionBtn::before, .accordionBtn.nonactive::before{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../img/icon/plus.svg?2) center center no-repeat;
		background-size: 15px;
		transition: all .3s;
	}
	.accordionBtn.active::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: url(../img/icon/minus.svg?2) center center no-repeat;
		mix-blend-mode: hard-light;
		background-size: 15px;
		transform: rotate(180deg);
	}

	/* ------------------------------------------------ menu button */
	.menu-btn{
		font-size: 1rem;
		text-align: center;
		width: 70px;
		height: 65px;
		padding: 0;
		position: absolute;
		bottom: 0;
		right: 0;
		cursor: pointer;
		display: block;
		z-index: 9999;
	}
	.bar{
		position: absolute;
		left: 10px;
		display: block;
		height: 4px;
		background: hsl(9, 80%, 82%);
		transition: all .5s;
		transform-origin: left top;
		border-radius: 8px;
	}
	.bar.top{
		top: 15px;
		width: 50px;
		opacity: 1;
	}
	.bar.middle{
		top: 25px;
		width: 50px;
		opacity: 1;
	}
	.bar.bottom{
		top: 35px;
		width: 50px;
		-webkit-transform-origin: left bottom;
		-ms-transform-origin: left bottom;
		transform-origin: left bottom;
	}
	.mnmoji{
		font-size: 10px;
		font-weight: bold;
		line-height: 100%;
		color: hsl(1, 88%, 71%);
		position: absolute;
		bottom: 10px;
		left: 50%;
		transform: translateY(0) translateX(-50%);
	}
	.menu-btn:hover .bar{background: hsl(9, 80%, 82%);}

	/* ----------------------------------- checked */
	.check:checked ~ .menu-btn{
		background: hsl(1, 88%, 71%);
	}
	.check:checked ~ .menu-btn .bar.top{
		width: 60px;
		top: 10px;
		left: 10px;
		background: hsl(0, 0%, 100%);
		transform: rotate(30deg);
	}
	.check:checked ~ .menu-btn .bar.middle{
		opacity: 0;
	}
	.check:checked ~ .menu-btn .bar.bottom{
		width: 60px;
		top: 40px;
		left: 10px;
		background: hsl(0, 0%, 100%);
		transform: rotate(-30deg);
	}
	.check:checked ~ .menu-btn .mnmoji{
		color: hsl(0, 0%, 100%);
	}
	ul.accslst{
		flex-direction: column-reverse;
		margin: 1.5em 0 .5em;
	}
	ul.accslst li{
		width: 100%;
		text-align: center;
		padding: 0;
		margin: .3em 0;
	}
	ul.accslst li a{
		color: hsl(1, 88%, 71%);
		font-size: 1.2em;
		line-height: 100%;
		text-decoration: none;
		width: 100%;
		padding: .8em 0;
		border-radius: .5em;
		background: hsl(0, 0%, 100%);
		display: block;
	}
}
@media screen and (min-width: 900px) {
	[class^="drawer-menu"]{width: 100%;}
	.drawer-menusub{
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.drawer-menusub > div:first-child{
		width: calc(100% - 260px);
	}
	.drawer-menusub > div:last-child{
		width: 260px;
	}
	ul.accslst{
		flex-direction: row;
	}
	ul.accslst li{
		text-align: center;
		padding: 0 .5em;
		width: calc(100% / 2);
	}
	ul.accslst li a{
		color: hsl(0, 0%, 100%);
		font-size: 1.1em;
		line-height: 100%;
		text-decoration: none;
		width: 100%;
		padding: .8em 0;
		border-radius: .5em;
		background: hsl(81, 55%, 59%);
		display: block;
		transition: .3s all;
	}
	ul.accslst li a:hover{
		background: hsl(81, 55%, 70%);
	}
	ul.accslst li:last-child{
		display: none;
	}

	.menu-btn{display:none;}

	ul[id^="primary-menu"]{
		font-size: .9em;
		width: 100%;
		flex-direction:row;
		align-items: center;
	}
	ul#primary-menu > li{
		width: calc(100% / 7);
		height: 100%;
	}
	ul#primary-menu2{
		width: 800px;
		margin: auto;
	}
	ul#primary-menu2 > li{
		width: calc(100% / 8);
	}
	ul#primary-menu2 > li:first-child img{
		width: 25px;
	}
	ul#primary-menu2 > li a span:last-child{
		color: hsl(146, 49%, 47%);
		font-weight: bold;
	}
	ul[id^="primary-menu"] > li > a{
		font-size: .9em;
		width: 100%;
		height: 100%;
		padding: 2.5em 0;
		transition: .3s ease-in;
		display: block;
	}
	ul[id^="primary-menu"] > li > a:hover{
		background: hsl(75, 55%, 89%);
	}
	ul[id^="primary-menu"] > li:nth-last-child(3) > a,
	ul[id^="primary-menu"] > li:nth-last-child(5) > a{
		padding: 1.8em 0;
	}

	ul.sub-menu{
		list-style: none;
		position: absolute;
		top: 100%;
		left: 0;
		margin: 0;
		padding: 0;
	}
	ul.sub-menu li a{
		font-size: .9em;
		white-space: nowrap;
		padding:.7rem 1rem;
		text-align: left;
		background-color: hsl(75, 55%, 89%);
		position: relative;
	}
	ul.sub-menu li > a:hover{
		color: hsl(0, 0%, 100%);
		background-color:hsl(81, 54%, 60%);
	}
	ul.sub-menu {visibility: hidden;}
	li:hover ul.sub-menu{visibility: visible;}
	ul.sub-menu{
		transform: scale(1, 0);
		transform-origin: top center;
		transition: .3s;
	}
	li:hover ul.sub-menu{
		transform: scale(1, 1);
	}
}
@media screen and (min-width: 1200px) {
}
