@charset "utf-8";
/*
Theme Name: wp-theme-ans v3.3
Theme URI: 
Description: 20260805
Version: 3.3
Author: Neautech
Author URI: https://neautech.jp/
*/


/*後ほど移植予定*/

.p-idx-whyItem__head-title.new {
    font-size: 1.75rem;
    line-height: 1.56;
}

.orange {
    color: #FF4E00;
}


.p-idx-whyItem__labels {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.p-idx-whyItem__label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 104px;
    height: 30px;
    border-radius: 15px;
    background-color: #bfa08a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
}

.p-idx-review.new {
    margin-top: 0;
}

.p-idx-plan__link.new {
    border-bottom: 1px solid #cbcbcb;
    padding-bottom: 75px;
}

.p-idx-plan__inner.new {
    border-bottom: unset;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.c-head.--center.new {
    text-align: left;
}


/* Q&A カテゴリフィルター */
.p-idx-qanda__wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.p-idx-qanda__cate {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    width: 200px;
}

.p-idx-qanda__cate li+li {
    margin-top: 8px;
}

.p-idx-qanda__cateBtn {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.p-idx-qanda__cateBtn:hover {
    color: #0d0d0d;
}

.p-idx-qanda__cateBtn.is-active {
    color: #0d0d0d;
    font-weight: 700;
}

.p-idx-qanda__content {
    flex: 1;
    min-width: 0;
}

/* hidden属性でリストの表示切替 */
.p-idx-qanda__content .c-qanda__list[hidden] {
    display: none;
}


/* SP固定リスト: デフォルト非表示 */
.p-idx-qanda__sp {
    display: none;
}

.js-bg-secondary.new {
    padding-bottom: 0;
}

.p-idx-howtoTry.new {
    margin-top: -120px;
    position: relative;
    z-index: 1;
    transform: translateY(50%);
    z-index: 1;
}

.p-idx-doctor.new {
    padding-top: 400px;
}

@media (max-width: 768px) {
    .p-idx-qanda__wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .p-idx-qanda__cate {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .p-idx-qanda__cate li+li {
        margin-top: 0;
    }

    .p-idx-qanda__cateBtn {
        padding: 6px 16px;
        color: #FF4E00;
        border: 1px solid #FF4E00;
        border-radius: 20px;
        font-size: 12px;
        white-space: nowrap;
    }

    .p-idx-qanda__cateBtn.is-active {
        border-color: #FF4E00;
        background-color: #FF4E00;
        color: #fff;
    }

    .p-idx-doctor__image.new img {
        width: 100vw;
        border-radius: 0;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .p-idx-plan__link.new {
        padding-bottom: 50px;
    }

    .p-idx-qanda__wrapper {
        display: none;
    }

    .p-idx-qanda__sp {
        display: block;
    }

    .c-head.--center.new {
        text-align: center;
    }

    .p-idx-howtoTry.new {
        margin-top: 0;
        transform: translateY(5%);
    }

    .js-bg-secondary.new {
        margin-bottom: -150px;
    }

    .p-idx-doctor.new {
        padding-top: 300px;
    }
}


@media (max-width: 430px) {
    .js-bg-secondary.new {
        margin-bottom: -450px;
    }

    .p-idx-doctor.new {
        padding-top: 550px;
    }
}


