/* PCのみ表示 */
.display_pc_only {
    display: block;
}
/* スマートフォンのみ表示 */
.display_sp_only {
    display: none;
}
@media screen and (max-width: 768px) {
    .display_pc_only {
        display: none;
    }
    .display_sp_only {
        display: block;
    }
}

/* ボタン */
input[type="button"] {
    color: #fff;
    background: #149f14;
    border-radius: 100vh;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.1s ease;
}

input[type="button"]:hover {
    background: #1ec11e;
}

input[type="button"]:active {
    background: #117f11;
    transform: scale(0.95);
}

/* チェックボックス */
input[type=checkbox] {
    display: none;
}
.checkbox01 {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 25px;
    padding-right: 0px;
    position: relative;
    width: auto;
}
.checkbox01::before {
    background: #fff;
    border: 1px solid #231815;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.checkbox01::after {
    border-right: 3px solid #149f14;
    border-bottom: 3px solid #149f14;
    content: '';
    display: block;
    height: 13px;
    left: 10px;
    margin-top: -8px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 6px;
}
input[type=checkbox]:checked + .checkbox01::after {
    opacity: 1;
}
input[type=checkbox]:disabled + .checkbox01::before {
    opacity: 0.2;
}
input[type=checkbox]:checked:disabled + .checkbox01:after {
    border-right: 3px solid #aaa;
    border-bottom: 3px solid #aaa;
}
input[type=checkbox]:disabled + .checkbox01 {
	cursor: default;
}

input[type=checkbox].switch {
    display: block;
}
input[type="checkbox"].switch {
    --size: 20px;
    --scale: 0.8;

    appearance: none;
    cursor: pointer;
    margin: 2px 0px 0px 0px;
    height: var(--size);
    aspect-ratio: 2;
    border-radius: var(--size);
    background-color: #444444;

    &::before {
        content: "";
        display: block;
        height: var(--size);
        aspect-ratio: 1;
        border-radius: var(--size);
        background-color: #FFFFFF;
        transform: scale(var(--scale));
        transition: 0.2s;
    }

    &:checked {
        background-color: #24B441;

        &::before {
            transform: translateX(var(--size)) scale(var(--scale));
        }
    }
}