@charset "utf-8";

#cookie-agreements {
    color: #ffffff;
    background: #000000e6;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    font-family: "Noto Sans JP","Helvetica Neue",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
    line-height: 1.5;
    padding: 20px 30px;
    box-sizing: border-box;
    visibility: hidden;
}
#cookie-agreements.is-show {
    visibility: visible;
    z-index: 9999;
}
#cookie-agreements .cookie-link a {
    color: #ffffff!important;
    text-decoration: underline;
}
#cookie-agreements .cookie-link a:hover {
    text-decoration: none;
}
#cookie-agreements .cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}
#cookie-agreements .cookie-text-area {
    text-align: left;
    max-width: 930px;
    flex: 0 1 auto;
}
#cookie-agreements .cookie-action {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: 0 0 auto;
}
#cookie-agreements .cookie-agree {
    color: #000000;
    background: #ffffff;
    font-size: 14px;
    padding: 10px 35px;
    width: max-content;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#cookie-agreements .cookie-agree:hover {
    opacity: 0.8;
}
#cookie-agreements .cookie-close {
    width: 14px;
    height: 14px;
    overflow: hidden;
    position: relative;
    text-indent: -9999px;
    cursor: pointer;
    flex: 0 0 auto;
}
#cookie-agreements .cookie-close::before,
#cookie-agreements .cookie-close::after {
    background-color: #565656;
    content: "";
    width: 100%;
    height: 2px;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: left top;
}
#cookie-agreements .cookie-close::before {
    transform: rotate(45deg) translate(-50%, -50%);
}
#cookie-agreements .cookie-close::after {
    transform: rotate(-45deg) translate(-50%, -50%);
}
/* パッと消える */
.cc-hide1 {
    display: none;
}
/* ゆっくり消える */
.cc-hide2 {
    animation: hide 1s linear 0s;
    animation-fill-mode: forwards;
}
@keyframes hide {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}
/* メディアクエリ */
@media screen and (max-width: 767px) {
    #cookie-agreements {
        font-size: 2.4vw;
        padding: 2.666667vw 4vw;
    }
    #cookie-agreements .cookie-inner {
        flex-direction: column;
        gap: 2.666667vw;
    }
    #cookie-agreements .cookie-text-area {
        max-width: none;
    }
    #cookie-agreements .cookie-action {
        gap: 4vw;
    }
    #cookie-agreements .cookie-agree {
        font-size: 2.666667vw;
        padding: 2vw 4vw;
    }
    #cookie-agreements .cookie-close {
        width: 3.733333vw;
        height: 3.733333vw;
        position: absolute;
        right: 4vw;
        bottom: 5.333333vw;
    }
    #cookie-agreements .cookie-close::before,
    #cookie-agreements .cookie-close::after {
        height: 0.4vw;
        border-radius: 0.4vw;
    }
}
