.header-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 30;
  background: #333333;
  color: #ffffff;
}
.header-container a {
  text-decoration: none;
  color: inherit;
}
.header-container img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.header-container input {
  border: 0;
  outline: none;
  box-shadow: none;
}
.header-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.header-container .header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
}
.header-container .header-left {
  position: relative;
  flex: 0 0 21vw;
  width: 21vw;
  display: flex;
  align-items: center;
  padding-left: 0.8vw;
  z-index: 1;
}
.header-container .header-left::before {
  content: "";
  position: absolute;
  inset: 0 -1px -1px 0;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
  transform: translateZ(0);
  z-index: -1;
}
.header-container .header-logo {
  width: 90%;
}
.header-container .header-center {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 1.3vw;
}
.header-container .header-menu {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}
.header-container .header-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2vw;
  height: 100%;
}
.header-container .menu-item {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.header-container .menu-item a {
  display: flex;
  align-items: center;
  height: 100%;
  font-size: 0.8vw;
  line-height: 1.4;
  white-space: nowrap;
}
.header-container .header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.9vw;
  padding-right: 1.5vw;
}
.header-container .header-phone {
  font-size: 1.2vw;
  line-height: 1;
  white-space: nowrap;
}
.header-container .header-reserve-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6vw;
  min-height: 2.2vw;
  padding: 0.4vw 1.1vw;
  border-radius: 999px;
  background: #ffffff;
  color: #2f2f2f;
  font-size: 1.1vw;
  line-height: 1;
  white-space: nowrap;
}
.header-container .header-search {
  width: 14.9vw;
  position: relative;
}
.header-container .header-search .header-search-icon {
  position: absolute;
  left: 0.7vw;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
}
.header-container .header-search .header-search-icon i {
  font-size: 0.9vw;
  pointer-events: none;
}
.header-container .header-search input {
  width: 100%;
  height: 2vw;
  padding: 0 0.7vw 0 2vw;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.3vw;
  background: transparent;
  color: #ffffff;
  font-size: 0.7vw;
}
.header-container .header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-weight: 400;
}
.header-container .header-menu-button {
  display: none;
  width: 7vw;
  height: 5.1vw;
  font-size: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.header-container .menu-line {
  display: block;
  width: 100%;
  height: 0.5vw;
  background: #2f2f2f;
  border-radius: 999px;
}
.header-container .menu-line + .menu-line {
  margin-top: 1.4vw;
}
.header-container .mobile-menu-container {
  display: none;
}

@media screen and (min-width: 769px) {
  body:has(.header-container) {
    --realestatehub-fixed-offset-pc: 3.2vw;
  }
  .header-container .header-inner {
    box-sizing: border-box;
    height: 3.2vw;
  }
}
@media screen and (max-width: 768px) {
  body:has(.header-container) {
    padding-top: calc(env(safe-area-inset-top, 0px) + 2.3vw + 2.3vw + 11vw);
  }
  .header-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    background: #ffffff;
    color: #2f2f2f;
  }
  .header-container .header-inner {
    padding: 2.3vw 2.1vw;
  }
  .header-container .header-left {
    flex: 1 1 60vw;
    width: 60vw;
  }
  .header-container .header-logo {
    width: 100%;
  }
  .header-container .header-center,
  .header-container .header-phone,
  .header-container .header-search {
    display: none;
  }
  .header-container .header-right {
    flex: 0 0 40vw;
    width: 40vw;
    margin-left: 0;
    justify-content: flex-end;
    gap: 2.3vw;
  }
  .header-container .header-reserve-button {
    min-width: 28.4vw;
    min-height: 9.3vw;
    padding: 1.9vw 4.2vw;
    background: #2f2f2f;
    color: #ffffff;
    font-size: 4.9vw;
  }
  .header-container .header-menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0;
  }
  .header-container .menu-line {
    background: #2f2f2f;
    height: 0.6vw;
  }
  .header-container .menu-line + .menu-line {
    margin-top: 1.2vw;
  }
  .header-container .mobile-menu-container {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .header-container .mobile-menu-container.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header-container .mobile-menu-inner {
    min-height: 100%;
    padding: 2.3vw 2.1vw 4.7vw;
    display: flex;
    flex-direction: column;
  }
  .header-container .mobile-menu-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-container .mobile-menu-logo {
    width: 65%;
  }
  .header-container .mobile-menu-close-button {
    position: relative;
    width: 5.6vw;
    height: 5.6vw;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .header-container .close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0.5vw;
    background: #2f2f2f;
    border-radius: 999px;
  }
  .header-container .close-line:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .header-container .close-line:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .header-container .mobile-menu-search {
    margin-top: 4.2vw;
    position: relative;
  }
  .header-container .mobile-menu-search .mobile-menu-search-icon {
    position: absolute;
    left: 3.3vw;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
    line-height: 1;
  }
  .header-container .mobile-menu-search .mobile-menu-search-icon i {
    font-size: 4.2vw;
    pointer-events: none;
  }
  .header-container .mobile-menu-search input {
    width: 100%;
    height: 10.2vw;
    padding: 0 3.3vw 0 10vw;
    border: 1px solid #d7d7d7;
    border-radius: 1.4vw;
    background: #ffffff;
    color: #2f2f2f;
    font-size: 3.3vw;
  }
  .header-container .mobile-menu-search input::placeholder {
    color: #9a9a9a;
  }
  .header-container .mobile-menu-reserve {
    margin-top: 7.9vw;
    display: flex;
    justify-content: center;
  }
  .header-container .mobile-menu-reserve-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39.1vw;
    min-height: 9.3vw;
    padding: 1.9vw 6.5vw;
    border-radius: 999px;
    background: #2f2f2f;
    color: #ffffff;
    font-size: 4.9vw;
    line-height: 1;
    white-space: nowrap;
  }
  .header-container .mobile-menu-nav {
    margin-top: 7.9vw;
  }
  .header-container .mobile-menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.6vw;
  }
  .header-container .mobile-menu-list .menu-item {
    margin-bottom: 0;
  }
  .header-container .mobile-menu-list .menu-item a {
    display: flex;
    align-items: center;
    font-size: 5.6vw;
    line-height: 1.35;
    color: #333333;
  }
  .header-container .mobile-menu-social {
    margin-top: auto;
    padding-top: 6.5vw;
    border-top: 1px solid #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6.5vw;
  }
  .header-container .social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8vw;
    height: 8vw;
  }
}
