@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Righteous&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Murecho&display=swap");


/* リセット
---------------------------------------- */
:root {
	--base: #3FC1C9; /* バック */
	--main: #F5F5F5; /* メイン */
	--accent1: #FFFFFF; /* デコ1 */
	--accent2: #364F6B; /* デコ2 */
}

::selection {
	background: #FFFFFF;
	color: #364F6B;
}

::-webkit-scrollbar {
	background: #364F6B;
}

::-webkit-scrollbar-thumb {
	border-radius: 100vh;
	background: #F5F5F5;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	list-style: none;
	font-style: normal;
	font-weight: normal;
	font-size: inherit;
	word-break: break-all;
}

html {
	font-size: 62.5%;
}

html,
body {
	width: 100%;
	height: 100vh;
		height: 100svh;
}


/* ボディ
---------------------------------------- */
body {
	letter-spacing: .08em;
	font: clamp(1.2rem, 0.4rem + 1.6vw, 1.6rem) / 2 'Murecho', sans-serif;
	background: var(--base);
	color: var(--main);
	text-size-adjust: 100%;
	text-align: center;
	animation: fadein 1s ease forwards;
}

@keyframes fadein {
	0% {
		opacity: 0;
	}

	99% {
		opacity: 1;
	}
}

hr {
	opacity: .1;
	height: auto;
	margin: 48px auto;
	border: none;
	border-top: 2px dashed var(--accent2);
}


/* 画像 */
img {
	max-width: 100%;
	max-height: auto;
	width: auto;
	height: auto;
	image-rendering: pixelated;
		image-rendering: -webkit-crisp-edges;
		image-rendering: -moz-crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;
	pointer-events: none;
	user-select: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-webkit-touch-callout: none;
}


/* テキスト装飾 */
p {
	text-align: justify;
}

p + p {
	margin-top: 16px;
}


/* リスト装飾 */
ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

ul li a {
	display: block;
}


/* リンク */
a {
	transition: all .4s;
	color: var(--accent1);
	text-decoration: none;
}

a:hover {
	color: var(--accent1);
}


/* タイトル
---------------------------------------- */
h1 {
	font: 9.6rem / 1 'Righteous', sans-serif;
}


/* コンテンツ
---------------------------------------- */
header,
main {
	padding: 96px 0;
}

main {
	border-radius: 64px;
	background: var(--main);
}

section,
footer {
	width: 80%;
	margin: 0 auto;
}


/* フッターナビ
---------------------------------------- */
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 0;
}

nav ul {
	display: flex;
}

nav ul li {
	font-family: 'Righteous', sans-serif;
}

nav ul li a {
	padding: 8px 32px;
	border-radius: 8px;
	border: 2px solid var(--main);
}

nav ul li a:hover {
	background: var(--accent2);
}


/* グリッド */
ul.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	line-height: 0;
}

ul.grid li img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: var(--accent1);
}


/* レスポンシブ */
@media screen and (max-width:768px) {
	
	hr {
		margin: 32px auto;
	}
	
	h1 {
		font: 6.4rem / 1 'Righteous', sans-serif;
	}
	
	header,
	main {
		padding: 64px 0;
	}
	
	main {
		border-radius: 32px;
	}
	
	section,
	footer {
		width: 88%;
	}
	
	nav ul li a {
		padding: 8px 16px;
	}

	ul.grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}

}