﻿/* 레이아웃 */
.page_inner {
  padding: 0 1.25rem;
}
.page_inner:after {
  content: "";
  display: block;
  clear: both;
}
.container {
  margin-top: 3.0625rem;
  padding: 2.5rem 0;
}
.container.include_nav {
  padding-bottom: 5rem;
}

hr.section_line {
  margin: 1.25rem -1.25rem 2.5rem;
  border: 0;
  border-top: solid 1px rgba(15, 41, 107, 0.12);
}

.main_title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.67;
}

/* 포인트 컬러 */
.color_blue {
  color: #43b4e6;
}
.color_red {
  color: #f43142;
}

/* 버튼 */
.btn {
  display: inline-block;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  text-align: center;
}

.btn_large {
  width: 100%;
  height: 2.75rem;
  line-height: 2.625rem;
}
.btn_small {
  height: 1.75rem;
  line-height: 1.625rem;
  font-size: 0.75rem;
}

.btn_blue {
  background-color: #43b4e6;
  color: #fff;
}
.btn_gray {
  background-color: #c6c7ca;
  color: #fff;
}
.btn_blue_brd {
  border-color: #43b4e6;
  color: #000;
}

.btn_wrap .btn {
  display: block;
  width: 13.75rem;
  margin: 0 auto;
}
.btn_fixed {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding-bottom: 2rem;
}

/* 페이지 상단 제목 */
.page_title {
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    min-height: 3rem;
    background-color: #fff;
}
.page_title.bg-none {
  background-color: transparent;
}
.page_title h1 {
  padding: 0.875rem 0;
  border-bottom: solid 1px rgba(15, 41, 107, 0.12);
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: center;
}
.page_title .btn_prev {
  z-index: 1;
  position: absolute;
  left: 1.25rem;
  top: 0.75rem;
  line-height: 1;
}
.page_title .btn_prev img {
  width: 1.5rem;
  height: 1.5rem;
}
.page_title .btn_map,
.page_title .btn_close {
  position: absolute;
  right: 1.125rem;
  top: 0.75rem;
  padding: 0.375rem 0.5rem;
  line-height: 1;
}
.page_title .btn_map {
  top: 0.375rem;
}
.page_title .btn_map img {
  width: 1.375rem;
  height: 1.375rem;
}
.page_title .btn_map > a + a {
  margin-left: 1.0625rem;
}
.page_title .btn_close img {
  width: 0.75rem;
  height: 0.75rem;
}
.page_title .search_box {
  padding: 0.5625rem 1.25rem 0.625rem 3.375rem;
  font-size: 1rem;
}
.page_title .search_box input[type="text"] {
  height: 2.25rem;
}
.page_title .page_utils {
  padding: 0.6875rem 1.25rem;
  border-bottom: solid 1px rgba(15, 41, 107, 0.12);
  font-size: 0;
  text-align: right;
}
.page_title .page_utils .btn {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.47;
  color: #7f8082;
}
.page_title .page_utils .btn + .btn {
  margin-left: 1.25rem;
}

/* 
    */
.swiper-pagination-bullet {
  background-color: #fff;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* 폼 */
.input_form {
  font-size: 0.875rem;
}
.input_form + .input_form {
  margin-top: 1.25rem;
}
.input_form .input_form_inner {
  position: relative;
}
.input_form label {
  display: inline-block;
  margin-bottom: 0.625rem;
  font-weight: 500;
}
.input_form input[type="text"],
.input_form input[type="password"],
.input_form input[type="number"],
.input_form input[type="email"],
.input_form select,
.input_form textarea {
  width: 100%;
  background-color: #f8f8f8;
  border: 0;
  height: 2.75rem;
  padding: 0 1.25rem;
  color: #05060a;
}
.input_form select {
  text-align: center;
}
.input_form textarea {
  height: 5rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  line-height: 1.8;
}

.input_form.input_form--half {
  margin-top: 1.25rem;
  overflow: hidden;
}
.input_form.input_form--half select {
  float: left;
  width: 47%;
}
.input_form.input_form--half select + select {
  float: right;
}

.input_form.input_form--search {
  position: relative;
}
.input_form.input_form--search input {
  padding-right: 35.821%;
}
.input_form.input_form--search .btn {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  padding: 0 1.25rem;
  height: 100%;
}

.input_form.input_form--multiple select {
  text-align: left;
}
.input_form.input_form--multiple input[type="text"] {
  margin-top: 0.625rem;
}

.input_form--wrap .form_title {
  display: inline-block;
  margin-bottom: 0.625rem;
  font-weight: 500;
}
.input_form--wrap .file_form {
  margin-left: 0;
}

.check_form.check_form--all {
  font-size: 1.25rem;
}
.check_form input[type="radio"],
.check_form input[type="checkbox"] {
  display: none;
}
.check_form label > b {
  font-weight: 500;
}
.check_form input[type="radio"] + label,
.check_form input[type="checkbox"] + label {
  position: relative;
  display: inline-block;
  padding: 0.125rem 0 0.1875rem 2.125rem;
}
    .check_form input[type="radio"] + label:before,
    .check_form input[type="checkbox"] + label:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        margin-top: -0.75rem;
        width: 1.5rem;
        height: 1.5rem;
        background: url(/images/icon/checked_off.svg) no-repeat 0 0 / cover;
        background-size: 90% 90%;
    }
.check_form input[type="radio"]:checked + label:before,
.check_form input[type="checkbox"]:checked + label:before {
    background-image: url("/images/icon/checked_on.svg");
    background-size: 90% 90%;
}
.check_form .check_form__link {
  margin-left: 10px;
  font-size: 0.75rem;
  vertical-align: baseline;
  text-decoration: underline;
}

.file_form {
  position: relative;
  width: 9.375rem;
  height: 9.375rem;
  margin: 0 auto;
  border-radius: 0.75rem;
  background-color: #f8f8f8;
  overflow: hidden;
}
.file_form input[type="file"] {
  position: fixed;
  left: -9999em;
  top: -9999em;
}
.file_form label {
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -9999em;
}
.file_form label:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.875rem;
  height: 1.875rem;
  margin: -0.9375rem 0 0 -0.9375rem;
  background: #c6c7ca url("/images/icon/ico_add.svg") no-repeat center center;
}
.file_form .add_img_thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* tab  */
.tab {
  /*position: relative;*/
  border-top: 1px solid rgba(15, 41, 107, 0.12);
  //border-bottom: 1px solid rgba(15, 41, 107, 0.12);
}
.tab:after {
  content: "";
  display: block;
  clear: both;
}
.tab .tab_menu {
    float: left;
    border-bottom: 1px solid rgba(15, 41, 107, 0.12);
}
/*.tab .tab_menu + .tab_menu > a {
  position: relative;
}*/
.tab .tab_menu + .tab_menu > a:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3125rem;
  width: 1px;
  height: 2.125rem;
  background-color: #c6c7ca;
}
.tab .tab_menu > a {
  display: block;
  background-color: #f8f8f8;
  line-height: 2.75rem;
  color: #a5a5a5;
  text-align: center;
  border-radius: 7px; /* 값을 조정하여 더나은 둥근 모서리 조정 가능 */
}
.tab .is-active > a {
  background-color: #43b4e6;
  color: #fff;
  border-radius: 7px; /* 값을 조정하여 더나은 둥근 모서리 조정 가능 */
}

.tab.tab_size02 .tab_menu {
  width: 50%;
}
.tab.tab_size03 .tab_menu {
  width: 33.333%;
}
.tab.tab_size04 .tab_menu {
    width: 100%;
}

/*.tab2 .tab_menu + .tab_menu > a {
  position: relative;
}*/
.tab2 {
    background: #F3F7F9;
    border-radius: 10px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 2.75rem;
    font-family: 'Noto Sans CJK KR';
    font-size: 15px; /* 30px에서 15px로 변경 */
    line-height: 28px;
    font-weight: 500;
}

    .tab2 .tab_menu2 {
        flex: 1;
        text-align: center;
        padding: 0;
    }

    .tab2 .tab_menu2 .detail {
        display: block;
        padding: 6px 0;
        color: #585555;
    }

    .tab2 .is-active a {
        color: #45C0EE;
        border-bottom: 2px solid #45C0EE;
    }

    .tab2 .tab_menu2 a:hover {
        color: #43b4e6;
    }

.category_list_wrap {
  position: relative;
}
.category_list {
  display: none;
  z-index: 1;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  max-height: 23.125rem;
  padding: 0 1.25rem 0.625rem;
  box-shadow: 0 5px 10px 0 rgb(98 98 98 / 16%);
  background-color: #fff;
  overflow-y: auto;
}
.category_list > li + li {
  border-top: 1px solid rgba(15, 41, 107, 0.12);
}
.category_list > li > a {
  display: block;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  color: #7f8082;
}
.category_list.is-active {
  display: block;
}

/* chatroom Setting*/
.chatroom_setting_wrap {
    position: relative;
}

.chatroom_setting {
    display: none;
    z-index: 1;
    position: absolute;
    left: 0;
    top: 100%;
    width: 50%;
    max-height: 23.125rem;
    padding: 0 1.25rem 0.625rem;
    box-shadow: 0 5px 10px 0 rgb(98 98 98 / 16%);
    background-color: #fff;
    overflow-y: auto;
}

.chatroom_setting > li + li {
    border-top: 1px solid rgba(15, 41, 107, 0.12);
}

.chatroom_setting > li > a {
    display: block;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    color: #7f8082;
}

.chatroom_setting.is-active {
    display: block;
}

/* modal */
.modal {
  display: none;
  z-index: 1000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal.is-active {
  display: block;
}
.modal .modal_box {
  border-radius:0.75rem;
  position: absolute;
  top: 50%;
  left: 1.25rem;
  right: 1.25rem;
  transform: translateY(-50%);
  background-color: #fff;
}
.modal .modal_box .modal_title {
  padding: 1.5rem 0 0.625rem;
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: center;
}
.modal .modal_box .mdal_content {
  padding: 2.5rem 0 2.75rem;
  border-top: solid 1px rgba(15, 41, 107, 0.12);
  text-align: center;
}
.modal .modal_box .mdal_content .btn_map {
  width: 6.25rem;
  padding: 1.0625rem 0 0.9375rem;
  border-radius: 0.75rem;
  border: solid 1px #e9eaed;
}
.modal .modal_box .mdal_content .btn_map img {
  display: inline-block;
}
.modal .modal_box .mdal_content .btn_map01 img {
  width: 3.25rem;
  height: 2.375rem;
  margin-bottom: 0.5625rem;
}
.modal .modal_box .mdal_content .btn_map02 {
  margin-left: 1.125rem;
  padding-top: 1.375rem;
}
.modal .modal_box .mdal_content .btn_map02 img {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.875rem;
}

.modal .modal_box .btn_close {
  position: absolute;
  right: 0;
  top: 1.75rem;
  padding: 0 1.25rem;
}
.modal .modal_box .btn_close img {
  width: 0.75rem;
  height: 0.75rem;
}

/* category menu */
.menu_wrap {
  height: 100%;
  background-color: #fff;
  overflow-y: auto;
}
.menu_wrap .menu_top {
  padding: 2.5rem 0 1.25rem;
  overflow: hidden;
}
.menu_wrap .menu_top h1 {
  float: left;
  font-size: 1.0625rem;
  font-weight: 500;
}
.menu_wrap .menu_top .btn {
  float: right;
}
.menu_wrap .menu_top .btn img {
  width: 1.5rem;
  height: 1.5rem;
}
.menu_wrap .menu_list {
  border-bottom: solid 1px rgba(15, 41, 107, 0.12);
}
.menu_wrap .menu_list .menu {
  position: relative;
  display: block;
  padding: 1.1875rem 0;
  border-top: solid 1px rgba(15, 41, 107, 0.12);
  font-size: 1.125rem;
  font-weight: 500;
}
.menu_wrap .menu_list .menu:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.5rem;
  height: 0.375rem;
  background: url("/images/icon/ico_select_arrow.svg") no-repeat 100% 50%;
}
.menu_wrap .menu_list .menu.menu_on:after {
  transform: rotate(-180deg);
}
.menu_wrap .menu_categorys {
  display: block;
}
.menu_wrap .menu_categorys > li {
  padding: 1.25rem;
  border-top: solid 1px rgba(15, 41, 107, 0.12);
}
.menu_wrap .menu_categorys .menu_category_title {
  font-size: 0.875rem;
  color: #7f8082;
}
.menu_wrap .menu_categorys .menu_category_post {
  display: inline-block;
  margin: 0.0625rem 0 0 1.25rem;
  font-size: 0.75rem;
}

/* 판매 리스트 */
.thumb_list {
  border-bottom: solid 1px rgba(15, 41, 107, 0.12);
}
.thumb_list > li {
  padding: 1.25rem;
  border-top: solid 1px rgba(15, 41, 107, 0.12);
}
.thumb_list > li > a {
  position: relative;
  display: block;
  min-height: 6.625rem;
}
.thumb_list .thumb {
  position: absolute;
  left: 0;
  top: 50%;
  width: 6.625rem;
  height: 6.625rem;
  margin-top: -3.3125rem;
}
.thumb_list .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thumb_list .info {
  padding-left: 7.875rem;
}
.thumb_list .info .info_title {
  line-height: 1.63;
}
.thumb_list .info .info_write {
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #7f8082;
}
.thumb_list .info .info_price {
  margin-top: 0.625rem;
  font-size: 1.375rem;
}
.thumb_list .info .info_price .sale_state {
  display: inline-block;
  margin: 0.3125rem 0 0 0.625rem;
  min-width: 2.5rem;
  height: 1.0625rem;
  line-height: 0.9375rem;
  font-size: 0.6875rem;
  color: #fff;
  text-align: center;
  border-radius: 0.5rem;
  background-color: #43b4e6;
}
.thumb_list .info .info_comment {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  color: #7f8082;
}
.thumb_list .info .info_addr {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #7f8082;
}
.thumb_list .info .info_addr .btn {
  margin-left: 0.3125rem;
  font-size: 11px;
  text-decoration: underline;
  color: #43b4e6;
}
.thumb_list .info .info_btns {
  margin-top: 0.5rem;
  font-size: 0;
}
.thumb_list .info .info_btns .btn {
  width: 4.6875rem;
  margin-right: 0.5rem;
}

.thumb_list .item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.thumb_list .item .thumb {
  position: static;
  margin: 0;
  flex: 0 0 6.625rem;
}
.thumb_list .item .info {
  flex: 0 0 calc(100% - 106px);
  padding-left: 1.25rem;
}

.thumb_list.checked {
  margin-top: 1.8125rem;
}
.thumb_list.checked > li:first-child {
  border-top: 0;
}
.thumb_list.checked .check_form {
  position: absolute;
  right: -0.625rem;
  top: 0.625rem;
}

.horizontal_nav .nav_scroll_wrap {
  overflow-x: auto;
  white-space: nowrap;
}
.horizontal_nav .nav_list {
  overflow: hidden;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
}
.horizontal_nav .nav_list li {
  float: left;
  padding: 0.625rem 1.25rem;
}
.horizontal_nav .nav_list li + li {
  float: left;
  padding-left: 0;
}
.horizontal_nav .nav_list li .nav_item {
  display: block;
  border-bottom: 2px solid #fff;
  line-height: 1.63;
  color: #c6c7ca;
}
.horizontal_nav .nav_list li .nav_item.is-active {
  border-color: #43b4e6;
  color: #000;
}
