/* ふわっとフッター */

.footer_box {
    width: 100%;
    height: 64px;
    background: #fff;
    opacity: 0;
    transition: 1s;
    position: fixed;
    bottom: -60px;
    text-align: center;
    font-weight: bold;
    z-index: 2;
}

.active_contact_btn {
    opacity: 0.9;
    bottom: 0;
}

.fadeIn_box {
    opacity: 0;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    -ms-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
}

.button2,
a.button2,
button.button2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 0.7;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

.button2-c-wrap {
    margin: 56px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    bottom: 0px;
}

a.button2-c {
    font-size: 2rem;
    width: 85%;
    min-width: 320px;
    max-width: 1000px;
    position: relative;
    padding: 0.6rem 2rem 1.3rem;
    color: #fff;
    background: #a0003d;
    -webkit-box-shadow: 0 5px 0 #7c0831;
    box-shadow: 0 5px 0 #7c0831;
}

.active_contact_btn a.button2-c {
    padding: 0.4rem 2rem 1.3rem;
}

a.button2-c span {
    font-size: 1.2rem;
    position: absolute;
    top: -1.5rem;
    left: calc(50% - 180px);
    display: block;
    width: 360px;
    padding: 0.5rem 0;
    color: #c91057;
    border: 2px solid #a0003d;
    border-radius: 100vh;
    background: #fff;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}

a.button2-c span:before,
a.button2-c span:after {
    position: absolute;
    left: calc(50% - 10px);
    content: '';
}

a.button2-c span:before {
    bottom: -10px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #a0003d transparent transparent transparent;
}

a.button2-c span:after {
    bottom: -7px;
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

a.button2-c:hover {
    -webkit-transform: translate(0, 3px);
    transform: translate(0, 3px);
    color: #fff;
    background: #bf4872;
    -webkit-box-shadow: 0 2px 0 #bf4872;
    box-shadow: 0 2px 0 #bf4872;
    opacity: 0.9;
}

.display_button {
    position: relative;
    width: 100%;
}

.display_button span {
    position: absolute;
}


/* a.button2-c i{
	font-family: FontAwesome;
}
.fa-file-alt:before {
	font-family: FontAwesome;
    content: "\f2c6";
} */

.button2-c::before {
    content: '';
    width: 40px;
    height: 40px;
    background: url() no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    left: 206px;
    top: 57%;
    transform: translateY(-50%);
}

.contact_text {
    position: relative;
}

.contact_text::after {
    content: '\25b6';
    font-family: 'icon';
    position: absolute;
    color: #fff;
    text-align: center;
    right: -30px;
    top: 57%;
    font-size: 26px;
    transform: translateY(-50%);
}

.active_contact_btn .button2-c::after {
    right: 34%;
    /*     right: 368px; */
}

.active_contact_btn {
    animation-name: fadein;
    animation-duration: 3s;
}

@media screen and (max-width: 769px) {
    .fadeIn_box {
        display: block;
    }
    .active_contact_btn .footer_box {
        bottom: 56px;
    }
    .active_contact_btn .button2-c-wrap {
        bottom: 56px;
    }
    .active_contact_btn {
        bottom: 56px;
    }
}

@media screen and (max-width: 600px) {
    a.button2-c span {
        left: calc(50% - 140px);
        width: 280px;
    }
    a.button2-c {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .button2,
    a.button2 {
        line-height: 0.7;
    }
    .active_contact_btn a.button2 {
        line-height: 0.7;
    }
    .button2-c-wrap {
        margin: 32px 0;
    }
    a.button2-c span {
        font-size: 0.7rem;
        top: -1.5rem;
        left: calc(50% - 120px);
        width: 240px;
        padding: 0.5rem 0;
    }
    .active_contact_btn a.button2-c span {
        font-size: 0.8rem;
        top: -1.5rem;
        left: calc(50% - 120px);
        width: 240px;
        padding: 0.4rem 0;
    }
    a.button2-c {
        font-size: 1.6rem;
        width: 92%;
        padding: 0.4rem 1rem 1rem;
    }
    .active_contact_btn a.button2-c {
        font-size: 1.8rem;
        padding: 0.01rem 1rem 0.8rem;
    }
    .button2-c::after {
        right: 56px;
        top: 60%;
        font-size: 22px;
    }
    .contact_text::after {}
    .active_contact_btn .button2-c::after {
        right: 56px;
    }
    .contact_img img {
        height: 250px;
        width: 100%;
        object-fit: cover;
    }
}