/* default */
.new_policy .modal_script_box > div{white-space: pre-wrap; font-size: 14px; line-height: 1.8;}
.new_policy .modal_script_box > div h2{font-size:1.4em;font-weight:700;}
.new_policy .modal_script_box > div b{font-size: 1.1em; margin-bottom: 10px; display: inline-block;}
.new_policy .modal_script_box > div a{text-decoration: underline;}
/* .new_policy .modal_script_box > div.scroll{max-height: calc(100vh - 140px); overflow-y: scroll;} */
.modal-open .modal.new_policy{overflow-y: hidden!important;}

/* modal2 */
#modal2{-webkit-overflow-scrolling: touch;}
#modal2 .modal-dialog{height:calc(100vh - 60px); margin:30px auto;}
#modal2 .modal-content{height:100%; display:flex; flex-direction:column;}
#modal2 h1,#modal2 h2,#modal2 h3,#modal2 h4,#modal2 h5,#modal2 h6{font-weight: 700; color: #1f3a5f;}
#modal2 .modal-lg{width:calc(100% - 30px);}
#modal2 .modal-title{font-size: 20px;}
#modal2 .modal_script_box{flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 20px 0; font-size: 14px; line-height: 1.8; font-weight: 400; color: #333;}

/* text */
#modal2 .text{margin-top: 35px;}
#modal2 .text h3{font-size: 18px; border-bottom: solid 1px #1f3a5f; line-height: 1.5; padding-bottom: 15px; margin-bottom: 15px;}
#modal2 .text p:not(:last-child){margin-bottom: 12px;}
#modal2 .text ul{padding-left: 16px;}
#modal2 .text ul:not(:last-child){margin-bottom: 15px;}
#modal2 .text ul li:not(:last-child){margin-bottom: 4px;}

/* text - last_txt */
#modal2 .last_txt{margin-top: 60px; text-align: center;}
#modal2 .last_txt p:first-child{font-weight: 700; color: #1f3a5f;}

/* table_wrap */
#modal2 .scroll_wrap {margin-bottom: 10px;}
#modal2 .scroll_wrap i{display: block; font-size: 18px; text-align: right; margin-bottom: 10px;}
#modal2 .table_wrap::-webkit-scrollbar{width: 8px; height: 8px;}
#modal2 .table_wrap::-webkit-scrollbar-track{border-radius: 10px; background-color: #eee;}
#modal2 .table_wrap::-webkit-scrollbar-thumb{background: #aaa; border-radius: 10px;}
#modal2 .table_wrap{overflow-x: auto; -webkit-overflow-scrolling: touch;}
#modal2 .table_wrap table{width: 100%; min-width: 640px; border-collapse: collapse;}
#modal2 .table_wrap table thead tr th{background-color: #1f3a5f; color: #fff; border: solid 1px #ddd; font-weight: 500; padding: 10px 8px; height: 45px; font-size: 13px; white-space: nowrap;}
#modal2 .table_wrap table tbody tr td{padding: 10px 8px; background-color: #fff; border: solid 1px #ddd; height: 45px; font-size: 13px; white-space: nowrap;}
#modal2 .table_wrap .table1 thead tr th:first-child{background-color: #edeae2; color:#333;}
#modal2 .table_wrap .table1 tbody tr td:first-child{background-color: #edeae2; font-weight: 500;}

/* italic font box */
#modal2 .box{background-color: #edeae2; font-size: 13px; padding: 12px; font-style: italic;}
