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

div.title {
	margin-top:20px;
	margin-bottom:0;
}

button {
	display: block !important;
	background: none;
	border: none;
	color: #463a2e;
	width: 45px;
	letter-spacing: 0.1em;
	cursor: pointer;
	position: fixed;
	top: 2%;
	right: 3%;
	z-index: 1001;
	text-align: center;
	outline: none !important;
	font-size: 0.75em;
}
/*   ハンバーガーボタン3本線   */
button span.bar {
	display: block;
	height: 5px;
	border-radius: 999px;
	background-color: #463a2e;
	margin: 6px 0;
	transition: all 0.2s;
	transform-origin: 11%;
}
button .close {
	letter-spacing: 0.08em;
	display: none;
	width:auto;
}
button .menu {
	display: block;
	width:auto;

}
/*  メニューアクティブ時  */
button.active {
	right:15px;
}
button.active span.bar {
	width: 40px;
	margin: 6px 0;
	margin-left:5px;
}
button.active .bar1 {
	transform: rotate(45deg);
}
button.active .bar2 {
	opacity: 0;
}
button.active .bar3 {
	transform: rotate(-45deg);
}
button.active .menu {
	display: none;
}
button.active .close {
	display: block;
	position: absolute;
	left: 0;
}
nav {
	width: 100%;
	height: 100%;
	transition: all 0.2s;
	transform: translate(100%);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	opacity: 0;
}
nav.open {
	transform: translate(0);
	opacity: 1;
	background: #EFC4DC;
	background: #fff;
	overflow: auto;
}

nav.open ul {
	margin: 4rem 1.5rem;
}

nav.open ul li {
	display: block;
	text-align:center;
	border-bottom:1px solid #99074e;
	padding:0;
}
nav.open ul li.sponly {
	display: block;
	opacity: 1;
}
nav.open ul li:last-child {
	display: flex;
	justify-content: center;
	gap: 1rem;
	align-items: center;
	border-bottom: none;
	padding-top: 2rem;
}
nav.open ul li a {
	display:block;
	width:100%;
	padding:1.5rem;
}

nav.open ul li a:hover,nav.open ul li a:active {
	text-decoration:none;
	background:#FBF3F6;
}

@media screen and (max-width: 450px) {
	nav.open ul li:last-child {
		display: block;
	}
	nav.open ul li > div:last-child {
		margin-top: 1rem;
	}

}