@charset "utf-8";



.wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh; /* 전체 높이를 화면에 맞춤 */
}
.top_wrap{
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    padding-top: 30px;

}
.top_wrap .header{
    display: flex;
    align-items: center;
    height: 70px;
    max-width: 1200px; /* PC 최대 너비 */
    min-width: 320px;  /* 모바일 최소 보장 */
    margin: 0 auto;
    justify-content: space-between;
    padding-left: 40px;
}
/* 검색 박스 전체 */
.search_box {
    max-width: 500px;   /* PC에서 최대 너비 */
    width: 100%;        /* 모바일에서는 가득 */
    position: relative;
}
.search_box .bottom_text{
    position: absolute;
    top: 60px;
    left: 36px;
    display: flex;
    gap: 10px;
}
.search_box .bottom_text li:hover a{
    border-bottom: 2px solid #0D7C66;
    padding-bottom: 4px;
}

/* form 레이아웃 */
.search_box .search_form {
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 3px solid #0D7C66;
    background: #fff;
    padding: 5px 10px;
    transition: border-color 0.3s;
}

.search_form:focus-within {
    border-color: #0D7C66; /* 포커스 시 강조 색 */
}
.search_select {
    border: none;
    outline: none;
    padding: 8px 12px;
    background: transparent;
    cursor: pointer;
}
/* 입력창 */
.search_input{
    flex: 1; /* 남는 공간 다 차지 */
    border: none;
    outline: none;
    font-size: 16px;
    padding: 8px 10px;
    background: transparent;
}

/* 버튼 */
.search_button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    padding: 5px;
    transition: color 0.3s;
}

.search_button:hover {
    color: #007aff;
}


/*  */
.search-wrap {
    display: flex;
    align-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9); /* 검색창 배경 */
    backdrop-filter: blur(8px); /* 글라스모피즘 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 4px;
    max-width: 400px;
    margin: auto;
}

.custom-select {
    position: relative;
    flex: 0 0 100px; /* 너비 조절 */
}

.custom-select select {
    width: 100%;
    padding: 8px 12px;
    border: none;
    border-radius: 12px 0 0 12px; /* 왼쪽만 둥글게 */
    background: rgba(255, 255, 255, 0.9); /* 검색창과 동일 배경 */
    appearance: none; /* 기본 드롭다운 화살표 제거 */
    outline: none;
    cursor: pointer;
}

.search-input {
    border: none;
    flex: 1;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9); /* 검색창과 동일 배경 */
    outline: none;
}


.user_menu{
    display: flex;
    gap: 40px;
}
.user_menu li a{
    font-weight: bold;
    text-align: -webkit-center;
}

.user_menu li a img{
    width: 30px;
}
.gnb{
    display: flex;
    align-items: center;
    height: 100px;
    /* gap: 80px; */
    max-width: 1200px; /* PC 최대 너비 */
    min-width: 320px;  /* 모바일 최소 보장 */
    margin: 0 auto;
}
.gnb .game_list{
    width: 40px;
    height: 40px;
    background: url(/tempang/images/gameList_icon.svg) no-repeat center;
    background-size: cover;
    cursor: pointer;
    margin-right: 20px;
}
.gnb .gnb_list{
    display: flex;
    align-items: center;
    gap: 10px;
}
.gnb .gnb_list a{
    font-size: 28px;
    font-weight: 700;
    padding: 20px;
}
.gnb .gnb_list li:nth-child(1) a{
    color: #124FFF;
}
.gnb .gnb_list li:nth-child(2) a{}
.gnb .gnb_list li:nth-child(3) a{}
.gnb .user_list{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    gap: 40px;
}

.gnb .user_list a{
    font-size: 20px;
    font-weight: bold;
}
.gnb .gnb_list li,
.gnb .user_list li{
    display: flex;
}


.search-container {
    position: relative;
    width: 600px;
}

#searchInput {
    width: 100%;
    padding: 8px;
    border: #fff;
    box-sizing: border-box;
    box-shadow: none;
}
.suggest_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
}

.suggest_item a {
    flex: 1;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    width: 100%;
    padding: 10px 12px;
}

.suggest_item a:hover {
    color: #0D7C66;
}

.remove_btn {
    background: none;
    border: none;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    margin-left: 8px;
    padding: 4px;
    line-height: 1;
}

.remove_btn:hover {
    color: #333;
}

.suggestions_list {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    max-height: 240px;
    margin: 6px 0 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border: 2px solid #0D7C66;
    border-top: 2px solid #fff;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
    display:  none;
    z-index: 1000;
}

.suggestions_list li {
    padding: 2px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.suggestions_list li:hover {
    background: #f3f4f6;
}

.suggestions_list .recent_title {
    color: var(--color-green);
    font-weight: 700;
    padding: 0 12px 16px;
    cursor: default;
}

.keep_login {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}
.login_wrap .login{
    width: 450px;
    margin: 0 auto;
    padding: 80px 0;
}
.login_wrap .login .logo{
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}
.login_form label {
    display: block;
    /* margin-bottom: 5px; */
    font-weight: 500;
}

.login_form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.login_btn {
    width: 100%;
    padding: 12px;
    background-color: #0D7C66;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 20px;
}
.login_wrap {
    display: flex;       /* 가로로 배치 */
    align-items: center;
    justify-content: center;
}
.login_link {
    display: inline-block;    /* 가상 선택자 마진 적용 위해 */
    text-decoration: none;
    color: #000;
    position: relative;
    padding: 0 8px;
}
.login_link:not(:last-child)::after {
    content: "|";
    margin-left: 14px;
    color: #999;
}
.keep_login input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0 10px 0 0;
}

.login_wrap .login .age_warning{
    display: flex;
    gap: 20px;
    align-items: center;
    border-left: 4px solid #d9534f;
    background: #fff6f6;
    padding: 16px 18px;
    border-radius: 6px;
    color: #333;
    margin-top: 60px;
}
.login_wrap .login .age_warning img{
    width: 80px;
    height: 80px;
}
.login_wrap .login .age_out{
    padding: 16px 20px;
    background: #0D7C66;
    border-radius: 10px;
    color: #fff;
    display: block;
    width: fit-content;
    margin: 16px auto 0;
}
.login_wrap .login .age_out:hover{
    opacity: 0.85;
}
/* 리스트와 간격 */
.item_wrap { margin-bottom: 20px; }

/* 페이지네이션 래퍼 */
.pagination_wrap {
    display: flex;
    justify-content: center;
    padding: 16px 0 28px;
    border-top: 1px solid #ddd;   /* 조금 더 진한 톤 */
}

/* 페이지네이션 기본 */
.pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.pagination li a {
    display: inline-block;
    min-width: 38px;
    height: 38px;
    line-height: 38px;
    padding: 0 12px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ccc;        /* 보더 진하게 */
    border-radius: 8px;
    color: #333;                   /* 텍스트 더 진하게 */
    background: #fff;
    transition: .15s;
    font-weight: 500;
}
.pagination li a:hover {
    border-color: #888;            /* hover 시 보더 더 진하게 */
    color: #000;                   /* hover 시 글자색 진하게 */
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.pagination li.active > a {
    font-weight: 700;
    border-color: #0D7C66;
    background: #0D7C66;           /* 메인컬러 진하게 채움 */
    color: #fff;                   /* 텍스트 흰색 */
}
.pagination li.disabled > a {
    pointer-events: none;
}




/*footer*/
.site_footer {
    background: #f3f3f3;
}
.site_footer a:hover {
    text-decoration: underline;
}
.footer_container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer_main {
    padding: 36px 0;
    font-size: 14px;
}
.footer_grid {
    display: grid;
    gap: 28px;
    grid-template-columns: 1fr 1fr 0.6fr 0.6fr 1fr;
    align-items: flex-start;
}
.brand_block .brand_logo img {
    width: auto;
    height: auto;
    display: block;
}
.info_title {
    letter-spacing: .02em;
    margin: 14px 0 8px;
}
.company_info {
    font-style: normal;
}
.brand_copy{
    margin-top: 10px;
}
.link_col .link_title {
    font-size: 14px;
    letter-spacing: .02em;
    margin-bottom: 10px;
    font-weight: 600;
}
.link_list {
    display: grid;
    gap: 8px;
}
.link_list em {
    font-style: normal;
    color: #0d7c66;
    font-weight: 600;
}
.footer_contact {
    display:flex;
    justify-content:flex-end;
}
.footer_contact_card {
    width:100%;
    max-width:320px;
    background:#f4f4f4; /* 밝은 배경 */
    color:#222;
    border-radius:14px;
    padding:18px 18px 16px;
    border:1px solid #ddd;
    box-shadow:0 6px 16px rgba(0,0,0,0.15);
}
.footer_contact_kicker {
    font-size:13px;
    color:#666;
    margin:0 0 4px;
}
.footer_contact_phone {
    font-size:22px;
    font-weight:800;
    letter-spacing:.2px;
    margin:0;
    color:#0D7C66;
}
.footer_contact_meta {
    font-size:13px;
    color:#777;
    margin:6px 0 10px;
}
.footer_contact_btn {
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 8px;
    background: #0D7C66;
    color: #fff;
    border: none;
    transition: transform .12s ease, box-shadow .12s ease;
}
.footer_contact_btn:hover {
    transform:translateY(-1px);
    box-shadow:0 6px 16px rgba(13,124,102,0.4);
}
.footer_contact_email {
    margin-top:10px;
    font-size:13px;
}
.footer_contact_email a {
    color:#333;
    text-decoration:none;
}
.footer_contact_email a:hover {
    text-decoration:underline;
}
.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: #0D7C66;
    color: #fff;
}
.bottom_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
    flex-wrap: wrap;
}
.bottom_bar .copyright{
    font-size: 14px;
}
.bottom_links {
    display: flex;
    gap: 16px;
}
.bottom_links a {
    font-size: 14px;
}
/* Top Button */
.top_button {
    position: fixed;
    right: 24px;
    bottom: 64px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0D7C66;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    z-index: 1000;
}
.top_button img {
    width: 24px;
    height: 24px;
}
.top_button.is_visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
/* Responsive */
@media (max-width: 1024px) {
    .footer_grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .contact_block {
        justify-content: stretch;
    }

    .contact_card {
        max-width: none;
    }
}
@media (max-width: 640px) {
    .footer_grid {
        grid-template-columns:1fr;
        gap: 20px;
    }

    .bottom_bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .top_button {
        right: 16px;
        bottom: 16px;
    }
}


.bottom_tell {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}
.bottom_tell div {
    padding: 10px;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.bottom_tell .center {
    background: #E9FAF1;
}
.bottom_tell .email {
    background: #FFFBE6;
}
.bottom_tell div img {
    width: 80px;
    height: 80px;
}
.bottom_tell div p{
    font-size: 20px;
}
.bottom_tell div p:nth-of-type(2){
    font-weight: 700;
}

