/*body {*/
/*    height: 2000px;*/
/*    background: #fff;*/
/*    margin: 0;*/
/*}*/

/*header {*/
/*    width: 100%;*/
/*    font-size: 2em;*/
/*    text-align: center;*/
/*    background: #ddd;*/
/*    padding: .5em;*/
/*    box-sizing: border-box;*/
/*}*/

.cookie-consent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 14px;
    color: #fff;
    background: rgb(58 58 58 / 70%);
    padding: 0.1em;
    padding-left: 2em;
    box-sizing: border-box;
    z-index: 100;
    visibility: hidden;
}

.cookie-consent.is-show {
    visibility: visible;
}

.cookie-consent a {
    color: #fff !important;
}

.cookie-agree {
    color: #ffffff;
    background: #88cdc4;
    padding: 0.2em 1.2em;
    margin: 8px;
    border-radius: 4px;
}

.cookie-agree:hover {
    cursor: pointer;
}

/* パッと消える */
.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: 600px) {
    .cookie-consent {
        flex-direction: column;
    }

    .cookie-text {
        margin-bottom: 1em;
    }
}
