/* =========================================================
   be-fine AIO（髪のお悩み・店舗情報）
   既存テーマの色・見出し・ボタンに合わせた追加スタイル
   - メイン：#31b6ca（見出し・リンク）
   - 背景：#f3f3f3（.backblue と同じ）
   - マーカー：#deedef（.pinkmarker と同じ）
   - ボタン：.readmore と同じ白地・影・角丸
   スマートフォン表示を基準に作成
   ========================================================= */

.bf-aio,
.bf-salon {
	line-height: 1.9;
	word-break: normal;
	overflow-wrap: anywhere;
}

/* ---------- パンくず ---------- */
.bf-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	font-size: 13px;
	line-height: 1.6;
	display: flex;
	flex-wrap: wrap;
}
.bf-breadcrumb li + li::before {
	content: "＞";
	margin: 0 6px;
	color: #999;
}
.bf-breadcrumb a {
	color: #31b6ca;
}
/* 既存の nav span（メニューボタンの線）指定を打ち消す */
.bf-breadcrumb span {
	background: none;
	height: auto;
	width: auto;
	display: inline;
	position: static;
}

/* ---------- 見出し（既存 #content h1.entry-title を継承） ---------- */
.bf-aio .entry-header {
	margin-bottom: 1.2em;
}
#content .bf-aio h1.entry-title {
	line-height: 1.5;
	padding-bottom: 0.3em;
}
.bf-aio h3 {
	font-size: 18px;
	line-height: 1.6;
	margin: 1.6em 0 0.6em;
}
.bf-aio .bf-body ul,
.bf-aio .bf-text ul,
.bf-salon ul.bf-check-list-front {
	margin: 0 0 1.5em;
	padding-left: 1.4em;
}
.bf-aio .bf-body ul,
.bf-aio .bf-text ul {
	list-style: disc;
}
.bf-aio .bf-body ul li,
.bf-aio .bf-text ul li {
	list-style: disc;
	margin-bottom: 0.3em;
}

.bf-article-meta {
	font-size: 13px;
	color: #666;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 0.6em;
}
.bf-article-meta a {
	color: #31b6ca;
}

/* ---------- 結論（Q&A）ブロック ---------- */
.bf-answer {
	background: #f3f3f3;
	border-left: 5px solid #31b6ca;
	padding: 18px 18px 6px;
	margin: 0 0 2em;
	border-radius: 3px;
}
.bf-answer__q {
	font-weight: bold;
	margin: 0 0 0.8em;
	display: flex;
	gap: 8px;
}
.bf-answer__a {
	display: flex;
	gap: 8px;
}
.bf-answer__a p {
	margin-bottom: 0.8em;
}
.bf-answer__mark {
	color: #31b6ca;
	font-weight: bold;
	flex-shrink: 0;
	font-family: 'Quicksand', sans-serif;
}

/* ---------- 比較表 ---------- */
.bf-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 1.5em;
}
table.bf-compare {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.7;
	margin: 0;
}
table.bf-compare th,
table.bf-compare td {
	border: 1px solid #ccc;
	padding: 10px;
	vertical-align: top;
	text-align: left;
}
table.bf-compare thead th {
	background: #31b6ca;
	color: #fff;
	text-align: center;
}
table.bf-compare tbody th {
	background: #f3f3f3;
	white-space: nowrap;
	width: 7.5em;
}

/* ---------- FAQ ---------- */
.bf-faq__item {
	border-bottom: 1px dotted #ccc;
	padding: 0.4em 0 0.8em;
}
.bf-aio .bf-faq__q {
	border: none;
	padding: 0;
	margin: 0.8em 0 0.4em;
	font-size: 16px;
	display: flex;
	gap: 8px;
}
.bf-faq__a {
	display: flex;
	gap: 8px;
}
.bf-faq__a p {
	margin-bottom: 0.6em;
}
.bf-faq__mark {
	flex-shrink: 0;
	width: 1.7em;
	height: 1.7em;
	line-height: 1.7em;
	border-radius: 50%;
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	background: #31b6ca;
}
.bf-faq__a .bf-faq__mark {
	background: #e2a4a5;
	margin-top: 0.35em;
}
.bf-faq__a p,
.bf-answer__a p {
	margin-top: 0;
}
.bf-faq__a > div,
.bf-answer__a > div {
	min-width: 0;
	flex: 1;
}

/* ---------- お客様事例 ---------- */
.bf-case {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 16px;
	margin-bottom: 1.5em;
	background: #fff;
}
.bf-aio .bf-case__title {
	margin-top: 0;
}
.bf-case__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-bottom: 1em;
}
.bf-case__images figure {
	margin: 0;
	text-align: center;
	font-size: 13px;
}
.bf-case__images img {
	width: 100%;
	height: auto;
	display: block;
}
.bf-case__list dt {
	font-weight: bold;
	color: #31b6ca;
	margin-top: 0.6em;
}
.bf-case__list dd {
	margin: 0 0 0.4em;
}
.bf-case__comment {
	background: #f3f3f3;
	padding: 12px;
	border-radius: 4px;
	margin-top: 1em;
}
.bf-case__comment-label {
	font-weight: bold;
	margin-bottom: 0.3em;
}
.bf-case__note {
	font-size: 12px;
	color: #777;
	margin: 0.8em 0 0;
}

/* ---------- 監修者 ---------- */
.bf-author {
	border: 1px solid #ddd;
	border-radius: 6px;
	padding: 16px;
	margin: 2.5em 0;
}
.bf-author__label {
	font-weight: bold;
	color: #31b6ca;
	margin-bottom: 0.6em;
}
.bf-author__inner {
	display: flex;
	gap: 14px;
	align-items: flex-start;
}
.bf-author__img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
}
.bf-author__name {
	font-weight: bold;
	margin-bottom: 0.3em;
}
.bf-author__role,
.bf-author__salon {
	font-size: 13px;
	color: #666;
	font-weight: normal;
	margin-left: 0.5em;
}
.bf-author__salon {
	margin-left: 0;
}
.bf-author__sub {
	font-weight: bold;
	font-size: 13px;
	margin: 0.6em 0 0.2em;
}
.bf-author__text,
.bf-author__career {
	font-size: 14px;
}

/* ---------- 記事リスト ---------- */
ul.bf-article-list {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}
.bf-article-card {
	border-bottom: 1px solid #e5e5e5;
}
.bf-article-card a {
	display: block;
	padding: 14px 28px 14px 4px;
	position: relative;
	color: #333;
	text-decoration: none;
}
.bf-article-card a::after {
	content: "›";
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	color: #31b6ca;
	font-size: 22px;
}
.bf-article-card__title {
	display: block;
	font-weight: bold;
	color: #31b6ca;
	line-height: 1.6;
}
.bf-article-card__text {
	display: block;
	font-size: 14px;
	color: #555;
	margin-top: 4px;
	line-height: 1.7;
}

/* ---------- 一覧：悩みから探す ---------- */
.bf-lead {
	margin-bottom: 1.5em;
}
.bf-chips {
	background: #f3f3f3;
	padding: 14px;
	border-radius: 6px;
	margin-bottom: 1em;
}
.bf-chips__label {
	font-weight: bold;
	margin-bottom: 0.5em;
}
.bf-chips ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.bf-chips a {
	display: inline-block;
	background: #fff;
	border: 1px solid #31b6ca;
	color: #31b6ca;
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
.bf-concern__desc {
	font-size: 14px;
	color: #555;
}

/* ---------- 店舗カード ---------- */
.bf-salon-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin-bottom: 2em;
}
.bf-salon-card {
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0.2rem 0.2rem 1rem rgba(0, 0, 0, 0.06);
}
.bf-salon-card__img img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.bf-salon-card__body {
	padding: 14px 16px;
}
.bf-salon-card__body p {
	margin: 0 0 0.4em;
}
.bf-salon-card__label {
	display: inline-block;
	background: #333;
	color: #fff;
	font-size: 12px;
	padding: 2px 8px;
	border-radius: 6px;
	margin-bottom: 6px;
}
.bf-salon-card__name {
	font-size: 18px;
	font-weight: bold;
	line-height: 1.5;
}
.bf-salon-card__name a {
	color: #333;
	text-decoration: none;
}
.bf-salon-card__catch {
	color: #31b6ca;
}
.bf-salon-card__addr,
.bf-salon-card__tel {
	font-size: 14px;
	color: #555;
}
.bf-salon-card__more a {
	color: #31b6ca;
	font-size: 14px;
}

/* ---------- ボタン・CTA（.readmore と同じ見た目） ---------- */
.bf-cta {
	background: #f3f3f3;
	border-radius: 6px;
	padding: 20px 16px;
	margin: 2.5em 0 1em;
	text-align: center;
}
.bf-cta__title {
	font-size: 20px;
	font-weight: bold;
	color: #31b6ca;
	margin-bottom: 0.4em;
}
.bf-cta__lead {
	font-size: 14px;
}
.bf-cta__salon {
	margin-top: 1.2em;
}
.bf-cta__salon-name {
	font-weight: bold;
	margin-bottom: 0.5em;
}
.bf-cta__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
a.bf-btn {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 300px;
	min-height: 52px;
	padding: 6px 16px;
	box-sizing: border-box;
	background: #fff;
	color: #ab8b8c;
	border: 1px solid #fff;
	border-radius: 6.95rem;
	box-shadow: 0.3rem 0.3rem 1.5rem rgba(0, 0, 0, 0.1);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-decoration: none;
}
a.bf-btn--primary {
	background: #31b6ca;
	border-color: #31b6ca;
	color: #fff;
}
.bf-cta__back {
	margin: 1.5em 0 0;
	text-align: center;
}
.bf-cta__back a {
	color: #31b6ca;
}

/* ---------- 店舗ページ ---------- */
.bf-salon-catch {
	color: #31b6ca;
	margin-top: 0.5em;
}
.bf-salon h2.bf-sec-title,
#salondetail h2.bf-sec-title {
	border-top: 1px solid #8B6F57;
	border-bottom: 1px solid #8B6F57;
	padding: 10px 0;
	font-size: 1.17em;
	margin: 2em 0 1em;
	font-weight: bold;
}
.bf-salon h3.bf-info-name {
	border: none;
	padding: 0;
	font-size: 20px;
}
.bf-salon .bf-check-list-front {
	list-style: none;
	padding-left: 0;
}
.bf-salon .bf-check-list-front li {
	position: relative;
	padding-left: 1.6em;
	margin-bottom: 0.4em;
}
.bf-salon .bf-check-list-front li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #31b6ca;
	font-weight: bold;
}
table.bf-info-table {
	width: 100%;
	font-size: 15px;
}
table.bf-info-table th {
	width: 7.5em;
	white-space: nowrap;
	vertical-align: top;
}
.bf-map-link a {
	color: #31b6ca;
}

/* ---------- トップページ追加セクション ---------- */
.bf-top-hair .bf-article-list {
	text-align: left;
	background: #fff;
	border-radius: 6px;
	padding: 0 12px;
}
.bf-top-hair .readmore2 {
	margin: 1.5em auto 0;
}
/* トップ「Our Business」：同じ枠内の店舗と店舗の間に区切り線と余白を入れる */
.topinner .spcbox .mabar {
	margin: 32px 0 36px;
	border-top: 1px solid #d5d5d5;
}

/* ---------- 管理者向け入力案内（ログイン中のみ表示） ---------- */
.bf-admin-note {
	border: 2px dashed #e2a4a5;
	background: #fff8f8;
	color: #8a4b4c;
	padding: 12px 14px;
	margin: 1.5em 0;
	font-size: 14px;
	line-height: 1.7;
	border-radius: 4px;
}

/* ---------- タブレット・PC ---------- */
@media screen and (min-width: 768px) {
	.bf-salon-cards {
		grid-template-columns: 1fr 1fr;
	}
	.bf-cta__buttons {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	a.bf-btn {
		width: auto;
		min-width: 220px;
	}
	table.bf-compare {
		min-width: 0;
	}
}

/* ---------- 比較表：スマートフォンでは項目ごとのカード表示 ---------- */
@media screen and (max-width: 767px) {
	table.bf-compare {
		min-width: 0;
		border: 0;
	}
	table.bf-compare thead {
		display: none;
	}
	table.bf-compare,
	table.bf-compare tbody,
	table.bf-compare tr,
	table.bf-compare th,
	table.bf-compare td {
		display: block;
		width: auto;
	}
	table.bf-compare tr {
		border: 1px solid #ccc;
		border-radius: 4px;
		margin-bottom: 12px;
		overflow: hidden;
	}
	table.bf-compare tbody th {
		width: auto;
		white-space: normal;
		background: #31b6ca;
		color: #fff;
		border: 0;
		padding: 8px 12px;
	}
	table.bf-compare td {
		border: 0;
		border-top: 1px solid #e5e5e5;
		padding: 8px 12px;
	}
	table.bf-compare td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-weight: bold;
		color: #31b6ca;
		font-size: 13px;
	}
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 480px) {
	#content .bf-aio h1.entry-title,
	#content .entry-content h1.entry-title {
		font-size: 22px;
	}
	.bf-aio .site-maininside h2,
	.site-maininside.bf-aio h2 {
		font-size: 19px;
	}
	.bf-aio h3 {
		font-size: 17px;
	}
	.bf-answer {
		padding: 14px 14px 4px;
	}
	.bf-author__inner {
		flex-direction: column;
	}
}
