@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..900&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Zen+Antique+Soft&display=swap");

.l-ageCheckModal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    z-index: 99998;
}

.l-ageCheckModal-wrapper {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 99999;
    transform: translateX(-50%) translateY(-50%);
}

.b-ageCheckModal {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    width: min(100vw, 520px);
    height: min(100vw, 340px);
    background: #ffffff;
    text-align: center;

    @media screen and (max-width: 1000px) {
        width: min(100vw, 350px);
    }
}

.b-ageCheckModal__head {
    color: #000000;
    letter-spacing: 0.1rem;
    font-weight: bold;
    font-size: 1.5rem;
    font-family: "Zen Antique Soft", sans-serif;
}

.b-ageCheckModal__text {
    margin: 1rem 0;
    letter-spacing: 0.1rem;
    font-weight: bold;
    font-size: 0.8rem;
    line-height: 1.6;
    font-family: "Noto Serif JP", serif;
}

.b-ageCheckModal__text2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #000;
    font-family: "Zen Antique Soft", sans-serif;
}

.l-ageCheckModal__choice-wrapper {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    font-family: "Zen Antique Soft", sans-serif;
}

.b-ageCheckModal__choice,
.b-ageCheckModal__choice-no {
    display: inline-block;
    box-sizing: border-box;
    width: 40%;
    height: auto;
    background-color: #000000;
    color: white;
    text-align: center;
    text-decoration: none;
    text-indent: 0;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid #000;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    font-family: "Zen Antique Soft", sans-serif;
}

:is(.b-ageCheckModal__choice, .b-ageCheckModal__choice-no):hover {
    opacity: 0.7;
}

.b-ageCheckModal__choice-no {
    border: 1px solid #b3b3b3;
    background-color: #f9f9f9;
    color: #333333;
}

@media screen and (max-width: 600px) {
    .l-ageCheckModal-wrapper {
        width: 90%;
    }
}