@charset "utf-8";
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

a{
    text-decoration: none !important;
    color: inherit;
}

ul{
    list-style: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

button{
    cursor: pointer;
}

/*--------------------- header---------------------*/
header {
    display: flex;
    width: 1900px;
    height: 100px;
    padding: 20px 56px;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    z-index: 100;
}

/* Logo Styles */
h1 {
    flex: auto;
}

h1 img {
    width: 250px;
}

nav {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
}

nav a:hover {
    color: #333;
}

nav > ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

nav > ul > li {
    display: flex;
    align-items: center;
    position: relative;
    width: max-content;
    text-align: center;
    height: 100%;
    margin-right: 30px;
    padding: 36px 0;
}

nav > ul > li:last-child {
    margin-right: 0; /* 마지막 메뉴 항목에 대한 여백 제거 */
}

nav > ul > li > a {
    display: inline-block; /* 텍스트 너비에 맞추기 위해 inline-block 사용 */
    position: relative; /* 밑줄 위치를 위한 상대 위치 지정 */
    text-decoration: none; /* 기본 밑줄 제거 */
    padding: 0 10px; /* 텍스트와 링크 사이의 패딩 */
    cursor: pointer;
}

.underline {
    position: relative;
    cursor: pointer;
}

.underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-normal, #484B51);
    left: 0;
    bottom: -5px; /* 텍스트 바로 아래에 위치하도록 조정 */
    transform: scaleX(0);
    /*transform-origin: center;*/
    /*transition: transform 0.3s ease-out;*/
}

.underline:hover::after {
    transform: scaleX(1);
}

.submenu {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    background-color: #fff;
    width: max-content;
    padding: 10px 20px;
    z-index: 1000;
    line-height: 2.5;
}

.submenu > li {
    width: 100%;
}

.sub-item {
    padding: 5px 0;
}

.sub-item > a {
    display: inline-block; /* 서브 아이템도 inline-block으로 설정 */
    position: relative; /* 상대 위치 지정 */
    text-decoration: none; /* 기본 밑줄 제거 */
    width: max-content;
    cursor: pointer;
}

.sub-item > a.underline::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-normal, #484B51);
    left: 0;
    bottom: -5px; /* 텍스트 바로 아래에 위치하도록 조정 */
    transform: scaleX(0);
    /*transform-origin: center; !* 가운데에서 좌우로 퍼지도록 설정 *!*/
    /*transition: transform 0.3s ease-out;*/
}

.sub-item > a.underline:hover::after {
    transform: scaleX(1);
}

/*--------------------- header 햄버거 ---------------------*/
@media (max-width:1280px){
    header{
        width: 90%;
        margin: 0 auto;
    }
    nav {
        display: flex;
    }
}
@media (max-width:1024px){

    header{
        width: 100%;
        height: 60px;
        position: relative;
    }

    header h1{
        padding: 5%;
    }
    nav{
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        height: fit-content;
        justify-content: center;
        align-items: flex-start;
        padding-top: 15%;
        background: rgb(230, 238, 241);

    }

    nav>ul{
        flex-direction: column;
        gap: 20px;
    }

    nav>ul>li{
        flex-direction: column;
        width: 200px;

    }

    nav>ul>li>a{
        display: flex;
        width: inherit;
        padding: 0;
        background: rgb(143, 184, 199);
        height: 40px;
        align-items: center;
        justify-content: center;
        justify-items: center;
    }

    .submenu{
        display: flex;
        position: relative;
        transform: none;
        width: inherit;
        top: 0;
        left: 0;
    }

    .mobile-menu {
        width: 23px;
        height: 16px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right:5%;
    }

    .mobile-menu.close{
        margin-top: 10px;
    }
    .mobile-menu span{
        display: block;
        position: absolute;
        width: 100%;
        border: 1px solid black;
    }
    .mobile-menu span:nth-child(1){top: 0%;}
    .mobile-menu span:nth-child(2){top: 50%;}
    .mobile-menu span:nth-child(3){top: 100%;}
    .mobile-menu.close span:nth-child(1){transform: rotate(45deg);}
    .mobile-menu.close span:nth-child(2){opacity: 0;}
    .mobile-menu.close span:nth-child(3){transform:  rotate(-45deg); top: 0;}
}


@media (max-width:540px){
    nav {
        width: 100%;
        height: fit-content;
    }

}
/*--------------------- footer ---------------------*/

footer{
    margin-top: 144px;
    border-top: 1px solid var(--color-line-normal, #E4E5E7);
    padding: 50px 0;
    line-height: 2;
}

footer a {
    width: 10%;
    text-align: center;
}

footer a:hover {
    color: var(--color-text-normal, #484B51);
    text-decoration: none;
}

#f-inner {
    display: flex;
    align-items: center; /* Center children horizontally */
    width: 1200px;
    margin: auto;
    gap: 2%;
}

.f-logo {
    width: 200px;
}

.f-logo img {
    width: 200px;
}

#f-inner>div{
    flex: auto;
}

footer ul{
    display: flex;
    gap: 1%;
    margin: 0;
}

#copyright {
    color: var(--color-text-alternative, #BCBEC3);
    margin: 0;
}

footer p {
    margin: 0;
}

.auth {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.bottom-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-group {
    width: max-content;
    display: flex;
}

.link-group a:first-child {
    margin-right: 28px;
}

.link-group a {
    width: max-content;
}

@media (max-width:1280px){
    #f-inner{
        width: 90%;
        margin: 0 auto;
    }
}


@media(max-width:768px){
    footer{
        margin-top: 144px;
        font-size: 12px;
        text-align: center;
        padding: 20px 0;
    }
    footer ul{
        flex-direction: column;
        gap: 0;
    }

}
@media(max-width:500px){
    #f-inner{
        flex-direction: column;
        gap: 10px;
    }

    .auth {
        flex-direction: column;
        gap: 10px;
    }

    .bottom-link {
        flex-direction: column;
        gap: 10px;
    }
}

/*----------------- 상세 페이지 배너------------------*/
#tit-box{
    width: 100%;
    height: 300px;
    background-image: url("../img/banner.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color : var(--color-text-white);
}
.area-nav {
    display: flex;
    gap: 5px;
    font-size: 18px;
    padding: 20px;
    /*border-bottom: 1px dashed #ddd;*/
}
.area-nav p {
    margin: 0;
}
@media (max-width:500px){
    .area-nav {
        font-size: 14px;
        padding-left: 5px;
    }
}

/*----------------- inner ------------------*/

.inner{
    width: 1200px;
    margin: 0 auto;
}


@media (max-width:1280px){
    .inner{
        width: 90%;
        margin: 0 auto;
    }
}

.banner {
    width: 1920px;
}

@media (max-width: 1280px) {
    .banner {
        width: 100%;
    }
}


/*---------------  버튼  ---------------*/
.register_btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    margin-bottom: 20px;
}

.register_btn a:hover {
    color: var(--color-text-white, #FFFFFF);
    text-decoration: none;
}

.add_btn {
    display: inline-flex;
    padding: 10px;
    align-items: center;
    border-radius: 8px;
    background: var(--color-primary-normal, #006AB5);
    color: var(--color-text-white, #FFFFFF);
    text-align: center;
    gap: 4px;
}

.plus-icon {
    color: var(--color-text-white, #FFF);
    text-align: center;
    /*font-family: "Font Awesome 5 Pro";*/
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.54px;
}

.login_btn {
    display: flex;
    padding: 2px 4px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 4px;
    background: var(--color-gray-03, #93979F);
    color: var(--color-text-white, #FFF);
    width: 110px;
}

/*------ 필수 텍스트 입력 필드  -------*/

.red{
    color: red;
    display: inline;
}

.text-orange {
    color: var(--color-sub-orange, #E37600);
}

/* Colors */
:root {
    --color-primary-normal: #006AB5;
    --color-primary-press: #031C45;
    --color-primary-disable: #B0D9F6;

    --color-inverse-normal: #B0D9F6;
    --color-inverse-press: #96D3FF;

    --color-sub-orange: #E37600;
    --color-sub-yellow: #FBC700;
    --color-sub-deep-yellow: #F7AF00;

    --color-status-positive: #07BE5C;
    --color-status-negative: #EB3017;

    --color-text-normal: #484B51;
    --color-text-strong: #18191B;
    --color-text-neutral: #93979F;
    --color-text-alternative: #BCBEC3;
    --color-text-disable: #D7D8DB;
    --color-text-white: #FFFFFF;
    --color-text-primary: #006AB5;

    --color-bg-normal: #FFFFFF;
    --color-bg-alternative: #F2F2F3;

    --color-line-normal: #E4E5E7;
    --color-line-alternative: #D7D8DB;
    --color-line-focus: #484B51;
    --color-line-primary: #006AB5;
    --color-line-white: #FFFFFF;

    --color-gray-01: #18191B;
    --color-gray-02: #484B51;
    --color-gray-03: #93979F;
    --color-gray-04: #BCBEC3;
    --color-gray-05: #D7D8DB;
    --color-gray-06: #E4E5E7;
    --color-gray-07: #F2F2F3;
    --color-gray-08: #FFFFFF;

}

/* HEADLINE */
.H1-36-B {
    /* Headline/H1-36-B */
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 50.4px */
    letter-spacing: -1.08px;
}

.H2-26-B {
    /* Headline/H2-26-B */
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 33.8px */
    letter-spacing: -0.78px;
}

.H3-24-B {
    /* Headline/H3-24-B */
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%; /* 31.2px */
    letter-spacing: -0.72px;
}

/* SUB */
.S1-20-B {
    /* Sub/S1-20-B */
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 28px */
    letter-spacing: -0.6px;
}

.S2-20-M {
    /* Sub/S2-20-M */
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 28px */
    letter-spacing: -0.6px;
}

.S3-20-R {
    /* Sub/S3-20-R */
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 28px */
    letter-spacing: -0.6px;
}

.S4-18-B {
    /* Sub/S4-18-B */
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.54px;
}

.S5-18-M {
    /* Sub/S5-18-M */
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.54px;
}

.S6-18-R {
    /* Sub/S6-18-R */
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 25.2px */
    letter-spacing: -0.54px;
}

.S7-16-B {
    /* Sub/S7-16-B */
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.48px;
}

/* BODY */
.B1-16-M {
    /* Body/B1-16-M */
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.48px;
}

.B2-16-R {
    /* Body/B2-16-R */
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 22.4px */
    letter-spacing: -0.48px;
}

.B3-14-B {
    /* Body/B3-14-B */
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.42px;
}

.B4-14-M {
    /* Body/B4-14-M */
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.42px;
}

.B5-14-R {
    /* Body/B5-14-R */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 19.6px */
    letter-spacing: -0.42px;
}

.B6-12-B {
    /* Body/B6-12-B */
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 16.8px */
    letter-spacing: -0.36px;
}

.B7-12-M {
    /* Body/B7-12-M */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
    letter-spacing: -0.36px;
}

.B8-12-R {
    /* Body/B8-12-R */
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 16.8px */
    letter-spacing: -0.36px;
}

/*---------------  검색박스  ---------------*/
.search_box {
    margin: 38px 0;
}

.search form {
    display: flex;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.search input {
    display: flex;
    width: 100%;
    max-width: 384px;
    height: 65px;
    padding: 20px 14px;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid var(--color-line-normal, #E4E5E7);
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.8594 16.7383C18.0352 16.9141 18.0352 17.1953 17.8594 17.3359L17.0508 18.1445C16.9102 18.3203 16.6289 18.3203 16.4531 18.1445L12.1992 13.8906C12.1289 13.7852 12.0938 13.6797 12.0938 13.5742V13.1172C10.793 14.207 9.14062 14.875 7.3125 14.875C3.26953 14.875 0 11.6055 0 7.5625C0 3.55469 3.26953 0.25 7.3125 0.25C11.3203 0.25 14.625 3.55469 14.625 7.5625C14.625 9.39062 13.9219 11.0781 12.832 12.3438H13.2891C13.3945 12.3438 13.5 12.4141 13.6055 12.4844L17.8594 16.7383ZM7.3125 13.1875C10.4062 13.1875 12.9375 10.6914 12.9375 7.5625C12.9375 4.46875 10.4062 1.9375 7.3125 1.9375C4.18359 1.9375 1.6875 4.46875 1.6875 7.5625C1.6875 10.6914 4.18359 13.1875 7.3125 13.1875Z" fill="%23484B51"/></svg>') no-repeat left 10px center;
}

#input_text {
    padding-left: 35px;
}

.search #btn {
    display: flex;
    width: 100%;
    max-width: 180px;
    height: 65px;
    padding: 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 4px;
    background: var(--color-gray-03, #93979F);
    color: var(--color-text-white, #FFF);
    border: none;
}

.search #btn:hover {
    background-color: #666;
    transition: all 0.3s
}

@media (max-width:768px){
    .con-txt{
        font-size: 16px;
    }
    .search form {
        flex-direction: column;
        width: 100%;
    }

    .search input {
        width: 100%;
    }

    .search #btn {
        width: 100%;
        height: 50px;
    }
}

@media (max-width:480px){
    .con-wrap{
        flex-direction: column;
        align-items: center;
        gap: 20px;

    }

    .con-wrap > div {
        width: 90%;
        max-width: 90%; /* Ensure max width is 90% for smaller screens */
    }

    .search{
        margin-bottom: 20px;
    }

    .search input {
        height: 35px;
    }

    .search input {
        padding: 10px 10px 10px 35px; /* Adjust padding for smaller screens */
    }

    .search #btn {
        height: 40px;
    }
}

/*---------------  페이지네이션  ---------------*/
.pagination {
    text-align: center;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination a {
    display: inline-block;
    width: 36px;
    height: 36px;
    padding-top: 9px;
    margin: 1px 1px;
}

.pagination_num {
    color: var(--color-text-disable, #D7D8DB);
}

.active {
    color: var(--color-text-normal, #484B51);
}