:root {
	--pink: #FAEEEE;
	--brown: #700F28;
	--red: #C61340;
	--purple: #E9E7EE;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: 'Noto Sans JP', sans-serif;
	line-height: 1.5;
	font-weight: 400;
	font-size: 14px;
	color: var(--brown);
	display: none;
}
img {
	width: 100%;
}
.container {
	display: flex;
	justify-content: center;
	background: var(--purple);
}
.main {
	max-width: 480px;
	width: 100%;
	background: var(--pink);
	position: relative;
}
.mv-box {
	position: relative;
	margin-bottom: 32px;
}
.copy {
	position: absolute;
	top: 69%;
	left: 0;
	width: 100%;
}
.sub-copy {
	width: 35%;
	height: 35%;
	position: absolute;
	z-index: 5;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-size: 14px;
	color: #fff;
	font-weight: 600;
	top: 39%;
	right: 3%;
	overflow: hidden;
}

.sub-copy img {
	width: 60%;
}

.sub-copy::before {
	content: "";
	background: url(../img/polygon.svg) no-repeat center center;
	background-size: 95%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	overflow: hidden;
	animation: rotate-batch 20s linear infinite;
}

@keyframes rotate-batch {
	0% {transform: rotate(0);}
	100% {transform: rotate(360deg);}
}

.float-btn {
	display: block;
	width: 48px;
	height: 48px;
	background: var(--brown);
	border-radius: 50%;
	padding: 8px;
	box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
	position: fixed;
	z-index: 10;
	left:auto;
	right:12px;
	top:12px;
	margin:0;
}

.eg-title {
	margin: 16px 0 0;
}

.section-title {
	color: #fff;
	font-size: 24px;
	text-align: center;
	font-weight: 600;
	margin-bottom: 16px;
	letter-spacing: 0.08em;
	font-feature-settings: "palt";
	text-shadow:
	1px 1px 0px var(--red), -1px -1px 0px var(--red),
   -1px 1px 0px var(--red),  1px -1px 0px var(--red),
	1px 0px 0px var(--red), -1px  0px 0px var(--red),
	0px 1px 0px var(--red),  0px -1px 0px var(--red);
}

.add-mgb24 {
	margin-bottom: 24px;
}
.add-mgb20 {
	margin-bottom: 20px;
}

.troubled-text {
	font-weight: 600;
	font-size: 18px;
	color: var(--brown);
	margin: 16px 0;
	text-align: center;
}

.summary {
	background: #fff;
	padding: 24px;
	margin: 96px 16px 0;
	color: var(--brown);
	font-size: 14px;
	letter-spacing: 0.04em;
	position: relative;
}
.summary p {
	padding: 8px 0 0;
	line-height: 1.7;
}
.price {
	font-weight: 600;
}
.summary-title {
	width: 188px;
	display: block;
	margin: 0 auto;
	position: absolute;
	top: -98px;
	left: 0;
	right: 0;
}
.sample {
	display: block;
	max-width: 372px;
	margin: 0 auto;
}
.cta {
	display: flex;
	justify-content: center;
	flex-direction: column;
	gap: 24px 0;
	margin: 24px 16px;
}
.book-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	background: var(--red);
	border-radius: 36px;
	box-shadow: 0px 4px 0px 0px var(--brown);
	text-align: center;
	padding: 16px 24px;
	color: #fff;
	font-weight: 600;
	margin: 0 auto;
	width: 100%;
	max-width: 360px;
}

.book-btn::before {
	display: inline-block;
	content:"";
	background: url(../img/btn-icon.svg) no-repeat center center;
	background-size: cover;
	width: 48px;
	height: 34px;
}

.ebook-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #fff;
	border-radius: 36px;
	border: 2px solid var(--red);
	box-shadow: 0px 4px 0px 0px var(--red);
	text-align: center;
	padding: 16px 24px;
	color: var(--red);
	font-weight: 600;
	margin: 0 auto;
	width: 100%;
	max-width: 360px;
}

.frame_wrap {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	overflow: hidden;
}

.frame_wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.movie-wrap {
	padding: 0 16px;
}

.author {
	padding: 40px 0;
}

.author-img-box {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.author-img {
	width: 45%;
}

.author-name {
	font-weight: 600;
	font-size: 18px;
	margin: 0 auto;
}

.yomigana {
	font-size: 12px;
}

.author-title {
	font-weight: 400;
	font-size: 14px;
}

.author-text {
	line-height: 1.7;
	padding: 16px;
}

.logo {
	display: block;
	width: 60px;
	margin: 0 auto;
	padding: 24px 0 8px;
}

.sp-footer {
	font-family: 'Meow Script', cursive;
	font-size: 10px;
	text-align: center;
	padding-bottom: 24px;
	color: var(--red);
}

.left-content,
.right-content {
	display: none;
}

#loading {
	width: 100vw;
	height: 100svh;
	transition: all 1s ease-out;
	background: var(--pink);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.loading-logo {
	max-width: 96px;
	animation: zoom 1.2s linear infinite;
	animation-timing-function: ease-in-out;
}

@keyframes zoom {
	0% {
	transform: scale(1);
	}
	50% {
	transform: scale(1.05);
	}
	100% {
	transform: scale(1);
	}
}

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

.fade {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 1.5s, transform 1s;
}.fade.active {
	opacity: 1;
	transform: translateY(0px);
}

.copy-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.5s, transform 1s;
}
.copy-fade.show {
    opacity: 1;
    transform: translateY(0);
}



@media screen and (min-width: 640px){
	.main {
		max-width: 424px;
		margin: 0 auto;
	}
	.float-btn {
		left:auto;
		right: auto;
		top:0;
		margin:12px 0 0 362px;
	}
	.left-content {
		display: flex;
		flex-direction: column;
		flex: 1;
		padding: 40px;
		background: var(--purple);
		height: 100vh;
		position: sticky;
		top: 0;
		overflow: hidden;
	}
	.head-logo {
		width: 88px;
	}
	.menu {
		margin-top: auto;
		margin-bottom: auto;
		display: flex;
		flex-direction: column;
	}
	.book-logo {
		max-width: 220px;
		margin-bottom: 24px;
	}
	.anchor {
		font-weight: 600;
		display: flex;
		flex-direction: column;
		gap: 4px 0;
		text-decoration: underline;
	}
	.cta_pc {
		display: flex;
		justify-content: flex-start;
		flex-direction: column;
		max-width: 220px;
		gap: 8px 0;
	}
	.cta_pc .book-btn {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		background: var(--brown);
		border-radius: 36px;
		box-shadow: none;
		text-align: center;
		padding: 16px 24px;
		color: #fff;
		font-weight: 600;
		margin: 0 auto;
		width: 100%;
	}
	.cta_pc .book-btn::before {
		display: none;
	}
	.cta_pc .ebook-btn {
		box-shadow: none;
	}
	.right-content {
		display: none;
	}
	.left-content .copyright {
		display: block;
		text-align: left;
		margin-top: 24px;
		font-size: 10px;
	}
	
}
@media screen and (min-width: 1080px){
	.right-content {
		display: flex;
		justify-content: flex-end;
		flex-direction: column;
		flex: 1;
		padding: 40px;
		background: var(--purple);
		height: 100vh;
		position: sticky;
		top: 0;
		overflow: hidden;
	}
	.release-date {
		font-family: 'Meow Script', cursive;
		text-align: right;
		margin-bottom: auto;
		font-size: 16px;
		line-height: 1.3;
	}
	.copyright {
		text-align: right;
		font-size: 10px;
	}
	.left-content .copyright {
		display: none;
	}

}
