﻿@charset "utf-8";

/* ================================================
◆◆◆◆ リセット＆共通設定 ◆◆◆◆
================================================ */
.cp_main * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.cp_main { 
	line-height: 1;
	width: 95%;
	min-width: 300px;
	max-width: 960px;
	text-align: center;
	margin: 0 auto;
	padding-bottom: 10px;
}

@media screen and (min-width: 992px){
	.cp_main {
		width: 100%;
	}
}

.cp_main article,
.cp_main section { 
	display: block;
}

.cp_main a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
	display: block;
}

.cp_main img {
	width: 100%;
}

/* ページ全体背景 */
.bw_contentsArea {
	max-width: 1600px;
	margin: 0 auto;
	background-image: url(../img/bg.png);
	background-size: 60px;
	/* background: repeating-linear-gradient(
		45deg,
		#f1f1f1,
		#f1f1f1 9px,
		#f1f1f1 0,
		#fff 15px
	); */
}

/* 看板 */
.cp_main #kv {
	padding-bottom: 10px;
}

/* アンカーリンクのずれ防止 */
html {
	scroll-padding-top: 60px;
}


/* ================================================
◆◆◆◆ 作品詳細枠（外枠・キャッチ） ◆◆◆◆
================================================ */
.sp_detail-outline {
	margin-bottom: 15px;
	border: 2px solid;
	background: #ffffff;
}

.sp_detail-line_color {
	border-image: linear-gradient(90deg, #442612, #442612) 1;
}

.sp_detail-pop_txt {
	font-size: 14px;
	padding: 10px 0;
	font-weight: bold;
	color: #fff;
}

.sp_detail-catch_bg {
	background: linear-gradient(90deg, #442612 0%, #442612 100%);
}


/* ================================================
◆◆◆◆ 書影エリア（作品一覧） ◆◆◆◆
================================================ */
.shyoei-area {
	display: flex;
	list-style: none;
	flex-wrap: wrap;
	padding: 1.5%;
}

.sakuhin {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 33.33333%;
}

.shyoei {
	width: 100%;
	padding: 5%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.btn-2ren {
	width: 96%;
	padding-left: 3.5%;
	padding-bottom: 5%;
}

/* 無料で読むボタン */
a.btn-01 {
	font-weight: bold;
	display: block;
	padding: 6%;
	margin: 0 auto;
	border-radius: 5px;
	font-size: 13px;
	text-align: center;
	color: #ffffff;
	background: linear-gradient(90deg, #e20010 0%, #e20010 100%);
}

@media screen and (min-width: 768px){
	.shyoei-area {
		width: 100%;
		margin-right: 0%;
	}
	.sakuhin {
		width: 16.66666%;
	}
}


/* もっと見るボタン */

.btn-full{
	margin:0 auto;
	width:90%;
	text-decoration:none;
	text-align:center;
}

.btn-00{
	width:100%;
	background-image: linear-gradient(0deg, #fff710, #fff710);
	border-radius: 10px;
	border: 2px solid #442612;
	display: inline-block;
	padding: 10px;
	color: #442612;
	font-size: 13px;
	font-weight: bold;
	line-height: 2;
	box-shadow: 3px 3px 0px #d3ceb1;
	position: relative;
	padding-right: 15px;
}


/* ================================================
◆◆◆◆ ジャンルボタンエリア ◆◆◆◆
================================================ */

/* --- ジャンルボタンエリア（上段2連 / 下段1連・枠幅揃え） --- */
.sp_btn-box02 {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 8px; /* 上段と下段の間隔 */
}

/* 上段：2列並び */
.sp_btn-box02 .btn-row-2 {
	display: flex;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

.sp_btn-box02 .btn-row-2 .txst-btn01 {
	flex: 1;
	min-width: 0;
}

/* 下段：1列並び（上段の1枠と同じ幅に指定） */
.sp_btn-box02 .btn-row-1 {
	display: flex;
	justify-content: flex-start; /* 左寄せ（中央寄せにしたい場合は center に変更） */
	width: 100%;
}

.sp_btn-box02 .btn-row-1 .txst-btn01 {
	width: calc(50% - 4px); /* 上段の1枠分と同じ50%幅指定 */
}

/* ボタンカード共通 */
.sp_btn-box02 .txst-btn01 {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding: 8px 10px;
	border-radius: 6px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	transition: all 0.2s ease;
	position: relative;
}

/* 書影ラップ */
.sp_btn-box02 .btn-img-wrap {
	position: relative;
	width: 32%;
	flex-shrink: 0;
}

/* 書影画像 */
.sp_btn-box02 .btn-img {
	display: block;
	line-height: 0;
}

.sp_btn-box02 .btn-img img {
	width: 100% !important;
	height: auto;
	box-shadow: 0 2px 4px rgba(0,0,0,0.15);
	border-radius: 0px;
}

/* 50%OFFバッジ */
.sp_btn-box02 .discount-badge {
	position: absolute;
	top: -4px;
	left: -4px;
	z-index: 2;
	background: #e7003c !important;
	color: #fff;
	font-weight: bold;
	font-size: 9px;
	padding: 2px 4px;
	border-radius: 3px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
	white-space: nowrap;
	line-height: 1;
}

/* 右側：情報エリア */
.sp_btn-box02 .btn-info {
	flex: 1;
	min-width: 0;
	padding-left: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center; /* 左寄せ(flex-start)から中央寄せ(center)に変更 */
	background: transparent !important;
}

/* ジャンル名テキスト */
.sp_btn-box02 .genre-tag {
	width: 100%; /* 横幅いっぱいに広げて中央寄せを適用 */
	text-align: center; /* 中央寄せを追加 */
	font-weight: bold;
	font-size: 14px;
	line-height: 1.2;
	margin-bottom: 6px;
	white-space: nowrap;
	background: transparent !important;
	letter-spacing: -0.02em;
}

/* ボタン風デザイン：「詳しく見る ＞」 */
.sp_btn-box02 .btn-link-text {
	display: block;
	width: 100%;
	font-size: 10px;
	font-weight: 800;
	text-align: center;
	color: #fff !important;
	padding: 6px 0;
	border-radius: 3px;
	white-space: nowrap;
	transition: background 0.2s ease, box-shadow 0.2s ease;
	background: transparent !important;
}

/* --- テーマカラー打ち分け --- */
.sp_btn-box02 .btn-mens {
	background: #ffffff;
	border: 1.5px solid #8ab9ff;
}
.sp_btn-box02 .btn-mens .genre-tag { color: #0349e3; }
.sp_btn-box02 .btn-mens .btn-link-text {
	background-color: #2563eb !important;
	box-shadow: 1px 2px 0px #012c9e;
}

.sp_btn-box02 .btn-womens {
	background: #ffffff;
	border: 1.5px solid #ff7eb4;
}
.sp_btn-box02 .btn-womens .genre-tag { color: #e11d48; }
.sp_btn-box02 .btn-womens .btn-link-text {
	background-color: #e11d48 !important;
	box-shadow: 1px 2px 0px #990022;
}

.sp_btn-box02 .btn-ranobe {
	background: #ffffff;
	border: 1.5px solid #ff9b53;
}
.sp_btn-box02 .btn-ranobe .genre-tag { color: #f97316; }
.sp_btn-box02 .btn-ranobe .btn-link-text {
	background-color: #f97316 !important;
	box-shadow: 1px 2px 0px #ab4000;
}

/* --- レスポンシブ調整 --- */
@media screen and (min-width: 576px) {
	.sp_btn-box02 { gap: 10px; }
	.sp_btn-box02 .btn-row-2 { gap: 10px; }
	.sp_btn-box02 .btn-row-1 .txst-btn01 { width: calc(50% - 5px); }
	.sp_btn-box02 .txst-btn01 { padding: 10px 12px; }
	.sp_btn-box02 .genre-tag { font-size: 13.5px; margin-bottom: 8px; }
	.sp_btn-box02 .btn-link-text { font-size: 11.5px; padding: 8px 0; }
}

@media screen and (min-width: 768px) {
	.sp_btn-box02 { gap: 12px; }
	.sp_btn-box02 .btn-row-2 { gap: 12px; }
	.sp_btn-box02 .btn-row-1 .txst-btn01 { width: calc(50% - 6px); }
	.sp_btn-box02 .txst-btn01 { padding: 12px 16px; border-radius: 8px; }
	.sp_btn-box02 .genre-tag { font-size: 15px; margin-bottom: 10px; }
	.sp_btn-box02 .btn-link-text { font-size: 13px; padding: 10px 0; }
}


/* --- 3連ジャンルボタン（ラノベ・小説・実用） --- */
.sp_btn-box03 {
	width: 100%;
	font-size: 15px;
	clear: both;
	display: table;
}

.sp_btn-box03 a {
	display: table-cell;
	width: 33%;
	padding: 0 4px;
}

.txst-btn03 {
	width: 100%;
	margin: 0 auto;
	background: linear-gradient(0deg, #106aff 0%, #ff247d 100%);
	color: #fff;
	border-radius: 8px;
	border: 1px solid #fff;
	text-decoration: none;
	text-align: center;
	display: block;
	padding: 7%;
	font-size: 13px;
	font-weight: bold;
	box-shadow: 2px 3px 0px #000;
	transition: all 0.2s ease;
}

.sp_btn-box03 a:hover .txst-btn03 {
	transform: translateY(-3px);
	box-shadow: 3px 3px 0px #674029;
	background: linear-gradient(0deg, #106aff 0%, #ff247d 100%);
}

/* 矢印アイコン */
.arrow_u {
	position: relative;
	display: inline-block;
	padding-right: 15px;
}

.arrow_u:before {
	content: '';
	width: 8px;
	height: 8px;
	border: 0;
	border-top: solid 2px #442612;
	border-right: solid 2px #442612;
	transform: rotate(45deg);
	position: absolute;
	top: 0;
	right: 8px;
	bottom: 0;
	margin: auto;
}

/* --- ハーフバナー用レイアウト（上段2連・下段1連左寄せ） --- */
.banner-box02 a {
	display: block;
	width: 100%;
}

.banner-box02 a img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px; /* 角丸をつける場合は設定（不要なら削除） */
}

.banner-box02 .btn-row-1 a {
	width: calc(50% - 4px); /* 上段の1枠分と同じ50%幅指定 */
}

@media screen and (min-width: 576px) {
	.banner-box02 .btn-row-1 a { width: calc(50% - 5px); }
}

@media screen and (min-width: 768px) {
	.banner-box02 .btn-row-1 a { width: calc(50% - 6px); }
}

/* ================================================
◆◆◆◆ 共通パーツ ◆◆◆◆
================================================ */
/* 上に戻るボタン */
.pagetop {
	color: #fff;
	background-color: rgba(0,0,0,0.3);
	text-decoration: none;
	display: none;
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	font-size: 1.5rem;
	width: 5rem;
	height: 5rem;
	line-height: 5rem;
	border-radius: 5rem;
	text-align: center;
	cursor: pointer;
}
