/* LINE選択モーダル */
.line-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.line-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.3s ease;
}

.line-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 28px;
    transition: color 0.2s ease;
}

.line-modal-close:hover {
    color: #333;
}

.line-modal-title {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 24px;
    color: #333;
}

.line-modal-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.line-modal-option {
    display: block;
    padding: 20px;
    border: 2px solid #06C755;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.line-modal-option:hover {
    background: #06C755;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.line-modal-option:hover .line-modal-option-title,
.line-modal-option:hover .line-modal-option-desc {
    color: #fff;
}

.line-modal-option-title {
    font-size: 18px;
    font-weight: bold;
    color: #06C755;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.line-modal-option-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    .line-modal {
        padding: 24px 20px;
        max-width: 90%;
    }

    .line-modal-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .line-modal-option {
        padding: 16px;
    }

    .line-modal-option-title {
        font-size: 16px;
    }

    .line-modal-option-desc {
        font-size: 13px;
    }
}
