:root {
	--mkrt-cyan: #06c4d7;
	--mkrt-cyan-light: #a9e9f2;
	--mkrt-yellow: #e5e500;
	--mkrt-ink: #313131;
	--mkrt-muted: #666;
	--mkrt-card: #fff;
	--mkrt-footer: #d7d7d7;
	--mkrt-max: 1240px;
	--mkrt-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

html {
	scroll-behavior: smooth;
}

body.mkrt-page {
	margin: 0;
	overflow-x: hidden;
	background: var(--mkrt-cyan);
	color: var(--mkrt-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.mkrt-page *,
.mkrt-page *::before,
.mkrt-page *::after {
	box-sizing: border-box;
}

.mkrt-page img {
	max-width: 100%;
	height: auto;
}

.mkrt-page a {
	color: #167e9e;
}

.mkrt-skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 99999;
	padding: 10px 16px;
	background: #fff;
	transform: translateY(-150%);
}

.mkrt-skip-link:focus {
	transform: translateY(0);
}

.mkrt-header {
	background: #fff;
}

.mkrt-nav-wrap {
	background: var(--mkrt-cyan-light);
}

.mkrt-header.has-hero-header {
	position: relative;
}

.mkrt-header.has-hero-header .mkrt-nav-wrap {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 10;
	background: rgb(38 197 216 / var(--mkrt-menu-opacity, 0.56));
	-webkit-backdrop-filter: blur(1px);
	backdrop-filter: blur(1px);
}

.mkrt-navigation {
	max-width: var(--mkrt-max);
	margin: 0 auto;
}

.mkrt-navigation ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mkrt-navigation li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mkrt-navigation a {
	display: flex;
	min-height: var(--mkrt-menu-height, 50px);
	align-items: center;
	padding: 0 16px;
	color: rgba(255, 255, 255, 0.96);
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}

.mkrt-navigation a:hover,
.mkrt-navigation a:focus-visible {
	background: var(--mkrt-menu-hover, #e5e500);
	color: #222;
}

.mkrt-navigation a.is-current,
.mkrt-navigation .current-menu-item > a,
.mkrt-navigation .current_page_item > a,
.mkrt-navigation .current-page-ancestor > a {
	background: var(--mkrt-menu-active, #e5e500);
	color: #1f1f1f;
}

.mkrt-nav-toggle {
	display: none;
	width: 100%;
	min-height: 54px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	background: var(--mkrt-cyan-light);
	color: #222;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.mkrt-brand-band {
	position: relative;
	display: flex;
	max-width: var(--mkrt-max);
	min-height: 340px;
	align-items: center;
	margin: 0 auto;
	padding: 42px 16px;
	overflow: hidden;
}

.mkrt-brand-band.has-hero-image {
	max-width: none;
	width: 100%;
	height: var(--mkrt-hero-height-desktop, 445px);
	min-height: 0;
	padding: 0;
	background: #d8eef1;
}

.mkrt-page .mkrt-hero-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 50% var(--mkrt-hero-position-y, 65%);
}

.mkrt-brand-inner {
	position: relative;
	z-index: 1;
	display: flex;
	width: 100%;
	max-width: var(--mkrt-max);
	align-items: center;
	margin: 0 auto;
}

.mkrt-brand-band.has-hero-image .mkrt-brand-inner {
	align-self: stretch;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	padding: 66px 16px 24px;
}

.mkrt-brand-band.has-hero-image .mkrt-brand {
	width: 140px;
	height: 140px;
	justify-content: center;
	padding: 14px;
	background: #050505;
	box-shadow: none;
}

.mkrt-brand-band.has-hero-image .mkrt-brand img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.mkrt-brand-title {
	display: block;
	margin-top: 10px;
	color: #fff;
	font-size: clamp(1.8rem, 2.3vw, 2.65rem);
	font-weight: 400;
	line-height: 1.25;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.mkrt-brand {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.mkrt-brand img {
	display: block;
	max-width: 140px;
	max-height: 140px;
	object-fit: contain;
}

.mkrt-logo-fallback {
	display: inline-flex;
	width: 140px;
	height: 140px;
	align-items: center;
	justify-content: center;
	background: #050505;
	font-size: 58px;
	font-weight: 800;
	font-style: italic;
	letter-spacing: -14px;
}

.mkrt-logo-fallback i {
	color: #00e4f4;
	font-style: inherit;
}

.mkrt-logo-fallback b {
	color: #f0e600;
	font-weight: inherit;
}

.mkrt-logo-small {
	width: 72px;
	height: 72px;
	font-size: 29px;
	letter-spacing: -7px;
}

.mkrt-background {
	min-height: 60vh;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
	background: var(--mkrt-cyan);
}

.mkrt-layout {
	display: grid;
	grid-template-columns: minmax(0, 860px) minmax(260px, 340px);
	gap: 28px;
	max-width: var(--mkrt-max);
	align-items: start;
	margin: 0 auto;
	padding: 0 16px 64px;
	transform: translateY(-20px);
}

.mkrt-layout > * {
	min-width: 0;
}

.mkrt-card {
	background: var(--mkrt-card);
	box-shadow: var(--mkrt-shadow);
}

.mkrt-main {
	min-height: 540px;
	padding: clamp(24px, 4vw, 54px);
}

.mkrt-sidebar {
	padding: 34px 28px;
}

.mkrt-sidebar-brand {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: center;
	margin-bottom: 28px;
}

.mkrt-sidebar-brand img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.mkrt-sidebar h2 {
	margin: 0 0 10px;
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1.35;
}

.mkrt-sidebar section + section {
	margin-top: 28px;
}

.mkrt-sidebar p {
	margin: 0;
	color: var(--mkrt-muted);
}

.mkrt-page-title {
	margin: 0 0 32px;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	line-height: 1.3;
}

.mkrt-entry-content h2 {
	margin: 2.1em 0 0.65em;
	padding-top: 0.65em;
	border-top: 1px solid #d5d5d5;
	font-size: clamp(1.75rem, 4vw, 2.65rem);
	font-weight: 500;
	line-height: 1.35;
}

.mkrt-entry-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.mkrt-entry-content h3 {
	margin: 1.5em 0 0.5em;
	font-size: clamp(1.3rem, 3vw, 1.85rem);
	font-weight: 500;
}

.mkrt-entry-content {
	min-width: 0;
	overflow-wrap: anywhere;
}

.mkrt-entry-content iframe,
.mkrt-entry-content video,
.mkrt-entry-content embed,
.mkrt-entry-content object {
	max-width: 100%;
}

.mkrt-entry-content .wp-block-table {
	overflow-x: auto;
}

.mkrt-entry-content .wp-block-button__link,
.mkrt-entry-content button,
.mkrt-entry-content input[type="submit"] {
	border: 0;
	border-radius: 2px;
	background: #248eb1;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.mkrt-entry-content .wp-block-gallery,
.mkrt-entry-content figure {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.mkrt-featured-image {
	margin: 0 0 32px;
}

.mkrt-image-placeholder {
	display: grid;
	min-height: 180px;
	place-items: center;
	padding: 28px;
	border: 2px dashed #9da8ab;
	background: #f3f6f7;
	color: #616a6d;
	text-align: center;
}

.mkrt-social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.mkrt-social-links a {
	display: inline-flex;
	min-width: 92px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	background: #248eb1;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.mkrt-social-links .mkrt-x-link {
	min-width: 56px;
	background: #050505;
	font-size: 1.3rem;
}

.mkrt-footer {
	background: var(--mkrt-footer);
	color: #4b4b4b;
}

.mkrt-footer > div {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	max-width: var(--mkrt-max);
	margin: 0 auto;
	padding: 34px 16px;
}

.mkrt-footer a {
	margin-left: auto;
	color: inherit;
}

@media (max-width: 900px) {
	.mkrt-nav-toggle {
		display: flex;
	}

	.mkrt-navigation {
		display: none;
	}

	.mkrt-navigation.is-open {
		display: block;
	}

	.mkrt-navigation ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.mkrt-navigation a {
		min-height: 50px;
		justify-content: center;
		padding: 8px 12px;
	}

	.mkrt-brand-band {
		min-height: 220px;
		justify-content: center;
	}

	.mkrt-brand-band.has-hero-image {
		height: clamp(var(--mkrt-hero-height-mobile, 280px), 48vw, var(--mkrt-hero-height-desktop, 445px));
		min-height: 0;
	}

	.mkrt-brand-band.has-hero-image .mkrt-brand {
		width: 110px;
		height: 110px;
	}

	.mkrt-brand-title {
		font-size: clamp(1.55rem, 4vw, 2rem);
	}

	.mkrt-layout {
		grid-template-columns: 1fr;
		padding-bottom: 40px;
		transform: none;
	}

	.mkrt-sidebar {
		box-shadow: none;
	}
}

@media (max-width: 520px) {
	.mkrt-navigation ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mkrt-navigation a {
		min-height: 44px;
		padding: 6px 8px;
		font-size: 13px;
	}

	.mkrt-brand-band {
		min-height: 170px;
	}

	.mkrt-brand-band.has-hero-image {
		height: var(--mkrt-hero-height-mobile, 280px);
		min-height: 0;
	}

	.mkrt-brand-band.has-hero-image .mkrt-brand-inner {
		justify-content: flex-end;
		padding: 72px 12px 18px;
	}

	.mkrt-brand-band.has-hero-image .mkrt-brand {
		width: 82px;
		height: 82px;
		padding: 9px;
	}

	.mkrt-brand-title {
		margin-top: 7px;
		font-size: 1.25rem;
	}

	.mkrt-brand img,
	.mkrt-logo-fallback {
		width: 105px;
		height: 105px;
	}

	.mkrt-main,
	.mkrt-sidebar {
		padding: 24px 20px;
	}

	.mkrt-layout {
		padding-right: 10px;
		padding-left: 10px;
	}

	.mkrt-footer > div {
		display: grid;
	}

	.mkrt-footer a {
		margin-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.mkrt-navigation a {
		transition: none;
	}
}
