:root {
	--bk-color: #fdfdfd;
	--bk-color: #f0f0f0;
	--space: 3rem;
}


/*fontーーーーーーーーーーーーーーーーーーーーーーーーー*/

/*日本語*/
:lang(ja) {
	font-family: "Noto Serif JP", serif;
}


/*setupーーーーーーーーーーーーーーーーーーーーーーーーー*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


html,
body {
	height: 100dvh;
	width: 100dvw;
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	overflow: auto;
	background: var(--bk-color);
	display: flex;
	flex-direction: column;
	align-items: center;
}

html {
	overflow: hidden;
}

a,
*[onclick] {
	text-decoration: none;
	cursor: pointer;
	color: black;
}

ul li {
	list-style: none;
}

iframe {
	border: none;
}

/*scrollbarーーーーーーーーーーーーーーーーーーーーーーーーー*/


/*menuーーーーーーーーーーーーーーーーーーーーーーーーー*/
#menu {
	position: fixed;
	top: 2vw;
	right: 3vw;
	display: flex;
	column-gap: 2rem;
	z-index: 999;
	/*	mix-blend-mode:multiply;*/
}

#menu a {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 0.3em;

	font-family: 'Noto Serif JP';
	font-weight: 700;
	font-size: 1.4rem;
}

#menu a img {
	width: 1.6rem;
	height: 1.6rem;
}

#credit {
	position: fixed;
	top: 0;
	left: 0;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	padding: 2rem 1rem;
	background-color: white;
	border-radius: 0 0 2rem 0;
	font-family: 'Noto Serif JP';
	font-size: 1.4rem;
	font-weight: 700;
}

/*mainーーーーーーーーーーーーーーーーーーーーーーーーー*/

section {
	width: 100%;
	padding: var(--space);
	display: flex;
	flex-direction: column;
	align-items: center;
	--w: 80vw;
	--h: fit-content;
}

section > .main {
	width: var(--w);
	height: var(--h);
	position: relative;
}

#top {
	--h: max(80dvh, 80rem);
	--w: 100%;
	margin-top: 10em;
}

#top .main {
	--iw: 80rem;
	height: auto;
	/*	background: no-repeat center/contain url(../images/img-main.png);*/
}

#top .main img[src*="main"] {
	width: var(--iw);
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
	position: relative;
	left: calc(50% - var(--iw) * 0.5);
}


.title {
	width: fit-content;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
}

.title > * {
	font-family: 'Noto Serif JP';
	font-weight: 700;
	line-height: 1em;
}

.title img {
	width: 20rem;
}

.title .name {
	font-family: "Kosugi Maru", sans-serif;
	font-weight: 400;
	font-size: 4.5rem;
}

.title .tag {
	/*	font-size: max(2.5vh, 1.4rem);*/
	font-size: 1.4rem;
	padding: 0 4.5rem;
	background-image: url(../images/img-nyoro.svg), url(../images/img-nyoro.svg);
	background-repeat: no-repeat;
	background-size: 4rem 100%;
	background-position: left center, right center;
	margin-top: -0.5rem;
	margin-bottom: 1rem;
	z-index: 1;
}

.title .date {
	width: 120%;
	text-align: center;
}

.title .date span:first-of-type {
	font-size: 2rem;
	writing-mode: vertical-rl;
	text-orientation: mixed;
	line-height: 1.5em;
}

.title .date span:first-of-type ~ span {
	font-size: 8rem;
	/*	font-size: max(12vh, 8rem);*/

	letter-spacing: 0.1em;
}

.title .date span.dot {
	--s: 0.8rem;
	width: var(--s);
	height: var(--s);
	border-radius: 2vh;
	display: inline-block;
	background-color: black;
	margin-right: 1rem;
}

.title .time {
	font-size: 2.8rem;
	/*	font-size: max(4.5vh, 2.4rem);*/
	letter-spacing: 0.1em;
}

.pos {
	font-family: "Kosugi Maru", sans-serif;
	font-size: 1.6rem;
	display: flex;
	align-items: center;
}

.pos::before {
	content: '';
	width: 1em;
	height: 1em;
	display: inline-block;
	background: center/100% no-repeat url(../images/i-pos.svg);
}

#top .moon {
	--w: 15rem;
	--mw: calc(var(--w) * 1.5);
	position: absolute;
	top: calc(var(--w) * 0.25);
	left: calc(50% + var(--iw) * 0.15);
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	align-items: center;
	justify-items: center;
}

#top .moon > * {
	width: var(--w);
	height: var(--w);
	grid-column: 1/2;
	grid-row: 1/2
}

#top .moon > img[src*="rabbit"] {
	width: var(--mw);
	height: var(--mw);
	animation: jump 30s infinite linear;
}

@keyframes jump {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(-360deg);
	}
}

#top .goto {
	position: absolute;
	left: calc(50% + var(--iw) * 0.32);
	bottom: 2rem;
	font-size: 1.4rem;
	font-weight: 700;
	white-space: nowrap;
	padding: 1rem 4rem 1rem 0.5rem;
	background-image: url(../images/img-flag01.svg), url(../images/img-flag02.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: right center, left center;

}


#top .goto::before {
	content: url(../images/img-arrow.svg);
	width: max(2vh, 1.2rem);
	width: 1.5rem;
	position: absolute;
	bottom: -5rem;
	left: -2rem;
	animation: goto 1s alternate infinite linear;
}

@keyframes goto {
	0% {
		bottom: -6rem;
	}

	100% {
		bottom: -5rem;
	}
}

#map {
	--h: 50rem;
	--w: calc(var(--h) * 4/3);
	padding-bottom: 0;
	position: relative;
}

#map::after {
	content: '';
	width: calc(var(--w) + 16rem);
	height: calc(var(--h) - 0.5rem);
	position: absolute;
	top: 5vw;
	left: 50%;
	pointer-events: none;
	background-image: url(../images/img-mapleft.svg), url(../images/img-mapright.svg);
	background-repeat: no-repeat;
	background-size: 15rem;
	background-position: left bottom, right bottom;
	transform: translateX(-50%);
	z-index: -1;
}

#map .main {
	height: auto;
}

#map .map-box {
	width: var(--w);
	height: var(--h);
	border-radius: 5rem;
	overflow: hidden;

	background-color: beige;
}

#map .splide {
	/*	position: absolute;*/
	width: fit-content;
	position: relative;
	top: -4rem;
	margin: auto;
	z-index: 1;
	font-weight: 700;
}

#map .splide::after {
	content: '';
	width: 80%;
	height: 100%;
	position: absolute;
	top: -2rem;
	left: 10%;
	padding: 1rem 0;
	background-color: var(--bk-color);
	z-index: -1;
	border-radius: 5rem;
}

#map .splide__pagination {
	display: none;
}

#map .splide__arrows {
	position: relative;
	bottom: -8em;
}

.splide__slide * {
	opacity: 1;
	transition: 0.3s;
	white-space: nowrap;
	font-size: 1.6rem;
	line-height: 1em;
}

.splide__slide {
	height: auto !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 1rem 1rem;
	transition: 0s;
}

.splide__slide:not(.is-active) {}

.splide__slide .year {
	margin-bottom: -1rem;
}

.splide__slide .date {
	grid-column: 2/3;
	grid-row: 1/2;
	font-size: 4.5rem;
	display: flex;
	align-items: center;
	column-gap: 0.5rem;
}

.splide__slide .date span {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	align-self: flex-end;
}

.splide__slide .time {
	grid-column: 1/3;
	grid-row: 2/3;
	font-size: 2rem;
	letter-spacing: 0.15em;
}

.splide__slide .pos {
	grid-column: 1/3;
	grid-row: 3/4;
}

#about {
		padding-top: 0;
		padding-bottom: 0;
	}

#footer {
	padding-bottom: calc(var(--space) * 2);
	background-color: #ffffff;
}

.default {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.default * {
	line-height: 1.8em;
	font-size: 1.6rem;
	font-family: "Kosugi Maru", sans-serif;
}

.default a{
	text-decoration: underline;
	margin: 0 0.5rem;
}

.default .images,
.default ul {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin: 5rem auto;
}

.default .images img {
/*
	height: 20rem;
	width: auto;
*/
	
	width: calc(100% / 3 - 2rem);
　height: 25rem;
　object-fit: contain;
	
}

.default ul {
	gap: 5rem;
}

.default ul li {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	justify-content: center;
	align-items: center;
	font-size: 1.4rem;
	font-family: "Kosugi Maru", sans-serif;
}

.default ul li img {
	height: 10rem;
}

/*for tablateーーーーーーーーーーーーーーーーーーーーー*/
@media only screen and (min-width: 1500px) {
	#menu {
		column-gap: 3rem;
	}

	#menu a {
		font-size: 2rem;
	}

	#top .main {
		--iw: 120dvh;
	}

	#top .moon {
		--w: 25dvh;
	}

	.title {
		gap: 2rem;
	}

	.title img {
		width: 30rem;
	}

	.title .name {
		font-size: 8rem;
	}

	.title .tag {
		font-size: 2.4rem;
		padding: 0 6rem;
		background-size: 5rem 100%;
		margin-top: 0;
		margin-bottom: 2rem;
	}

	.title .date span:first-of-type {
		font-size: 3.5rem;
	}

	.title .date span:first-of-type ~ span {
		font-size: 12rem;
	}

	.title .date span.dot {
		--s: 1.5rem;
	}

	.title .time {
		font-size: 4rem;
	}

	.pos {
		font-size: 3rem;
	}

	#top .goto {
		left: calc(50% + var(--iw) * 0.3);
		bottom: 5rem;
		font-size: 1.8rem;
	}

	#top .goto::before {
		width: 2rem;
	}

	#map {
		--h: 80dvh;
	}

	#map::after {
		width: calc(var(--w) + 20vh);
		background-size: 20vh;
	}

}

/*for tablateーーーーーーーーーーーーーーーーーーーーー*/
@media only screen and (max-width: 700px) {
	:root {
		--space: 5rem;
	}

	#menu {
		width: 100%;
		position: fixed;
		top: 0;
		right: 0;
		justify-content: space-around;
		padding: 2rem 2rem;
		gap: 0;
		background-color: var(--bk-color);
	}

	#menu a {
		font-size: 1.2rem;
	}

	#menu a img {
		width: 1.4rem;
		height: 1.4rem;
	}

	#credit {
		display: none;
	}

	#top {
		margin-bottom: 5rem;
		margin-top: 8rem;
	}

	#top .main {
		--iw: 110vw;
		margin-top: 0;
	}

	.title {

		position: absolute;
		top: 45%;
		left: 50%;
		transform: translate(-50%, -100%);

		gap: 1rem;
	}


	.title img {
		width: 12rem;
	}

	.title .name {
		font-size: 2.8rem;
	}

	.title .tag {
		font-size: 1.2rem;
		padding: 0 3rem;
		background-size: 2.5rem 100%;
		margin-top: 0;
	}

	.title .date span:first-of-type {
		font-size: 1.2rem;
		line-height: 2em;
	}

	.title .date span:first-of-type ~ span {
		font-size: 4.5rem;

	}

	.title .date span.dot {
		--s: 0.6rem;
	}

	.title .time {
		font-size: 1.6rem;
	}

	.title .pos {
		font-size: 1.4rem;
	}

	#top .moon {
		--w: 20vw;
		top: calc(var(--w) * 0.25);
		left: auto;
		right: -10vw;
	}

	#top .goto {
		position: absolute;
		left: 55%;
		bottom: -9rem;
		font-weight: 700;
		padding: 0.5rem 2rem 0.5rem 0.5rem;
		font-size: 1.2rem;
		line-height: 1.2em;
	}

	#top .goto::before {
		width: 1rem;
		bottom: -1.2rem;
		left: -1.2rem;
	}

	#map {
		--w: 95vw;
		--h: calc(var(--w) * 3/4);
	}


	#map .map-box {
		border-radius: 2rem;
	}


	#map::after {
		display: none;
	}

	#map .splide {
		width: 95vw;
		top: 1rem;
	}


	#map .splide__arrows {
		position: static;
	}

	.default .images,
	.default ul {
		flex-direction: column;
	}

	.default .images img {
		width: 100%;
	}

	#about {
/*
		padding-top: 0;
		padding-bottom: 0;
*/
	}
	
		#about br{
			display: none;
	}

	#about .main {
		flex-direction: column-reverse;
	}


}
