@charset "UTF-8";

html{
	scroll-behavior: smooth;
}

body{
	position: relative;
	padding: var(--margin-base);
	font-family: var(--font-primary);
	font-weight: 400;
	overflow-x: hidden;
	background-color: var(--color-base);
	color: var(--color-text);
}

a#return{
	display: block;
	position: fixed;
	bottom: 3rem;
	right: 3rem;
	font-size: 3em;
	line-height: 1;
	color: var(--color-accent);
}

a{
	color: var(--color-main);
}

/* コンテンツエリア */
section{
	max-width: 90rem;
	margin: 0 auto var(--margin-base);
}

section:last-of-type{
	margin-bottom: 10rem;
}

/* プロフ */
#prof > *{
	margin: 0 auto;
	width: fit-content;
}

#prof h1{
	font-size: 2.2em;
	line-height: 5em;
	letter-spacing: 0.5rem;
	font-weight: 600;
	color: var(--color-text);
	margin-bottom: 1rem;
}


#prof #icon{
	margin-right: 0.7em;
	width: 1.8em;
	aspect-ratio: 1 / 1; /*指定された幅と高さの比率を維持する*/
	border-radius:50%;
	vertical-align: middle;
	object-fit:cover;
	background-color: var(--color-accent);
}

#prof .text{
	margin: 2em auto 2.5em;
	width: fit-content;
}

#menu{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.4em 2em;
	margin-top: 0em;
}

#menu a{
	display: block;
	text-align: center;
	font-weight: 600;
	color: var(--color-text);
}

#menu a i{
	display: block;
	margin-bottom: -0.1em;
	width: 2.5em;
	height: 2.5em;
	font-size: 1.8em;
	line-height: 2.5em;
	border-radius:50%;
}

#menu a span{
	font-size: 0.7em;
	letter-spacing: 0.1em;
}

#menu a:nth-child(odd) i{
	background-color: var(--color-main);
}

#menu a:nth-child(even) i{
	background-color: var(--color-accent);
}

#menu a:hover i{
	color: var(--color-base);
}

#menu a:hover:nth-child(odd) i,
#menu a:hover:nth-child(even) i{
	background-color: var(--color-text);
}

/* ボックスの中 */
.box{
	padding: var(--margin-base);
	background-color: var(--color-light);
	border-radius: var(--border-radius);
	margin-bottom: 1rem;
}

.box h2{
	padding-bottom: 0.2em;
	font-size: 1.2em;
	font-weight: 600;
	border-bottom: solid 1px var(--color-main);
}

.box h2:first-letter{
	color: var(--color-main);
}

.box p + h2,
.box ul + h2,
.box dl + h2{
	margin-top: 1.5em;
}

.box h3{
	padding-bottom: 0.2em;
	width: fit-content;
	font-size: 1.1em;
	font-weight: 600;
	border-bottom: solid 1px var(--color-text);
	color:var(--color-text);
}

.box p + h3
.box ul + h3,
.box dl + h3{
	margin-top: 2.2em;
}

.box > p{
	margin: 5em 5em;
}

.box > div{
	margin: 2em 0;
}

.box > *:first-child{
	margin-top: 0;
}

.box > *:last-child{
	margin-bottom: 0;
}

.box strong{
	font-weight: 600;
	background:linear-gradient(transparent 60%, var(--color-marker) 60%);
}

.text a{
	text-decoration: underline;
	font-weight: 600;
}

.text a::after{
	margin-left: 0.2em;
	font-family: var(--font-icon);
	content: "\f35d";
	font-weight: 900;
}

dl,ul{
	margin: 1.4em 0;
	padding-left: 1.6em;
}

dt,li{
	position: relative;
	float: left;
	font-weight: 400;
}

ul{
	column-gap: var(--margin-base); /*要素の段または列の間のすき間*/
	margin-bottom: 10em;
}

ul.column2{
	column-count: 2;
}

ul.column3{
	column-count: 3;
	padding: 0em;
	margin: 0em;
}

li{
	margin: 0.3em;
}

dd{
	margin-bottom: 1em;
}

dt::before,
li::before{
	position: absolute;
	left: -1.6em;
	font-family: var(--font-icon);
	content: "";
	font-weight: 400;
	color: var(--color-accent);
}

dt.like::before,
li.like::before{
	content: "\f004";
	color: var(--color-main);
	font-weight: 900;
	display: inline;
}

dt.dislike::before,
li.dislike::before{
	content: "\f7a9";
	font-weight: 900;
}

.link dt::before,
.link li::before{
	content: "";
	font-weight: 900;
}

dt.bell::before,
li.bell::before{
	content: "\f0f3";
	color: var(--color-accent);
	font-weight: 900;
}


/* ↓イラスト */
#illustlog{
	display: flex;
	flex-wrap: wrap;
	gap: 1.5em;
}

#illustlog .illust{
	width: calc(20% - 1.5em * 4 / 5);
	aspect-ratio: 1 / 1;
}

#illustlog .illust > a{
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

#illustlog .illust > a::before{
	content: "";
	display: block;
	padding-top: 100%;
}

#illustlog .illust > a > img{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	object-fit: cover;
}

/* ↓オフライン */
.booklist{
	display: flex;
	flex-wrap: wrap;
	gap: 2em;
}

.book{
	padding: 1.3em;
	width: calc(50% - 2em / 2);
	border: solid 1px var(--color-accent);
}

.book .gaiyou{
	display: flex;
	align-items: flex-start;
	gap: 1.5em;
}

.book .gaiyou img.hyoushi{
	width: 40%;
	height: auto;
	vertical-align: bottom;
}

.book h4{
	font-weight: 600;
}

.book p.product{
	margin: 0.3em 0;
	font-size: 0.8em;
	letter-spacing: 0.1em;
	font-family: var(--font-alphanumeric);
	font-weight: 600;
	color: var(--color-main);
}

.book p.outline{
	font-size: 0.95em;
	line-height: 1.5;
}

.order{
	display: flex;
	align-content: space-between;
	gap: 1em;
	margin-top: 1em;
	width: 100%;
}

.book .order a{
	display: block;
	width: 100%;
	color: var(--color-light);
	background-color: var(--color-accent);
	line-height: 2.4;
	text-align: center;
	font-weight: bold;
}

.book .order a.soldout{
	pointer-events: none;
	background-color: #ECECEC;
	color: #aaa;
}


/* ↓折り畳み */
summary{
	position: relative;
	display: block;
	margin: 2em auto 0;
	padding: 0 3em;
	width: fit-content;
	height: 2.4em;
	line-height: 2.4em;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	color: var(--color-accent);
	border: solid 1px var(--color-accent);
	border-radius: 2.4em;
	transition: 0.3s;
}

summary span{
	line-height: 2.4em;
}

summary:hover{
	color: var(--color-light);
	background-color: var(--color-accent);
	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 {
	display: none;
}

@keyframes fadeIn {
	0% {
		opacity: 0; /* 透明 */
	}
	100% {
		opacity: 1;
	}
}


/* ----- ▲ 目隠し▲----- */
input.netabare_checkbox {
  display: none;
}

label.netabare_label {
  display: inline;
  position: relative;
  background-color: #8597a3; !important;
  color: #8597a3; !important;
  cursor: pointer;
  transition: 0.3s;
}

label.netabare_label:hover:before {
  opacity: 1;
}

input.netabare_checkbox:checked + label.netabare_label {
  color: #000000 !important;
}

input.netabare_checkbox:checked + label.netabare_label:hover:before {
  opacity: 0;
}

input.netabare01_checkbox {
  display: none;
}

label.netabare01_label {
  display: inline;
  position: relative;
  background-color: #fff !important;
  color: #fff !important;
  cursor: pointer;
  transition: 0.3s;
}

label.netabare01_label:hover:before {
  opacity: 1;
}

input.netabare01_checkbox:checked + label.netabare01_label {
  color: #000000 !important;
}

input.netabare01_checkbox:checked + label.netabare01_label:hover:before {
  opacity: 0;
}
/* ----- ▲ 目隠し ▲ ----- */


/* ボタンのスタイル */
.btn-1 a {display: inline-block; /* インラインブロック要素にする */
	border: 1px solid var(--color-main); /* ボタンの枠線の設定（太さ、種類、色） */
	color:var(--color-main);
	padding: 7px 14px; /* 内側の余白（上・右・下・左） */
	border-radius: 99px; /* ボタンを丸みのある角に */
	position: relative; /* 疑似要素の位置基準 */
	font-size: 1.0rem;
}

/* マウスオーバー時の変化 */
.btn-1 a:hover {
	--link-btn-color: var(--color-main); /* ホバー時のボタン色 */
	background-color: var(--link-btn-color); /* 背景色を変更 */
	border-color: var(--link-btn-color); /* 枠線色を変更 */
	color: #fff; /* 文字色を白に */
}

.btn-2 a {display: inline-block; /* インラインブロック要素にする */
	border: 1px solid var(--color-accent); /* ボタンの枠線の設定（太さ、種類、色） */
	color:var(--color-accent);
	padding: 7px 14px; /* 内側の余白（上・右・下・左） */
	border-radius: 99px; /* ボタンを丸みのある角に */
	position: relative; /* 疑似要素の位置基準 */
	font-size: 1.0rem;
}

/* マウスオーバー時の変化 */
.btn-2 a:hover {
	--link-btn-color: var(--color-accent); /* ホバー時のボタン色 */
	background-color: var(--link-btn-color); /* 背景色を変更 */
	border-color: var(--link-btn-color); /* 枠線色を変更 */
	color: #fff; /* 文字色を白に */
}

button {
  cursor: pointer;
}


.box h4{
	font-size: 1.3em;
	line-height: 2.5em;
	letter-spacing: 0.5rem;
	font-weight: 600;
	border-bottom: solid 1px var(--color-text);
	text-align: center;
	margin-bottom: 0.1rem;
}


/*ページ最上部メニューボタン*/
ul.beta{
	display: table;
	margin: 0 auto;/*中央揃え*/
	padding: 0;
	width: fit-content;
	text-align: center;
	font-size: 1.1em;
	line-height: 0em;
}

ul.beta li{
	display: table-cell;
	min-width: 50px;
}

ul.beta li a{
	display: block;
	width: 100%;
	padding: 0rem 6rem;
	text-decoration: none;
	color: var(--color-accent);
	font-weight: 600;
}


/*画像サイズ*/
img{ 
	width: 35%;
  	margin: 0% 65% 0% 0%;
  	/*今回はpaddingはゼロに*/
  	padding: 0;
	margin-bottom: 0.5rem;
}


/*縦書き*/
#honbun{
    font-size: 1.2em;
    line-height: 1.8em;
    height: 40em;
    overflow: auto;
    margin: 30px 2%;
    width: 86%;
    padding: 30px 0;
    padding-bottom: 0.1rem
    float: left;
    writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /writing-mode: tb-rl;
    _writing-mode: tb-rl;
    -ms-writing-mode: tb-rl; /* IE用      */
    -moz-writing-mode: vertical-rl;/* firefox用 */
    -webkit-writing-mode: vertical-rl;/* chrome用  */
    -o-writing-mode: vertical-rl; /* opera用   */
    overflow: auto;
}


/*ダッシュ(――)の表記*/
.letter-dash {
  padding: 0;
  display: inline-block;
  color: transparent;
  background-image: linear-gradient($fontcolor, $fontcolor); //文字色と同じ色で
  background-position: center center;
  background-size: 87.5% 1px; //後述
  background-repeat: no-repeat;
  text-decoration: none;
}


/*縦中横*/
.tcy{
    text-combine: horizontal;
    -webkit-text-combine: horizontal;
    -epub-text-combine: horizontal;
    line-height: 1;
    letter-spacing: 1;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    -o-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}


.dt{
	margin: 10em 10em;
}


/*mainページジャンル別ボタン*/
ul.ganma{
	display: table;
	padding-bottom: 0.1rem;
}

