/* Brand Site Builder — フロント表示(モバイルファースト) */

.bsb {
	--bsb-ink: #2b2f36;
	--bsb-muted: #6b7280;
	--bsb-line: #e5e7eb;
	--bsb-accent: #3b6ea5;
	--bsb-accent-dark: #315b88;
	--bsb-bg-soft: #f7f8fa;
	--bsb-radius: 12px;
	color: var(--bsb-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
	line-height: 1.8;
	overflow-wrap: break-word;
}

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

.bsb a {
	color: var(--bsb-accent);
}

.bsb-container {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 16px;
}

/* --- ヒーロー --- */
.bsb-hero__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bsb-hero__inner {
	text-align: center;
	padding-top: 24px;
	padding-bottom: 8px;
}

.bsb-hero__logo {
	max-height: 72px;
	width: auto;
	margin: 0 auto 12px;
}

.bsb-hero__title {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin: 0 0 4px;
}

.bsb-hero__subtitle {
	color: var(--bsb-muted);
	font-size: 0.95rem;
	margin: 0 0 16px;
}

/* --- SNS --- */
.bsb-sns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}

/* ロゴのある公式SNS: ブランドカラーの丸ボタン。
   .bsb a の色指定より優先させるため .bsb を前置している。 */
.bsb .bsb-sns__icon-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: #2b2f36;
	color: #fff;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.bsb .bsb-sns__icon-link:hover,
.bsb .bsb-sns__icon-link:focus-visible {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(43, 47, 54, 0.25);
	filter: brightness(1.08);
}

.bsb .bsb-sns__icon-link--x,
.bsb .bsb-sns__icon-link--tiktok {
	background: #000;
}

.bsb .bsb-sns__icon-link--facebook {
	background: #1877f2;
}

.bsb .bsb-sns__icon-link--youtube {
	background: #f00;
}

.bsb .bsb-sns__icon-link--line {
	background: #06c755;
}

.bsb .bsb-sns__icon-link--note {
	background: #41c9b4;
}

.bsb .bsb-sns__icon-link--instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.bsb-sns__icon {
	display: block;
}

/* 読み上げ用のラベル(画面には出さない)。 */
.bsb-sns__label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.bsb-sns__pill {
	display: inline-block;
	min-height: 44px;
	line-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--bsb-line);
	border-radius: 999px;
	background: #fff;
	color: var(--bsb-ink);
	font-size: 0.9rem;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.bsb-sns__pill:hover {
	border-color: var(--bsb-accent);
	box-shadow: 0 1px 6px rgba(59, 110, 165, 0.18);
}

/* --- セクション共通 --- */
.bsb-section {
	padding: 40px 0;
}

.bsb-section:nth-of-type(even) {
	background: var(--bsb-bg-soft);
}

.bsb-section__title {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.08em;
	margin: 0 0 24px;
}

.bsb-section__more {
	text-align: center;
	margin: 24px 0 0;
}

/* --- 運営者紹介 --- */
.bsb-profile__name {
	text-align: center;
	font-weight: 700;
	margin: 0 0 8px;
}

.bsb-profile__bio {
	color: var(--bsb-ink);
	margin: 0;
}

/* --- カードグリッド --- */
.bsb-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 600px) {
	.bsb-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.bsb-card {
	border: 1px solid var(--bsb-line);
	border-radius: var(--bsb-radius);
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.2s, transform 0.2s;
}

.bsb-card:hover {
	box-shadow: 0 4px 16px rgba(43, 47, 54, 0.1);
	transform: translateY(-2px);
}

.bsb-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.bsb-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bsb-card__body {
	padding: 16px;
}

.bsb-card__title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 8px;
}

.bsb-card__excerpt {
	color: var(--bsb-muted);
	font-size: 0.9rem;
	margin: 0 0 12px;
}

.bsb-card__more {
	color: var(--bsb-accent);
	font-size: 0.9rem;
	font-weight: 600;
}

/* --- 理念 --- */
.bsb-philosophy__summary {
	text-align: center;
	margin: 0;
}

/* --- お知らせ --- */
.bsb-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--bsb-line);
}

.bsb-news__item {
	border-bottom: 1px solid var(--bsb-line);
}

.bsb-news__link {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	align-items: baseline;
	min-height: 44px;
	padding: 12px 4px;
	color: inherit;
	text-decoration: none;
}

.bsb-news__link:hover .bsb-news__title {
	color: var(--bsb-accent);
	text-decoration: underline;
}

.bsb-news__date {
	color: var(--bsb-muted);
	font-size: 0.85rem;
	white-space: nowrap;
}

.bsb-news__title {
	flex: 1;
	min-width: 200px;
}

/* --- ボタン --- */
.bsb-button {
	display: inline-block;
	min-height: 48px;
	line-height: 48px;
	padding: 0 32px;
	border-radius: 999px;
	background: var(--bsb-accent);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s;
}

.bsb-button:hover {
	background: var(--bsb-accent-dark);
	color: #fff;
}

.bsb-button--ghost {
	background: #fff;
	border: 1px solid var(--bsb-accent);
	color: var(--bsb-accent);
}

.bsb-button--ghost:hover {
	background: var(--bsb-accent);
	color: #fff;
}

/* --- パンくず(テーマにパンくず部品が無いときの自前版) --- */
.bsb-breadcrumb {
	font-size: 0.85rem;
	color: #6b7280;
	padding: 12px 0;
}

.bsb-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	list-style: none;
	margin: 0 auto;
}

.bsb-breadcrumb__item + .bsb-breadcrumb__item::before {
	content: "›";
	margin-right: 8px;
	color: #9ca3af;
}

.bsb-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.bsb-breadcrumb a:hover {
	text-decoration: underline;
}

/* --- 一覧・詳細ページ --- */
.bsb-page {
	padding: 32px 0 56px;
}

.bsb-page__title {
	font-size: 1.4rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.08em;
	margin: 0 0 32px;
}

.bsb-single__thumb img {
	display: block;
	width: 100%;
	border-radius: var(--bsb-radius);
}

.bsb-single__meta {
	color: var(--bsb-muted);
	font-size: 0.85rem;
	margin: 0 0 8px;
}

.bsb-single__title {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 16px 0 24px;
}

.bsb-single__content {
	margin-bottom: 32px;
}

.bsb-single__content img {
	border-radius: var(--bsb-radius);
}

.bsb-single__cta {
	text-align: center;
	margin: 32px 0;
}

.bsb-single__back {
	margin-top: 40px;
	font-size: 0.9rem;
}

/* --- 空状態 --- */
.bsb-empty {
	text-align: center;
	color: var(--bsb-muted);
	padding: 40px 0;
}
