/* ------------------------------------------------------ */
/* ▼ 箱庭の裏庭 CSS */
/* ------------------------------------------------------ */

@charset "utf-8";

/* Fonts : Novel Fonts */
@import url('../../css/novel-fonts.css');

/* Google Fonts : Cormorant Infant */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300..700;1,300..700&display=swap');/* ------------------------------------------------------ */

/* ------------------------------------------------------ */
/* ▼ CSSリセット */
/* ------------------------------------------------------ */
* {
	margin: 0;
	padding: 0;
}
html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

/* ------------------------------------------------------ */
/* ▼CSS変数 */
/* ------------------------------------------------------ */
:root {
	/* 基本 */
	--main-background-color: #F0EBE4;
	--main-text-color: #222;
	
	/* フォント */
	--main-font-family: "Cormorant Infant", "Noto Serif JP", sans-serif;
	--main-line-height: 1.8em;
	
	/* リンク */
	--link-color: #222;
	--link-hover-color: #FFBA00;
	
	/* 見出し */
	--h2-font-size: 1.6rem;
	--h3-font-size: 2.4rem;
}

/* ------------------------------------------------------ */
/* ▼ 基礎 */
/* ------------------------------------------------------ */
body {
	background: #FFEFCD url("bg.webp") center / cover no-repeat fixed !important;
	color: var(--main-text-color) !important;
	font-family: var(--main-font-family);
	text-align: center;
}

/* ------------------------------------------------------ */
/* ▼ リンク */
/* ------------------------------------------------------ */
a {
	color: var(--link-color);
	text-decoration: none;
	border-bottom: 1px solid var(--link-hover-color);
	transition: 0.3s ease-in-out;
}
a:hover {
	color: var(--link-hover-color);
}

/* ------------------------------------------------------ */
/* ▼ ヘッダー */
/* ------------------------------------------------------ */
header {
	margin: 0px;
	padding: 2rem;
	display: flex;
	ul {
		margin-left: 0px;
		list-style: none;
		line-height: 30px;
		float: left;
	}
	ul:before {
		padding: 0 .4rem;
		font-family: "remixicon";
		font-weight: normal;
		content: "\ef0a";
		font-size: 1.4rem;
		font-weight: normal;
		line-height: 1em;
	}
	li {
		display: inline-block;
		font-size: 1.3rem;
		font-weight: 600;
		line-height: 1em;
	}
	li + li:before{
		padding: 0 .2em;
		font-family: "remixicon";
		font-weight: normal;
		content: "\ea6e";
		font-size: 1.3rem;
		font-weight: normal;
		line-height: 1em;
	}
}

/* ------------------------------------------------------ */
/* ▼ 見出し */
/* ------------------------------------------------------ */
h1 {
	margin: 10rem auto 8rem auto;
	width: 160px;
	height: 50px;
	background: url("logo.webp") no-repeat top center / contain;
	font-size: 1em;
	text-indent: -1000000px;
	display: block;
}
h2 {
	margin-bottom: 1em;
	display: brock;
	font-size: var(--h2-font-size);
	font-weight: 700;
	line-height: 1em;
	text-decoration: underline;
	letter-spacing: none;
	text-align: center;
}
h3 {
	margin: 4rem auto;
	padding: .7em;
	display: brock;
	font-size: var(--h3-font-size);
	font-weight: 600;
	line-height: 1em;
	text-decoration: none;
	letter-spacing: none;
	text-align: center;
}
h3.afterword {
	background: url("aw.webp") no-repeat top center / contain;
	text-indent: -1000000px;
	display: block;
	width: 140px;
	height: 20px;
}

/* ------------------------------------------------------ */
/* ▼ インデックスページ */
/* ------------------------------------------------------ */
article#index {
	margin: 0 auto !important;
	display: block;
	width: 90%;
	text-align: center;
}
ul#caution {
	margin: auto;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.5em;
	width: 240px;
	text-align: left;
	ul {
	
	}
	li {
		list-style-type: disc;
	}
}
#caution_text {
	margin: 1em auto;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.5em;
	width: 250px;
}

#index nav {
	ul {
		margin: 8rem auto;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 260px;
	}
	li {
		padding: 0 1rem;
		list-style-type: none;
		display: inline-block;
		font-size: 2.6rem;
		font-weight: 600;
		line-height: 1em;
	}
	a {
		padding: 0 .5rem;
	}
	del {
		opacity: .5;
	}
}

/* ------------------------------------------------------ */
/* ▼ メイン */
/* ------------------------------------------------------ */
main {
	background: rgba(255, 255, 255, .7);
	margin: 5rem auto;
	max-width: 100%;
	border-radius: 30px;
	display: inline-block;
	text-align: left;
}

/* ------------------------------------------------------ */
/* ▼ 区切り線 */
/* ------------------------------------------------------ */
hr {
	margin: 4em auto;
	padding: 0;
	border: none;
	text-align: center;
	width: 100%;
	height: auto;
	&:after{
		content: "\F5C5　　　\F5C6　　　\F5C5";
		font-family: "remixicon";
		font-size: 18px;
		color: #EED7A1;
	}
}

/* ------------------------------------------------------ */
/* ▼ フッター */
/* ------------------------------------------------------ */
footer {
	margin-bottom: 4rem;
	padding: 2rem;
	text-align: center;
	line-height: 1em;
	font-size: 1.4rem;
	li {
		margin: 0 .3em;
		display: inline-block;
	}
	/* フッターナビ: 現在のページ */
	span.current {
		display: inline-block;
		text-decoration: none;
		transition: 0.3s ease-in-out;
	}
	/* フッターナビ: 選択不可 */
	span.grayout {
		display: inline-block;
		text-decoration: none;
		opacity: .5;
	}
}

/* ------------------------------------------------------ */
/* ▼ ページトップボタン */
/* ------------------------------------------------------ */
.pagetotop {
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 10;
	display: flex;
	text-align: center;
	overflow: hidden;
	a {
		margin: auto;
		width: 20px;
		height: 20px;
		font-size: 20px;
		line-height: 20px;
		text-decoration: none;
		display: block;
		transition: 0.3s ease-in-out;
	}
	a:hover {
		cursor: pointer;
	}
}

/* ------------------------------------------------------ */
/* ▼ レスポンシブ */
/* ------------------------------------------------------ */
/* スマホ　最大幅768px */
@media screen and (max-width: 768px) {
	header{
		padding: 1.5rem;
	}
	main {
		margin: 3rem 3rem;
		padding: 2rem 0 !important;
	}
	article {
		margin: 3rem auto !important;
		padding: 1em;
	}
}

/* PC,タブレット　最小幅769px */
@media screen and (min-width: 769px) {
	header {
		padding: 20px 20px;
	}
	article {
		margin: 4rem auto !important;
		padding: 1em 3em !important;
	}
}

/* ------------------------------------------------------ */
/* ▼ カスタム機能まわり */
/* ------------------------------------------------------ */
/* テーマカラー選択を非表示に */
#custom-theme {
	display: none !important;
}
/* アイコンカラーを固定 */
#customicon {
	color: #533628 !important;
}
#customicon:hover {
	background-color: #53362822 !important;
	color: #533628 !important;
}
