/*==========================================================
                        C U S T O M
==========================================================*/
/* MB */
.under main .mb10{margin-bottom:10px}
.under main .mb15{margin-bottom:15px}
.under main .mb20{margin-bottom:20px}
.under main .mb25{margin-bottom:25px}
.under main .mb30{margin-bottom:30px}
.under main .mb40{margin-bottom:40px}
.under main .mb50{margin-bottom:50px}
.under main .mb60{margin-bottom:60px}
.under main .mb70{margin-bottom:70px}
.under main .mb80{margin-bottom:80px}
.under main .mb90{margin-bottom:90px}

/* MT */
.under main .mt10{margin-top:10px}
.under main .mt15{margin-top:15px}
.under main .mt20{margin-top:20px}
.under main .mt25{margin-top:25px}
.under main .mt30{margin-top:30px}
.under main .mt40{margin-top:40px}
.under main .mt50{margin-top:50px}
.under main .mt60{margin-top:60px}
.under main .mt70{margin-top:70px}
.under main .mt80{margin-top:80px}
.under main .mt90{margin-top:90px}

/* MAX_W */
.under main .max_w200{width:100%;max-width:200px}
.under main .max_w250{width:100%;max-width:250px}
.under main .max_w300{width:100%;max-width:300px}
.under main .max_w350{width:100%;max-width:350px}
.under main .max_w500{width:100%;max-width:500px}
.under main .max_w600{width:100%;max-width:600px}
.under main .max_w700{width:100%;max-width:700px}
.under main .max_w800{width:100%;max-width:800px}
.under main .max_w900{width:100%;max-width:900px}

/* MIN-W */
.under main .min_w200{min-width:200px}
.under main .min_w250{min-width:250px}
.under main .min_w300{min-width:300px}
.under main .min_w350{min-width:350px}
.under main .min_w500{min-width:500px}

/*==========================================================
                        H E A D I N G
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6{font-weight: bold;}

.under main h2{font-size:48px;line-height:1.4;color:#fff;text-align:center;margin-bottom:0;}
.under main h3{font-size:42px;color:var(--txt);position:relative;text-align:center;margin-bottom:48px;z-index: 0;}
.under main h3::before{content:'';position:absolute;top: -118px;left:calc(50% - 200px);width:400px;height:200px;border:20px solid #fff;border-top:0;border-radius:0 0 200px 200px;pointer-events:none;z-index:-1;}
.under main section:not(.u_bg01) h3::before{border-color:#F6F3EB;}
.under main h4{font-size:36px;color:var(--txt);position:relative;padding:0 0 18px;border-bottom:2px solid #dcd3bd;margin-bottom:56px;}
.under main h4::before{display:none;}

.under main h5{font-size:28px;color:var(--txt);margin-bottom:29px;}
.under main h6{font-size: 20px;position: relative;margin-bottom:30px;}
.under main h6::before,
.under main h6::after{content: ""; position: absolute;height: 3px;left: 0; bottom: -5px;}
.under main h6::before{background-color: var(--mcolor);width: 50px;left: 0;z-index: 2;}
.under main h6::after{background-color: #ccc;width: 100%;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main{background:#fff;}
.under main #content{padding:0;}
.under main section{padding: 117px 0 120px;margin:0;position:relative;}
.under main .u_box:not(:last-child){margin-bottom: 100px;}
.under main section p{color:#171717;font-size:18px;line-height:1.68;}
.under main ol li{list-style: decimal;}

/*============ CONTENT SECTIONS ============ */
.under main .u_bg01::before{content:'';position:absolute;inset:0 calc((max(100vw,1260px) - 100%) / -2);background:#f6f3eb;z-index:0;pointer-events:none;}
.under main .u_bg01>*{position:relative;z-index:1;}
.under main .image_l img,.under main .image_r img{display:block;width:580px;max-width:100%;height:auto;border-radius:10px;}
.under main .center{text-align:center;margin-bottom:30px;}
.under main .center img{border-radius:10px;}

/* LINK + BUTTON TOP */
.under main .link{text-decoration: underline;color: var(--mcolor);}
.under main .inner > section:last-child{padding-bottom: 160px;}

/*============ TOP INFO ============ */
.under main #top_info{height:550px;width:100%;max-width:none;margin:0 auto;position:relative;z-index:2;background:url('../images/under_mv.jpg') center 48% / cover no-repeat;}
.under main #top_info > .inner{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;padding: 60px 0;}
/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{position:absolute;left:0;bottom:0;width:100%;color:#fff;}
.under main #topic_path ul{display:block;padding:12px 0;margin:0;line-height:1.6;}
.under main #topic_path li{display:inline;position:relative;color:#fff;font-size:14px;}
.under main #topic_path a{color:#fff;}
.under main #topic_path li:not(:last-child)::after{content:">";position:relative;display: inline-block;margin: 0 5px 0 10px;top: -1px;pointer-events: none;}


/*============ LIST ANCHOR LINK ============ */
.under main .list_anchor{display: flex; align-items: center; flex-wrap: wrap; justify-content: center;width:100%;margin-bottom: 30px;}
.under main .list_anchor .btn{margin: 0 10px 15px}
.under main .list_anchor:last-child{margin-bottom: -15px;}

/*==========================================================
                        T A B L E
==========================================================*/
.under main table.td_top td{vertical-align:top}
.under main table{width:100%;margin-bottom:30px;border-collapse:collapse;table-layout:fixed;border-top:2px solid #dcd3bd;}
.under main table th,.under main table td{border:1px solid #dcd3bd;padding:9px 15px 10px;font-family:var(--f-main);font-size:18px;font-weight:500;}
.under main table th{background:#bdab7c;color:#fff;font-size: 2rem;text-align:center}
.under main table td{background:#fff;color:#000;}
.under main table tr th:first-child,.under main table tr td:first-child{border-left:0;}
.under main table tr th:last-child,.under main table tr td:last-child{border-right:0;}
.under main table.mailform td .info{color:var(--mcolor)}
.under main table img{display:block;max-width:100%;height:auto;margin:auto;}
.under main table .bg01{background-color: #FBFBFC;text-align: center;color:#192444}
.under main .tb_scroll:not(:last-child){margin-bottom:20px;}
/*============ LIST ============ */
/* LIST 01 */
.under main .list01{margin:36px 0 30px;}
.under main .list01 li{display:block;position:relative;padding-left:28px;margin-bottom: 10px;color:#171717;font-size:18px;}
.under main .list01 li::before{content:'';position:absolute;top: 8px;left: 0px;width: 16px;height: 16px;border:4px solid #c0ac79;border-radius:50%;background:transparent;}

/* LIST 02 */
.under main .list02{margin-bottom: 30px;}
.under main .list02 li{counter-increment: li; padding-left: 30px;position: relative;margin-bottom: 10px;}
.under main .list02 li::before{ content: counter(li);position: absolute;width: 22px;height: 22px;display: flex;justify-content: center;align-items: center;border-radius: 50%;left: 0; top:4px; background-color: var(--mcolor);font-size: 12px;font-weight: bold;color: #FFF;line-height: 22px;}

/* LIST CHECK */
.under main .list_check{margin-bottom: 30px;}
.under main .list_check li{display:block;padding-left:25px;margin-bottom:5px;position:relative}
.under main .list_check li::before{content: ''; display: block; position: absolute; top: 5px; left: 5px; width: 7px; height: 15px; border: solid var(--mcolor); border-width: 0 2px 2px 0; transform: rotate(45deg);}

/* LIST FAQ */
.under main .list_faq{margin-bottom: 30px;}
.under main .list_faq dl{background: #FFF;padding: 15px;box-shadow: 0px 4px 13px rgba(0,0,0,0.2);margin-bottom: 50px}
.under main .list_faq dt{position: relative;font-size: 20px;font-weight: bold;line-height: 1.5em;margin-bottom: 10px;border-bottom: 1px dotted var(--mcolor);display: flex;align-items: center;padding-bottom: 15px;}
.under main .list_faq dt span{width: 40px;height: 40px;font-weight: bold;text-align:center;line-height: 1em;background: #fff;border:1px solid var(--mcolor);color: var(--mcolor);margin-right: 15px;display: flex;align-items: center;justify-content: center;text-align: center;padding-bottom: 5px;flex-shrink: 0;}
.under main .list_faq dd{position: relative;padding-left: 54px;min-height: 62px}
.under main .list_faq dd span{position: absolute;top: 5px;left: 0;width: 40px;height: 40px;font-weight: bold;text-align:center;line-height: 1em;color:#fff;background: var(--mcolor);display: flex;align-items: center;justify-content: center;text-align: center;padding-bottom: 5px;flex-shrink: 0;}

/* LIST STEP */
.under main .list_step dl{margin-bottom: 35px;padding-bottom: 50px;position: relative;}
.under main .list_step dl:not(:last-child)::before{background: url('../images/ic-step.png') center /contain no-repeat;width: 80px;height: 30px;position: absolute;bottom: -10px;left: calc(50% - 40px);content: '';}
.under main .list_step dl:last-child{padding-bottom: 0;margin-bottom: 0}
.under main .list_step dt{background: var(--mcolor);color: #fff;font-weight: 500;padding: 10px 15px;}
.under main .list_step dd{padding: 15px;background: #fff;box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);}
/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01{border:3px solid var(--mcolor);padding:50px 30px;background-color: #e6e6e6;border-radius:10px;margin-bottom: 50px;}

/* FRAME PICKUP */
.under main .frame_pick{min-height:430px;padding:60px 80px;margin:110px -80px 80px;background:#fff;border-radius:10px;box-shadow:0 5px 20px #0000000d;}
.under main .frame_pick .pick_ttl{float:left;width:calc(100% - 534px);font-size:24px;font-weight:700;color:#171717;line-height:1.4;margin-bottom:40px;}
.under main .frame_pick .pick_ttl span{display:block;font-size:16px;color:#4668a4;margin-bottom:8px;}
.under main .frame_pick .image_r{width:494px;max-width:100%;}
.under main .under_more{text-align:center;}
.under main .under_more a{width:460px;max-width:100%;min-height:80px;border-radius:50px;background:#333;color:#fff;font-size:24px;font-weight:700;margin:auto;}

/* COMPANY PROFILE */
.under main .company_profile{padding:32px;background:#fff;border:1px solid #dcd3bd;border-radius:10px;display: flex;align-items: center;gap: 40px;}
.under main .company_profile_avt{flex-shrink: 0;}
.under main .company_profile_info{width: 100%;}
.under main .company_profile_info dl{display:flex;align-items:baseline;gap:24px;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid #dcd3bd;}
.under main .company_profile_info dl:last-child{padding-bottom:0;margin-bottom:0;border-bottom:0;}
.under main .company_profile_info dt{flex:0 0 140px;font-weight:700;color:#8c7b52;margin:0;}
.under main .company_profile_info dd{flex:1;min-width:0;line-height:1.6;margin:0;}


.under main .company_inview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;padding:0 7px 7px 0;}
.under main .company_inview dl{display:flex;flex-direction:column;min-width:0;margin:0;background:#fff;box-shadow:10px 10px 0 #d3d4d6;}
.under main .company_inview dt{margin:0;overflow:hidden;}
.under main .company_inview dt img{display:block;width:100%;aspect-ratio:9/10;object-fit:cover;}
.under main .company_inview dt img:not([src$="company06.jpg"],[src$="company13.jpg"],[src$="company16.jpg"]){transform:scale(1.12);transform-origin:center 40%;}
.under main .company_inview dd{flex:1;padding:24px 18px 22px;margin:0;text-align:center;background-color: #fffdf6;}
.under main .company_inview_name{display:block;font-size:22px;line-height:1.5;color:var(--txt);font-weight: bold;}
.under main .company_inview_name:not(:last-child){margin-bottom:8px;}
.under main .company_inview_qualification{display:block;font-size:16px;line-height:1.7;color:#655f53;}


/* CONTACT INFORMATION */
.under main .contact_info{max-width: 700px;padding: 30px 20px;margin:0 auto;border-radius:10px;background:var(--dark);color:var(--cream);text-align:center;}
.under main .contact_info_label{font-size:18px;font-weight:700;text-align:center;margin-bottom:10px;color:var(--cream);}
.under main .contact_info_tel{text-align:center;margin-bottom:10px;}
.under main .contact_info_tel a{display:inline-flex;align-items:center;gap:16px;color:#e3e9f9;}
.under main .contact_info_tel_number{font-family:var(--f-en);font-size:44px;font-weight:600;line-height:1.3;white-space:nowrap;}
.under main .contact_info_details{max-width:660px;margin:0 auto;}
.under main .contact_info_row{font-size:18px;line-height:1.7;margin:0 0 12px;text-align:center;}
.under main .contact_info_row:last-child{margin-bottom:0;}
.under main .contact_info_row dt{display:inline;font-weight:700;color:var(--cream);}
.under main .contact_info_row dt::after{content:'：';}
.under main .contact_info_row dd{display:inline;margin:0;}

/* IFRAME BOX */
.under main .box_map{width:100%;height:400px}
.under main .box_ytb{width: 900px;height: auto; margin: 0 auto;aspect-ratio: 16/9;max-width: 100%;}
.under main .box_map iframe,
.under main .box_ytb iframe{width:100%;height:100%;border:none;outline: none;}

/* ===========  OVN ===========  */
.under main .news_categories{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:0 0 60px;}
.under main .news_categories .btn{margin:0;flex:0 1 230px;}
.under main .news_categories .btn a{min-width:0;width:100%;}
.under main .news_categories .active a{background:var(--mcolor);color:#fff;pointer-events:none;}
.under main .ovn_list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px;margin-top:40px;}
.under main .ovn_list dl{min-width:0;margin:0;padding:0;}
.under main .ovn_list dt{width:100%;aspect-ratio:29/19;overflow:hidden;background:#f5f3ef;border-radius:10px;position:relative;}
.under main .ovn_list dt img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s;}
.under main .ovn_list dd{width:100%;padding:15px 0 0;gap:10px;align-items: flex-start;}
.under main .ovn_list .tt{font-weight:bold;margin:0 0 12px;text-overflow:ellipsis; overflow:hidden;display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;}
.under main .ovn_list .tt a{color:var(--txt);text-decoration:none;}
.under main .ovn_list .news_category{display:inline-block;margin:0;padding:4px 14px;background:#eee9df;font-size:14px;font-weight: 500;margin-bottom: 10px;}
.under main .news_empty{grid-column:1/-1;text-align:center;}
.under main .btn_ovn{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:60px 0 120px;}
.under main .btn_ovn .prevPage a::after{left:4rem;right:auto;transform:scaleX(-1);}
.under main .btn_ovn .viewPage a::after{display:none;}
.under main .news_navigation{padding:70px 0 80px;}
.under main .news_navigation .btn_ovn{margin:0;}
.under main .news_navigation .btn_ovn .hidden{visibility:hidden;pointer-events:none;}
.under main .u_editor .news_block,.under main .u_editor .news_facts{margin:0;padding:100px 0;}
.under main .u_editor .news_block:last-child{padding-bottom: 0;}
.under main .u_editor > section:first-of-type{padding-top:117px;}
.under main .news_pagination{padding:0;margin:60px 0 0;}
.under main .news_image{text-align:center;margin:0 0 30px;}
.under main .news_image img{max-height:650px;object-fit:contain;border-radius:10px;}
.under main .news_tables{width:100%;}
.under main .news_tables table{table-layout:fixed;margin:0;width:100%;}
.under main .news_tables .news_table_label{width:17%;}
.under main .news_tables .news_table_value{width:33%;}
.under main .news_text{overflow-x:auto;}
.under main .news_text > :last-child{margin-bottom:0;}

/* ===========  PAGINATION ===========  */
.under main .pagination {display: flex;justify-content: center;flex-wrap: wrap;text-align: center;margin: 30px auto 0}
.under main .pagination li{margin:5px;}
.under main .pagination li.arrow a{width:auto;min-width:80px;padding:0 12px;}
.under main .pagination li a{width:40px;height: 40px;text-align: center;border:1px solid  var(--mcolor);background: #fff;display: flex;color: var(--mcolor);justify-content: center;align-items: center;border-radius: 5px;}
.under main .pagination li:hover a,
.under main .pagination li.active a{background: var(--mcolor);color: #fff;}
.under main .pagination li.active a{pointer-events: none;}
.under main .pagination li.disabled {display: none}

/*==========================================================
                     EDITOR WORDPRESS + ovn
==========================================================*/
.u_editor::after { content: ""; display: table; clear: both; }
.u_editor div{font-size: 16px;}
.u_editor .clearfix:not(:last-child){margin-bottom: 40px;}
/* Blockquote */
.u_editor blockquote { border-left: 4px solid #ccc; padding-left: 1em; margin: 1em 0; color: var(--txt); font-style: italic; }
.u_editor blockquote cite { display: block; font-style: normal; margin-top: 0.5em; color: #999; }
/* Caption */
.u_editor hr { border: none; border-top: 1px solid #ccc; margin: 2em 0; }

.alignright, .alignleft{margin-bottom:30px;max-width:300px!important}
.aligncenter{display:block!important;margin:0 auto}
.under main .btn_ovn .btn.hidden{visibility:hidden;pointer-events:none;opacity: 0;}

@media screen and (min-width: 751px){
  .alignleft{float:left;margin-right:30px;}
  .alignright{float:right;margin-left:30px;}
  .under main #top_info{padding-top: 120px;}
  .under main .company_profile_info{overflow:hidden;margin:0;}
  .under main .btn_ovn .btn{margin:0;flex:0 1 260px;}
  .under main .btn_ovn .btn a{min-width:0;width:100%;}
}

/* RESET */
.under main table:last-child,
.under main .list_faq:last-child,
.under main .list_faq dl:last-child,
.under main .list01:last-child,
.under main .list01 li:last-child,
.under main .list02:last-child,
.under main .list02 li:last-child,
.under main .list_check:last-child,
.under main .list_check li:last-child,
.under main .list_step:last-child,
.under main .list_step dl:last-child,
.under main section p:last-child,
.under main p:last-child,
.under main .frame01:last-child,
.under main .frame02:last-child,
.under main .frame_pick:last-child{margin-bottom: 0}

/* Expand the remaining award rows while retaining the first five. */
.under main #awards-table tr[hidden]{display:none;}
.under main .awards-more{margin-top:24px;}
.under main .awards-more a:focus-visible{outline:3px solid var(--scolor);outline-offset:3px;}
.under main .company_profile_avt{max-width:100%;}
.under main .company_profile_avt img{max-width:100%;height:auto;}
