/* ==========================================================================
   Bifree theme - main.css
   ========================================================================== */

:root {
	--bf-brand: #0c2e5a;        /* コーポレートカラー */
	--bf-brand-hover: #15427c;
	--bf-ink: #14213a;          /* 見出し・本文の基本色 */
	--bf-text: #2a3546;
	--bf-muted: #6b7585;
	--bf-line: #dde3ea;
	--bf-soft: #f5f8fb;
	--bf-sky: #e8f3fc;
	--bf-red: #f85245;
	--bf-orange: #feb718;
	--bf-yellow: #ffe621;
	--bf-green: #45b035;
	--bf-blue: #068dda;
	--bf-purple: #5c4197;
	--bf-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--bf-font-en: "Montserrat", var(--bf-font);
	--bf-container: 1280px;
	--bf-gutter: 40px;
	--bf-header-h: 96px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--bf-header-h); }

body {
	margin: 0;
	font-family: var(--bf-font);
	font-size: 16px;
	line-height: 1.8;
	color: var(--bf-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bf-visually-hidden,
.bf-skip:not(:focus) {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.bf-skip:focus {
	position: fixed; z-index: 1000; top: 8px; left: 8px;
	padding: 8px 16px; background: var(--bf-brand); color: #fff; border-radius: 6px;
}

.bf-container {
	width: 100%;
	max-width: calc(var(--bf-container) + var(--bf-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--bf-gutter);
}
.bf-container--narrow { max-width: calc(880px + var(--bf-gutter) * 2); }

.bf-section { padding: 110px 0; position: relative; }

.bf-sp { display: none; }

/* ---------- common parts ---------- */
.bf-eyebrow {
	font-family: var(--bf-font-en);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .14em;
	color: var(--bf-brand);
}

.bf-h2 {
	margin-top: 8px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: .03em;
}
.bf-h2--sm { font-size: 30px; }

.bf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 60px;
	padding: 0 40px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .04em;
	white-space: nowrap;
	border: 1.5px solid var(--bf-brand);
	transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.bf-btn .bf-icon { transition: transform .25s; }
.bf-btn:hover .bf-icon { transform: translateX(4px); }
.bf-btn--dark { background: var(--bf-brand); color: #fff; }
.bf-btn--dark:hover { background: var(--bf-brand-hover); border-color: var(--bf-brand-hover); }
.bf-btn--line { background: #fff; color: var(--bf-brand); }
.bf-btn--line:hover { background: var(--bf-brand); color: #fff; }
.bf-btn--white { background: #fff; color: var(--bf-brand); border-color: #fff; }
.bf-btn--white:hover { background: var(--bf-sky); border-color: var(--bf-sky); }
.bf-btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.bf-btn--outline-white:hover { background: #fff; color: var(--bf-brand); }

.bf-circle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; flex: none;
	border: 1.5px solid var(--bf-brand); border-radius: 50%;
	color: var(--bf-brand);
	transition: background-color .25s, color .25s;
}
.bf-circle--sm { width: 34px; height: 34px; }

.bf-more {
	display: inline-flex; align-items: center; gap: 12px;
	font-size: 15px; font-weight: 500; color: var(--bf-brand);
}
.bf-more--blue { color: var(--bf-blue); }
.bf-more:hover .bf-icon { transform: translateX(4px); }
.bf-more .bf-icon { transition: transform .25s; }

.bf-tag {
	display: inline-block;
	padding: 2px 14px;
	border-radius: 999px;
	background: var(--bf-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

/* ---------- header ---------- */
.bf-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	transition: box-shadow .3s;
}
.bf-header.is-scrolled { box-shadow: 0 4px 20px rgba(12, 46, 90, .08); }
.admin-bar .bf-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bf-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .bf-header { top: 0; } }
.bf-header__inner {
	display: flex; align-items: center;
	height: var(--bf-header-h);
	max-width: 1440px; margin: 0 auto;
	padding: 0 72px;
}
.bf-header__logo img { width: 210px; }
.bf-header__nav { display: flex; align-items: center; flex: 1; }
.bf-nav { display: flex; gap: 40px; margin-left: 72px; font-size: 16px; font-weight: 500; }
.bf-nav a { position: relative; padding: 6px 0; }
.bf-nav a::after {
	content: ""; position: absolute; left: 0; bottom: 0;
	width: 100%; height: 2px; background: var(--bf-brand);
	transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.bf-nav a:hover::after { transform: scaleX(1); }
.bf-header__actions { display: flex; gap: 14px; margin-left: auto; }
.bf-header__btn {
	display: inline-flex; align-items: center; gap: 10px;
	height: 52px; padding: 0 26px;
	border-radius: 10px; border: 1.5px solid var(--bf-brand);
	font-size: 16px; font-weight: 700; white-space: nowrap;
	transition: background-color .25s, color .25s;
}
.bf-header__btn--line { background: #fff; color: var(--bf-brand); }
.bf-header__btn--line:hover { background: var(--bf-sky); }
.bf-header__btn--dark { background: var(--bf-brand); color: #fff; }
.bf-header__btn--dark:hover { background: var(--bf-brand-hover); border-color: var(--bf-brand-hover); }
.bf-header__toggle { display: none; }

/* ---------- hero ---------- */
.bf-hero { position: relative; overflow: hidden; padding-top: 50px; }
.bf-hero__tri { position: absolute; pointer-events: none; }
.bf-hero__tri--tr { top: 0; right: 0; width: 220px; }
.bf-hero__tri--l { top: 105px; left: 0; width: 120px; }
.bf-hero__tri--br { right: 0; bottom: 0; width: 300px; z-index: 1; }

.bf-hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	align-items: center;
	gap: 40px;
	max-width: 1440px; margin: 0 auto;
	padding: 40px 60px 0 138px;
}
.bf-hero__title {
	font-size: clamp(30px, 3.6vw, 54px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: .02em;
}
.bf-rainbow__c1 { color: var(--bf-red); }
.bf-rainbow__c2 { color: #f39800; }
.bf-rainbow__c3 { color: #e0a800; }
.bf-rainbow__c4 { color: var(--bf-green); }
.bf-rainbow__c5 { color: var(--bf-blue); }
.bf-rainbow__c6 { color: var(--bf-purple); }
.bf-hero__lead { margin-top: 32px; font-size: 18px; line-height: 2; font-weight: 500; }
.bf-hero__btns { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.bf-hero__visual img { width: 100%; }
.bf-hero__visual { align-self: start; margin-top: 120px; }

.bf-hero__bottom {
	position: relative;
	display: flex; align-items: flex-end;
	max-width: 1440px; margin: 10px auto 0;
	min-height: 286px;
}
.bf-hero__tagline {
	position: absolute; left: 44px; bottom: 54px;
	padding-left: 22px; border-left: 2px solid var(--bf-brand);
	font-family: var(--bf-font-en); font-size: 16px; line-height: 1.75; letter-spacing: .32em;
}
.bf-hero__city {
	width: 48%; max-width: 692px;
	margin-left: 27%;
	aspect-ratio: 692 / 286;
	clip-path: polygon(18% 0, 100% 100%, 0 100%, 0 30%);
}
.bf-hero__city img { width: 100%; height: 100%; object-fit: cover; }

/* English version */
.is-lang-en .bf-hero__title { letter-spacing: 0; line-height: 1.25; }
.is-lang-en .bf-hero__lead { line-height: 1.9; }
.is-lang-en .bf-service__title,
.is-lang-en .bf-about__title,
.is-lang-en .bf-h2,
.is-lang-en .bf-cta__title { letter-spacing: .01em; }
.is-lang-en .bf-about__catch { letter-spacing: .02em; line-height: 1.4; }
.is-lang-en .bf-message__lead { line-height: 1.5; }
.is-lang-en .bf-company__row { grid-template-columns: 170px 1fr; }

/* ---------- service ---------- */
.bf-service { background: linear-gradient(180deg, var(--bf-sky) 0%, #f5fafe 60%, #fff 100%); padding-top: 80px; }
.bf-service__title { margin-top: 14px; font-size: 46px; font-weight: 700; line-height: 1.45; letter-spacing: .04em; }
.bf-service__sub { margin-top: 24px; line-height: 1.9; }
.bf-service__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px;
	margin-top: 48px;
}
.bf-service-card {
	position: relative;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(12, 46, 90, .10);
	overflow: hidden;
}
.bf-service-card__img { position: relative; aspect-ratio: 322 / 156; }
.bf-service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bf-service-card__num {
	position: absolute; left: 14px; top: 14px;
	padding: 2px 12px; border-radius: 6px;
	background: var(--bf-brand); color: #fff;
	font-family: var(--bf-font-en); font-size: 24px; font-weight: 700; line-height: 1.4;
}
.bf-service-card__icon {
	position: absolute; left: 0;
	display: flex; align-items: center;
	width: 84px; height: 56px; margin-top: -24px; padding-left: 26px;
	background: #fff; border-top-right-radius: 18px;
	color: var(--bf-brand);
}
.bf-service-card__body { padding: 46px 28px 34px; }
.bf-service-card__title { font-size: 23px; font-weight: 700; line-height: 1.4; }
.bf-service-card__text { margin-top: 16px; font-size: 15px; line-height: 1.85; color: var(--bf-text); }

/* ---------- about ---------- */
.bf-about {
	position: relative;
	display: grid;
	grid-template-columns: 63% 1fr;
	align-items: center;
	min-height: 490px;
	max-width: 1440px; margin: 0 auto;
}
.bf-about__photo {
	position: relative; align-self: stretch;
	clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}
.bf-about__photo > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.bf-about__photo::before {
	content: ""; position: absolute; inset: 0; width: 70%;
	background: linear-gradient(90deg, rgba(8, 20, 30, .82) 0%, rgba(8, 20, 30, .6) 65%, rgba(8, 20, 30, 0) 100%);
}
.bf-about__catch {
	position: absolute; left: 72px; top: 50%; transform: translateY(-50%);
	color: #fff; font-size: clamp(26px, 3vw, 42px); font-weight: 300; line-height: 1.6; letter-spacing: .06em;
}
.bf-about__tri { position: absolute; left: 0; bottom: 0; width: 220px; }
.bf-about__text { padding: 60px 54px 60px 26px; }
.bf-about__title { margin-top: 16px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.55; letter-spacing: .03em; }
.bf-about__body { margin-top: 22px; line-height: 2; }
.bf-about__text .bf-btn { margin-top: 30px; min-height: 56px; padding: 0 44px; }

/* ---------- works ---------- */
.bf-works__inner { display: grid; grid-template-columns: 260px 1fr; gap: 46px; }
.bf-works__head { position: relative; }
.bf-works__sub { margin-top: 22px; font-size: 15px; line-height: 1.9; }
.bf-works__deco {
	position: absolute; left: 120px; top: 300px;
	width: 0; height: 0;
	border-top: 28px solid transparent; border-bottom: 28px solid transparent;
	border-right: 46px solid var(--bf-purple);
}
.bf-works__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 34px; }
.bf-work-card__link {
	display: block; height: 100%;
	background: #fff; border-radius: 8px; overflow: hidden;
	box-shadow: 0 8px 26px rgba(12, 46, 90, .10);
	transition: transform .25s, box-shadow .25s;
}
.bf-work-card__link:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(12, 46, 90, .16); }
.bf-work-card__link:hover .bf-circle { background: var(--bf-brand); color: #fff; }
.bf-work-card__img {
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 312 / 140;
	border-top: 4px solid var(--bf-blue);
	background: linear-gradient(135deg, #eef3f8, #dde6ef);
	color: #8a96a6; font-size: 13px;
}
.bf-work-card__img img { width: 100%; height: 100%; object-fit: cover; }
.bf-work-card__body { padding: 16px 18px 18px; }
.bf-work-card__title { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.5; }
.bf-work-card__link.is-static:hover { transform: none; box-shadow: 0 8px 26px rgba(12, 46, 90, .10); }
.bf-work-card__foot { min-height: 34px; }
.bf-work-card__img img { object-position: top; }
.bf-work-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: #8a96a6; }

/* ---------- strength ---------- */
.bf-strength { padding: 60px 0 80px; }
.bf-strength__inner {
	display: grid; grid-template-columns: 1fr 280px; gap: 50px;
	max-width: 1440px; margin: 0 auto; padding-left: 80px;
}
.bf-strength__main { position: relative; }
.bf-strength__script {
	position: absolute; right: 30px; top: -20px;
	font-family: "Dancing Script", cursive; font-size: 38px; line-height: 1.25;
	transform: rotate(-12deg); transform-origin: right top;
}
.bf-strength__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 56px; }
.bf-strength__item { padding: 0 20px; border-left: 1px solid var(--bf-line); color: var(--bf-brand); }
.bf-strength__item:first-child { padding-left: 0; border-left: 0; }
.bf-strength__item-title { margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--bf-ink); }
.bf-strength__item-text { margin-top: 14px; font-size: 15px; line-height: 1.85; color: var(--bf-text); }
.bf-strength__photo { position: relative; align-self: center; }
.bf-strength__photo > img:first-child {
	width: 100%; aspect-ratio: 310 / 320; object-fit: cover;
	clip-path: polygon(0 50%, 40% 0, 100% 0, 100% 100%, 40% 100%);
}
.bf-strength__tri { position: absolute; right: 0; top: -40px; width: 120px; }

/* ---------- social ---------- */
.bf-social { background: linear-gradient(180deg, #f5fafe, #eaf4fc); }
.bf-social__inner { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: start; }
.bf-social__sub { margin-top: 20px; font-size: 15px; line-height: 1.9; }
.bf-social__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.bf-social-card { padding: 32px 28px; background: #fff; border-radius: 10px; box-shadow: 0 8px 26px rgba(12, 46, 90, .08); }
.bf-social-card__icon {
	display: flex; align-items: center; justify-content: center;
	width: 68px; height: 68px; border-radius: 50%; color: #fff;
}
.bf-social-card__icon--red { background: var(--bf-red); }
.bf-social-card__icon--orange { background: var(--bf-orange); }
.bf-social-card__icon--green { background: var(--bf-green); }
.bf-social-card__title { margin-top: 22px; font-size: 20px; font-weight: 700; }
.bf-social-card__text { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--bf-text); }

/* ---------- message ---------- */
.bf-message { overflow: hidden; }
.bf-message__tri { position: absolute; right: 0; top: 0; width: 220px; }
.bf-message__inner { display: grid; grid-template-columns: 360px 1fr; gap: 90px; align-items: start; }
.bf-message__portrait { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.bf-message__career { margin-top: 28px; font-size: 13px; line-height: 1.8; color: var(--bf-muted); }
.bf-message__lead { margin-top: 28px; font-size: 24px; font-weight: 700; line-height: 1.6; }
.bf-message__body { margin-top: 18px; line-height: 2.05; color: var(--bf-text); }
.bf-message__sign { margin-top: 26px; font-size: 15px; }
.bf-message__sign span { margin-left: 14px; font-size: 22px; font-weight: 700; letter-spacing: .1em; }

/* ---------- news ---------- */
.bf-news { padding-top: 40px; }
.bf-news__inner { display: grid; grid-template-columns: 200px 1fr; gap: 60px; }
.bf-news__head { padding-right: 30px; border-right: 1px solid var(--bf-line); }
.bf-news__head .bf-more { margin-top: 20px; }
.bf-news__list { max-width: 820px; }
.bf-news__item { border-bottom: 1px solid var(--bf-line); }
.bf-news__item > a,
.bf-news__item > div {
	display: grid; grid-template-columns: 120px 120px 1fr; align-items: center; gap: 20px;
	padding: 16px 0; font-size: 15px;
}
.bf-news__item > a:hover .bf-news__title { color: var(--bf-blue); }
.bf-news__item time { font-family: var(--bf-font-en); }
.bf-news__tag {
	display: inline-block; padding: 2px 0; border-radius: 999px;
	background: var(--bf-blue); color: #fff;
	font-size: 13px; font-weight: 700; text-align: center;
}
.bf-news__tag--green { background: var(--bf-green); }
.bf-news__title { transition: color .2s; }

/* ---------- company ---------- */
.bf-company { background: var(--bf-soft); }
.bf-company__inner { display: grid; grid-template-columns: 300px 1fr; gap: 60px; }
.bf-company__table { padding: 10px 40px; background: #fff; border-radius: 10px; }
.bf-company__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #e3e8ee; font-size: 15px; }
.bf-company__row:last-child { border-bottom: 0; }
.bf-company__row dt { font-weight: 700; }

/* ---------- cta ---------- */
.bf-cta { position: relative; overflow: hidden; background: var(--bf-brand); color: #fff; }
.bf-cta__photo {
	position: absolute; right: 0; top: 0; bottom: 0; width: 58%;
	clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}
.bf-cta__photo img { width: 100%; height: 100%; object-fit: cover; }
.bf-cta__photo::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(90deg, var(--bf-brand) 0%, rgba(12, 46, 90, 0) 45%);
}
.bf-cta__tri { position: absolute; right: 0; bottom: 0; width: 220px; z-index: 1; }
.bf-cta__inner { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 60px; }
.bf-cta__title { font-size: 40px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; }
.bf-cta__text { margin-top: 22px; line-height: 1.9; }
.bf-cta__btns { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
.bf-cta__btns .bf-btn { min-width: 250px; min-height: 56px; }

/* ---------- footer ---------- */
.bf-footer { padding: 26px 0; }
.bf-footer__inner {
	display: flex; flex-wrap: wrap; align-items: center; gap: 20px 56px;
	max-width: 1440px; margin: 0 auto; padding: 0 66px;
}
.bf-footer__logo img { width: 170px; }
.bf-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 14px; }
.bf-footer__menu a:hover { color: var(--bf-blue); }
.bf-footer__sns { display: flex; gap: 16px; }
.bf-footer__sns a {
	display: flex; align-items: center; justify-content: center;
	width: 32px; height: 32px; border-radius: 50%;
	background: var(--bf-brand); color: #fff;
	transition: background-color .25s;
}
.bf-footer__sns a:hover { background: var(--bf-blue); }
.bf-footer__meta { margin-left: auto; text-align: right; }
.bf-footer__sub { display: flex; justify-content: flex-end; gap: 18px; font-size: 12px; color: var(--bf-muted); }
.bf-footer__copy { margin-top: 4px; font-size: 13px; color: var(--bf-muted); }

/* ---------- lower pages ---------- */
.bf-container--list { max-width: calc(960px + var(--bf-gutter) * 2); }
.bf-container--article { max-width: calc(800px + var(--bf-gutter) * 2); }

.bf-page-head {
	position: relative; overflow: hidden;
	padding: 44px 0 70px;
	background: linear-gradient(180deg, var(--bf-sky) 0%, #f5fafe 70%, #fff 100%);
}
.bf-page-head .bf-container { max-width: calc(1120px + var(--bf-gutter) * 2); }
.bf-page-head__tri { position: absolute; right: 0; top: 0; width: 220px; pointer-events: none; }
.bf-page-head__eyebrow,
.bf-page-head__meta { margin-top: 46px; }
.bf-page-head__meta { display: flex; align-items: center; gap: 16px; font-family: var(--bf-font-en); font-size: 15px; }
.bf-page-head__meta .bf-news__tag { padding: 2px 16px; font-family: var(--bf-font); }
.bf-page-head .bf-container { position: relative; z-index: 1; }
.bf-page-head__title { margin-top: 8px; font-size: 44px; font-weight: 700; line-height: 1.45; letter-spacing: .04em; }
.bf-page-head__title--post { margin-top: 16px; font-size: 38px; max-width: 900px; }

.bf-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--bf-muted); }
.bf-crumbs li { display: flex; align-items: center; gap: 6px; }
.bf-crumbs li + li::before { content: "/"; margin-right: 4px; color: #b5bdc8; }
.bf-crumbs a:hover { color: var(--bf-brand); text-decoration: underline; }
.bf-crumbs li:last-child span { display: inline-block; max-width: 40em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* archive */
.bf-archive { padding: 20px 0 110px; }
.bf-filters { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-filters__btn {
	display: inline-flex; align-items: center; height: 42px; padding: 0 24px;
	border: 1.5px solid #c9d2dd; border-radius: 999px; background: #fff;
	font-size: 15px; font-weight: 500; color: var(--bf-text);
	transition: border-color .2s, color .2s, background-color .2s;
}
.bf-filters__btn:hover { border-color: var(--bf-brand); color: var(--bf-brand); }
.bf-filters__btn.is-current { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-archive__list { margin-top: 36px; border-top: 1px solid var(--bf-line); }
.bf-archive__item { border-bottom: 1px solid var(--bf-line); }
.bf-archive__item a { display: flex; align-items: center; gap: 28px; padding: 26px 8px; }
.bf-archive__item time { width: 100px; flex: none; font-family: var(--bf-font-en); font-size: 15px; }
.bf-archive__item .bf-news__tag { width: 104px; flex: none; }
.bf-archive__title { flex: 1; font-weight: 500; line-height: 1.7; transition: color .2s; }
.bf-archive__item a:hover .bf-archive__title { color: var(--bf-blue); }
.bf-archive__item a:hover .bf-circle,
.bf-related__card:hover .bf-circle { background: var(--bf-brand); color: #fff; }
.bf-archive__item .bf-circle { width: 40px; height: 40px; }
.bf-archive__empty { margin-top: 40px; }

.bf-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 56px; }
.bf-pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 46px; height: 46px; padding: 0 10px;
	border: 1.5px solid var(--bf-brand); border-radius: 999px; color: var(--bf-brand);
	font-family: var(--bf-font-en); font-size: 15px; font-weight: 700;
	transition: background-color .2s, color .2s;
}
.bf-pager a.page-numbers:hover,
.bf-pager .page-numbers.current { background: var(--bf-brand); color: #fff; }
.bf-pager .page-numbers.dots { border-color: transparent; }

/* single */
.bf-article { padding: 20px 0 110px; }
.bf-article__eye { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(12, 46, 90, .10); }
.bf-article__eye img { width: 100%; }
.bf-article__eye + .bf-entry { margin-top: 56px; }
.bf-article__back { display: flex; justify-content: center; margin-top: 56px; }

.bf-entry { font-size: 16px; line-height: 2.05; color: var(--bf-text); word-wrap: break-word; }
.bf-entry > * + * { margin-top: 24px; }
.bf-entry h2 {
	position: relative; margin-top: 60px; padding-bottom: 14px;
	border-bottom: 2px solid var(--bf-brand);
	font-size: 26px; line-height: 1.5; color: var(--bf-ink);
}
.bf-entry h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 120px; height: 2px; background: var(--bf-blue); }
.bf-entry h3 { margin-top: 48px; padding-left: 16px; border-left: 4px solid var(--bf-brand); font-size: 21px; line-height: 1.5; color: var(--bf-ink); }
.bf-entry h4 { margin-top: 40px; font-size: 18px; color: var(--bf-ink); }
.bf-entry a { color: var(--bf-blue); text-decoration: underline; }
.bf-entry ul,
.bf-entry ol { padding: 24px 32px; background: var(--bf-soft); border-radius: 10px; }
.bf-entry ul > li { position: relative; padding-left: 22px; }
.bf-entry ul > li::before { content: ""; position: absolute; left: 0; top: .85em; width: 8px; height: 8px; border-radius: 50%; background: var(--bf-blue); }
.bf-entry ol { list-style: decimal; padding-left: 3em; }
.bf-entry ol > li::marker { color: var(--bf-brand); font-family: var(--bf-font-en); font-weight: 700; }
.bf-entry blockquote {
	margin-left: 0; margin-right: 0; padding: 26px 32px;
	border-left: 4px solid var(--bf-green); border-radius: 0 10px 10px 0;
	background: #f3faf1; font-size: 20px; font-weight: 700; color: var(--bf-ink);
}
.bf-entry blockquote p { margin: 0; }
.bf-entry blockquote cite { display: block; margin-top: 8px; font-size: 13px; font-weight: 400; font-style: normal; color: var(--bf-muted); }
.bf-entry img { border-radius: 8px; }
.bf-entry figure figcaption { margin-top: 8px; font-size: 13px; color: var(--bf-muted); text-align: center; }
.bf-entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.bf-entry th,
.bf-entry td { padding: 12px 16px; border: 1px solid var(--bf-line); }
.bf-entry th { background: var(--bf-soft); }
.bf-entry hr { border: 0; border-top: 1px solid var(--bf-line); margin: 48px 0; }
.bf-entry .wp-block-button__link { display: inline-flex; padding: 14px 36px; border-radius: 999px; background: var(--bf-brand); color: #fff; text-decoration: none; font-weight: 700; }
.bf-entry input[type="text"],
.bf-entry input[type="email"],
.bf-entry input[type="tel"],
.bf-entry input[type="url"],
.bf-entry textarea,
.bf-entry select {
	width: 100%; padding: 12px 14px;
	border: 1px solid #c9d2dd; border-radius: 6px; font: inherit;
}
.bf-entry input[type="submit"],
.bf-entry button[type="submit"] {
	min-height: 56px; padding: 0 48px; border: 0; border-radius: 999px;
	background: var(--bf-brand); color: #fff; font: inherit; font-weight: 700; cursor: pointer;
}
.bf-entry input[type="submit"]:hover,
.bf-entry button[type="submit"]:hover { background: var(--bf-brand-hover); }

.bf-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--bf-line); }
.bf-share__label { font-size: 14px; font-weight: 700; }
.bf-share__list { display: flex; gap: 12px; }
.bf-share__btn {
	display: flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: var(--bf-brand); color: #fff; cursor: pointer;
	font-family: Arial, sans-serif; font-size: 18px; font-weight: 700;
	transition: background-color .2s;
}
.bf-share__btn:hover { background: var(--bf-blue); }
.bf-share__done { font-size: 13px; color: var(--bf-green); }

.bf-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.bf-pn__item { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px; border: 1.5px solid var(--bf-line); border-radius: 10px; transition: border-color .2s; }
.bf-pn__item--empty { border: 0; padding: 0; }
a.bf-pn__item:hover { border-color: var(--bf-brand); }
.bf-pn__item--next { align-items: flex-end; text-align: right; }
.bf-pn__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--bf-brand); }
.bf-pn__title { font-size: 15px; font-weight: 500; line-height: 1.6; }

.bf-related { padding: 90px 0 100px; background: var(--bf-soft); }
.bf-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.bf-related__card {
	display: flex; flex-direction: column; height: 100%; min-height: 190px;
	padding: 26px 26px 22px; background: #fff; border-radius: 10px;
	box-shadow: 0 8px 26px rgba(12, 46, 90, .08);
	transition: transform .25s, box-shadow .25s;
}
.bf-related__card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(12, 46, 90, .14); }
.bf-related__meta { display: flex; align-items: center; gap: 12px; font-family: var(--bf-font-en); font-size: 14px; }
.bf-related__meta .bf-news__tag { padding: 2px 14px; }
.bf-related__title { flex: 1; margin-top: 16px; font-weight: 700; line-height: 1.7; }
.bf-related__card .bf-circle { align-self: flex-end; margin-top: 12px; }

.bf-page-body { padding-top: 20px; padding-bottom: 110px; }
.bf-page-body__btn { margin-top: 32px; }

/* ---------- privacy policy ---------- */
.bf-policy__toc { margin-bottom: 56px; padding: 28px 36px; border-radius: 12px; background: var(--bf-soft); }
.bf-policy__toc-title { font-size: 16px; font-weight: 700; color: var(--bf-brand); }
.bf-policy__toc ol { counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin-top: 14px; font-size: 14px; }
.bf-policy__toc li { counter-increment: toc; display: flex; gap: 10px; }
.bf-policy__toc li::before { content: counter(toc) "."; flex: none; width: 1.6em; font-family: var(--bf-font-en); font-weight: 700; color: var(--bf-brand); }
.bf-policy__toc a { color: var(--bf-text); }
.bf-policy__toc a:hover { color: var(--bf-blue); text-decoration: underline; }
.bf-policy__body { counter-reset: pp; }
.bf-policy__body h2 { counter-increment: pp; scroll-margin-top: calc(var(--bf-header-h) + 20px); }
.bf-policy__body h2::before { content: counter(pp) ". "; font-family: var(--bf-font-en); color: var(--bf-brand); }
.bf-policy__body > h2:first-of-type { margin-top: 44px; }
.bf-entry .has-text-align-right { text-align: right; }
.bf-entry .has-text-align-center { text-align: center; }

/* ---------- contact ---------- */
.bf-container--form { max-width: calc(880px + var(--bf-gutter) * 2); }
.bf-contact { padding: 10px 0 110px; }

.bf-steps { display: flex; justify-content: center; }
.bf-steps__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; }
.bf-steps__item + .bf-steps__item { margin-left: 120px; }
.bf-steps__item + .bf-steps__item::before {
	content: ""; position: absolute; top: 21px; right: calc(100% - 5px); width: 130px; height: 2px; background: #c9d2dd;
}
.bf-steps__item.is-done + .bf-steps__item.is-done::before { background: var(--bf-brand); }
.bf-steps__num {
	display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1.5px solid #c9d2dd; border-radius: 50%; background: #fff; color: #8a96a6;
	font-family: var(--bf-font-en); font-weight: 700;
}
.bf-steps__label { font-size: 14px; font-weight: 700; color: #8a96a6; }
.bf-steps__item.is-done .bf-steps__num { background: var(--bf-brand); border-color: var(--bf-brand); color: #fff; }
.bf-steps__item.is-done .bf-steps__label { color: var(--bf-brand); }

.bf-contact__lead { margin-top: 48px; line-height: 2; text-align: center; color: var(--bf-text); }
.bf-contact__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--bf-muted); }

.bf-form-card { margin-top: 44px; padding: 20px 56px 56px; background: #fff; border-radius: 14px; box-shadow: 0 10px 34px rgba(12, 46, 90, .10); }
.bf-form__empty { padding: 40px 0 10px; text-align: center; color: var(--bf-muted); }
.bf-form__row { display: flex; gap: 32px; padding: 26px 0; border-bottom: 1px solid #e3e8ee; }
.bf-form__label { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex: none; width: 220px; min-height: 54px; font-size: 15px; font-weight: 700; }
.bf-form__control { flex: 1; min-width: 0; }
.bf-form__req,
.bf-form__opt { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 4px; font-size: 12px; font-weight: 700; flex: none; }
.bf-form__req { background: var(--bf-red); color: #fff; }
.bf-form__opt { background: #e9edf2; color: var(--bf-muted); }
.bf-form__note { margin-top: 8px; font-size: 12px; color: var(--bf-muted); }

.bf-form .wpcf7-form-control-wrap { display: block; }
.bf-form input[type="text"],
.bf-form input[type="email"],
.bf-form input[type="tel"],
.bf-form input[type="url"],
.bf-form textarea,
.bf-form select {
	width: 100%; height: 54px; padding: 0 18px;
	border: 1.5px solid #c9d2dd; border-radius: 8px; background: #fafbfd;
	font: inherit; font-size: 15px; color: var(--bf-ink);
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.bf-form textarea { height: 200px; padding: 14px 18px; line-height: 1.8; resize: vertical; }
.bf-form ::placeholder { color: #a3adba; }
.bf-form input:focus,
.bf-form textarea:focus,
.bf-form select:focus { outline: none; border-color: var(--bf-brand); background: #fff; box-shadow: 0 0 0 3px rgba(12, 46, 90, .12); }

.bf-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-form .wpcf7-list-item { margin: 0; }
.bf-form .wpcf7-checkbox label {
	display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px;
	border: 1.5px solid #c9d2dd; border-radius: 8px; background: #fff;
	font-size: 14px; font-weight: 500; cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.bf-form .wpcf7-checkbox label:hover { border-color: var(--bf-brand); }
.bf-form .wpcf7-checkbox label:has(input:checked) { border-color: var(--bf-brand); background: #eef3fa; color: var(--bf-brand); }
.bf-form input[type="checkbox"] {
	appearance: none; -webkit-appearance: none; position: relative; flex: none;
	width: 18px; height: 18px; margin: 0; border: 1.5px solid #a3adba; border-radius: 4px; background: #fff; cursor: pointer;
}
.bf-form input[type="checkbox"]:checked { background: var(--bf-brand); border-color: var(--bf-brand); }
.bf-form input[type="checkbox"]:checked::after {
	content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.bf-form input[type="checkbox"]:focus-visible { outline: 2px solid var(--bf-blue); outline-offset: 2px; }

.bf-form__privacy { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px; font-size: 15px; }
.bf-form__privacy .wpcf7-form-control-wrap { display: inline-block; }
.bf-form__privacy label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.bf-form__privacy a { color: var(--bf-blue); text-decoration: underline; }

.bf-form__submit { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 32px; }
.bf-form input[type="submit"] {
	width: 340px; max-width: 100%; height: 64px; padding: 0 40px;
	border: 0; border-radius: 999px; cursor: pointer;
	background: var(--bf-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='1.6'%3E%3Cpath d='M2 8h11M9 4l4 4-4 4'/%3E%3C/svg%3E") no-repeat right 110px center;
	color: #fff; font: inherit; font-size: 17px; font-weight: 700; letter-spacing: .04em;
	transition: background-color .25s;
}
.bf-form input[type="submit"]:hover { background-color: var(--bf-brand-hover); }
.bf-form input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.bf-form .wpcf7-spinner { margin: 12px 0 0; }

.bf-form .wpcf7-not-valid { border-color: var(--bf-red) !important; background: #fff6f5 !important; }
.bf-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #d93a2e; }
.bf-form .wpcf7 form .wpcf7-response-output,
.bf-form .wpcf7-response-output { margin: 28px 0 0; padding: 14px 18px; border-radius: 8px; border-width: 1.5px; font-size: 14px; }
.bf-form .wpcf7 form.invalid .wpcf7-response-output,
.bf-form .wpcf7 form.unaccepted .wpcf7-response-output { border-color: var(--bf-red); background: #fff6f5; color: #c0392b; }
.bf-form .wpcf7 form.init .wpcf7-response-output,
.bf-form .wpcf7 form.submitting .wpcf7-response-output,
.bf-form .wpcf7-response-output:empty { display: none; }
.bf-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--bf-green); background: #f3faf1; color: #2e7d22; }

.bf-thanks {
	display: flex; flex-direction: column; align-items: center;
	max-width: 760px; margin: 48px auto 0; padding: 64px 64px 60px;
	background: #fff; border-radius: 14px; box-shadow: 0 10px 34px rgba(12, 46, 90, .10); text-align: center;
}
.bf-thanks__icon { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--bf-green); color: #fff; }
.bf-thanks__title { margin-top: 30px; font-size: 28px; line-height: 1.5; }
.bf-thanks__text { margin-top: 20px; line-height: 2; color: var(--bf-text); }
.bf-thanks__info { margin-top: 30px; padding: 20px 26px; border-radius: 10px; background: var(--bf-soft); font-size: 14px; line-height: 1.9; color: #4a5566; text-align: left; }
.bf-thanks__extra { margin-top: 24px; text-align: left; }
.bf-thanks__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	.bf-header__inner { padding: 0 32px; }
	.bf-nav { gap: 26px; margin-left: 40px; font-size: 15px; }
	.bf-hero__inner { padding-left: 120px; padding-right: 40px; grid-template-columns: minmax(0, 1fr) 360px; }
	.bf-strength__inner { padding-left: 40px; gap: 40px; grid-template-columns: 1fr 260px; }
	.bf-strength__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.bf-strength__item:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 1024px) {
	:root { --bf-gutter: 28px; --bf-header-h: 76px; }
	.bf-section { padding: 80px 0; }
	.bf-header { background: #fff; backdrop-filter: none; }
	.bf-header__inner { padding: 0 20px; }
	.bf-header__logo img { width: 170px; }

	/* drawer menu */
	.bf-header__toggle {
		display: flex; flex-direction: column; justify-content: center; gap: 6px;
		width: 48px; height: 48px; margin-left: auto; padding: 0 11px;
		border: 0; border-radius: 10px; background: var(--bf-brand); cursor: pointer;
	}
	.bf-header__toggle-bar { display: block; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
	.bf-header.is-open .bf-header__toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.bf-header.is-open .bf-header__toggle-bar:nth-child(2) { opacity: 0; }
	.bf-header.is-open .bf-header__toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.bf-header__nav {
		position: fixed; top: var(--bf-header-h); left: 0; right: 0; bottom: 0;
		flex-direction: column; align-items: stretch;
		padding: 24px 28px 40px; background: #fff; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s, transform .3s, visibility .3s;
	}
	.bf-header.is-open .bf-header__nav { opacity: 1; visibility: visible; transform: none; }
	.bf-nav { flex-direction: column; gap: 0; margin: 0; font-size: 17px; }
	.bf-nav a { display: block; padding: 18px 4px; border-bottom: 1px solid var(--bf-line); }
	.bf-nav a::after { display: none; }
	.bf-header__actions { flex-direction: column; margin: 30px 0 0; }
	.bf-header__btn { justify-content: center; height: 56px; }
	body.is-menu-open { overflow: hidden; }

	.bf-hero__inner { grid-template-columns: 1fr; padding: 30px var(--bf-gutter) 0 calc(var(--bf-gutter) + 70px); }
	.bf-hero__visual { width: 60%; max-width: 380px; margin: 30px auto 0; }
	.bf-hero__tri--tr { width: 150px; }
	.bf-hero__tri--l { width: 80px; top: 70px; }
	.bf-hero__tri--br { width: 200px; }
	.bf-hero__bottom { min-height: 0; }
	.bf-hero__city { width: 70%; margin-left: 15%; }
	.bf-hero__tagline { left: var(--bf-gutter); bottom: auto; top: -10px; font-size: 13px; }

	.bf-service__title { font-size: 34px; }
	.bf-service__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.bf-about { grid-template-columns: 1fr; }
	.bf-about__photo { min-height: 380px; clip-path: none; }
	.bf-about__photo > img:first-child { position: absolute; inset: 0; }
	.bf-about__text { padding: 50px var(--bf-gutter) 0; }
	.bf-about__photo::before { width: 100%; background: linear-gradient(0deg, rgba(8, 20, 30, .78) 0%, rgba(8, 20, 30, .35) 60%, rgba(8, 20, 30, .1) 100%); }
	.bf-about__catch { left: var(--bf-gutter); top: auto; bottom: 32px; transform: none; }
	.bf-about__tri { display: none; }

	.bf-works__inner,
	.bf-social__inner,
	.bf-company__inner { grid-template-columns: 1fr; gap: 36px; }
	.bf-works__deco { display: none; }
	.bf-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.bf-strength__inner { grid-template-columns: 1fr; padding: 0 var(--bf-gutter); }
	.bf-strength__photo { max-width: 420px; margin-left: auto; }
	.bf-strength__script { top: 0; font-size: 30px; }

	.bf-social__grid { grid-template-columns: 1fr; }

	.bf-message__inner { grid-template-columns: 260px 1fr; gap: 50px; }
	.bf-message__tri { width: 140px; }

	.bf-news__inner { grid-template-columns: 1fr; gap: 24px; }
	.bf-news__head { padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 24px; }
	.bf-news__head .bf-eyebrow { width: 100%; }

	.bf-cta__photo { width: 100%; opacity: .35; clip-path: none; }
	.bf-page-head__title { font-size: 36px; }
	.bf-page-head__title--post { font-size: 32px; }
	.bf-page-head__tri { width: 150px; }
	.bf-related__grid { grid-template-columns: 1fr; gap: 14px; }
	.bf-related__card { min-height: 0; }
	.bf-cta__tri { width: 150px; }

	.bf-footer__inner { padding: 0 var(--bf-gutter); }
	.bf-footer__meta { margin-left: 0; width: 100%; text-align: left; }
	.bf-footer__sub { justify-content: flex-start; }
}

@media (max-width: 640px) {
	:root { --bf-gutter: 20px; --bf-header-h: 64px; }
	body { font-size: 15px; }
	.bf-pc { display: none; }
	.bf-sp { display: inline; }
	.bf-section { padding: 64px 0; }
	.bf-h2 { font-size: 26px; }
	.bf-h2--sm { font-size: 24px; }
	.bf-btn { min-height: 54px; padding: 0 28px; font-size: 15px; }
	.bf-header__logo img { width: 140px; }
	.bf-header__toggle { width: 44px; height: 44px; }

	.bf-hero { padding-top: 20px; }
	.bf-hero__inner { padding: 50px var(--bf-gutter) 0; }
	.bf-hero__title { font-size: 30px; }
	.bf-hero__lead { font-size: 15px; margin-top: 22px; }
	.bf-hero__btns { gap: 12px; margin-top: 30px; }
	.bf-hero__btns .bf-btn { flex: 1 1 100%; }
	.bf-hero__tri--tr { width: 110px; }
	.bf-hero__tri--l { display: none; }
	.bf-hero__tri--br { width: 140px; }
	.bf-hero__visual { width: 78%; margin-top: 10px; }
	.bf-hero__bottom { padding-top: 70px; }
	.bf-hero__tagline { top: 0; }
	.bf-hero__city { width: 82%; margin-left: 0; }

	.bf-service { padding-top: 56px; }
	.bf-service__title { font-size: 23px; }
	.bf-service__grid { grid-template-columns: 1fr; gap: 20px; margin-top: 34px; }

	.bf-about__photo { min-height: 300px; }
	.bf-about__catch { left: 24px; font-size: 24px; }

	.bf-works__grid { grid-template-columns: 1fr; gap: 20px; }

	.bf-strength__grid { grid-template-columns: 1fr; row-gap: 0; }
	.bf-strength__item,
	.bf-strength__item:nth-child(3) { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 22px 0; border-left: 0; border-top: 1px solid var(--bf-line); }
	.bf-strength__item:first-child { border-top: 0; }
	.bf-strength__item svg { grid-row: span 2; }
	.bf-strength__item-title { margin-top: 0; }
	.bf-strength__item-text { margin-top: 6px; }
	.bf-strength__item-text br { display: none; }
	.bf-strength__script { position: static; margin-top: 16px; font-size: 26px; transform: rotate(-6deg); transform-origin: left; }
	.bf-strength__grid { margin-top: 24px; }
	.bf-strength__photo { max-width: 300px; }

	.bf-message__inner { grid-template-columns: 1fr; gap: 36px; }
	.bf-message__profile { max-width: 260px; margin: 0 auto; text-align: center; }
	.bf-message__lead { font-size: 18px; }
	.bf-message__tri { width: 100px; }

	.bf-news__item > a,
	.bf-news__item > div { grid-template-columns: auto auto; justify-content: start; gap: 6px 14px; }
	.bf-news__tag { padding: 2px 12px; }
	.bf-news__title { grid-column: 1 / -1; }

	.bf-company__table { padding: 4px 20px; }
	.bf-company__row { grid-template-columns: 1fr; gap: 4px; }
	.is-lang-en .bf-company__row { grid-template-columns: 1fr; }
	.is-lang-en .bf-message__sign span { display: block; margin: 4px 0 0; }

	.bf-cta__title { font-size: 28px; }
	.bf-cta__btns .bf-btn { flex: 1 1 100%; min-width: 0; }
	.bf-cta__tri { width: 110px; }

	.bf-page-head { padding: 24px 0 44px; }
	.bf-page-head__tri { width: 110px; }
	.bf-crumbs ol { font-size: 11px; }
	.bf-crumbs li:last-child span { max-width: 9em; }
	.bf-page-head__eyebrow,
	.bf-page-head__meta { margin-top: 34px; }
	.bf-page-head__title { font-size: 30px; }
	.bf-page-head__title--post { font-size: 24px; line-height: 1.5; }

	.bf-archive { padding: 8px 0 70px; }
	.bf-filters { gap: 8px; }
	.bf-filters__btn { height: 36px; padding: 0 16px; font-size: 13px; }
	.bf-archive__list { margin-top: 26px; }
	.bf-archive__item a { position: relative; flex-wrap: wrap; gap: 8px 14px; padding: 20px 4px; }
	.bf-archive__item time { width: auto; font-size: 13px; }
	.bf-archive__item .bf-news__tag { width: auto; padding: 1px 12px; font-size: 12px; }
	.bf-archive__title { flex: 0 0 100%; padding-right: 46px; font-size: 15px; }
	.bf-archive__item .bf-circle { position: absolute; right: 4px; bottom: 20px; width: 32px; height: 32px; }
	.bf-pager { gap: 8px; margin-top: 40px; }
	.bf-pager .page-numbers { min-width: 40px; height: 40px; }

	.bf-article { padding: 8px 0 70px; }
	.bf-article__eye { border-radius: 8px; }
	.bf-article__eye + .bf-entry { margin-top: 36px; }
	.bf-entry { font-size: 15px; line-height: 1.95; }
	.bf-entry h2 { margin-top: 44px; font-size: 21px; }
	.bf-entry h3 { margin-top: 36px; font-size: 18px; }
	.bf-entry ul,
	.bf-entry ol { padding: 18px; }
	.bf-entry ol { padding-left: 2.4em; }
	.bf-entry blockquote { padding: 20px; font-size: 16px; }
	.bf-share { margin-top: 48px; }
	.bf-share__label { flex: 0 0 100%; }
	.bf-pn { grid-template-columns: 1fr; gap: 12px; }
	.bf-pn__item { padding: 18px 20px; }
	.bf-pn__item--empty { display: none; }
	.bf-article__back { margin-top: 40px; }
	.bf-article__back .bf-btn { width: 100%; }
	.bf-related { padding: 56px 0 64px; }

	.bf-policy__toc { margin-bottom: 40px; padding: 22px 20px; }
	.bf-policy__toc ol { grid-template-columns: 1fr; }
	.bf-contact { padding: 0 0 70px; }
	.bf-steps__item { width: 90px; }
	.bf-steps__item + .bf-steps__item { margin-left: 60px; }
	.bf-steps__item + .bf-steps__item::before { width: 70px; }
	.bf-contact__lead { margin-top: 32px; font-size: 14px; text-align: left; }
	.bf-contact__note { justify-content: flex-start; font-size: 12px; }
	.bf-form-card { margin-top: 28px; padding: 6px 20px 32px; border-radius: 12px; }
	.bf-form__row { flex-direction: column; gap: 12px; padding: 22px 0; }
	.bf-form__label { justify-content: flex-start; width: auto; min-height: 0; font-size: 14px; }
	.bf-form input[type="text"],
	.bf-form input[type="email"],
	.bf-form input[type="tel"],
	.bf-form input[type="url"],
	.bf-form select { height: 50px; font-size: 16px; }
	.bf-form textarea { height: 180px; font-size: 16px; }
	.bf-form .wpcf7-checkbox { flex-direction: column; gap: 8px; }
	.bf-form .wpcf7-checkbox label { width: 100%; height: 44px; }
	.bf-form__privacy { margin-top: 28px; font-size: 14px; }
	.bf-form__submit { margin-top: 24px; }
	.bf-form input[type="submit"] { width: 100%; height: 58px; background-position: right 28% center; }
	.bf-thanks { margin-top: 32px; padding: 44px 22px 36px; }
	.bf-thanks__icon { width: 72px; height: 72px; }
	.bf-thanks__title { font-size: 21px; }
	.bf-thanks__text { font-size: 14px; text-align: left; }
	.bf-thanks__info { padding: 16px 18px; font-size: 13px; }
	.bf-thanks__btns { flex-direction: column; gap: 12px; width: 100%; }
	.bf-thanks__btns .bf-btn { width: 100%; }
	.bf-page-body { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; }
}
