.hc-checkbox-group.is-error .hc-checkbox__text::before {
	background: #FEF2F2;
	border: 1px solid var(--main-color);
}

.hc-checkbox {
	display: inline-block;
	margin: 0 24px 8px 0;
}

@media screen and (max-width: 767px) {
	.hc-checkbox {
		display: block;
		margin: 16px 0 0;
	}
}

.hc-checkbox label {
	cursor: pointer;
}

.hc-checkbox__text {
	display: inline-block;
	position: relative;
	padding-left: 24px;
}

.hc-checkbox__text::before,
.hc-checkbox__text::after {
	position: absolute;
	content: '';
	top: 50%;
	transform: translateY(-50%);
}

.hc-checkbox__text::before,
.hc-checkbox input:checked + .hc-checkbox__text::before {
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	margin: auto;
	background: #FFF;
	border: 1px solid #CECECE;
	border-radius: 4px;
	left: 0;
}

.hc-checkbox__text::after {
	display: none;
	width: 11px;
	height: 8px;
	box-sizing: border-box;
	margin: auto;
	background: url(/common/rwd/images/rn/Icon_check.svg) no-repeat center / 100% auto;
	left: 2px;
}

.hc-checkbox input:checked + .hc-checkbox__text::after {
	display: block;
}

.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label {
	display: flex;
	align-items: center;
	width: 100%;
	height: 100%;
	min-height: 60px;
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.5;
	padding: 14px 12px 14px 36px;
	margin: 0;
	border: 1px solid #CECECE;
	border-radius: 6px;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label {
		min-height: 40px;
		font-size: 14px;
		padding: 10px 8px 10px 32px;
	}
}

.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::before,
.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::after {
	position: absolute;
	content: '';
	top: 50% !important;
	transform: translateY(-50%) !important;
}

.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::before {
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	background: #FFF;
	margin-top: 0;
	border: 1px solid #CECECE;
	border-radius: 4px;
	left: 12px;
}

@media screen and (max-width: 767px) {
	.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::before {
		left: 8px;
	}
}

.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::after {
	display: none;
	width: 11px !important;
	height: 8px !important;
	margin-left: 0 !important;
	margin-top: 0 !important;
	border: none !important;
	background: url(/common/rwd/images/rn/Icon_check.svg) no-repeat center / 100% auto;
	left: 14px !important;
	box-sizing: border-box;
}

@media screen and (max-width: 767px) {
	.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label::after {
		left: 10px !important;
	}
}

.hc-checkbox-card input[type="checkbox"]:checked + .hc-checkbox-card__label {
	border: 1px solid var(--link-color);
}

.hc-checkbox-card input[type="checkbox"]:checked + .hc-checkbox-card__label::after {
	display: block;
}

@media screen and (min-width: 768px) {
	.hc-checkbox-card input[type="checkbox"] + .hc-checkbox-card__label:hover {
		color: var(--link-color);
		border: 1px solid var(--link-color);
		text-decoration: underline;
	}
}

@media screen and (min-width: 767px) {
	.hc-checkbox-group__others input[type="text"].hc-text-field {
		width: 100%;
		vertical-align: baseline;
	}
}

@media screen and (max-width: 767px) {
	.hc-checkbox-group__others .hc-checkbox {
		margin: 16px 0;
	}
}