@charset "UTF-8";
/* CSS Document */

.main_area img{
    display: block;
    width: 100%;
}
.main_area{
    position: relative;
}
.main_area a{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 5%;
    right: 12%;
    width: 26%;
    height: 2%;
    border-radius: 15px;
    color: #000;
    text-decoration: none;
    border: 2px solid #292929;
    transition: 0.3s;
    overflow: hidden;
}
.main_area a span{
    position: relative;
    z-index: 2;
    font-size: 18px;
    line-height: 1;
    font-weight: bold;
    font-family: sans-serif;
}
.main_area a::after,
.main_area a::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.3s;
    z-index: 1;
}
.main_area a::before{
    background: linear-gradient(90deg, #fbe6ea, #fbfbe6);
}
.main_area a::after{
    background: linear-gradient(90deg, #fbfbe6, #fbe6ea);
}
.main_area a:hover::after{
    opacity: 0;
}
.main_area a span::after,
.main_area a span::before{
    content: "";
    display: block;
    width: 12px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 4px;
    right: -40px;
}
.main_area a span::after{
    transform: rotate(45deg);
}
.main_area a span::before{
    transform: rotate(-45deg);
    top: 12px;
}

@media print, screen and (max-width: 768px) {
    .main_area a{
        width: 39%;
        height: 3%;
        bottom: 5%;
        border-radius: 2vw;
    }
    .main_area a span{
        font-size: 2.8vw;
    }
    .main_area a span::after, .main_area a span::before{
        width: 11px;
        height: 1.5px;
        top: 0.5vw;
        right: -4vw;
    }
    .main_area a span::before{
        top: 1.5vw;
    }
}
@media print, screen and (max-width: 428px) {
    .main_area a span::after, 
    .main_area a span::before{
        width: 7px;
        top: 0.7vw;
    }
    .main_area a span::before{
        top: 1.7vw;
    }
}
@media print, screen and (max-width: 375px){
    .main_area a span::after, .main_area a span::before{
        width: 9px;
        top: 0.2vw;
    }
    .main_area a span::before{
        top: 1.5vw;
    }
}