
.lbs_agree_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background: #D9D9D9;
}

.lbs_agree_wrap .agree_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  background: #fff;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.10);
  border-radius: 20px;
  width: 366px;
  padding: 44px 36px 36px;
  text-align: center;
}

.lbs_agree_wrap .agree_title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 30px;
}

.lbs_agree_wrap .agree_img {
  display: block;
  margin: 0 auto 20px;
}

.lbs_agree_wrap .agree_contents {
  font-size: 16px;
  line-height: 1.5;
  font-weight: 300;
  word-break: keep-all;
  margin-bottom: 45px;
}

.lbs_agree_wrap .agree_btn {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lbs_agree_wrap .agree_btn button {
  width: 100%;
  text-align: center;
  line-height: 46px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  background: #444;
  border: 1px solid #444;
  color: #fff;
}

.lbs_agree_wrap .agree_btn button:first-child {
  background: #fff;
  color: #444;
}

.map_wrap {
  position: absolute; /* or fixed */
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0; /* 하단 65px 제외 */
  overflow: hidden;
}

.map_container {
  height: 100%;
  display: flex;
  overflow: hidden;
}

.map_container .map_panel {
  width: 420px;
  flex: none;
  background: #fff;
  border-right: 1px solid #DBDBDB;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.search_box {
  padding: 20px 34px;
  background: #fff;
}

.search_box .search {
  position: relative;
}

.search_box .search img {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.search_box .search input {
  border-radius: 24px;
  background: #F5F5F5;
  width: 100%;
  height: 40px;
  font-size: 14px;
  border: 0;
  padding: 0 34px;
  font-weight: 300;
}

.search_box .search input::placeholder {
  color: #929292;
}

.search_box .search input:focus {
  outline: none;
}

.place_box {
  display: flex;
  flex-direction: column;
  flex: auto;
  overflow: auto;
}

.place_box .place_list {
  display: flex;
  flex-direction: column;
  flex: auto;
  overflow: auto;
}

.btn_detail_back {
  display: none;
}

.place_box .place_detail {
  border-left: 1px solid #DBDBDB;
  position: absolute;
  left: 100%;
  width: 420px;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  flex: auto;
  background: #fff;
  display: none;
}

.place_box .place_detail .btn_detail_close {
  position: absolute;
  top: 50%;
  width: 59px;
  transform: translateY(-50%);
  left: 100%;
}

.place_box .place_detail .place_contents {
  display: flex;
  flex-direction: column;
  flex: auto;
  overflow: auto;
  padding: 20px 30px;
  background: #fff;
  gap: 20px;
}

.place_box .place_detail.show {
  display: flex;
}

.place_box .place_detail .type {
  font-size: 14px;
  font-weight: 100;
  color: #999;
}

.place_box .place_detail .name {
  font-size: 20px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-position: under;
}

.place_box .place_detail .address {
  color: #555;
  font-size: 14px;
  font-weight: 100;
  display: flex;
  align-items: start;
}

.place_box .place_detail .info {
  color: #555;
  font-size: 14px;
  font-weight: 300;
}

.place_box .place_detail .info li {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
}

.place_box .place_detail .info li a {
  font-size: 15px;
  color: #555;
  text-decoration: underline;
  text-underline-position: under;
  font-weight: 500;
}

.place_box .place_detail .info li img {
  margin-right: 6px;
  flex: none;
}

.place_box .place_detail .etc .etc_btn {
  margin-right: 13px;
  border-radius: 30px;
  background: #F4F3FA;
  display: inline-flex;
  height: 34px;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  color: #000;
  font-weight: 100;
}

.place_box .place_detail .btn_copy {
  color: #3191FF;
  font-size: 14px;
  flex: none;
  font-weight: 300;
  margin-left: 10px;
}

.place_box .handle:after {
  content: '';
  position:absolute;
  top:13px;
  left:50%;
  width: 40px;
  height: 4px;
  display:block;
  background: #D9D9D9;
  border-radius: 5px;
  transform: translateX(-50%);
}
.place_box .handle {
  height:45px;
  cursor: ns-resize;
  display: none;
  flex:none;
}

.place_box .category {
  border-bottom: 1px solid #DBDBDB;
  padding: 20px;
}

.place_box .category_inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px 10px;
}

.place_box .category_item {
  text-align: center;
}

.place_box .category_item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none;
}

.place_box .category_item .info {
  height: 40px;
  padding:0 10px;
  border-radius: 5px;
  border: 1px solid #A9A9A9;
  background: #FFF;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.place_box .category_item .name {
  font-size: 12px;
  word-break: keep-all;
  font-weight: 200;
  line-height: 1.2;
  color: #999;
}

.place_box .category_item input:checked+.info {
  border-color:#9288D7;
  background:#9288D7;
}

.place_box .category_item input:checked+.info .name {
  color: #fff;
}

.place_box .result {
  flex: auto;
  overflow: auto;
}

.place_box .result_item {
  border-bottom: 1px solid #F4F3F3;
  min-height: 98px;
  padding: 10px 20px;
  cursor: pointer;
}

.place_box .result .none {
  font-weight: 300;
  font-size: 15px;
  color: #999;
  text-align: center;
  padding: 28px 30px;
}

.place_box .result_item.active {
  background: #F4F3FA;
}

.place_box .result_item:last-child {
  border-bottom: 0;
}

.place_box .result_item .title {
  margin-bottom: 4px;
  align-items: center;
  display: flex;
  line-height: 1.5;
}

.place_box .result_item .title strong {
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  min-width: 0;
}

.place_box .result_item .title span {
  margin-top: 2px;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 200;
  flex: none;
}

.place_box .result_item .address {
  font-size: 14px;
  color: #999;
  font-weight: 200;
}

.map_container .map_area {
  flex: auto;
  position: relative;
}

.map_container .map_area .area_count {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: rgba(180, 110, 255, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: absolute;
  color: #fff;
  font-weight: 300;
  z-index: 1;
}

.map_container .map_area .area_count:before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 140%;
  height: 140%;
  border-radius: 100%;
  z-index: -1;
  background-color: rgba(180, 110, 255, 0.3);
}

.map_container .map_area .area_count:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  height: 180%;
  border-radius: 100%;
  z-index: -2;
  background-color: rgba(180, 110, 255, 0.15);
}

.map_container .map_area .area_count.size2 {
  width: 65px;
  height: 65px;
}

.map_container .map_area .area_count.size3 {
  width: 85px;
  height: 85px;
}

.map_container .map_area .now {
  position: absolute;
  z-index: 1;
}

.map_container .map_area .notice {
  position: absolute;
  top: 30px;
  width: 80%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(244, 243, 250, 0.90);
  padding: 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  z-index: 2;
  line-height: 1.4;
}

.map_container .map_area .private_notice {
  position: absolute;
  align-items: center;
  bottom: 40px;
  width: 1053px;
  max-width: 86%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(254, 228, 64, 0.90);
  padding: 9px 20px;
  text-align: center;
  display: inline-block;
  z-index: 2;
}

.map_container .map_area .private_notice.show {
  display: flex !important;
}

.map_container .map_area .private_notice p {
  display: inline;
  font-size: 14px;
  font-weight: 100;
  line-height: 1.4;
  color: #000;
}


.map_container .map_area .private_notice svg {
  margin-right: 10px;
}

.map_container .map_area .private_notice .call {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 100;
  vertical-align: middle;
}

.map_container .map_area .private_notice .call img {
  margin-right: 4px;
  vertical-align: -3px;
}

.map_container .map_fnb {
  position: absolute;
  right: 40px;
  top: 30px;
  z-index: 2;
}

.map_container .map_fnb ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.map_container .map_fnb [class^="fnb_"] {
  width: 70px;
  height: 70px;
  border-radius: 100px;
  box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.25);
  font-size: 0;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
}

.map_container .map_fnb li {
  position: relative;
}

.map_container .map_fnb .fnb_location {
  background: #fff url(../images/sub/fnb_location.svg) no-repeat center/50% auto;
}

.map_container .map_fnb .fnb_guide {
  background: #3F3F3F url(../images/sub/fnb_guide.svg) no-repeat center/auto 50%;
}

.dim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  background: rgba(0, 0, 0, .2);
}

.guide_popup {
  display: none;
  position: fixed;
  right: 120px;
  top: 184px;
  border-radius: 10px;
  background: #FFF;
  flex-direction: column;
  width: 740px;
  height: 680px;
  z-index: 22;
  box-shadow: 2px 4px 10px 0 rgba(0, 0, 0, 0.20);
}

.guide_popup.show {
  display: flex;
}

.guide_popup .guide_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 30px 20px;
}

.guide_popup .guide_head .guide_title {
  font-size: 25px;
  font-weight: 700;
}

.guide_popup .guide_head .btn_guide_close {
  flex: none;
}

.guide_popup .guide_contents {
  flex: auto;
  overflow: auto;
  padding: 0 30px 50px;
}

.guide_popup .guide_contents .legend {
  background: #FAFAFA;
  padding: 24px 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(5, 1fr);
  margin-bottom: 20px;
}

.guide_popup .guide_contents .legend_item {
  text-align: center;
  line-height: 1.2;
  font-size: 12px;
  font-weight: 300;
}

.guide_popup .guide_contents .legend_item img {
  width: 35px;
  height: 35px;
  margin-bottom: 4px;
}

.guide_popup .guide_contents .detail {
  display: none;
}

.guide_popup .guide_contents .detail.active {
  display: block;
}

.guide_popup .guide_contents .detail_title {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  margin-bottom: 18px;
}

.guide_popup .guide_contents .detail_title img {
  margin-left: 5px;
  width: 21px;
  height: 21px;
}

.guide_popup .guide_contents .detail_list>li {
  line-height: 1.5;
  font-weight: 200;
  color: #000;
  margin-bottom: 14px;
  font-size: 18px;
  padding-left: 20px;
  position: relative;
}

.guide_popup .guide_contents .detail_list>li:before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 100px;
  background: #444;
  position: absolute;
  top: 11px;
  left: 5px;
}

.guide_popup .guide_contents .detail_list>li>ul>li {
  color: #444;
  font-size: 14px;
}

.guide_popup .guide_contents .detail_list>li:last-child {
  margin-bottom: 0;
}

.map_container .map_fnb .guide_bubble {
  position: absolute;
  right: calc(100% + 25px);
  top: 50%;
  transform: translateY(-50%);
  background: #3F3F3F;
  border-radius: 10px;
  padding: 12px 17px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  font-weight: 600;
  width: 186px;
}

.map_container .map_fnb .guide_bubble:after {
  content: '';
  position: absolute;
  right: -15px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0px 12px 24px;
  border-color: transparent transparent transparent #3d3d3d;
  top: 50%;
  transform: translateY(-50%);
}


.kakao-map {
  width: 100%;
  object-fit: cover;
  position: relative;
  overflow: hidden;
}

@media (max-width: 960px) {

  .lbs_agree_wrap .agree_box {
    width: 80%;
    padding: 32px 28px 28px;
  }

  .lbs_agree_wrap .agree_title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .lbs_agree_wrap .agree_img {}

  .lbs_agree_wrap .agree_contents {
    font-size: 12px;
    margin-bottom: 28px;
    line-height: 1.6;
  }

  .lbs_agree_wrap .agree_btn button {
    line-height: 36px;
    font-size: 14px;
  }

  .map_wrap {
    top: 70px;
  }

  .map_container {
    flex-direction: column;
  }

  .map_container .map_panel {
    width: 100%;
  }

  .search_box {
    padding: 20px 15px;
  }

  .search_box .search input {
    height: 34px;
    font-size: 12px;
  }

  .search_box .search input::placeholder {
    font-size: 12px;
  }

  .place_box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38vh;
    z-index: 10;
    background: #fff;
    border-radius: 20px 20px 0 0;
    will-change: height;
    -webkit-overflow-scrolling: touch;
    touch-action: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    transition: height 0.03s;
    overflow: unset;
    touch-action: none;
  }

  .place_box .handle {
    display: block;
  }

  .place_box .category {
    padding: 0 0 15px;
    overflow: auto;
    flex: none;
  }

  .place_box .category_inner {
    padding: 0 20px;
    width: max-content;
    display: flex;
    gap: 8px;
  }

  .place_box .category_item {
    flex: none;
    width: auto;
  }

  .place_box .category_item .info {
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    border-radius: 30px;
    border: 1px solid #A9A9A9;
    background: #FFF;
    padding: 0 10px;
    transition: all .2s ease;
    display: flex;
    align-items: center;
  }

  .place_box .category_item .info .name {
    color: #A9A9A9;
  }

  .place_box .category_item input:checked+.info {
    border-color: #9288D7;
    background-color: #9288D7;
  }

  .place_box .category_item input:checked+.info .name {
    color: #fff;
  }

  .place_box .result_item {
    min-height: unset;
    padding: 10px 20px 15px;
  }

  .place_box .result_item .title {
    margin-bottom: 2px;
  }

  .place_box .result_item .title strong {
    font-size: 15px;
  }

  .place_box .result_item .address {
    font-size: 13px;
  }

  .place_box .place_list.selected {
    display: none;
  }


  .place_box .place_detail {
    border: 0;
    position: static;
    overflow: auto;
    width: 100%;
  }

  .place_box .place_detail .btn_detail_close {
    display: none;
  }

  .place_box .place_detail .place_contents {
    padding: 0 30px 10px;
    gap: 15px;
  }

  .place_box .place_detail .type {
    font-size: 12px;
  }

  .place_box .place_detail .name {
    font-size: 15px;
  }

  .place_box .place_detail .address {
    font-size: 12px;
  }

  .place_box .place_detail .info li img {
    width: 14px;
    height: 14px;
    margin-right: 3px;
  }

  .place_box .place_detail .info li a {
    font-size: 13px;
  }

  .place_box .place_detail .btn_copy {
    font-size: 12px;
  }

  .btn_detail_back {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    height: 30px;
    display: none;
    align-items: center;
    border-radius: 100px;
    border: 0;
    padding: 0 16px;
    font-size: 11px;
    font-weight: 500;
    gap: 3px;
    box-shadow: 0 0 7px 3px rgba(0, 0, 0, .2);
  }

  .guide_popup {
    width: 94%;
    right: unset;
    left: 50%;
    top: 50%;
    height: 70vh;
    transform: translate(-50%, -50%);
  }

  .guide_popup {
    width: 94%;
    right: unset;
    left: 50%;
    top: 50%;
    height: 70vh;
    transform: translate(-50%, -50%);
  }

  .guide_popup .guide_head {
    padding: 20px 12px 15px;
  }

  .guide_popup .guide_head .guide_title {
    font-size: 15px;
  }

  .guide_popup .guide_contents {
    padding: 0 12px 20px;
  }

  .guide_popup .guide_contents .legend {
    padding: 20px 10px;
    gap: 15px 0;
    margin-bottom: 12px;
  }

  .guide_popup .guide_contents .legend_item {
    font-size: 8px;
  }

  .guide_popup .guide_contents .legend_item img {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
  }

  .guide_popup .guide_contents .detail_title {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .guide_popup .guide_contents .detail_title img {
    width: 19px;
    height: 19px;
  }

  .guide_popup .guide_contents .detail_list>li {
    font-size: 12px;
    padding-left: 15px;
  }

  .guide_popup .guide_contents .detail_list>li:before {
    top: 7px;
    width: 3px;
    height: 3px;
  }

  .guide_popup .guide_contents .detail_list>li>ul>li {
    font-size: 10px;
  }

  .place_box .place_detail.show+.btn_detail_back {
    display: inline-flex;
  }

  .map_container .map_area .area_count {
    width: 35px;
    height: 35px;
    font-size: 15px;
  }

  .map_container .map_area .area_count.size2 {
    width: 50px;
    height: 50px;
  }

  .map_container .map_area .area_count.size3 {
    width: 65px;
    height: 65px;
  }

  .map_container .map_area .now {
    width: 24px;
    height: 24px;
  }

  .map_container .map_area .notice {
    display: none;
  }

  .map_container .map_fnb {
    top: 12px;
    right: 15px;
  }

  .map_container .map_fnb ul {
    gap: 10px;
  }

  .map_container .map_fnb [class^="fnb_"] {
    width: 36px;
    height: 36px;
  }

  .map_container .map_fnb .guide_bubble {
    width: 116px;
    font-size: 10px;
    padding: 6px 8px;
    right: calc(100% + 12px);
  }

  .map_container .map_fnb .guide_bubble:after {
    border-width: 6px 0px 6px 12px;
    right: -6px;
  }

  .map_container .map_area .private_notice {
    position: fixed;
    bottom: 40vh;
    transition:all .3s ease;
    text-align: left;
    padding: 7px 12px;
    align-items: start;
  }

  .map_container .map_area .private_notice.btm {
    bottom:14vh;
  }

  .map_container .map_area .private_notice svg {
    flex: none;
    width: 10px;
  }

  .map_container .map_area .private_notice p {
    font-size: 10px;
    display: block;
    text-align: left;
  }

  .map_container .map_area .private_notice .call {
    font-size: 10px;
    margin-left: 6px;
  }

  .map_container .map_area .private_notice .call img {
    width: 10px;
  }
}