/*
Theme Name: BlankSlate-child
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2025
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2025
BlankSlate is distributed under the terms of the GNU GPL
*/


* {
	box-sizing: border-box;
}

input:-webkit-autofill {
	box-shadow: 0 0 0 100px #1c1c1c inset !important;
	-webkit-text-fill-color: #eee !important;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	background: #000;
	z-index: 99999;
	opacity: 1;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* JSで body に .ready クラスを付けたら解除 */
body.ready::before {
	opacity: 0;
}

#age-gate {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(0.5em);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.age-gate-box {
	width: 90%;
	max-width: 512px;
	background: #eee;
	text-align: center;
	padding: 2em 2.5em;
	border-radius: 0.5em;
	box-shadow: 0 0 1em rgba(0, 0, 0, 0.4);
	font-family: sans-serif;
}

.age-gate-box p,
.age-gate-box .remember span {
	color: #111;
}

.age-gate-box #age-gate-title {
	font-weight: bold;
	color: #222;
	margin-top: 0;
	font-size: 1.6em;
}

.buttons button {
	margin: 0.6em;
	padding: 0.5em 1.5em;
	font-size: 1em;
	border: none;
	border-radius: 0.3em;
	background: #222;
	color: #eee;
	cursor: pointer;
}

.buttons button:hover {
	background: #555;
}

.remember {
	display: block;
	margin-top: 0.8em;
	font-size: 0.9em;
}

html,
body {
	margin: 0;
	padding: 0;
	background: #111;
	color: #eee;
}

#branding {
	width: 100%;
	height: 450px;
	margin-top: 3.5em;
	display: flex;
	justify-content: center;
	align-items: center;
}

#branding-child {
	width: 100%;
	max-width: 1024px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
}

#site-title-parent {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: end;
}

h1 {
	font-size: 3em;
	margin: 0 0 0 12px;
	text-decoration: none;
	text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

h1 a {
	color: #eee;
	text-decoration: none;
}

h1 a::after {
	text-decoration: none;
}

#site-description {
	margin: 0 0 0 24px;
	text-shadow: 1px 1px 2.5px rgba(0, 0, 0, 0.5);
}

#latest-release {
	display: flex;
	flex-direction: column;
	justify-content: end;
	width: 100%;
	height: 100%;
	text-align: right;
	margin: 0;
}

#latest-release h2 {
	font-size: 1.25em;
	padding: 0 15px 0 15px;
	margin: 0;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.9);
}

#latest-links {
	margin: 0;
	height: 3.5em;
	justify-content: center;
	align-items: center;
}

#latest-links a {
	margin: 0;
	text-decoration: none;
	font-weight: bold;
	padding: 15px;
	text-decoration: none;
	display: inline-block;
	position: relative;
	font-size: 1.125em;
	color: #111;
	text-shadow: -2px -2px 3px rgba(255, 255, 255, 1.0), 2px 2px 3px rgba(255, 255, 255, 1.0);
}

#latest-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #88bcff;
	margin-bottom: 0px;
}

#latest-links a:hover::after {
	width: 100%;
	/* ホバー時に下線が広がる */
}

#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3.5em;
	z-index: 1000;
	background-color: #111;
	border-bottom: 1px solid #313131;
}

#container {
	margin-top: 3.5em;
}

#branding {
	margin-bottom: -3.5em;
}

.single #header {
	position: static;
}

#menu {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

#menu ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
	/* メニューリンクを中央に配置 */
}

#menu li {
	position: relative;
	padding: 15px;
}

#menu a {
	color: #eee;
	text-decoration: none;
	display: inline-block;
	position: relative;
}

#menu a:hover {
	color: #eee;
}

#menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #88bcff;
	margin-bottom: -18px;
	/* 下線の色 */
}

#menu a:hover::after {
	width: 100%;
	/* ホバー時に下線が広がる */
}

#searchparent input[type="text"]::placeholder {
	background: #1c1c1c;
}

#searchparent {
	display: inline-block;
	position: relative;
}

#searchparent::before {
	content: "";
	/* 疑似要素に必須 */
	width: 24px;
	height: 24px;
	background: url(./icons/search_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png) no-repeat center center / auto 100%;
	display: inline-block;
	position: absolute;
	top: 4px;
	left: 10px;
}

#searchparent input {
	padding: 3px 0 3px 2em;
	/* アイコンを設置するため左の余白を多めに指定*/
}

#searchparent input[type="text"] {
	width: 200px;
	height: 2em;
	border: none;
	box-shadow: none;
	border-radius: 5px;
	background-color: #1c1c1c;
	color: #eee
}

/* -- スマホ用設定 --*/
#header-sp {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3.5em;
	z-index: 1000;
	background-color: #111;
	border-bottom: 1px solid #313131;
}

.single #header-sp {
	position: static;
}

#header-sp #menu-icon {
	font-weight: bold;
	width: 100%;
}

/* メニューのトグル */
#header-sp #menu-toggle {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
}

/* メニュー本体 */
#header-sp ul {
	background: #1c1c1c;
	display: none;
	position: absolute;
	margin-top: 3.5em;
	padding: 12px;
	top: 0%;
	left: 0%;
	list-style: square;
	list-style-position: inside;
	z-index: 9999;
}

/* メニューが開いた状態 */
#header-sp ul.open {
	display: block;
}

#header-sp li {
	padding: 12px;
}

#header-sp li a {
	color: #eee;
	text-underline-offset: 0.25em;
}

#header-sp li a:hover {
	background-color: #555;
}

#search-sp,
#search-sp #search {
	width: 100%;
	height: 3.5em;
}

#search-sp #searchparent {
	width: 100%;
	height: 3.5em;
	display: flex;
	justify-content: end;
	align-items: center;
}

#search-sp #searchparent::before {
	content: "";
	/* 疑似要素に必須 */
	width: 26px;
	height: 24px;
	background: url(./icons/search_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png) no-repeat center center / auto 100%;
	display: inline-block;
	position: relative;
	top: 0px;
	left: 26px;
}

#search-sp #searchparent input {
	padding: 3px 0 3px 2em;
}

#search-sp #searchparent input[type="text"] {
	width: 100%;
	height: 2em;
	border: none;
	box-shadow: none;
	border-radius: 5px;
	background-color: #1c1c1c;
	color: #eee
}

/* -----------------------------entry----------------------------- */
#article-wrapper {
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	justify-content: center;
}

#article-wrapper-child {
	background: #1c1c1c;
	width: 100%;
	max-width: 1024px;
	padding: 12px 12px 0 12px;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
}

header {
	display: flex;
}

.first-post .post-thumbnail {
	width: 50%;
	max-width: 376px;
}

.first-post .post-thumbnail img {
	border-radius: 12px;
	width: 100%;
	height: auto;
}

.post-thumbnail {
	width: 30%;
}

.post-thumbnail img {
	border-radius: 12px;
	width: 100%;
	height: auto;
}

#entry-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

h2.entry-title {
	margin: 0;
	padding: 12px 12px 0 24px;
	font-size: 1.25em;
	color: #eee;
}

h2.entry-title a {
	text-decoration: none;
	color: #eee;
}

div[itemprop="description"] {
	color: #eee;
}

div[itemprop="description"] a {
	color: #eee;
	text-decoration: none;
}

.entry-meta {
	padding: 12px 12px 0 24px;
	text-align: right;
}

.tags {
	display: inline-block;
	padding: 0 12px 0 0;
	font-size: 0.8em;
	color: #aaa;
}

.tags a {
	font-size: 1em;
	color: #aaa;
}

.entry-date {
	color: #808080;
	font-size: 0.8em;
}

.entry-summary {
	width: 100%;
	min-height: 1em;
	padding: 0 12px 0 24px;
}

#footer-comment-num {
	justify-content: start;
	display: flex;
	text-align: left;
	padding: 0 12px 0 24px;
	font-size: 0.8em;
}

#footer-comment-num a {
	color: #aaa;
}

/* 評価テキスト（kksr-legend）の位置調整 */

.kk-star-ratings,
.kksr-stars,
.kksr-stars-inactive,
.kksr-stars-active,
.kksr-star,
.kksr-icon,
.kksr-legend {
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 1em !important;
	color: #aaa !important;
}

/* -------------------- footer -------------*/
#footer {
	display: flex;
	width: 100%;
	height: 5.25em;
	justify-content: center;
	text-align: center;
	align-items: center;
	background-color: #111;
	border-top: 1px solid #313131;
	color: eee;
	font-size: 1.5em;
	text-shadow: -1px -1px 3px rgba(255, 255, 255, 0.75), 1px 1px 3px rgba(255, 255, 255, 0.75);
}

/* --------------------　nav  --------------------*/
.navi-wrapper {
	display: flex;
	justify-content: center;
}

.navigation.posts-navigation {
	width: 100%;
	background: #1c1c1c;
	max-width: 1024px;
	height: 5.25em;
	padding: 12px;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
}

.navigation.post-navigation {
	width: 100%;
	height: 5.25em;
	border-bottom: 1px solid #313131;
}

.nav-links {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	width: 100%;
	height: 100%;
}

.nav-previous {
	margin-left: auto;
}

.nav-next {
	margin-right: auto;
}

.navigation.posts-navigation a,
.navigation.post-navigation a {
	text-decoration: none;
	color: #88bcff;
}

.navigation.posts-navigation a,
.navigation.post-navigation a {
	color: #88bcff;
	text-decoration: none;
	display: inline-block;
	position: relative;
}

.navigation.posts-navigation a:hover,
.navigation.post-navigation a:hover {
	color: #88bcff;
}

.navigation.posts-navigation a::after,
.navigation.post-navigation a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #88bcff;
	margin-bottom: -31px;
}

.navigation.posts-navigation a:hover::after,
.navigation.post-navigation a:hover::after {
	width: 100%;
}

/* ---------entryスマホ --------*/
#entry-container-sp {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#starratings-sp {
	padding-left: 12px;
}

#entry-container-sp .kksr-legend {
	font-size: 0.8em !important;
	color: #aaa !important;
}

/*
#entry-container-sp .kksr-icon{
	width:10px !important;
	height:10px !important;
}*/
#entry-container-sp h2.entry-title {
	margin: 0;
	padding: 0 12px 0 12px;
	font-size: 1em;
	color: #eee;
}

#entry-container-sp #date-com {
	display: flex;
	justify-content: end;
}

#entry-container-sp .entry-date {
	text-align: right;
	color: #808080;
	font-size: 0.8em;
}

#entry-container-sp #comment-num {
	text-align: right;
	color: #808080;
	font-size: 0.8em;
	padding: 0 12px 0 12px;
}

#entry-container-sp #comment-num a {
	text-align: right;
	color: #808080;
}

#entry-footer-sp {
	font-size: 0.8em;
	color: #808080;
}

#entry-footer-sp a {
	color: #808080;
}

/* --------------------　Singleページ  --------------------*/
.single #container {
	margin-top: 0;
}

.single #container {
	background: #111;
	width: 100%;
}

.single #content {
	all: unset;
	width: 100%;
}

#single-wrapper {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#area-wrapper {
	width: auto;
	margin: 0 auto;
	background: #1c1c1c;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
}

#top-area {
	width: 100%;
	cursor: auto;
}

#top-area.cursor-left {
	cursor: url('/wp-content/themes/blankslate-child/icons/keyboard_arrow_left_48dp_EEE.png'), auto;
}

#top-area.cursor-right {
	cursor: url('/wp-content/themes/blankslate-child/icons/keyboard_arrow_right_48dp_EEE.png'), auto;
}

#split-screen img,
#full-screen img,
#control-description,
#top-area img {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;

}

#top-area img {
	pointer-events: none;
}

#control-panel {
	width: 100%;
	display: flex;
	font-size: 0.9em;
	color: #808080;
	flex-wrap: nowrap;
	gap: 12px;
	padding: 6px 0 6px 0;
}

#split-screen img,
#full-screen img {
	cursor: pointer;
	width: 2.5em;
	height: 2.5em;
}

#split-screen,
#full-screen {
	border: none;
	padding: 0;
	background: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

#control-description {
	display: flex;
	align-items: center;
	cursor: pointer;
	text-decoration: underline;
	padding-left: 24px;
	background: url('/wp-content/themes/blankslate-child/icons/info_48dp_EEE.png') no-repeat left center;
	background-size: 20px;
}

.single h1 {
	padding: 12px 0 12px 0 !important;
}

/* --- UI 全体は最大1024pxで中央揃え --- */
#control-panel,
#category-tag,
#bottom-area,
#starrate {
	width: 100%;
	max-width: 1024px;
	margin: 0 auto;
}

#modal-splitdes,
#modal-fulldes {
	display: flex;
	height: 48px;
	padding-left: 60px;
	background-size: 20px;
	text-align: left;
	align-items: center;
}

#modal-splitdes {
	background: url('/wp-content/themes/blankslate-child/icons/splitscreen_landscape_48dp_EEE.png') no-repeat left center;
}

#modal-fulldes {
	background: url('/wp-content/themes/blankslate-child/icons/fullscreen_48dp_EEE.png') no-repeat left center;
}

#control-pages {
	margin-left: auto;
	text-align: right;
}

#starrate {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
}

.single .kksr-legend {
	margin: 0;
	padding: 0;
}

.single h1 {
	font-size: 1.5em;
	padding: 6px 12px 0 12px;
}

#category-tag {
	width: 100%;
	padding: 0 0 12px 0;
}

#category-tag span {
	font-size: 0.9em;
	color: #aaa;
}

.cat-links {
	margin-right: 12px;
	color: #aaa;
}

#category-tag a {
	color: #aaa;
}

.single .entry-date {
	display: inline-block;
	width: 100%;
	text-align: right;
	color: #808080;
	font-size: 0.8em;
}

.single .entry-content img,
.single .main-image img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: calc(100dvh - 3.5em - 2.5em);
	/* ← 高さ制限復活 */
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* 縦長画面 */
@media (orientation: portrait) {

	.single .entry-content img,
	.single .main-image img {
		width: 100%;
		height: auto;
	}
}

/* 横長画面整 */
@media (orientation: landscape) {

	.single .entry-content img,
	.single .main-image img {
		max-width: 100%;
		object-fit: contain;
		height: calc(100dvh - 3.5em - 1.6em);
		/*ブラウザ表示高さ-header高さ*/
	}
}

.main-text img {
	max-width: 100% !important;
	/* 親幅に収まる */
	height: auto !important;
	/* 縦横比を維持 */
	width: auto !important;
	/* 固定サイズを無効化 */
	display: block;
	margin: 1.2em auto;
	/* 自然な中央寄せ */
}

.main-image-one img {
	width: 100%;
}

.entry-content {
	display: flex;
	flex-wrap: nowrap;
	overflow: hidden;
	position: relative;
	justify-content: center;
}

.entry-content img {
	flex-shrink: 0;
	width: 100%;
	height: auto;
	object-fit: contain;
}

.main-text {
	padding: 0 0 24px 0;
}

.main-text a {
	color: #88bcff;
}

/* 非表示の画像コンテンツ */
.hidden-content {
	display: none;
}

#description-single {
	font-size: 0.8em;
	font-weight: normal;
}

#bottom-area {
	width: 100%;
	max-width: 1024px;
	padding: 6px 12px 12px 12px;
	background: #1c1c1c;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
}

/* ---------- 1P / 2P 表示制御 ---------- */

/* 2ページ時：幅を半分にする */
#top-area.two-page .page {
	flex: 0 0 50%;
}

#top-area.two-page .page.is-right img {
	margin-left: 0;
	margin-right: auto;
}

#top-area.two-page .page.is-left img {
	margin-left: auto;
	margin-right: 0;
}

#top-area.two-page .page.is-right:last-of-type {
	margin-left: auto;
}

/* ---------- フルスクリーン制御 ---------- */
:fullscreen #header,
:fullscreen #header-sp {
	display: none;
}

:fullscreen .single .entry-content img,
:fullscreen .single .main-image img {
	max-height: none;
	height: 100dvh;
}

/* 🔹 モーダルCSS */
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 9999;
	justify-content: center;
	align-items: center;
}

.modal-content {
	background: #1c1c1c;
	color: #eee;
	padding: 24px 36px;
	border-radius: 12px;
	max-width: 320px;
	text-align: center;
}

.modal.show {
	display: flex;
}



/* ---------- コメント欄 ---------- */
#commentform {
	display: flex;
	flex-direction: column;
	margin: 0;
	border-top: 1px solid #313131;
}

.comment-reply-title {
	margin: 0;
	padding: 0;
}

#sns-login {
	width: 100%;
	display: flex;
	align-items: center;
	margin: 4px 0 4px 0;
}

#sns-des {
	font-size: 0.8em;
	align-items: center;
}

/* ログイン後 */
.logged-in-as {
	font-size: 0.8em;
	margin: 0;
	padding: 0;
}

.logged-in-as a {
	color: #eee;
}

.logged-in-as a[href*="profile.php"] {
	display: none !important;
}

.required-field-message {
	display: none !important;
}

.emoji-button {
	display: inline-block;
}

.emoji-button img {
	cursor: pointer;
	display: flex;
	align-items: center;
	width: 2em;
	height: 2em;
}

.form-submit {
	width: 100%;
	display: flex;
	padding: 0;

}

#submit {
	display: inline-block;
	margin-left: auto;
	margin-right: calc(2em + 12px);
	background: #1c1c1c;
	color: #eee;
	border: 1px solid #313131;
	border-radius: 20px;
	padding: 6px 14px;
	cursor: pointer;
}

/* コメント入力欄 */
.textarea-row textarea {
	width: 100%;
	margin: 12px 0 0 0;
	padding: 12px;
	border: 1px solid #313131;
	border-radius: 6px;
	background: transparent;
	color: #eee;
	resize: vertical;
}

/* 名前と保存チェックボックスを横並びに */
.name-row {
	display: flex;
	width: 100%;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
}

.name-row input[type="text"] {
	width: 100%;
	padding: 8px;
	background: transparent;
	border: 1px solid #313131;
	color: #eee;
	border-radius: 6px;
}

.save-checkbox {
	display: flex;
	align-items: center;
	gap: 6px;
}

.save-checkbox input {
	margin: 0;
}

.save-checkbox label {
	margin: 0;
	white-space: nowrap;
	font-size: 0.8em;
	color: #eee;
}


/* 送信ボタン */
.form-submit {
	margin: 0;
}

.btn-comment {
	background: #1c1c1c;
	color: #eee;
	border: 1px solid #313131;
	border-radius: 20px;
	padding: 6px 14px;
	cursor: pointer;
}

.btn-comment:hover {
	filter: brightness(1.2);
}

/* コメントフォームの名前欄と保存チェックボックスを横並びに */
.cf-row {
	display: flex;
	align-items: center;
	gap: 10px;
}


/* コメント表示欄 */
.comments ul,
.comments li {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* コメントヘッダー（アバター＋名前＋日時）を1行に */
.etus-comment .comment-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* アバター画像 */
.etus-comment .comment-avatar img {
	border-radius: 50%;
	width: 2.5em;
	height: 2.5em;
	object-fit: cover;
}

/* 名前＋日時 */
.etus-comment .comment-meta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.etus-comment .comment-author {
	font-weight: bold;
	color: #eee;
}

.etus-comment .comment-date {
	font-size: 0.5em;
	color: #808080;
}

.etus-comment .comment-text {
	padding: 0 2.5em 1.25em 2.5em;
}

.etus-comment .comment-text p {
	margin: 0;
	color: #eee;
}

.etus-comment .comment-reply {
	width: 100%;
	text-align: right;
}

.etus-comment .comment-reply a {
	display: inline-block;
	background: transparent;
	color: #aaa;
	font-size: 0.8em;
	border-radius: 9999px;
	padding: 6px 16px;
	text-decoration: none;
}

.etus-comment .comment-reply a:hover {
	background: #333;
	color: #eee;
}

.etus-comment ul.children {
	margin-left: 2.5em;
}

.etus-comment .comment-text {
	position: relative;
}

.etus-comment .comment-text::before {
	content: "";
	position: absolute;
	top: 0;
	left: 1.25em;
	height: calc(100% - 0.5em);
	border-left: 2px solid #444;
	pointer-events: none;
}

/* 最初の子コメントのアバター左にL字線 */
.etus-comment>ul.children>li:first-child .comment-avatar {
	position: relative;
}

.etus-comment>ul.children>li:first-child .comment-avatar::before {
	content: "";
	position: absolute;
	top: -1.25em;
	left: -1.25em;
	width: 0.75em;
	height: 2.5em;
	border-left: 2px solid #444;
	border-bottom: 2px solid #444;
	border-bottom-left-radius: 10px;
	pointer-events: none;
}

.etus-comment.depth-1 .comment-reply {
	position: relative;
}

.etus-comment.depth-1 .comment-reply::before {
	content: "";
	position: absolute;
	top: -0.5em;
	left: 1.25em;
	height: 100%;
	border-left: 2px solid #444;
}

/* 返信 */
.comment-reply-title {
	margin: 24px 0 0 12px;
	font-size: 1em;
	display: block;
}

.comment-reply-title:has(#cancel-comment-reply-link[style*="display:none"]) {
	display: none;
}

.comment-reply-title small {
	margin-left: 24px;
}

.comment-reply-title a {
	width: 100%;
	color: #eee;

}

/* reCaptchaの非表示 https://cloud.google.com/recaptcha/docs/faq?utm_source=chatgpt.com&hl=ja#hiding-the-badge */
.grecaptcha-badge {
	visibility: hidden;
}

#recap {
	text-align: left;
	color: #aaa;
	font-size: 0.5em;
}

#recap a {
	color: #aaa;
}

/* 漫画まとめページ */
.category-manga #header {
	position: static !important;
}

.category-manga #header-sp {
	position: static !important;
}

.manga-filter-bar {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px;
	flex-wrap: nowrap;
	box-sizing: border-box;
}

.filter-btn {
	flex: 0 0 auto;
	background: #222;
	color: #eee;
	border: 1px solid #444;
	border-radius: 6px;
	padding: 6px 12px;
	cursor: pointer;
	white-space: nowrap;
}

.manga-filter-bar a {
	text-decoration: none;
	font-size: 1em;
}

.filter-btn.active {
	background: #555;
}

.filter-search input[type="text"]::placeholder {
	background: #1c1c1c;
}

.filter-search {
	position: relative;
	flex: 1 1 auto;
	/* 余り幅で可変 */
	max-width: 300px;
	min-width: 100px;
	box-sizing: border-box;
}

.filter-search::before {
	content: "";
	/* 疑似要素に必須 */
	width: 24px;
	height: 24px;
	background: url(./icons/search_24dp_E3E3E3_FILL0_wght400_GRAD0_opsz24.png) no-repeat center center / auto 100%;
	display: inline-block;
	position: absolute;
	top: 2px;
	left: 5px;
}

.filter-search input {
	width: 100%;
	padding: 3px 0 3px 2.5em;
}

.filter-search input[type="text"] {
	max-width: 200px;
	height: 2em;
	border: none;
	box-shadow: none;
	border-radius: 5px;
	background-color: #1c1c1c;
	color: #eee
}

.category-manga .page-title {
	position: absolute;
	left: -9999px;
}

.category-manga #container {
	margin: 0;
}

.manga-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, var(--manga-col-width));
	grid-gap: 12px;
	justify-content: center;
	margin: 12px 0 12px 0;
}

.manga-card {
	width: var(--manga-col-width);
	background: #1c1c1c;
	border-radius: 6px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.manga-card:hover {
	transform: scale(1.02);
	box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

/* サムネイル画像 */
.manga-card img {
	width: 100%;
	height: auto;
	object-fit: contain;
	border-radius: 4px;
	display: block;
}

/* 星評価 */
.manga-card .rating {
	width: 100%;
	height: auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
}

/* タイトル */
.manga-card .card-title {
	font-size: 1rem;
	margin-top: 12px;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	max-width: 100%;
	height: auto;
}

.card-title {
	color: #eee;
	text-decoration: none;
}

.category .kksr-legend {
	line-height: 1 !important;
	vertical-align: middle !important;
	display: inline-flex !important;
	align-items: center;
	font-size: 0.8em !important;
}

.category .kksr-stars {
	vertical-align: middle !important;
}

.category .kk-star-ratings {
	width: 100%;
	display: flex;
	justify-content: flex-start !important;
	align-items: center !important;
}

.category .rating-sp {
	width: 100%;
	font-size: 0.8em !important;

}

.category .rating-sp .kksr-legend {
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.category .navigation.posts-navigation {
	background: transparent;
	border: none;
}


/* カテゴリページ */
.category-title {
	margin: 0 auto 0 auto;
	padding-top: 12px;
	width: 100%;
	max-width: 1024px;
	background: #1c1c1c;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
}

.category-title h1 {
	font-size: 1.25em;
}

.category-title p {
	padding: 12px;
}

/* お問い合わせフォーム */
.mailform-title {
	margin-top: 12px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.mailform-title h1 {
	font-size: 1.5em;
}

/* Contact Form 7 フォーム全体 */
.wpcf7-form {
	max-width: 512px;
	color: #eee;
	padding: 0 12px 0 12px;
}

.wpcf7-form p a {
	color: #88bcff;
}

/* ラベル */
.wpcf7-form label {
	display: block;
	font-weight: bold;
}

/* 入力欄・テキストエリア */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	width: 100%;
	padding: 12px;
	background: #111;
	border: 1px solid #333;
	color: #eee;
	border-radius: 4px;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
	background: #333;
	color: #eee;
	padding: 8px 16px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.3s ease;
}

.wpcf7-form p:last-of-type {
	text-align: center;
}

.wpcf7-form input[type="submit"]:hover {
	background: #555;
}

/* 成功メッセージ */
.wpcf7-response-output {
	margin-top: 12px;
	border: 1px solid #88bcff !important;
	color: #88bcff !important;
	background: #000 !important;
}

.wpcf7-spinner {
	display: none !important;
}


/* FANZAアド */
.swiper {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	position: relative;
	cursor: grab;
}


.swiper::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 20%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to left, #111 0%, transparent 100%);
	z-index: 100;
}

.swiper-wrapper {
	padding: 6px 12px 12px 0;
	display: flex;
	align-items: flex-start;
}

.swiper-slide {
	width: auto !important;
	flex-shrink: 0;
}

.swiper-slide img {
	height: 210px !important;
	width: auto !important;
	/* ← これ */
	object-fit: contain;
}

.fanza-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	white-space: nowrap;
}

.fanza-title {
	padding: 6px 0 0 0;
	flex-shrink: 1;
	color: #aaa;
	font-size: 0.8em;
	overflow: hidden;
	text-overflow: ellipsis;
}

.fanza-credit {
	flex-shrink: 0;
	color: #aaa;
	font-size: 0.6em;
}

.fanza-credit a {
	color: #aaa;

}

.fanza-wrapper {
	margin: auto;
	width: 100%;
	height: auto;
	background: #1c1c1c;
	max-width: 1024px;
	border-left: 1px solid #313131;
	border-right: 1px solid #313131;
	display: flex;
	justify-content: center;
}

.fanza-wrapper-child {
	width: 100%;
	border-top: 1px solid #313131;
	max-width: 1000px;
}