@charset "UTF-8";
/**
 * archive-bunko.css
 * 書籍アーカイブページのスタイル
 */
.bunko-section{
  background-color: #e7f3ff;
	padding-top: 0 !important;
	margin-top: 70px;
	min-width: auto !important;
}
.bunko-section__inner{
	position: relative;
	max-width: 1500px;
  width: 100%;
	margin: auto;
}

@media (max-width: 768px) {
	.bunko-section__inner {
		width: 100%;
	}
}
.bunko-section.archive .root-path{
	padding-top: 70px;
}
/* ラッパー */
.archive-bunko-wrapper {
	
	padding: 60px 20px;
}

@media (max-width: 768px) {
	.archive-bunko-wrapper {
		padding: 40px 10px;
	}
}

.archive-bunko-container {
	max-width: 1040px;
	margin: 0 auto;
}

/* ページタイトル */
.archive-bunko-title {
	font-size: 32px;
	font-weight: 700;
	text-align: center;
	margin-bottom: 50px;
	color: #000;
  letter-spacing: 0.1em;
}

/* セクション */
.archive-bunko-section {
	margin-bottom: 80px;
  position: relative;
}
/* 区切り線 */
.archive-bunko-section:not(:last-child)::after {
  content: "";
  display: block;
	height: 1px;
	background: repeating-linear-gradient(
		90deg,
		#0a68b5,
		#0a68b5 3px,
		transparent 3px,
		transparent 6px
	);
	margin: 80px 0;
}

/* グリッドレイアウト */
.archive-bunko-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.bunko-detail-section-wrapper {
	display: flex;
  flex-wrap: wrap;
  gap: 50px;
	padding-bottom: 100px;
}

/* スマートフォン */
@media (max-width: 768px) {
	.archive-bunko-grid {
		padding: 0 60px;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.archive-bunko-card__image {
		width: 180px !important;
    height: 290px !important;
	}

	.archive-bunko-card__title {
		font-size: 2rem !important;
		margin-bottom: 30px !important;
	}
	.archive-bunko-card__subtitle {
		font-size: 1.6rem !important;
	}
	.archive-bunko-card__author {
		font-size: 2rem !important;
		margin-bottom: 8px !important;
	}

	.archive-bunko-section {
		margin-bottom: 50px;
	}

	.archive-bunko-section:not(:last-child)::after {
		margin: 50px 0;
	}
}

/* タブレット（3カラム） */
@media (max-width: 1024px) and (min-width: 769px) {
	.archive-bunko-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* カード */
.archive-bunko-card {
	background: white;
	border: 2px solid #0099cc;
	border-radius: 12px;
	overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.archive-bunko-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.archive-bunko-card__link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* 画像 */
/* .archive-bunko-card__image-wrapper {
	overflow: hidden;
	aspect-ratio: 200 / 280;
	background-color: #fff;
	flex-shrink: 0;
} */

.archive-bunko-card__image {
	width: 100px;
	height: 140px;
  margin: 35px auto 0;
	object-fit: contain;
	display: block;
}

.archive-bunko-card__image--placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #e8e8e8;
	color: #999;
	font-size: 14px;
}

/* コンテンツ */
.bunko-section__inner .root-path{
	position: absolute;
  top: 30px;
  left: 70px;
	z-index: 5;
}
.archive-bunko-card__content {
	padding: 15px 5px 30px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #0a68b5;
}

.archive-bunko-card__author {
	font-size: clamp(8px, 1.5vw, 12px);
	margin: 0 0 5px 0;
	font-weight: 600;
}

.archive-bunko-card__title {
	font-size: clamp(9px, 1.8vw, 14px);
	font-weight: 700;
	margin: 0;
	line-height: 1.4;
	flex-grow: 1;
  position: relative;
  text-align: center;
  word-break: break-word;
}
.archive-bunko-card__subtitle {
	font-size: clamp(8px, 1.5vw, 12px);
  letter-spacing: -0.07em;
	margin: 0;
	line-height: 1.3;
  text-align: center;
  display: inline;
}

.archive-bunko-card__meta {
	font-size: 11px;
	color: #999;
	margin: 0;
	margin-top: auto;
  display: none;
}

/* スマートフォン調整 */
@media (max-width: 768px) {
	.archive-bunko-card__content {
		padding: 10px 5px 25px;
	}

	.archive-bunko-card__meta {
		font-size: clamp(8px, 1.4vw, 11px);
	}

	.bunko-section__inner .root-path {
		width: 79%;
		position: absolute;
		left: 0;
		padding: 0 0 0 5%;
	}
	.bunko-section.archive .root-path {
		padding-top: 40px;
	}
}

  /**
 * single-bunko.css
 * 書籍詳細ページのスタイル
 */

/* ===================================
   グローバル
   =================================== */

.bunko-detail-wrapper {
	background-color: #e7f3ff;
}
.bunko-detail-inner{
	width: 90%;
	max-width: 1040px;
	margin: 0 auto;
	background-color: #ffffff;
	position: relative;
}
.bunko-detail-inner::before{
	content: "";
  background-image: url(/wp/wp-content/themes/snet-taiwan/assets/images/bunko/bunko-bg-text.svg);
  position: absolute;
  top: 290px;
  left: -20px;
  width: 35px;
  height: 646px;
  background-size: cover;
  z-index: 1;
}

@media (max-width: 768px) {
	.bunko-detail-wrapper {
		padding: 0;
	}
	.bunko-detail-inner {
		width: 90%;
		margin: 0 auto
	}
}
/* ===================================
   ヘロセクション（① ② ③ ④ ⑤）
   =================================== */

.bunko-detail-hero {
	margin-bottom: 60px;
	/* padding: 60px 20px; */
	position: relative;
	overflow: hidden;
}

@media (max-width: 768px) {
	.bunko-detail-hero {
		margin-bottom: 60px;
	}
}

.bunko-detail-hero__inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 230px 1fr 200px;
	align-items: flex-end;
	position: relative;
	z-index: 1;
	height: 450px;
	margin-bottom: 14px;
}

/* ① 書籍画像 */

.bunko-detail-hero__image {
	width: 100%;
	height: auto;
	display: block;
}

.bunko-detail-hero__image--placeholder {
	width: 100%;
	aspect-ratio: 200 / 280;
	background-color: #e8e8e8;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 14px;
}

/* ② ③ ④ 書籍情報 */
.bunko-detail-hero__content {
	margin-left: 30px;
	padding: 40px;
	position: relative;
}
.bunko-detail-hero__content::before,
.bunko-detail-hero__content::after {
	content: "";
	background-image: url(/wp/wp-content/themes/snet-taiwan/assets/images/bunko/nami.svg);
	position: absolute;
	width: 100%;
	height: 5px;
}
.bunko-detail-hero__content::before {
	top: 0;
	left: 0;
	transform: scaleY(-1);
}
.bunko-detail-hero__content::after {
	bottom: 0;
	left: 0;
}

.bunko-detail-hero__author {
	font-size: 14px;
	color: #0a68b5;
	font-weight: 600;
	margin: 0 0 10px 0;
	letter-spacing: 0.5px;
}

.bunko-detail-hero__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	margin: 0;
	color: #0a68b5;
	word-break: break-word;
}

.bunko-detail-hero__subtitle {
	font-size: 12px;
	font-weight: 700;
	color: #0a68b5;
	line-height: 1.5;
	margin: 5px 0 10px;
}

.bunko-detail-hero__meta {
	font-size: 13px;
	margin: 0;
}

/* ⑤ ナビゲーター情報 */
.bunko-detail-navigator{
	height: 100%;
	/* margin-bottom: 11px; */
	position: relative;
	border-right: 2px solid #a8c9e4;
	border-left: 2px solid #a8c9e4;
	background-color: #fff;
}
.bunko-detail-navigator::before{
	content: "";
	width: 200px;
	height: 100%;
	border: 2px solid #a8c9e4;
	display: block;
	position: absolute;
	top: 8px;
	left: 5px;
	z-index: -1;
}
.bunko-detail-navigator-title{
	width: 120px;
  margin: 90px auto 0;
}
.bunko-detail-navigator__inner {
	width: 100%;
	background-color: #0066cc;
	color: #ffff85;
	padding: 50px 20px;
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 0;
}
.bunko-detail-navigator__inner::before{
	content: "";
	background-image: url(/wp/wp-content/themes/snet-taiwan/assets/images/bunko/navi-bg.svg);
	position: absolute;
  top: -10px;
  left: 0;
  z-index: 12;
  width: 100%;
  height: 10px;
  background-size: cover;
}
.bunko-detail-navigator__label {
	font-size: 12px;
	letter-spacing: 1px;
	margin: 0 0 8px 0;
	opacity: 0.9;
}

.bunko-detail-navigator__name {
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	word-break: break-word;
	letter-spacing: 0.5em;
}

/* ===================================
   タブレット（992px以下）
   =================================== */

@media (max-width: 992px) {
	.bunko-detail-hero__inner {
		grid-template-columns: 200px 1fr 180px;
		gap: 15px;
		height: auto;
		min-height: 400px;
	}

	.bunko-detail-hero__content {
		margin-left: 10px;
		padding: 20px;
	}

	.bunko-detail-hero__title {
		font-size: clamp(14px, 2.5vw, 17px);
	}

	.bunko-detail-navigator__inner {
		padding: 30px 10px;
	}

	.bunko-detail-navigator__name {
		font-size: clamp(12px, 2vw, 18px);
	}
}

/* ===================================
   スマートフォン（768px以下）
   =================================== */

@media (max-width: 768px) {
	.bunko-detail-hero__inner {
		grid-template-columns: 150px 1fr 110px;
		gap: 8px;
		height: auto;
	}

	.bunko-detail-hero__content {
		margin-left: 5px;
		padding: 15px 10px;
	}

	.bunko-detail-hero__author {
		font-size: 2.3rem;
	}

	.bunko-detail-hero__title {
		font-size: 2.3rem;
	}

	.bunko-detail-hero__subtitle {
		font-size: 1.7rem;
	}

	.bunko-detail-hero__meta {
		font-size: 1.7rem;
	}
	.bunko-detail-navigator-title{
		width: 90px;
	}

	.bunko-detail-navigator {
		border-right: 1px solid #a8c9e4;
		border-left: 1px solid #a8c9e4;
	}

	.bunko-detail-navigator::before {
		width: 110px;
		height: 103%;
		top: -4px;
		left: 7px;
	}

	.bunko-detail-navigator__inner {
		padding: 20px 5px;
	}

	.bunko-detail-navigator__label {
		font-size: 1.4rem;
	}

	.bunko-detail-navigator__name {
		font-size: 1.6rem;
		letter-spacing: 0.3em;
	}
}

/* ===================================
   セクション（⑥ ⑦）
   =================================== */

.bunko-detail-section__inner {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
}

.bunko-detail-section__title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #0066cc;
	position: relative;
	display: inline-block;
}

.bunko-detail-section__content {
	font-size: 14px;
	line-height: 2;
	color: #000;
	margin: 0;
}

.bunko-detail-section__content p {
	margin: 0 0 15px 0;
}

.bunko-detail-section__content p:last-child {
	margin-bottom: 0;
}

/* ===================================
   スマートフォン
   =================================== */

@media (max-width: 768px) {
	.bunko-detail-section__title {
		font-size: 2.6rem;
		margin-bottom: 15px;
	}

	.bunko-detail-section__content {
		font-size: 2.2rem;
		line-height: 1.8;
	}
}

/* ===================================
   ダークモード対応（オプション）
   =================================== */



@media print, screen and (min-width: 751px) {
  body {
    min-width: auto !important;
  }
}