/* --- 左側のマーク＋文言 --- */

@media (max-width: 839px) {
	.p-first__mv-mark .img-slot--empty,
	.p-first__mv-mark img {
		display: block;
		width: 2.12em;
		height: 2.64em;
		object-fit: contain;
	}
}

/* --------------------------------------------------------------------------
   セルフ診断チェックボックス
   -------------------------------------------------------------------------- */
   .p-selfcheck {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 90%;
    max-width: 800px;
    margin: 24px auto 0;
}

.p-selfcheck__item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    border: 1px solid #E54600;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.p-selfcheck__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.p-selfcheck__box {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #6C635F;
    background: #fff;
}

.p-selfcheck__text {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    color: #6C635F;
}

/* チェック時 */
.p-selfcheck__item:has(input:checked) {
    background: #E54600;
}

.p-selfcheck__item:has(input:checked) .p-selfcheck__box {
    border-color: #fff;
}

.p-selfcheck__item:has(input:checked) .p-selfcheck__text {
    color: #fff;
}

/* チェックマーク */
.p-selfcheck__item input:checked + .p-selfcheck__box::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 2px;
    width: 7px;
    height: 13px;
    border-right: 2px solid #E54600;
    border-bottom: 2px solid #E54600;
    transform: rotate(45deg);
}

/* SP */
@media (max-width: 767px) {
    .p-selfcheck {
        gap: 15px;
        width: 100%;
    }

    .p-selfcheck__item {
        gap: 20px;
        padding: 10px 10px;
    }

    .p-selfcheck__text {
        font-size: 16px;
    }
}