/*==========================================================
                        C U S T O M
==========================================================*/
.under main .image_l{float:left;margin:0 50px 0 0}
.under main .image_r{float:right;margin:0 0 0 50px}

/* 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}
.under main .mb100{margin-bottom:100px}
.under main .mb120{margin-bottom:120px}
.under main .mb150{margin-bottom:150px}

/* 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}

/*==========================================================
                        H E A D I N G
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6,
.under main .ovn_content h3,
.under main .ovn_content h4,
.under main .ovn_content h5,
.under main .ovn_content h6{margin-bottom: 30px;}
.under main h2{font-size:76px;text-align:center;margin-bottom:0;font-weight:500;color:#fff;text-shadow:0 -2px 2px rgba(0,0,0,0.59)}
.under main h3,.under main .ovn_content h3{font-size:40px;text-align:left;font-weight:500;margin:0 0 44px}
.under main h4,.under main .ovn_content h4{font-size:26px;position:relative;padding-left:30px;font-weight:500}
.under main h4::before{content:"";position:absolute;width:5px;height:30px;background-color:var(--mcolor);left:0;top:6px}
.under main h5,
.under main .ovn_content h5{font-size: 24px;color: var(--mcolor);}

.under main h6,
.under main .ovn_content h6{font-size: 20px;position: relative;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main #content{padding: 0 0 120px}
.under main section{padding:0 0 80px;margin-bottom:0}
.under main section:last-child{padding:0}

/* LINK + BUTTON TOP */
.under main .link{text-decoration: underline;color: var(--mcolor);}

/*============ TOP INFO ============ */
.under main #top_info{height:350px;width:100%;max-width:1920px;margin:0 auto;background:url('../images/top_info_bg.jpg') no-repeat center /cover;}
.under main #top_info .inner{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}

/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{margin-bottom:33px}
.under main #topic_path ul{display:block;padding:16px 0}
.under main #topic_path li{display:inline;position: relative;}
.under main #topic_path li:not(:last-child)::after{content:"＞";position:relative;display: inline-block;margin: 0 9px 0 12px;top: -1px;pointer-events: none;}
.under main #topic_path li{color: var(--txt);}
.under main #topic_path li a{color: var(--mcolor);text-decoration: underline}


/*============ 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.tb_fix{table-layout: fixed;}

.under main table {
    margin-bottom: 30px;
    border-collapse: separate;
}
.under main table.mailform th,
.under main table th{background:var(--scolor);color:var(--mcolor);font-weight:500;font-size: 22px;}
.under main table.mailform td .info{color:var(--mcolor)}
.under main table th,
.under main table td{padding:15px;}
.under main table img{display:block;margin:auto;}
.under main table tr th,.under main table tr td{border:none;border-top:7px solid #fff;border-bottom:8px solid #fff}
.under main table tr{position:relative}
.under main table tr:before{content:'';position:absolute;width:100%;height:1px;background:#707070;left:0;top:0}
.under main table tr:last-child:after{content:'';position:absolute;width:100%;height:1px;background:#707070;left:0;bottom:0}
/*============ LIST ============ */
/* LIST 01 */
.under main .list01,
.under main .ovn_content ul{margin-bottom: 30px;overflow: hidden}
.under main .list01 li,
.under main .ovn_content ul li{display:block;padding-left:25px;margin-bottom:5px;position:relative}
.under main .list01 li::before,
.under main .ovn_content ul li::before{background:var(--mcolor);width:12px;height:3px;position:absolute;top:16px;left:0;content:''}

/* 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: 2px; background-color: var(--mcolor);font-size: 12px;font-weight: bold;color: #FFF;line-height: 22px;}



/* ===========  OVERNOTE ===========  */
.under main .list_ovn {display: flex;flex-wrap: wrap;margin: 50px auto 0;width: 1200px;max-width: 100%;}
.under main .list_ovn li {position: relative;margin: 0 20px 20px 0;width: calc((100% - 60px) / 4);}
.under main .list_ovn li .img {width: 100%;height: auto;aspect-ratio: 3/2;display: flex;align-items: center;justify-content: center;background: #efefef;}
.under main .list_ovn li .img img {max-width: 100%;max-height: 100%;flex-shrink: 0;object-fit: cover;width: 100%;height: 100%;}
.under main .list_ovn li p {margin-bottom: 0;}
.under main .list_ovn li a {display: block;background: var(--gray-gains);padding: 15px;height: 100%}
.under main .list_ovn .info_box {display: flex;justify-content: space-between;margin: 10px 0 15px;}
.under main .list_ovn .info_box .cate{padding: 0 15px;background: var(--mcolor);color: #fff;border-radius: 5px;}
.under main .list_ovn .big {max-width: 100%;overflow: hidden;text-overflow: ellipsis;max-height: 70px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.ovn_item_date{background:var(--txt);color:#fff;width:100px;display:block;text-align:center;margin:0 0 10px;font-size:14px;line-height:1.5em;padding:2px 0 3px}
.ovn_item_ttl{display:block;margin:10px 0 0;font-weight:500;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5em}
.ovn_item_img{height:200px;display:flex;justify-content:center;align-items:center;overflow:hidden;background:#e6e6e6}
.ovn_item_img img{flex-shrink:0;width:100%;height:100%;object-fit:cover}
.under main .ovn_content table th{width:30%}
/* ===========  OVERNOTE DETAIL ===========  */
.ovn_img{display:flex;justify-content:center;flex-wrap:wrap}
.ovn_img .img{width:calc(50% - 20px);margin:0 10px 20px;background:#eee;display:flex;justify-content:center;align-items:center;height:300px}
.ovn_img img{max-height:100%}
.ovn_content{margin:0 0 30px}
.under main .ovn_content p a {text-decoration: underline;color: var(--blue);}
.under main .ovn_content img {max-height: 500px;}
.under main .ovn_content ol {margin-left: 20px;}
.under main .ovn_content ol:not(:last-child) {margin-bottom: 30px;}
.under main .ovn_content ol li{list-style: decimal;}


/* ===========  PAGINATION ===========  */
.under main .pagination {display: flex;justify-content: center;flex-wrap: wrap;text-align: center;margin: 30px auto 0}
.under main .pagination li {margin: 0 10px}
.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: 0;}
.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}

.company_list{display:flex;flex-wrap:wrap}
.company_list li{width:50%}
.under_map iframe{width:100%;height:450px}
.under_map:not(:last-child){margin-bottom:30px}
.under_img_list{display:flex;justify-content:center}
.under_img_list .img{width:calc(100% - 20px);margin-right:30px}
.under_img_list .img:last-child{margin-right:0}






/* 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}