@charset "UTF-8";

html{
	scroll-behavior: smooth;
}

body{
	position: relative;	
	padding: var(--margin-base);
	font-family: var(--font-primary);
	letter-spacing: 0.15em;
	line-height: 2em;
	font-weight: 400;
	overflow-x: hidden;
	background-color: var(--color-base);
	color: var(--color-text);
}

a#return{
	display: block;
	position: fixed;
	bottom: calc(var(--margin-base) * 3.5);
	right: calc(var(--margin-base) * 0.5);
	font-size: 5em;
	line-height: 1;
	color: rgba(102, 102, 102, 0.5);
	z-index: 10;
}

a{
    display: inline-block;
	color: var(--color-text);
}

/* コンテンツエリア */
section{
	max-width: 110rem;
	margin: 0 auto var(--margin-base);
}

section:last-of-type{
	margin-bottom: 0;
}

/* コンテンツエリア */
main{
	max-width: 110%;
	margin: 0 auto var(--margin-base);
}

main:last-of-type{
	margin-bottom: 0;
}

/* プロフ */
#prof > *{
	margin: 0 2em;
}

#menu{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
    font-size: 1.2em;
	gap: calc(var(--margin-base) * 0.1);
}

#menu a{
	display: block;
    padding: 0.1em 0.5em;
	text-align: center;
	font-weight: 500;
    background-color: var(--color-base);
    cursor: pointer;
	color: var(--color-main);
	transition: 0.6s;
    border-radius: var(--border-radius);
}

#menu a:hover{
    color: var(--color-marker);
	background-color: rgba(0, 0, 0, .0);
	opacity: 0.6;
}

/* menu02 */

#menu02{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: calc(var(--margin-base) * 0.9);
	margin-top: 1.8em;
	margin-bottom: 0;
}

#menu02 a{
	display: block;
	font-size: 0.9em;
	text-align: center;
	font-weight: 500;
	color: var(--color-text);
    cursor: pointer;
    color: var(--color-main);
	transition: 0.3s;
}

#menu02 a:hover{
    color: var(--color-markar);
	background-color: var(--color-base);
	opacity: 0.2;
}

/* menu03 */

#menu03{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: calc(var(--margin-base) * 0.8);
	margin-top: 2.3em;
    margin-bottom:  1.5em;
}

#menu03 a{
	display: block;
	width: 100;
    padding: 0.3em 0.8em;
	font-size: 0.8em;
	text-align: center;
	font-weight: 500;
	background-color: var(--color-text);
    cursor: pointer;
    color: var(--color-base);
	transition: 0.6s;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .5);
    border-radius: var(--border-radius);
}

#menu03 a:hover{
    color: var(--color-markar);
	background-color: var(--color-base);
	opacity: 0.6;
}

/* topimg */

#topimg{
    width:  100vw;
	margin-top: -3.3em;
    margin-left: calc(-50vw + 50%);
    max-width: none;
	height: auto;
}

/* banner */

#banner{
    display: flex;
    margin: 1.3 0em;
    box-shadow: 2px 8px 10px 0 rgba(0, 0, 0, .25);
}

/* profimg */

.proflist{
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--margin-base) * 0.6);
}

.prof{
	padding: calc(var(--margin-base) / 3);
	width: calc(100% - var(--margin-base) * 0.75 / 13);
    background-color: var(--color-base);
    transition: 0.6s;
}

.prof .gaiyou{
	display: flex;
	align-items:  center;
	gap: calc(var(--margin-base) / 20);
}

.prof .gaiyou img.icon{
	width: 8em;
	height: auto;
    margin-right: 1.5em;
	vertical-align: middle;
    border-radius: 50%;
}

.prof h4{
    font-size: 1.2em;
	font-weight: 500;
}

.prof p.product{
	margin: 0.1em 0;
	font-size: 0.9em;
	font-family: var(--font-alphanumeric);
	font-weight: 500;
	color: var(--color-main);
}

.prof p.text{
    line-height: 1.6em;
	font-size: 1em;
    color: var(--color-main);
}

/* ボックスの中 */
.box{
	padding: var(--margin-base) calc(var(--margin-base) * 1.2);
	background-color: var(--color-base);
	border-radius: var(--border-radius);
}

.box h1{
    margin-top: 2em;
    margin-bottom: 5em;
	padding-bottom: 0.1em;
	font-size: 1.4em;
	font-weight: 500;
}

.box p + h1,
.box ul + h1,
.box dl + h1{
	margin-top: 3em;
}

.box h2{
    margin-bottom: 2.5em;
	padding-bottom: 0.1em;
	font-size: 1.1em;
	font-weight: 500;
	border-bottom: solid 1px var(--color-main);
}

.box p + h2,
.box ul + h2,
.box dl + h2{
	margin-top: 3em;
}


.box h3{
    margin-bottom: 1.0em;
	padding-bottom: 0.2em;
	width: fit-content;
	font-size: 1em;
	font-weight: 500;
	border-bottom: solid 1px var(--color-main);
}

.box p + h3,
.box ul + h3,
.box dl + h3{
	margin-top: 2.5em;
}

.box p{
	margin: 5 0em;
}

.box > div{
	margin: 2em 0;
}

.box > p:first-child,
.box dl:first-child,
.box ul:first-child,
.box > div:first-child{
	margin-top: 0;
}

.box p:last-child,
.box dl:last-child,
.box ul:last-child,
.box > div:last-child{
	margin-bottom: 0;
}

.box strong{
    margin: 0.5 0.4em;
	font-weight: 600;
	background: var(--color-marker);
}

.text a{
	text-decoration: underline;
	font-weight: 500;
    cursor: pointer;
    color: var(--color-main);
	transition: 0.6s;
}

.text a:hover{
    color: var(--color-base);
	background-color: var(--color-markar);
	opacity: 0.3;
}

dl,ul{
	margin: 1.4em 0;
	padding-left: 1.6em;
}

dt,li{
	position: relative;
    margin: 1 0em;
}

ul{
	column-gap: var(--margin-base);
}

ul.column2{
	column-count: 2;
}

ul.column3{
	column-count: 3;
}

li{
	margin-bottom: 0.3em;
    
}

dd{
	margin-bottom: 2em;
}


dt::before,
li::before{
	position: absolute;
	left: -1.6em;
	font-family: var(--font-icon);
	color: var(--color-text);
}

dt.like::before,
li.like::before{
	content: "\f004";
	color: var(--color-text);
	font-weight: 400;
}

dt.dislike::before,
li.dislike::before{
	content: "\f7a9";
	font-weight: 900;
}

.link dt::before,
.link li::before{
	content: "\f35d";
	font-weight: 900;
}


/* ボックス２　影付きグレーボックス */

.box02 {
    padding: var(--margin-base) calc(var(--margin-base) * 1.2);
	background-color:  var(--color-base);
	border-radius: var(--border-radius);
    box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .25);
}

/* ↓小説 */

#ss{
	margin: 0 auto 1em;
	line-height: 1.8em;
	font-weight: 500;
	letter-spacing: 0.1em;
}

#ss h1{
	margin: var(--margin-base) auto var(--margin-base);
	font-size: 1.3em;
	font-family: var(--font-primary);
	letter-spacing: 0.5rem;
	font-weight: 400;
	color: var(--color-text);
}

#ss h4{
	margin: 0 auto 0.5em;
	font-size: 1.2em;
	font-family: var(--font-primary);
	letter-spacing: 0.3rem;
	font-weight: 500;
	color: var(--color-text);
}

#ss strong{
	margin-top: var(--margin-base);
	padding-right: 1em;
	line-height: 2.2em;
	font-size: 0.8em;
	font-weight: 500;
	color: var(--color-accent);
	background: none;
}

#ss p{
	margin: var(--margin-base) auto var(--margin-base);
	line-height: 2.2em;
	font-size: 1.1em;
	color: var(--color-text);
}

/* ↓漫画展示用 */

.comiclist{
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--margin-base) * 0.7);
}

.comic{
	padding: calc(var(--margin-base) / 3);
	width: calc(48% - var(--margin-base) * 0.75 / 13);
    background-color: #f2f2f2;
    transition: 0.6s;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .25);
}

.comic:hover{
    color: rgba(0, 0, 0, .10);
	background-color: rgba(0, 0, 0, .15);
	opacity: 0.5;
}

.comic .gaiyou{
	display: flex;
	align-items: flex-start;
	gap: calc(var(--margin-base) / 20);
}

.comic .gaiyou img.hyoushi{
	width: 35%;
	height: auto;
    margin-right: 1em;
	vertical-align: middle;
    border: solid 1px var(--color-marker);
}

.comic h4{
    font-size: 1.2em;
	font-weight: 500;
}

.comic p.product{
	margin: 0.1em 0;
	font-size: 0.9em;
	font-family: var(--font-alphanumeric);
	font-weight: 500;
	color: var(--color-main);
}

.comic p.text{
    line-height: 1.6em;
	font-size: 1em;

}

/* ↓オフライン */
.booklist{
	display: flex;
	flex-wrap: wrap;
	gap: calc(var(--margin-base) * 0.75);
}

.book{
	padding: calc(var(--margin-base) / 3);
	width: calc(50% - var(--margin-base) * 0.75 / 2);
	border: solid 1px var(--color-base);
}

.book .gaiyou{
	display: flex;
	align-items: flex-start;
	gap: calc(var(--margin-base) / 3);
}

.book .gaiyou img.hyoushi{
	width: 40%;
	height: auto;
    margin-right: 1.9em;
	vertical-align: bottom;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .25);
}

.book h4{
    font-size: 1.2em;
	font-weight: 500;
}

.book p.product{
	margin: 0.3em 0;
	font-size: 0.9em;
	font-family: var(--font-alphanumeric);
	font-weight: 500;
	color: var(--color-main);
}

.order{
	display: flex;
	align-content: space-around;
	gap: 3em;
	margin-top: 2.2em;
	width: 100%;
}

.book .order a{
	display: block;
	width: 100%;
    cursor: pointer;
	color: var(--color-accent);
    transition: 0.6s;
	line-height: 2.3;
	text-align: center;
	font-weight: 500;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, .25);
    border-radius: var(--border-radius)
}

.book .order a:hover{
    color: var(--color-main);
	background-color: var(--color-base);
	opacity: 0.5;
}

.book .order a.soldout{
	pointer-events: none;
	background-color: #ECECEC;
	color: #aaa;
}


/* ↓折り畳み */
summary{
	position: relative;
	display: block;
    margin-left: 5%;
	height: 2.5em;
	font-weight: 400;
    font-size: 1.3em;
	text-align: left;
	cursor: pointer;
	color: var(--color-font);
	transition: 0.3s;
}

summary span{
	line-height: 2.5em;
}

summary:hover{
	color: var(--color-main);
	background-color: var(--color-base);
	opacity: 0.6;
}

summary::-webkit-details-marker {
	display: none;
}

details[open] > * {
	animation: fadeIn 0.5s ease;
}

details[open] > summary{
	margin-bottom: 2em;
}

details[open] > summary span{
	display: none;
}

details[open] > summary::before {
	content: 'close';
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	line-height: 2.2em;
}

@keyframes fadeIn {
	0% {
		opacity: 0; /* 透明 */
	}
	100% {
		opacity: 1;
	}
}

/* ↓フッター*/

footer {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
    height: 4em;
	padding: calc(var(--margin-base) * 0.1);
	background-color:  var(--color-base);
    box-shadow: 0 0 40px 40px var(--color-base);
	z-index: 9;
}

/* Tiles */

	.tiles {
		display: -moz-flex;
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-moz-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
		postiion: relative;
		margin: -2.5em 0 0 -2.5em;
	}

		.tiles article {
			-moz-transition: -moz-transform 0.5s ease, opacity 0.5s ease;
			-webkit-transition: -webkit-transform 0.5s ease, opacity 0.5s ease;
			-ms-transition: -ms-transform 0.5s ease, opacity 0.5s ease;
			transition: transform 0.5s ease, opacity 0.5s ease;
			position: relative;
			width: calc(33.33333% - 2.5em);
			margin: 2.5em 0 0 2.5em;
		}

			.tiles article > .image {
				-moz-transition: -moz-transform 0.5s ease;
				-webkit-transition: -webkit-transform 0.5s ease;
				-ms-transition: -ms-transform 0.5s ease;
				transition: transform 0.5s ease;
				position: relative;
				display: block;
				width: 100%;
				border-radius: 4px;
				overflow: hidden;
			}

				.tiles article > .image img {
					display: block;
					width: 100%;
				}

				.tiles article > .image:before {
					pointer-events: none;
					-moz-transition: background-color 0.5s ease, opacity 0.5s ease;
					-webkit-transition: background-color 0.5s ease, opacity 0.5s ease;
					-ms-transition: background-color 0.5s ease, opacity 0.5s ease;
					transition: background-color 0.5s ease, opacity 0.5s ease;
					content: '';
					display: block;
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					opacity: 1.0;
					z-index: 1;
					opacity: 0.4;
				}

				.tiles article > .image:after {
					pointer-events: none;
					-moz-transition: opacity 0.5s ease;
					-webkit-transition: opacity 0.5s ease;
					-ms-transition: opacity 0.5s ease;
					transition: opacity 0.5s ease;
					content: '';
					display: block;
					position: absolute;
					top: 0;
					left: 0;
					width: 100%;
					height: 100%;
					opacity: 0.25;
					z-index: 2;
				}

			.tiles article > a {
				display: -moz-flex;
				display: -webkit-flex;
				display: -ms-flex;
				display: flex;
				-moz-flex-direction: column;
				-webkit-flex-direction: column;
				-ms-flex-direction: column;
				flex-direction: column;
				-moz-align-items: center;
				-webkit-align-items: center;
				-ms-align-items: center;
				align-items: center;
				-moz-justify-content: center;
				-webkit-justify-content: center;
				-ms-justify-content: center;
				justify-content: center;
				-moz-transition: background-color 0.5s ease, -moz-transform 0.5s ease;
				-webkit-transition: background-color 0.5s ease, -webkit-transform 0.5s ease;
				-ms-transition: background-color 0.5s ease, -ms-transform 0.5s ease;
				transition: background-color 0.5s ease, transform 0.5s ease;
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				padding: 1em;
				border-radius: 4px;
				border-bottom: 0;
				color: #ffffff;
				text-align: center;
				text-decoration: none;
				z-index: 3;
			}

				.tiles article > a > :last-child {
					margin: 0;
				}

				.tiles article > a:hover {
					color: #ffffff !important;
				}

				.tiles article > a h2 {
					margin: 0;
				}

				.tiles article > a .content {
					-moz-transition: max-height 0.5s ease, opacity 0.5s ease;
					-webkit-transition: max-height 0.5s ease, opacity 0.5s ease;
					-ms-transition: max-height 0.5s ease, opacity 0.5s ease;
					transition: max-height 0.5s ease, opacity 0.5s ease;
					width: 100%;
					max-height: 0;
					line-height: 1.5;
					margin-top: 0.35em;
					opacity: 0;
				}

					.tiles article > a .content > :last-child {
						margin-bottom: 0;
					}

			.tiles article.stylemain > .image:before {
				background-color: var(--color-main);
			}

			body:not(.is-touch) .tiles article:hover > .image {
				-moz-transform: scale(1.1);
				-webkit-transform: scale(1.1);
				-ms-transform: scale(1.1);
				transform: scale(1.1);
			}

				body:not(.is-touch) .tiles article:hover > .image:before {
					background-color: #333333;
					opacity: 0.7;
				}

				body:not(.is-touch) .tiles article:hover > .image:after {
					opacity: 0;
				}

			body:not(.is-touch) .tiles article:hover .content {
				max-height: 15em;
				opacity: 1;
			}

		* + .tiles {
			margin-top: 2em;
		}

		body.is-preload .tiles article {
			-moz-transform: scale(0.9);
			-webkit-transform: scale(0.9);
			-ms-transform: scale(0.9);
			transform: scale(0.9);
			opacity: 0;
		}

		body.is-touch .tiles article .content {
			max-height: 15em;
			opacity: 1;
		}

		@media screen and (max-width: 1366px) {

			.tiles {
				margin: -1.25em 0 0 -1.25em;
			}

				.tiles article {
					width: calc(33.33333% - 1.25em);
					margin: 1.25em 0 0 1.25em;
				}

		}

		@media screen and (max-width: 980px) {

			.tiles {
				margin: -2.5em 0 0 -2.5em;
			}

				.tiles article {
					width: calc(50% - 2.5em);
					margin: 2.5em 0 0 2.5em;
				}

		}

		@media screen and (max-width: 736px) {

			.tiles {
				margin: -1.25em 0 0 -1.25em;
			}

				.tiles article {
					width: calc(50% - 1.25em);
					margin: 1.25em 0 0 1.25em;
				}

					.tiles article:hover > .image {
						-moz-transform: scale(1.0);
						-webkit-transform: scale(1.0);
						-ms-transform: scale(1.0);
						transform: scale(1.0);
					}

		}

		@media screen and (max-width: 480px) {
			.tiles {
				margin: -1.25em 0 0 -1.25em;
			}

				.tiles article {
					width: calc(50% - 1.25em);
					margin: 1.25em 0 0 1.25em;
				}

					.tiles article:hover > .image {
						-moz-transform: scale(1.0);
						-webkit-transform: scale(1.0);
						-ms-transform: scale(1.0);
						transform: scale(1.0);
					}

		}
		
/* ==========================================
最小スクリーン時　１列タイル表示記述

			.tiles {
				margin: 0;
			}

				.tiles article {
					width: 100%;
					margin: 1.25em 0 0 0;
				}

		}
		
   ========================================== */
