@charset "UTF-8";

:root {
	--base-width: 1280px;
	--content-width-rate: 0.9;
	--content-box-padding: 2rem;
	--font-family-gothic: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", YuGothic, "游ゴシック体", sans-serif;
	--font-family-mincho: "Zen Old Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", serif;
	--font-size-small: 85%;
	--color-red: #e5747f;
	--color-gold: #746719;
	--color-bg-red: #db8890;
}

/* common */
html, body {
	font-size: 16px;
	color: #555;
	font-family: var(--font-family-gothic);
	line-height: 1.5;
}

a {
	
	color: black;
}

a:hover {
	opacity: 0.7;
}

a.btn {
	display: block;
	text-align: center;
}
a.btn1 {
	display: block;
	max-width: calc(100% * var(--content-width-rate));
	margin: var(--content-box-padding) auto 0 auto;
	text-align: center;
}

a.btn2 {
	display: block;
	padding: calc(var(--content-box-padding) / 2 / 2) 2em;
	color: #fff;
	background: var(--color-bg-red);
	border-radius: 1.5em;
	text-align: center;
}

img {
	max-width: 100%;
	max-height: 100%;
	vertical-align: bottom;
}

h1, h2, h3 {
	font-weight: normal;
}

li {
	list-style: none;
}

.text-center {
	text-align: center;
}

.text-bold {
	font-weight: bold;
}

header,
main,
footer {
	position: relative;
}

header {
	max-width: var(--base-width);
	margin: auto;
}

header h1 {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	min-width: 0;
	width: 294px;
	margin: auto;
	line-height: 1;
	aspect-ratio: 294 / 39;
}

header h1 a {
	display: block;
	width: 100%;
	height: 100%;
}
main {
	position: relative;
}

section {
	position: relative;
}

.container {
	width: calc(100% * var(--content-width-rate));
	max-width: calc(var(--base-width) * var(--content-width-rate));
	margin: auto;
	padding: var(--content-box-padding) 0;
}

.container2 {
	padding: var(--content-box-padding) 0;
}

main h2 {
	margin-bottom: calc(var(--content-box-padding) / 2);
	font-size: 200%;
	text-align: center;
	color: var(--color-red);
}

main h3 {
	font-size: 150%;
}

main .box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5%;
}

section.mv .container2 {
	background: url(../images/top/mv.jpg) center center no-repeat;
	background-size: cover;
	aspect-ratio: 1457 / 757;
}

section.mv .container2 h1 {
	max-width: calc(var(--base-width) * 0.95);
	margin: auto;
}

section.contents {
	background: url(../images/contents_bg.jpg) top center repeat;
}

section.contents h2 {
	margin-bottom: calc(var(--content-box-padding) * 0.75);
	color: #888;
}

section.contents ul {
	display: flex;
	gap: 1.5em;
	flex-wrap: wrap;
	justify-content: center;
}

section.contents li {
	width: calc( 100% / 3 - 1em);
}

footer {
	position: relative;
	max-width: 100%;
	padding-top: 44px;
	background: var(--color-bg-red) url(../images/lineparts.png) top center repeat-x;
}

footer h1 {
	font-size: 1em;
	text-align: center;
	line-height: 1em;
}

footer h1 img {
	max-width: 65%;
}

footer nav ul {
	display: flex;
	padding: 1em 0;
	line-height: 2;
	flex-wrap: wrap;
	justify-content: center;
}

footer nav a {
	position: relative;
	display: inline-block;
	padding: 0 0.75em;
	color: #fff;
}

footer nav li:first-of-type a {
	padding-left: 0;
}
footer nav li:last-of-type a {
	padding-right: 0;
}

footer nav a:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	height: 1.25em;
	margin: auto;
	background: #fff;
}
footer nav li:first-of-type a:before {
	display: none;
}

footer .copy {
	color: #fff;
	text-align: center;
}

@media screen and (min-width: 751px) and (max-width: 1040px){
	header nav {
		width: 95%;
	}

	header h1 {
		width: 220px;
	}
	header nav ul {
		gap: 0.5em;
		font-size: var(--font-size-small);
	}
}

@media screen and (min-width: 751px){
	.sp {
		display: none;
	}
}

@media screen and (max-width: 750px){
	.no-sp {
		display: none;
	}

	html, body {
		font-size: 14px;
	}

	h2 {
		font-size: 125%;
	}
	h3 {
		font-size: 120%;
	}

	header nav {
		width: 100%;
		padding: 0;
	}

	header h1 {
		display: none;
	}

	header .menuBtn {
		position: absolute;
		display: block;
		top: 0;
		right: 0;
		width: calc(var(--content-box-padding) * 2);
		height: calc(var(--content-box-padding) * 2);
		background: var(--color-bg-red);
	}
	header .menuBtn:hover {
		opacity: 1;
	}

	header .menuBtn > span {
		display: block;
		position: absolute;
		left: calc(var(--content-box-padding) / 2);
		width: var(--content-box-padding);
		height: 3px;
		background: #fff;
		transition: all 0.3s;
	}
	header .menuBtn > span:nth-of-type(1) {
		top: 25%;
	}
	header .menuBtn > span:nth-of-type(2) {
		top: 0;
		bottom: 0;
		margin: auto;
	}
	header .menuBtn > span:nth-of-type(3) {
		bottom: 25%;
	}
	header .menuBtn.open > span:nth-of-type(1) {
		transform: rotate(45deg);
		top: 50%;
	}
	header .menuBtn.open > span:nth-of-type(2) {
		top: -100%;
		opacity: 0;
	}
	header .menuBtn.open > span:nth-of-type(3) {
		transform: rotate(-45deg);
		top: 50%;
	}

	header nav ul {
		position: absolute;
		top: calc(var(--content-box-padding) * 2);
		right: 0;
		width: 14.5em;
		border: 1px solid #888;
		border-right: 0;
		text-align: center;
		flex-direction: column;
		gap: 0;
		overflow: hidden;
	}
	header .menuBtn.closed + ul {
		border: 0 !important;
	}

	header nav ul li {
		padding: 0;
	}
	header .menuBtn.closed + ul li {
		border: 0 !important;
	}

	header nav ul a {
		padding: calc(var(--content-box-padding) / 2) 0;
		transition: all 0.3s;
	}
	header .menuBtn.closed + ul a {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		line-height: 0 !important;
	}

	header nav li {
		border-bottom: 1px solid #888;
	}
	header nav li:last-of-type {
		border-bottom: 0;
	}

	header nav li a.btn2 {
		padding: calc(var(--content-box-padding) / 2) 0;
		border-radius: 0;
	}

	main .box {
		display: block;
	}

	section.mv .container2 {
		padding: var(--content-box-padding) calc(var(--content-box-padding) * 2) 0 0;
		background-image: url(../images/top/mv_sp.jpg);
		aspect-ratio: 750 / 880;
	}

	section.contents li {
		width: 100%;
	}

	footer .copy {
		font-size: 83.5%;
	}
}