.age-check {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.age-check.is-show {
    opacity: 1;
    visibility: visible;
}

.age-check__content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid #dedede;
    max-width: 90%;
    padding: 40px;
    opacity: 0;
    transition: all 0.5s ease;
}

.age-check.is-show .age-check__content {
    opacity: 1;
}

.age-check__header {
    margin: 10px 0px 30px 0px;
}

.age-check__logo {
    text-align: center;
}

.age-check__logo-img {
    max-width: 250px;
    height: auto;
}

.age-check__logo-img-sp {
    display: none;
}

.age-check__note {
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.age-check__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.age-check__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: baseline;
    gap: 8px;
    padding: 28px 30px;
    width: 200px;
    border-radius: 6px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    background-color: #d10a1c;
    color: white;
    border: none;
    white-space: nowrap;
}

.age-check__exit-btn {
    background-color: #FFF;
    color: #d10a1c;
    border: 2px solid #d10a1c;
}

.age-check__sub-btn {
    font-size: 12px;
    font-weight: bold;
}

/* sp表示 */
@media (max-width: 767px) {
    .age-check__content {
        max-width: 80%;
        padding: 14px;
    }

    .age-check__logo-img-pc {
        display: none;
    }
    
    .age-check__logo-img-sp {
        display: block;
        margin: 20px auto;
        max-width: 180px;
    }

    .age-check__note {
        font-size: 11px;
    }

    .age-check__body {
        margin-bottom: 10px;
    }

    .age-check__bottuns {
        gap: 8px;
    }

    .age-check__btn {
        width: 120px;
        padding: 14px 12px;
        font-size: 26px;
        align-items: center;
    }
    
    .age-check__exit-btn {
        background-color: #FFF;
        color: #d10a1c;
        border: 2px solid #d10a1c;
    }
    
    .age-check__sub-btn {
        font-size: 10px;
        font-weight: bold;
    }
}
