/* ============================================
   迷子猫掲示板 (Maigo Board) フロント用スタイル
   ============================================ */

/* ---- 通知 ---- */
.mb-notice { padding: 14px 16px; border-radius: 8px; margin: 16px 0; line-height: 1.7; }
.mb-notice ul { margin: 8px 0 0 1.2em; }
.mb-notice-success { background: #e8f7ee; border: 1px solid #34a862; color: #1c6b3d; }
.mb-notice-error { background: #fdecec; border: 1px solid #d84a4a; color: #9b2222; }
.mb-notice-warn { background: #fff7e0; border: 1px solid #e0a800; color: #7a5c00; }

/* ---- 掲示板サイトを1カラム化 ---- */
body.wp-theme-syn-ownd .container.main.has-sidebar {
	display: block;
}

/* ---- Blog footer link ---- */
.mb-blog-footer-link {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: center;
	padding: 20px max(20px, calc((100% - 1180px) / 2));
	background: linear-gradient(135deg, #075f93, #087faa);
	color: #fff;
	text-align: center;
}
.mb-blog-footer-link p {
	margin: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}
.mb-blog-footer-link a {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	color: #fff !important;
	font-weight: 800;
	text-decoration: none !important;
	transition: background-color .18s ease, transform .18s ease;
}
.mb-blog-footer-link a:hover {
	background: rgba(255, 255, 255, .24);
	transform: translateY(-1px);
}
@media (max-width: 600px) {
	.mb-blog-footer-link {
		flex-direction: column;
		gap: 11px;
		padding: 20px 16px;
	}
	.mb-blog-footer-link a {
		justify-content: center;
		width: min(100%, 320px);
	}
}

/* ---- Homepage first view (Custom HTML widget) ---- */
.mb-firstview {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: min(1180px, calc(100% - 40px));
	min-height: 400px;
	margin: 0 auto 24px;
	overflow: hidden;
	border: 1px solid rgba(7, 95, 147, .12);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 14px 38px rgba(27, 67, 88, .13);
	color: #26333d;
}
.mb-firstview.is-hidden { display: none !important; }
.mb-firstview__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3vw, 44px);
	background:
		radial-gradient(circle at 5% 5%, rgba(8, 139, 183, .11), transparent 42%),
		linear-gradient(145deg, #fff 0%, #f3fbff 100%);
}
.mb-firstview__eyebrow {
	margin: 0 0 14px;
	color: #087b9f;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
}
.mb-firstview h2 {
	margin: 0;
	color: #1f313a;
	font-size: clamp(25px, 1.9vw, 34px);
	line-height: 1.48;
	letter-spacing: .015em;
}
.mb-firstview h2 span,
.mb-firstview h2 strong { display: block; }
.mb-firstview h2 strong {
	color: #075f93;
	font-weight: 900;
}
.mb-firstview__lead {
	margin: 20px 0 0;
	font-size: clamp(17px, 1.4vw, 21px);
	font-weight: 700;
	line-height: 1.7;
}
.mb-firstview__lead em {
	color: #e45b49;
	font-style: normal;
	font-weight: 900;
}
.mb-firstview__button {
	align-self: flex-start;
	padding: 13px 22px;
	margin-top: 25px;
	border-radius: 999px;
	background: #e85f4b;
	box-shadow: 0 7px 18px rgba(232, 95, 75, .24);
	color: #fff !important;
	font-weight: 800;
	line-height: 1.5;
	text-decoration: none !important;
	transition: transform .18s ease, background-color .18s ease;
}
.mb-firstview__button:hover {
	background: #ce4938;
	transform: translateY(-2px);
}
.mb-firstview__visual {
	min-width: 0;
	background: #eee4d7;
}
.mb-firstview__visual img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 400px;
	object-fit: cover;
	object-position: center center;
}
@media (max-width: 600px) {
	.mb-firstview {
		grid-template-columns: 1fr;
		width: calc(100% - 24px);
		min-height: 0;
		margin-bottom: 18px;
		border-radius: 17px;
	}
	.mb-firstview__visual {
		grid-row: 1;
		aspect-ratio: 3 / 2;
	}
	.mb-firstview__visual img {
		height: 100%;
		min-height: 0;
		object-position: center center;
	}
	.mb-firstview__copy {
		grid-row: 2;
		padding: 25px 22px 28px;
	}
	.mb-firstview__eyebrow { margin-bottom: 10px; font-size: 12px; }
	.mb-firstview h2 { font-size: clamp(23px, 7.2vw, 29px); line-height: 1.48; }
	.mb-firstview__lead { margin-top: 15px; font-size: 16px; }
	.mb-firstview__button {
		align-self: stretch;
		margin-top: 19px;
		text-align: center;
	}
}
body.wp-theme-syn-ownd .container.main.has-sidebar > .main-content,
body.wp-theme-syn-ownd .container.main.has-sidebar > .main-content > .main-content__inner {
	width: 100%;
	max-width: none;
}
body.wp-theme-syn-ownd .container.main.has-sidebar > .sidebar {
	display: none !important;
}

/* ---- トップページは行政案内を一覧見出しより先に表示 ---- */
body.home.wp-theme-syn-ownd .main-content__inner {
	display: flex;
	flex-direction: column;
}
body.home.wp-theme-syn-ownd .entry__main,
body.home.wp-theme-syn-ownd .post-content {
	display: contents;
}
body.home.wp-theme-syn-ownd .mb-home-actions {
	order: 0;
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 18px;
}
.mb-home-action {
	display: flex;
	min-height: 92px;
	flex-direction: column;
	justify-content: center;
	padding: 18px 22px;
	border-radius: 15px;
	color: #fff !important;
	text-decoration: none;
	box-shadow: 0 5px 16px rgba(30, 57, 72, .12);
	transition: transform .15s ease, opacity .15s ease;
}
.mb-home-action:hover {
	color: #fff !important;
	opacity: .92;
	transform: translateY(-2px);
}
.mb-home-action span {
	font-size: 13px;
	font-weight: 700;
	opacity: .9;
}
.mb-home-action .mb-home-action-benefit {
	align-self: flex-start;
	padding: 5px 9px;
	margin-top: 8px;
	border: 1px solid rgba(255, 255, 255, .72);
	border-radius: 8px;
	background: rgba(255, 255, 255, .14);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.45;
	opacity: 1;
}
.mb-home-action strong {
	margin-top: 7px;
	font-size: clamp(18px, 2.1vw, 24px);
	line-height: 1.45;
}
.mb-home-action-lost { background: linear-gradient(135deg, #d84a4a, #ea6b45); }
.mb-home-action-report { background: linear-gradient(135deg, #087f75, #0aa3a0); }
body.home.wp-theme-syn-ownd .mb-directory-guide {
	order: 1;
	margin-top: 0;
	width: 100%;
}
body.home.wp-theme-syn-ownd .entry__head {
	order: 2;
}
body.home.wp-theme-syn-ownd .mb-list {
	order: 3;
	margin-top: 0;
	width: 100%;
}
.mb-list-heading {
	display: none;
}

/* ---- バッジ ---- */
.mb-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; line-height: 1.6; }
.mb-badge-searching { background: #d84a4a; }
.mb-badge-rescued { background: #34a862; }
.mb-badge-sheltering { background: #7d8fa3; }
.mb-badge-info { background: #3b82c4; }
.mb-badge-resolved, .mb-badge-none { background: #9aa3ad; }

/* ---- フォーム ---- */
.mb-form, .mb-sighting-form { background: #fafafa; border: 1px solid #e3e3e3; border-radius: 10px; padding: 20px; margin: 20px 0; }
.mb-form-head { font-weight: 600; }
.mb-field { margin: 14px 0; }
.mb-field label { display: block; font-weight: 600; font-size: 14px; }
.mb-field input[type="text"],
.mb-field input[type="email"],
.mb-field input[type="date"],
.mb-field select,
.mb-field textarea { display: block; width: 100%; max-width: 480px; margin-top: 6px; padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; box-sizing: border-box; background: #fff; }
.mb-field textarea { max-width: 100%; }
.mb-req { color: #d84a4a; font-size: 12px; font-weight: 700; margin-left: 4px; }
.mb-hint { font-size: 13px; color: #666; }
.mb-radio { display: inline-block; margin-right: 18px; font-weight: 600; }
.mb-agree label { font-weight: 400; }
fieldset.mb-field { border: 1px solid #ddd; border-radius: 8px; padding: 12px 16px; }
fieldset.mb-field legend { font-weight: 700; font-size: 14px; padding: 0 6px; }

/* ハニーポット（人間には見せない） */
.mb-hp { position: absolute !important; left: -9999px !important; height: 1px; overflow: hidden; }

.mb-submit { display: inline-block; background: #e8712f; color: #fff; font-size: 17px; font-weight: 700; padding: 14px 32px; border: none; border-radius: 999px; cursor: pointer; }
.mb-submit:hover { opacity: 0.9; }

/* ---- 投稿詳細 ---- */
.mb-single-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mb-date { font-size: 14px; color: #555; }

/* Keep the featured image comfortable to view on individual cat pages. */
body.single-maigo_post .entry__head > img.entry__thumb.wp-post-image {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: min(100%, 760px) !important;
	max-height: min(72vh, 720px) !important;
	margin-right: auto;
	margin-left: auto;
	object-fit: contain;
	border-radius: 10px;
}

.mb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 8px; margin: 14px 0; }
.mb-gallery a { display: block; min-width: 0; border: 3px solid transparent; border-radius: 10px; }
.mb-gallery a:hover,
.mb-gallery a:focus-visible { border-color: #e8712f; outline: none; }
.mb-gallery a[aria-current="true"] { border-color: #e8712f; }
.mb-gallery img { width: 100% !important; height: 180px !important; object-fit: cover; border-radius: 8px; display: block; }

.mb-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.mb-table th { width: 32%; background: #f5f5f5; text-align: left; padding: 9px 12px; border: 1px solid #e3e3e3; }
.mb-table td { padding: 9px 12px; border: 1px solid #e3e3e3; }

.mb-description h2, .mb-sightings h2, .mb-cta h2 { font-size: 19px; border-left: 5px solid #e8712f; padding-left: 10px; margin: 28px 0 12px; }

/* ---- 目撃情報 ---- */
.mb-sighting-list { list-style: none; padding: 0; margin: 0 0 16px; }
.mb-sighting-list li { background: #f2f8fd; border: 1px solid #cfe3f3; border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.mb-sighting-meta { font-size: 12px; color: #557; margin-bottom: 6px; }
.mb-sighting-body { font-size: 14px; line-height: 1.7; }
.mb-map-label { font-weight: 600; font-size: 14px; }
.mb-sighting-map-picker { width: 100%; height: 360px; margin-top: 10px; border: 1px solid #ccd4dc; border-radius: 10px; overflow: hidden; background: #eef2f5; z-index: 0; }
.mb-sighting-map-picker:focus { outline: 3px solid rgba(232, 113, 47, 0.35); outline-offset: 2px; }
.mb-map-status { margin: 8px 0 0; font-size: 13px; color: #555; }
.mb-map-status.is-selected { color: #1c6b3d; font-weight: 700; }
.mb-map-status.is-error { color: #9b2222; font-weight: 700; }
.mb-sighting-pin { width: 24px !important; height: 24px !important; margin: -12px 0 0 -12px !important; border: 4px solid #fff; border-radius: 50%; background: #d84a4a; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); }
.mb-sighting-map-preview { margin-top: 16px; }
.mb-sighting-map-preview iframe { display: block; width: 100%; height: 280px; margin-top: 8px; border: 0; border-radius: 10px; }
.mb-sighting-map-result { margin-top: 12px; }
.mb-sighting-map-result iframe { display: block; width: 100%; height: 300px; border: 0; border-radius: 10px; }
.mb-sighting-map-result p { margin: 8px 0 0; }

/* ---- CTA ---- */
.mb-cta { background: #fff6ef; border: 1px solid #f3c9a8; border-radius: 10px; padding: 16px 20px; margin: 24px 0; }
.mb-cta ul { margin: 8px 0 0 1.2em; }
.mb-cta li { margin: 6px 0; }

/* ---- 一覧 ---- */
.mb-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.mb-filter select { padding: 8px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; background: #fff; }
.mb-filter button { padding: 8px 20px; background: #333; color: #fff; border: none; border-radius: 6px; cursor: pointer; }

.mb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 16px 0; }
.mb-card { display: block; border: 1px solid #e3e3e3; border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: box-shadow 0.15s; }
.mb-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12); }
.mb-card-img { position: relative; overflow: hidden; }
.mb-card-img img { width: 100%; height: 170px; object-fit: cover; display: block; }
.mb-card-noimg { height: 170px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #999; font-size: 13px; }
.mb-pro-rescue-badge {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 2;
	padding: 7px 5px;
	background: #f47b20;
	box-shadow: 0 2px 7px rgba(74, 35, 17, 0.2);
	color: #fff;
	font-size: 11.5px;
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}
.mb-card-body { padding: 12px 14px; }
.mb-card-title { color: #1f313a; font-size: 15px; font-weight: 800; line-height: 1.5; margin: 8px 0 6px; }
.mb-card-meta { font-size: 12.5px; color: #666; margin: 0; }

.mb-pagination { display: flex; gap: 6px; justify-content: center; margin: 22px 0; }
.mb-pagination a, .mb-page-current { padding: 7px 13px; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; }
.mb-page-current { background: #e8712f; color: #fff; border-color: #e8712f; }

.mb-empty { text-align: center; color: #777; padding: 30px 0; }

/* ---- 迷子猫の届け出・相談窓口 ---- */
.mb-support { --mb-support-blue: #075f93; --mb-support-sky: #eaf7ff; --mb-support-orange: #e8712f; color: #26333d; line-height: 1.8; }
.mb-support * { box-sizing: border-box; }
.mb-support h2 { margin: 30px 0 14px; font-size: clamp(21px, 3vw, 28px); line-height: 1.45; }
.mb-support h3 { margin: 8px 0; font-size: 19px; line-height: 1.5; }
.mb-support-hero { padding: clamp(22px, 5vw, 42px); margin: 12px 0 28px; border-radius: 18px; background: linear-gradient(135deg, #075f93, #078bb7); color: #fff; box-shadow: 0 10px 30px rgba(7, 95, 147, 0.18); }
.mb-support-hero h2 { margin: 5px 0 10px; color: #fff; font-size: clamp(25px, 4.5vw, 38px); }
.mb-support-hero p { margin: 0; }
.mb-support-kicker { font-size: 14px; font-weight: 800; letter-spacing: .04em; opacity: .95; }
.mb-support-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: support-step; }
.mb-support-steps li { position: relative; padding: 20px 18px 18px 62px; border: 1px solid #cfe7f5; border-radius: 14px; background: #fff; box-shadow: 0 4px 16px rgba(28, 78, 107, .07); counter-increment: support-step; }
.mb-support-steps li::before { content: counter(support-step); position: absolute; top: 18px; left: 16px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--mb-support-blue); color: #fff; font-weight: 800; }
.mb-support-steps strong, .mb-support-steps span { display: block; }
.mb-support-steps span { margin-top: 5px; color: #536572; font-size: 14px; }
.mb-pref-region { padding-top: 8px; }
.mb-pref-region h2 { padding-bottom: 8px; border-bottom: 3px solid #d7edf8; }
.mb-pref-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mb-pref-grid a { display: flex; justify-content: space-between; align-items: center; padding: 13px 15px; border: 1px solid #cbdde7; border-radius: 10px; background: #fff; color: #075f93; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.mb-pref-grid a:hover, .mb-pref-grid a:focus-visible { transform: translateY(-1px); border-color: #078bb7; box-shadow: 0 5px 14px rgba(7, 95, 147, .12); }
.mb-pref-grid a span { font-size: 23px; line-height: 1; }
.mb-support-note, .mb-support-disclaimer { padding: 18px 20px; margin: 28px 0; border-radius: 12px; background: #f5f8fa; color: #4f606b; font-size: 14px; }
.mb-support-note h2 { margin-top: 0; font-size: 19px; }
.mb-support-verified { color: #687984; font-size: 12.5px; }
.mb-support-back { margin-bottom: 12px; }
.mb-support-back a { color: #075f93; font-weight: 700; text-decoration: none; }
.mb-urgent-box { padding: 16px 18px; margin: 20px 0 28px; border: 1px solid #edb6b6; border-left: 6px solid #d84a4a; border-radius: 10px; background: #fff4f4; color: #702727; }
.mb-urgent-box p { margin: 5px 0 0; }
.mb-contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mb-contact-card { position: relative; padding: 22px 18px 18px; border: 1px solid #d5e0e7; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(33, 62, 78, .06); }
.mb-contact-primary { border: 2px solid #078bb7; background: #f2fbff; }
.mb-contact-number { display: grid; width: 32px; height: 32px; place-items: center; margin-bottom: 8px; border-radius: 50%; background: var(--mb-support-blue); color: #fff; font-weight: 800; }
.mb-contact-dept { min-height: 3.6em; color: #40535f; font-size: 14px; }
.mb-call-button, .mb-official-button { display: block; padding: 11px 13px; margin: 12px 0; border-radius: 9px; text-align: center; font-weight: 800; text-decoration: none; }
.mb-call-button { background: #e8712f; color: #fff !important; }
.mb-official-button { border: 2px solid #075f93; color: #075f93 !important; background: #fff; }
.mb-contact-help { color: #596b77; font-size: 13px; }
.mb-official-links { padding: 2px 0 6px; }
.mb-official-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mb-official-grid a { display: block; padding: 16px; border: 1px solid #bcdceb; border-radius: 12px; background: #f3fbff; color: #075f93; text-decoration: none; }
.mb-official-grid strong, .mb-official-grid span { display: block; }
.mb-official-grid span { margin-top: 5px; color: #5a6c77; font-size: 13px; }
.mb-prepare-list, .mb-search-tips { padding: 2px 0; }
.mb-prepare-list ul, .mb-search-tips ul { padding-left: 1.25em; }
.mb-prepare-list li, .mb-search-tips li { margin: 7px 0; }
.mb-action-panel { padding: 22px; margin: 28px 0; border: 1px solid #f2c39e; border-radius: 15px; background: #fff7f0; }
.mb-action-panel h2 { margin-top: 0; }
.mb-action-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.mb-action-buttons a { padding: 13px 20px; border-radius: 999px; font-weight: 800; text-decoration: none; }
.mb-action-main { background: #e8712f; color: #fff !important; }
.mb-action-sub { border: 2px solid #e8712f; background: #fff; color: #b84f18 !important; }
.mb-directory-guide { display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 16px 18px; margin: 0 0 22px; border: 1px solid #bcdceb; border-left: 6px solid #078bb7; border-radius: 12px; background: #f2fbff; }
.mb-directory-guide strong, .mb-directory-guide span { display: block; }
.mb-directory-guide span { margin-top: 3px; color: #526773; font-size: 13px; }
.mb-directory-guide a { flex: 0 0 auto; padding: 10px 16px; border-radius: 999px; background: #075f93; color: #fff !important; font-weight: 800; text-decoration: none; }
.mb-submit-complete { margin: 12px 0 28px; }
.mb-submit-complete .mb-notice { margin-bottom: 18px; }
.mb-submit-complete .mb-notice p { margin: 7px 0 0; }
.mb-after-submit { padding: clamp(22px, 5vw, 34px); border: 2px solid #078bb7; border-radius: 16px; background: linear-gradient(135deg, #f2fbff, #fff); color: #26333d; }
.mb-after-submit-step { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #078bb7; color: #fff; font-size: 13px; font-weight: 800; }
.mb-after-submit h2 { margin: 12px 0 10px; color: #075f93; font-size: clamp(24px, 4vw, 32px); line-height: 1.45; }
.mb-after-submit p { line-height: 1.85; }
.mb-after-submit-button { display: inline-block; padding: 13px 22px; margin-top: 8px; border-radius: 999px; background: #075f93; color: #fff !important; font-weight: 800; text-decoration: none; }
.mb-after-submit-button:hover { background: #064b73; color: #fff !important; }
.mb-after-submit-note { margin: 12px 0 0; color: #526773; font-size: 13px; }

/* ---- UTAGE登録後に掲載フォームを渡す入口 ---- */
.mb-form-safety-intro { padding: 16px 19px; margin: 0 0 20px; border-left: 5px solid #078bb7; border-radius: 10px; background: #eef9fd; color: #29424f; line-height: 1.75; }
.mb-form-safety-intro strong { display: block; margin-bottom: 3px; color: #075f93; }
.mb-form-safety-intro p { margin: 0; }
.mb-report-accuracy-intro { padding: 16px 19px; margin: 14px 0 22px; border-left: 5px solid #149b91; border-radius: 10px; background: #eefaf8; color: #294744; line-height: 1.75; }
.mb-report-accuracy-intro strong { display: block; margin-bottom: 3px; color: #08766e; }
.mb-report-accuracy-intro p { margin: 0; }
.mb-entry-gate { color: #26333d; line-height: 1.8; }
.mb-entry-gate-head { padding: clamp(22px, 5vw, 38px); margin: 12px 0 22px; border-radius: 18px; background: linear-gradient(135deg, #075f93, #078bb7); color: #fff; }
.mb-entry-gate-head h2 { margin: 5px 0 10px; color: #fff; font-size: clamp(25px, 4vw, 36px); line-height: 1.45; }
.mb-entry-gate-head p { margin: 0; }
.mb-entry-kicker { font-weight: 800; font-size: 14px; }
.mb-entry-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.mb-entry-options article { padding: 24px; border: 1px solid #d5e0e7; border-radius: 15px; background: #fff; box-shadow: 0 5px 18px rgba(33, 62, 78, .07); text-align: center; }
.mb-entry-options h3 { margin: 10px 0 5px; font-size: 22px; }
.mb-entry-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto; border-radius: 50%; background: #eaf7ff; color: #075f93; font-size: 25px; font-weight: 900; }
.mb-entry-line-icon { background: #06c755; color: #fff; font-size: 13px; }
.mb-entry-options a { display: block; padding: 13px 16px; margin-top: 15px; border-radius: 999px; color: #fff !important; font-weight: 800; text-decoration: none; }
.mb-entry-email { background: #075f93; }
.mb-entry-line { background: #06c755; }
.mb-entry-notice { padding: 17px 19px; margin: 22px 0; border-radius: 12px; background: #f5f8fa; color: #53636e; font-size: 13px; }
.mb-entry-notice p { margin: 5px 0 0; }

.mb-rescue-photo { margin: 28px 0; }
.mb-rescue-photo h2 { margin-bottom: 14px; }
.mb-rescue-photo-image {
	display: block;
	width: auto;
	max-width: min(100%, 760px);
	max-height: 680px;
	margin: 0 auto;
	border-radius: 12px;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12);
	object-fit: contain;
}

/* ---- スマホ ---- */
@media (max-width: 600px) {
	body.home.wp-theme-syn-ownd .entry__main,
	body.home.wp-theme-syn-ownd .post-content {
		display: block !important;
		width: 100% !important;
	}

	/* Keep the first listing visible without a long promotional area above it. */
	body.home.wp-theme-syn-ownd .widget-front-before {
		display: none !important;
		height: 0 !important;
		min-height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	body.home.wp-theme-syn-ownd .main-content__inner {
		padding-top: 7px;
		padding-bottom: 12px;
	}
	body.home.wp-theme-syn-ownd .mb-home-actions {
		display: none !important;
	}
	.mb-home-action {
		min-height: 0;
		justify-content: flex-start;
		padding: 11px 12px;
		border-radius: 11px;
		box-shadow: 0 3px 10px rgba(30, 57, 72, .1);
	}
	.mb-home-action strong {
		margin-top: 0;
		font-size: 15px;
		line-height: 1.35;
	}
	.mb-home-action span {
		font-size: 11px;
		line-height: 1.4;
	}
	.mb-home-action .mb-home-action-benefit {
		align-self: stretch;
		padding: 4px 6px;
		margin-top: 6px;
		border-radius: 6px;
		font-size: 10.5px;
		line-height: 1.35;
	}
	body.home.wp-theme-syn-ownd .mb-directory-guide {
		display: none !important;
	}
	body.home.wp-theme-syn-ownd .mb-directory-guide strong {
		font-size: 12px;
		line-height: 1.4;
	}
	body.home.wp-theme-syn-ownd .mb-directory-guide span {
		display: none;
	}
	body.home.wp-theme-syn-ownd .mb-directory-guide a {
		display: block;
		padding: 7px 9px;
		margin-top: 0;
		font-size: 11px;
		line-height: 1.35;
		text-align: center;
	}
	body.home.wp-theme-syn-ownd .entry__head {
		display: none !important;
	}
	.mb-list-heading {
		display: block;
		margin: 5px 0 9px;
		color: #111;
		font-size: 19px;
		line-height: 1.4;
	}
	.mb-filter {
		display: none !important;
	}
	.mb-filter select {
		flex: 0 0 132px;
		min-width: 132px;
		padding: 7px;
		font-size: 13px;
	}
	.mb-filter button {
		flex: 0 0 auto;
		padding: 7px 14px;
		white-space: nowrap;
	}
	.mb-grid {
		grid-template-columns: 1fr;
		gap: 7px;
		margin: 3px 0 10px;
	}
	.mb-card {
		display: block;
		border-radius: 8px;
		box-shadow: 0 2px 8px rgba(25, 52, 67, .07);
	}
	.mb-card-body {
		display: block;
		order: initial;
		padding: 9px 11px 10px;
		border-bottom: 1px solid #e9eef1;
	}
	.mb-card-title {
		order: initial;
		margin: 0 0 6px;
		color: #152e3a;
		font-size: 16px;
		line-height: 1.45;
	}
	.mb-card-body .mb-badge {
		align-self: flex-start;
		margin-bottom: 5px;
		font-size: 12px;
	}
	.mb-card-meta {
		margin: 5px 0 0;
		line-height: 1.55;
	}
	.mb-card-img {
		display: flex;
		height: clamp(220px, 62vw, 310px);
		align-items: center;
		justify-content: center;
		background: #f5f5f5;
	}
	.mb-card-img img {
		width: 100%;
		height: 100%;
		max-height: 100%;
		object-fit: contain;
	}
	body.single-maigo_post .entry__head > img.entry__thumb.wp-post-image {
		width: 100% !important;
		max-width: 100% !important;
		max-height: 72svh !important;
	}
	.mb-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.mb-gallery img { width: 100% !important; height: 110px !important; }
	.mb-sighting-map-picker { height: 300px; }
	.mb-sighting-map-preview iframe { height: 240px; }
	.mb-sighting-map-result iframe { height: 260px; }
	.mb-table th { width: 38%; font-size: 13.5px; }
	.mb-support-steps, .mb-contact-cards, .mb-official-grid { grid-template-columns: 1fr; }
	.mb-pref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mb-support-hero { border-radius: 14px; }
	.mb-contact-dept { min-height: 0; }
	.mb-action-buttons { display: grid; }
	.mb-action-buttons a { text-align: center; }
	.mb-after-submit-button { display: block; text-align: center; }
	.mb-entry-options { grid-template-columns: 1fr; }
	.mb-entry-gate-head { border-radius: 14px; }
}
