video::-webkit-media-controls {
    display: none !important;
}
video::-webkit-media-controls-panel {
    display: none !important;
}
video {
    pointer-events: none;
}

/***** 공통 *****/
.sec_header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sec_header h2 {
    font-size: var(--ft28);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
}
.more_btn.m_btn {
    display: none;
}


/***** main_sec *****/
.main_sec {
    overflow: hidden;
}
.main_sec .inner {
    min-height: clamp(800px, 100vh, 1080px);
    padding-top: var(--sec-gap);
}
.main_sec .sec_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.main_sec .con_t {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.main_sec .calculate_btn {
    aspect-ratio: 5 / 3;
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-200);
    transition: transform .4s ease, box-shadow .4s ease;
    position: relative;
}
.main_sec .calculate_btn.cb_1 {
    background: url('/images/calculate_btn_1.png') no-repeat center / cover;
}
.main_sec .calculate_btn.cb_2 {
    background: url('/images/calculate_btn_2.png') no-repeat center / cover;
}



.main_sec .calculate_btn .deco {
    width: 32%;
    height: auto;
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-40px, -50px) rotate(0);
}
.main_sec .calculate_btn:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}
.main_sec .calculate_btn.cb_1:hover .deco {
    animation: deco_ani1 5s linear infinite;
}
.main_sec .calculate_btn.cb_2:hover .deco {
    animation: deco_ani2 2s linear infinite;
}

@keyframes deco_ani1 {
    0% {
        right: 0;
        transform: translate(-40px, -50px) rotate(0);
    }
    5% {
        right: 4%;
        transform: translate(-40px, -50px) rotate(-6deg);
    }
    100% {
        right: 100%;
        transform: translate(-40px, -50px) rotate(-6deg);
    }
}
@keyframes deco_ani2 {
    0% {
        transform: translate(-40px, -50px) rotate(0);
    }
    50% {
        transform: translate(-40px, -50px) rotate(5deg);
    }
    100% {
        transform: translate(-40px, -50px) rotate(0);
    }
}
.main_sec .calculate_btn h2 {
    font-size: var(--ft36);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
    margin-bottom: 20px;

}
.main_sec .calculate_btn .link_btn {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main_sec .calculate_btn .btn_text {
    font-size: var(--ft18);
    color: var(--gray-700);
    font-weight: var(--medium);
}
.main_sec .calculate_btn .btn_icon {
    --size: 26px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_sec .calculate_btn .btn_icon img {
    width: 13px;
    height: 13px;
}

.category_swiper {
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
}
.main_sec .case_category_box {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    padding: 30px;
}
.case_category_box li {
    width: fit-content;
}
.main_sec .case_category_box a {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
}

.main_sec .case_category_box .icon {
    --size: 64px;
    width: var(--size);
    height: var(--size);
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding: 14px;
    transition: box-shadow .3s ease;
}
.main_sec .case_category_box .icon img {
    transition: transform .3s ease;
}
.main_sec .case_category_box span {
    font-size: var(--ft16);
    color: var(--gray-800);
    font-weight: var(--medium);
}
.main_sec .case_category_box a:hover .icon {
    box-shadow: var(--focus-shadow);
}
.main_sec .case_category_box a:hover .icon img {
    transform: scale(.9);
}




/***** case_sec *****/
.case_sec {
    overflow: hidden;
}
.case_swiper_container {
    position: relative;
}
.case_swiper .swiper-wrapper {
    align-items: stretch;
}

.case_swiper .swiper-slide {
    margin-right: 10px;
    max-width: calc((100% - 30px) / 4);
    height: auto;
    display: flex;
}

.case_swiper .case_card,
.case_swiper .case_card a {
    width: 100%;
    height: 100%;
}

/***** archive_sec *****/
.archive_sec {
    margin-top: var(--sec-gap);
}
.archive_sec .sec_content,
.archive_sec .con_l {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.archive_sec .a_menu_item,
.archive_sec .bbs_box {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    padding: 40px;
}
.archive_sec .a_menu_item {
    height: 300px;
    text-align: left;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: background .4s ease;
}

.archive_sec .a_menu_item .a_icon {
    --icon: 70px;
    width: var(--icon);
    height: var(--icon);
    transition: transform .3s ease;
}
.archive_sec .a_menu_item h3 {
    font-size: var(--ft22);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
    margin-bottom: 10px;
}
.archive_sec .a_menu_item p {
    font-size: var(--ft16);
    color: var(--ft-sub);
    font-weight: var(--medium);
}
.a_menu_item:hover {
    background: var(--primary-light);
}
.a_menu_item.active {
    background:#248C8C;
}
.a_menu_item.active h3,
.a_menu_item.active p {
    color: white;
}

.archive_bbs {
    min-width: 0;
}
.archive_sec .bbs_box {
    height: 100%;
}
.archive_sec .more_btn {
    background: var(--gray-100);
}

.bbs {
    display:none;
}

.bbs.active{
    display:block;
}

.bbs_t {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.bbs_t h4 {
    font-size: var(--ft20);
    color: var(--ft-main);
    font-weight: var(--semi-bold);
}

.bbs_list a {
    padding: 30px;
}


.bbs_list .attach_icon {
    background: var(--gray-100);
}



/***** contact_sec *****/
.contact_sec {
    margin-top: var(--sec-gap);
}
.count_box {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    margin-bottom: 20px;
}
.count_bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    filter: brightness(.8);
    background: var(--gray-200);
}
.count_wrap {
    width: 100%;
    max-width: 790px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.count_wrap .col {
    flex: 1 0 0;
    position: relative;
}
.count_wrap .col:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 80%;
    background: var(--white-600);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.count_wrap .col p {
    text-align: center;
    font-size: var(--ft20);
    font-weight: var(--medium);
    color: white;
}
.count_wrap .col p.num {
    font-size: var(--ft56);
    font-weight: var(--semi-bold);
    margin-bottom: 24px;
}
.contact_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.contact_list a {
    display: flex;
    align-items: center;
    gap: 50px;
    padding: 40px 46px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: white;
    position: relative;
    transition: background .4s ease;
}
.c_icon {
    --icon: 50px;
    width: var(--icon);
    height: var(--icon);
    transition: transform .3s ease;
}
.contact_list h3 {
    font-size: var(--ft22);
    font-weight: var(--semi-bold);
    color: var(--ft-main);
    margin-bottom: 10px;
    transition: color .3s ease;
}
.contact_list p {
    font-size: var(--ft16);
    font-weight: var(--medium);
    color: var(--ft-sub);
    transition: color .3s ease;
}

.archve_menu .plus_icon,
.contact_list .more_icon {
    width: var(--size);
    height: var(--size);
    position: absolute;
    top: 20px;
    right: 20px;
    --size: 40px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background .2s ease;
}

.archve_menu .plus_icon::before,
.contact_list .more_icon::before {
    content: '';
    display: block;
    inset: 0;
    position: absolute;
    background: var(--white-300);
    transform: scale(0);
    opacity: 0;
    border-radius: 50%;
    transition: transform .4s ease, opacity .3s ease;
}
.archve_menu .plus_icon::after,
.contact_list .more_icon::after  {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: var(--gray-800);
    transition: background .3s ease;
}
.archive_sec .plus_icon::after {
    mask: url('/images/icon/plus.svg') no-repeat center / cover;
    -webkit-mask: url('/images/icon/plus.svg') no-repeat center / cover;
}
.contact_list .more_icon::after {
    mask: url('/images/icon/chevron-right.svg') no-repeat center / cover;
    -webkit-mask: url('/images/icon/chevron-right.svg') no-repeat center / cover;
}


.contact_list a:hover {
    background: var(--primary);
}

.contact_list a:hover h3,
.contact_list a:hover p {
    color: white;
}
.archve_menu .a_menu_item:hover .a_icon,
.contact_list a:hover .c_icon {
    transform: scale(.9);
}
.archve_menu .a_menu_item:hover .plus_icon,
.contact_list a:hover .more_icon {
    background: transparent;
}
.archve_menu .a_menu_item:hover .plus_icon::before,
.contact_list a:hover .more_icon::before {
    transform: scale(1);
    opacity: 1;
}
.contact_list a:hover .more_icon::after {
    background: white;
}

@media all and (max-width: 1600px) {

    /*-- main_sec --*/
    .main_sec .calculate_btn {
        padding: 40px;
    }
    .main_sec .calculate_btn h2 {
        font-size: var(--ft32);
    }
}

@media all and (max-width: 1400px) {

    
    /*-- archive_sec --*/
    .archive_sec .a_menu_item {
        height: auto;
    }
    .archive_sec .a_menu_item .a_icon {
        --icon: 50px;
        margin-bottom: 24px;
    }
    .archive_sec .a_menu_item h3 {
        font-size: var(--ft20);
    }
    .bbs_list a {
        padding: 30px 12px;
    }
    
    /*-- contact_sec --*/
    .count_box {
        height: auto;
        padding: 80px 40px;
    }
    .count_wrap .col p.num {
        font-size: var(--ft48);
    }
    .contact_list a {
        gap: 32px;
    }
    .contact_list h3 {
        font-size: var(--ft18);
    }
    .c_icon {
        --icon: 40px;
    }
}

@media all and (max-width: 1200px) {
    
    /*-- main_sec --*/
    .main_sec .calculate_btn h2 {
        font-size: var(--ft28);
    }

    .case_swiper .swiper-slide {
        max-width: calc((100% - 20px) / 3);
    }
    
    /*-- archive_sec --*/
    .archive_sec .sec_content {
        display: flex;
        flex-direction: column;
    }

    /*-- contact_sec --*/
    .contact_list {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact_list a {
        padding: 32px;
    }
}

@media all and (max-width: 1024px) {

    /*-- main_sec --*/
    .main_sec .inner {
        min-height: auto;
    }
    .main_sec .calculate_btn h2 {
        font-size: var(--ft24);
    }
    .main_sec .calculate_btn .btn_text {
        font-size: var(--ft16);
    }
    .main_sec .calculate_btn .deco {
        transform: translate(-20px, -20px) rotate(0) !important;
    }
    .main_sec .calculate_btn.cb_1:hover .deco {
        animation: none;
    }

    .main_sec .case_category_box a {
        width: 80px;
    }
    .main_sec .case_category_box .icon {
        --size: 50px
    }

    /*-- contact_sec --*/
    .count_box {
        padding: 40px;
    }
    .count_wrap .col p.num {
        margin-bottom: 16px;
        font-size: var(--ft40);
    }
}

@media all and (max-width: 768px) {
    .more_btn.m_btn {
        display: flex;
        margin: 32px auto 0;
    }

    /*-- main_sec --*/
    .main_sec .sec_content {
        gap: 24px;
    }
    .main_sec .inner {
        min-height: auto;
    }
    .main_sec .con_t {
        gap: 10px;
    }
    .main_sec .case_category_box {
        opacity: 1;
        transform: translateY(0);
    }
    .main_sec .calculate_btn {
        padding: 30px 20px;
        aspect-ratio: 3 / 4.5;
        max-height: 320px;
    }
    .main_sec .calculate_btn h2 {
        margin-bottom: 12px;
        font-size: var(--ft20);
    }
    .main_sec .calculate_btn .link_btn {
        flex-direction: column;
        align-items: start;
        gap: 10px;
    }
    .main_sec .calculate_btn .deco {
        width: 40%;
        transform: translate(-12px, -12px) rotate(0) !important;
    }
    .main_sec .calculate_btn .btn_icon {
        --size: 18px;
    }
    .main_sec .calculate_btn .btn_icon img {
        width: 10px;
        height: 10px;
    }
    .main_sec .case_category_box .icon {
        padding: 10px;
    }
    .main_sec .case_category_box {
        padding: 0;
        border: none;
        border-radius: 0;
        background: none;
    }
    #scrolldown {
        display: none;
    } 

    /*-- case_sec --*/
    .sec_header h2 {
        font-size: var(--ft24);
    }
    .sec_header .more_btn {
        display: none;
    }
    .case_sec {
        margin-top: var(--sec-gap);
    }
    .case_swiper {
        overflow: visible;
    }
    .case_swiper .swiper-slide {
        max-width: 100%;
    }
    .swiper-prev, 
    .swiper-next {
        --swiper-btn: 40px;
    }
    .swiper-prev {
        left: 4%;
    }
    .swiper-next {
        right: 4%;
    }

    /*-- archive_sec --*/
    .archive_sec .a_menu_item {
        padding: 20px;
    }
    .archive_sec .a_menu_item .a_icon {
        --icon: 32px;
    }
    .archive_sec .a_menu_item h3 {
        font-size: var(--ft18);
    }
    .archve_menu .plus_icon {
        --size: 24px;
    }
    .archive_sec .bbs_box {
        padding: 32px 20px 20px;
    }
    .bbs_t {
        margin-bottom: 24px;
    }
    .bbs_t .more_btn {
        display: none;
    }

    /*-- contact_sec --*/
    .count_box {
        padding: 32px 20px;
    }
    .count_wrap .col p.num {
        margin-bottom: 12px;
        font-size: var(--ft28);
    }
    .count_wrap .col p {
        font-size: var(--ft16);
    }


    .contact_list a {
        padding: 24px;
        gap: 18px;
    }
    .c_icon {
        --icon: 28px;
    }
    .contact_list .more_icon {
        --size: 24px;
    }
}



@media all and (max-width: 500px){
    .main_sec .calculate_btn h2 {
        display: flex;
        flex-direction: column;
    }
}