/* Scoped to the Security landing page. */
.bs-page {
	--bs-blue: #2f6bff;
	--bs-blue-dark: #1e4ed8;
	--bs-blue-deep: #163a9a;
	--bs-navy: #1a2744;
	--bs-text: #17223a;
	--bs-muted: #64748b;
	--bs-line: #e2e8f0;
	--bs-soft: #f5faff;
	/* Shared EOL alert red (risk title + result version when eol). */
	--bs-eol-alert: #b83a2a;
	background: #f5f7fb;
	color: var(--bs-text);
	/* LP ends with full-bleed .bs-final-cta; keep bottom padding only on apply. */
	padding-bottom: 0;
}

.bs-page.bs-apply {
	padding-bottom: 72px;
}

.bs-page * {
	box-sizing: border-box;
}

.bs-wrap {
	max-width: 1000px;
	margin: auto;
	padding: 0 24px;
}

/* —— Hero —— */
.bs-hero {
	padding: 80px 0 56px;
	background:
		radial-gradient(120% 140% at 12% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 48%),
		linear-gradient(135deg, #1e5cff 0%, var(--bs-blue) 48%, #3d7bff 100%);
	color: #fff;
}

.bs-hero .bs-wrap {
	position: relative;
}

.bs-brand-mark {
	margin: 0 0 18px;
}

.bs-brand-mark .brand-name,
.bs-plan__brand.brand-name {
	font-family: "Laro", sans-serif;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.04em;
	line-height: 1.1;
}

.bs-hero .bs-brand-mark .brand-name {
	display: inline-block;
	color: #fff;
	font-size: clamp(18px, 2.4vw, 26px);
	letter-spacing: 0.06em;
	text-shadow: 0 1px 0 rgba(16, 40, 110, 0.12);
}

.bs-eyebrow {
	font-size: 12px;
	letter-spacing: 0.14em;
	font-weight: 800;
	color: var(--bs-blue);
}

.bs-hero__title {
	font-size: clamp(28px, 4.4vw, 48px);
	line-height: 1.35;
	margin: 10px 0 20px;
	color: #fff;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.bs-hero__title-line {
	display: block;
}

.bs-hero__lead {
	max-width: 750px;
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.8;
}

.bs-hero__char {
	display: inline-block;
	opacity: 0;
	transform: translateY(0.4em);
	animation: bsHeroCharIn 0.32s ease forwards;
}

.bs-hero__char--space {
	min-width: 0.32em;
}

.bs-hero--animate .bs-hero__lead {
	opacity: 0;
	transform: translateY(14px);
}

.bs-hero--animate.is-bs-hero-revealed .bs-hero__lead {
	opacity: 1;
	transform: none;
	transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes bsHeroCharIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bs-hero__char {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.bs-hero--animate .bs-hero__lead,
	.bs-hero--animate.is-bs-hero-revealed .bs-hero__lead {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* —— Panels —— */
.bs-panel {
	background: #fff;
	border: 1px solid var(--bs-line);
	border-radius: 18px;
	padding: clamp(22px, 4vw, 40px);
	margin-top: 28px;
	box-shadow: 0 8px 30px #1b2b500c;
}

.bs-panel h2 {
	font-size: clamp(22px, 3vw, 30px);
	line-height: 1.4;
	margin: 0 0 14px;
}

.bs-check-intro {
	margin: 0 0 8px;
	font-size: 15px;
	line-height: 1.75;
	color: var(--bs-text);
}

.bs-check-intro-note {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--bs-muted);
}

.bs-check-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
}

.bs-check-topics li {
	font-size: 12px;
	font-weight: 700;
	color: var(--bs-blue-deep);
	background: var(--bs-soft);
	border: 1px solid #d7e6f7;
	border-radius: 999px;
	padding: 6px 12px;
	line-height: 1.3;
}

.bs-panel h3 {
	margin: 0 0 9px;
}

.bs-check-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 10px;
}

.bs-fields {
	display: flex;
	gap: 12px;
}

.bs-fields input {
	width: 100%;
	min-width: 0;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	color: var(--bs-text);
	background: #fff;
}

.bs-fields button,
.bs-button {
	background: var(--bs-blue);
	border: 0;
	border-radius: 9px;
	color: #fff;
	padding: 12px 20px;
	white-space: nowrap;
	text-decoration: none;
	font-weight: 700;
	cursor: pointer;
	display: inline-block;
}

.bs-button--secondary {
	background: #fff;
	color: var(--bs-blue);
	border: 1px solid var(--bs-blue);
}

.bs-button--secondary:hover {
	background: #f0f5ff;
}

.bs-small {
	font-size: 13px;
	color: var(--bs-muted);
	line-height: 1.8;
}

.bs-alert {
	padding: 12px 15px;
	background: #fff1f0;
	color: #ae251a;
	border-radius: 9px;
	margin-top: 16px;
}

.bs-result {
	border-top: 1px solid var(--bs-line);
	margin-top: 24px;
	padding-top: 24px;
}

.bs-result-number {
	font-size: clamp(22px, 4vw, 30px);
	font-weight: 800;
	color: #a07114;
}

.bs-result-number--eol {
	color: var(--bs-eol-alert);
}

/* —— Web basic security checks (STEP 8-B) —— */
.bs-webcheck {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--bs-line);
}

.bs-webcheck__heading {
	margin: 0 0 14px;
	font-size: 1.15rem;
	color: var(--bs-navy);
}

.bs-webcheck__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bs-webcheck__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px;
	border: 1px solid var(--bs-line);
	border-radius: 10px;
	background: #fff;
}

.bs-webcheck__icon {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #2f6bff;
	background: var(--bs-soft);
	border: 1px solid #d7e6f7;
}

.bs-webcheck__svg {
	width: 24px;
	height: 24px;
	display: block;
	flex-shrink: 0;
}

.bs-webcheck__body {
	flex: 1;
	min-width: 0;
}

.bs-webcheck__top {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	margin-bottom: 6px;
}

.bs-webcheck__title {
	font-weight: 700;
	color: var(--bs-navy);
}

.bs-webcheck__badge {
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid var(--bs-line);
	background: #f8fafc;
	color: var(--bs-muted);
}

.bs-webcheck__item--ok .bs-webcheck__badge {
	background: #eefaf3;
	border-color: #b7e4c7;
	color: #1b6b3a;
}

/* 要確認（証明書期限など）のみ落ち着いたアンバー */
.bs-webcheck__item--review .bs-webcheck__badge {
	background: #fff8e8;
	border-color: #f0d48a;
	color: #8a5a00;
}

/* ヘッダーの一部未検出・未検出・判定不可は中立グレー */
.bs-webcheck__item--partial .bs-webcheck__badge,
.bs-webcheck__item--missing .bs-webcheck__badge,
.bs-webcheck__item--unknown .bs-webcheck__badge,
.bs-webcheck__item--improve .bs-webcheck__badge {
	background: #f1f5f9;
	border-color: #cbd5e1;
	color: #475569;
}

.bs-webcheck__item--expired .bs-webcheck__badge {
	background: #fff1f0;
	border-color: #f0b4ae;
	color: #ae251a;
}

.bs-webcheck__summary {
	margin: 0;
	font-size: 14px;
	line-height: 1.65;
	color: var(--bs-text);
}

.bs-webcheck__details {
	margin-top: 10px;
}

.bs-webcheck__details summary {
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: var(--bs-blue);
}

.bs-webcheck__headers {
	margin: 8px 0 0;
	padding-left: 1.1em;
	font-size: 13px;
	line-height: 1.7;
	color: var(--bs-text);
}

.bs-webcheck__note {
	color: var(--bs-muted);
}

.bs-webcheck__disclaimer {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: var(--bs-muted);
}

@media (max-width: 640px) {
	.bs-webcheck__item {
		padding: 12px;
	}
}

/* —— Accordion (manual check) —— */
.bs-panel details.bs-accordion {
	border: 1px solid #d7e6f7;
	border-radius: 10px;
	margin: 12px 0;
	padding: 0;
	background: var(--bs-soft);
	overflow: hidden;
}

.bs-panel details.bs-accordion summary {
	cursor: pointer;
	font-weight: 700;
	padding: 14px 44px 14px 18px;
	background: var(--bs-soft);
	color: var(--bs-navy);
	list-style: none;
	position: relative;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.bs-panel details.bs-accordion summary::-webkit-details-marker {
	display: none;
}

.bs-panel details.bs-accordion summary::marker {
	content: "";
}

.bs-panel details.bs-accordion summary::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 0.55em;
	height: 0.55em;
	border-right: 2px solid #5b7fb5;
	border-bottom: 2px solid #5b7fb5;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.18s ease;
	pointer-events: none;
}

.bs-panel details.bs-accordion[open] summary::after {
	transform: translateY(-20%) rotate(-135deg);
}

.bs-panel details.bs-accordion summary:hover {
	background: #eef6ff;
}

.bs-panel details.bs-accordion[open] {
	border-color: #c5daf3;
	background: #fff;
}

.bs-panel details.bs-accordion[open] summary {
	border-bottom: 1px solid #e3eef9;
	background: var(--bs-soft);
}

.bs-accordion__body {
	padding: 14px 18px 16px;
	background: #fff;
	color: #334155;
	line-height: 1.75;
}

.bs-panel details.bs-accordion ol {
	margin: 0;
	padding-left: 1.2em;
}

.bs-panel details.bs-accordion .bs-accordion__body > p {
	margin: 0;
}

.bs-panel details.bs-accordion .bs-accordion__body > p + p,
.bs-panel details.bs-accordion .bs-accordion__body ol + p {
	margin-top: 10px;
}

.bs-lead {
	margin: 0 0 22px;
	line-height: 1.8;
	color: #334155;
}

/* —— Plans / pricing —— */
.bs-plans {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-bottom: 8px;
}

.bs-plans > div,
.bs-plan {
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	padding: 22px;
	background: #fff;
}

.bs-plan__label {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--bs-blue);
}

.bs-plan__title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35em 0.45em;
	margin: 0 0 12px;
	font-size: clamp(20px, 2.4vw, 24px);
	line-height: 1.25;
	color: var(--bs-navy);
}

.bs-plan__brand {
	color: var(--bs-navy);
	font-size: 0.92em;
	letter-spacing: 0.04em;
}

.bs-plan__accent {
	color: var(--bs-blue);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.bs-plan__list {
	margin: 14px 0 16px;
	padding-left: 1.2em;
	/* ~93.75% of typical 16px body; denser than body copy, still readable */
	font-size: 0.9375rem;
	/* Readable blue between navy and BASYS Blue */
	color: #2454ad;
	line-height: 1.7;
}

.bs-plan__list li + li {
	margin-top: 5px;
}

.bs-plan__list li::marker {
	color: #2454ad;
}

.bs-plan .bs-button {
	margin-top: 8px;
}

.bs-plan__actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	margin-top: 12px;
}

.bs-plan__actions .bs-button {
	margin-top: 0;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
}

.bs-plan__actions .bs-button--secondary:focus-visible {
	outline: 2px solid var(--bs-blue-deep);
	outline-offset: 2px;
}

.bs-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.12em 0.35em;
	margin: 8px 0 14px;
	line-height: 1.2;
	color: var(--bs-navy);
}

.bs-price__amount {
	color: var(--bs-blue);
	font-size: clamp(32px, 5vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}

.bs-price__yen {
	color: var(--bs-navy);
	font-size: clamp(16px, 2.2vw, 20px);
	font-weight: 700;
}

.bs-price__note {
	display: inline-block;
	width: 100%;
	margin-top: 4px;
	color: var(--bs-muted);
	font-size: 13px;
	font-weight: 500;
}

.bs-usage-note {
	margin-top: 18px;
	padding: 14px 16px;
	border: 1px solid #d7e6f7;
	border-radius: 10px;
	background: var(--bs-soft);
	color: #334155;
}

.bs-usage-note__title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 800;
	color: var(--bs-navy);
}

.bs-usage-note__list {
	margin: 0;
	padding-left: 1.15em;
	font-size: 13px;
	line-height: 1.7;
	color: #475569;
}

.bs-usage-note__list li + li {
	margin-top: 4px;
}

.bs-usage-note__links {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #475569;
}

.bs-usage-note__links a {
	color: var(--bs-blue-deep);
	font-weight: 600;
}

.bs-risk {
	margin-top: 18px;
	padding: 18px 20px;
	border: 1px solid #ffb8a8;
	border-radius: 12px;
	background: #fff7f5;
	color: #3c434a;
}

/* EOL only — stronger urgency, scoped so ending_soon stays softer. */
.bs-risk--eol {
	border: 2px solid #e07060;
	background: #fff1ee;
	box-shadow: 0 1px 0 rgba(176, 58, 42, 0.06);
}

.bs-risk--soon {
	border-color: #e7c878;
	background: #fffbf0;
}

.bs-risk__title {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.45;
	color: var(--bs-navy);
}

.bs-risk--eol .bs-risk__title {
	display: flex;
	align-items: flex-start;
	gap: 0.4em;
	font-size: clamp(18px, 2.4vw, 21px);
	font-weight: 800;
	line-height: 1.4;
	color: var(--bs-eol-alert);
}

.bs-risk--eol .bs-risk__title::before {
	content: "⚠";
	flex: 0 0 auto;
	margin-top: 0.05em;
	font-size: 1.05em;
	line-height: 1;
	color: #c44736;
}

.bs-risk__lead,
.bs-risk__note,
.bs-risk__label {
	margin: 0 0 10px;
	line-height: 1.75;
	font-size: 14px;
}

.bs-risk__label {
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--bs-navy);
}

.bs-risk__list {
	margin: 0 0 12px;
	padding-left: 1.2em;
	line-height: 1.7;
	font-size: 14px;
	color: #334155;
}

.bs-risk__list li + li {
	margin-top: 4px;
}

.bs-risk--eol .bs-risk__list {
	margin: 0 0 14px;
	padding-left: 0;
	list-style: none;
}

.bs-risk--eol .bs-risk__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.45em;
	margin-top: 0;
	padding: 9px 12px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.55);
	color: #b83a2a;
	font-size: clamp(16px, 2.1vw, 21px);
	font-weight: 700;
	line-height: 1.5;
	word-break: break-word;
}

.bs-risk--eol .bs-risk__list li + li {
	margin-top: 8px;
}

.bs-risk--eol .bs-risk__list li::before {
	content: "⚠";
	flex: 0 0 auto;
	margin-top: 0.12em;
	font-size: 0.9em;
	line-height: 1;
	color: #c44736;
}

.bs-risk__note {
	margin-bottom: 14px;
	color: #64748b;
	font-size: 13px;
}

.bs-risk--eol .bs-risk__note {
	margin-top: 2px;
	margin-bottom: 16px;
	padding-top: 2px;
	color: #6b7280;
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.7;
}

.bs-risk .bs-cta-row {
	margin-top: 4px;
}

.bs-risk--eol .bs-cta-row {
	margin-top: 2px;
}

@media (max-width: 680px) {
	.bs-risk--eol {
		padding: 16px;
	}

	.bs-risk--eol .bs-risk__title {
		font-size: 17px;
	}

	.bs-risk--eol .bs-risk__list li {
		padding: 9px 11px;
		font-size: 16.5px;
	}

	.bs-risk--eol .bs-cta-row .bs-button {
		width: 100%;
		text-align: center;
	}
}

/* —— Next steps guide (after result / risk, before service upsell) —— */
.bs-next {
	margin-top: 22px;
	padding: 20px 20px 18px;
	border: 1px solid #d7e6f7;
	border-radius: 12px;
	background: #f8fbff;
}

.bs-next__heading {
	margin: 0 0 10px;
	font-size: clamp(18px, 2.2vw, 20px);
	line-height: 1.4;
	color: var(--bs-navy);
}

.bs-next__intro {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.7;
	font-weight: 650;
	color: #334155;
}

.bs-next__lead {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.7;
	color: #475569;
}

.bs-next__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.bs-next__card {
	padding: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #fff;
}

.bs-next__card-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--bs-navy);
}

.bs-next__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55em;
	height: 1.55em;
	border-radius: 999px;
	background: #2f6bff;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	flex: 0 0 auto;
}

.bs-next__card-body {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.7;
	color: #334155;
}

.bs-next__card-note {
	margin: 10px 0 0;
	font-size: 12.5px;
	line-height: 1.65;
	color: #c0392b;
}

.bs-next__card .bs-button {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin-top: 14px;
	text-align: center;
}

.bs-next__card .bs-button--outline {
	background: #fff;
	color: var(--bs-blue);
	border: 1px solid var(--bs-blue);
}

.bs-next__card .bs-button--outline:hover {
	background: #f0f5ff;
}

/* Keep #manual visible below fixed header when jumping from "確認方法を見る". */
#manual {
	scroll-margin-top: calc(var(--header-h, 88px) + 12px);
}

@media (max-width: 860px) {
	.bs-next__grid {
		grid-template-columns: 1fr;
	}
}

.bs-upsell {
	margin-top: 22px;
	padding: 18px 20px;
	border: 1px solid #dbe4ff;
	border-radius: 12px;
	background: #f5f8ff;
}

.bs-upsell h3 {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.45;
}

.bs-upsell p {
	margin: 0 0 16px;
	line-height: 1.75;
	color: #334155;
}

.bs-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bs-disclaimer {
	padding-top: 22px;
}

.bs-support {
	padding: 15px 18px;
	border-radius: 10px;
	margin: 15px 0;
	background: #f1f5f9;
	border: 1px solid #cbd5e1;
}

.bs-support p {
	margin: 5px 0 0;
}

.bs-support.warning {
	background: #fff5f3;
	border-color: #ffb8a8;
}

.bs-support.caution {
	background: #fff8e8;
	border-color: #e7c878;
}

.bs-support.good {
	background: #eaf8ef;
	border-color: #98d6af;
}

.bs-manual-entry {
	margin-top: 27px;
	padding-top: 18px;
	border-top: 1px solid var(--bs-line);
}

.bs-consult-form {
	display: grid;
	gap: 16px;
}

.bs-consult-form label {
	display: block;
	font-weight: 650;
}

.bs-consult-form label span {
	font-size: 12px;
	color: #a64b23;
}

.bs-consult-form input:not([type="checkbox"]),
.bs-consult-form select,
.bs-consult-form textarea {
	display: block;
	width: 100%;
	font: inherit;
	padding: 12px;
	margin-top: 7px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	background: #fff;
	color: var(--bs-text);
}

.bs-consult-form .bs-consent {
	display: flex;
	gap: 9px;
	align-items: center;
	font-weight: 400;
}

.bs-consent input {
	width: 18px;
	height: 18px;
}

.bs-trap {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bs-consult-form button {
	justify-self: start;
	cursor: pointer;
}

/* —— Your concerns (Hero直後) —— */
.bs-concerns {
	margin-top: 6px;
}

.bs-concerns__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	margin: 0 auto 8px;
}

.bs-concerns__bubble-wrap {
	position: relative;
	width: 100%;
	max-width: 520px;
	min-height: 5.6rem;
	margin: 4px auto 18px;
}

.bs-concerns__bubble {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	padding: 14px 16px 18px;
	border: 1px solid #c9dbff;
	border-radius: 16px;
	background: #eef4ff;
	color: var(--bs-navy);
	box-shadow: 0 6px 18px rgba(47, 107, 255, 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	position: absolute;
	left: 0;
	top: 0;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.bs-concerns__bubble.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bs-concerns__bubble::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -8px;
	width: 14px;
	height: 14px;
	margin-left: -7px;
	background: #eef4ff;
	border-right: 1px solid #c9dbff;
	border-bottom: 1px solid #c9dbff;
	transform: rotate(45deg);
}

.bs-concerns__icon {
	flex: 0 0 40px;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bs-blue);
	background: #fff;
	border: 1px solid #d7e6f7;
}

.bs-concerns__svg {
	width: 22px;
	height: 22px;
	display: block;
	flex-shrink: 0;
	overflow: visible;
}

.bs-concerns__text {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: clamp(14px, 1.6vw, 16px);
	font-weight: 700;
	line-height: 1.65;
	color: var(--bs-navy);
}

.bs-concerns__figure {
	margin: 0;
	width: 100%;
	max-width: none;
	line-height: 0;
}

.bs-concerns__image {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
	object-fit: contain;
}

.bs-concerns__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.bs-concerns__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #c9d4e8;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.bs-concerns__dot.is-active {
	background: var(--bs-blue);
	transform: scale(1.15);
}

.bs-concerns__dot:focus-visible {
	outline: 2px solid var(--bs-blue-deep);
	outline-offset: 3px;
}

.bs-concerns__cta-lead {
	margin: 22px 0 8px;
	text-align: center;
	font-size: clamp(17px, 2.2vw, 20px);
	font-weight: 800;
	line-height: 1.55;
	color: var(--bs-navy);
}

.bs-concerns__cta-note {
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 1.75;
	color: #475569;
}

.bs-concerns__arrow {
	display: flex;
	justify-content: center;
	margin-top: 14px;
	color: var(--bs-blue);
}

@media (max-width: 680px) {
	.bs-concerns__bubble-wrap {
		min-height: 6.4rem;
		margin-bottom: 10px;
	}

	.bs-concerns__bubble {
		padding: 12px 14px 16px;
		gap: 10px;
	}

	.bs-concerns__cta-lead {
		margin-top: 16px;
	}
}

/* Keep 「こんなお悩み、ありませんか？」 on one line at common phone widths.
   Avoid nowrap; at ~320px the clamp floor still allows a natural wrap.
   Size accounts for full-width JP fonts (≈1em/glyph) inside panel padding. */
@media (max-width: 420px) {
	#bs-concerns-heading {
		font-size: clamp(16.5px, 4.7vw, 21px);
		letter-spacing: -0.045em;
		line-height: 1.35;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bs-concerns__bubble {
		transition: none;
	}
}

/* —— What we check —— */
.bs-what-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 8px 0 16px;
}

.bs-what-card {
	padding: 18px 16px;
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	background: var(--bs-soft);
}

.bs-what-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	margin-bottom: 10px;
	border-radius: 999px;
	background: var(--bs-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.bs-what-card__title {
	margin: 0 0 8px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--bs-navy);
}

.bs-what-card__body {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	color: #475569;
}

.bs-what-note {
	margin: 4px 0 0;
	line-height: 1.7;
}

/* —— Report intro —— */
.bs-report-features {
	display: grid;
	gap: 28px;
	margin: 8px 0 20px;
}

.bs-report-feature {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 22px;
	align-items: center;
}

.bs-report-feature:nth-child(even) {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.bs-report-feature:nth-child(even) .bs-report-feature__media {
	order: 2;
}

.bs-report-feature:nth-child(even) .bs-report-feature__copy {
	order: 1;
}

.bs-report-feature__media {
	margin: 0;
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	overflow: hidden;
	background: #eef2f7;
	box-shadow: 0 10px 28px rgba(26, 39, 68, 0.08);
}

.bs-report-feature__media img {
	display: block;
	width: 100%;
	height: auto;
}

.bs-report-feature__title {
	margin: 0 0 10px;
	font-size: clamp(18px, 2.4vw, 22px);
	line-height: 1.45;
	color: var(--bs-navy);
}

.bs-report-feature__body {
	margin: 0;
	line-height: 1.8;
	color: #334155;
}

.bs-report-sample-note {
	margin: 12px 0 0;
}

/* —— How to use —— */
.bs-howto-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-top: 8px;
}

.bs-howto-card {
	display: flex;
	flex-direction: column;
	padding: 20px 18px;
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	background: #fff;
}

.bs-howto-card__media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 160px;
	margin: 0 0 14px;
	line-height: 0;
}

.bs-howto-card__image {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.bs-howto-card__title {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.4;
	color: var(--bs-navy);
}

.bs-howto-card__body {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #475569;
}

/* —— Final CTA (blue band) —— */
.bs-final-cta {
	margin-top: 48px;
	padding: 56px 0 64px;
	background:
		radial-gradient(120% 140% at 12% 0%, rgba(255, 255, 255, 0.16) 0%, transparent 48%),
		linear-gradient(135deg, #1e5cff 0%, var(--bs-blue) 48%, #3d7bff 100%);
	color: #fff;
}

.bs-final-cta__inner {
	text-align: center;
	max-width: 860px;
}

.bs-final-cta__eyebrow {
	margin: 0 0 14px;
	font-family: "Laro", sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.92);
}

.bs-final-cta__title {
	margin: 0 auto 14px;
	max-width: min(100%, 22em);
	font-size: clamp(21px, 1.6vw + 0.85rem, 30px);
	line-height: 1.45;
	font-weight: 800;
	color: #fff;
	/* Prefer breaks at punctuation; never force nowrap overflow. */
	word-break: keep-all;
	overflow-wrap: break-word;
}

.bs-final-cta__title-line {
	display: inline;
}

/* Reuse .bs-hero__char + bsHeroCharIn for final CTA title reveal. */
.bs-final-cta.is-bs-final-cta-revealed .bs-hero__char {
	opacity: 1;
	transform: none;
	animation: none;
}

@media (prefers-reduced-motion: reduce) {
	.bs-final-cta .bs-hero__char {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

.bs-final-cta__lead {
	margin: 0 auto 22px;
	max-width: 640px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.92);
}

.bs-final-cta__price {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: baseline;
	gap: 0.12em 0.3em;
	margin: 0 0 6px;
	line-height: 1.1;
}

.bs-final-cta__amount {
	font-size: clamp(36px, 6vw, 48px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.bs-final-cta__yen,
.bs-final-cta__tax {
	font-size: clamp(16px, 2.2vw, 20px);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.95);
}

.bs-final-cta__note {
	margin: 0 0 22px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.bs-button--on-blue {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border-radius: 999px;
	background: #fff;
	color: var(--bs-blue-deep);
	font-weight: 800;
	border: 1px solid #fff;
	box-shadow: 0 8px 24px rgba(16, 40, 110, 0.18);
}

.bs-button--on-blue:hover,
.bs-button--on-blue:focus {
	background: #f5faff;
	color: var(--bs-blue-deep);
}

.bs-page .bs-disclaimer {
	margin-top: 18px;
}

@media (max-width: 900px) {
	.bs-what-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.bs-report-feature,
	.bs-report-feature:nth-child(even) {
		grid-template-columns: 1fr;
	}

	.bs-report-feature:nth-child(even) .bs-report-feature__media,
	.bs-report-feature:nth-child(even) .bs-report-feature__copy {
		order: initial;
	}

	.bs-howto-grid {
		grid-template-columns: 1fr;
	}

	.bs-howto-card__media {
		height: 150px;
		margin-bottom: 12px;
	}
}

@media (max-width: 680px) {
	.bs-howto-card__media {
		height: 136px;
		margin-bottom: 12px;
	}

	.bs-hero {
		padding: 55px 0 40px;
	}

	.bs-fields {
		flex-direction: column;
	}

	/* Free-check / manual-status submit only — not .bs-button CTAs */
	.bs-fields button {
		width: 100%;
		font-size: 15px;
		padding: 13px 18px;
	}

	.bs-plans {
		grid-template-columns: 1fr;
	}

	.bs-cta-row .bs-button {
		width: 100%;
		text-align: center;
	}

	.bs-price__note {
		width: auto;
		margin-top: 0;
		margin-left: 0.15em;
	}

	.bs-what-grid {
		grid-template-columns: 1fr;
	}

	.bs-final-cta {
		margin-top: 36px;
		padding: 44px 0 52px;
	}

	.bs-button--on-blue {
		width: 100%;
		max-width: 360px;
	}
}

/* —— Apply page (/security/apply/) —— */
.bs-apply .bs-hero--apply {
	padding: 64px 0 48px;
}

.bs-apply-form {
	display: grid;
	gap: 16px;
	position: relative;
}

.bs-apply-form label {
	display: block;
	font-weight: 650;
}

.bs-apply-form label span,
.bs-apply-form legend span {
	font-size: 12px;
	color: #a64b23;
}

.bs-apply-form input:not([type="checkbox"]):not([type="radio"]),
.bs-apply-form select,
.bs-apply-form textarea {
	display: block;
	width: 100%;
	font: inherit;
	padding: 12px;
	margin-top: 7px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	background: #fff;
	color: var(--bs-text);
}

.bs-apply-form .bs-consent {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-weight: 400;
}

.bs-fieldset {
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0;
}

.bs-fieldset legend {
	font-weight: 700;
	padding: 0 6px;
}

.bs-radio {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-weight: 500 !important;
	margin-top: 8px;
}

.bs-apply-summary {
	margin-top: 28px;
}

.bs-apply .bs-price--apply {
	display: block;
	margin: 8px 0 14px;
}

.bs-apply .bs-price--apply .bs-price__main {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.12em 0.35em;
	margin: 0;
	line-height: 1.2;
}

.bs-apply .bs-price--apply .bs-price__yen {
	font-size: clamp(15px, 2.1vw, 18px);
	font-weight: 700;
	color: var(--bs-navy);
	white-space: nowrap;
}

.bs-apply .bs-price--apply .bs-price__ex {
	margin: 10px 0 0;
	color: var(--bs-muted);
	font-size: clamp(14px, 1.8vw, 16px);
	font-weight: 600;
	line-height: 1.45;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.bs-apply-discount {
	color: var(--bs-blue-deep);
	font-weight: 700;
}

.bs-apply-confirm {
	padding: 16px 18px;
	background: var(--bs-soft);
	border: 1px solid var(--bs-line);
	border-radius: 12px;
}

.bs-apply-confirm h3 {
	margin: 0 0 10px;
	font-size: 1.05rem;
}

.bs-apply-done {
	margin-top: 28px;
}

.bs-apply-form button:disabled {
	opacity: 0.65;
	cursor: wait;
}

/* —— LP reaction (helpful + share) —— */
.bs-reaction {
	text-align: center;
}

.bs-reaction__lead {
	margin: 0 auto 22px;
	max-width: 32em;
	color: var(--bs-muted);
	font-size: 15px;
	line-height: 1.75;
}

.bs-reaction__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 12px;
}

.bs-reaction__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 20px;
	border: 1px solid #c9daf5;
	border-radius: 999px;
	background: linear-gradient(180deg, #fff 0%, var(--bs-soft) 100%);
	color: var(--bs-navy);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
	box-shadow: 0 4px 14px rgba(47, 107, 255, 0.08);
}

.bs-reaction__btn:hover {
	transform: translateY(-1px);
	border-color: #9cbcf5;
	box-shadow: 0 8px 20px rgba(47, 107, 255, 0.12);
}

.bs-reaction__btn:focus-visible {
	outline: 2px solid var(--bs-blue);
	outline-offset: 3px;
}

.bs-reaction__btn:active {
	transform: translateY(0);
}

.bs-reaction__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--bs-blue);
	line-height: 0;
}

.bs-reaction__heart,
.bs-reaction__share-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	aspect-ratio: 1 / 1;
	overflow: visible;
}

.bs-reaction__heart-path {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
}

.bs-reaction__count {
	display: inline-flex;
	align-items: center;
	min-width: 1.5em;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(47, 107, 255, 0.1);
	color: var(--bs-blue-deep);
	font-variant-numeric: tabular-nums;
	font-size: 13px;
}

.bs-reaction__btn--helpful.is-voted,
.bs-reaction.is-voted .bs-reaction__btn--helpful {
	border-color: #f0b4ad;
	background: #fff5f3;
	color: #8f3a32;
	cursor: default;
}

.bs-reaction__btn--helpful.is-voted .bs-reaction__icon,
.bs-reaction.is-voted .bs-reaction__btn--helpful .bs-reaction__icon {
	color: #c24b3f;
}

.bs-reaction__btn--helpful.is-voted .bs-reaction__heart-path,
.bs-reaction.is-voted .bs-reaction__heart-path {
	fill: currentColor;
}

.bs-reaction__btn--helpful.is-voted:hover,
.bs-reaction.is-voted .bs-reaction__btn--helpful:hover {
	transform: none;
	box-shadow: 0 4px 14px rgba(47, 107, 255, 0.06);
}

.bs-reaction__btn--helpful.is-pulse .bs-reaction__heart {
	animation: bsReactionHeart 0.45s ease;
}

@keyframes bsReactionHeart {
	0% { transform: scale(1); }
	40% { transform: scale(1.18); }
	100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.bs-reaction__btn,
	.bs-reaction__btn--helpful.is-pulse .bs-reaction__heart {
		transition: none;
		animation: none;
	}
}

.bs-reaction__share-wrap {
	position: relative;
}

.bs-reaction__share-menu {
	position: absolute;
	left: 50%;
	bottom: calc(100% + 10px);
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	flex-direction: column;
	min-width: 200px;
	padding: 8px;
	border: 1px solid var(--bs-line);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 12px 28px rgba(23, 34, 58, 0.14);
	text-align: left;
}

.bs-reaction__share-menu[hidden] {
	display: none !important;
}

.bs-reaction__share-item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--bs-navy);
	font-size: 14px;
	font-weight: 600;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.bs-reaction__share-item:hover,
.bs-reaction__share-item:focus-visible {
	background: var(--bs-soft);
	color: var(--bs-blue-deep);
	outline: none;
}

.bs-reaction__toast {
	margin: 12px auto 0;
	max-width: 16em;
	padding: 8px 12px;
	border-radius: 8px;
	background: var(--bs-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.bs-reaction__toast[hidden] {
	display: none !important;
}

@media (max-width: 560px) {
	.bs-reaction__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.bs-reaction__btn,
	.bs-reaction__share-wrap {
		width: 100%;
	}

	.bs-reaction__share-menu {
		left: 0;
		right: 0;
		transform: none;
		width: 100%;
	}
}

/* —— BASYS Media related (Security LP) —— */
.bs-media-related .bs-lead {
	margin: 0 auto 28px;
	max-width: 40em;
}

.bs-media-related__grid {
	--bs-media-card-max: 370px;
	display: grid;
	justify-content: center;
	align-items: stretch;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, var(--bs-media-card-max)));
}

.bs-media-related__grid--count-1 {
	grid-template-columns: minmax(0, var(--bs-media-card-max));
}

.bs-media-related__grid--count-2 {
	grid-template-columns: repeat(2, minmax(0, var(--bs-media-card-max)));
}

.bs-media-related__grid--count-3 {
	grid-template-columns: repeat(3, minmax(0, var(--bs-media-card-max)));
}

.bs-media-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--bs-media-card-max);
	min-width: 0;
	margin-inline: auto;
	padding: 14px;
	border: 1px solid var(--bs-line);
	border-radius: 16px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(23, 34, 58, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bs-media-card:hover {
	transform: translateY(-2px);
	border-color: #c9daf5;
	box-shadow: 0 10px 22px rgba(47, 107, 255, 0.1);
}

.bs-media-card:focus-visible {
	outline: 2px solid var(--bs-blue);
	outline-offset: 3px;
}

.bs-media-card__image {
	display: block;
	overflow: hidden;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	background: var(--bs-soft);
}

.bs-media-card__image img,
.bs-media-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.28s ease;
}

.bs-media-card__placeholder {
	background: linear-gradient(135deg, #e8eef8 0%, #d5e0f2 100%);
}

.bs-media-card:hover .bs-media-card__image img {
	transform: scale(1.03);
}

.bs-media-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 12px 2px 8px;
}

.bs-media-card__meta time {
	color: var(--bs-muted);
	font-size: 12px;
	line-height: 1.4;
}

.bs-media-card__cat {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border: 1px solid var(--bs-blue);
	border-radius: 4px;
	color: var(--bs-blue);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
}

.bs-media-card__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0 2px 2px;
	min-height: calc(1.55em * 2);
	color: var(--bs-navy);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.55;
	overflow-wrap: anywhere;
	transition: color 0.15s ease;
}

.bs-media-card:hover .bs-media-card__title {
	color: var(--bs-blue-deep);
}

.bs-media-related__more {
	margin: 32px 0 0;
	text-align: center;
}

.bs-media-related__more-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--bs-blue-deep);
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease, opacity 0.15s ease;
}

.bs-media-related__more-link:hover {
	color: var(--bs-blue);
}

.bs-media-related__more-link:focus-visible {
	outline: 2px solid var(--bs-blue);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.bs-media-card,
	.bs-media-card__image img {
		transition: none;
	}

	.bs-media-card:hover {
		transform: none;
	}

	.bs-media-card:hover .bs-media-card__image img {
		transform: none;
	}
}

@media (max-width: 640px) {
	.bs-media-related__grid,
	.bs-media-related__grid--count-1,
	.bs-media-related__grid--count-2,
	.bs-media-related__grid--count-3 {
		grid-template-columns: minmax(0, 1fr);
		justify-content: stretch;
		gap: 16px;
	}

	.bs-media-card {
		width: 100%;
		max-width: none;
		margin-inline: 0;
		padding: 12px;
	}

	.bs-media-card__title {
		font-size: 15px;
		min-height: 0;
	}

	.bs-media-related__more {
		margin-top: 24px;
	}
}
