:root {
    --colorbase: #000;
    --coloryellow: #f8da0f;
    --colorred: #C71E32;
}

/* ================================
UTILITIES
================================ */
.p-faq-anchor__link {
    font-size: 1rem;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor__link {
        font-size: 1.25rem;
    }
}

@media screen and (min-width: 768px) {
    .p-faq-section {
        padding-top: 68px;
        padding-bottom: 102px;
    }
}

@media screen and (min-width: 768px) {
    .p-faq-section .l-container {
        max-width: 980px;
    }
}

.p-faq-anchors {
    display: flex;
    gap: 10px 20px;
    flex-wrap: wrap;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .p-faq-anchors {
        gap: 5px 32px;
        gap: 5px clamp(20px, (100vw - 1200px) * 1000, 32px);
        justify-content: flex-start;
    }
}

.p-faq-anchor {
    position: relative;
    padding: 2px 20px 4px 0;
    min-width: 27%;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor {
        min-width: auto;
        padding: 4px 30px 4px 0;
    }
}

.p-faq-anchor:nth-child(3n+3) {
    padding-right: 0;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor:nth-child(3n+3) {
        padding-right: 30px;
    }
}

.p-faq-anchor:nth-child(3n+3)::after {
    content: none;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor:nth-child(3n+3)::after {
        content: "";
    }
}

.p-faq-anchor::after {
    position: absolute;
    content: "";
    right: 0;
    top: 0;
    background-color: #d6d6d6;
    height: 100%;
    width: 1px;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor::after {
        top: -1px;
        right: -1px;
    }
}

.p-faq-anchor:last-child {
    padding-right: 0;
    border-right: 0;
}

.p-faq-anchor:last-child::after {
    content: none;
}

.p-faq-anchor__link {
    font-family: "Noto Serif JP", serif;
    font-weight: 500;
    display: inline-flex;
    line-height: 1.44;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor__link {
        transition: all 0.5s;
    }

    .p-faq-anchor__link:hover {
        color: var(--coloryellow);
    }
}

.p-faq-anchor__txt {
    position: relative;
    display: inline-block;
    padding-right: 20px;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor__txt {
        padding-right: 36px;
    }
}

.p-faq-anchor__txt::after {
    position: absolute;
    content: "";
    right: 0;
    background: url(../images/common/icon_chevron_01.svg) no-repeat center/contain;
    width: 10px;
    height: 4px;
    top: 10px;
}

@media screen and (min-width: 768px) {
    .p-faq-anchor__txt::after {
        top: clamp(0.4375rem, 1.2712vw + -0.1727rem, 0.8125rem);
        width: 13px;
        height: 7px;
    }
}

.p-faq-blocks {
    margin-top: 50px;
}

@media screen and (min-width: 768px) {
    .p-faq-blocks {
        margin-top: 99px;
    }
}

.p-faq-block {
    margin-top: 25px;
}

@media screen and (min-width: 768px) {
    .p-faq-block {
        margin-top: 53px;
    }
}

.p-faq-block:first-child {
    margin-top: 0;
}

.p-faq-block .c-faq__list {
    margin-top: 10px;
}

@media screen and (min-width: 768px) {
    .p-faq-block .c-faq__list {
        margin-top: 20px;
    }
}

@media screen and (min-width: 768px) {
    .p-faq-block .c-faq__item {
        margin-top: 7px;
    }
}

.p-faq-block .c-faq__item:first-child {
    margin-top: 0;
}

@media screen and (min-width: 768px) {
    .p-faq-block .c-faq__question {
        padding: 17px 63px 17px 29px;
    }
}

@media screen and (min-width: 768px) {
    .p-faq-block .c-faq__answer__content {
        padding: 3px 57px 29px 29px;
    }
}

@media screen and (min-width: 768px) {
    .p-faq-block .c-faq__icon {
        right: 18px;
    }
}