/*
 * material-neo ベーススタイル(モバイルファースト)
 *
 * カスタマイザーの色は CSS 変数(inc/helpers.php の mneo_dynamic_css)で
 * インラインスタイルとして本ファイルの後に注入される:
 *   --mneo-main / --mneo-sub / --mneo-hover / --mneo-title / --mneo-thumb-h
 * ここの :root の同名変数はフォールバック既定値(後読みの動的 CSS が勝つ)。
 *
 * ブレークポイント: 600px(タブレット)/ 1000px(デスクトップ2カラム)
 */

/* ==== カスタムプロパティ ==== */
:root {
	/* フォールバック(動的 CSS が上書きする) */
	--mneo-main: #1aba67;
	--mneo-sub: #414852;
	--mneo-hover: #EA3382;
	--mneo-title: #ffffff;
	--mneo-thumb-h: 180px;

	/* 装飾用(固定) */
	--mneo-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
	--mneo-shadow-hover: 0 5px 14px rgba(0, 0, 0, 0.28);
	--mneo-radius: 4px;
	--mneo-border: #dfe3e8;
	--mneo-muted: #666;
	--mneo-bg-soft: #f0f1f4;

	/* SNS ブランドカラー */
	--mneo-brand-x: #000000;
	--mneo-brand-fb: #1877f2;
	--mneo-brand-hatebu: #00a4de;
	--mneo-brand-pocket: #ef3f56;
	--mneo-brand-line: #06c755;
	--mneo-brand-feedly: #2bb24c;
}

/* ==== リセット(最小限) ==== */
*, *::before, *::after {
	box-sizing: border-box;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote {
	margin: 0;
}
ul, ol {
	padding: 0;
	list-style: none;
}
img {
	max-width: 100%;
	height: auto;
}
button {
	font: inherit;
}

/* ==== 支援技術向けテキスト(視覚的に隠す) ==== */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==== ベース ==== */
body {
	font-size: 16px;
	line-height: 1.7;
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	color: #333;
	background-color: #f6f7f9;
	overflow-wrap: break-word;
}
a {
	color: #1a6bba;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease;
}
a:hover {
	color: var(--mneo-hover);
}
a:hover img {
	opacity: 0.85;
}

/* ==== フォーカス可視化 ==== */
:focus-visible {
	outline: 2px solid var(--mneo-hover);
	outline-offset: 2px;
}
.main-color-background :focus-visible,
.sub-color-background :focus-visible {
	outline-color: #fff;
}

/* ==== アニメーション抑制 ==== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==== カラーユーティリティ(旧テーマ互換クラス名 — 維持必須) ==== */
.main-color-background {
	background-color: var(--mneo-main);
	color: var(--mneo-title);
}
.main-color-font {
	color: var(--mneo-main);
}
.sub-color-background {
	background-color: var(--mneo-sub);
	color: #fff;
}

/* ==== 旧記事内で使われる装飾クラス(互換) ==== */
.red { color: #d00; }
.blue { color: #06c; }
.green { color: #080; }
.gray { color: #808080; }
.b, strong { font-weight: bold; }
.ll { font-size: 1.6em; font-weight: bold; }
.l { font-size: 1.3em; font-weight: bold; }
.s { font-size: 0.85em; }
.ss { font-size: 0.65em; }
.back-red { background-color: #ffccff; }
.back-blue { background-color: #ccffff; }
.badge-red, .badge-green {
	display: inline-block;
	padding: 0 0.5em;
	margin-right: 5px;
	border-radius: 7px;
	color: #fff;
}
.badge-red { background-color: #e00; }
.badge-green { background-color: #060; }
.clear { clear: both; }
.space { clear: both; height: 2.5em; }
.no-deco { text-decoration: none; }

/* ==== ヘッダー ==== */
.site-header {
	padding: 1.5rem 1rem;
	text-align: center;
}
.site-title {
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.4;
}
.site-title a,
.site-desc {
	color: var(--mneo-title);
}
.site-logo {
	margin: 0;
}
.header-img {
	display: block;
	margin: 0 auto;
}
.site-desc {
	font-size: 0.85rem;
	margin-top: 0.3rem;
}

/* ==== グローバルナビ ==== */
.global-nav {
	box-shadow: var(--mneo-shadow);
}
.global-nav.is-sticky {
	position: sticky;
	top: 0;
	z-index: 100;
}
.nav-inner {
	max-width: 1058px;
	margin: 0 auto;
}
.menu-toggle {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 0.6rem 1rem;
	border: 0;
	background: none;
	color: #fff;
	font-size: 1rem;
	text-align: left;
	cursor: pointer;
}
.global-menu {
	display: none;
}
.global-menu.is-open {
	display: block;
}
.global-menu ul li a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.6rem 1rem;
	color: #fff;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.global-menu ul li a:hover {
	background-color: var(--mneo-hover);
	color: #fff;
}
.global-menu ul ul li a {
	padding-left: 2rem; /* サブメニューはインデント */
}

/* ==== レイアウト ==== */
.site-content {
	max-width: 1058px;
	margin: 0 auto;
	padding: 1rem 0.5rem;
}
.main {
	min-width: 0;
}

/* ==== ボックス(マテリアル調カード) ==== */
.big-box, .min-box, .box {
	background: #fff;
	border-radius: var(--mneo-radius);
	box-shadow: var(--mneo-shadow);
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	overflow: hidden;
}
.box-header {
	padding: 0.6rem 1rem;
	font-size: 1.1rem;
	line-height: 1.4;
	margin-bottom: 1rem;
}
.box-header a {
	color: inherit;
}
.no-posts, .not-found-text, .cat-description {
	padding: 0 1rem 1rem;
}

/* ==== 記事カードグリッド ==== */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	padding: 0 1rem;
	margin-bottom: 1rem;
}
.card {
	background: #fff;
	border-radius: var(--mneo-radius);
	box-shadow: var(--mneo-shadow);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
	box-shadow: var(--mneo-shadow-hover);
	transform: translateY(-2px);
}
.card-link {
	display: block;
	color: inherit;
}
.thumb-box {
	max-height: var(--mneo-thumb-h);
	overflow: hidden;
}
.thumb-box img {
	width: 100%;
	object-fit: cover;
	display: block;
}
.no-thumbnail {
	display: flex;
	align-items: center;
	justify-content: center;
	height: var(--mneo-thumb-h);
}
.no-thumbnail p {
	margin: 0;
}
.no-thumbnail.min {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	font-size: 0.7rem;
}
.card-date {
	font-size: 0.8rem;
	color: var(--mneo-muted);
	padding: 0.4rem 0.7rem 0;
}
.post-title {
	font-size: 1rem;
	line-height: 1.5;
	padding: 0.1rem 0.7rem 0.5rem;
	transition: color 0.2s ease;
}
.card-link:hover .post-title {
	color: var(--mneo-hover);
}
.card-cats {
	font-size: 0.8rem;
	padding: 0 0.7rem 0.7rem;
}
.is-hidden {
	display: none;
}
.card-grid.is-hidden {
	display: none;
}
.card-grid.is-hidden.is-open {
	display: grid;
}

/* ==== 丸ボタン(more / コメント開閉) ==== */
.more-link, .min-more-link, .go-comment-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	width: fit-content;
	margin: 0 auto 1rem;
	padding: 0.4rem 1.6rem;
	border: 0;
	border-radius: 999px;
	background-color: var(--mneo-main);
	color: var(--mneo-title);
	font-size: 0.95rem;
	text-align: center;
	cursor: pointer;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.more-link:hover, .min-more-link:hover, .go-comment-arrow:hover {
	background-color: var(--mneo-hover);
	color: #fff;
	box-shadow: var(--mneo-shadow-hover);
}

/* ==== カテゴリ別一覧(cat-lists) ==== */
.min-post-list {
	padding: 0 1rem;
}
.min-post a {
	display: flex;
	gap: 0.6rem;
	padding: 0.5rem 0;
	border-bottom: 1px dotted #ccc;
	color: inherit;
}
.min-post img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: var(--mneo-radius);
}
.min-post-body {
	min-width: 0;
}
.min-post-date {
	display: block;
	font-size: 0.75rem;
	color: var(--mneo-muted);
}
.min-post-title {
	transition: color 0.2s ease;
}
.min-post a:hover .min-post-title {
	color: var(--mneo-hover);
}
.min-more-link {
	margin-top: 1rem;
}

/* ==== パンくず ==== */
.bread {
	font-size: 0.8rem;
	padding: 0.7rem 1rem 0;
	color: var(--mneo-muted);
}
.bread ol {
	display: flex;
	flex-wrap: wrap;
}
.bread li + li::before {
	content: ">";
	margin: 0 0.4rem;
	color: #999;
}
.bread a {
	color: var(--mneo-muted);
	text-decoration: underline;
}
.bread a:hover {
	color: var(--mneo-hover);
}

/* ==== 記事ヘッダー ==== */
.content .title {
	font-size: 1.4rem;
	line-height: 1.5;
	padding: 0.8rem 1rem 0.2rem;
}
.post-meta {
	font-size: 0.85rem;
	color: var(--mneo-muted);
	padding: 0.2rem 1rem 0.8rem;
}
.post-cats {
	margin-left: 0.5rem;
}
.eye-catch {
	display: block;
	margin: 0 auto 1rem;
	box-shadow: var(--mneo-shadow);
}

/* ==== 本文(entry-content) ==== */
.entry-content {
	padding: 0 1rem;
	line-height: 1.8;
}
.entry-content > * {
	margin-bottom: 1.2em;
}
.entry-content a {
	text-decoration: underline;
}
.entry-content h2 {
	background-color: var(--mneo-main);
	color: var(--mneo-title);
	padding: 0.45rem 0.8rem;
	margin: 1.8rem -1rem 1rem;
	font-size: 1.25rem;
	line-height: 1.4;
}
.entry-content h3 {
	border-bottom: 3px solid var(--mneo-main);
	padding-bottom: 0.3rem;
	margin: 1.8rem 0 1rem;
	font-size: 1.15rem;
}
.entry-content h4 {
	border-left: 8px solid var(--mneo-main);
	padding-left: 0.5rem;
	margin: 1.5rem 0 1rem;
	font-size: 1.05rem;
}
.entry-content h5,
.entry-content h6 {
	margin: 1.5rem 0 0.8rem;
	font-size: 1rem;
	color: #111;
}

/* リスト */
.entry-content ul,
.entry-content ol {
	padding-left: 1.6em;
	margin-bottom: 1.2em;
}
.entry-content ul {
	list-style: disc;
}
.entry-content ol {
	list-style: decimal;
}
.entry-content li {
	margin-bottom: 0.4em;
}
.entry-content li > ul,
.entry-content li > ol {
	margin: 0.4em 0 0;
}

/* 定義リスト */
.entry-content dl {
	margin-bottom: 1.5em;
}
.entry-content dt {
	font-weight: bold;
	border-bottom: 1px solid var(--mneo-border);
	padding-left: 0.5em;
	margin-bottom: 0.3em;
}
.entry-content dd {
	margin: 0 0 1em 1em;
}

/* テーブル */
.entry-content .wp-block-table {
	overflow-x: auto;
}
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.2em;
	font-size: 0.95em;
}
.entry-content th,
.entry-content td {
	border: 1px solid var(--mneo-border);
	padding: 0.4em 0.7em;
}
.entry-content th {
	background-color: var(--mneo-bg-soft);
	font-weight: bold;
}
/* 旧記事互換の表クラス */
.entry-content table.hyou {
	width: auto;
	margin: 1.2em auto;
}
.entry-content table.hyou th {
	background-color: #bde;
}

/* 引用 */
.entry-content blockquote {
	position: relative;
	background-color: var(--mneo-bg-soft);
	border-left: 4px solid var(--mneo-main);
	border-radius: var(--mneo-radius);
	padding: 1em 1em 0.5em;
	margin: 0 0 1.2em;
	font-size: 0.95em;
	color: #555;
}
.entry-content blockquote cite {
	display: block;
	font-size: 0.85em;
	color: var(--mneo-muted);
	margin-top: 0.5em;
}

/* コード */
.entry-content code {
	background-color: var(--mneo-bg-soft);
	border-radius: 3px;
	padding: 0.15em 0.4em;
	font-size: 0.9em;
	font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
}
.entry-content pre {
	background-color: #2b303b;
	color: #e8eaf0;
	border-radius: var(--mneo-radius);
	padding: 1em;
	margin: 0 0 1.2em;
	overflow-x: auto;
	line-height: 1.6;
	font-size: 0.85em;
	font-family: Consolas, Menlo, Monaco, "Courier New", monospace;
}
.entry-content pre code {
	background: none;
	padding: 0;
	font-size: 1em;
	color: inherit;
}

/* 画像・キャプション・埋め込み */
.entry-content img {
	height: auto;
	border-radius: var(--mneo-radius);
}
.entry-content figure {
	margin: 0 0 1.2em;
}
.entry-content figcaption,
.entry-content .wp-caption-text {
	font-size: 0.8rem;
	color: var(--mneo-muted);
	text-align: center;
	margin-top: 0.3em;
}
.entry-content .wp-caption {
	max-width: 100%;
	text-align: center;
}
.entry-content iframe {
	max-width: 100%;
}
.entry-content .wp-block-embed iframe {
	display: block;
	margin: 0 auto;
}

/* 配置(alignment) */
.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content .alignleft {
	float: left;
	max-width: 50%;
	margin: 0.3em 1em 0.8em 0;
}
.entry-content .alignright {
	float: right;
	max-width: 50%;
	margin: 0.3em 0 0.8em 1em;
}
.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: -1rem;
	margin-right: -1rem;
	max-width: none;
}
.entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	clear: both;
}

/* 主要ブロック */
.entry-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--mneo-border);
	margin: 2em auto;
	max-width: 200px;
}
.entry-content .wp-block-button__link {
	display: inline-block;
	min-height: 44px;
	padding: 0.5em 1.5em;
	border-radius: 999px;
	background-color: var(--mneo-main);
	color: var(--mneo-title);
	text-decoration: none;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease;
}
.entry-content .wp-block-button__link:hover {
	background-color: var(--mneo-hover);
	color: #fff;
}
.entry-content .wp-block-gallery {
	list-style: none;
	padding-left: 0;
}
.entry-content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}
.entry-content .wp-block-column {
	flex: 1 1 250px;
	min-width: 0;
}

/* 旧テーマ由来のレスポンシブ埋め込み用クラス */
.amazon-url-parent {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 75%;
}
.amazon-url-child {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* ==== シェア / フォローボタン ==== */
.share, .follow {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0.5rem 1rem 1rem;
}
.share-button, .follow-icon {
	flex: 1 1 auto;
	min-width: 0;
}
.share-button a,
.follow-icon a,
.follow-icon span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	min-height: 44px;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background-color: var(--mneo-brand, var(--mneo-sub));
	color: #fff;
	font-size: 0.85rem;
	white-space: nowrap;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
/* ブランドカラー割り当て */
.share-x, .follow-x { --mneo-brand: var(--mneo-brand-x); }
.share-fb, .follow-fb { --mneo-brand: var(--mneo-brand-fb); }
.share-hatebu { --mneo-brand: var(--mneo-brand-hatebu); }
.share-pocket { --mneo-brand: var(--mneo-brand-pocket); }
.share-line, .follow-line { --mneo-brand: var(--mneo-brand-line); }
.follow-feedly { --mneo-brand: var(--mneo-brand-feedly); }

/* ホバーで反転(旧テーマの挙動を踏襲) */
.share-button a:hover,
.follow-icon a:hover {
	background-color: #fff;
	color: var(--mneo-brand, var(--mneo-sub));
	box-shadow: var(--mneo-shadow-hover);
}
/* 未設定(グレーアウト) */
.follow-icon.not span {
	background-color: #c9ccd1;
	color: #fff;
	cursor: default;
	box-shadow: none;
}
/* アイコン */
.share-icon, .follow-svg {
	width: 1.25em;
	height: 1.25em;
	flex-shrink: 0;
}
.share-bottom .share-header {
	border-bottom: 2px solid var(--mneo-main);
	margin: 1rem 0 0.5rem;
	padding-left: 0.3rem;
	font-size: 1.1rem;
}

/* ==== 関連記事 ==== */
.kanren-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	padding: 0 1rem;
}
.kanren-post a {
	display: flex;
	gap: 0.6rem;
	align-items: center;
	color: inherit;
	padding: 0.3rem 0;
	border-bottom: 1px dotted #ccc;
}
.kanren-post img {
	width: 80px;
	height: 80px;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: var(--mneo-radius);
}
.kanren-post-name {
	transition: color 0.2s ease;
}
.kanren-post a:hover .kanren-post-name {
	color: var(--mneo-hover);
}
.same-tag, .same-category {
	padding: 0.5rem 1rem 0;
	font-size: 0.9rem;
}
.same-tag a, .same-category a {
	margin-right: 0.6em;
}

/* ==== プロフィール ==== */
.profile {
	padding: 0 1rem 1rem;
}
.profile .box-header {
	margin: 0 -1rem 1rem;
}
.profile-image {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: cover;
	border-radius: 50%;
	margin: 0 auto 0.5rem;
	box-shadow: var(--mneo-shadow);
}
.profile-name {
	text-align: center;
	font-weight: bold;
	border-bottom: 1px solid var(--mneo-border);
	padding-bottom: 0.4rem;
	margin-bottom: 0.6rem;
}
.profile-text {
	font-size: 0.85rem;
	line-height: 1.7;
}
.profile .follow {
	padding-left: 0;
	padding-right: 0;
}

/* ==== コメント ==== */
.comments-area {
	padding: 0 1rem;
	clear: both;
}
.comments-header {
	border-bottom: 2px solid var(--mneo-main);
	font-size: 1.1rem;
	padding-left: 0.3rem;
	margin-bottom: 1rem;
}
.comment-list {
	margin-bottom: 1rem;
}
.comment-list .children {
	margin-left: 1.5rem;
}
.compost {
	margin-bottom: 1.2rem;
}
.combody {
	background-color: var(--mneo-bg-soft);
	border-radius: var(--mneo-radius);
	padding: 0.8rem 1rem;
	font-size: 0.95rem;
}
.combody p {
	margin-bottom: 0.8em;
}
.combody p:last-child {
	margin-bottom: 0;
}
.combody ul { list-style: disc; padding-left: 1.6em; }
.combody ol { list-style: decimal; padding-left: 1.6em; }
.cominfo {
	font-size: 0.8rem;
	color: var(--mneo-muted);
	text-align: right;
	margin-top: 0.3rem;
}
.no-comments {
	color: var(--mneo-muted);
	padding-bottom: 1rem;
}

/* コメント前後ナビ */
.comment-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.comment-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.3rem 1.2rem;
	border-radius: 999px;
	background-color: var(--mneo-sub);
	color: #fff;
	font-size: 0.85rem;
}
.comment-navigation a:hover {
	background-color: var(--mneo-hover);
	color: #fff;
}

/* コメントフォーム開閉 */
.comment-form-wrap.is-hidden {
	display: none;
}
.comment-form-wrap.is-open {
	display: block;
}

/* コメントフォーム */
.comment-respond {
	margin-bottom: 1rem;
}
.comment-reply-title {
	font-size: 1.05rem;
	margin-bottom: 0.8rem;
}
.comment-form p {
	margin-bottom: 0.8rem;
}
.comment-form label {
	display: block;
	font-size: 0.85rem;
	margin-bottom: 0.2rem;
}
.comment-notes,
.comment-form .required-field-message {
	font-size: 0.8rem;
	color: var(--mneo-muted);
}
.comment-form .required {
	color: #d00;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 0.5rem 0.7rem;
	font: inherit;
	color: inherit;
	background: #fff;
	border: 1px solid #b9bfc7;
	border-radius: var(--mneo-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form textarea {
	min-height: 8em;
	resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
	border-color: var(--mneo-main);
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
	outline: none;
}
.comment-form input[type="checkbox"] {
	width: auto;
	min-height: 0;
	margin-right: 0.4em;
}
.comment-form .comment-form-cookies-consent label {
	display: inline;
	font-size: 0.8rem;
}
.comment-form .form-submit input[type="submit"] {
	display: block;
	min-height: 44px;
	width: fit-content;
	margin: 0 auto;
	padding: 0.4rem 2.5rem;
	border: 0;
	border-radius: 999px;
	background-color: var(--mneo-main);
	color: var(--mneo-title);
	font-size: 0.95rem;
	cursor: pointer;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.comment-form .form-submit input[type="submit"]:hover {
	background-color: var(--mneo-hover);
	color: #fff;
	box-shadow: var(--mneo-shadow-hover);
}

/* ==== 検索フォーム ==== */
.search-form {
	display: flex;
	padding: 1rem;
	gap: 0;
}
.search-form label {
	flex: 1 1 auto;
	min-width: 0;
}
.search-form .search-field {
	width: 100%;
	min-height: 44px;
	padding: 0.4rem 0.7rem;
	font: inherit;
	border: 1px solid #b9bfc7;
	border-right: 0;
	border-radius: var(--mneo-radius) 0 0 var(--mneo-radius);
}
.search-form .search-field:focus {
	border-color: var(--mneo-main);
	outline: none;
}
.search-form .search-submit {
	min-height: 44px;
	min-width: 44px;
	padding: 0.4rem 1rem;
	border: 0;
	border-radius: 0 var(--mneo-radius) var(--mneo-radius) 0;
	background-color: var(--mneo-main);
	color: var(--mneo-title);
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.search-form .search-submit:hover {
	background-color: var(--mneo-hover);
	color: #fff;
}

/* ==== 広告 ==== */
.ad {
	text-align: center;
	margin-bottom: 1.5rem;
	overflow: hidden;
	clear: both;
}
.ad-label {
	font-size: 0.75rem;
	color: var(--mneo-muted);
	text-align: left;
	margin-bottom: 0.2rem;
}

/* ==== サイドバー / ウィジェット ==== */
.side .box {
	padding: 0 0 1rem;
}
.side .box .box-header {
	font-size: 1rem;
}
.side .box > .search-form {
	padding: 0.8rem;
}

/* 一般的なウィジェット出力(カテゴリ・最近の投稿・アーカイブ等のリスト) */
.side .box ul:not(.share):not(.follow) {
	padding: 0 1rem;
}
.side .box ul:not(.share):not(.follow) > li {
	padding: 0.45rem 0;
	border-bottom: 1px dotted #ccc;
	font-size: 0.95rem;
	line-height: 1.5;
}
.side .box ul:not(.share):not(.follow) > li:last-child {
	border-bottom: 0;
}
.side .box ul.children {
	padding: 0.3rem 0 0 1.2rem;
	font-size: 0.95em;
}
.side .box ul.children > li {
	border-bottom: 0;
	padding: 0.2rem 0;
}
.side .box select {
	display: block;
	width: calc(100% - 2rem);
	margin: 0 1rem;
	min-height: 44px;
	font: inherit;
	border: 1px solid #b9bfc7;
	border-radius: var(--mneo-radius);
	padding: 0.3rem 0.5rem;
}

/* タグクラウド */
.side .box .tagcloud,
.side .box .wp-block-tag-cloud {
	padding: 0 1rem;
}
.side .box .tagcloud a,
.side .box .wp-block-tag-cloud a {
	display: inline-block;
	font-size: 0.8rem !important;
	background-color: var(--mneo-bg-soft);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
	margin: 0 0.2rem 0.4rem 0;
}

/* カレンダー */
.calendar_wrap,
.wp-calendar-nav {
	padding: 0 1rem;
}
#wp-calendar,
.wp-calendar-table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	font-size: 0.9rem;
}
#wp-calendar caption,
.wp-calendar-table caption {
	font-weight: bold;
	border-bottom: 1px solid var(--mneo-border);
	padding-bottom: 0.3rem;
	margin-bottom: 0.3rem;
}
#wp-calendar th,
#wp-calendar td {
	padding: 0.25rem 0;
}
#wp-calendar a {
	text-decoration: underline;
}
.wp-calendar-nav {
	display: flex;
	justify-content: space-between;
	font-size: 0.85rem;
	margin-top: 0.3rem;
}

/* WordPress Popular Posts(任意プラグイン) */
.wpp-thumbnail {
	float: left;
	margin-right: 8px;
	border-radius: var(--mneo-radius);
}
.wpp-post-title {
	font-size: 0.95em;
}
.wpp-list li {
	clear: both;
	overflow: hidden;
}

/* ==== ページネーション ==== */
.pagination {
	text-align: center;
	padding-bottom: 1rem;
	clear: both;
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.4rem;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.3rem 0.6rem;
	border-radius: 50%;
	background: #fff;
	color: #333;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination .page-numbers.dots {
	background: none;
	box-shadow: none;
}
.pagination .page-numbers.current {
	background-color: var(--mneo-main);
	color: var(--mneo-title);
}
.pagination a.page-numbers:hover {
	background-color: var(--mneo-hover);
	color: #fff;
}

/* ==== フッター ==== */
.site-footer {
	padding: 2rem 1rem;
	text-align: center;
}
.site-footer a {
	color: #fff;
}
.site-footer a:hover {
	color: var(--mneo-hover);
}

/* ==== 移動ボタン(トップへ / ホームへ) ==== */
.move-buttons {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	z-index: 90;
}
.move-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background-color: var(--mneo-sub);
	color: #fff;
	cursor: pointer;
	opacity: 0.85;
	box-shadow: var(--mneo-shadow);
	transition: background-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}
.move-button:hover {
	background-color: var(--mneo-hover);
	color: #fff;
	opacity: 1;
	box-shadow: var(--mneo-shadow-hover);
}
.move-icon {
	width: 24px;
	height: 24px;
}

/* ==== タブレット以上(600px〜) ==== */
@media (min-width: 600px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.kanren-list {
		grid-template-columns: repeat(2, 1fr);
	}
	.min-post-list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0 1rem;
	}
	.share-button, .follow-icon {
		flex: 0 1 auto;
	}
	.profile-content {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		gap: 0 1rem;
		align-items: start;
	}
	.profile-content .box-header,
	.profile-content .follow {
		grid-column: 1 / -1;
	}
	.profile-content .profile-image {
		margin: 0;
	}
	.profile-content .profile-name {
		text-align: left;
	}
	.entry-content .alignwide,
	.entry-content .alignfull {
		margin-left: 0;
		margin-right: 0;
	}
}

/* ==== デスクトップ(1000px〜) ==== */
@media (min-width: 1000px) {
	body {
		font-size: 17px;
	}
	.site-content {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 1.5rem;
		align-items: start;
	}
	.card-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	.menu-toggle {
		display: none;
	}
	.global-menu {
		display: block;
	}
	.global-menu ul {
		display: flex;
		flex-wrap: wrap;
	}
	.global-menu ul li a {
		border-top: 0;
		min-height: 0;
		padding: 0.5rem 1rem;
	}
	/* PC ではドロップダウンをホバー表示 */
	.global-menu ul li {
		position: relative;
	}
	.global-menu ul ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 180px;
		background-color: var(--mneo-sub);
		box-shadow: var(--mneo-shadow);
		z-index: 110;
	}
	.global-menu ul li:hover > ul,
	.global-menu ul li:focus-within > ul {
		display: block;
	}
	.global-menu ul ul li a {
		padding-left: 1rem;
		min-height: 44px;
	}
	.entry-content {
		padding: 0 2rem;
	}
	.entry-content h2 {
		margin-left: -2rem;
		margin-right: -2rem;
		padding-left: 2rem;
	}
	.content .title {
		font-size: 1.6rem;
		padding: 1rem 2rem 0.2rem;
	}
	.post-meta {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.side {
		min-width: 0;
	}
}
