.tab {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid #ccc;
}

@media screen and (max-width: 549px) {
    .tab-buttons {
        display: flex;
        flex-direction: column;
    }
}

.tab-buttons button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.tab-buttons button:hover {
    background: #5a3246;
}

.tab-buttons button.active {
    border-bottom: 2px solid #cc2f75;
    color: #cc2f75;
}

.tab-contents {
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.tab-contents .content {
    display: none;
    padding: 0px 0;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-contents .content.active {
    display: block;
    max-height: 242px;
    overflow: scroll;
}

.content a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: #cc2f75;
}

.content.active a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: #cc2f75;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

ul.content li {
    position: relative;
    padding-left: 1.5em;
    list-style: none;
    line-height: 1.6em;
}

ul.content li::before {
    content: "";
    background-image: url(../img/acpht.svg);
    position: absolute;
    top: 0.4em;
    left: 0;
    width: 1em;
    height: 1em;
    /*background-color: #000; /* 好きな色に♡ */
}