/* タブ */
.tab {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 6rem;
    margin-bottom: 3.8rem;
}

.tab > label {
    font-weight: bold;
    flex: 1 1;
    order: -1;
    position: relative;
    width: 25%;
}

.tab > label p {
    width: 100%;
    height: 4.8rem;
    border: 0.1rem solid var(--color-main);
    color: var(--color-main);
    font-size: 1.6rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tab > label + label p {
    border-left: none;
}

.tab > label:nth-of-type(1) p {
    border-radius: 1rem 0 0 1rem;
}

.tab > label:nth-of-type(4) p {
    border-radius: 0 1rem 1rem 0;
}

.tab label input:checked + p {
    background-color: var(--color-main);
    color: #fff;
}

.tab label input:checked + p::before {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 9px;
    background-color: var(--color-main);
    content: '';
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tab > label span {
    font-size: 1.2rem;
    padding-left: 0.2rem;
    padding-top: 0.2rem;
}

.tab input {
    display: none;
}

.js-tab-cts {
    display: none;
}

.js-tab-cts.is-active {
    display: block;
}

/* 申し合わせ事項 */
.flexWrap3column {
    display: flex;
    margin-left: -2em;
}

.flexWrap3column div:nth-child(1) {
    width: 6em;
}

.flexWrap3column div:nth-child(2) {
    width: 8rem;
}

.list_indent2 li > .annotation_text {
    text-indent: -1em;
}

.precautions_list {
    display: flex;
    column-gap: 2rem;
}

@media only screen and (max-width: 768px) {
    .tab > label p {
        font-size: 1.4rem;
    }

    .precautions_list {
        flex-direction: column;
        column-gap: unset;
        row-gap: 1rem;
    }
}
