
/*==========================================================
                        C U S T O M
==========================================================*/
.under .ft_top{margin-top: 17px}
.under main .image_r img,.under main .image_l img,.under main .img img{border-radius: 24px}

.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;letter-spacing: 0.08em;font-weight: 500;}

.under main h2,.under main h3{font-family: var(--font-RoGSanSrfStd);color:var(--scolor);}
.under main h2{font-size:80px; text-align: center;margin-bottom: 0;line-height: 1.2em;}
.under main .info_tth2{display: flex;width: auto;background: #fff;border-radius:30px;box-shadow: -2px 10px 35px rgb(2 2 2 / 10%);align-items: center;justify-content: center;padding: 26px 50px 36px 50px;margin: 50px 0 0 0;}

.under main h3,
.under main .ovn_content h3{font-size: 60px; text-align: center;margin-bottom: 70px;}
.under main h3 .ja{font-size: 60.8%;display: block;font-family: var(--font-ZenMaruGothic);color:var(--txt);font-weight: 600;letter-spacing: -0.05em;margin: 16px 0 0 0;}
.under main h3 .ttl3{position: relative;display: inline-block;}
.under main h3 .ttl3::before,.under main h3 .ttl3::after,.under main .ovn_content h3::before,.under main .ovn_content h3::after{position: absolute;content:"";width: calc(100%  - 67px);height: 3px;bottom: 0;}
.under main h3 .ttl3::before,.under main .ovn_content h3::before{left: 5px;background: var(--mcolor);}
.under main h3 .ttl3::after,.under main .ovn_content h3::after{right: 12px;background: var(--scolor);bottom: -11px;}

.under main h4,
.under main .ovn_content h4{font-size: 50px;position: relative;font-weight: 900;padding-bottom: 20px;letter-spacing: 0;margin-bottom: 34px;}
.under main h4::before{position: absolute;content:"";bottom: 8px;left: 0;width: 100%;height: 2px;background: var(--mcolor);}
.under main h4 .txt_small,.under main .ovn_content h4 .txt_small{font-size: 90%;font-weight: 600;color: var(--txt);}
.under main .ttl4_1{color:var(--color_h4);}
.under main .ttl4_2{color:var(--scolor);}
.under main .ttl4_2::before{background: var(--scolor);}

.under main h5,
.under main .ovn_content h5{font-size: 30px;color: var(--color_h4);font-family: var(--font-ZenMaruGothic);letter-spacing: 0;font-weight: 600;border-bottom: 2px dotted #cbcbcb;padding-bottom: 6px;margin-bottom: 33px;}
.under main .ttl5_1{color:var(--color_h4);}
.under main .ttl5_2{color:var(--scolor);}

.under main h6,
.under main .ovn_content h6{font-size: 28px;position: relative;font-family: var(--font-ZenMaruGothic);letter-spacing: 0;font-weight: 600;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main #content{padding: 0 0 104px;}
.under main section{padding: 0px 0 120px;margin-bottom:0}
.under main section:last-child{padding:0}
.under main .txt-ttl3{margin-bottom: -16px}
.under main .u_desc{font-size: 20px;font-weight: 500;line-height: 1.7em;color: var(--txt_black);text-align: center;letter-spacing: -0.03em;}

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

/*============ TOP INFO ============ */
.under main #top_info{height: 454px;width:100%;max-width:1920px;margin:0 auto;padding-bottom: 0;}
.under main #top_info::before{position: absolute;content:"";left: 0;width: 1920px;height: 470px;background:url('../images/top_info_bg.jpg') no-repeat center /cover;top: 0;background-size: 100% 100%;}
.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: 39px;}
.under main #topic_path ul{display:block;padding:10px 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 5px 0 10px;top: -1px;pointer-events: none;}
.under main #topic_path li{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 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;}
.under main table.mailform th,
.under main table th{background:var(--mcolor);color:#fff;font-weight: 600;font-size: 22px;font-family: var(--font-ZenMaruGothic);letter-spacing: 0;}
.under main table.mailform th span{color:#fff}
.under main table.mailform td .info{color:var(--mcolor)}

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

.under main table th{border-color: var(--mcolor);border-right-color: #fff;}
.under main table tr th:first-child{border-left-color: var(--mcolor);}
.under main table tr th:last-child{border-right-color: var(--mcolor);}
.under main table.mailform th,
.under main table.tb_block th{border-color: var(--mcolor);border-bottom-color: #fff;}
.under main table.mailform tr:first-child th,
.under main table.tb_block tr:first-child th{border-top-color: var(--mcolor);}  
.under main table.mailform tr:last-child th,
.under main table.tb_block tr:last-child th{border-bottom-color: var(--mcolor);}
.under main table .bg1{border-bottom: 1px solid #fff}
.under main .tb_scroll{margin-bottom: 30px}

/*============ 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: 15px;margin-bottom:5px;position:relative;font-weight: 500;letter-spacing: -0.04em;}
.under main .list01 li::before,
.under main .ovn_content ul li::before{background:var(--mcolor);width: 7px;height: 7px;position:absolute;top:12px;left:0;content:'';border-radius: 50%;}
.under main .list01_2 li::before{background: var(--scolor);}
.under main .list01.mb0{margin-bottom: 0}

/* 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: 34px;position: relative;margin-bottom: 10px;font-weight: 500;}
.under main .list02 li::before,
.under main .ovn_content ol li::before{content: counter(li);position: absolute;width: 25px;height: 25px;display: flex;justify-content: center;align-items: center;border-radius: 50%;left: 0;top: 3px;background-color: var(--mcolor);font-size: 14px;font-weight: bold;color: #FFF;line-height: 22px;padding-bottom: 1px;}
.under main .list02.mb0{margin-bottom: 0}
.under main .list02 li.it{font-weight: 400}
.under main .list02 .it1::before{content: "1"}
.under main .list02 .it2::before{content: "2"}
.under main .list02 .it3::before{content: "3"}

/* 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);}
.under main .list_check.mb0{margin-bottom: 0}
/* 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;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;flex-shrink: 0;font-family: var(--font-Oxanium);}
.under main .list_faq dd{position: relative;padding-left: 55px;min-height: 45px;display: flex;align-items: center;line-height: 1.4em;}
.under main .list_faq dd span{position: absolute;top: 5px;left: 0;width: 40px;height: 40px;font-weight: bold;line-height: 1em;color:#fff;background: var(--mcolor);display: flex;align-items: center;justify-content: center;text-align: center;font-family: var(--font-Oxanium);margin-right: 15px;}

/* 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 /cover 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;}
.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;border-radius:10px;margin-bottom: 50px;}

/* FRAME 02 */
.under main .frame02{border: 1px solid #e6e6e6;padding: 25px;margin-bottom: 50px;}

/* FRAME PICKUP */
.under main .frame_pick{border: 1px solid #000;padding: 25px;background: var(--scolor);margin-bottom: 50px;}
.under main .frame_pick .pick_ttl{font-size: 24px;}
.under main .frame_pick .pick_ttl span{font-size: 36px;display: block;}

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

.under main .lh18{line-height:2.2em}


/* ITEM H4 */
.under main .item_h4{margin-bottom: 67px;position: relative;z-index: 1;}
.under main .sub_item_h4{position: relative;padding:115px 0 122px}
.under main .sub_item_h4::before{position: absolute;content:"";left: 50%;top: 50%;min-width: 1260px;transform: translate(-50%, -50%);background: url(../images/bg_item4.jpg) repeat;z-index: -1;width: 100vw;height: 100%;}
.under main .item_h4_2{margin-bottom: 60px}
.under main .item_h4_2{background: #fff;box-shadow: -2px 10px 35px rgb(2 2 2 / 10%);padding: 68px 87px 77px 87px;}
.under main .item_h4_2::before{right: 0;width: 760px;height: 100%;top: 0;background: url(../images/bg_img_h4.png) center /cover no-repeat;position: absolute;content:"";z-index: -1}
.under main .item_h4_2.flex::before{right: inherit;left: 0;width: 760px;height: 100%;top: 0;background: url(../images/bg_item_h4_2.png) center /cover no-repeat;position: absolute;content:"";z-index: -1}
.under main .item_h4_2 h4{padding-bottom: 0;margin-bottom: 18px;}
.under main .item_h4_2 h4::before{display: none}

.under main .item_h5{margin-bottom: 92px}
.under main .item_h4:last-child,.under main .item_h4_2:last-child,.under main .item_h5:last-child{margin-bottom: 0}
.under main .item_h4.fix-top,.under main .item_h5.fix-top{align-items: flex-start;}
/*LIST H5*/
.under main .list-h5{display: flex;justify-content: center;flex-wrap: wrap;}
.under main .list-h5 li{width: calc((100% - 96px) / 4);padding: 45px 34px 53px 34px;border: 3px solid var(--mcolor);border-radius: 14px;margin: 0 32px 32px 0;box-shadow: 4px 4px 20px rgb(0 0 0 / 10%);}
.under main .list-h5 li p{letter-spacing: 0}
.under main .list-h5 .it2{border-color: var(--scolor)}
.under main .list-h5 h5{border-bottom: none;text-align: center;padding-bottom: 0;margin-bottom: 15px;}


.under main .sub_item_h5{position: relative;padding:140px 0 140px}
.under main .sub_item_h5::before{position: absolute;content:"";left: 50%;top: 50%;min-width: 1260px;transform: translate(-50%, -50%);background: url(../images/bg_item5.jpg) repeat;z-index: -1;width: 100vw;height: 100%;}
.under main .bg_item_h5{background: #fff;box-shadow: -2px 10px 35px rgb(2,2,2,7%);border-radius: 24px;padding: 120px 70px 142px 70px;max-width: 1100px;margin: 0 auto}
.under main .item_h5_2 h5{border-bottom:none;color: var(--mcolor);margin-bottom: 24px;padding-bottom: 0}
.under main .item_h5_2 .ttl5_1{color: var(--mcolor);}
.under main .item_h5_2 .ttl5_2{color: var(--scolor);}
.under main .item_h5_2{padding: 30px 0 36px 0;margin-bottom: 0;position: relative}
.under main .item_h5_2:first-child::after{top: 0;border-bottom: 1px solid #d1d6d9;width: 100%;left: 0;height: 1px;position: absolute;content:""}
.under main .item_h5_2::before{bottom: -1px;border-bottom: 1px solid #d1d6d9;width: 100%;left: 0;height: 1px;position: absolute;content:""}



.under main .sub_sec{padding-bottom: 60px}
.under main .sub_sec:last-child{padding-bottom: 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}