/**
 * Kyrgyz NAVI — selected logo A-1.
 * Symbol: red disc + yellow abstract tunduk.
 * Wordmark: charcoal キルギスNAVI (NAVI not recolored).
 * Subline: by キルギス日本教育基金.
 */

.brand-lockup {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	text-decoration: none;
	color: inherit;
}

.brand-lockup:focus-visible {
	outline: 2px solid var(--color-red, #c81e3a);
	outline-offset: 4px;
}

.brand-symbol {
	display: block;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	overflow: hidden;
}

.brand-symbol img,
.brand-symbol svg {
	display: block;
	width: 100%;
	height: 100%;
}

.brand-lockup-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.12;
	gap: 3px;
}

.brand-name {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: nowrap;
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--color-charcoal, #1f2937);
	white-space: nowrap;
}

/* A-1: NAVI stays charcoal for instant site-name reading. */
.brand-name-navi,
.brand-name-accent {
	margin-left: 0.06em;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: inherit;
}

.brand-name-accent::after {
	display: none;
}

.brand-byline {
	display: block;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--color-charcoal-soft, #6b675f);
	white-space: nowrap;
}

.brand-byline a {
	color: inherit;
	text-decoration: none;
	font-weight: inherit;
}

.brand-byline a:hover,
.brand-byline a:focus-visible {
	text-decoration: underline;
}

.site-header .operator-brand {
	display: none !important;
}

.site-header .logo-group.brand-lockup {
	gap: 10px;
}

.footer-portal-brand {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0 0 22px;
	padding: 0 0 18px;
	border-bottom: 1px solid var(--color-line, rgba(0, 0, 0, 0.08));
}

.footer-portal-brand .brand-footer-name {
	font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: inherit;
}

.footer-portal-brand .brand-footer-name .brand-name-navi,
.footer-portal-brand .brand-footer-name .brand-name-accent {
	margin-left: 0.06em;
	letter-spacing: 0.04em;
	color: inherit;
}

.footer-portal-brand .brand-footer-operator {
	font-size: 12px;
	font-weight: 500;
	color: var(--color-charcoal-soft, #6b675f);
}

.footer-portal-brand .brand-footer-tagline {
	font-size: 12px;
	line-height: 1.6;
	color: var(--color-charcoal-soft, #6b675f);
}

body.home .site-header .brand-symbol {
	width: 38px;
	height: 38px;
}

body.home .site-header .brand-name {
	font-size: 17px;
}

body.home .site-header .brand-byline {
	font-size: 10px;
}

body.home .footer-portal-brand {
	color: var(--portal-ink, #221f1c);
}

/* Legacy premium picture (unused in A-1) kept inert if present. */
.premium-logo-picture {
	display: none;
}

@media (max-width: 900px) {
	.brand-symbol {
		width: 32px;
		height: 32px;
	}

	body.home .site-header .brand-symbol {
		width: 32px;
		height: 32px;
	}

	.brand-name,
	body.home .site-header .brand-name {
		font-size: 15px;
	}

	.brand-byline,
	body.home .site-header .brand-byline {
		font-size: 9px;
		max-width: 11.5rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (max-width: 390px) {
	.brand-lockup {
		gap: 8px;
	}

	.brand-name,
	body.home .site-header .brand-name {
		font-size: 14px;
	}

	.brand-byline,
	body.home .site-header .brand-byline {
		font-size: 8.5px;
		max-width: 10rem;
	}
}

