/* 記事の評価（いいね／よくない） */
.dsfb {
	clear: both;
	margin: 2.5em 0 1.5em;
	padding: 1.6em 1em 1.5em;
	border-top: 1px solid #e3e6ec;
	border-bottom: 1px solid #e3e6ec;
	text-align: center;
	line-height: 1.6;
}
.dsfb p {
	margin: 0;
	padding: 0;
}
.dsfb .dsfb-q,
.dsfb .dsfb-msg {
	text-align: center;
}
.dsfb .dsfb-q {
	margin: 0 0 1em;
	font-size: 17px;
	font-weight: 700;
	color: #1f2a44;
}
.dsfb .dsfb-btns {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}
.dsfb .dsfb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 140px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: #eff1f5;
	color: #6b7ba6;
	box-shadow: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: background-color .15s, color .15s, opacity .15s;
	-webkit-appearance: none;
	appearance: none;
}
.dsfb .dsfb-btn svg {
	flex: none;
	width: 20px;
	height: 20px;
	fill: currentColor;
}
.dsfb .dsfb-count {
	margin-left: 2px;
	padding-left: 10px;
	border-left: 1px solid #c5cbe0;
}
.dsfb .dsfb-btn:hover:not(:disabled) {
	background: #e2e6ef;
}
.dsfb .dsfb-btn:focus-visible,
.dsfb .dsfb-send:focus-visible,
.dsfb .dsfb-text:focus-visible {
	outline: 2px solid #6b7ba6;
	outline-offset: 2px;
}
.dsfb .dsfb-btn:disabled {
	cursor: default;
}
.dsfb .dsfb-btn.is-selected {
	background: #6b7ba6;
	color: #fff;
}
.dsfb .dsfb-btn.is-selected .dsfb-count {
	border-left-color: rgba(255, 255, 255, .5);
}

/* よくない のコメント欄 */
.dsfb .dsfb-form {
	display: none;
	max-width: 540px;
	margin: 1.4em auto 0;
	text-align: left;
}
.dsfb.is-commenting .dsfb-form {
	display: block;
}
.dsfb .dsfb-form-lead {
	display: block;
	margin: 0 0 .5em;
	font-size: 14px;
	font-weight: 700;
	color: #1f2a44;
}
.dsfb .dsfb-text {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #c9cfdd;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font-family: inherit;
	font-size: 16px; /* iPhone で入力時に拡大されないように 16px 以上 */
	line-height: 1.6;
	resize: vertical;
}
.dsfb .dsfb-note {
	margin: .4em 0 0;
	text-align: left;
	font-size: 12px;
	color: #6b7280;
}
.dsfb .dsfb-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1em;
}
.dsfb .dsfb-cancel {
	display: inline-block;
	min-width: 120px;
	margin: 0;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: #eff1f5;
	color: #6b7ba6;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.dsfb .dsfb-cancel:hover:not(:disabled) {
	background: #e2e6ef;
}
.dsfb .dsfb-cancel:focus-visible {
	outline: 2px solid #6b7ba6;
	outline-offset: 2px;
}
.dsfb .dsfb-cancel:disabled {
	opacity: .6;
	cursor: default;
}
.dsfb .dsfb-send {
	display: inline-block;
	min-width: 160px;
	margin: 0;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: #1f2a44;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.dsfb .dsfb-send:disabled {
	opacity: .6;
	cursor: default;
}

.dsfb .dsfb-msg {
	margin: 1em 0 0;
	font-size: 14px;
	color: #4a5576;
}
.dsfb .dsfb-msg:empty {
	display: none;
}
.dsfb .dsfb-msg.is-error {
	color: #b32d2e;
}

/* 評価の取り消し（押したボタンをもう一度押す） */
.dsfb .dsfb-btn.is-selected:hover:not(:disabled) {
	background: #5a6991;
}
@media screen and (max-width: 480px) {
	.dsfb .dsfb-btns {
		gap: 10px;
	}
	.dsfb .dsfb-btn {
		min-width: 0;
		flex: 1 1 0;
		max-width: 170px;
		padding: 12px 14px;
	}
}
