/*
 * U-match テーマの見た目
 *
 * - 値は、切り替え前のサイトの表示を測って合わせたもの（2026-11-02）
 * - 画面幅の切り替え：576px・768px・992px・1200px（992px 以上を PC の表示とする）
 * - 追加 CSS（外観 → カスタマイズ）が使っているクラス名（site-header・site-body・entry-body・site-footer など）は、名前を変えない
 */

/* ---------- 共通の値 ---------- */
:root {
	--um-color-key: #00a0c2;
	--um-color-key-dark: #00809b;
	--um-color-text: #2d2d2d;
	--um-color-heading: #333;
	--um-color-link: #01659f;
	--um-color-sub: #666;
	--um-color-line: rgba(0, 0, 0, 0.06);
	--um-container-width: 100svw; /* スマホの幅では画面の幅（親の箱の幅ではない） */
	--um-container-padding: 15px;
	--um-header-height: 64px;
}
@media (min-width: 576px) { :root { --um-container-width: 540px; } }
@media (min-width: 768px) { :root { --um-container-width: 720px; } }
@media (min-width: 992px) { :root { --um-container-width: 960px; --um-header-height: 94px; } }
@media (min-width: 1200px) { :root { --um-container-width: 1140px; } }

/* ---------- 基本 ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	font-size: 14px;
	scroll-behavior: smooth;
	/* ページ内のリンクで移動したとき、固定したヘッダーに隠れないようにする */
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 60px);
	-webkit-text-size-adjust: 100%;
}
@media (min-width: 992px) {
	html { font-size: 16px; }
}
html,
body {
	overflow-x: hidden;
}
body {
	margin: 0;
	padding: 0;
	background-color: #fff;
	color: var(--um-color-text);
	font-family: "Noto Sans JP", sans-serif;
	font-weight: 400;
	word-wrap: break-word;
}
img {
	max-width: 100%;
	height: auto;
}
iframe {
	border: 0;
}
a {
	color: #666;
	text-decoration: none;
}
.main-section a {
	color: #337ab7;
}

/* 文章の中のリンクは、点線の下線 */
p a,
li a {
	text-decoration: underline dotted rgba(0, 0, 0, 0.3) 1px;
	text-underline-offset: 2px;
}
.has-text-color a,
.has-black-background-color a {
	text-decoration-color: currentColor;
}

/* 見出し */
h1, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: 1em;
	line-height: 1.4em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.33rem; }
h5 { font-size: 1.2rem; }
:is(h1, h2, h3, h4, h5, h6) a {
	text-decoration: none;
}
/* 文章・リスト・表・画像のあとの見出しは、上を空ける */
:is(p, ul, ol, dl, table) + :is(h1, h2, h3, h4, h5, h6),
figure + :is(h1, h2, h3) {
	margin-top: 2em;
}

/* 文章・リストなど */
p {
	margin-top: 0;
	line-height: 1.7em;
}
p,
ul,
ol,
dl,
blockquote,
iframe,
.wp-block-table {
	margin-bottom: 1.5rem;
}
:is(ul, ol):where(:not(.wp-block-post-template)) {
	padding-left: 1.5em;
}
li {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
/* メニューの中のリストは、点も余白も付けない */
nav ul,
nav ol {
	margin: 0;
	padding: 0;
}
nav li {
	margin: 0;
	list-style: none;
}
dt {
	margin-bottom: 0.5em;
	font-weight: 700;
}
dd {
	margin-left: 0;
}
blockquote {
	margin: 0;
	padding: 1em 1.5em;
	border-left: 1px solid var(--um-color-key);
	background-color: rgba(0, 0, 0, 0.02);
}
i {
	margin-right: 0.4em;
}
hr {
	border: 1px solid var(--um-color-line);
}
hr.wp-block-separator {
	border-color: var(--um-color-line);
	border-bottom: 0;
}

/* 表 */
table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
table th,
table td {
	padding: 0.5rem 1rem;
}
:where(:not(.wp-block-table)) > table {
	border: 1px solid var(--um-color-line);
}
:where(:not(.wp-block-table)) > table :is(th, td) {
	border: 1px solid;
	font-size: 0.875rem;
}
:where(:not(.wp-block-table)) > table :is(thead, tbody, tfoot, th, td),
.wp-block-table :is(table, thead, tbody, tfoot, th, td) {
	border-color: inherit;
}
.wp-block-table {
	border-color: var(--um-color-line);
}
.wp-block-table:where(:not([class*="font-size"])) {
	font-size: 0.875rem;
}

/* 画像・ボタンのブロック */
.wp-block-image img:not([style*="object-fit"]) {
	height: auto !important;
}
.wp-block-image:where(:not(.alignfull, .alignwide)) {
	max-width: 100%;
}
.wp-block-image figcaption {
	font-size: 0.75rem;
	text-align: center;
}
.aligncenter,
.wp-block-image.aligncenter {
	margin-right: auto;
	margin-left: auto;
}
.wp-block-image.aligncenter {
	display: table;
}
.wp-block-button__link {
	font-size: 1rem;
	transition: all 0.1s ease-in;
}
/* VK のボタンから置き換えたもの（.vk_button）は assets/css/blocks.css で扱う */
.wp-block-button:not(.vk_button) .wp-block-button__link {
	background-color: var(--um-color-key);
}
.wp-block-button:not(.vk_button) .wp-block-button__link,
.wp-block-button:not(.vk_button) .wp-block-button__link:hover {
	color: #fff;
}
.wp-block-buttons .wp-block-button__link {
	border-radius: 4px;
}
.wp-block-post-date time {
	white-space: nowrap;
}

/* フォームの部品 */
input:where(:not([type="checkbox"], [type="radio"])),
select {
	-webkit-appearance: none;
	appearance: none;
}
input[type="button"],
input[type="submit"] {
	-webkit-appearance: button;
	appearance: button;
}
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
	width: 100%;
	margin: 0 0 0.5rem;
	padding: 0.8em 1em;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	background-color: #fff;
	color: #333;
	font-size: 1rem;
}
select:where(:not([multiple]):not([size])) {
	/* 下向きの三角 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpolygon points='0,0 12,0 6,8' fill='%23333'/%3E%3C/svg%3E");
	background-position: right 1em center;
	background-repeat: no-repeat;
	background-size: 0.75em 0.5em;
	padding-right: 2.5em;
}
:where(form) button[type="submit"]:where(:not(.btn, .button)),
input[type="submit"] {
	padding: 0.5em 2em;
	border: 1px solid var(--um-color-key-dark);
	border-radius: 4px;
	background-color: var(--um-color-key);
	color: #fff;
	font-size: 1rem;
}
:where(form) button[type="submit"]:where(:not(.btn, .button)):disabled,
input[type="submit"]:disabled {
	cursor: not-allowed;
}

/* ---------- ブロックの間隔（WordPress の標準の間隔を、切り替え前の詰め方に合わせる） ---------- */
body .container .is-layout-flow > * + *,
body .is-layout-constrained > * + *,
div[class*="wp-container-"] > * + * {
	margin-block-start: unset;
}
body .container .is-layout-flow > * + :where(:not(:is(h1, h2, h3, h4, h5, h6, .vk_button))),
body .is-layout-constrained > * + :where(:not(:is(h1, h2, h3, h4, h5, h6, .vk_button))) {
	margin-block-end: unset;
}
body :is(.is-layout-flow, .is-layout-constrained) > :is(h1, h2, h3, h4, h5, h6) {
	margin-block-end: 1em;
}
/* 要素の指定とクラスの指定は分けて書く（:is() でまとめると、要素の指定までクラスの強さになり、VK Blocks などの指定に勝ってしまう） */
body .container :is(.is-layout-flow, .is-layout-constrained) .wp-block-table:where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) :is(blockquote, dl, iframe, ol, p):where(:not(:last-child)),
body .container :is(.is-layout-flow, .is-layout-constrained) ul:where(:not([class*="wp-block-navigation"])):where(:not(:last-child)) {
	margin-block-end: 1.5rem;
}
.wp-block-column[class*="wp-container-"] > :is(p, ul, ol, dl),
.wp-block-group:where(:not(.is-layout-flex))[class*="wp-container-"] > :is(p, ul, ol, dl) {
	margin-block-start: unset;
	margin-block-end: 1.5rem;
}

/* ---------- 幅いっぱい・幅広のブロック ---------- */
:root {
	--um-width-body: calc(var(--um-container-width) - var(--um-container-padding) * 2);
	--um-width-full: 100svw;
}
.alignfull:where(:not([class*="--base"] .alignfull)),
.alignfull:where(:not([class*="--base"] .alignfull)):is(.vk_slider, .wp-block-image, .wp-block-cover-image, .wp-block-cover) {
	width: auto;
	max-width: var(--um-width-full);
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}
.alignwide:where(:not([class*="--base"] .alignwide)),
.alignwide:where(:not([class*="--base"] .alignwide)):is(.vk_slider, .wp-block-image, .wp-block-cover-image, .wp-block-cover) {
	width: calc(100% + (var(--um-width-full) - 100%) / 2);
	max-width: var(--um-width-full);
	margin-right: calc((100% - var(--um-width-full)) / 4);
	margin-left: calc((100% - var(--um-width-full)) / 4);
}
.is-layout-constrained:where(:not(.alignfull):not(.alignwide)) > .alignfull:where(:not([class*="--base"] .alignfull)) {
	margin-right: calc((var(--um-width-body) - var(--um-width-full)) / 2) !important;
	margin-left: calc((var(--um-width-body) - var(--um-width-full)) / 2) !important;
}
.is-layout-constrained:where(:not(.alignfull):not(.alignwide)) > .alignwide:where(:not([class*="--base"] .alignwide)) {
	margin-right: calc((var(--um-width-body) - var(--um-width-full)) / 4) !important;
	margin-left: calc((var(--um-width-body) - var(--um-width-full)) / 4) !important;
}
/* 幅いっぱいのブロックの中身は、本文の幅にそろえる */
.alignfull div[class*="__inner-container"],
.alignwide div[class*="__inner-container"],
:is(.alignfull, .alignwide):where(:not(.is-layout-flex)) > :is(div[class*="wp-container-"], div[class*="wp-block-"], div[class*="vk_"], .alert, :where(h1, h2, h3, h4, h5, h6)):where(:not(.alignfull, .alignwide, .wp-block-cover__background, .wp-block-cover__image-background, .wp-block-column, .vk_outer, .vk_outer-background-area, .vk_outer-bg-wrapper, .vk_outer-bg-image, .vk_slider_wrapper, .vk_gridcolcard_item, .swiper-wrapper, .swiper-pagination, .is-content-justification-right, .is-content-justification-left)) {
	max-width: var(--um-width-body);
	margin-right: auto;
	margin-left: auto;
}
/* VK Blocks の「背景つきの枠」（本文の置き換えが終わるまで） */
.vk_outer-width-full.vk_outer-paddingLR-none > div > .vk_outer_container {
	max-width: var(--um-container-width);
	margin-right: auto;
	margin-left: auto;
	padding-right: 15px;
	padding-left: 15px;
}
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 8px 16px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: var(--um-color-link);
}

/* 幅をそろえる箱 */
.container {
	width: 100%;
	max-width: var(--um-container-width);
	margin-right: auto;
	margin-left: auto;
}

/* ---------- サイトのヘッダー ---------- */
.site-header {
	position: relative;
	z-index: 1000;
	background-color: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.site-header-container {
	display: block;
	overflow: hidden;
}
.site-header-logo {
	margin: 0 0 7px;
	padding: 7px 0 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.4;
}
.site-header-logo a,
.site-header-logo span {
	display: block;
	color: var(--um-color-link);
	text-decoration: none;
}
.site-header-logo img {
	display: block;
	max-height: 50px;
	width: auto;
}
.global-nav {
	display: none;
}
@media (min-width: 992px) {
	.site-header-container {
		display: flex;
		overflow: visible;
	}
	.site-header-logo {
		flex: 1 1 auto;
		margin: 0 48px 16px 0;
		padding: 17.6px 0 0;
	}
	.site-header-logo a {
		width: fit-content;
	}
	.site-header-logo img {
		max-height: 60px;
	}
	.global-nav {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin-left: auto;
	}
	.global-nav-list {
		position: relative;
		display: flex;
		width: min-content;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.global-nav-list > li {
		position: relative;
		font-size: 12px;
		line-height: 1.4;
		text-align: center;
	}
	.global-nav-list > li > a {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		height: 100%;
		padding: 14px 1.5em;
		color: #444;
		text-decoration: none;
		overflow: hidden;
	}
	.global-nav-name {
		display: block;
		width: 100%;
		font-size: 14px;
		font-weight: 700;
		white-space: nowrap;
	}
	.global-nav-description {
		display: block;
		font-size: 10px;
		line-height: 14px;
		text-align: center;
		white-space: nowrap;
		overflow: hidden;
	}

	/* 下へスクロールしたら、ヘッダーを画面の上に固定する（横幅いっぱい・低めの高さ） */
	body.um-header-fixed {
		padding-top: var(--um-header-height);
	}
	body.um-header-fixed .site-header {
		position: fixed;
		top: 0;
		right: 0;
		left: 0;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
		animation: um-header-drop 0.5s ease-out;
	}
	body.admin-bar.um-header-fixed .site-header {
		top: 32px;
	}
	body.um-header-fixed .site-header-container {
		max-width: 100%;
	}
	body.um-header-fixed .site-header-logo {
		margin: 0 48px 11px 0;
		padding: 11px 0 0;
	}
	body.um-header-fixed .site-header-logo img {
		max-height: 40px;
	}
}
@keyframes um-header-drop {
	from { transform: translateY(-100%); }
	to { transform: translateY(0); }
}

/* ---------- ページの見出し（ページヘッダー） ---------- */
.page-header {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	min-height: 9rem;
	background-color: #fff;
	background-image: var(--um-page-header-bg);
	background-position: center;
	background-size: cover;
	color: var(--um-color-heading);
	text-align: center;
}
.page-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: #fff;
	opacity: 0.9;
}
.page-header-inner {
	position: relative;
	z-index: 5;
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}
.page-header-title {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.4;
}
@media (max-width: 575.98px) {
	.page-header {
		background-image: var(--um-page-header-bg-sp);
	}
}

/* ---------- 本文の枠 ---------- */
:root {
	--um-base-padding: 1.4rem;
	--um-base-padding-side: 1.4rem;
}
@media (min-width: 576px) { :root { --um-base-padding: 1.7rem; --um-base-padding-side: 1.7rem; } }
@media (min-width: 768px) { :root { --um-base-padding: 2rem; --um-base-padding-side: 2rem; } }
@media (min-width: 992px) { :root { --um-base-padding: 2.4rem; --um-base-padding-side: 1.7rem; } }
@media (min-width: 1200px) { :root { --um-base-padding-side: 2rem; } }

.site-body,
.site-body-container,
.main-section,
.sub-section {
	position: relative;
}
.site-body::after,
.site-body-container::after,
.main-section::after,
.sub-section::after {
	content: "";
	display: block;
	clear: both;
}
.site-body {
	padding: 2rem 0;
}
.main-section > :is(div, aside):last-child,
.sub-section > :is(div, aside):last-child {
	margin-bottom: 0;
}
.main-section--with-sub {
	margin-bottom: 2rem;
}
/* PC より狭い幅では、本文の枠の下を空ける（LP など余白を消すページは、下の --margin-off で 0 にする） */
@media (max-width: 992px) {
	.main-section {
		margin-bottom: 2rem;
	}
}
.main-section--base,
.sub-section--base {
	border-radius: 6px;
	background-color: #fff;
	padding: var(--um-base-padding);
}
.sub-section--base {
	padding: var(--um-base-padding) var(--um-base-padding-side);
}
@media (min-width: 768px) {
	.site-body { padding: 2.5rem 0; }
	.site-body--base { padding: 2rem 0 3.5rem; }
}
@media (min-width: 992px) {
	.site-body { padding: 3rem 0 3.5rem; }
	.site-body--base { padding: 2rem 0 3.5rem; }
	.main-section--with-sub { margin-bottom: 3rem; }
	.main-section--col-two {
		float: left;
		width: 66.6%;
	}
	.sub-section--col-two {
		float: right;
		width: calc(var(--um-container-width) * 0.27);
	}
}
@media (min-width: 1200px) {
	.site-body { padding: 3.5rem 0 4rem; }
	.site-body--base { padding: 2rem 0 3.5rem; }
}
/* LP など、上下の余白をなくすページ（画面幅の指定より後に書く） */
.site-body.site-body--padding-off {
	padding-top: 0;
	padding-bottom: 0;
}
.main-section.main-section--margin-off {
	margin-top: 0;
	margin-bottom: 0;
}

/* ウィジェット */
.widget {
	display: block;
	margin-bottom: 2rem;
}
.widget:last-child {
	margin-bottom: 0;
}
.widget::after {
	content: "";
	display: block;
	clear: both;
}

/* 本文 */
.entry-body {
	position: relative;
}
.entry-body::after {
	content: "";
	display: block;
	clear: both;
}

/* 一覧のカテゴリー名 */
.archive-header-title {
	margin: 0 0 1.5rem;
	font-size: 1.5rem;
}

/* 見つからないとき */
.main-section-no-posts p {
	margin: 0;
}

/* ---------- 一覧の1件（トピックスの一覧・検索結果） ---------- */
.um-post-list {
	display: flex;
	flex-direction: column;
	clear: both;
}
.um-post-card {
	display: flex;
	align-items: flex-start;
	padding: 1em 0;
	border-bottom: 1px solid var(--um-color-line);
}
.um-post-card:first-child {
	border-top: 1px solid var(--um-color-line);
}
.um-post-card__img {
	position: relative;
	display: block;
	flex: 0 0 auto;
	width: 35%;
	margin-right: 1rem;
	padding: 1px;
	border: 1px solid #e5e5e5;
	background-position: center 50%;
	background-size: cover;
	overflow: hidden;
}
.um-post-card__img::before,
.um-side-card__img::before {
	content: "";
	display: block;
	padding-top: 62%;
}
.um-post-card__label {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
	padding: 0.7em 1.2em;
	background-color: #999;
	color: #fff;
	font-size: 10px;
}
.um-post-card__body {
	position: relative;
	width: 65%;
	min-width: 0;
	padding-bottom: 45px;
	font-size: 1rem;
}
.um-post-card__title,
.um-side-card__title {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}
/* 追加 CSS の div a:link（リンクを青にする指定）より強くする（元の Lightning のカードと同じく黒） */
.um-post-card__title a,
.um-post-card__title a:is(:link, :visited),
.um-side-card__title a,
.um-side-card__title a:is(:link, :visited) {
	color: #333;
	text-decoration: none;
}
.um-post-card__new {
	margin-left: 0.4em;
	color: red;
	font-size: 0.8em;
	white-space: nowrap;
}
.um-post-card__date {
	display: flex;
	align-items: center;
	gap: 0.4em;
	margin-top: 0.4rem;
	color: #666;
	font-size: 11px;
}
.um-post-card__excerpt {
	margin: 0.8rem 0 0;
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.8;
}
.um-post-card__more {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: right;
}
.um-post-card__btn {
	display: inline-block;
	padding: 0.25rem 1rem;
	border: 1px solid var(--um-color-key-dark);
	border-radius: 2px;
	background-color: var(--um-color-key);
	color: var(--um-color-link);
	font-size: 12px;
	line-height: 1.5;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}
@media (min-width: 576px) {
	.um-post-card {
		padding: 1.5rem 0;
	}
	.um-post-card__img {
		margin-right: 1.4rem;
	}
	.um-post-card__title {
		font-size: 16px;
	}
	.um-post-card__excerpt {
		font-size: 14px;
	}
}
@media (min-width: 992px) {
	.um-post-card {
		padding: 1.8rem 0;
	}
	.um-post-card__img {
		margin-right: 1.8rem;
	}
	.um-post-card__title {
		font-size: 18px;
	}
}

/* ページ送り */
.pagination {
	margin-top: 2rem;
}
.pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
	display: block;
	min-width: 2.4em;
	padding: 0.4em 0.6em;
	border: 1px solid #e5e5e5;
	color: #333;
	text-align: center;
	text-decoration: none;
}
.pagination .page-numbers .current {
	border-color: var(--um-color-key);
	background-color: var(--um-color-key);
	color: #fff;
}

/* ---------- サイトのフッター ---------- */
.site-footer {
	position: relative;
	border-top: 1px solid var(--um-color-key);
	font-size: 12px;
	overflow: hidden;
}
.footer-nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 12px;
}
.footer-nav-list li {
	display: block;
	border-bottom: 1px solid var(--um-color-line);
}
.footer-nav-list a {
	display: block;
	padding: 12px 0;
	color: var(--um-color-link);
	text-decoration: none;
}
@media (min-width: 768px) {
	.footer-nav {
		padding: 1em 0;
		border-bottom: 1px solid var(--um-color-line);
		line-height: 1;
	}
	.footer-nav-list li {
		display: inline-block;
		padding: 0 18px;
		border-bottom: 0;
		border-right: 1px solid rgba(0, 0, 0, 0.12);
	}
	.footer-nav-list li:first-child {
		border-left: 1px solid rgba(0, 0, 0, 0.12);
	}
	.footer-nav-list a {
		display: inline;
		padding: 0;
	}
}
.site-footer-content {
	position: relative;
	display: flow-root; /* ウィジェットの下の余白を、この箱の中に収める */
	padding-top: 3rem;
}
.site-footer-copyright {
	padding: 1rem 0;
}
.site-footer-copyright p {
	margin: 0.5rem;
	font-size: 0.75rem;
	text-align: center;
}

/* ---------- スマホのメニュー ---------- */
.um-menu-btn {
	position: fixed;
	top: 5px;
	right: 5px;
	z-index: 2100;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #333;
	border-radius: 2px;
	background-color: rgba(255, 255, 255, 0.8);
	cursor: pointer;
	/* 三本線 */
	background-image: linear-gradient(#333, #333), linear-gradient(#333, #333), linear-gradient(#333, #333);
	background-repeat: no-repeat;
	background-size: 20px 1.5px;
	background-position: center 9px, center 16px, center 23px;
}
.um-menu-btn[aria-expanded="true"] {
	/* × */
	background-image: none;
}
.um-menu-btn[aria-expanded="true"]::before,
.um-menu-btn[aria-expanded="true"]::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 22px;
	height: 1.5px;
	background-color: #333;
}
.um-menu-btn[aria-expanded="true"]::before {
	transform: translate(-50%, -50%) rotate(45deg);
}
.um-menu-btn[aria-expanded="true"]::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.um-mobile-nav {
	position: fixed;
	top: -2000px;
	left: 0;
	z-index: 2000;
	width: 100%;
	height: 100%;
	padding: 45px 10px;
	border-bottom: 1px solid #e5e5e5;
	background-color: #fff;
	overflow-y: auto;
	transition: top 0.5s ease-out;
}
.um-mobile-nav.is-open {
	top: 0;
}
.um-mobile-nav nav {
	margin-bottom: 1.5em;
}
.um-mobile-nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #ccc;
}
.um-mobile-nav-list li {
	margin: 0;
	line-height: 1.65;
	list-style: none;
}
.um-mobile-nav-list a,
.um-mobile-nav-list a:is(:link, :visited) {
	position: relative;
	display: block;
	padding: 0.7em 0.5em;
	border-bottom: 1px solid #ccc;
	color: #333;
	text-decoration: none;
	overflow: hidden;
}
body.um-mobile-nav-open {
	overflow: hidden;
}
@media (min-width: 992px) {
	.um-menu-btn,
	.um-mobile-nav {
		display: none;
	}
}

/* ---------- ページの先頭へ戻るボタン ---------- */
.um-page-top {
	position: fixed;
	right: 2%;
	bottom: 3%;
	z-index: 99999;
	width: 40px;
	height: 38px;
	background-color: rgba(0, 0, 0, 0.8);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 0 2px rgba(0, 0, 0, 0.8);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}
.um-page-top::before {
	/* 上向きの矢印 */
	content: "";
	position: absolute;
	top: 55%;
	left: 50%;
	width: 10px;
	height: 10px;
	border-top: 1.5px solid #fff;
	border-left: 1.5px solid #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}
.um-page-top.is-visible {
	opacity: 1;
	visibility: visible;
}

/* ---------- トピックスの記事 ---------- */
.um-topics {
	width: 100%;
	max-width: calc(var(--um-container-width) - var(--um-container-padding) * 2);
	margin: 0 auto;
}
/* 記事の上下の余白（画面幅で変わる） */
.um-topics {
	--um-topics-space: 1.5rem;
}
@media (min-width: 576px) { .um-topics { --um-topics-space: 2.5rem; } }
@media (min-width: 992px) { .um-topics { --um-topics-space: 3.5rem; } }
.um-topics__logo {
	margin-top: 1.5rem;
	line-height: 0;
}
.um-topics__logo img {
	width: 120px;
	height: auto;
}
.um-topics__columns {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: var(--um-topics-space) 0;
}
@media (min-width: 782px) {
	.um-topics__columns {
		flex-direction: row;
	}
	.um-topics__main {
		flex: 0 1 70%;
		min-width: 0;
	}
	.um-topics__side {
		flex: 0 1 30%;
		min-width: 0;
	}
}
.um-topics__thumb {
	margin: 0;
}
.um-topics__thumb img {
	display: block;
}
.um-topics__title {
	margin: 0 0 0.375rem;
	color: var(--um-color-heading);
	font-size: 2.2rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.1em;
	text-align: left;
}
.um-topics__date {
	margin: 0 0 2.4rem;
	color: var(--um-color-heading);
}
.um-topics__content > * {
	margin-top: 24px;
	margin-bottom: 0;
}
.um-topics__content > :first-child {
	margin-top: 0;
}
.um-topics__source {
	margin-top: 24px;
	padding: 20px;
	border-radius: 10px;
	background-color: #f0f9ff;
}
.um-topics__source [google-add-preferred-source-btn] {
	margin-top: 24px;
}
.um-topics__source p {
	margin: 0.375rem 0;
	color: var(--um-color-heading);
	font-size: 0.875rem;
}
.um-topics__postnav {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-top: var(--um-topics-space);
}
@media (min-width: 782px) {
	.um-topics__postnav {
		flex-direction: row;
	}
}
.um-topics__postnav-item {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: calc(1.8em * 2 + 24px);
	padding: 12px 14px;
	background-color: #f0f0f0;
	color: var(--um-color-heading);
	font-size: 0.875rem;
	line-height: 1.8;
	text-align: center;
}
/* 前後の記事が無い側は、灰色の箱も出さない */
.um-topics__postnav-item:not(:has(a)) {
	visibility: hidden;
}
@media (max-width: 781.98px) {
	.um-topics__postnav-item:not(:has(a)) {
		display: none;
	}
}
.um-topics__postnav-item a {
	text-decoration: none;
}

/* 右の一覧 */
.um-side-card {
	margin: 0 15px 20px;
	border: 1px solid rgba(0, 0, 0, 0.125);
	border-radius: 4px;
	background-color: #fff;
	overflow: hidden;
}
.um-side-card__img {
	position: relative;
	display: block;
	border-bottom: 1px solid #e5e5e5;
	background-position: center;
	background-size: cover;
}
.um-side-card__body {
	padding: 20px;
}

/* ---------- 画面幅ごとの改行（本文の [br-xs] など。inc/core/content-compat.php） ---------- */
.vk_responsive-br {
	display: none;
}
@media (max-width: 575.98px) { .vk_responsive-br-xs { display: block; } }
@media (min-width: 576px) and (max-width: 767.98px) { .vk_responsive-br-sm { display: block; } }
@media (min-width: 768px) and (max-width: 991.98px) { .vk_responsive-br-md { display: block; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .vk_responsive-br-lg { display: block; } }
@media (min-width: 1200px) and (max-width: 1399.98px) { .vk_responsive-br-xl { display: block; } }
@media (min-width: 1400px) { .vk_responsive-br-xxl { display: block; } }
