/* ================================================
   18. モーダル関連スタイル
   ================================================ */

/* モーダルオーバーレイ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* モーダルコンテンツ */
.modal-content {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.modal-content h3 {
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: var(--color-black);
}

.modal-content p {
    margin: 0 0 1.5rem 0;
    color: var(--color-gray);
    line-height: 1.6;
}

/* モーダルボタン */
.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-buttons .btn {
    min-width: 100px;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
    .modal-content {
        padding: 1.5rem;
        max-width: 320px;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
}