.modal.modal--is-active {
    display: flex;
    align-items: center;
}
.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    z-index: 1000;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}
.modal--parent-container {
    width: 100%;
    display: flex;
    justify-content: center;
}
.modal--is-active .modal--container.hakopp-animation--fade-in {
    -webkit-animation: fade_in_show 0.5s;
            animation: fade_in_show 0.5s;
}
.modal--is-active .modal--container {
    display: inline-block;
    position: relative;
}
.modal--container {
    display: none;
    position: relative;
    margin: 0 auto;
}
.modal--img {
    max-width: 40vw;
    min-width: initial;
    max-height: 60vh;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
.modal a:hover{
    opacity: 1;
}
.modal--img:hover{
    opacity: 0.9;
}
p.close_page {
    width: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid;
    background: #0d5eaa;
    margin-bottom: 0;
    color: #fff;
    padding: 8px 0 8px;
    font-size: 18px;
    cursor: pointer;
    margin-top: 0;
}
.close_page:hover{
    opacity: 0.8;
}
.site-footer .footer-logo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal--close {
    position: absolute;
    padding: 4px;
    background-color: #fff;
    border-radius: 100%;
    right: -28px;
    top: -36px;
    padding: 16px;
    cursor: pointer;
}
.modal--close:before, .modal--close:after {
    position: absolute;
    content: " ";
    height: 16px;
    width: 2px;
    background-color: #333;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.modal--close:before {
    transform: rotate(45deg);
}
.modal--close:after {
    transform: rotate(-45deg);
}
@media screen and (max-width: 760px) {
    .modal-sp--img, .modal--img {
        width: 85vw;
        max-width: 85vw;
    }
    p.close_page {
        width: 50%;
        font-size: 4.5vw;
        padding: 5px 0;
    }
}
@media screen and (max-width: 480px) {
    .modal-sp--img, .modal--img {
        width: 80vw;
        max-width: 80vw;
    }
}
