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

/* MB */
.under main .mb0{margin-bottom:0px!important}
.under main .mb10{margin-bottom:10px!important}
.under main .mb15{margin-bottom:15px!important}
.under main .mb20{margin-bottom:20px!important}
.under main .mb25{margin-bottom:25px!important}
.under main .mb30{margin-bottom:30px!important}
.under main .mb40{margin-bottom:40px!important}
.under main .mb50{margin-bottom:50px!important}
.under main .mb60{margin-bottom:60px!important}
.under main .mb70{margin-bottom:70px!important}
.under main .mb80{margin-bottom:80px!important}
.under main .mb90{margin-bottom:90px!important}
.under main .mb100{margin-bottom:100px!important}
.under main .mb120{margin-bottom:120px!important}
.under main .mb150{margin-bottom:150px!important}

/* MT */
.under main .mt10{margin-top:10px!important}
.under main .mt15{margin-top:15px!important}
.under main .mt20{margin-top:20px!important}
.under main .mt25{margin-top:25px!important}
.under main .mt30{margin-top:30px!important}
.under main .mt40{margin-top:40px!important}
.under main .mt50{margin-top:50px!important}

/*==========================================================
                        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: bold;margin-bottom: 30px;}

.under main h2 { font-size: 54px; text-align: right; margin-bottom: 0; color: var(--mcolor);}

.under main h3,
.under main .ovn_content h3{font-size: 48px;font-weight: 600;margin-bottom: 20px;}

.under main h4,
.under main .ovn_content h4{font-size: 40px;position: relative;font-weight: 600;line-height: 1.4em;border-bottom: 1px solid; padding: 0 0 18px;}

.under main h5,
.under main .ovn_content h5{font-size: 32px;color: var(--mcolor);font-weight: 600;margin-bottom: 24px;}

.under main h6,
.under main .ovn_content h6{font-size: 26px;position: relative;font-weight: 500;margin-bottom: 20px;}

/*==========================================================
                      MAIN - CONTENT
==========================================================*/
.under main #content{padding: 0 0 150px;word-break: break-word;}
.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);text-underline-offset:3px; }

/*============ TOP INFO ============ */
.under main #top_info{height:300px;width:100%;max-width:1920px;margin:3px auto 0;background:url('../images/top_info_bg.jpg') no-repeat center var(--orange-light);display: flex;align-items: center;text-align: right;padding-top: 28px;}
.under main #top_info .inner{padding-left: 340px;}

/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path{margin-bottom:118px}
.under main #topic_path ul{display:block;padding:8px 0;width: 1000px;}
.under main #topic_path li { display: inline; position: relative; font-size: 16px; color: var(--gray); }
.under main #topic_path li:not(:last-child)::after{content:">";position:relative;display: inline-block;margin:0 3px 0 6px;top: 0;pointer-events: none;}
.under main #topic_path li a{color: var(--gray);text-underline-offset: 2px;}


/*============ 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;max-width: calc((100% - 40px) / 2);}
.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: 1px solid  var(--mcolor)}
.under main table.mailform th,
.under main table th{background:var(--orange);color:#fff;font-weight:500;font-size: 20px;}
.under main table.mailform th span{color:#fff}
.under main table.mailform td .info{color:var(--mcolor)}

.under main table th,
.under main table td{padding:5px 10px;border-left: none;border-top: none;}
.under main table td{border-color:  #f5d4a4;background:#fff;padding: 10px;}
.under main table th:last-child,
.under main table td:last-child{border-right: none;}
.under main table tr:last-child th,
.under main table tr:last-child td{border-bottom: none;}
.under main table img{display:block;margin:auto;}

.under main table th{border-color: #f5d4a4;}
.under main table tr th:first-child{border-left-color: #f5d4a4;}
.under main table tr th:last-child{border-right-color: #f5d4a4;}
.under main table th.tb_thbg1 {background: #fef9dc;color: var(--mcolor);font-weight: 400;font-size: 18px;text-align: left;}
.under main table.center th.tb_thbg1 {text-align: center;}
.under main table td.tb_tdbg1 {background: #f7f7f7;}

.under main .tb_scroll:not(:last-child) {margin-bottom: 40px;}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01,
.under main .ovn_content ul:not([class]){margin-bottom: 30px;position: relative;z-index: 2;padding: 50px 0 54px 51px;}
.under main .list01:not(.nobg):after,.under main .ovn_content ul:not([class]):after {content: '';position: absolute;width: 100vw;min-width: 1400px;height: 100%;background: url("../images/sec04_bg.jpg");left: 0;top: 0;z-index: -2;pointer-events: none;border-top-left-radius: 40px;border-bottom-left-radius: 40px;}
.under main .list01 li,
.under main .ovn_content ul:not([class]) li{display:block;padding-left:25px;margin-bottom:4px;position:relative}
.under main .list01 li::before,
.under main .ovn_content ul:not([class]) li::before{content: '';position: absolute;background: url("../images/under_list.svg") no-repeat center center/100% auto;width: 16px;height: 16px;left: 0;top: 11px;}
.under main .list01.nobg {padding: 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: 30px;position: relative;margin-bottom: 10px;}
.under main .list02 li::before,
.under main .ovn_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: 7px; 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;position: relative;z-index: 2;padding: 60px 0 60px 60px;}
.under main .list_faq:after {content: '';position: absolute;width: 100vw;min-width: 1400px;height: 100%;background: url("../images/sec04_bg.jpg");left: 0;top: 0;z-index: -2;pointer-events: none;border-top-left-radius: 40px;border-bottom-left-radius: 40px;}
.under main .list_faq dl{background: #FFF;border-radius: 10px;margin-bottom: 20px;padding: 20px 20px 23px;}
.under main .list_faq dt { position: relative; font-size: 20px; font-weight: 600; line-height: 1.5em; margin-bottom: 13px; display: flex ; align-items: center; color: var(--mcolor); background: url(../images/under_anc_line.png) repeat-x bottom left / auto 1px; padding: 0 0 16px 10px; }
.under main .list_faq dt > span:first-child{width: 40px;height: 40px;font-weight: bold;text-align:center;line-height: 1em;background: var(--mcolor);color: #fff;margin-right: 15px;display: flex;align-items: center;justify-content: center;text-align: center;padding-bottom: 5px;flex-shrink: 0;border-radius: 50%;font-size: 130%;font-weight: 500;}
.under main .list_faq dd{position: relative;padding: 0 0 0 70px;min-height: 62px}
.under main .list_faq dd > span:first-child{position: absolute;top: 1px;left: 11px;width: 40px;height: 40px;font-weight: 500;text-align:center;line-height: 1em;color:var(--orange);background: #fdf7d1;display: flex;align-items: center;justify-content: center;text-align: center;padding-bottom: 5px;flex-shrink: 0;font-size: 26px;border-radius: 50%;}

.under main .list_faq h4 {border-bottom: none;padding: 0;}

/* LIST STEP */
.under main .list_step dl{margin-bottom: 100px;position: relative;box-shadow: 5px 5px 15px 0px rgba(0,0,0,0.1);border-radius: 30px;}
.under main .list_step dl:not(:last-child)::before{width: 80px;height: 30px;position: absolute;top: calc(100% + 40px);left: calc(50% - 40px);content: '';clip-path: polygon(0 0, 50% 100%, 100% 0);background: var(--orange);}
.under main .list_step dl:last-child{padding-bottom: 0;margin-bottom: 0}
.under main .list_step dt{color: var(--mcolor);font-weight: 500;padding: 20px 30px;display: flex;font-size: 32px;line-height: 1.5em;}
.under main .list_step dd{padding: 25px 30px;background: #fcf4e8;border-bottom-left-radius: 30px;border-bottom-right-radius: 30px;}
.under main .list_step dt .num { flex-shrink: 0; width: 120px; height: 40px; background: var(--scolor); color: #fff; display: flex ; justify-content: center; align-items: center; font-family: var(--f-en); font-size: 75%; border-radius: 40px;margin-right: 30px;margin-top: 8px;}
.under main .list_step dt .small { display: block; font-size: 75%; }
/*============ FRAME ============ */

/* FRAME PICKUP */
.under main .frame_pick{padding: 20px;background: var(--mcolor);margin-bottom: 50px;}
.under main .frame_pick .pick_ttl{font-size: 36px;display: flex;align-items: flex-start;font-weight: 600;color: var(--mcolor);line-height: 1.5em;margin: 0 -30px 37px;border: none;background: url("../images/under_anc_line.png") repeat-x left bottom/auto 1px;padding: 8px 30px 18px;}
.under main .frame_pick .pick_ttl span{font-size: 83.34%;display: flex;justify-content: center;align-items: center;text-align: center;width: 132px;font-family: var(--f-en);text-transform: uppercase;font-weight: 700;line-height: 1.14em;background: var(--yellow);color: var(--scolor);height: 99px;position: relative;margin: -28px 30px -7px 0;top: -1px;flex-shrink: 0;}
.under main .frame_pick .pick_ttl span:before {position: absolute;content: '';width: 100%;height: 41px;background: var(--yellow);clip-path: polygon(50% 0%, 0% 100%, 100% 100%);left: 0;top: -40px;}
.under main .pick_main {background: #fff;border-radius: 40px;padding: 1px 30px 32px;}

/* 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_ytb:not(:last-child) {margin-bottom: 40px;}
.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;}
.under main .list_ovn li {position: relative;margin: 0 60px 60px 0;width: calc((100% - 120px) / 3); background: var(--orange-light); }
.under main .list_ovn li .img {width: 100%;height: auto;aspect-ratio: 3/2;display: flex;align-items: center;justify-content: center;background: #efefef;overflow: hidden;}
.under main .list_ovn li .img img {max-width: 100%;max-height: 100%;flex-shrink: 0;object-fit: cover;width: 100%;height: 100%;transition: all 0.3s;}
.under main .list_ovn li p {margin-bottom: 0;}
.under main .list_ovn li > a {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 2;}
.under main .list_ovn .info_box {display: flex;justify-content: space-between;margin: 0 0 10px;}
.under main .list_ovn .info_box .cate{padding: 0 15px 2px;background: var(--orange);color: #fff;border-radius: 5px;}
.under main .list_ovn .big {max-width: 100%;overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;font-weight: 600;margin-bottom: 15px;height: 72px;}
.under main .list_ovn li:hover {background: #fdf4e0;}

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

.under main .ovn_content:not(:last-child) {margin-bottom: 60px;}

.under main .btn_list .is_next a {background: url('../images/ic_prev.svg') no-repeat left 26px center /7px var(--mcolor);}
.under main .btn_list .is_none a {background: var(--gray);}
.under main .btn_list a {width:300px;}

.list_ovn .btn a { width: 180px; height: 40px; margin: 0 0 0 auto;font-size: 16px;background-position: right 15px center;padding: 0;}
.info_main {padding: 25px 20px; }
.under main .list_anchor .btn.active a{background-color: var(--scolor);pointer-events: none;}

.under main .info_cate .btn { max-width: calc((100% - 60px) / 3); }

.info_img_list { display: flex ; justify-content: center; margin: 0 0 20px; }
.info_img_list li  {width: 400px;height: 300px;background: #f0f0f0;display: flex;justify-content: center;align-items: center;}
.info_img_list li img {flex-shrink: 0;max-height: 100%!important;}
.info_img_list li:not(:last-child) {position: relative;margin-right: 60px;}
.info_img_list li:not(:last-child):after {content: '';position: absolute;clip-path: polygon(0 0, 0% 100%, 100% 50%);width: 30px;height: 60px;top: calc(50% - 30px);left: calc(100% + 15px);background: var(--mcolor);}
.info_box:not(:last-child) {margin-bottom: 40px;}

/* ===========  PAGINATION OVN ===========  */
.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}

.under main .under_anc { position: absolute; left: calc(50% - 700px); top: -366px; background: #fff; z-index: 10; width: 340px; padding: 17px 30px 28px 30px; box-shadow: 0px 10px 15px 0px rgba(0,0,0,0.1);}
.under main .under_main {width: 1000px;}
.under_anc_ttl { font-size: 24px; font-weight: 700; color: var(--mcolor);background: url("../images/under_anc_line.png") repeat-x bottom left/auto 1px;padding: 0 0 6px; margin: 0 0 24px;}
.under_anc_link li { line-height: 1.5em; padding: 0 0 0 5px; margin: 0 0 13px; }
.under_anc_link li:last-child {margin-bottom: 0;}
.under_anc_link li.active a {color: var(--mcolor);cursor: context-menu;}

.under main .txt_over {overflow: hidden;}
.under_bnr li a {display: flex;justify-content: center;align-items: center;text-align: center;height: 120px;background: var(--orange);color: #fff;max-width: 600px;margin: 0 auto;border-radius: 30px;position: relative;font-size: 22px;font-weight: 600;}
.under_bnr li a:after {content: '';position: absolute;width: calc(100% - 20px);height: calc(100% - 20px);left: 0;top: 0;right: 0;bottom: 0;margin: auto;border: 2px dotted var(--orange-light);pointer-events: none;border-radius: 25px;opacity: 0.5;}
.under_bnr li a:before {content: '';position: absolute;width: 40px;height: 40px;background: url("../images/ic_arr.svg") no-repeat center center/8px auto var(--orange-light);border-radius: 50%;right: 20px;top: calc(50% - 20px);}

.under main p:not([class]):last-child {overflow: hidden;}
.company_list {counter-reset: com_item;}
.company_item { display: flex ; margin: 0 0 40px;align-items: center;position: relative;z-index: 2;padding: 60px 0 60px 60px;counter-increment: com_item;align-items: flex-start;}
.company_item_img { flex-shrink: 0; margin: 130px 40px 0 0;}
.company_item:after {content: '';position: absolute;width: 100vw;min-width: 1400px;height: 100%;background: url("../images/sec04_bg.jpg");left: 0;top: 0;z-index: -2;pointer-events: none;border-top-left-radius: 40px;border-bottom-left-radius: 40px;}
.company_item_main {position: relative;}
.company_item_main::before { counter-increment: div; content: counter(com_item, decimal-leading-zero); position: absolute; font-family: var(--f-en); font-size: 160px; color: var(--orange-neon); font-weight: 700; top: -60px; right: 0; z-index: -1; line-height: 1em; }
.company_item:nth-child(odd) {flex-direction: row-reverse;}
.company_item:nth-child(odd) .company_item_img {margin-right: 0;margin-left: 40px;}
.company_item:nth-child(odd) .company_item_main::before {right: auto;left: 0;}
.company_item:last-child {margin-bottom: 0;}

.company_frame {background: url("../images/sec02_bg.jpg");border-radius: 30px;padding: 50px;position: relative;text-align: center;z-index: 2;}
.company_frame:before, .company_frame:after {content: '';position: absolute;pointer-events: none;z-index: -1;}
.company_frame:before {background: url("../images/sec03_icon02.svg") no-repeat center center/100% auto;width: 168px;height: 150px;right: 20px;top: 20%;}
.company_frame:after {background: url("../images/under_icon01.svg") no-repeat center center/100% auto;width: 163px;height: 253px;left: 10px;bottom: 10px;}
.company_doctor { text-align: right; font-size: 24px; font-weight: 700; }

.staff_list {position: relative;z-index: 2;padding: 60px 0 60px 60px;}
.staff_list:after {content: '';position: absolute;width: 100vw;min-width: 1400px;height: 100%;background: url("../images/sec04_bg.jpg");left: 0;top: 0;z-index: -2;pointer-events: none;border-top-left-radius: 40px;border-bottom-left-radius: 40px;}
.staff_item { display: flex ; align-items: flex-start; margin: 0 0 50px; }
.staff_item:last-child {margin-bottom: 0;}
.staff_item_img { flex-shrink: 0; margin: 0 40px 0 0; }
.staff_item_ttl { font-weight: 700; color: var(--mcolor); margin: 0; }
.staff_item_name { margin: 0; }
.staff_item_name .lager {font-size: 170%;font-weight: 700;line-height: 1.5em;}
.staff_item_info { background: var(--yellow-light); position: relative; padding: 20px; border-radius: 20px;min-height: 90px;}
.staff_item_main { flex: 1; }
.staff_item_info dt { position: absolute; left: 30px; top: -18px; font-weight: 500; }
.contact_frame { display: flex ; background: var(--yellow-light); border-radius: 30px; padding: 100px 40px 40px; text-align: center;justify-content: space-between;max-width: 900px;margin: 0 auto;flex-wrap: wrap;}
.contact_cta .cta_main { margin: 0 auto 70px; }
.contact_cta .cta_main:after {display: none;}
.contact_cta { padding: 63px 0 0; text-align: center; }
.contact_frame_col { width: 48%; }
.contact_frame_col .cta_info_tel .txt {margin: -5px 0;}
.contact_frame_col .cta_info_btn {margin-bottom: 15px;}
.contact_frame_ttl { font-size: 20px; font-weight: 700; margin: 0 0 15px; }
#info .under_main, #p404 .under_main, #contact .under_main, #info.under main #topic_path ul, #p404.under main #topic_path ul, #contact.under main #topic_path ul {width: 100%;}

.under main .info_staff_img { max-width: 460px; }
.under main .info_staff_ttl {font-size: 22px;line-height: 1.5em;font-weight: 700;margin-bottom: 15px;}

.info_txt { display: flex ; align-items: center;margin-bottom: 20px;}
.info_txt .cate {padding: 0 15px 2px; background: var(--orange); color: #fff; border-radius: 5px;margin: 0 20px 0 0;}
.contact_srcoll { text-align: left; padding: 40px;background: var(--orange-light);margin-bottom: 20px;color: var(--txt);border-radius: 20px;margin-top: 30px;}
.contact_scroll_box { max-height: 300px; overflow-y: auto;padding-right: 10px;}
.under main .contact_srcoll section:not(:last-child) {padding-bottom: 50px;}
.under main .contact_srcoll .list01 li {float: none!important;padding-left: 25px!important;}
.under main .contact_srcoll .list01:after {display: none;}
.under main .contact_srcoll .list01 {padding: 0;}

.company_list_img { display: flex ; flex-wrap: wrap; margin-top: 60px; }
.company_list_img li { width: calc((100% - 60px) / 3); margin: 0 30px 30px 0; }
.company_list_img li:nth-child(3n) { 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 .frame_pick:last-child{margin-bottom: 0}