/*==========================================================
                        C U S T O M
==========================================================*/
/* 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
}

.under main {
    padding-top: 100px;
}

/*==========================================================
                        FONT FAMILY
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6,
.under main table th,
.under main .list_faq dt,
.under main .list_step dt {
    font-family: var(--f-yumin);
    color: #1a1a1a;
}

/*==========================================================
                        H E A D I N G
==========================================================*/
.under main h2,
.under main h3,
.under main h4,
.under main h5,
.under main h6 {
    font-weight: bold;
    margin-bottom: 30px;
    font-weight: 500;
}

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

.under main h3 {
    font-size: 48px;
    text-align: center;
    position: relative;
    padding-bottom: 41px;
    margin-bottom: 47px;
}

.under main h3:before {
    position: absolute;
    content: "";
    height: 3px;
    width: 180px;
    background: #5a4d3c;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
}

.under main h4 {
    font-size: 40px;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 40px;
}

.under main h4::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #bdb5a9;
    left: 0;
    bottom: 0;
}

.under main h5 {
    font-size: 32px;
    margin-bottom: 22px;
}

.under main h6 {
    font-size: 20px;
    position: relative;
}

.under main h6::before,
.under main h6::after {
    content: "";
    position: absolute;
    height: 3px;
    left: 0;
    bottom: -5px;
}

.under main h6::before {
    background-color: var(--mcolor);
    width: 50px;
    left: 0;
    z-index: 2;
}

.under main h6::after {
    background-color: #ccc;
    width: 100%;
}

/*==========================================================
                      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 ol li {
    list-style: decimal;
}

/* 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 29px;
    position: relative;
}

.under main #top_info::before {
    width: 1920px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    content: '';
    z-index: -1;
    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%;
    padding-bottom: 20px;
}

/*==========================================================
                    T O P I C   P A T H
==========================================================*/
.under main #topic_path {
    margin-bottom: 65px;
}

.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;
    background: url("../images/topic.png") no-repeat center/7px;
    width: 7px;
    height: 11px;
}

.under main #topic_path li {
    font-weight: 500;
}

.under main #topic_path li a {
    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
}

.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: #bdb5a9;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 18px;
}

.under main table.mailform th span {
    color: #1a1a1a;
}

.under main table.mailform td .info {
    color: var(--mcolor)
}

.under main table td {
    border-color: #bdb5a9;
    background: #fff;
}

.under main table th,
.under main table td {
    padding: 23px;
}

.under main table img {
    display: block;
    margin: auto;
}

.under main table th {
    border-color: #fff;
    border-right-color: #fff;
}

.under main table tr:last-child th {
    border-bottom-color: #bdb5a9;
}

.under main table th.bg1 {
    background: #f2efeb;
    color: #1a1a1a;
    border: 1px #bdb5a9 solid;
    border-bottom-color: #bdb5a9 !important;
}

.under main table tr th:first-child {
    border-left-color: #bdb5a9;
}

.under main table tr th:last-child {
    border-right-color: #bdb5a9;
}

.under main table.mailform th,
.under main table.tb_block th {
    border-color: #bdb5a9;
    border-bottom-color: #fff;
}

.under main table.mailform tr:first-child th,
.under main table.tb_block tr:first-child th {
    border-top-color: #bdb5a9;
}

.under main table.mailform tr:last-child th,
.under main table.tb_block tr:last-child th {
    border-bottom-color: #bdb5a9;
}

.under main .comp_img {
    position: relative;
}

.under main .comp_img .name {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 100%;
    text-align: right;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 5px rgba(0, 0, 0, 0.3);
}

/*============ LIST ============ */
/* LIST 01 */
.under main .list01 {
    margin-bottom: 30px;
}

.under main .list01 li {
    display: block;
    padding-left: 20px;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.44;
    font-size: 18px;
    font-weight: 500;
}

.under main .list01 li::before {
    background: #3b4559;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 7px;
    left: 0;
    content: '';
    border-radius: 50%;
}

/* LIST 02 */
.under main .list02 {
    margin-bottom: 30px;
}

.under main .list02 li {
    counter-increment: li;
    padding-left: 35px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.44;
    font-size: 18px;
    font-weight: 500;
    list-style: none;
}

.under main .list02 li::before {
    content: counter(li, decimal-leading-zero);
    position: absolute;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    left: 0;
    top: 2px;
    font-size: 18px;
    font-weight: bold;
    color: #bdb5a9;
    line-height: 22px;
    font-family: var(--f-en);
}

/* LIST CHECK */
.under main .list_check {
    margin-bottom: 30px;
}

.under main .list_check li {
    display: block;
    padding-left: 25px;
    margin-bottom: 5px;
    position: relative;
    line-height: 1.44;
    font-size: 18px;
    font-weight: 500;
}

.under main .list_check li::before {
    content: '';
    display: block;
    position: absolute;
    top: 4px;
    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: #f2efeb;
    padding: 15px;
    margin-bottom: 50px
}

.under main .list_faq dt {
    position: relative;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5em;
    margin-bottom: 15px;
    border-bottom: 1px dotted var(--mcolor);
    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;
    color: #fff;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--mcolor);
    padding-bottom: 2px;
}

.under main .list_faq dd {
    position: relative;
    padding-left: 50px;
    min-height: 40px;
}

.under main .list_faq dd span {
    position: absolute;
    top: -2px;
    left: 0;
    width: 40px;
    height: 40px;
    font-weight: bold;
    text-align: center;
    line-height: 1em;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    font-family: var(--f-en);
    border-radius: 50%;
    background: #3b4559;
    font-size: 18px;
}

/* 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;
    font-size: 20px;
    display: flex;
    align-items: center;
}

.under main .list_step dt .icon {
    flex-shrink: 0;
    padding: 5px 15px;
    text-align: center;
    width: 100px;
    background: #1a1a1a;
    margin-right: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.under main .list_step dd {
    padding: 15px;
    background: #f2efeb;
}

/*============ FRAME ============ */
/* FRAME 01 */
.under main .frame01 {
    padding: 30px;
    background-color: #f2efeb;
    margin-bottom: 50px;
}

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

/* FRAME 02 */
.under main .frame02 {
    padding: 25px;
    background: #f2efeb;
    margin-bottom: 50px;
}

/* FRAME PICKUP */
.under main .frame_pick {
    padding: 50px 0 70px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 100%;
    color: #fff;
}

.under main .frame_pick:before {
    position: absolute;
    content: "";
    background: var(--mcolor);
    width: 4000px;
    height: 100%;
    left: calc(50% - 2000px);
    top: 0;
    z-index: -1;
}

.under main .frame_pick .pick_ttl {
    font-size: 24px;
    text-align: center;
    font-weight: 500;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 6px;
}

.under main .frame_pick .pick_ttl:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    margin: 0 auto;
}

.under main .frame_pick .pick_ttl span {
    font-size: 36px;
    display: block;
    font-family: var(--f-en);
    font-weight: bold;
}

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

/* ===========  PAGINATION ===========  */
.under main .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    margin: 0 auto 0
}

.under main .pagination li {
    margin: 20px 6px 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;
    font-family: var(--f-en);
}

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

/*==========================================================
                     EDITOR WORDPRESS + ovn
==========================================================*/
/* 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
}

.under main .list_img {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.under main .list_img li:not(:last-child) {
    margin-right: 50px;
}

.under main .box_sroll {
    max-height: 400px;
    overflow-y: scroll;
    border: 1px solid #a8821c;
    padding: 20px;
    margin-bottom: 40px;
    background: #fff;
    color: #000;
}

.under main .un_tel {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    color: #fff;
    background: var(--mcolor);
}

.under main .un_tel .f_go {
    color: #fff;
}

.under main .un_tel.h_contact_tel a {
    font-size: 46px;
    margin-bottom: 10px;
    padding-left: 50px;
    background: url(../images/icon_tel.svg) no-repeat left center /40px;
    color: #fff;
}

.under main .un_tel.h_contact_tel .time .bg {
    width: 80px;
    height: 24px;
    line-height: 22px;
    font-size: 14px;
    background: #fff;
    color: #5b4d3b;
}

.under main .h_contact_tel .time {
    color: #fff;
}

.under main .un_tel.h_contact_tel .time .num {
    font-size: 18px;
    color: #fff;
}

/* CASE */
.under main .list_ovn {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
}

.under main .list_ovn li {
    position: relative;
    margin: 0 30px 50px 0;
    width: calc((100% - 60px) / 3);
}

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

.under main .list_ovn li .img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efefef;
    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 .info_box {
    display: flex;
    align-items: center
}

.under main .list_ovn .info_box .cate {
    padding: 0 15px 2px;
    background: var(--mcolor);
    color: #fff;
    border-radius: 3px;
    flex-shrink: 0;
    margin-right: 10px;
}

.under main .list_ovn .big {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-weight: bold;
    color: var(--mcolor);
    font-size: 20px;
}

/* CASE DETAIL */
.under main .ovn_content {
    display: flex;
    justify-content: space-between;
    padding-top: 30px;
}

.under main .ovn_big {
    width: 800px;
    height: 600px;
    aspect-ratio: 4/3;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 30px;
    max-width: 100%;
    position: relative;
}

.under main .ovn_big .center {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    transition: all ease 0.3s;
}

.under main .ovn_big .center.active {
    position: relative;
    opacity: 1;
    pointer-events: inherit;
    z-index: 1;
}

/* DOTS */
.ovn_dots {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

.ovn_dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    margin: 0 8px;
    border-radius: 50%;
    cursor: pointer;
    transition: all ease 0.3s;
}

.ovn_dots span:hover,
.ovn_dots span.active {
    background: var(--scolor);
    cursor: pointer;
}

.ovn_dots span.active:hover {
    cursor: default;
}

/* THUMB */
.under main .ovn_thumb_wrap  {
    position: relative;
}
.under main .ovn_thumb {
    display: flex;
    flex-wrap: wrap;
    width: 300px;
    max-height: 600px;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.under main .ovn_thumb p {
    width: 140px;
    height: 105px;
    aspect-ratio: 4/3;
    margin: 0 0px 18px 0;
    border: 1px solid var(--mcolor);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
}

.under main .ovn_big img,
.under main .ovn_thumb img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
}

.under main .ovn_thumb .center.active {
    opacity: 0.5;
    pointer-events: none;
    border: 1px solid var(--mcolor);
}


/* NEXT + PREV */
.thumb_prev,
.thumb_next {
    position: absolute;
    left: calc(50% - 15px);
    border: none;
    cursor: pointer;
    z-index: 5;
    . display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 15px 16px 15px;
    border-color: transparent transparent var(--mcolor) transparent;
    background: none;
}

.thumb_next {
    top: -30px;
}

.thumb_prev {
    bottom: 0;
    border-width: 16px 15px 0 15px;
    border-color: var(--mcolor) transparent transparent transparent;
}

/* ======================================== */
.under main .btn_list {}

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

.under main .btn_list .is_none a {
    background: var(--mcolor);
}

/* NEWS */
.under main .list_news {}

.under main .list_news li {
    border: 1px solid var(--mcolor);
    padding: 30px;
    position: relative;
    padding-left: 450px;
    min-height: 330px;
    margin-bottom: 30px;
}

.under main .list_news li a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
}

.under main .list_news li .img {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 400px;
    height: auto;
    aspect-ratio: 4/3;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.under main .list_news li .img img {
    max-height: 100%;
}

.under main .list_news li .big {
    font-size: 24px;
    font-weight: bold;
    color: var(--mcolor);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.under main .list_news li .date {
    border-bottom: 1px solid var(--mcolor);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.under main .list_news li .des {
    height: 100px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.ovn_page main {
    word-break: break-all;
}

.under main .btn.active a {
    pointer-events: none;
}

.under main .btn.active a:before {
    width: 100%;
}

.under main .center_post {
    text-align: center;
}

.under main .center_post img {
    max-width: 100%;
    max-height: 400px;
    margin: 0 auto;
}

.btn.btn_auto a {
    height: auto;
    padding: 10px;
}