@charset "utf-8";
/*          google fonts          */

.visual img {
	width: 100%;
}
.load {
	position: relative;
	width: 100%;
	height: 100%;
	display: none;
}
.load-img {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	margin: auto;
	background: url(/books/kiokunohakoniwa/img/top/load-bg-sp.webp) center center;
}
@media (min-width: 835px) {
	.load-img {
		background: url(/books/kiokunohakoniwa/img/top/load-bg.webp) center center;
	}
}
.load-img {
	height: 100vh;
	width: 100vw;
	background-size: cover;
}
.load-img canvas {
	width: 100%;
}
.load-txt {
	position: absolute;
	writing-mode: vertical-rl;
	text-align: center;
	color: #fff;
	filter: drop-shadow(0px 0px 1px rgb(158, 124, 197)) drop-shadow(0px 0px 2px rgb(158, 124, 197)) drop-shadow(0px 0px 3px rgb(158, 124, 197));
	font-size: 30px;
	height: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	letter-spacing: 5px;
}
@media (min-width: 835px) {
	.load-txt {
		font-size: 40px;
	}
}

.load-txt .ten {
	margin: 0 0 -15px;
}
/*+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-     Site Contents     -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/

h1.title {
	font-size: 70px;
	font-style: italic;
	color: #596398;
	padding-top: 30px;
	width: 85%;
	margin: auto;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	h1.title {
		max-width: 500px;
		font-size: 90px;
	}
}

#shion .name {
	color: #ffcc99;
}
#shiori .name {
	color: #ffcdcd;
}
#kaito .name {
	color: #b2ccff;
}

.box-bottom {
	padding-bottom: 500px;
}
.box-top {
	margin-top: -480px;
}

#story,#keyword {
	mask-image: url(/books/kiokunohakoniwa/img/top/contents-msk.svg);
	mask-size: 100% auto;
	mask-repeat: no-repeat;
}
#character {
	mask-image: url(/books/kiokunohakoniwa/img/top/contents-msk02.svg);
	mask-size: 100% auto;
	mask-repeat: no-repeat;
}
/*          ムービー          */
#movie {
	margin-bottom: 20px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	#movie {
		margin-bottom: 30px;
	}
}

#movie a {
	width: 85%;
	margin: auto;
	display: block;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	#movie a {
		max-width: 500px;
		margin: auto;
		font-size: 18px;
	}
}

/*          イントロダクション          */
.visual-bottom {
	background: url(/books/kiokunohakoniwa/img/top/bg01.webp);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position-y: 100px;
	padding-top: 10%;
}
#introduction h1.title {
	text-align: center;
	padding-top: 0;
}
.intro-txt {
	text-align: center;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.intro-txt {
		max-width: 600px;
		margin: auto;
		font-size: clamp(0.938rem, 0.704rem + 1.17vw, 1.313rem);
	}
}

.intro-txt .txt {
	margin: 25px auto;
	line-height: 2;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.intro-txt .txt {
		margin: 40px auto;
	}
}


.intro-catch {
	width: 80%;
	margin: auto;
	text-align: left;
	font-size: 18px;
	color: #fff;
	filter: drop-shadow(0px 0px 1px rgb(158, 124, 197))drop-shadow(0px 0px 2px rgb(158, 124, 197))drop-shadow(0px 0px 3px rgb(158, 124, 197));
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.intro-catch {
		font-size: clamp(1.375rem, 1.142rem + 1.17vw, 1.75rem);
	}
}
.intro-catch .txt02 {
	text-align: right;
}
.visual-box {
	position: relative;
}
.visual-box .logo {
	position: absolute;
	top: 0;
	width: 41%;
	margin: 5%;
	opacity: 0;
	transition: 2s ease-out;
}
.visual-box .logo.show {
	opacity: 1;
}
.visual-box .catch {
	position: absolute;
	top: 10%;
	right: 5%;
	width: 8%;
	opacity: 0;
	transition: 1.5s ease-out;
	filter: blur(2px);
}
.visual-box .catch.show {
	opacity: 1;
	filter: blur(0);
}

.visual-box .detail {
	position: absolute;
	bottom: 5%;
	margin: 5%;
	width: 75%;
	opacity: 0;
	transition: 2s ease-out;
}
.visual-box .detail.show {
	opacity: 1;
}
.visual-box .detail .promotion {
	width: 70%;
}


/*          ストーリー          */
#story {
	background: url(/books/kiokunohakoniwa/img/top/bg02.webp),#f7f0f0;
	background-size: 100% auto;
	background-position-y: 400px;
	background-repeat: no-repeat;
}
/* _____ 835px 以上 _____ */
@media (min-width: 835px) {
	#story {
		width: 600px;
		background-position-y: 460px;
	}
}

.story-top-img {
	margin: 30px auto;
	width: 87%;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-top-img {
		max-width: 500px;
		margin: 50px auto;
	}
}

.story-door-img {
	display: grid;
	justify-content: center;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	width: 95%;
	margin: auto;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-door-img {
		max-width: 500px;
	}
}

.story-top-txt {
	text-align: center;
	margin-top: -18%;
	margin-bottom: 30px;
	font-size: 19px;
	font-weight: bold;
	color: #a17dca;
	filter: drop-shadow(0px 0px 4px rgb(255, 255, 255))drop-shadow(0px 0px 4px rgb(255, 255, 255));
	letter-spacing: -1px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-top-txt {
		font-size: clamp(1.375rem, 1.025rem + 1.75vw, 1.938rem);
		margin-top: -14%;
		font-weight: 500;
	}
}

.story-txt-box {
	width: 95%;
	margin: auto;
	background-image: linear-gradient(hsla(0, 0%, 100%, 0) 0%, hsla(0, 0%, 100%, .4) 5%);
}
.story-txt {
	width: 82%;
	margin: auto;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt {
		max-width: 470px;
		font-size: clamp(0.938rem, 0.665rem + 1.36vw, 1.375rem);
		padding-bottom: 60px;
	}
}


.story-txt .txt02 {
	margin-top: 40px;
	line-height: 1.8;
	width: 98%;
	margin: 40px auto 0;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt02 {
		margin: 60px auto 0;
	}
}
.story-txt .txt02 .large {
	font-size: 20px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt02 .large {
		font-size: clamp(1.5rem, 1.344rem + 0.78vw, 1.75rem);
	}
}

.story-txt .txt03 {
	margin: 10px auto 0;
	color: #596398;
	font-size: 19px;
	font-weight: bold;
	width: 98%;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt03 {
		font-size: clamp(1.188rem, 0.837rem + 1.75vw, 1.75rem);
		margin-top: 20px;
		font-weight: 500;
	}
}

.story-txt .txt04 {
	margin-top: 40px;
	font-size: 20px;
	color: #808080;
	position: relative;
	font-weight: bold;
	text-align: center;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt04 {
		font-size: clamp(1.625rem, 1.314rem + 1.56vw, 2.125rem);
		letter-spacing: -2px;
		margin-top: 60px;
		font-weight: 500;
	}
}

.story-txt .txt04::before {
	content: "";
	position: absolute;
	background: url(/books/kiokunohakoniwa/img/top/deko01.webp);
	width: 111px;
	height: 111px;
	background-size: 50%;
	background-repeat: no-repeat;
	left: -7%;
	top: -20px;
}
.story-txt .txt04::after {
	content: "";
	position: absolute;
	background: url(/books/kiokunohakoniwa/img/top/deko01.webp);
	width: 111px;
	height: 111px;
	background-size: 50%;
	background-repeat: no-repeat;
	right: -7%;
	bottom: -20px;
	transform: rotate(180deg);
}
.story-txt .txt05 {
	margin-top: 40px;
	color: #a17dca;
	font-size: 22px;
	font-weight: 500;
	position: relative;
	text-align: center;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt05 {
		font-size: clamp(1.625rem, 1.314rem + 1.56vw, 2.125rem);
		margin-top: 60px;
	}
}

.story-txt .txt05.center {
	text-align: center;
}
.story-txt .txt05 .small {
	font-size: clamp(1.063rem, 0.84rem + 1.11vw, 1.188rem);
	letter-spacing: -1px;
	display: block;
	text-align: justify;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.story-txt .txt05 .small {
		font-size: clamp(1.375rem, 1.142rem + 1.17vw, 1.75rem);
		letter-spacing: -2px;
	}
}

.story-txt .txt05::before {
	content: "";
	position: absolute;
	background: url(/books/kiokunohakoniwa/img/top/deko02.webp);
	width: 111px;
	height: 111px;
	background-size: 50%;
	background-repeat: no-repeat;
	left: -7%;
	top: -20px;
}
.story-txt .txt05::after {
	content: "";
	position: absolute;
	background: url(/books/kiokunohakoniwa/img/top/deko02.webp);
	width: 111px;
	height: 111px;
	background-size: 50%;
	background-repeat: no-repeat;
	right: -7%;
	bottom: -20px;
	transform: rotate(180deg);
}
.story-txt .inline {
	display: inline-block;
	text-align: left;
}

/*          キャラクター          */
#character {
	background: url(/books/kiokunohakoniwa/img/top/bg03.webp),#596398;
	background-size: contain;
	background-repeat: no-repeat;
}
#character h1.title {
	color: #fff;
	text-align: right;
}
.character-box {
	width: 80%;
	margin: auto;
	color: #fff;
	margin: 20px auto 50px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.character-box {
		max-width: 450px;
		font-size: 21px;
	}
	.character-box:last-child {
		padding-bottom: 20px;
	}
}
.character-box .name {
	font-size: 20px;
	margin-bottom: 10px;
	font-weight: bold;
	display: flex;
	align-items: center;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.character-box .name {
		font-size: clamp(1.25rem, 0.822rem + 2.14vw, 1.938rem);
		font-weight: 500;
		margin-bottom: 20px;
	}
}

.character-box .name span {
	font-size: 15px;
	margin-left: 10px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.character-box .name span {
		font-size: clamp(0.938rem, 0.704rem + 1.17vw, 1.313rem);
	}
}

/*          キーワード          */
#keyword {
	background: url(/books/kiokunohakoniwa/img/top/bg04.webp),#fff;
	background-size: 100% auto;
	background-repeat: no-repeat;
	padding-bottom: 40px;
}
.keyword-box {
	width: 80%;
	margin: auto;
	margin: 30px auto 40px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.keyword-box {
		max-width: 450px;
	}
}
.keyword-box .name {
	font-size: 19px;
	font-weight: bold;
	color: #596398;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.keyword-box .name {
		font-size: clamp(1.25rem, 0.822rem + 2.14vw, 1.938rem);
		font-weight: 500;
	}
}

.keyword-box .svg-dot {
	stroke: #596398;
	width: 100%;
	height: 0.6em;
	font-size: 15px;
	display: block;
	margin: 5px 0;
}
.keyword-box .svg-dot>line {
	fill: none;
	stroke-width: 6px;
	stroke-linecap: round;
	stroke-dasharray: 0, 28;
	stroke-dashoffset: 15;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.keyword-box .txt {
		font-size: clamp(0.938rem, 0.704rem + 1.17vw, 1.313rem);
	}
}

/*          書籍情報          */
.footer-wrap {
	background: url(/books/kiokunohakoniwa/img/top/bg05.webp);
	background-size: cover;
	background-repeat: no-repeat;
	padding-top: 80px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.footer-wrap {
		padding-top: 120px;
	}
}
.book-box {
	width: 90%;
	margin: auto;
	background: rgba(255, 255, 255,.8);
	position: relative;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-box {
		max-width: 600px;
	}
}

.book-box h1.title {
	padding-top: 0;
	text-align: center;
	position: absolute;
	transform: translateY(-50%);
	width: 100%;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-box h1.title {
		max-width: 600px;
	}
}
.book-box .book-img-box {
	width: 70%;
	margin: auto;
	padding-top: 50px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-box .book-img-box {
		max-width: 380px;
		padding-top: 80px;
	}
}
/* _____ 835px 以上 _____ */
@media (min-width: 835px) {
	.book-box .book-img-box {
		padding-top: 80px;
	}
}
.book-txt-box {
	width: 70%;
	margin: auto;
	padding: 20px 0;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-txt-box {
		max-width: 380px;
	}
}
.book-txt-box .title {
	font-size: 20px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-txt-box .title {
		font-size: clamp(1.25rem, 0.939rem + 1.56vw, 1.75rem);
		font-weight: 500;
	}
}
.book-txt-box .detail {
	margin-top: 5px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-txt-box .detail {
		font-size: clamp(0.938rem, 0.704rem + 1.17vw, 1.313rem);
		font-weight: 500;
	}
}
.book-link {
	margin: 30px auto 40px;
	text-align: center;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-link {
		font-size: clamp(0.938rem, 0.821rem + 0.58vw, 1.125rem);
	}
}
.book-link a {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	background: #aa8eca;
	margin: 10px auto;
	padding: 12px 0;
	border-radius: 50px;
}
.book-link a svg {
	fill: #fff;
	width: 13px;
	margin-left: 5px;
}
/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.book-link a svg {
		width: 4%;
	}
}


.fix-link {
	position: fixed;
	bottom: -1px;
	z-index: 80;
	background: #aa8eca;
	display: flex;
	text-align: center;
	width: 100%;
	padding: 0 2px;
	transition: 1s ease-in-out;
}
.fix-link.off {
	transform: translateY(80px);
}
.fix-link a {
	display: block;
	width: 50%;
	color: #fff;
	font-size: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 1px #ffffff solid;
	margin: 4px 2px;
	padding: 6px 0;
}
@media (min-width: 1200px) {
	.pc-not {
		display: none;
	}
}
@media (min-width: 835px) and (max-width: 1200px) {
	.fix-link {
		width: 600px;
	}
}

/* _____ 500px 以上 _____ */
@media (min-width: 500px) {
	.fix-link a {
		font-size: 24px;
		padding: 10px 0;
	}
}
.fix-link a svg {
	fill: #fff;
	width: 15px;
	margin-left: 2px;
}


.story-blur-in {
	opacity: 0;
	filter: blur(5px);
	transition: 1.5s ease-in-out;
}
.story-blur-in.show {
	opacity: 1;
	filter: blur(0);
}
.door-blue, .door-yellow, .door-red {
	opacity: 0;
	transition: 1.5s ease-in-out;
}
.door-blue.show, .door-yellow.show, .door-red.show {
	opacity: 1;
}
