@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300&display=swap');


/*ベース
-----------------------------------*/
body {
	padding: 0px;
	margin: 0px;
	box-sizing: border-box;
	height: 100%;
	font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, '游ゴシック', Yu Gothic, 'ヒラギノ角ゴ ProN W6', HiraKakuProN-W6, 'メイリオ', Meiryo, sans-serif;
	line-height: 1em;
	letter-spacing: 0.2em;
	background-size: cover;
	background-attachment: fixed;
	background-color: #fff8e5;

}

h1 {
	box-sizing: border-box;
	font-size: 220%;
	color: #000;
	padding: 5px;
}

h1.site_title {
	display: inline-block;
	box-sizing: border-box;
	padding: 10px;
	color: #000;
	border: none;
	font-weight: 900;
	font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, '游ゴシック', Yu Gothic, 'ヒラギノ角ゴ ProN W6', HiraKakuProN-W6, 'メイリオ', Meiryo, sans-serif;
}


h2 {
	box-sizing: border-box;
	font-size: 150%;
	padding: 2px;
	font-weight: 800;
	font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, '游ゴシック', Yu Gothic, 'ヒラギノ角ゴ ProN W6', HiraKakuProN-W6, 'メイリオ', Meiryo, sans-serif;
}

h5.g_nav {

	display: inline-block;
	border-left: none;
	font-weight: 500;
}

h5.g_nav:hover {
	color: #df6118;
}


h3 {
	box-sizing: border-box;
	font-size: 120%;
	color: #df6118;
	font-weight: 700;
}

h3.title {
	display: inline-block;
	font-size: 100%;
	margin: 5px;
	padding: 10px;
	font-weight: 600;
	color: #000;
	font-family: 'Zen Kaku Gothic New', '游ゴシック体', YuGothic, '游ゴシック', Yu Gothic, 'ヒラギノ角ゴ ProN W6', HiraKakuProN-W6, 'メイリオ', Meiryo, sans-serif;
}


h4 {
	font-size: 100%;
	padding: 4px;
	margin: 20px 0;
	font-weight: 400;
	font-family: 'Zen Kaku Gothic new', '游ゴシック体', YuGothic, '游ゴシック', Yu Gothic, 'ヒラギノ角ゴ ProN W6', HiraKakuProN-W6, 'メイリオ', Meiryo, sans-serif;
	border-bottom: solid 2px #df6118;
}


h5 {
	font-size: 100%;
}

a {
	text-decoration: none;
	color: #df6118;
}

a:hover {
	transition: 0.5s;
	color: #df6118;
}



hr {
	border-top: 0px;
	border-bottom: dotted 2px #df6118;
	margin: 30px 0px 30px 0;
}

p {
	padding: 0 0.5em;
	line-height: 1.8em;
	font-size: 15px;
	font-weight: 400;
	font-family: 'Kiwi Maru', '游明朝体', YuMincho, '游明朝', Yu Mincho, 'ヒラギノ明朝 ProN W3', Hiragino Mincho ProN, Meiryo, serif;
}

ul {
	margin: 0 0 0 1em;
	padding: 0;
	padding-left: 20px
}

li {
	line-height: 2.0em;
	font-size: 18px;
}

img {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

iframe {
	box-sizing: border-box;
	min-width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	border: none;
}

button {
	background-color: transparent;
	border: none;
	cursor: pointer;
	outline: none;
	padding: 0;
	appearance: none;
}

*:focus {
	outline: none;
}

/*レイアウト
-----------------------------------*/
#top {
	box-sizing: border-box;
	width: 100%;
	height: 100vh;
	display: grid;
	grid-template-rows: 1fr 8fr 1fr;
	grid-area:
		"header"
		"#main"
		"#footer";
	justify-content: stretch;
}



.header {
	width: 100%;
	padding: 20px 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: baseline;
	justify-content: space-evenly;
}

.title {
	box-sizing: border-box;
	margin: 0px 0px;
	align-items: baseline;
}

.nav {
	box-sizing: border-box;
	width: 40%;
	display: flex;
	flex-wrap: nowrap;
	justify-content: end;
	align-items: baseline;

}

.top__illust {
	box-sizing: border-box;
	max-height: 65vh;
	background-color: #cccccc;
	box-shadow: 0 8px 10px rgba(40, 29, 43, 0.2);
}

#main {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0 5%;
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
	justify-content: center;
}

.top_illust {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 10px 0 0 10px;
}

.main_illust {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	max-height: 600px;
	margin: 10px auto;
	object-fit: contain;
	object-position: center;
	border-radius: 0px;
	pointer-events: none;
}

.sub_illust {
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	max-height: 400px;
	margin: 10px auto;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}


#footer {
	box-sizing: border-box;
	width: 100%;
	padding: 20px 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	justify-content: flex-end;
	align-items: baseline;
	align-content: center;
	color: #000;
	text-align: center;
}

#footer a {
	color: #000;
}


/*パーツ
-----------------------------------*/

.content_box {
	box-sizing: border-box;
	width: auto;
	padding: 20px;
	margin: 10px;
	border-radius: 5px;
	background-color: #fff8e5;
	overflow-y: scroll;
}

.content_box2 {
	box-sizing: border-box;
	width: auto;
	margin: 10px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 10px;
}

.content_box_sub {
	box-sizing: border-box;
	width: auto;
	padding: 20px;
	margin: 10px;
	border-radius: 5px;
	border: #df6118 solid 2px;
	background-color: #fff8e5;
	color: #000;
}





/*-----------------------------------ボタン----------------------------------------*/

.button {
	display: inline-block;
	position: relative;
	margin: 5px 3px;
	padding: 15px 20px;
	text-decoration: none;
	font-weight: bold;
	color: #fff8e5;
	background-color: #df6118;
	transition: .3s;
	border-radius: 30px;
	text-align: center;
}

.button:hover {
	background-color: #df6118;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);

}

/*-----------------------------------リターンボタン----------------------------------------*/

.top__return {
	/*円の部分*/
	position: fixed;
	display: block;
	bottom: 20px;
	right: 20px;
	width: 100px;
	/*幅*/
	height: 100px;
	/*高さ*/
	background: #df6118;
	/*背景色*/
	text-align: center;
	/*中央寄せ*/
	border-radius: 50%;
	/*角丸く*/
	transition: .3s;
	/*滑らかな動きに*/
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .12), 0 2px 2px 0 rgba(0, 0, 0, .24);
	/*影*/
}

.top__return:hover {
	/*ホバー時の影*/
	background-color: #df6118;
	box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
}

.top__return__button {
	/*中央のアイコン*/
	color: #000;
	line-height: 100px;
	/*＝幅と高さ*/
	font-size: 20px;
	/*サイズ*/
}

.top__return__button:hover {
	/*中央のアイコン*/
	color: #000;
	line-height: 100px;
	/*＝幅と高さ*/
	font-size: 20px;
	/*サイズ*/
}

/*-----------------------------------画像----------------------------------------*/

.cg__sum {
	max-width: 400px;
	height: auto;
	box-sizing: border-box;
	display: block;
	mix-blend-mode: normal;
	object-fit: cover;
	border-radius: 20px;
	margin: 10px;
	padding: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	background-color: white;
	opacity: 1;
}



.cg__sum:hover, .cg__sum2:hover {
	opacity: 0.8;
	transition: 0.2s;
}


.grid {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	padding: 20px auto;
	margin: 10px 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, 200px);
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 20px;
}


.grid_image {
	display: block;
	box-sizing: border-box;
	max-width: 200px;
	height: 300px;
	object-fit: cover;
	opacity: 1;
	border-radius: 50px;
	box-shadow: 0px 3px 5px 3px #0000001f;
	background-color: #f4f4f4;
}

.grid_image:hover {
	opacity: 0.8;
	transition: 0.2s;
}


.img__sum {
	width: 300px;
	margin: 0;
	text-decoration: none;
	object-fit: cover;
	border-radius: 10px;
}

.img__sum :hover {
	opacity: 0.8;
	transition: 0.5s;
}







/* ローディング画面 */
#loading {
	width: 100vw;
	height: 100vh;
	transition: all 1s;
	background-color: black;
	position: fixed;

	top: 0;
	left: 0;
	z-index: 9998;
}

/*ローディングアニメーション
  Code copyright (c) 2014 Luke Haas
  Code released under the MIT license
  https://github.com/lukehaas/css-loaders/blob/step2/LICENSE
  */
.spinner,
.spinner:before,
.spinner:after {
	color: #fff8e5;
	border-radius: 50%;
	width: 2.5em;
	height: 2.5em;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation: load7 1.8s infinite ease-in-out;
	animation: load7 1.8s infinite ease-in-out;

}

.spinner {
	color: #df6118;
	font-size: 10px;
	margin: 80px auto;
	position: relative;
	text-indent: -9999em;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation-delay: -0.16s;
	animation-delay: -0.16s;
	/*追加*/
	margin: 200px auto;
}

.spinner:before,
.spinner:after {
	content: '';
	position: absolute;
	top: 0;
}

.spinner:before {
	left: -3.5em;
	-webkit-animation-delay: -0.32s;
	animation-delay: -0.32s;
}

.spinner:after {
	left: 3.5em;
}

@-webkit-keyframes load7 {

	0%,
	80%,
	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}

	40% {
		box-shadow: 0 2.5em 0 0;
	}
}

@keyframes load7 {

	0%,
	80%,
	100% {
		box-shadow: 0 2.5em 0 -1.3em;
	}

	40% {
		box-shadow: 0 2.5em 0 0;
	}
}

/*ローディングアニメーションここまで*/

.loaded {
	opacity: 0;
	visibility: hidden;
}

/* ローディングアニメーション */
@keyframes sk-scaleout {
	0% {
		transform: scale(0);
	}

	100% {
		transform: scale(1.0);
		opacity: 0;
	}
}

/*アニメーション要素のスタイル*/
.animation {
	opacity: 0;
	visibility: hidden;
	transition: 1s;
	transform: translateY(30px);
}

/*アニメーション要素までスクロールした時のスタイル*/
.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}


/*特定のページのみで上書き
-----------------------------------*/





/*ヘルパークラス（局所的に値を変更）
-----------------------------------*/

@media (max-width: 870px) {

	.header {
		margin: 0px 0px;
		padding: 20px 20px;
	}

	#main {
		width: 100%;
		padding: 0%;
		margin: none;
	}


	.top_illust {
		z-index: 1;
		border-radius: 0px;
	}



	.title {
		margin: 0px;
		padding: 0px;

	}

	.nav {
		width: 100%;
		margin: 5px 0px;
		padding: 0px;
		flex-wrap: wrap;
		justify-content: flex-end;

	}

	h1.site_title {
		font-size: 220%;
		margin: 5px 0px;
		padding: 0px;
	}

	h2.g_nav {
		font-size: 100%;
		margin: 5px;
		padding: 0px;
	}

	#footer {
		grid-template-columns: 1fr;
	}

	.grid {
		gap: 10px;
	}

	.grid_image {
		width: 160px;
		height: 200px;
		border-radius: 30px;
	}


}