/* ==========================================================================
   Onakagenki theme
   旧テーマ（Lightning Pro 7.8 + Skin Pale + ExUnit）の見た目を再現。
   色は functions.php が :root に --og-key / --og-key-dark / --og-link を出す。
   ========================================================================== */

:root {
	--og-key: #74c42b;
	--og-key-dark: #58a60f;
	--og-link: #1a0dab;
	--og-text: #333;
	--og-text-sub: #464646;
	--og-border: #e5e5e5;
	--og-font: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--og-font);
	font-size: 16px;
	line-height: 1.42857;
	color: var(--og-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--og-link); text-decoration: underline; }
a:hover { color: var(--og-link); text-decoration: underline; }
ul, ol { margin: 0 0 1em; padding-left: 2em; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.7; margin: 1.5em 0 1.2em; clear: both; }
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child { margin-top: 0; }
p { margin: 0 0 1em; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	margin: -1px; padding: 0; border: 0; word-wrap: normal !important;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; clip: auto; clip-path: none; padding: 8px 16px; background: #fff; }

.og-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: currentColor; }

/* ---------- 幅 ---------- */
.og-container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
@media (max-width: 1199px) { .og-container { max-width: 970px; } }
@media (max-width: 991px) { .og-container { max-width: 750px; } }

/* ---------- ボタン ---------- */
.og-btn {
	display: inline-block;
	padding: 0.8em 1.5em;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 4px;
	cursor: pointer;
}
.og-btn .og-icon { margin-right: 7px; }
.og-btn--primary { color: #fff; background: var(--og-key); border-color: var(--og-key-dark); }
.og-btn--primary:hover { color: #fff; background: var(--og-key-dark); text-decoration: none; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.site-header__inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding-top: 20px;
	padding-bottom: 20px;
}
.site-header__logo { margin: 0; padding: 5px 0; font-size: 32px; line-height: 1.5; }
.site-header__logo a { color: var(--og-text); text-decoration: none; }
.site-header__logo-img { display: block; max-height: 60px; width: auto; }
.site-header__logo-text { font-size: 24px; font-weight: 700; }

.site-header__contact { display: flex; }
.site-header__contact-text { margin: 0; line-height: 1.3; }
.site-header__contact-text span { display: block; }
.site-header__address { margin-top: 3px; font-size: 11px; }
.site-header__tel { font-size: 24px; font-weight: 700; letter-spacing: 1px; color: var(--og-key); }
.site-header__tel a { color: inherit; text-decoration: none; }
.site-header__tel-icon { margin-right: 0.3rem; }
.site-header__btn-wrap { display: flex; align-items: center; padding-left: 2em; }
.site-header__btn { margin: 2px 0; }

.site-header__menu-toggle { display: none; }

/* グローバルナビ（PC） */
.global-nav { background: #fff; }
.global-nav__menu { display: flex; margin: 0; padding: 0; list-style: none; }
.global-nav__menu > li { position: relative; flex: 1 1 0; border-left: 1px dashed #ccc; }
.global-nav__menu > li:last-child { border-right: 1px dashed #ccc; }
.global-nav__menu > li > a {
	position: relative;
	display: block;
	padding: 10px 15px;
	font-size: 12px;
	line-height: 1.65;
	color: var(--og-text);
	text-decoration: none;
}
.global-nav__menu > li > a:hover { background: rgba(0, 0, 0, 0.03); }
.global-nav__name { display: block; text-align: center; letter-spacing: 1px; }
/* 旧テーマでは現在ページの印は目立たないので付けない */
.global-nav__menu .sub-menu {
	position: absolute;
	top: 100%; left: 50%;
	z-index: 1000;
	width: 240px;
	margin: 0 0 0 -120px;
	padding: 0;
	list-style: none;
	visibility: hidden;
	opacity: 0;
	transition: opacity 0.3s, visibility 0.3s;
	box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.global-nav__menu li:hover > .sub-menu { visibility: visible; opacity: 1; }
.global-nav__menu .sub-menu li { position: relative; }
.global-nav__menu .sub-menu a {
	position: relative;
	display: block;
	padding: 10px 24px 10px 18px;
	font-size: 12px;
	line-height: 1.65;
	color: #fff;
	text-decoration: none;
	background: var(--og-key);
	border-bottom: 1px solid var(--og-key-dark);
}
.global-nav__menu .sub-menu a::after {
	content: "";
	position: absolute;
	top: 50%; right: 12px;
	width: 6px; height: 6px;
	margin-top: -4px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	transition: right 0.3s;
}
.global-nav__menu .sub-menu a:hover { background: var(--og-key-dark); }
.global-nav__menu .sub-menu a:hover::after { right: 8px; }
.global-nav__menu .sub-menu .sub-menu { top: 0; left: 100%; margin-left: 0; }
.global-nav__menu .sub-menu .global-nav__name { text-align: left; letter-spacing: 0; }

/* モバイルナビ */
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--og-border); }
.mobile-nav__menu, .mobile-nav__menu ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav__menu li { position: relative; border-bottom: 1px solid #eee; }
.mobile-nav__menu a { display: block; padding: 12px 48px 12px 15px; font-size: 14px; color: var(--og-text); text-decoration: none; }
.mobile-nav__menu ul a { padding-left: 30px; font-size: 13px; background: #f7f7f7; }
.mobile-nav__menu ul { display: none; }
.mobile-nav__menu li.is-open > ul { display: block; }
.mobile-nav__sub-toggle {
	position: absolute; top: 0; right: 0;
	width: 44px; height: 44px;
	border: 0; background: transparent; cursor: pointer;
}
.mobile-nav__sub-toggle::before {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 8px; height: 8px; margin: -6px 0 0 -4px;
	border-right: 2px solid #999; border-bottom: 2px solid #999;
	transform: rotate(45deg); transition: transform 0.2s;
}
.mobile-nav__menu li.is-open > .mobile-nav__sub-toggle::before { transform: rotate(225deg); margin-top: -2px; }

/* ==========================================================================
   ページ見出しの帯・パンくず
   ========================================================================== */
.page-header {
	display: flex;
	align-items: center;
	min-height: 200px;
	color: #fff;
	background: var(--og-key);
}
.page-header .og-container { padding-top: 40px; padding-bottom: 35px; }
.page-header__title { margin: 0; font-size: 28px; font-weight: 400; line-height: 1.1; color: #fff; }

.breadcrumb-section { font-size: 12px; }
.breadcrumb { margin: 0; padding: 8px 0; list-style: none; }
.breadcrumb li { display: inline-block; line-height: 1.65; }
.breadcrumb li + li::before { content: ">"; padding: 0 5px; color: #ccc; }
.breadcrumb a { color: var(--og-link); text-decoration: underline; }
.breadcrumb .og-icon { margin-right: 4px; }

/* ==========================================================================
   本文レイアウト
   ========================================================================== */
.site-content { padding: 56px 0; }
.site-content__row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.main-section { flex: 1 1 0; min-width: 0; padding: 0 15px; }
.has-sidebar .main-section { flex: 0 0 804px; max-width: 804px; }
.sidebar {
	flex: 0 0 336px;
	max-width: 336px;
	margin: 0 15px;
	padding: 30px 20px 25px;
	background: #fff;
}
@media (max-width: 1199px) {
	.has-sidebar .main-section { flex: 0 0 66.6667%; max-width: 66.6667%; }
	.sidebar { flex: 0 0 calc(33.3333% - 30px); max-width: calc(33.3333% - 30px); }
}

.entry { padding: 40px; background: #fff; }
.entry-header { }
.entry-title { margin: 0 0 10px; font-size: 26px; line-height: 1.4; text-align: left; }
.entry-body { padding: 0 0 40px; }
.single .entry-body { padding-top: 32px; }

/* メタ情報 */
.entry-meta { margin: 0 0 0.8em; padding-left: 3px; font-size: 14px; line-height: 20px; }
.entry-meta::after { content: ""; display: block; clear: both; }
.entry-meta__item { font-size: 14px; }
.entry-meta__item .og-icon { margin-right: 5px; font-size: 12px; }
.entry-meta__author { margin-left: 0.8em; }
.entry-meta__term { float: right; }
.entry-meta__term-link {
	display: inline-block;
	padding: 1px 15px;
	font-size: 12px;
	line-height: 18px;
	color: #fff !important;
	text-decoration: none !important;
	background: var(--og-key-dark);
	border-radius: 50px;
}

/* 記事フッター */
.entry-footer { margin: 0 0 32px; }
.entry-footer__list { margin: 0 0 2px; padding-top: 3px; overflow: hidden; }
.entry-footer__list dt { float: left; margin-right: 10px; padding: 4px 8px; font-size: 10px; font-weight: 300; line-height: 1.1; color: #fff; background: #666; }
.entry-footer__list dd { margin: 0; font-size: 12px; }
.entry-footer__list dd a { display: inline-block; padding: 3px 2px 1px; }

/* 前後の記事 */
.post-nav { margin-top: 20px; }
.post-nav__link {
	display: block;
	margin-bottom: 8px;
	padding: 7px 15px 5px;
	font-size: 14px;
	line-height: 1.65;
	color: #000;
	text-decoration: none;
	background: #fff;
	border: 1px solid var(--og-key);
}
.post-nav__link:hover { color: #fff; background: var(--og-key); text-decoration: none; }
.post-nav__link--prev::before { content: "« "; }
.post-nav__link--next::after { content: " »"; }

/* ==========================================================================
   本文の文字組み（旧サイトの h2/h3/h4/引用の飾りを再現）
   ========================================================================== */
.entry-body p { margin: 0 0 1.2em; line-height: 1.8; }
.entry-body a { color: var(--og-link); text-decoration: underline; }
.entry-body ul, .entry-body ol { margin-bottom: 1.2em; line-height: 1.8; }
.entry-body strong { font-weight: 700; }

.entry-body h2 {
	position: relative;
	margin: 0 0 1.8em;
	padding: 12px 10px 10px;
	font-size: 24px;
	line-height: 1.7;
	text-align: center;
	border-top: 3px solid var(--og-key);
	border-bottom: 1px solid #ddd;
}
.entry-body h2 + * { margin-top: 0; }
.entry-body h2::before, .entry-body h2::after {
	content: "";
	position: absolute;
	left: 50%;
	display: block;
	width: 0; height: 0;
	border-style: solid;
	border-color: transparent;
}
.entry-body h2::after { bottom: -28px; margin-left: -14px; border-width: 14px; border-top-color: #ddd; }
.entry-body h2::before { bottom: -24px; margin-left: -12px; border-width: 12px; border-top-color: #fff; z-index: 1; }
.entry-body h3 {
	position: relative;
	margin: 1.8em 0 1.2em;
	padding: 0.2em 0.2em 0.2em 0.6em;
	font-size: 22px;
	line-height: 1.6;
	border-left: 2px solid var(--og-key);
}
.entry-body h4 {
	position: relative;
	margin: 1.5em 0 1.2em;
	padding: 10px 0 8px;
	font-size: 20px;
	line-height: 1.7;
	border-bottom: 1px dashed var(--og-key);
}
.entry-body h5 { font-size: 18px; }
.entry-body h6 { font-size: 16px; }

.entry-body blockquote, .entry-body .wp-block-quote {
	position: relative;
	margin: 0 0 20px;
	padding: 35px 20px 30px;
	font-size: 16px;
	background: #fcfcfc;
	border: 5px solid #eee;
}
.entry-body blockquote::before, .entry-body blockquote::after {
	position: absolute;
	width: 16px; height: 16px;
	color: #ccc;
	background-color: currentColor;
	-webkit-mask: no-repeat center / contain;
	mask: no-repeat center / contain;
}
.entry-body blockquote::before {
	content: ""; top: 10px; left: 20px;
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z'/></svg>");
}
.entry-body blockquote::after {
	content: ""; right: 20px; bottom: 10px;
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'/></svg>");
	mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path d='M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z'/></svg>");
}
.entry-body blockquote p:last-child { margin-bottom: 0; }
.entry-body blockquote cite { display: block; font-size: 80%; color: #777; }

/* 画像の寄せ・キャプション（クラシック本文用） */
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; clear: both; }
.alignnone { display: inline-block; }
.wp-caption { max-width: 100%; margin-bottom: 1em; }
.wp-caption img { display: block; }
.wp-caption-text, .entry-body figcaption { margin: 0.5em 0 0; font-size: 12px; line-height: 1.5; text-align: center; color: #777; }
.entry-body::after { content: ""; display: block; clear: both; }

/* 埋め込み（YouTube 等）を縦横比つきで縮める。旧本文の core-embed ブロックにも効かせる */
.wp-block-embed { margin: 0 0 1em; }
.wp-block-embed .wp-block-embed__wrapper { position: relative; }
.wp-embed-responsive .wp-has-aspect-ratio .wp-block-embed__wrapper::before { content: ""; display: block; padding-top: 50%; }
.wp-embed-responsive .wp-has-aspect-ratio iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.wp-embed-responsive .wp-embed-aspect-21-9 .wp-block-embed__wrapper::before { padding-top: 42.85%; }
.wp-embed-responsive .wp-embed-aspect-18-9 .wp-block-embed__wrapper::before { padding-top: 50%; }
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper::before { padding-top: 56.25%; }
.wp-embed-responsive .wp-embed-aspect-4-3 .wp-block-embed__wrapper::before { padding-top: 75%; }
.wp-embed-responsive .wp-embed-aspect-1-1 .wp-block-embed__wrapper::before { padding-top: 100%; }
.wp-embed-responsive .wp-embed-aspect-9-16 .wp-block-embed__wrapper::before { padding-top: 177.77%; }
.wp-embed-responsive .wp-embed-aspect-1-2 .wp-block-embed__wrapper::before { padding-top: 200%; }

/* 旧テーマ（ExUnit / Bootstrap）のクラスが本文に手書きされている分 */
.veu_dummyImage { display: block; margin-bottom: 15px; padding: 20px; text-align: center; vertical-align: middle; background: #f5f5f5; border: 1px solid #ccc; }
.btn { display: inline-block; padding: 6px 12px; font-size: 14px; line-height: 1.42857; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; border: 1px solid transparent; border-radius: 4px; text-decoration: none; }
.btn-primary { color: #fff !important; background: var(--og-key); border-color: var(--og-key-dark); text-decoration: none !important; }
.btn-primary:hover { color: #fff; background: var(--og-key-dark); }
.btn-sm { padding: 5px 10px; font-size: 14px; line-height: 1.5; border-radius: 3px; }
.btn-lg { padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; }
.btn-block { display: block; width: 100%; }
.veu_button { margin-bottom: 1em; }
.veu_button .btn { padding-top: 0.8em; padding-bottom: 0.6em; white-space: normal; }
.veu_button .btn.btn-sm { padding-top: 0.6em; padding-bottom: 0.45em; }
.veu_button .button_mainText, .veu_button .button_subText { display: block; }

.entry-body table { width: 100%; max-width: 100%; margin-bottom: 20px; border-collapse: collapse; }
.entry-body th, .entry-body td { padding: 8px; line-height: 1.5; vertical-align: top; border-top: 1px solid #ddd; }
.entry-body hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; }
.entry-body figure { margin: 0 0 1em; }
.entry-body .wp-block-image img { height: auto; }
.entry-body iframe { max-width: 100%; }

/* ==========================================================================
   サイドバー
   ========================================================================== */
.sidebar .widget { margin-bottom: 25px; }
.sidebar .widget-title { margin: 0 0 15px; font-size: 18px; }
.sidebar .widget_page_content { padding: 0; }
.sidebar .entry-body { padding: 0; }
.sidebar .entry-body figure, .sidebar .entry-body .wp-block-embed { margin: 0; }
.sidebar .entry-body p { margin-bottom: 0.5em; }
.sidebar ul { padding-left: 0; list-style: none; font-size: 14px; }
.sidebar .widget_nav_menu li a, .sidebar .widget_categories li a, .sidebar .widget_pages li a, .sidebar .widget_archive li a {
	display: block; padding: 10px 0.5em 8px; color: var(--og-text-sub); text-decoration: none; border-bottom: 1px solid var(--og-border);
}

/* ==========================================================================
   記事一覧
   ========================================================================== */
.post-list { margin-bottom: 25px; }
.post-list__item { display: flex; padding: 2em 0; border-bottom: 1px solid var(--og-border); }
.post-list__item:first-child { border-top: 1px solid var(--og-border); }
.post-list__thumb { display: block; flex: 0 0 160px; width: 160px; margin-right: 30px; border: 1px solid var(--og-border); }
.post-list__thumb img { display: block; width: 100%; height: auto; }
.post-list__thumb--none { display: flex; align-items: center; justify-content: center; min-height: 100px; font-size: 12px; color: #999; background: #f5f5f5; text-decoration: none; }
.post-list__body { flex: 1 1 0; min-width: 0; }
.post-list__title { margin: 0 0 0.4em; font-size: 20px; line-height: 1.4; }
.post-list__title a { color: var(--og-text-sub); text-decoration: none; }
.post-list__title a:hover { text-decoration: underline; }
.post-list__excerpt { margin: 0; font-size: 14px; line-height: 1.5; }

.pagination { text-align: center; }
.pagination .nav-links { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pagination .page-numbers { display: inline-block; min-width: 36px; padding: 6px 10px; font-size: 14px; color: var(--og-text); text-decoration: none; border: 1px solid #ddd; }
.pagination .page-numbers.current { color: #fff; background: var(--og-key); border-color: var(--og-key); }
.pagination a.page-numbers:hover { background: #f5f5f5; }

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer { background: rgba(0, 0, 0, 0.06); }
.site-footer__inner { padding-top: 32px; padding-bottom: 32px; }
.site-footer__columns { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.site-footer__col { flex: 0 0 33.3333%; max-width: 33.3333%; padding: 0 15px; }
.site-footer .widget { margin-bottom: 30px; }
.site-footer .widget-title { margin: 0 0 15px; font-size: 18px; border-bottom: 1px solid #ccc; }
.site-footer__logo img { max-width: 100%; height: auto; }
.site-footer__menu, .site-footer__menu ul,
.site-footer .widget_nav_menu ul, .site-footer ul.menu { margin: 0; padding: 0; list-style: none; font-size: 14px; }
.site-footer__menu li a,
.site-footer .widget_nav_menu li a, .site-footer ul.menu li a {
	display: block;
	padding: 10px 7px 8px;
	color: var(--og-text-sub);
	text-decoration: none;
	border-bottom: 1px dashed #ccc;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}
.site-footer__menu li li a, .site-footer .widget_nav_menu li li a { padding-left: 1.5em; }
.site-footer__menu li a:hover, .site-footer .widget_nav_menu li a:hover { text-decoration: underline; }
.site-footer .widget_nav_menu li { margin: 0; }
.site-footer__copy { display: flex; flex-direction: column; align-items: center; padding-top: 32px; padding-bottom: 32px; text-align: center; }
.site-footer__copy p { margin: 0 15px 5px; font-size: 12px; }

.pagetop {
	position: fixed;
	right: 20px; bottom: 20px;
	z-index: 900;
	display: flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	color: #fff;
	font-size: 20px;
	background: var(--og-key);
	border-radius: 4px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
	text-decoration: none;
}
.pagetop.is-visible { opacity: 0.9; visibility: visible; }
.pagetop:hover { color: #fff; opacity: 1; }

/* ==========================================================================
   スマホ・タブレット
   ========================================================================== */
@media (max-width: 991px) {
	.site-header__contact-text { display: none; }
	.site-header__btn-wrap { padding-left: 0; }
}
@media (max-width: 767px) {
	.site-header__inner { align-items: center; padding-top: 10px; padding-bottom: 10px; }
	.site-header__logo { padding: 0; }
	.site-header__logo-img { max-height: 36px; }
	.site-header__contact { display: none; }
	.site-header__menu-toggle {
		display: flex; align-items: center; justify-content: center;
		width: 44px; height: 44px;
		font-size: 22px;
		color: var(--og-text);
		background: transparent; border: 0; cursor: pointer;
	}
	.site-header__menu-toggle-close { display: none; }
	.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-toggle-open { display: none; }
	.site-header__menu-toggle[aria-expanded="true"] .site-header__menu-toggle-close { display: inline-block; }
	.global-nav { display: none; }
	.mobile-nav { display: block; }
	.mobile-nav[hidden] { display: none; }

	.page-header { min-height: 120px; }
	.page-header .og-container { padding-top: 20px; padding-bottom: 20px; }
	.page-header__title { font-size: 22px; }

	.site-content { padding: 24px 0; }
	.site-content__row { display: block; margin: 0; }
	.has-sidebar .main-section, .main-section { flex: none; max-width: none; padding: 0; }
	.sidebar { flex: none; max-width: none; margin: 24px 0 0; padding: 20px 0 0; }
	.entry { padding: 20px 15px; }
	.entry-title { font-size: 22px; }
	.entry-body h2 { font-size: 20px; }
	.entry-body h3 { font-size: 18px; }
	.entry-body h4 { font-size: 17px; }
	.post-list__item { display: block; }
	.post-list__thumb { width: 100%; margin: 0 0 12px; }
	.site-footer__col { flex: 0 0 100%; max-width: 100%; }
}

/* ---------- 検索フォーム ---------- */
.search-form { display: flex; gap: 8px; max-width: 480px; margin: 1em 0; }
.search-form__label { flex: 1 1 auto; }
.search-form__input { width: 100%; padding: 8px 12px; font-size: 14px; border: 1px solid #ccc; border-radius: 4px; }
.search-form__submit { flex: 0 0 auto; padding: 8px 20px; }
