@charset "utf-8";
/* =========================================================
 * ロボプラボ デザイン「メカニカル・ダーク」
 * ========================================================= */

:root {
	--rp-bg: #0A0D12;
	--rp-bg-deep: #070A0E;
	--rp-surface: #121821;
	--rp-surface-2: #18202B;
	--rp-line: #243041;
	--rp-line-soft: #1B2430;
	--rp-text: #E9EEF5;
	--rp-text-2: #C3CCD8;
	--rp-muted: #9BA8B8;
	--rp-accent: #2FD3FF;
	--rp-amber: #FFB020;
	--rp-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	--rp-font-display: "Oxanium", var(--rp-font);
	--rp-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--rp-max: 1200px;
}

/* ---------------------------------------------------------
 * リセット（以前の reset.css の必要な部分だけ）
 * --------------------------------------------------------- */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
address, caption, cite, code, dfn, em, strong, th, var { font-style: normal; }
caption, th { text-align: left; }
img, fieldset { border: 0; }
table { border-collapse: collapse; }

/* ---------------------------------------------------------
 * ベース
 * --------------------------------------------------------- */
html { overflow-y: auto; height: auto; }
html > body,
body {
	margin: 0;
	background: var(--rp-bg);
	color: var(--rp-text);
	font-family: var(--rp-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
a { color: var(--rp-text); text-decoration: none; }
a:active { text-decoration: none; }
a:hover { color: var(--rp-accent); text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--rp-accent); outline-offset: 2px; }

.screen-reader-text,
.rp-sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.rp-container {
	max-width: var(--rp-max);
	margin: 0 auto;
	padding: 0 24px;
}

/* 方眼の背景 */
.rp-grid-bg {
	background-image:
		linear-gradient(rgba(47, 211, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(47, 211, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
}

/* 写真の角のL字枠 */
.rp-frame { position: relative; display: block; }
.rp-frame::before,
.rp-frame::after {
	content: "";
	position: absolute;
	width: 22px; height: 22px;
	pointer-events: none;
	z-index: 1;
}
.rp-frame::before { top: -6px; left: -6px; border-top: 2px solid var(--rp-accent); border-left: 2px solid var(--rp-accent); }
.rp-frame::after { bottom: -6px; right: -6px; border-bottom: 2px solid var(--rp-accent); border-right: 2px solid var(--rp-accent); }
.rp-frame img { display: block; width: 100%; border: 1px solid var(--rp-line); }

.rp-mono { font-family: var(--rp-font-mono); }

/* ---------------------------------------------------------
 * ヘッダー
 * --------------------------------------------------------- */
.rp-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 13, 18, 0.92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--rp-line);
}
.admin-bar .rp-header { top: 32px; }
.rp-header__inner {
	max-width: var(--rp-max);
	margin: 0 auto;
	padding: 12px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.rp-logo { display: flex; align-items: center; margin: 0; }
.rp-logo img { height: 44px; width: auto; display: block; }

.rp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.rp-nav li { list-style: none; }
.rp-nav a {
	display: block;
	padding: 10px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--rp-text);
	border-bottom: 2px solid transparent;
}
.rp-nav a:hover { color: var(--rp-accent); }
.rp-nav a.is-current { color: var(--rp-accent); border-bottom-color: var(--rp-accent); }

.rp-menu-btn {
	display: none;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	background: transparent;
	border: 1px solid var(--rp-line);
	color: var(--rp-text);
	cursor: pointer;
}

/* スマホ：カテゴリの横スクロールバー */
.rp-catbar {
	display: none;
	gap: 8px;
	overflow-x: auto;
	padding: 10px 16px;
	border-bottom: 1px solid var(--rp-line);
	white-space: nowrap;
	scrollbar-width: none;
	background: var(--rp-bg);
}
.rp-catbar::-webkit-scrollbar { display: none; }
.rp-catbar a {
	flex-shrink: 0;
	font-size: 13px;
	padding: 8px 14px;
	border: 1px solid var(--rp-line);
	color: var(--rp-text-2);
}
.rp-catbar a.is-current { background: var(--rp-accent); border-color: var(--rp-accent); color: var(--rp-bg); font-weight: 700; }

@media screen and (max-width: 900px) {
	.rp-header__inner { padding: 8px 16px; }
	.rp-logo img { height: 34px; }
	.rp-menu-btn { display: inline-flex; }
	.rp-nav {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--rp-bg);
		border-bottom: 1px solid var(--rp-line);
	}
	.rp-nav.is-open { display: block; }
	.rp-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
	.rp-nav a { padding: 14px 4px; border-bottom: 1px solid var(--rp-line-soft); font-size: 15px; }
	.rp-nav a.is-current { border-bottom-color: var(--rp-line-soft); }
	.rp-catbar { display: flex; }
}
@media screen and (max-width: 782px) {
	.admin-bar .rp-header { top: 46px; }
}

/* ---------------------------------------------------------
 * パンくず
 * --------------------------------------------------------- */
.rp-breadcrumbs {
	padding-top: 20px;
	font-family: var(--rp-font-mono);
	font-size: 12px;
	color: var(--rp-muted);
	line-height: 1.6;
}
.rp-breadcrumbs a,
.rp-breadcrumbs a:link { color: var(--rp-muted); }
.rp-breadcrumbs a:hover { color: var(--rp-accent); }
.rp-breadcrumbs span { display: inline; padding: 0 2px; }

/* ---------------------------------------------------------
 * レイアウト（メイン＋サイドバー）
 * --------------------------------------------------------- */
.rp-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
	padding-top: 28px;
}
.rp-main { flex: 999 1 560px; min-width: 0; }
.rp-aside { flex: 1 1 280px; min-width: 0; max-width: 100%; }
.rp-top-main { padding-top: 56px; display: flex; flex-direction: column; gap: 72px; }

@media screen and (max-width: 600px) {
	.rp-container { padding: 0 16px; }
	.rp-layout { gap: 40px; padding-top: 20px; }
	.rp-top-main { padding-top: 32px; gap: 48px; }
}

/* ---------------------------------------------------------
 * セクション見出し
 * --------------------------------------------------------- */
.rp-sec { display: flex; flex-direction: column; gap: 22px; }
.rp-sec + .rp-sec { margin-top: 56px; }
.rp-sec-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--rp-line);
}
.rp-sec-head__text { display: flex; flex-direction: column; gap: 6px; }
.rp-sec-label {
	font-family: var(--rp-font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--rp-accent);
	line-height: 1.4;
}
.rp-sec-label--amber { color: var(--rp-amber); }
.rp-sec-title { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.4; color: var(--rp-text); }
.rp-sec-title--sm { font-size: 22px; }
.rp-sec-more, .rp-sec-more:link { font-size: 14px; color: var(--rp-text-2); }

@media screen and (max-width: 600px) {
	.rp-sec-title { font-size: 20px; }
	.rp-sec-label { font-size: 11px; }
}

/* ページ見出し（一覧・固定ページ） */
.rp-page-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--rp-line); }
.rp-page-head__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.4; }
.rp-page-head__lead { margin: 0; font-size: 14px; color: var(--rp-text-2); }
@media screen and (max-width: 600px) {
	.rp-page-head__title { font-size: 23px; }
}

/* ---------------------------------------------------------
 * チップ・ボタン
 * --------------------------------------------------------- */
.rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rp-chips li { list-style: none; margin: 0; }
.rp-chip,
.rp-chip:link,
.rp-chips a {
	display: inline-block;
	font-size: 13px;
	line-height: 1.5;
	padding: 6px 12px;
	border: 1px solid var(--rp-line);
	color: var(--rp-text-2);
	background: transparent;
	transition: border-color .15s, color .15s;
}
.rp-chip:hover, .rp-chips a:hover { border-color: var(--rp-accent); color: var(--rp-accent); }
.rp-chip--amber, .rp-chip--amber:link, .rp-chips a.rp-chip--amber { border-color: var(--rp-amber); color: var(--rp-amber); }
.rp-chip--solid, .rp-chip--solid:link,
.rp-chips .is-active a, .rp-chips a.is-active {
	background: var(--rp-accent);
	border-color: var(--rp-accent);
	color: var(--rp-bg);
	font-weight: 700;
}
.rp-chip--solid:hover { color: var(--rp-bg); }

.rp-btn, .rp-btn:link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	background: var(--rp-accent);
	color: var(--rp-bg);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	transition: filter .15s;
}
.rp-btn:hover { color: var(--rp-bg); filter: brightness(1.12); }
.rp-btn svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------
 * ヒーロー（トップの最新作）
 * --------------------------------------------------------- */
.rp-hero { border-bottom: 1px solid var(--rp-line); }
.rp-hero__inner {
	max-width: var(--rp-max);
	margin: 0 auto;
	padding: 44px 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}
.rp-hero__body { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.rp-hero__kicker { margin: 0; font-family: var(--rp-font-mono); font-size: 13px; letter-spacing: 0.12em; color: var(--rp-accent); }
.rp-hero__title { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; }
.rp-hero__title a, .rp-hero__title a:link { color: var(--rp-text); }
.rp-hero__title a:hover { color: var(--rp-accent); }
.rp-hero__lead { margin: 0; font-size: 16px; line-height: 1.9; color: var(--rp-text-2); }
.rp-hero__media { flex: 0 1 340px; min-width: 0; display: flex; justify-content: center; }
.rp-hero__media .rp-frame { width: 100%; max-width: 340px; }
.rp-hero__media img { aspect-ratio: 4 / 5; max-height: 300px; object-fit: cover; object-position: center 30%; }
.rp-hero__new {
	position: absolute; right: 12px; top: 12px; z-index: 2;
	font-family: var(--rp-font-mono); font-size: 11px; letter-spacing: 0.1em;
	padding: 4px 8px;
	background: rgba(10, 13, 18, 0.8);
	color: var(--rp-accent);
	border: 1px solid var(--rp-accent);
}

/* スペック表示（ヒーロー用・横並び） */
.rp-spec {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 1px;
	background: var(--rp-line);
	border: 1px solid var(--rp-line);
	margin: 0;
}
.rp-spec__cell { background: var(--rp-surface); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; margin: 0; }
.rp-spec__label { font-family: var(--rp-font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--rp-muted); line-height: 1.4; }
.rp-spec__value { font-family: var(--rp-font-display); font-size: 21px; font-weight: 700; line-height: 1.3; margin: 0; }

@media screen and (max-width: 600px) {
	.rp-hero__inner { padding: 24px 16px 32px; gap: 20px; flex-direction: column-reverse; align-items: stretch; }
	.rp-hero__media, .rp-hero__body { flex-basis: auto; }
	.rp-hero__media .rp-frame { max-width: none; }
	.rp-hero__media img { aspect-ratio: 16 / 10; max-height: 240px; object-position: center 35%; }
	.rp-hero__title { font-size: 22px; }
	.rp-hero__lead { font-size: 14px; }
	.rp-hero__body { gap: 16px; }
	.rp-spec__cell { padding: 10px; }
	.rp-spec__value { font-size: 16px; }
	.rp-hero .rp-btn { justify-content: center; width: 100%; min-height: 48px; }
}

/* ---------------------------------------------------------
 * カード（写真つき）
 * --------------------------------------------------------- */
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.rp-grid--sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

.rp-card,
.rp-card:link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--rp-surface);
	border: 1px solid var(--rp-line);
	color: var(--rp-text);
	transition: transform .2s ease, border-color .2s ease;
}
.rp-card:hover { transform: translateY(-3px); border-color: var(--rp-accent); color: var(--rp-text); }
.rp-card:hover .rp-card__title { color: var(--rp-accent); }
.rp-card__media { position: relative; background: var(--rp-surface-2); }
.rp-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.rp-card__badge {
	position: absolute; left: 10px; top: 10px;
	font-family: var(--rp-font-mono); font-size: 11px; font-weight: 500; line-height: 1.4;
	padding: 3px 8px;
	background: rgba(10, 13, 18, 0.85);
	color: var(--rp-text);
	border: 1px solid var(--rp-line);
}
.rp-card__views {
	position: absolute; right: 8px; bottom: 8px;
	font-family: var(--rp-font-mono); font-size: 11px;
	padding: 2px 8px;
	background: rgba(10, 13, 18, 0.85);
	color: var(--rp-text-2);
}
.rp-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rp-card__title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; transition: color .2s; }
.rp-card__date { margin: 0; margin-top: auto; font-family: var(--rp-font-mono); font-size: 12px; color: var(--rp-muted); }
.rp-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rp-card__tags li { list-style: none; font-size: 11px; line-height: 1.5; padding: 1px 7px; border: 1px solid var(--rp-line); color: var(--rp-muted); }

.rp-card--all,
.rp-card--all:link {
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 220px;
	background: transparent;
	border: 1px dashed var(--rp-accent);
	color: var(--rp-accent);
	text-align: center;
	padding: 16px;
}
.rp-card--all:hover { color: var(--rp-accent); }
.rp-card--all .rp-card__allLabel { font-family: var(--rp-font-display); font-size: 13px; letter-spacing: 0.2em; }
.rp-card--all .rp-card__allText { font-size: 15px; font-weight: 700; }

/* 閲覧数（Post Views Counter）の表示を小さく */
.rp-card__views .post-views,
.rp-card__views .post-views * { display: inline; font-size: 11px; color: inherit; }
.rp-card__views .post-views-icon { display: none; }

@media screen and (max-width: 600px) {
	.rp-grid, .rp-grid--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.rp-grid .rp-card__media img { aspect-ratio: 1 / 1; }
	.rp-card__body { padding: 10px 10px 12px; gap: 6px; }
	.rp-card__title { font-size: 13px; }
	.rp-card__date { font-size: 11px; }
	.rp-card__badge { left: 6px; top: 6px; font-size: 10px; padding: 2px 6px; }
	.rp-card--all { min-height: 160px; }
}

/* ---------------------------------------------------------
 * リスト（写真＋タイトル / 日付＋タイトル）
 * --------------------------------------------------------- */
.rp-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.rp-list > li { list-style: none; margin: 0; }
.rp-list-item,
.rp-list-item:link {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--rp-line-soft);
	color: var(--rp-text);
}
.rp-list-item:hover { color: var(--rp-accent); }
.rp-list-item__thumb { width: 120px; flex-shrink: 0; position: relative; background: var(--rp-surface-2); border: 1px solid var(--rp-line); }
.rp-list-item__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rp-list-item__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rp-list-item__title { font-size: 15px; font-weight: 700; line-height: 1.5; }
.rp-list-item__date { font-family: var(--rp-font-mono); font-size: 12px; color: var(--rp-muted); }
.rp-list-item__date .post-views,
.rp-list-item__date .post-views * { display: inline; font-size: 12px; color: inherit; }
.rp-list-item__date .post-views-icon { display: none; }

.rp-textlist { margin: 0; padding: 0; list-style: none; }
.rp-textlist li { list-style: none; border-bottom: 1px solid var(--rp-line-soft); }
.rp-textlist a, .rp-textlist a:link { display: flex; gap: 18px; padding: 16px 0; align-items: baseline; color: var(--rp-text); }
.rp-textlist a:hover { color: var(--rp-accent); }
.rp-textlist__date { font-family: var(--rp-font-mono); font-size: 12px; color: var(--rp-muted); flex-shrink: 0; }
.rp-textlist__title { font-size: 15px; font-weight: 500; line-height: 1.6; }

.rp-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }

@media screen and (max-width: 600px) {
	.rp-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.rp-list-item__thumb { width: 104px; }
	.rp-list-item__title { font-size: 14px; }
	.rp-textlist a { flex-direction: column; gap: 4px; padding: 14px 0; }
	.rp-textlist__title { font-size: 14px; }
}

/* ---------------------------------------------------------
 * 応援（codoc）
 * --------------------------------------------------------- */
.rp-support {
	border: 1px solid var(--rp-line);
	background-color: var(--rp-surface);
	padding: 28px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}
.rp-support__text { display: flex; flex-direction: column; gap: 6px; }
.rp-support__label { font-family: var(--rp-font-display); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--rp-amber); }
.rp-support__lead { margin: 0; font-size: 16px; font-weight: 700; }
.rp-support .codocBottom { flex: 0 1 auto; }
@media screen and (max-width: 600px) {
	.rp-support { padding: 20px; }
	.rp-support .codocBottom { width: 100%; }
}

/* codoc のボタンを暗い背景に合わせる */
.codocBottom .codoc-entries,
.codocBottom .codoc-entry { background: transparent !important; border: 0 !important; margin: 0 !important; }
.codocBottom .codoc-support { padding: 0 !important; background: transparent !important; }
.codocBottom .codoc-support-title,
.codocBottom .codoc-copyright { display: none !important; }
.codoc-modal-default-button.codoc-btn-buy-bg,
.codoc-modal-default-button.codoc-btn-buy-bg span,
.codoc-support .codoc-btn span { color: #FFF !important; }

/* ---------------------------------------------------------
 * 記事ページ
 * --------------------------------------------------------- */
.rp-article { display: flex; flex-direction: column; gap: 32px; }
.rp-article__head { display: flex; flex-direction: column; gap: 16px; }
.rp-article__title { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 700; }
.rp-article__meta {
	display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
	font-family: var(--rp-font-mono); font-size: 13px; color: var(--rp-muted);
}
.rp-article__meta .post-views,
.rp-article__meta .post-views * { display: inline; font-size: 13px; color: inherit; }
.rp-article__meta .post-views-icon { display: none; }
.rp-article__meta .post-views-count::before { content: "VIEWS "; }

/* カテゴリ・タグ（the_category / the_tags の出力） */
.rp-terms { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rp-terms li { list-style: none; margin: 0; }
.rp-terms .post-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.rp-terms .post-categories li { float: none; margin: 0; }
.rp-terms .post-categories a,
.rp-terms .post-categories a:link {
	display: inline-block; font-size: 12px; font-weight: 700; line-height: 1.5;
	padding: 5px 10px; background: var(--rp-accent); color: var(--rp-bg); border-radius: 0;
}
.rp-terms .post-categories a:hover { filter: brightness(1.12); color: var(--rp-bg); }
.rp-terms > li > a[rel="tag"] {
	display: inline-block; font-size: 12px; line-height: 1.5;
	padding: 5px 10px; border: 1px solid var(--rp-line); color: var(--rp-text-2); background: transparent;
}
.rp-terms > li > a[rel="tag"]:hover { border-color: var(--rp-accent); color: var(--rp-accent); }

/* 写真＋BUILD SPEC */
.rp-media-spec { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.rp-media-spec__media { flex: 0 1 300px; min-width: 0; }
.rp-media-spec__media img { aspect-ratio: 4 / 5; max-height: 380px; object-fit: cover; object-position: center 30%; }
.rp-specpanel {
	flex: 1 1 260px; min-width: 0;
	border: 1px solid var(--rp-line);
	background-color: var(--rp-surface);
	padding: 24px;
	display: flex; flex-direction: column; gap: 18px;
}
.rp-specpanel__list { margin: 0; }
.rp-specpanel__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--rp-line); }
.rp-specpanel__row:last-child { border-bottom: 0; }
.rp-specpanel__row dt { font-family: var(--rp-font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--rp-muted); font-weight: 400; }
.rp-specpanel__row dd { margin: 0; font-family: var(--rp-font-display); font-size: 14px; font-weight: 700; text-align: right; }
.rp-specpanel__row dd .post-views,
.rp-specpanel__row dd .post-views * { display: inline; font-size: inherit; }
.rp-specpanel__row dd .post-views-icon { display: none; }
.rp-specpanel__note { margin: 0; font-size: 12px; line-height: 1.8; color: var(--rp-muted); }
@media screen and (max-width: 600px) {
	.rp-media-spec__media { flex-basis: 100%; }
	.rp-media-spec__media img { aspect-ratio: 16 / 10; max-height: 260px; }
}
@media screen and (max-width: 600px) {
	.rp-article__title { font-size: 20px; }
	.rp-media-spec { gap: 24px; }
	.rp-specpanel { padding: 18px; }
	.rp-specpanel__row dd { font-size: 14px; }
}

/* 共有ボタン */
.rp-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
.rp-share li { list-style: none; margin: 0; }
.rp-share__label { font-family: var(--rp-font-mono); font-size: 12px; color: var(--rp-muted); margin-right: 8px; }
.rp-share a,
.rp-share a:link {
	display: inline-flex; align-items: center; min-height: 40px;
	font-size: 13px; padding: 8px 16px;
	border: 1px solid var(--rp-line); color: var(--rp-text-2);
	transition: border-color .15s, color .15s;
}
.rp-share a:hover { border-color: var(--rp-accent); color: var(--rp-accent); }

/* 関連記事の見出し */
.rp-related { display: flex; flex-direction: column; gap: 20px; }

/* ---------------------------------------------------------
 * 本文（記事・固定ページ）
 * --------------------------------------------------------- */
.contBox,
.rp-content {
	clear: both;
	font-size: 16px;
	line-height: 2;
	color: #D5DCE6;
	padding-top: 0;
	margin-bottom: 0;
	overflow-wrap: anywhere;
}
.contBox p { margin: 0 0 1.5em; }
.contBox p.b30 { margin-bottom: 30px; }
.contBox a, .contBox a:link { color: var(--rp-accent); text-decoration: underline; text-underline-offset: 3px; }
.contBox a:hover { color: #8BE6FF; }
.contBox a:has(> img) { text-decoration: none; }
.contBox strong, .contBox b { color: var(--rp-text); font-weight: 700; }
.contBox h2 {
	margin: 2em 0 1em;
	font-size: 22px; font-weight: 700; line-height: 1.5; color: var(--rp-text);
	padding-bottom: 10px; border-bottom: 1px solid var(--rp-line);
	display: flex; align-items: center; gap: 12px;
}
.contBox h2::before { content: ""; width: 10px; height: 10px; background: var(--rp-accent); flex-shrink: 0; }
.contBox h3 {
	margin: 1.8em 0 0.8em;
	font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--rp-text);
	padding: 0 0 8px; border-bottom: 1px solid var(--rp-line);
}
.contBox h4 { margin: 1.5em 0 0.6em; font-size: 17px; font-weight: 700; color: var(--rp-text); padding-left: 10px; border-left: 3px solid var(--rp-accent); }
.contBox ul, .contBox ol { margin: 0 0 1.5em; padding-left: 1.4em; }
.contBox ul li { list-style: disc; }
.contBox ol li { list-style: decimal; }
.contBox li { margin-bottom: 0.4em; }
.contBox img { max-width: min(100%, 560px); height: auto; margin: 0 auto; display: block; }
.contBox figure { margin: 0 0 1.5em; }
.contBox figcaption, .contBox .wp-caption-text { font-size: 13px; color: var(--rp-muted); text-align: center; margin-top: 8px; }
.contBox blockquote { margin: 0 0 1.5em; padding: 16px 20px; background: var(--rp-surface); border-left: 3px solid var(--rp-accent); color: var(--rp-text-2); }
.contBox table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; font-size: 14px; }
.contBox th, .contBox td { border: 1px solid var(--rp-line); padding: 10px 12px; text-align: left; }
.contBox th { background: var(--rp-surface); color: var(--rp-text); font-weight: 700; }
.contBox iframe { max-width: 100%; }
.contBox hr { display: block; border: 0; border-top: 1px solid var(--rp-line); margin: 2em 0; }
.contBox dl { margin-bottom: 20px; }
.contBox dl dt { font-weight: 700; color: var(--rp-text); }
.contBox dl dd { margin: 0 0 10px; }
.contBox code { font-family: var(--rp-font-mono); font-size: 0.9em; background: var(--rp-surface-2); padding: 2px 6px; }
@media screen and (max-width: 600px) {
	.contBox { font-size: 15px; line-height: 1.95; }
	.contBox h2 { font-size: 19px; }
	.contBox h3 { font-size: 17px; }
}

/* 本文中で使っている旧クラス（暗い背景向けに調整） */
.postul { margin: 0 0 20px; padding: 0 !important; }
.postul li { list-style: none !important; font-size: 16px; padding: 10px 12px; border-bottom: 1px solid var(--rp-line); }
.postul li:nth-child(2n) { background-color: var(--rp-surface); }
.linkPR a, .linkPR a:link {
	display: block; padding: 12px 0; text-align: center; text-decoration: none;
	border-top: 1px dotted var(--rp-line); border-bottom: 1px dotted var(--rp-line);
	background-color: var(--rp-surface);
}
.samloBox { border: 1px solid var(--rp-line); background-color: var(--rp-surface); padding: 16px 18px; margin-bottom: 20px; }
.txtAtt { font-size: 20px; font-weight: 700; line-height: 1.6; color: var(--rp-text); }
.txtCode { width: 100%; }
.itemImg { text-align: center; margin-bottom: 20px; }
.itemImg img { max-width: 400px; }
.tBase { width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.tBase th, .tBase td { padding: 10px; border-bottom: 1px solid var(--rp-line); font-size: 13px; }
.tBase tr:nth-child(2n) th, .tBase tr:nth-child(2n) td { background-color: var(--rp-surface); }
.tBase th span { color: #FF6B6B; }
.appstore { overflow: hidden; padding: 0 !important; }
.appstore li { float: left; margin-right: 15px; list-style: none !important; }
.appstore li img { width: 150px; }
.entrylist li { margin-bottom: 30px; padding-left: 1em; text-indent: -1em; }
.colorList { vertical-align: middle; }
.colorList img { vertical-align: middle; width: 30px; display: inline; margin: 0; }
.colorList li { padding-top: 5px; }
.about dt { font-weight: 700; }
.about dd { margin: 0 0 15px; }
.linePage { margin: 0 0 10px; padding-top: 20px; font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--rp-line); }
.kiyaku { height: 250px; overflow: auto; padding: 10px; border: 1px solid var(--rp-line); background: var(--rp-surface); }

/* 記事リンクカード（ショートコード [link_code]） */
.short_link { margin-bottom: 30px; }
.contBox .short_link a, .short_link a {
	display: flex; align-items: center; gap: 16px;
	padding: 12px; border: 1px solid var(--rp-line); background: var(--rp-surface);
	text-decoration: none; color: var(--rp-text);
	transition: border-color .15s;
}
.short_link a:hover { border-color: var(--rp-accent); }
.short_link .sl_l { width: 25%; flex-shrink: 0; margin: 0; }
.short_link .sl_l img { width: 100%; max-width: none; margin: 0; }
.short_link .sl_r { width: auto; margin: 0; color: var(--rp-text-2); font-size: 14px; }
.short_link .sl_r .sl_tit { font-weight: 700; font-size: 16px; color: var(--rp-text); }
.short_link p { margin-bottom: 0; }

/* Rinker（商品リンク） */
div.yyi-rinker-contents { background: var(--rp-surface) !important; border-color: var(--rp-line) !important; }
div.yyi-rinker-contents div.yyi-rinker-title a { color: var(--rp-text) !important; text-decoration: none; font-weight: 700; }
div.yyi-rinker-contents div.yyi-rinker-detail { color: var(--rp-muted) !important; }
@media screen and (max-width: 660px) {
	.yyi-rinker-box { display: flex; flex-direction: column; width: 100%; }
	.yyi-rinker-image { margin: auto; }
	.yyi-rinker-image img { width: 100% !important; max-width: 400px !important; }
	.yyi-rinker-info { width: calc(100% - 25px) !important; line-height: 1.5 !important; margin-bottom: 10px !important; }
	.yyi-rinker-links { display: flex !important; justify-content: center !important; }
}

/* ---------------------------------------------------------
 * Rinker（商品リンク）をダークデザインに合わせる
 * --------------------------------------------------------- */
.contBox div.rconBox {
	margin: 2em 0;
	padding: 0;
	background: var(--rp-surface);
	border: 1px solid var(--rp-line);
	box-shadow: none;
	line-height: 1.6;
}
.contBox div.rconBox div.cRlist {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 18px;
}
.contBox div.rconBox div.cRImg {
	width: 128px;
	min-width: 128px;
	padding: 8px;
	background: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
}
.contBox div.rconBox div.cRImg img.yyi-rinker-main-img {
	display: block;
	width: 100%;
	max-width: 112px;
	height: auto;
	margin: 0;
}
.contBox div.rconBox div.cRInf { flex: 1; min-width: 0; width: auto !important; }
.contBox div.rconBox div.cRTit { line-height: 1.5; }
.contBox div.rconBox div.cRTit::before {
	content: "ITEM";
	display: block;
	margin-bottom: 6px;
	font-family: var(--rp-font-mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--rp-accent);
}
.contBox div.rconBox div.cRTit a {
	color: var(--rp-text);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.contBox div.rconBox div.cRTit a:hover { color: var(--rp-accent); }
.contBox div.rconBox div.yyi-rinker-detail { padding-left: 0; color: var(--rp-muted); font-size: 12px; }
.contBox div.rconBox div.yyi-rinker-detail:empty,
.contBox div.rconBox div.yyi-rinker-detail .price-box:empty { display: none; }

.contBox div.rconBox ul.cRLissss {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	width: 100%;
}
.contBox div.rconBox ul.cRLissss li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
}
.contBox div.rconBox ul.cRLissss li:hover { box-shadow: none; }
.contBox div.rconBox ul.cRLissss li a {
	display: flex;
	align-items: center;
	height: auto;
	min-height: 40px;
	padding: 8px 14px;
	line-height: 1.4;
	font-size: 13px;
	font-weight: 700;
	color: var(--rp-text-2);
	border: 1px solid var(--rp-line);
	text-decoration: none;
	transition: border-color .15s, color .15s;
}
.contBox div.rconBox ul.cRLissss li a:hover { opacity: 1; border-color: var(--rp-accent); color: var(--rp-accent); }
/* お店ごとに左に小さな色の印 */
.contBox div.rconBox ul.cRLissss li a::before {
	content: "";
	position: static;
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-right: 8px;
	background: var(--rp-muted);
}
.contBox div.rconBox ul.cRLissss li.raLiBtn a::before { background: #E0524D; }
.contBox div.rconBox ul.cRLissss li.yahoolink a::before { background: #5AAEEB; }
.contBox div.rconBox ul.cRLissss li.amazonkindlelink a::before { background: #9BA8B8; }
.contBox div.rconBox ul.cRLissss li.mercarilink a::before { background: #FF4D5A; }
/* Amazon をメインのボタンに */
/* Kindle ボタンは表示しない（プラモデルの記事では不要なため） */
.contBox div.rconBox ul.cRLissss li.amazonkindlelink { display: none; }
.contBox div.rconBox ul.cRLissss li.aLiBtn a {
	background: var(--rp-amber);
	border-color: var(--rp-amber);
	color: #0A0D12;
}
.contBox div.rconBox ul.cRLissss li.aLiBtn a::before { background: #0A0D12; }
.contBox div.rconBox ul.cRLissss li.aLiBtn a:hover { color: #0A0D12; filter: brightness(1.1); }

@media screen and (max-width: 600px) {
	.contBox div.rconBox div.cRlist { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
	.contBox div.rconBox div.cRImg { width: 112px; min-width: 112px; align-self: center; }
	.contBox div.rconBox ul.cRLissss { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); flex-flow: row; }
	.contBox div.rconBox ul.cRLissss li a { justify-content: center; padding: 8px; }
}

/* ---------------------------------------------------------
 * フォーム（コメント・お問い合わせ）
 * --------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	font-family: inherit;
	font-size: 15px;
	color: var(--rp-text);
	background: var(--rp-surface);
	border: 1px solid var(--rp-line);
	padding: 10px 12px;
	border-radius: 0;
	max-width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--rp-accent); outline: none; }
textarea { width: 100%; resize: vertical; }
input[type="submit"], button[type="submit"], .wpcf7-submit {
	font-family: inherit;
	font-size: 15px; font-weight: 700;
	padding: 12px 28px;
	background: var(--rp-accent); color: var(--rp-bg);
	border: 0; cursor: pointer;
}
input[type="submit"]:hover, button[type="submit"]:hover { filter: brightness(1.12); }
.formBtn { text-align: center; margin-bottom: 30px; }
.formBtn input { width: 270px; padding: 12px 0; }
.wpcf7-radio span { display: block; padding: 3px 0; }
.wpcf7-radio span span { display: inline-block; padding: 0; }

.comments-area { margin-top: 8px; }
.comments-area .comment-list { margin: 0 0 24px; padding: 0; }
.comments-area .comment-list li { list-style: none; }
.comments-area .comment-body { padding: 16px 0; border-bottom: 1px solid var(--rp-line-soft); }
.comments-area .comment-meta, .comments-area .comment-metadata a { font-size: 12px; color: var(--rp-muted); }
.comments-area .comment-form p { margin-bottom: 14px; }
.comments-area label { display: block; font-size: 13px; color: var(--rp-text-2); margin-bottom: 4px; }

/* wpDiscuz */
#wpcomm { background: transparent !important; }
#wpcomm .wc-thread-wrapper { padding: 15px 0 10px !important; margin: 10px 0; }
#wpcomm .wc-comment-header { border: none !important; margin-bottom: 0 !important; }
#wpcomm .wc-comment-author { font-size: 16px; float: left; white-space: normal; text-align: left; padding: 0 !important; }
#wpcomm .wc-comment-right { background: transparent !important; }
#wpcomm .wc-comment-right .wc-comment-text { padding: 5px 0 !important; color: var(--rp-text-2) !important; }
#wpcomm .wc-comment-right .wpd-bottom-custom-fields { padding: 0 !important; margin-bottom: 0 !important; }
#wpcomm .wc-comment-footer { padding: 0 !important; border-bottom: 1px dotted var(--rp-line); margin-bottom: 30px; }
#wpcomm .wc-form-footer { display: block !important; }
#wpcomm .wpdiscuz-item.wpd-field-radio, #wpcomm .wpdiscuz-item.wpd-field-checkbox { border: none; }
.wpd-cf-label { padding: 5px 0; border-bottom: 1px solid var(--rp-line); }
.wpd-cf-value { background: transparent !important; }

/* ---------------------------------------------------------
 * wpDiscuz（コメント欄）をダークデザインに合わせる
 * --------------------------------------------------------- */
#comments.comments-area { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; }
#wpdcom { width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; background: transparent !important; color: var(--rp-text); }

/* 入力欄 */
#wpdcom .wpd-form-wrap { margin: 0 0 8px; }
#wpdcom .wpd-form .wpdiscuz-textarea-wrap,
#wpdcom .wpd-form .wpdiscuz-item.wpd-field-textarea .wpdiscuz-textarea-wrap {
	background: var(--rp-surface) !important;
	border: 1px solid var(--rp-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}
#wpdcom .wpd-form .wpdiscuz-textarea-wrap:focus-within { border-color: var(--rp-accent) !important; }
#wpdcom .ql-container { border: 0 !important; background: transparent !important; }
#wpdcom .ql-editor { min-height: 96px; color: var(--rp-text) !important; font-size: 15px; line-height: 1.7; background: transparent !important; }
#wpdcom .ql-editor.ql-blank::before { color: var(--rp-muted) !important; font-style: normal !important; }
#wpdcom .ql-toolbar,
#wpdcom .wpd-form .ql-toolbar {
	background: var(--rp-surface-2) !important;
	border: 0 !important;
	border-top: 1px solid var(--rp-line) !important;
	border-radius: 0 !important;
}
#wpdcom .ql-toolbar button svg .ql-stroke { stroke: var(--rp-muted) !important; }
#wpdcom .ql-toolbar button svg .ql-fill { fill: var(--rp-muted) !important; }
#wpdcom .ql-toolbar button:hover svg .ql-stroke,
#wpdcom .ql-toolbar button.ql-active svg .ql-stroke { stroke: var(--rp-accent) !important; }
#wpdcom .ql-toolbar button:hover svg .ql-fill,
#wpdcom .ql-toolbar button.ql-active svg .ql-fill { fill: var(--rp-accent) !important; }
#wpdcom .ql-toolbar button,
#wpdcom .wpd-editor-buttons-right span { color: var(--rp-muted) !important; }
#wpdcom .wpd-editor-char-counter { color: var(--rp-muted) !important; }

/* 名前・メール・送信 */
#wpdcom .wpd-form-row { margin-top: 12px; }
#wpdcom .wpd-form-row .wpd-field,
#wpdcom .wpd-form input[type="text"],
#wpdcom .wpd-form input[type="email"],
#wpdcom .wpd-form input[type="url"] {
	background: var(--rp-surface) !important;
	border: 1px solid var(--rp-line) !important;
	border-radius: 0 !important;
	color: var(--rp-text) !important;
	height: 44px;
	box-shadow: none !important;
}
#wpdcom .wpd-form-row .wpd-field:focus { border-color: var(--rp-accent) !important; }
#wpdcom .wpd-form-row .wpd-field::placeholder { color: var(--rp-muted) !important; }
#wpdcom .wpd-field-icon, #wpdcom .wpd-field-icon i { color: var(--rp-muted) !important; }
#wpdcom .wpd-prim-button,
#wpdcom input.wpd-prim-button {
	background: var(--rp-accent) !important;
	color: var(--rp-bg) !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-weight: 700 !important;
	font-size: 15px !important;
	padding: 12px 28px !important;
	height: auto !important;
	letter-spacing: 0.04em;
}
#wpdcom .wpd-prim-button:hover { filter: brightness(1.12); }
#wpdcom label, #wpdcom .wpd-label { color: var(--rp-text-2) !important; }

/* コメント一覧の見出し（○ COMMENTS） */
#wpdcom .wpd-thread-head { border-bottom: 1px solid var(--rp-line) !important; margin-top: 24px; }
#wpdcom .wpd-thread-head .wpd-thread-info {
	color: var(--rp-accent) !important;
	border-bottom: 2px solid var(--rp-accent) !important;
	font-family: var(--rp-font-display) !important;
	letter-spacing: 0.12em;
}
#wpdcom .wpd-thread-head .wpd-thread-info .wpdtc { color: inherit !important; }
#wpdcom .wpd-thread-filter .wpdf-active,
#wpdcom .wpd-thread-filter .wpd-filter { color: var(--rp-muted) !important; border-bottom-color: var(--rp-accent) !important; }

/* 各コメント */
#wpdcom .wpd-thread-list { padding: 8px 0 0; }
#wpdcom .wpd-comment .wpd-comment-wrap { padding: 16px 0 !important; border-bottom: 1px solid var(--rp-line-soft); }
#wpdcom .wpd-comment-author,
#wpdcom .wpd-comment-author a { color: var(--rp-text) !important; font-weight: 700 !important; font-size: 15px !important; }
#wpdcom .wpd-comment-text,
#wpdcom .wpd-comment-text p { color: var(--rp-text-2) !important; font-size: 15px; line-height: 1.8; }
#wpdcom .wpd-comment-date, #wpdcom .wpd-comment-date * { color: var(--rp-muted) !important; }
#wpdcom .wpd-comment-label,
#wpdcom .wpd-blog-post_author .wpd-comment-label,
#wpdcom .wpd-blog-administrator .wpd-comment-label {
	background: transparent !important;
	color: var(--rp-amber) !important;
	border: 1px solid var(--rp-amber) !important;
	border-radius: 0 !important;
	font-family: var(--rp-font-mono);
	font-size: 11px !important;
}
#wpdcom .wpd-comment-label span { color: inherit !important; }
#wpdcom .wpd-comment-footer, #wpdcom .wpd-comment-footer * { color: var(--rp-muted) !important; }
#wpdcom .wpd-comment-footer .wpd-reply-button:hover,
#wpdcom .wpd-comment-footer .wpd-reply-button:hover * { color: var(--rp-accent) !important; }
#wpdcom .wpd-reply .wpd-comment-wrap { border-left: 2px solid var(--rp-line); padding-left: 16px !important; }
#wpdcom .wpd-load-more-submit-wrap .wpd-load-more-submit,
#wpdcom .wpd-loaded {
	background: transparent !important; color: var(--rp-text-2) !important;
	border: 1px solid var(--rp-line) !important; border-radius: 0 !important;
}
.by-wpdiscuz { opacity: 0.5; }

/* 送信後などのメッセージ */
#wpdiscuz-comment-message > div { border-radius: 0 !important; }
#wpdcom .ql-editor p { color: var(--rp-text) !important; }

/* ---------------------------------------------------------
 * ページ送り
 * --------------------------------------------------------- */
.rp-pagination { margin-top: 48px; }
.rp-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding-top: 20px;
	border-top: 1px solid var(--rp-line);
}
.rp-pager__info {
	margin: 0;
	font-family: var(--rp-font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	color: var(--rp-muted);
}
.rp-pager__info strong { color: var(--rp-accent); font-weight: 500; }
.rp-pager .navigation.pagination { margin: 0; }
.rp-pager .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; }
.rp-pager .page-numbers,
.rp-pager .page-numbers:link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	font-family: var(--rp-font-display);
	font-size: 15px;
	font-weight: 700;
	color: var(--rp-text-2);
	background: var(--rp-surface);
	border: 1px solid var(--rp-line);
	transition: border-color .15s, color .15s;
}
.rp-pager a.page-numbers:hover { border-color: var(--rp-accent); color: var(--rp-accent); }
.rp-pager .page-numbers.current {
	background: var(--rp-accent);
	border-color: var(--rp-accent);
	color: var(--rp-bg);
	position: relative;
}
.rp-pager .page-numbers.dots { background: transparent; border-color: transparent; color: var(--rp-muted); min-width: 24px; padding: 0 4px; }
.rp-pager .page-numbers.prev,
.rp-pager .page-numbers.next {
	font-family: var(--rp-font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	padding: 0 16px;
	gap: 8px;
}
@media screen and (max-width: 600px) {
	.rp-pager { justify-content: center; }
	.rp-pager__info { width: 100%; text-align: center; }
	.rp-pager .nav-links { justify-content: center; }
	.rp-pager .page-numbers { min-width: 40px; height: 40px; padding: 0 10px; font-size: 14px; }
	.rp-pager .page-numbers.prev, .rp-pager .page-numbers.next { padding: 0 12px; }
}

/* ---------------------------------------------------------
 * サイドバー
 * --------------------------------------------------------- */
.rp-aside { display: flex; flex-direction: column; gap: 36px; }
.rp-aside .rp-sec { gap: 4px; }
.rp-aside .rp-sec + .rp-sec { margin-top: 0; }
.rp-aside .rp-sec-head { margin-bottom: 8px; padding-bottom: 12px; }
.rp-aside .rp-sec-label { font-size: 12px; }
.rp-aside .rp-sec-title { font-size: 17px; }

.rp-side-item,
.rp-side-item:link { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--rp-line-soft); color: var(--rp-text); }
.rp-side-item:hover { color: var(--rp-accent); }
.rp-side-item__thumb { width: 96px; flex-shrink: 0; border: 1px solid var(--rp-line); background: var(--rp-surface-2); }
.rp-side-item__thumb img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rp-side-item__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rp-side-item__title { font-size: 14px; font-weight: 700; line-height: 1.5; }
.rp-side-item__date { font-family: var(--rp-font-mono); font-size: 11px; color: var(--rp-muted); }

/* 人気記事（WordPress Popular Posts） */
.rp-popular ul { margin: 0; padding: 0; list-style: none; counter-reset: rp-rank; }
.rp-popular li { list-style: none; counter-increment: rp-rank; border-bottom: 1px solid var(--rp-line-soft); }
.rp-popular li a { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--rp-text); position: relative; }
.rp-popular li a:hover { color: var(--rp-accent); }
.rp-popular li a::before {
	content: counter(rp-rank, decimal-leading-zero);
	font-family: var(--rp-font-display); font-size: 14px; font-weight: 700; color: var(--rp-accent);
	width: 24px; flex-shrink: 0;
}
.rp-popular .thumbnail { width: 80px; flex-shrink: 0; margin: 0; border: 1px solid var(--rp-line); }
.rp-popular .thumbnail img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.rp-popular .title { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; }

/* 広告 */
.rp-ad { text-align: center; min-height: 250px; }
.rp-ad--pc { display: block; }
.rp-ad--sp { display: none; }
@media screen and (max-width: 768px) {
	.rp-ad--pc { display: none; }
	.rp-ad--sp { display: block; }
}

/* ---------------------------------------------------------
 * フッター
 * --------------------------------------------------------- */
.rp-footer { margin-top: 80px; border-top: 1px solid var(--rp-line); background: var(--rp-bg-deep); }
.rp-footer__inner { max-width: var(--rp-max); margin: 0 auto; padding: 48px 24px; display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: space-between; }
.rp-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.rp-footer__brand img { height: 32px; width: auto; align-self: flex-start; }
.rp-footer__desc { margin: 0; font-size: 13px; line-height: 1.8; color: var(--rp-muted); }
.rp-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.rp-footer__col { display: flex; flex-direction: column; gap: 10px; }
.rp-footer__colTitle { font-family: var(--rp-font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--rp-muted); }
.rp-footer__col a, .rp-footer__col a:link { font-size: 14px; color: var(--rp-text-2); }
.rp-footer__col a:hover { color: var(--rp-accent); }
.rp-footer__copy { margin: 0; padding: 18px 24px 24px; border-top: 1px solid var(--rp-line-soft); text-align: center; font-family: var(--rp-font-mono); font-size: 12px; color: var(--rp-muted); }
@media screen and (max-width: 600px) {
	.rp-footer { margin-top: 56px; }
	.rp-footer__inner { padding: 32px 16px; }
	.rp-footer__cols { gap: 24px 40px; }
	.rp-footer__copy { padding-bottom: 80px; }
}

/* ページトップ・一覧に戻る */
#pagetop, #backCat {
	position: fixed; bottom: 16px; z-index: 50;
	margin: 0; opacity: 0; visibility: hidden;
	transition: opacity .25s, visibility .25s;
}
#pagetop { right: 16px; }
#backCat { right: 68px; }
#pagetop.is-show, #backCat.is-show { opacity: 1; visibility: visible; }
#pagetop a, #backCat a {
	display: flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	background: rgba(18, 24, 33, 0.92);
	border: 1px solid var(--rp-line);
	color: var(--rp-text);
	font-size: 13px;
}
#pagetop a:hover, #backCat a:hover { border-color: var(--rp-accent); color: var(--rp-accent); }

/* ---------------------------------------------------------
 * プロフィール・404・その他
 * --------------------------------------------------------- */
.authorWrap { margin-bottom: 48px; }
.authorWrap p { font-size: 15px; margin: 0 0 16px; color: var(--rp-text-2); }
.authorWrap a img { display: inline; vertical-align: middle; margin-right: 8px; }
.rp-404 { padding: 32px 0 48px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.rp-404__code { font-family: var(--rp-font-display); font-size: 64px; font-weight: 700; color: var(--rp-accent); line-height: 1; margin: 0; }
.rp-404__text { margin: 0; font-size: 16px; color: var(--rp-text-2); }
.rp-search { display: flex; gap: 8px; max-width: 520px; width: 100%; }
.rp-search input[type="search"] { flex: 1; min-width: 0; }

/* コメント欄の見出し */
.comment-reply-title { font-size: 17px; font-weight: 700; margin: 24px 0 12px; }
.comment-reply-title small { font-size: 12px; margin-left: 8px; }
.related_post_title { font-size: 17px; font-weight: 700; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rp-line); }

/* /shop ページ */
.news-title, .month-title { color: var(--rp-text); }
.month-title { font-family: var(--rp-font-display); letter-spacing: 0.04em; }
