/**
 * 年齢確認モーダル
 */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.age-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.age-modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

.age-modal__inner {
    padding: 40px 30px;
    text-align: center;
}

.age-modal__title {
    font-size: 28px;
    font-weight: 700;
    color: #303c09;
    margin-bottom: 20px;
}

.age-modal__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
}

.age-modal__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
}

.age-modal__btn {
    padding: 15px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.age-modal__btn--yes {
    background: #303c09;
    color: #fff;
}

.age-modal__btn--yes:hover {
    background: #1f2806;
    transform: translateY(-2px);
}

.age-modal__btn--no {
    background: #e0e0e0;
    color: #666;
}

.age-modal__btn--no:hover {
    background: #d0d0d0;
}

.age-modal__note {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.age-modal--closing {
    animation: fadeOut 0.3s ease;
}

.age-modal--closing .age-modal__content {
    animation: slideDown 0.3s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    to {
        transform: translate(-50%, -40%);
        opacity: 0;
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .age-modal__inner {
        padding: 30px 20px;
    }
    
    .age-modal__title {
        font-size: 24px;
    }
    
    .age-modal__text {
        font-size: 14px;
    }
    
    .age-modal__buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .age-modal__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}