@charset "utf-8";

/*
 * File       : sub.css
 * Author     : YONG
 *
 * 최종수정일 : 25/00/00
 *
 * SUMMARY:
 * 서브페이지.CSS
 */

/* 
■■■■■■■■■■■■■■■■■■■■■
■■■■■■■■ PC ■■■■■■■■
■■■■■■■■■■■■■■■■■■■■■
*/

.main {
    width: 100%;
    height: auto;
}

/*  */
.visual {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    background-color: #fff;
    padding: 3rem 0 4rem;
}

.visual>.inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.visual>.inner>h2 {
    font-size: 1.2rem;
    color: #595959;
}

.visual>.inner>h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: normal;
}

.visual>.inner>h3>b {
    font-weight: inherit;
    color: #007fff;
}

.visual .search {
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 70px;
    border: 2px solid #007fff;
    border-radius: 3rem;
    margin-top: 2rem;
    position: relative;
}

.visual .search>a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual .search>a>span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #007fff;
}

.visual .search .img {
    position: absolute;
    right: 2rem;
}

.visual .search .img img {
    width: 30px;
    height: auto;
    object-fit: contain;
}

/*  */
.content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu__wrap {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ccc;
}

.tab__menu {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: flex;
    justify-content: space-around;
}

.tab__menu>li {
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.tab__menu>li.active {
    color: #007fff;
    box-shadow: inset 0 -3px 0 #007fff;
}

.tab__content {
    width: 100%;
    max-width: 1000px;
    height: auto;
    padding: 0 0 4rem;
}

.accordion {
    width: 100%;
}

.accordion .item {
    border-bottom: 1px solid #ddd;
}

.accordion .title {
    width: 100%;
    height: auto;
    display: flex;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    padding: 2rem;
    cursor: pointer;
    position: relative;
}

.accordion .title::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s;
}

.accordion .item.active .title::after {
    transform: translateY(-50%) rotate(-135deg);
}

.accordion .title > span {
    width: 84px;
    height: auto;
    display: inline-block;
    font-size: 1rem;
    color: #595959;
}
.accordion .title > h5 {
    font-size: 1rem;
    font-weight: 600;
}

.accordion .des {
    display: none;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    background-color: #f8f8f8;
    padding: 2rem 2rem 2rem 132px;
}

.accordion .des .txt {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion .des .txt > p {
    font-size: 0.95rem;
    color: #595959;
}

.accordion .des .txt > ul {
    width: 100%;
    height: auto;
}

.accordion .des .txt > ul > li {
    font-size: 0.95rem;
}

.accordion .des .txt > ul.fw {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
}

.accordion .des .txt > ul.fw > li {
    width: calc(50% - 8px);
}

@media screen and (min-width: 768px) and (max-width: 1200px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 태블릿 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .visual {
        padding: 2rem 1rem;
    }

    .visual>.inner>h3 {
        font-size: 1.8rem;
    }

    /*  */
    .tab__menu {
        max-width: 100%;
    }

    .accordion .des .txt > ul.fw > li {
        width: 100%;
    }

}






@media screen and (max-width: 767px) {

    /* 
    ■■■■■■■■■■■■■■■■■■■■■
    ■■■■■■■■ 모바일 ■■■■■■■■
    ■■■■■■■■■■■■■■■■■■■■■
    */

    .visual {
        padding: 2rem;
    }

    .visual>.inner>h3 {
        font-size: 1.4rem;
    }

    .visual .search {
        max-width: 100%;
        min-height: 50px;
        margin-top: 0;
    }

    .visual .search>a>span {
        font-size: 1.2rem;
    }

    /*  */
    .tab__menu {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .tab__menu>li {
        width: 50%;
        box-shadow: inset 1px 1px 1px 0px #ddd;
        background-color: #fff;
    }

    .tab__menu>li.active {
        box-shadow: none;
        background-color: #007fff;
        color: #fff;
    }

    .tab__content {
        padding: 0;
    }

    .accordion .title {
        flex-direction: column;
        gap: 10px;
        padding: 1.5rem 3rem 1.5rem 1.5rem;
    }

    .accordion .title::after {
        right: 1.5rem;
    }

    .accordion .title > span,
    .accordion .title > h5 {
        font-size: 0.95rem;
    }

    .accordion .des {
        padding: 1.5rem;
    }

    .accordion .des .txt > ul.fw > li {
        width: 100%;
    }
}