/*==========================================================
                        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 h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6,
.under main .wp_content h3,
.under main .wp_content h4,
.under main .wp_content h5,
.under main .wp_content h6{font-weight: 400;margin-bottom: 30px;font-family: var(--serif);}

.under main h3:not(.sec06_ttl),
.under main .wp_content h3{font-size: 36px; text-align: center;position: relative;padding-bottom: 70px;margin-bottom: 40px;}
.under main h3:not(.sec06_ttl)::before{position: absolute;content: "";width: 2px;height: 40px;background: #222;left: 0;right: 0;margin: 0 auto;bottom: 0;}
.under main h3:not(.sec06_ttl) .en{font-size: 100px; display: block;font-family: var(--en);line-height: 1em;text-transform: uppercase;}
.under main h3:not(.sec06_ttl) .en::first-letter{color: var(--mcolor);}

.under main h4,
.under main .wp_content h4{font-size: 26px;position: relative;text-align: center;font-weight: bold;border-top: 1px solid var(--mcolor);border-bottom: 1px solid var(--mcolor);padding: 15px 0;color: var(--mcolor);}

.under main h5,
.under main .wp_content h5{font-size: 24px;border-bottom: 1px dotted var(--mcolor);padding-bottom: 5px;}
.under main h5::first-letter{color: var(--mcolor);font-weight: bold;}

.under main h6,
.under main .wp_content h6{font-size: 20px;position: relative;color: var(--mcolor);font-weight: bold;}

.under main p{margin-bottom: 1em;}
/*==========================================================
                      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 #top_info{height:520px;width:100%;max-width:1920px;margin:0 auto;background:url('../images/top_info_bg.jpg') no-repeat center /cover;padding-top: 146px;}
.under #top_info .inner{display:flex;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%}
.under #top_info .page_ttl{text-align: center;font-size: 52px;}
.under #top_info .page_ttl span{background: var(--mcolor);padding: 15px 15px 10px;color: #fff;}

/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{margin-bottom:30px}
.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;margin-top: 30px;}
.under main .list_anchor .btn{margin: 0 15px 15px}
.under main .list_anchor:last-child{margin-bottom: -15px;}

.under main .btn a{width: 300px;height: 50px;font-size: 20px;font-family: var(--serif);}

/*==========================================================
                        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 th{background:var(--mcolor);color:#fff;font-weight:700;font-size: 18px;border-color: var(--mcolor);border-right-color: #fff;line-height: 1.5em;}
.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.bg2{background: #c5decb;color: var(--txt);border-right: 1px solid var(--mcolor);}

.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.tb_block th{border-bottom-color: #fff}
.under main table.tb_block tr:first-child th{border-top-color: var(--mcolor);}
.under main table.tb_block tr:last-child th{border-bottom-color: var(--mcolor);}

.under main table.td_color td{color: var(--mcolor);}

.under main .access_txt{display: inline-block;width: calc(100% - 650px);}
.under main .flex_box{display: flex;justify-content: space-between;margin-top: 50px;}
.under main .flex_box dl{width: 48%;display: flex;flex-direction: column;padding: 0;border:1px solid var(--mcolor);}
.under main .flex_box dt{text-align: center;padding: 10px;background: var(--mcolor);text-align: center;color: #fff;font-size: 18px;font-weight: bold;}
.under main .flex_box dd{padding: 15px;display: flex;flex-direction: column;flex-grow: 1;}
.under main .flex_box dd p:last-child{margin-top: auto;}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01,
.under main .wp_content ul{margin-bottom: 20px;}
.under main .list01 li,
.under main .wp_content ul li{display:block;padding-left:25px;margin-bottom:5px;position:relative}
.under main .list01 li::before,
.under main .wp_content ul li::before{ width:14px;height:14px;position:absolute;top:10px;left:0;content:'';background: linear-gradient(0,rgba(125, 181, 159, 1) 0%, rgba(125, 181, 159, 1) 50%, rgba(79, 127, 125, 1) 50%, rgba(79, 127, 125, 1) 100%);border-radius: 50%;}

/* LIST 02 */
.under main .list02,
.under main .wp_content ol{margin-bottom: 30px;}
.under main .list02 li,
.under main .wp_content ol li{counter-increment: li; padding-left: 30px;position: relative;margin-bottom: 10px;}
.under main .list02 li::before,
.under main .wp_content ol 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: 6px; 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: 18px;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;padding-bottom: 5px;flex-shrink: 0;}
.under main .list_faq dd{position: relative;padding-left: 50px;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 /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);}

.under main .list_3img{display: flex;justify-content: space-between;}
.under main .list_3img li{width: 390px;}

.under main .list_2img{display: flex;justify-content: space-between;}
.under main .list_2img li{width: calc(50% - 10px);}

/* LIST NEWS */
.under main .list_news{}
.under main .list_news dl{display: flex;margin-bottom: 20px;padding-bottom: 20px;border-bottom: 1px solid var(--scolor);align-items: center;}
.under main .list_news dt{width: 120px;background: var(--scolor);display: flex;align-items: center;justify-content: center;text-align: center;color: #fff;font-family: var(--serif);}
.under main .list_news dd{width: calc(100% - 150px);margin-left: 30px;line-height: 1em;}
.under main .list_news dd a{display: inline-block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 100%;line-height: 1.5em;}

/* CLINIC */
.under .sec06{margin-bottom: 50px;margin-top: 150px;height: auto;padding-bottom: 50px;}
.under .sec06 table{width: 1230px;max-width: 100%;margin: 30px auto}

.under main .clinic_slide{width: 900px;max-width: 100%;margin:0 auto;}
.under main .clinic_slide .slide_thumb{display: flex;flex-wrap: wrap;justify-content: space-between;}

.under main .clinic_slide .slide_thumb .slick-slide{width: calc((100% - 100px) / 6) !important;margin-right: 20px;position: relative;}
.under main .clinic_slide .slide_thumb .slick-slide::before{position: absolute;content: "";width: 100%;height: 100%;left: 0;top: 0;background-color: rgba(43, 106, 74, 0.6);opacity: 0;transition: all 0.3s;}
.under main .clinic_slide .slide_thumb .slick-slide:hover{cursor: pointer;}
.under main .clinic_slide .slide_thumb .slick-slide:hover::before,
.under main .clinic_slide .slide_thumb .slick-slide.slick-current::before{opacity: 1;}
.under main .clinic_slide .slide_thumb .slick-slide.slick-current:hover::before{opacity: 1;cursor: default;}
.under main .clinic_slide .slide_thumb .slick-slide:nth-child(6n + 6){margin-right: 0;}


.under main .clinic_slide .slick-arrow{z-index: 10;width: 40px;height: 40px;}
.under main .clinic_slide .slick-arrow::before{color: var(--txt);font-size: 40px;}
.under main .clinic_slide .slick-arrow:hover::before{color: var(--mcolor);}
.under main .clinic_slide .slick-prev{left: 15px;}
.under main .clinic_slide .slick-next{right: 15px;}
.under main .clinic_slide .slick-track{transform: translate3d(0,0,0) !important;}






/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01{border: 1px #1a1c1c solid;background: #fff;margin: 0 auto;padding: 50px;box-shadow: 10px 10px 0px 0px #222222;position: relative;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;}

/* ===========  POST_TYPE  DETAIL ===========  */
.under main .wp_content p a {text-decoration: underline;color: var(--blue);}
.under main .wp_content img {max-height: 500px;}

.under main .btn_list .is_prev a::before{left: 3px;right: inherit;transform:rotate(90deg) ;}
.under main .btn_list .is_none a {background: var(--mcolor);}


.under main .wp_content del{text-decoration: line-through;}
.under main .wp_content blockquote p{font-size: 16px;}

/* ===========  PAGINATION WP ===========  */
.under main .wp_pagination {display: flex;justify-content: center;flex-wrap: wrap;margin-top: 40px;}
.under main .wp_pagination > span,
.under main .wp_pagination 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_pagination a{color: var(--txt)}
.under main .wp_pagination > span {background: var(--mcolor);border: 1px var(--mcolor) solid;color: #fff;}
.under main .wp_pagination a:hover{background: var(--scolor);color: #fff;border-color: var(--scolor);}

/* 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 .frame_pick:last-child{margin-bottom: 0}