@charset "UTF-8";

@media print,
screen and (min-width: 1041px) {
	.only-1040 {
		display: none;
	}
}

@media screen and (min-width: 1041px) {
	.menu {
		background: #FBFBE8;
		border-top: #FFE797 solid 10px;
		padding: 40px 0;
		max-width: 1150px;
		width: 80%;
		margin: 5% auto 3%;
		border-radius: 20px;
	}
}

@media screen and (max-width: 1040px) {
	.menu {
		position: relative;
		z-index: 9999;
	}
}

.menu--sp {
	position: absolute;
}

.menu__ttl {
	text-align: center;
	width: 120px;
	margin-top: 10px;
}

.menu__ttl p {
	position: relative;
	display: inline-block;
	font-size: 1.6em;
	font-weight: 500;
	color: #E84572;
	cursor: pointer;
}

@media screen and (max-width: 1040px) {
	.menu__ttl {
		margin-bottom: 0;
	}

	.menu__ttl p {
		font-size: 1.4em;
	}
}

.menu__list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 auto;
	max-width: 700px;
	gap: 1em;
}

@media screen and (max-width: 390px) {
	.menu__list {
		gap: 0.8em;
	}
}

.menu__list.is-active {
	display: flex;
	justify-content: space-around;
}


/*@media screen and (max-width: 1040px) {
    .menu__list.is-active {
        justify-content: center;
    }
}*/

.menu__link {
	width: 48%;
	max-width: 260px;
}

.menu__link a {
	position: relative;
	display: block;
	padding: 12px 0;
	border-radius: 40px;
	text-align: center;
	font-size: 1.2em;
	font-weight: 500;
	color: #fff;
	background-color: #F0949F;
	box-shadow: 0 3px 3px #00000020;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 1040px) {
	.menu__link a {
		line-height: 1;
	}
}

.menu__link a::after {
	content: "";
	position: absolute;
	background: url(../img/arrow.svg) no-repeat;
	background-position: center;
	width: 10px;
	height: 20px;
	right: 6%;
	bottom: 32%;
	transition: all 0.3s;
	rotate: 90deg;
}

@media screen and (max-width: 1040px) {
	.menu__link a::after {
		right: 5%;
		bottom: 24%;
		rotate: 0deg;
	}
}

.menu__link a:hover::after {
	opacity: 0.9;
}


.menu__chk input[type=checkbox] {
	display: none;
}

.menu__chk label {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	bottom: 0;
	left: 0;
	height: 55px;
	width: 100%;
	background: #FBFBE8;
	font-size: 0.8em;
	cursor: pointer;
	z-index: 500;
}

.menu__chk label .menu__ttl {
	margin-bottom: 0;
}

.menu__chk label .menu__ttl p {
	position: relative;
}

.menu__chk label .menu__ttl p::before {
	content: "";
	position: absolute;
	background: url(../img/arrow_brown.svg) no-repeat;
	background-position: center;
	width: 20px;
	height: 20px;
	right: -12%;
	bottom: 20%;
	transition: all 0.3s;
	transform: rotate(180deg);
}

.menu__chk label .menu__ttl.is-active p::before {
	background: url(../img/arrow_brown.svg) no-repeat;
	background-position: center;
	width: 20px;
	height: 20px;
	transform: rotate(0deg);
}

.big8 {
	font-size: 1.4em;
}

@media screen and (max-width: 1040px) {

	/* 下部UI */
	.bottom-ui {
		position: fixed;
		bottom: 0;
		width: 100%;
		transition: transform 0.3s ease;
		position: 9999;
	}

	/* フッター */
	.footer {
		background: #FBFBE8;
		border-top: #FFE797 solid 10px;
		color: white;
		text-align: center;
		height: 55px;
	}

	/* メニュー */
	.bottom-menu {
		height: 360px;
		padding: 3em 1em;
		background: #FBFBE8;
	}

	/* 初期状態：メニューを下に隠す */
	#menu-toggle:not(:checked)+.bottom-ui {
		transform: translateY(360px);
	}

	/* 開いた状態 */
	#menu-toggle:checked+.bottom-ui {
		transform: translateY(0);
		z-index: 999;
	}

	.menu-label {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		cursor: pointer;
	}

	/* 二重矢印 */
	.arrow {
		position: relative;
		width: 12px;
		height: 12px;
	}

	.arrow::before,
	.arrow::after {
		content: "";
		position: absolute;
		left: 10px;
		width: 100%;
		height: 100%;
		border-right: 2px solid #E84572;
		border-bottom: 2px solid #E84572;
		transform: rotate(-135deg);
		transition: transform 0.3s ease;
	}

	.arrow::after {
		top: 6px;
		/* 二重にする */
		transform: rotate(-135deg) scale(0.8);
	}

	/* 開いたら回転（▼向き） */
	#menu-toggle:checked+.bottom-ui .arrow::before,
	#menu-toggle:checked+.bottom-ui .arrow::after {
		transform: rotate(45deg);
	}

	/* 開いたら少し上に */
	#menu-toggle:checked+.bottom-ui .arrow {
		transform: translateY(-3px);
	}

	#menu-toggle:checked+.bottom-ui .arrow::before {
		transform: rotate(45deg) scale(0.8);
	}

	.menu-overlay {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.45);
		z-index: 0;
	}

	#menu-toggle:checked~.menu-overlay {
		display: block;
	}
}

.sp-menu-line {
	width: 80%;
	max-width: 400px;
	margin: 20px auto 0;
}

@media screen and (max-width: 747px) {
	.sp-menu-line {
		width: 100%;
		margin: 40px auto 0;
	}
}

.bottom-menu::before {
	position: absolute;
	content: "";
	background-image: url(../img/btm-l-acc.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 7%;
	height: 20%;
	left: 3%;
	bottom: 28%;
}

.bottom-menu::after {
	position: absolute;
	content: "";
	background-image: url(../img/btm-r-acc.png);
	background-repeat: no-repeat;
	background-size: contain;
	width: 10%;
	height: 23%;
	right: 3%;
	bottom: 30%;
}