@media screen and (min-width: 751px) {
  .lightbox,
  .lightboxOverlay{min-width: var(--container);}
  .under main .image_l{float:left;margin:0 40px 0 0}
  .under main .image_r{float:right;margin:0 0 0 40px}
  .under main .tb_note{display: none;}
  .pdb_40pc{padding-bottom: 40px;}
  .pdb_60pc{padding-bottom: 60px;}
  /* BUTTON OVN DETAIL */
  .under main .btn_list {display: flex;justify-content: center;position: relative;}
  .under main .btn_list .is_prev {position: absolute;top: 0;left: 150px;}
  .under main .btn_list .is_next {position: absolute;top: 0;right: 150px;}
  .under main .ovn_list dl:hover dt img{transform:scale(1.04);}
  .under main #top_info{min-height: 40vh;}
  /* HOVER */
  .under main #topic_path li a:hover{text-decoration:underline}
  .under main .bnn a:hover{opacity: 0.7;}
  .under main .link:not(a[target=_blank]):hover{color: var(--scolor);}

}

@media screen and (min-width: 751px) and (max-width: 1560px){
  .under main #top_info{height: 450px;padding-top: 20px;}

}

@media screen and (max-width: 750px) {
  /* Main and images */
  .under main section{padding:50px 0;}
  .under main section p{font-size:16px;}
  .under main .image_r,
  .under main .image_l{float:none;display:inline-block;width:100%;text-align:center;margin:0 auto 30px!important;}
  .alignleft,.alignright{margin-left: auto;margin-right: auto;display: block;}
  .under main .inner > section:last-child{padding-bottom: 60px;}
  /* Top info and breadcrumb */
  .under main #top_info{height:300px;}
  .under main #top_info > .inner{padding:70px 15px 60px;}
  .under main #topic_path li,
  .under main #topic_path li a{font-size:14px;}



  /* Headings */
  .under main h2{font-size:26px;}
  .under main h3{font-size:24px;margin-bottom:20px;}
  .under main h4{font-size:22px;margin-bottom:20px;padding-bottom: 10px;}
  .under main h5{font-size:20px;margin-bottom:15px;}
  .under main h6{font-size:18px;}

  /* Content sections */
  .under main #content > .inner{width:100%;padding:0 15px;}
  .under main .u_bg01::before{inset:0 -15px;}
  .under main h3::before{top:-50px;left:calc(50% - 100px);width:200px;height:100px;border-width:12px;border-radius:0 0 100px 100px;}
  .under main .image_l img,.under main .image_r img{width:100%;}
  .under main .image_l{margin:0 auto 25px!important;}
  .under main .image_r{display:flex;margin:0 0 25px!important;}

  /* Tables */
  .under main table td,.under main table th{font-size:16px;padding:8px;}
  .under main table th{font-size:18px;}
  .under main table.tb_block tr{display:flex;flex-direction:column}
  .under main table.tb_block tr:not(:last-child) th{border-bottom:none}
  .under main table.tb_block td + td{border-top: none;}
  .under main table.tb_block th,
  .under main table.tb_block td{width: 100%;}
  .under main table.tb_block tr th:last-child, .under main table.tb_block tr td:last-child{border-right:1px solid #dcd3bd;}
  .under main .news_tables table{table-layout:auto;}
  .under main .news_tables colgroup{display:none;}
  .under main .news_tables th{border-bottom:0;}
  .under main .news_tables th,.under main .news_tables td{border-left:1px solid #dcd3bd;border-right:1px solid #dcd3bd;}
  .under main .news_tables .news_table_empty{display:none;}
  .under main .w100_sp{width: 100px;}
  .under main .tb_scroll{overflow:scroll;}
  .under main .tb_scroll table{width: 850px;}
  .under main .tb_note{margin-bottom:10px;color:#999;font-size: 13px;}
  /* Lists */
  .under main .list01{margin-top:25px;}
  .under main .list01 li{font-size:16px;padding-left:20px;}
  .under main .list01 li::before{width: 12px;height: 12px;border-width: 3px;}
  .under main .list_faq dl{margin-bottom:30px;padding:15px;}
  .under main .list_faq dt span{top:3px;}
  .under main .list_faq dt{font-size:18px;min-height:50px;padding-bottom:3px;}
  .under main .list_faq dd{padding-left: 45px;}
  .under main .list_faq dd span, .under main .list_faq dt span{width: 30px;height: 30px;}
  .under main .list_faq dd span{padding-top: 4px;}
  .under main .list_step dl{margin-bottom:20px;padding-bottom:30px;}
  .under main .list_step dl:not(:last-child)::before{width:50px;left: calc(50% - 25px);bottom: -10px;}

  /* Frames */
  .under main .frame01,.under main .frame02{padding:30px 15px;}
  .under main .frame_pick{min-height:0;padding:30px 15px;margin:30px 0 45px;}
  .under main .frame_pick .pick_ttl{float:none;width:auto;font-size:21px;margin-bottom:25px;}
  .under main .frame_pick .image_r{width:100%;margin:0 0 25px!important;}
  .under main .under_more a{min-height:60px;font-size:17px;}

  /* Company profile */
  .under main .company_profile{padding:20px;flex-direction: column;gap: 0;}
  .under main .company_profile_avt{margin-bottom: 20px;text-align: center;}
  .under main .company_profile_info dl{gap: 10px;padding-bottom: 15px;margin-bottom: 15px;}


  /* Company staff */
  .under main .company_inview{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px;}
  .under main .company_inview dd{padding:20px 12px;}
  .under main .company_inview_name{font-size:20px;}
  .under main .company_inview_qualification{font-size:16px;}

  /* Contact information */
  .under main .contact_info{padding:24px 18px;}
  .under main .contact_info_label{font-size:16px;}
  .under main .contact_info_tel a{gap:10px;}
  .under main .contact_info_tel_icon img{width:20px;}
  .under main .contact_info_tel_number{font-size:28px;}
  .under main .contact_info_row{font-size:16px;}

  /* Other components */
  .under main .box_map{height:250px;}
  .under main .ovn_detail_ct img{max-width:100%;max-height:300px;}
  .under main .u_box:not(:last-child){margin-bottom: 50px;}

  .under main .ovn_list{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;margin-top:30px;}
  .under main .ovn_list .tt{font-size:16px;}
  .under main .news_categories{gap:12px;}
  .under main .news_categories .btn{flex-basis:calc(50% - 6px);}
  .under main .news_categories .btn a{padding:14px 8px;font-size:15px;}
  .under main .u_editor .news_block,.under main .u_editor .news_facts{padding:40px 0;}
  .under main .u_editor > section:first-of-type{padding-top:60px;}
  .under main .u_editor .news_image{margin-bottom:24px;}
  .under main #topic_path ul{text-overflow:ellipsis; overflow:hidden;display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;max-height: 63px;}

  /* .under.ovn_detail main #top_info{height:auto;min-height:300px;padding-bottom:42px;}
  .under.ovn_detail main #top_info > .inner{min-height:258px;height:auto;padding:80px 15px 35px;} */
  /* .under.ovn_detail main #topic_path{position:relative;bottom:auto;padding:0 15px;} */
  .under main .btn_ovn{gap:10px;margin:40px 0 60px;flex-direction: column;align-items: center;}
  .under main .btn_ovn a{width: 28rem;}
  .under main .btn_ovn .btn.hidden{display: none;}
  .under main .btn_ovn .prevPage a::after{left:1rem;}
  .under main .news_navigation{padding:40px 0;}
  .under main .news_navigation .btn_ovn{margin:0;}
  .under.ovn_cate main .news_pagination{margin-bottom:60px;}

}

@media screen and (max-width: 440px) {
  .under main .company_inview{grid-template-columns:minmax(0,1fr);gap:24px;}
  .under main .ovn_list{grid-template-columns:minmax(0,1fr);gap:32px;}
  .under main .ovn_list dd{padding-top:14px;}
}
