@charset "UTF-8";
/* CSS Document */

/* グローバル変数 */
:root {
	--color-base: #EDB0CB;
	--color-main: #E24E8B;
	--color-blue: #C3E0F1;
}

/* common */
html {
	font-size: 14px;
}
body {
	font-family: "M PLUS Rounded 1c", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	height: 100vh;
	text-align: center;
	line-height: 1.6;
	color: #1F1F1F;
	background-color: #FFFFFF;
	background-image: url("../img/bg.png");
	background-repeat: repeat-y;
	background-size: 100vw auto;
}
a {
	display: block;
}
a:hover {
    opacity: 0.7;
	transition: opacity .3s;
}
img {
	max-width: 100%;
	height: auto;
	object-fit: contain;
	image-rendering: -webkit-optimize-contrast;
	vertical-align: bottom;
	display: block;
	margin: 0 auto;
}
span {
	font-weight: 700;
}

/* SPで表示、PCで非表示 */
.display_sp {
	display: block;
}
.display_pc {
	display: none;
}

/* メインビジュアル */
#mv {
	max-width: 1200px;
	margin: 0 auto;
}

/* menu */
.menu_nav {
	margin: 1rem auto;
	max-width: 1200px;
	padding: 0 4%;
}
.menu_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	grid-gap: 6px;
}

/* コンテンツ */
#container {
	margin: 0rem auto 3rem;
	padding: 0 4%;
}
.content {
	padding: 2rem 4%;
	border: 2px solid var(--color-blue);
	border-radius: 20px;
	background-color: #FFFFFF;
	max-width: 980px;
	margin: 3rem auto;
}
.h2_no {
	max-width: 5rem;
	margin: -3.75rem auto 0;
}
h2 {
	background: var(--color-main);
	padding: 0.5rem;
	color: #FFFFFF;
	border-radius: 20px;
	font-weight: 700;
	font-size: 1.3rem;
	margin: 0 auto 1rem;
	line-height: 1.2;
}
h3 {
	color: var(--color-main);
	padding: .25em 0.5em .25em;
    border-left: 6px solid var(--color-main);
    border-bottom: 1px solid var(--color-main);
	font-size: 1.2rem;
	font-weight: 700;
	margin: 1.5rem 0 1rem;
}
h4 {
	padding: 0 4px 2px;	
	display: inline-block;
	background-image: linear-gradient(rgba(0 0 0 / 0) 60%, rgba(237,176,203,0.4) 60%);
	font-weight: 700;
	margin: 1rem 0 0.5rem;
}
.details_wrap {
	text-align: left;
	margin: 2rem auto 0;
}
.img_content {
	margin: 0 auto 1rem;
	max-width: 600px;
}
.img_content img {
	border: 2px solid var(--color-base);
}
.ttl {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 0.4rem;
}
.txt_link {
	font-weight: 700;
	color: #0989ED;
	text-decoration: underline;
	display: inline-block;
}
.btn {
	color: #0989ED;
	text-align: center;
	border: 2px solid #0989ED;
	border-radius: 50px;
	margin: 0.5rem 0 1rem;
	padding: 0.5rem 4px;
	max-width: 14rem;
	font-weight: 700;
}

/* 電子書店先行配信フェア */
.store_table {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}
.store_table_item {
	padding: 0.5rem 2px;
	border: 1px solid var(--color-base);
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.store_table_item.p_small {
	font-size: 0.8rem;
}
.trial_list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem 2rem;
	grid-gap: 1rem 2rem;
}
.trial_list img {
/*	border: 1px solid #CCCCCC;*/
	border: 2px solid var(--color-base);
	margin-bottom: 0.5rem;
}

/* 応募者全員プレゼントキャンペーン */
.img_file {
	max-width: 640px;
}
.points_list {
	list-style-type: none;
	text-align: left;
}

/* 公式Xフォロー＆リポストキャンペーン */
.hashtag_list li {
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--color-base);
	line-height: 1.2;
}

/* 店舗法人別購入特典 */
.benefits_table{
	border-collapse:separate;
	border-spacing: 4px;
	width: 100%;
	margin: 0rem 0 1rem;
	font-weight: 700;
}
.benefits_table th{
	background-color: var(--color-main);
	color: #FFFFFF;
	text-align: center;
	padding: 4px 0;
	border-radius: 4px;
	width: 45%;
}
.benefits_table td{
	color: var(--color-main);
	text-align: left;
	padding: 4px 0.5rem;
	width: 55%;
}

/* PV紹介 */
.youtube_wrap {
	margin: 0 auto 1rem;
	max-width: 600px;
}
.youtube {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
	overflow: hidden;
	border: 2px solid var(--color-base);
}
.youtube iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

/* バナーリスト */
.bnr_list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	margin: 6rem auto 0;
}
.bnr_list li {
	padding: 1rem;
}
.bnr_list img {
	height: 4rem;
}

/* footer */
footer {
	padding: 1rem;
}
.footer_menu {
	font-weight: 600;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 1rem auto 4rem;
}
.footer_menu li {
	margin: 0.5rem auto;
}
.copyright {
	font-size: 0.7rem;
}


/* ページトップに戻るボタン */
#to_top {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 15px;
}
#to_top a{
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--color-main);
	opacity: 0.8;
}
#to_top a::after {
	content: '';
	width: 16px;
	height: 16px;
	margin-top: 6px;
	border-top: 4px solid #FFFFFF;
	border-right: 4px solid #FFFFFF;
	transform: rotate(-45deg);
}


/* for TB, PC */
@media (min-width: 768px),print {
	
	/* common */
	html {
		font-size: 18px;
	}
	
	/* SPで非表示、PCで表示 */
	.display_sp {
		display: none;
	}
	.display_pc {
		display: block;
	}
	
	/* menu */
	.menu_nav {
		margin: 2rem auto;
	}
	.menu_list {
		grid-template-columns: repeat(3, 1fr);
		gap: 1rem;
		grid-gap: 1rem;
	}

	/* コンテンツ */
	.content {
		border: 4px solid var(--color-blue);
		margin: 6rem auto;
	}
	.details_wrap {
		margin: 3rem auto 0;
	}
	.h2_no {
		max-width: 10rem;
		margin: -5rem auto 0rem;
	}
	h2 {
		font-size: 1.7rem;
	}
	
	/* 電子書店先行配信フェア */
	.store_table {
		grid-template-columns: repeat(4, 1fr);
	}
	.store_table_item {
		font-size: 1rem;
	}
	.trial_list {
		grid-template-columns: repeat(3, 1fr);
	}
	
	/* 店舗法人別購入特典 */
	.benefits_table th{
		width: 30%;
	}
	.benefits_table td{
		width: 70%;
	}
	
	/* バナーリスト */
	.bnr_list {
/*		margin: 200px auto 0;*/
	}

	/* footer */
	.footer_menu {
		flex-direction: row;
	}
	.footer_menu li {
		margin: 1rem;
	}
}

