:root {
	--bm-ink: #0d0e10;
	--bm-paper: #f2f0e9;
	--bm-paper-2: #e7e3d8;
	--bm-red: #e1251b;
	--bm-muted: #5c5a55;
	--bm-line: rgba(13, 14, 16, 0.14);
	--bm-font: "Noto Sans JP", sans-serif;
	--bm-en: "Barlow Condensed", sans-serif;
	--bm-header-h: 64px;
	--bm-wrap: 1120px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.bm-noise { animation: none !important; }
}

body {
	margin: 0;
	background: var(--bm-paper);
	color: var(--bm-ink);
	font-family: var(--bm-font);
	font-size: 16px;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bm-red); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.u-sp { display: none; }
@media (max-width: 767px) { .u-sp { display: inline; } }

.bm-noise {
	position: fixed; inset: -50%; z-index: 300; pointer-events: none;
	opacity: 0.28;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
	background-size: 180px; animation: bm-noise 0.9s steps(1) infinite;
}
@keyframes bm-noise {
	0% { transform: translate(0,0); }
	25% { transform: translate(-2%, 1%); }
	50% { transform: translate(1%, -2%); }
	75% { transform: translate(-1%, -1%); }
	100% { transform: translate(0,0); }
}

.bm-wrap { width: min(100% - 40px, var(--bm-wrap)); margin-inline: auto; }

/* Header */
.bm-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(242, 240, 233, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--bm-line);
}
.bm-header__inner {
	width: min(100% - 32px, 1280px); margin: 0 auto;
	min-height: var(--bm-header-h);
	display: flex; align-items: center; gap: 20px;
}
.bm-logo { display: inline-flex; align-items: center; gap: 8px; color: var(--bm-ink); text-decoration: none; }
.bm-logo__mark { width: 22px; height: 22px; }
.bm-logo__type {
	font-family: var(--bm-en); font-weight: 700; font-size: 18px; letter-spacing: 0.04em;
}
.bm-logo__type b { color: var(--bm-red); font-weight: 700; }
.bm-nav { margin-left: auto; }
.bm-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.bm-nav a { text-decoration: none; font-size: 13px; font-weight: 500; }
.bm-header__cta { display: flex; gap: 8px; }
.bm-header__toggle {
	display: none; margin-left: auto; border: 0; background: transparent; width: 40px; height: 40px; cursor: pointer;
}
.bm-header__toggle-bars { display: grid; gap: 6px; }
.bm-header__toggle-bars i { display: block; width: 18px; height: 2px; background: var(--bm-ink); }
.bm-drawer {
	position: fixed; inset: var(--bm-header-h) 0 0; z-index: 40;
	background: var(--bm-paper); padding: 24px;
	border-top: 1px solid var(--bm-line);
}
.bm-drawer ul { list-style: none; margin: 0; padding: 0; }
.bm-drawer li + li { border-top: 1px solid var(--bm-line); }
.bm-drawer a { display: block; padding: 16px 0; text-decoration: none; font-weight: 700; }

@media (max-width: 1023px) {
	.bm-nav, .bm-header__cta { display: none; }
	.bm-header__toggle { display: inline-grid; place-items: center; }
}

.bm-btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 40px; padding: 0 14px; border: 1px solid var(--bm-ink);
	font-size: 13px; font-weight: 700; text-decoration: none; line-height: 1;
}
.bm-btn--primary { background: var(--bm-red); border-color: var(--bm-red); color: #fff; }
.bm-btn--primary:hover { color: #fff; filter: brightness(0.95); }
.bm-btn--line { background: transparent; }
.bm-btn--s { min-height: 34px; font-size: 12px; }

/* Hero / sections */
.bm-hero { padding: 72px 0 56px; border-bottom: 1px solid var(--bm-line); }
.bm-hero__en, .bm-kicker {
	font-family: var(--bm-en); font-weight: 600; letter-spacing: 0.08em;
	font-size: 13px; color: var(--bm-red); margin: 0 0 12px;
}
.bm-hero__title, .bm-section-title {
	margin: 0; font-weight: 900; line-height: 1.35;
	font-size: clamp(28px, 4vw, 48px); letter-spacing: -0.02em;
}
.bm-hero__catch, .bm-lead { margin: 16px 0 0; color: var(--bm-muted); max-width: 42em; }
.bm-intro, .bm-cats, .bm-featured, .bm-latest, .bm-cases, .bm-videos, .bm-related, .bm-service, .bm-cat-featured, .bm-cat-head {
	padding: 64px 0; border-bottom: 1px solid var(--bm-line);
}
.bm-intro__grid {
	display: grid; gap: 24px;
}
@media (min-width: 768px) {
	.bm-intro__grid { grid-template-columns: 0.9fr 1.4fr; gap: 48px; align-items: start; }
}

.bm-cats__grid {
	list-style: none; margin: 28px 0 0; padding: 0;
	display: grid; gap: 0; border-top: 1px solid var(--bm-ink);
}
@media (min-width: 768px) {
	.bm-cats__grid { grid-template-columns: 1fr 1fr; }
}
.bm-cats__grid li { border-bottom: 1px solid var(--bm-line); }
@media (min-width: 768px) {
	.bm-cats__grid li:nth-child(odd) { border-right: 1px solid var(--bm-line); }
}
.bm-cats__grid a {
	display: grid; gap: 8px; padding: 24px; text-decoration: none; min-height: 100%;
}
.bm-cats__grid a:hover { background: rgba(13,14,16,0.03); color: inherit; }
.bm-cats__num { font-family: var(--bm-en); color: var(--bm-red); font-weight: 700; }
.bm-cats__name { font-weight: 900; font-size: 20px; }
.bm-cats__desc { color: var(--bm-muted); font-size: 14px; }
.bm-cats__meta { font-size: 12px; color: var(--bm-muted); }

.bm-cards {
	display: grid; gap: 20px; margin-top: 28px;
}
@media (min-width: 768px) {
	.bm-cards { grid-template-columns: repeat(3, 1fr); }
	.bm-cards--featured { grid-template-columns: repeat(3, 1fr); }
}
.bm-card { border: 1px solid var(--bm-line); background: #fff; }
.bm-card__link { display: grid; text-decoration: none; color: inherit; height: 100%; }
.bm-card__link:hover { color: inherit; }
.bm-card__thumb { aspect-ratio: 3/2; overflow: hidden; background: var(--bm-paper-2); }
.bm-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bm-card__body { display: grid; gap: 8px; padding: 16px; }
.bm-card__cat { font-size: 11px; font-weight: 700; color: var(--bm-red); }
.bm-card__title { font-weight: 900; font-size: 17px; line-height: 1.45; }
.bm-card__meta { font-size: 12px; color: var(--bm-muted); }
.bm-card__excerpt { font-size: 13px; color: var(--bm-muted); }

.bm-empty, .bm-note { color: var(--bm-muted); }
.bm-more { margin-top: 20px; }
.bm-more a { font-weight: 700; }

.bm-videos__grid { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 768px) { .bm-videos__grid { grid-template-columns: 1fr 1fr; } }
.bm-videos__frame { position: relative; aspect-ratio: 16/9; background: #000; }
.bm-videos__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bm-service { background: var(--bm-ink); color: #fff; border-bottom: 0; }
.bm-service .bm-kicker { color: var(--bm-red); }
.bm-service .bm-lead { color: rgba(255,255,255,0.72); }
.bm-service__links {
	list-style: none; margin: 32px 0 0; padding: 0;
	display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,0.2);
}
@media (min-width: 768px) { .bm-service__links { grid-template-columns: repeat(4, 1fr); } }
.bm-service__links a {
	display: grid; gap: 6px; padding: 20px 16px; text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,0.2); color: #fff;
}
@media (min-width: 768px) {
	.bm-service__links a { border-bottom: 0; border-right: 1px solid rgba(255,255,255,0.2); }
	.bm-service__links li:last-child a { border-right: 0; }
}
.bm-service__en { font-family: var(--bm-en); font-size: 12px; color: var(--bm-red); }
.bm-service__label { font-weight: 900; font-size: 18px; }

/* Article */
.bm-breadcrumb { border-bottom: 1px solid var(--bm-line); }
.bm-breadcrumb ol {
	width: min(100% - 40px, var(--bm-wrap)); margin: 0 auto; padding: 12px 0;
	display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: 12px; color: var(--bm-muted);
}
.bm-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--bm-line); }
.bm-breadcrumb a { text-decoration: none; }

.bm-article__head { padding: 40px 0 0; }
.bm-article__head-inner { max-width: 760px; }
.bm-article__cats { display: flex; gap: 10px; margin: 0 0 12px; }
.bm-article__cats a { color: var(--bm-red); font-size: 12px; font-weight: 700; text-decoration: none; }
.bm-article__title { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.35; }
.bm-article__summary { margin: 16px 0 0; color: var(--bm-muted); }
.bm-article__meta {
	list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px;
	font-size: 13px; color: var(--bm-muted);
}
.bm-article__meta span { color: var(--bm-ink); font-weight: 700; }
.bm-article__thumb { margin: 28px 0 0; }
.bm-article__thumb img { width: 100%; max-height: 520px; object-fit: cover; }

.bm-article__layout {
	display: grid; gap: 40px; padding: 40px 0 64px;
}
@media (min-width: 1024px) {
	.bm-article__layout { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
	.bm-article__aside { position: sticky; top: calc(var(--bm-header-h) + 16px); }
}

.bm-toc {
	border: 1px solid var(--bm-ink); padding: 20px; margin: 0 0 32px; background: #fff;
}
.bm-toc__label { margin: 0 0 12px; font-weight: 900; }
.bm-toc ol { margin: 0; padding: 0 0 0 1.2em; }
.bm-toc a { text-decoration: none; }
.bm-toc__item--h3 { margin-left: 0.8em; }

.bm-prose > *:first-child { margin-top: 0; }
.bm-prose h2, .bm-prose h3 { line-height: 1.4; font-weight: 900; scroll-margin-top: calc(var(--bm-header-h) + 12px); }
.bm-prose h2 { font-size: 1.5rem; margin: 2.2em 0 0.7em; padding-bottom: 0.35em; border-bottom: 1px solid var(--bm-line); }
.bm-prose h3 { font-size: 1.2rem; margin: 1.8em 0 0.5em; }
.bm-prose p, .bm-prose ul, .bm-prose ol { margin: 0 0 1.1em; }
.bm-prose a { color: var(--bm-red); }
.bm-prose figure { margin: 1.5em 0; }
.bm-prose iframe { width: 100%; aspect-ratio: 16/9; }

.bm-refs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bm-ink); }
.bm-refs__title { margin: 0 0 12px; font-size: 1.1rem; font-weight: 900; }

.bm-share { margin-top: 40px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bm-share__label { margin: 0; font-weight: 900; }
.bm-share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.bm-share a {
	display: inline-flex; min-width: 72px; min-height: 36px; align-items: center; justify-content: center;
	border: 1px solid var(--bm-ink); text-decoration: none; font-size: 12px; font-weight: 700;
}

.bm-aside-box { border: 1px solid var(--bm-ink); padding: 20px; background: #fff; }
.bm-aside-box__en { margin: 0; font-family: var(--bm-en); color: var(--bm-red); font-size: 12px; }
.bm-aside-box__title { margin: 6px 0 14px; font-weight: 900; }
.bm-aside-box ul { list-style: none; margin: 0; padding: 0; }
.bm-aside-box li + li { border-top: 1px solid var(--bm-line); }
.bm-aside-box a { display: block; padding: 10px 0; text-decoration: none; font-weight: 700; }

/* Footer */
.bm-footer { background: var(--bm-ink); color: #fff; padding: 56px 0 28px; }
.bm-footer a { color: #fff; text-decoration: none; }
.bm-footer a:hover { color: var(--bm-red); }
.bm-footer__grid {
	display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.15);
}
@media (min-width: 768px) { .bm-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.bm-footer__label { margin: 0 0 12px; font-family: var(--bm-en); color: var(--bm-red); font-size: 12px; letter-spacing: 0.08em; }
.bm-footer__name { margin: 0; font-weight: 900; font-size: 22px; }
.bm-footer__note { margin: 8px 0 0; color: rgba(255,255,255,0.6); font-size: 13px; }
.bm-footer__list { list-style: none; margin: 0; padding: 0; }
.bm-footer__list li + li { margin-top: 8px; }
.bm-footer__bottom {
	display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
	padding-top: 20px; font-size: 12px; color: rgba(255,255,255,0.55);
}

.navigation.pagination { margin-top: 32px; }
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.navigation.pagination a, .navigation.pagination span {
	display: inline-flex; min-width: 36px; min-height: 36px; align-items: center; justify-content: center;
	border: 1px solid var(--bm-line); text-decoration: none; font-size: 13px;
}
.navigation.pagination .current { border-color: var(--bm-ink); font-weight: 900; }
