@charset "utf-8";

/* お見積もりボタン */

.fix-estimate {
    position: fixed;
    right: 12px;
    bottom: 12px;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s;
    display: none;
}

.fix-estimate.active {
    opacity: 1;
    display: block;
}

.fix-estimate .estimate-button {
    background-color: #ff4f00;
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 24px 0px;
    border-radius: 12px;
    width: 171px;
    transition: all 0.3s;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif;
    text-align: center;
    position: relative;
    border: 2px solid #ff4f00;
}

/* .fix-estimate .estimate-button::before {
    position: absolute;
    content: "";
    background-image: url(../img/top/estimate-people.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 198px;
    aspect-ratio: 1/1;
    top: -112px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -20;
} */

.fix-estimate .estimate-button img {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    display: block;
}

.fix-estimate .estimate-button img.hover {
    display: none;
}

.fix-estimate .estimate-button:hover {
    background-color: #fff;
    color: #ff4f00;
}

.fix-estimate .estimate-button:hover img.default {
    display: none;
}

.fix-estimate .estimate-button:hover img.hover {
    display: block;
}


@media (max-width: 768px) {
    .fix-estimate {
        right: 0;
        bottom: 0;
        left: 0;
    }

    .fix-estimate .estimate-button {
        padding: 18px 0px;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        transition: all 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }

    .fix-estimate .estimate-button::before {
        display: none;
    }

    .fix-estimate .estimate-button img {
        width: 20px;
        height: 20px;
        margin: 0;
    }
}

