@keyframes insHelpFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes insHelpFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

#ins-num-help {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    overflow-y: auto;
    box-sizing: border-box;
}

#ins-num-help-panel {
    background: #fff;
    border-radius: 10px;
    width: 840px;
    max-width: 95%;
    padding: 0;
    margin: 0 auto 40px;
}

#ins-num-help-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 50px;
}

#ins-num-help-title {
    flex: 0 0 90%;
    font-size: 26px;
}

#ins-num-help-close {
    flex: 0 0 10%;
    text-align: right;
    cursor: pointer;
    font-size: 24px;
    color: #007aff;
    font-weight: bold;
    line-height: 1;
    margin-top: 4px;
}

#ins-num-help-body {
    display: flex;
    gap: 0;
    padding: 14px 50px;
}

#ins-num-help-col-left {
    flex: 1;
    padding-right: 16px;
    border-right: 1px solid #eee;
}

#ins-num-help-col-right {
    flex: 1;
    padding-left: 16px;
}

#ins-num-help-col-left h4,
#ins-num-help-col-right h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 8px;
    color: #333;
}

#ins-num-help-col-left p,
#ins-num-help-col-right p {
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.8;
    padding: 0 2%;
}

#ins-num-help-col-left img {
    width: 90%;
    display: block;
    margin: 0 auto 8px;
}

#ins-num-help-col-right img {
    max-width: 230px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border: 1px solid #e0e0e0;
}

#ins-num-help-footer {
    padding: 12px 50px;
    font-size: 14px;
}

#ins-num-help-footer p:first-child {
    margin: 0 0 6px;
    line-height: 1.7;
}

#ins-num-help-footer p:last-child {
    margin: 0 0 6px;
    line-height: 1.7;
}

#ins-num-help-link {
    padding: 14px 50px 30px;
    font-size: 16px;
}

#ins-num-help.ins-num-help-open {
    display: flex;
    animation: insHelpFadeIn 0.25s ease forwards;
}
#ins-num-help.ins-num-help-closing {
    display: flex;
    animation: insHelpFadeOut 0.25s ease forwards;
}

#ins-num-help-link a {
    color: #007aff;
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    #ins-num-help {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #ins-num-help-panel {
        width: 95%;
        padding: 5px;
    }

    #ins-num-help-body {
        flex-direction: column;
        padding: 14px 20px;
    }

    #ins-num-help-col-left {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    #ins-num-help-col-right {
        padding-left: 0;
    }

    #ins-num-help-header,
    #ins-num-help-link {
        padding: 10px 20px;
    }

    #ins-num-help-footer {
        padding: 12px 20px;
    }
}
