/* header */
main {
  display: flex;
  height: 103.8vh;
}

header {
  width: 100%;
  height: 166px;
  padding: 0 32px;
  background-color: var(--main);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo-area {
  overflow: hidden;

}

header .logo_link_a {
    
}

header .logo-area--left {
  color: #fff;
  display: flex;
  align-items: center;
  flex-basis: content;
  flex: 0 0 auto;
}

header .logo-area--left .title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-right: 20px;
}

header .logo-area--left .sub-title-wrapper {
  display: flex;
  flex-direction: column;
  height: 56px;
  justify-content: flex-end;
}

header .logo-area--left .sub-title-wrapper p:first-child {
  line-height: 1;
  letter-spacing: -0.02em;
}

header .logo-area--left .sub-title-wrapper p:nth-child(2) {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

header>a {
  color: #fff;
  font-size: 14px;
}

header .logo-area--right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

header .logo-area--right .logo-list {
  display: flex;
}

header .logo-area--right .logo-list>li {}

header .logo-area--right .logo-list>li+li {
  margin-left: 12px;
}

header .logo-area--right .logo-hoya {
  height: 55px;
  margin-left: 12px;
}

.main-text {
  color: var(--main);
  margin-bottom: 16px;
}

.main-text>h2 {
  font-family: Arial;
  font-weight: 700;
  font-size: 32px;
  line-height: 32px;
  color: var(--main);
}

.main-text>p {
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  margin-top: 8px;
}

.logo-area>h1>a {
  display: block;
  background: url('/src/logo.svg') no-repeat;
  width: 165px;
  height: 100px;
  margin-right: 38px;
}


/*shoplistupper*/

.shop-list-upper {
  width: 100%;
  border-bottom: 8px solid #f5f5f5;
}

.shop-detail-upper {
  width: 100%;
}

.search-detail-container {
  display: flex;
  width: 100%;
  padding: 0 32px;
}

.detail-area-wrapper {
  width: 100%;
  padding: 2rem 0;
  border-top: 1px solid #eee;
}

.seach-area-tab {
  display: flex;
  height: 64px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.seach-area-tab li {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--color-main-gray, #828282);
  font-size: 18px;
  font-weight: 500;
  line-height: 155%;
  cursor: pointer;
}

.seach-area-tab li.on {
  color: var(--main);
}

.seach-area-tab li.on::after {
  content: '';
  width: 100%;
  position: absolute;
  border-bottom: 2px solid var(--main);
  left: 0;
  bottom: -1px;
}

.search-area-container .search-area-wrapper {
  display: flex;
  width: 100%;
  min-height: 64px;
  padding: 10px 32px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.search-area-container .search-area-wrapper .area-select-input {
  flex: 1;
  outline-width: 0;
  border: none;
  height: 24px;
  color: var(--gray2)
}

.search-area-container .search-area-wrapper .area-select-input ::placeholder {
  color: var(--gray3);
}

.search-area-container .search-area-wrapper .area-select-input+button {
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  outline-width: 0;
  cursor: pointer;
  margin-left: 20px;
}

.search-area-container .search-area-wrapper .search-type-list {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.search-area-container .search-area-wrapper .search-type-list .search-type {
  flex: 1;
  display: flex;
  align-items: center;

}

.search-area-container .search-area-wrapper .search-type-list .search-type input[type="checkbox"] {
  width: 16px;
  height: 16px;
  position: relative;
}

.search-area-container .search-area-wrapper .search-type-list .search-type input[type="checkbox"]::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-line, #DCDCDC);
  background: #FFF;
}

.search-area-container .search-area-wrapper .search-type-list .search-type input[type="checkbox"]:checked::after {
  background: var(--main);
}

.search-area-container .search-area-wrapper .search-type-list .search-type input[type="checkbox"]:checked::before {
  content: url(/src/input--check.svg);
  position: absolute;
  width: 100%;
  height: 100%;
  top: -2px;
  left: 1px;
}

.search-area-container .search-area-wrapper .search-type-list .search-type input[type="checkbox"]+label {
  display: block;
  margin-left: 16px;
  color: var(--gray2);
}

.shop-list {
  width: 500px;
  height: 100%;
  flex: 1 0 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ddd
}

.shop-list-wrapper {
  padding: 20px 32px;
  border-bottom: 1px solid var(--border);
}

.total-result {
  display: inline-block;
  color: var(--gray3);
}

.total-result.total-result-value>span {
  color: var(--info);
  font-weight: 500;
}

/* shoplistbottom */

.shop-list-bottom {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.tab-list-bottom {
  height: 100%;
  /*overflow-y: auto;*/
}

.list-loading {
  display: grid;
  width: 100%;
  height: 20%;
  justify-content: center;
  /*padding-top: 56px;*/
  padding-top: 100px;
}

.load-img {
  display: flex;
  margin-bottom: 10px;
  justify-content: center;
}

.list-result-item {
  padding: 24px 32px;
  position: relative;
}

.list-result-item::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 87.4%;
  height: 1px;
  border-bottom: 1px solid var(--border);
  bottom: 0;
}

.list-result-item.active {
  background-color: #077CFF0D;
}

.list-result-item.active::before,
.list-result-item.active+li::before {
  /* display: none; */
}

.badge-list {
  display: flex;
}

.badge-list:empty {
  display: none;
}

.badge-list .badge {
  color: #FFF;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  padding: 4px 5px;
  text-transform: uppercase;
  border-radius: 2px;
  height: 20px;
  margin: 2px 0 8px;
}

.badge+.badge {
  margin-left: 4px;
}

.badge[data-badge-name="lifestyle"] {
  background: #57C3BC;
}

.badge[data-badge-name="nulux"] {
  background: #2B629A;
}

.badge[data-badge-name="sensity"] {
  background: #000;
}

.badge[data-badge-name="miyo"] {
  background: #f9ca24;
}

.list-result-item .result-item-name {
  margin-top: 0;
}

.list-result-item .result-item-distance {
  line-height: 1.5;
  letter-spacing: -0.02em;
  position: absolute;
  right: 32px;
  top: 24px;
}

.list-result-item p {
  line-height: 22.4px;
  color: var(--gray2);
}

.list-result-item>p {
  margin-bottom: 4px;
}

.list-result-item .result-item-name h3 {
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--main);
  cursor: pointer;
}

.list-result-item .result-item:last-child p:last-child {
  font-weight: 500;
}

.list-result-item .result-item-address,
.list-result-item .result-item-number,
.list-result-item .result-item-url {
  padding-left: 24px;
  position: relative;
}

.list-result-item>div~div {
  margin-top: 4px;
}

.result-item-number>p {
  display: inline-block;
  margin-right: 4px;
}

.result-item-address::before,
.result-item-number::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 20px;
  height: 20px;
  background: url(/src/address-icon.png) no-repeat;
  left: 0px;
  top: 2px;
}

.result-item-number::before {
  background: url(/src/number-icon.png) no-repeat;
}

.number-copybtn {
  display: inline-block;
  border: none;
  background-color: transparent;
  line-height: 24px;
  font-size: 16px;
  color: var(--info);
  cursor: pointer;
  padding-left: 18px;
  position: relative;
}

.number-copybtn::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  position: absolute;
  background: url(/src/copy.png) no-repeat;
  top: calc(50% - 9px);
  left: 0;
}

.list-result-item .copy-success {
  margin-left: 8px;
  font-size: 14px;
  color: var(--info);
}

.result-item-url a {
  color: var(--info);
  font-weight: 500;
}

.result-item-url a:empty {
  display: block;
  height: 24px;
  cursor: default;
}

.result-item-url a:empty::after {
  content: "-";
  color: #000;
}

.result-item-url::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  background: url(/src/homepage-icon.png) no-repeat;
  left: 0;
  top: 2px;
}

/* map */

#map {
  width: calc(100vw - 501px);
  height: 100%;
}

.map-ctrl-container {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 10;
}

.map-ctrl-container>* {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: none;
  background-color: #fff;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.16);
}

.map-ctrl-container button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-ctrl-container .map-ctrl-wrapper {
  height: 81px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.map-ctrl-container .map-ctrl-wrapper::after {
  content: "";
  width: 100%;
  border-bottom: 1px solid var(--border);
  position: absolute;
  top: 50%;
  left: 0;
}

.map-ctrl-container .map-ctrl-wrapper button {
  border: none;
  background-color: #fff;
  height: 40px;
  border-end-end-radius: 4px;
}

.map-ctrl-container .map-ctrl-wrapper>button:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.map-ctrl-container .map-ctrl-wrapper>button:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

/* footer */
footer {
  width: 100%;
  text-align: center;
}

footer .footer-upper {
  background: #F9FAFA;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
  line-height: 140%;
}

footer .footer-upper>div:nth-child(2) {
  margin-top: 4px;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
}

footer .footer-upper>div:nth-child(2) p:first-child {
  margin-right: 40px;
  position: relative;
}

footer .footer-upper>div:nth-child(2) p:first-child::after {
  content: "";
  position: absolute;
  height: 16px;
  border-right: 1px solid #222;
  opacity: 0.5;
  right: -20px;
  top: 4px;
}

footer .footer-upper .sub-txt {
  font-size: 14px;
  line-height: 170%;
  text-transform: capitalize;
}

footer .footer-bottom {
  background: #2C2C38;
  color: #fff;
  padding: 34px 0;
}

footer .footer-bottom ul {
  display: flex;
  width: fit-content;
  margin: auto;
}

footer .footer-bottom ul li {
  margin-right: 50px;
  position: relative;
}

footer .footer-bottom ul li::after {
  content: "";
  position: absolute;
  height: 16px;
  border-right: 1px solid #fff;
  top: 5px;
  right: -25px;
}

footer .footer-bottom ul li:last-child {
  margin-right: 0;
}

footer .footer-bottom ul li:last-child::after {
  display: none;
}

/* 셀렉박스 커스텀 */
.selectBox2 {
  position: relative;
  height: 44px;
  flex: 1;
  border: 1px solid var(--main);
}

.selectBox2::before {
  content: "";
  display: block;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 15px;
  height: 8px;
  background: url(/src/expand.png) no-repeat;
}

.selectBox2.active::before {
  transform: scaleY(-1);
}

.selectBox2 .label {
  font-size: 16px;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 8px 0 8px 15px;
  position: relative;
  cursor: pointer;
}

.selectBox2 .optionList {
  position: absolute;
  top: 42px;
  left: -1px;
  width: 100%;
  background: #fff;
  padding: 0;
  overflow: hidden;
  height: 0;
}

.selectBox2.active .optionList {
  height: auto;
  max-height: 300px;
  overflow: auto;
  /*width: 120px;*/
  border: 1px solid var(--main);
  border-top-color: var(--border);
  z-index: 10;
  cursor: pointer;
}

.selectBox2 .optionItem {
  border-bottom: 1px solid var(--border);
  line-height: 44px;
  padding-left: 15px;
  transition: .1s;
}

.selectBox2 .optionItem:hover {
  background: var(--main);
  color: #fff;
}

.selectBox2 .optionItem:last-child {
  border-bottom: 0 none;
}

.selectBox2 .optionList::-webkit-scrollbar {
  width: 6px;
}

.selectBox2 .optionList::-webkit-scrollbar-track {
  background: transparent;
}

.selectBox2 .optionList::-webkit-scrollbar-thumb {
  background: #303030;
  border-radius: 45px;
}

.selectBox2 .optionList::-webkit-scrollbar-thumb:hover {
  background: #303030;
}

.local-list-container .local-list {
  display: flex;
  flex-wrap: wrap;
}

.local-list-container .local-list .local {
  flex: 1 1 50%;
  padding: 16px 32px;
  color: var(--gray2, #222);
  line-height: 1.5;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.local-list-container .local-list .local:hover {
  background: rgba(0, 85, 196, 0.05);
  color: var(--main);
}

.local-list-container .local-list .local:nth-child(2n - 1) {
  border-right: 1px solid var(--border);
}

.local-list-container .shop-list-wrapper:not(.total-result-container) {
  display: flex;
  align-items: center;
  color: var(--gray2, #222);
  font-size: 18px;
  line-height: 155%;
}

.local-list-container .shop-list-wrapper .local-name{
  margin-left: 12px;
}
.local-list-container .shop-list-wrapper button {
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.local-list-container .list-result {
  max-height: 657px;
  /*overflow: auto;*/
}

#marker-modal {
  width: fit-content;
  height: fit-content;
  padding: 16px 24px 22px;
  background-color: #fff;
  border: 2px solid var(--main);
  position: relative;
}

#marker-modal>*:empty {
  pointer-events: none;
}

#marker-modal>*:empty::before {
  content: '-';
}

#marker-modal .badge-list {
  margin-bottom: 6px;
}

#marker-modal h3 {
  font-weight: 500;
  font-size: 18px;
  color: var(--main);
  margin-bottom: 12px;
}

#marker-modal>p,
#marker-modal>a {
  padding-left: 24px;
  position: relative;
}

#marker-modal>p:first-of-type::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 4px;
  left: 0;
  background: url(/src/address-icon.png) no-repeat;
}

#marker-modal>p:nth-of-type(3) {
  margin-top: 8px;
}

#marker-modal>p:nth-of-type(3)::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 2px;
  left: 0;
  background: url(/src/number-icon.png) no-repeat;
}

#marker-modal>a:nth-of-type(1) {
  display: inline-block;
  margin-top: 6px;
  color: var(--info);
  font-weight: 500;
}

#marker-modal>a:nth-of-type(1)::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 2px;
  left: 0;
  background: url(/src/homepage-icon.png) no-repeat;
}

#marker-modal::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -24px;
  left: calc(50% - 8px);
  width: 16px;
  height: 24px;
  background: url(/src/marker-modal-bg.png) no-repeat;
}

@media screen and (max-width: 1440px) {
  header .logo-area--left .title {
    font-size: 52px;
  }

  header .logo-area--left .sub-title-wrapper p {
    font-size: 14px;
  }

  header .logo-area--left .sub-title-wrapper p:nth-child(2) {
    font-size: 18px;
    padding-right: 7px;
  }

  header .logo-area--right .logo-list {
    justify-content: flex-end;
  }

  header .logo-area .logo-list li {
    flex-basis: 25%;
  }

  header .logo-area--right>li+li {
    margin-left: 8px;
  }
}