@charset "UTF-8";
/* ---------------------------------------------
*   c-section
--------------------------------------------- */
.c-section.c-section--2 {
    margin-top: 10px;
    padding-bottom: 40px;
}

@media screen and (max-width: 768px) {
    .c-section.c-section--2 {
        margin-block: 20px 28px;
        padding-bottom: 40px;
    }
}
.c-section.c-section--3 {
    margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
    .c-section.c-section--3 {
        margin-bottom: 35px;
    }
}

/* ---------------------------------------------
*   p-advice-search-buttons
--------------------------------------------- */
.p-advice-search-buttons__list {
    max-width: 800px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .p-advice-search-buttons__list {
        grid-template-columns: repeat(2, 1fr);
        gap: calc(22 / 670 * 100%) calc(20 / 670 * 100%);
    }
}

.p-advice-search-buttons__button {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0;
    padding: 12px 6px;
    cursor: pointer;
    border: 1px solid #333333;
    background-color: #fff;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-advice-search-buttons__button {
        padding-block: 13px;
    }
}

.p-advice-search-buttons__button.-active {
    border-color: #61c7f9;
    background-color: #61c7f9;
    color: #fff;
}

.p-advice-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: calc(42 / 1130 * 100%);
    transition: opacity 0.3s;
}

@media screen and (max-width: 768px) {
    .p-advice-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: calc(20 / 670 * 100%);
        row-gap: 0;
    }
}

.p-advice-list__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0;
    transition: opacity 0.3s;
}

.p-advice-list__item:nth-of-type(n+4) {
    margin-top: 35px;
}

@media screen and (max-width: 768px) {
    .p-advice-list__item:nth-of-type(n+3) {
        margin-top: 36px;
    }
}

.p-advice-list__txt {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-advice-list__txt {
        margin-top: 8px;
        font-size: 16px;
    }
}

.p-advice-list__pic-link {
    aspect-ratio: 348 / 196;
    transform: translate3d(0, 0, 0);
}

.p-advice-list__pic-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-advice-list__link {
    display: grid;
    place-items: center;
    width: min(100%, 231px);
    min-height: 60px;
    margin-top: 18px;
    margin-inline: auto;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    background-image: linear-gradient(90deg, #65c0ea 0%, #f576b8 50%, #65c0ea 100%);
    background-size: 200% auto;
    background-position: 0% 0%;
    border-radius: 50em;
    transition: background-position 0.3s;
}

@media screen and (max-width: 768px) {
    .p-advice-list__link {
        width: min(calc((318 / 330 * 100%)), 152px);
        min-height: 40px;
        margin-top: 17px;
        font-size: 18px;
    }
}

.p-advice-list__link:hover {
    background-position: 99% 0%;
}

.p-advice-list__title {
    margin-top: 20px;
    font-size: 15px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .p-advice-list__title {
        margin-top: 15px;
    }
}
