body.modal1_open,body.modal2_open {
    overflow: hidden;
}


/* modal1 */
.modal1 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 30%);
    justify-content: center;
    align-items: center;
}

.modal2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #F0F0F0;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal1_open .modal1 {
    display: flex;
}

.modal_box {
    width: 620px;
    margin: auto;
    background: #fff;
    padding: 18px;
    padding-bottom: 24px;
    border-radius: 20px;
}

.modal_main {
    border-bottom: 1px solid #E6E6E6;
    padding: 15px;
    max-height: 400px;
    margin-bottom: 14px;
    overflow-y: auto;
}

.modal_main_box {
    border: 1px solid #D83A42;
    margin-bottom: 6px;
}

h2.modal_h2 {
    background: #D83A42;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 8px;
    font-weight: 600;
}

p.modal_p {
    background: #FFF9D5;
    color: #333;
    padding: 12px;
}

p.modal_strong {
font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.6;
    margin-top: 15px;
}

li.modal_item {
    list-style: disc;
    margin-top: 8px;
    margin-bottom: 8px;
    font-size: 12px;
}

ul.modal_list {
    padding-left: 22px;
}

.modal_btn_box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 20px;
}

.modal_back_link {
    font-size: 16px;
    font-weight: bold;
    margin-right: 40px;
    cursor: pointer;
}

button.modal_btn {
    width: 165px;
}

/* modal2 */
.modal2_open.type1 .modal2.type1 {
    display: flex;
}
.modal2_open.type2 .modal2.type2 {
    display: flex;
}

.modal2_box {
    width: 1088px;
    margin: 0 auto;
    overflow-y: auto;
    height: 100%;
}

img.modal_close {
    position: absolute;
    width: 50px;
    right: 0px;
    left: 1200px;
    top: 30px;
    margin: auto;
    cursor: pointer;
}

h2.modal2_h2 {
    font-size: 22px;
    font-weight: bold;
    padding: 20px 0;
    border-bottom: 2px solid #D83A42;
    margin-bottom: 20px;
}

.modal2_wrap {
    border: 1px solid #333;
    border-top: 0;
    background: #fff;
}

h4.modal2_h4 {
    font-size: 16px;
    font-weight: bold;
    height: 40px;
    padding-left: 50px;
    border-bottom: 1px solid #E6E6E6;
    position: relative;
    display: flex;
    align-items: center;
}

h4.modal2_h4:before {
    content: "";
    width: 40px;
    height: 40px;
    background: #FFCC99;
    position: absolute;
    top: 0;
    left: 0;
}

.modal2_content {
    padding: 10px 50px;
    line-height: 1.6;
}

.modal2_content + .modal2_content {
    border-top: 1px solid;
}

.modal2_content img {
    max-width: 40%;
    width: auto;
}

.modal2_h2 + .modal2_wrap {
    border-top: 1px solid #333;
}

.modal2_h3 + .modal2_wrap {
    border-top: 1px solid #333;
}

table.modal2_table td,table.modal2_table th {
    border: 1px solid #333;
}

table.modal2_table th {
    vertical-align: middle;
    padding: 6px;
    width: 140px;
    text-align: left;
}

table.modal2_table {
    width: 100%;
}

table.modal2_table td {
    padding: 10px;
    line-height: 1.6;
}

h3.modal2_h3 {
    margin-top: 20px;
    background: #F5F5F5;
    padding: 14px;
}

table.modal2_full_table {
    width: 100%;
    border-collapse: collapse;
}

table.modal2_full_table th,table.modal2_full_table td {
    border-right: 1px solid;
    border-bottom: 1px solid;
    padding: 8px;
    box-sizing: border-box;
}

table.modal2_full_table th:nth-child(1) {
    width: 224px;
    text-align: center;
}

table.modal2_full_table th:nth-child(2) {
    width: 360px;
    text-align: left;
}

table.modal2_full_table th:nth-child(3) {
    width: 180px;
    text-align: left;
}

table.modal2_full_table th:nth-child(4) {
    width: 310px;
    text-align: left;
    border-right: 0;
}

table.modal2_full_table td:nth-child(1) {
    text-align: center;
}

table.modal2_full_table td:last-child {
    border-right: 0;
}

table.modal2_full_table tbody tr:last-child td {
    border-bottom: 0;
}