@charset "UTF-8";

/* ----以下areus追記分---- */

input[name="tab_item"] {
    display: none;
}

#f1+div,
#f2+div {
    display: none;
}

body:has(#all:checked) #f1+div,
body:has(#all2:checked) #f2+div {
    display: block;
}

section:has(div#tab) .content_wrapper {
    padding: 0;
}

#tab {
    display: flex;
    justify-content: space-between;
    text-align: center;
}

#tab label[class^="tab"] {
    width: calc(50% - 25px);
    display: inline-block;
    background: #4FB16B;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    opacity: 0.5;
    cursor: pointer;
}

#tab label:last-of-type {
    background: #B5F4F4;
    color: #333;
}

#all:checked+label,
#all2:checked+label {
    opacity: 1;
}

a[id^="f"]+div>.content_wrapper {
    background: #fff;
    padding: 65px 5%;
}

a[id^="f"]+div dl:nth-of-type(n+6) {
    display: none;
}

a[id^="f"]+div .wrapper_item {
    margin-bottom: 0;
}


section:has(div#tab) .content_wrapper,
a[id^="f"]+div>.content_wrapper {
    width: calc(100% - 40px);
}

#f1+.contents_faq01 dt::before {
    background: #4FB16B;
}

@media screen and (min-width: 651px) {
    #tab .sp {
        display: none;
    }
}

@media screen and (max-width: 650px) {
    #tab label[class^="tab"] {
        font-size: 1.45rem;
        line-height: 1.5;
    }
}