
   /*                     C U S T O M
==========================================================*/

.under main .image_l{float:left;margin:0 40px 0 0}
.under main .image_r{float:right;margin:0 0 0 40px}
.under header .h_box{padding: 24px 0 27px 0;background: rgb(255, 255, 255, 90%);top: 0;}
/* 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}

/*==========================================================
                        FONT FAMILY
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6,
.under main .list_faq dt,
.under main .list_step dt{font-family: var(--f-ZMGothic);font-weight: 500;}

/*==========================================================
                        H E A D I N G
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6{margin-bottom: 45px;letter-spacing: 0.1em}

.under main h2{font-size: 40px;text-align: left;margin-bottom: 0;font-weight: 600;color:var(--txt);}
.under main h3{font-size: 40px; text-align: center;color: var(--txt);}
.under main h3 .en{font-size: 80%; color: var(--mcolor); display: block;}

.under main h4{font-size: 30px;position: relative;letter-spacing: 0.05em;}
.under main h4 span{display: inline-block;background:#fff;position: relative;padding-right: 16px;}
.under main h4::before{content: "";position: absolute;width: 100%;height: 3px;background-color: var(--mcolor);left: 0;top: 50%;border-radius: 999px;}
.under main h4 span::before{content: "";position: absolute;width: 4px;height: 3px;background-color: var(--mcolor);right: -2px;top: 50%;border-radius: 999px;}

.under main h5{font-size: 25px;position: relative;padding-left: 20px;letter-spacing: 0.05em}
.under main h5::before{content: "";position: absolute;width: 4px;height: calc(100% - 2px);background-color: var(--mcolor);left: 0;top: 0px;border-radius: 999px;}
.under main h6{font-size: 18px;position: relative;padding-bottom: 3px;margin-bottom: 25px;}
.under main h6::before,
.under main h6::after{content: "";position: absolute;height: 1px;left: 0;bottom: -5px;}
.under main h6::before{width: 50px;left: 0;z-index: 2;}
.under main h6::after{background-color: #848484;width: 100%;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main .txt_h3{max-width: 820px;margin: 0 auto 50px auto}
.under main .img_h3{margin-bottom: 38px}

.under main .info_content{border-radius: 50px 50px 0 0;border-radius: 50px 50px 0 0;margin-top: -47px;background:#fff;}
.under main #content{padding: 0 0 150px}
.under main section{padding:0 0 115px;margin-bottom:0}
.under main section:last-child{padding:0}
.under main ol li{list-style: decimal;}
.under main .img_h img{border-radius:5px}
/* LINK + BUTTON TOP */
.under main .link{text-decoration: underline;color: var(--mcolor);}
.under main .no_link{text-decoration: underline;color: var(--mcolor);}

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

/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{margin-bottom:50px}
.under main #topic_path ul{display:block;padding:37px 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 8px 0 10px;top: -1px;pointer-events: none;}
.under main #topic_path li{}


/*============ 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 25px 15px}
.under main .list_anchor:last-child{margin-bottom: -15px;}
.under main .list_anchor .btn a{height: 60px;padding-top: 4px;}
.under main .btn.banner a{font-weight: 400;border-radius: 5px;text-align: center;line-height: 1.4em;font-size: 30px;height: 150px;width: 500px;background: url(../images/ic-right1.svg) no-repeat right 20px center / 43px var(--txt);}
.under main .btn.banner{margin: 0 25px 60px;}
.under main .btn.banner a:before{position: absolute;content:"";top: 0;width: 100%;height: 100%;opacity: 0.3;}
.under main .btn.banner a span{position: relative;z-index: 2}
.under main .btn.banner a.btn1{width: 700px}
.under main .btn.banner a.btn1:before{background: url(../images/bg_button_u.jpg) center /cover no-repeat}
.under main .btn.banner a.btn2:before{background: url(../images/bg_button_u2.jpg) center /cover no-repeat}
.under main .btn.banner.mb30{margin-bottom: 30px}
/*==========================================================
                        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: 500;font-size: 16px;text-align: left;}
.under main table.mailform th span{color:#fff}
.under main table.mailform td .info{color:var(--mcolor)}

.under main table td{border-color: #CBC8C2;padding: 15px 22px;border-width: 1px;border-left: none;border-right: none;color: #2E220A;}
.under main table th{padding: 15px 41px;}
.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: #CBC8C2;border-bottom-width: 1px;border-right-width: 0;}
.under main table.mailform tr:first-child th,
.under main table.tb_block tr:first-child th{border-top-color: #CBC8C2;}  
.under main table.mailform tr:last-child th,
.under main table.tb_block tr:last-child th{border-bottom-color: var(--mcolor);}
.under main .tb_scroll table th{border-color: var(--mcolor);border-right-color: #CBC8C2;border-width: 1px;border-bottom: 1px solid #CBC8C2;}

.under main .tb_scroll table td{border-right: 1px solid #CBC8C2;}
.under main .tb_scroll table td:last-child{border-right: none}
.under main table th.no_bg{background: none;}
.under main table.tb_block tr:last-child th.no_bg{border-bottom-color: #CBC8C2;border-left-color:#fff}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01,.under main .content-wp ul{background:var(--bg);padding: 36px 60px;border-radius: 5px;}
.under main .list01.no_bg{padding: 0;background: transparent}
.under main .list01 li,.under main .content-wp ul li{display:block;padding-left: 32px;margin-bottom: 12px;position:relative;color: #2E220A;}
.under main .list01 li::before,.under main .content-wp ul li:before{background:var(--mcolor);width: 10px;height: 2px;position:absolute;top:12px;left:0;content:'';border-radius: 999px;}
.under main .content-wp ul{margin-bottom: 30px;clear: both;}
.under main .content-wp ul:last-child{margin-bottom: 0}
.under main .content-wp ol{padding: 0 20px;}
/* 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;}

/* 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{padding-right: 45px;position: relative;font-size: 18px;font-weight: 400;line-height: 1.5em;display: flex;align-items: center;display: flex;align-items: center;}
.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(--f-nsr);}
.under main .list_faq dd{padding-bottom: 15px;display: none;position: relative;padding-left: 50px;margin-top: 15px;}
.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;padding-bottom: 5px;flex-shrink: 0;font-family: var(--f-nsr);}
.under main .list_faq dt:before,.under main .list_faq dt:after{position: absolute;content:"";right: 10px;top: 50%;width: 20px;height: 2px;transition: 0.3s all ease}
.under main .list_faq dt:before{background: var(--mcolor);}
.under main .list_faq dt:after{background: var(--mcolor);transform: rotate(90deg);}
.under main .list_faq dl.active dt:hover:after{transform: rotate(0deg);transition: 0.3s all ease}
.under main .list_faq dl.active dt:after{transform: rotate(0deg);}


/* LIST STEP */
.under main .list_step dl{margin-bottom: 66px;position: relative;background: var(--bg);padding: 76px 150px 70px 102px;}
.under main .list_step dl:not(:last-child)::before{display: inline-block;width: 0;height: 0;border-style: solid;border-width: 29px 27px 0 27px;border-color: var(--bg) transparent transparent transparent;position: absolute;content:"";bottom: -25px;right: 0;margin: 0 auto;left: 0;}
.under main .list_step dl:last-child{margin-bottom: 0px}
.under main .list_step dt{font-size: 20px;margin-bottom: 30px;margin-top: 13px;}
.under main .list_step dt .num{font-size: 72px;font-family: var(--f-nsr);color:#45851A;opacity: 0.4;margin-right: 20px;font-weight: 500;text-transform: uppercase;}
.under main .list_step dd{}
.under main .list_step.ic_row dl::before{display: inline-block;width: 0;height: 0;border-style: solid;border-width: 29px 27px 0 27px;border-color:var(--bg) transparent transparent transparent;position: absolute;content:"";bottom: -25px;right: 0;margin: 0 auto;left: 0;}
.under main table .list_step dt{margin-bottom: 0}
.under main .list_step{margin-bottom: 70px}
.under main .list_step:last-child{margin-bottom: 0}
/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01{border:3px solid var(--mcolor);padding:50px 30px;border-radius:5px;margin-bottom: 50px;}
.under main .frame01.pd0{padding: 0}
/* FRAME 02 */
.under main .frame02{border: 1px solid #e6e6e6;padding: 25px;margin-bottom: 50px;}

/* FRAME PICKUP */
.under main .frame_pick{padding: 100px 205px 60px 205px;background: var(--bg);margin-bottom: 50px;border-radius: 10px;position: relative;margin-top: 100px;}
.under main .frame_pick .pick_ttl{position: relative;font-weight: 500;letter-spacing: 0.1em;padding-left: 0;font-size: 30px;font-family: var(--f-ZMGothic);margin-bottom: 36px;padding-bottom: 40px;text-align: center;}
.under main .frame_pick .pick_ttl:after{position: absolute;content:"";left: 0;height: 3px;bottom: 0;width: 100%;background: var(--mcolor);border-radius: 999px}
.under main .frame_pick span{font-size: 165px;display: block;color: #efede8;font-family: var(--f-Outfit);letter-spacing: 0.1em;line-height: 1.3em;background: transparent;padding: 0;position: absolute;left: 28px;top: -134px;letter-spacing: 0.15em;}
.under main .frame_pick .pick_ttl:before{display: none}
/* 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;}

/* LIST H5 */
.under main .list_h5{display: flex;justify-content: space-between;margin-bottom: 50px}
.under main .list_h5.col3{flex-wrap: wrap;}
.under main .list_h5.cus_w{width: 100%;max-width: 1120px;margin: 0 auto 20px auto}
.under main .list_h5:last-child{margin-bottom: 0}
.under main .list_h5 li{width: calc((100% - 80px) / 2);}
.under main .list_h5.col3 li{width: calc((100% - 116px) / 3);margin-bottom: 40px}

.under main .list_h5.col4 li{width: calc((100% - 116px) / 4);}
.under main .list_h5.col5 li{width: calc((100% - 145px) / 5);}
.under main .list_h5 li h5{padding: 0;margin-bottom: 27px;}
.under main .list_h5.col3 li h5{margin-bottom: 18px}
.under main .list_h5 li h5:before{display: none}
.under main .list_h5 li .img{text-align: center}
.under main .list_h5.auto{justify-content: center}
/* LIST H6 */
.under main .list_h6{display: flex;justify-content: space-between;}
.under main .list_h6.auto{justify-content: center}
.under main .list_h6 li{width: calc((100% - 80px) / 2);background: #fff;padding: 39px 45px;border-radius: 5px}
.under main .list_h6.col3 li{width: calc((100% - 60px) / 3)}

/* ===========  KIJIKAKU ===========  */
.under main .kiji_list{margin-top: 50px;}
.under main .kiji_list dl{display: flex;padding-bottom: 15px;margin-bottom: 15px;border-bottom: 1px dashed #ccc}
.under main .kiji_list dt{display: flex;align-items: center;width: 150px}
.under main .kiji_list dt img{margin-right: 10px;position: relative;top: -2px;}
.under main .kiji_list dd{width: calc(100% - 150px);display: flex;align-items: center;}
.under main .kiji_list dd a{display: inline-block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 100%;}
.under main .kiji_detail_ct img{max-width: 800px;max-height: 600px;}

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

/* ===========  PAGINATION WP ===========  */
.under main .wp-pagenavi {display: flex;justify-content: center;flex-wrap: wrap;margin-top: 40px;}
.under main .wp-pagenavi > span,
.under main .wp-pagenavi a{min-width: 40px;height: 40px;display: flex;justify-content: center;align-items: center;text-decoration: none;color: #fff;margin: 5px;text-align: center;font-weight: 500;line-height: 1em;transition: all 0.3s;padding: 5px;border: 1px #ccc solid;font-size: 14px;background: #ccc;}
.under main .wp-pagenavi a{color: var(--txt)}
.under main .wp-pagenavi > span {background: var(--mcolor);border: 1px var(--mcolor) solid;color: #fff;}
.under main .content_wp{display: flex;justify-content: space-between;}
.under main .content_wp .l_blog{width: 70%;}
.under main .content_wp .r_blog{width: calc(100% - 73%);}
.under main .list-wp-blog ul{display: flex;flex-wrap: wrap;}
.under main .list-wp-blog ul li{width: calc((100% - 30px) / 2);margin: 0 30px 30px 0;border: 1px solid #ddd;padding: 20px;position: relative;transition: 0.3s all ease}
.under main .list-wp-blog ul li:nth-child(2n+2){margin-right: 0}
.under main .list-wp-blog ul li .img-blog{margin-bottom: 20px;display: flex;align-items: center;justify-content: center;height: 242px;}
.under main .list-wp-blog ul li .img-blog img{max-height: 100%}
.under main .list-wp-blog ul li .name-blog{font-size: 20px;font-weight: 500;font-family: var(--f-yumin);line-height: 1.5em;overflow: hidden;
    text-overflow: ellipsis;line-height: 25px;-webkit-line-clamp: 2;display: -webkit-box;-webkit-box-orient: vertical;}

.under main .name-tt{margin-bottom: 20px;padding: 8px;background: var(--mcolor);border-radius: 5px;color:#fff;font-family: var(--f-yumin);font-weight: 500}
.under main .cat-item{border-top:1px solid rgb(69,133,26,0.5)}
.under main .cat-item:first-child{border-top: none}
.under main .cat-item a{color: #fff;background: var(--mcolor);display: block;border: none;line-height: 1.5;padding: 15px 10px;transition: .15s;font-family: var(--f-yumin);font-weight: 500;padding-left: 34px;position: relative;}
.under main .cat-item a:before{position: absolute;content:"";border: 2px solid #fff;border-radius: 50%;left: 14px;top: calc(50% - 6px);width: 10px;height: 10px;}
.under main .widget{margin: 0 auto 40px}
.under main .widget:last-child{margin-bottom: 0}
.under main .l0{letter-spacing: 0}
.under main .content-wp img{max-width:450px;width: 100%;}

.under main .btn.cen a{background: var(--scolor)}
.under main .btn.prev a{background: url(../images/ic-left.png) no-repeat left 20px center / 23px var(--scolor)}
.under main section.pd0{padding-bottom: 0}
.under main .note{text-align: center;font-weight: bold;margin: 10px 0}
.under main .list_img{display: flex;justify-content: space-between;}


/* 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 .content-wp ul li: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}