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

.under main .image_l img,
.under main .image_r img{border-radius: 20px 0 40px 0;}

/* MB */
.under main .mb05{margin-bottom:05px}
.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{font-weight: 700;margin-bottom: 30px;letter-spacing: 0.1em;}

.under main h2{font-size: 52px;text-align: center;margin-bottom: 0;color: #fff;}

.under main h3,
.under main .ovn_content h3{font-size: 40px;color: #00173a;border-bottom: 1px solid #00173a;padding: 0 0 6px 5px;margin-bottom: 55px;}

.under main h4,
.under main .ovn_content h4{font-size: 28px;position: relative;padding-left: 45px;color: #00314b;letter-spacing: 0.05em;}
.under main h4::before{content: "";position: absolute; width:32px;height: 26px;background: url('../images/ic_h4.png') center /cover no-repeat;left: 0;top: 8px;}

.under main h5,
.under main .ovn_tcontent h5{font-size: 22px;color: var(--scolor);}

.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}

.under main p,
.under main td{font-weight: 500;}

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

/*============ TOP INFO ============ */
.under main #top_info{height:400px;width:100%;max-width:1920px;margin:0 auto;position: relative;}
.under main #top_info::before{width: 100vw;height: 100%;position: absolute;top: 0;left: 50%;min-width: 1920px;transform: translateX(-50%);content: '';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:23px 0 90px}
.under main #topic_path ul{display:block;padding:10px 0;position: relative;left: -2px;}
.under main #topic_path li{display:inline;position: relative;font-size: 18px;font-weight: 500;letter-spacing: 0.02em;color: var(--mcolor);}
.under main #topic_path li:not(:last-child)::after{content:'';position:relative;display: inline-block;margin: 0 14px 0 16px;top: -7px;pointer-events: none;height: 1px;width: 16px;background: var(--mcolor);}
.under main #topic_path li a{color: var(--mcolor);}

/*============ 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 20px 15px 0;width: calc((100% - 40px) / 3);}
.under main .list_anchor .btn a{width: 100%;text-align: center;}
.under main .list_anchor:last-child{margin-bottom: -15px;}

.under main .list_4btn .btn{width: calc((100% - 60px) / 4);}
.under main .list_2btn .btn{width: 35%;}

.under main .btn.btn_big a{width: 480px;max-width: 100%;}

/*==========================================================
                        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;}
.under main table.mailform th,
.under main table th{background: #e9eef6;color: var(--mcolor);font-weight:700;font-size: 20px;letter-spacing: 0.06em;line-height: 1.5em;}
.under main table.mailform td .info{color:var(--mcolor)}

.under main table td{background:#fff;}
.under main table th,
.under main table td{padding:15px 10px;border-color: var(--mcolor);}
.under main table img{display:block;margin:auto;}

.under main table tr th:first-child,
.under main table tr td:first-child{border-left: none}
.under main table tr th:last-child,
.under main table tr td:last-child{border-right: none}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01,
.under main .ovn_content ul{margin-bottom: 30px;}
.under main .list01 li,
.under main .ovn_content ul li{display:block;padding-left:23px;margin-bottom:10px;position:relative;letter-spacing: 0.02em;line-height: 1.6em;}
.under main .list01 li::before,
.under main .ovn_content ul li::before{background: #7f8b9c;width:12px;height:12px;position:absolute;top:9px;left:0;content:'';border-radius: 50%;}

.under main .list01.mb10{margin-bottom: 10px;}

/* LIST 02 */
.under main .list02,
.under main .ovn_content ol{margin-bottom: 30px;}
.under main .list02 li,
.under main .ovn_content ol li{counter-increment: li;padding-left: 35px;position: relative;margin-bottom: 22px;font-size: 20px;font-weight: bold;letter-spacing: 0.02em;line-height: 1.6em;}
.under main .list02 li::before,
.under main .ovn_content ol li::before{ content: counter(li, decimal-leading-zero);position: absolute;width: 22px;height: 22px;display: flex;justify-content: center;align-items: center;left: 0; top: 6px;font-size: 24px;font-weight: 500;color: var(--scolor);line-height: 1em;font-family: var(--en);}

/* LIST IMG */
.under main .flex_img{display: flex;justify-content: center;margin-bottom: 40px;}
.under main .flex_img li{width: 404px;max-width: calc((100% - 20px) / 2);margin-right: 50px;}
.under main .flex_img li:last-child{margin-right: 0;}
.under main .flex_img li img{border-radius: 20px 0 40px 0;}

/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01{border:3px solid var(--mcolor);padding:50px 30px;background: #e9eef6;border-radius:10px;margin-bottom: 50px;}

/* FRAME PICKUP */
.under main .frame_bg{background: url('../images/company_bg.jpg') center /cover no-repeat;margin:0 auto 50px;padding: 50px;}
.under main .frame_bg .frame_ttl{font-size: 32px;font-weight: 700;color: var(--scolor);margin-bottom: 30px;letter-spacing: 0.05em;}

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

/* ===========  OVERNOTE ===========  */
.under main .list_ovn {display: flex;flex-wrap: wrap;margin: 30px auto 0;max-width: 100%;}
.under main .list_ovn li{position: relative;margin: 0 20px 40px 0;width: calc((100% - 60px) / 4);}
.under main .list_ovn li p {margin-bottom: 0;}
.under main .list_ovn li .img {width: 100%;height: auto;aspect-ratio: 380/213;display: flex;align-items: center;justify-content: center;background: #efefef;box-shadow: 2px 2px 10px 0px rgba(0, 0, 0, 0.3);border-radius: 20px 0 40px 0;overflow: hidden;margin-bottom: 20px;}
.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 a {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 5;}
.under main .list_ovn .info_box {display: flex;justify-content: space-between;margin: 0 0 5px;}
.under main .list_ovn .info_box p{font-size: 16px;}
.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;font-weight: bold;color: var(--mcolor);}

.under main .list_2img{display: flex;flex-wrap: wrap;justify-content: center;}
.under main .list_2img p{width: calc((100% - 30px) / 2);margin:0 30px 30px 0;height: auto;aspect-ratio: 16/9;}
.under main .list_2img p img{width: 100%;height: 100%;object-fit: cover;}
.under main .list_2img p:nth-child(2n + 2){margin-right: 0;}
.under main .list_2img p:last-child{margin-right: 0;}

.under main .ovn_content p a {text-decoration: underline;color: var(--blue);}
.under main .ovn_content img {max-height: 500px;}

.under main .btn_list .is_prev a {background: url('../images/arrow_white_l.png') no-repeat left 20px center /28px var(--mcolor);}
.under main .btn_list .is_none a {background: var(--mcolor);}

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

/* RESET */
.under main table: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 section p:last-child,
.under main p:last-child,
.under main .frame01:last-child,
.under main .frame_pick:last-child{margin-bottom: 0}