* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
}
ul {
  list-style: none;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  transition: all 0.5s;
  z-index: 9999;
}
#header .inner {
  margin: 0 auto;
  max-width: 1760px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .m-inner {
  display: none;
}
#header .logo {
  display: flex;
  align-items: center;
}
#header .logo .image {
  display: flex;
  align-items: center;
  width: 40px;
}
#header .logo .image img {
  display: block;
  width: 100%;
  height: auto;
}
#header .logo .text {
  font-size: 32px;
  font-weight: 500;
  color: #000;
  padding: 0 10px;
}
#header .gnb {
  display: flex;
}
#header .gnb > li > a {
  display: block;
  font-size: 24px;
  font-weight: 500;
  padding: 30px 20px;
  position: relative;
}
#header:hover .gnb > li:not(.active) > a {
  color: #000;
}
#header .gnb > li.active > a {
  color: var(--brand-color2);
  font-weight: 700;
}
#header .gnb > li:not(.active) > a {
  color: var(--gray-color5);
}
#header .gnb > li:not(.active):hover > a {
  color: var(--brand-color1);
}
#header .gnb > li > a::after {
  content: '';
  bottom: 0;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 20px;
  background: url(../images/circle20.png) no-repeat;
  transform: scale(0);
  transition: all 0.5s;
  position: absolute;
}
#header .gnb .search-menu a {
  display: flex;
  align-items: center;
  gap: 5px;
}
#header .gnb .search-icon {
  display: block;
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  background: url('/images/search-red.png') center / contain no-repeat;
}
#header .gnb > li:hover > a::after {
  transform: scale(1);
}
#header .contact-menu {
  display: flex;
  align-items: center;
}
#header .contact-menu .phone {
  font-size: 22px;
  color: #000;
}
#header .contact-menu .phone:hover {
  color: var(--brand-color1);
}
#header .contact-menu .divider {
  font-size: 24px;
  padding: 0 10px;
  color: var(--gray-color5);
}
#header .contact-menu .kakao {
  display: flex;
  align-items: center;
  width: 22px;
}
#header .contact-menu .kakao img {
  display: block;
  width: 100%;
  height: auto;
}

#sub-container {
  min-height: 100vh;
  padding-top: 140px;
  background: #171717;
}
.travel-search {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: 1000px;
  margin: 0 auto;
}
.search-select {
  flex: 1;
}
.search-select label {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  color: #fff;
}
.search-select select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background-color: #fff;
  font-size: 20px;
  color: #000;
  cursor: pointer;
}
.search-select select:disabled {
  background-color: var(--gray-color6);
  color: #000;
  cursor: default;
}
#searchBtn {
  width: 110px;
  height: 52px;
  border: 0;
  border-radius: 4px;
  background-color: var(--brand-color1);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

/* 테블릿 분기점 */
@media (max-width: 1200px) {
  #header .logo .image {
    width: 24px;
  }
  #header .logo .text {
    font-size: 20px;
    padding: 0 5px;
  }
  #header .gnb > li > a {
    font-size: 18px;
    padding: 20px 10px;
  }
  #header .gnb > li > a::after {
    width: 16px;
    height: 16px;
    margin-left: -8px;
    background: url(../images/circle16.png) no-repeat;
  }
  #header .contact-menu .phone {
    font-size: 16px;
  }
  #header .contact-menu .divider {
    font-size: 18px;
    padding: 0 5px;
  }
  #header .contact-menu .kakao {
    width: 16px;
  }
  #sub-container {
    padding: 110px 30px 0;
  }
  .travel-search {
    gap: 10px;
    max-width: 800px;
  }
  .search-select label {
    margin-bottom: 7px;
    font-size: 18px;
  }
  .search-select select {
    height: 48px;
    padding: 0 14px;
    font-size: 18px;
  }
  #searchBtn {
    width: 100px;
    height: 48px;
    font-size: 18px;
  }
}

/* 모바일 분기점 */
@media (max-width: 767px) {
  #header .inner {
    position: relative;
    justify-content: center;
    padding: 10px 10px 0 10px;
  }
  #header .logo .image {
    width: 20px;
  }
  #header .logo .text {
    font-size: 16px;
    padding: 0 5px;
  }
  #header .gnb-wrap {
    display: none;
  }
  #header .contact-menu {
    position: absolute;
    right: 10px;
  }
  #header .contact-menu .phone {
    font-size: 12px;
  }
  #header .contact-menu .divider {
    font-size: 14px;
  }
  #header .contact-menu .kakao {
    width: 12px;
  }
  #header .m-inner {
    display: block;
    margin: 0 auto;
    max-width: 1760px;
    padding: 0 10px;
  }
  #header .m-gnb-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #header .m-gnb-wrap::-webkit-scrollbar {
    display: none;
  }
  #header .m-gnb {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    padding: 0 10px;
    gap: 5px;
  }
  #header .m-gnb > li {
    flex-shrink: 0;
  }
  #header .m-gnb > li > a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    padding: 10px;
    white-space: nowrap;
    position: relative;
  }
  #header:hover .m-gnb > li:not(.active) > a {
    color: #000;
  }
  #header .m-gnb > li.active > a {
    color: var(--brand-color2);
    font-weight: 700;
  }
  #header .m-gnb > li:not(.active) > a {
    color: var(--gray-color5);
  }
  #header .m-gnb > li:not(.active):hover > a {
    color: var(--brand-color1);
  }
  #header .m-gnb > li > a::after {
    content: '';
    bottom: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    background: url(../images/circle12.png) no-repeat;
    transform: scale(0);
    transition: all 0.5s;
    position: absolute;
  }
  #header .m-gnb .search-menu a {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  #header .m-gnb .search-icon {
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    background: url('/images/search-red.png') center / contain no-repeat;
  }
  #header .m-gnb > li:hover > a::after {
    transform: scale(1);
  }
  #sub-container {
    padding: 110px 20px 0;
  }
  .travel-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: none;
  }
  .search-select {
    width: 100%;
  }
  .search-select label {
    margin-bottom: 6px;
    font-size: 16px;
  }
  .search-select select {
    height: 46px;
    padding: 0 12px;
    font-size: 16px;
  }
  #searchBtn {
    width: 100%;
    height: 46px;
    margin-top: 4px;
    font-size: 16px;
  }
}
