@font-face {
    font-family: 'Montserrat';
    src: url(/fonts/Montserrat-Medium.ttf);
    font-weight: 500;
    font-display: swap;
}
.l-header {
    padding: 13px 10px 13px 7px;
    z-index: 6;
}
.header__logo img {
    max-width: 100%;
    width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: cover;
}
.header__inner {
    display: flex;
    margin: 0;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.header__left {
    display: flex;
    align-items: center;
    width: 317px;
    height: 69px;
}
.header__logo {
    display: block;
    width: 326px;
    height: 69px;
}
.header__right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}
.header__navi-list {
    display: flex;
    gap: 2px;
    padding: 5px 5px 5px 15px;
    width: 814px;
    height: 56px;
    border-radius: 999px;
    background: #FFF1CC;
    align-items: center;
}
.header__navi-top {
    width: 78px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 1px;
    justify-content: center;
}
[class*="header__navi--"] {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
}
[class*="header__navi--item"] {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-inline: 10px;
    align-items: center;
    padding-top: 2px;
}
.header__navi--item--separate {
    padding-block: 0 2px;
}
.header__navi--btn {
    font-size: 14px;
}
.header__navi--text {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    line-height: 110%;
}
.header__navi-box {
    display: flex;
    gap: 10px;
}
.header__navi-box-item {
    width: fit-content;
    flex-shrink: 0;
    position: relative;
}
.header__navi--btn {
    display: flex;
    position: relative;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 110%;
    position: relative;
    align-items: center;
    gap: 3px;
}
.header__navi--item--separate .header__navi--btn {
    gap: 2px;
}
.header__navi--item--contact {
    padding: 0;
}
.header__navi--item--contact .header__navi-box-item {
    width: 143px;
    height: 46px;
}
.header__navi--item--contact .header__navi--btn {
    border-radius: 999px;
    background: #F39801;
    padding: 10px 15px 10px 17px;
    color: #FFF;
    font-size: 16px;
    width: 100%;
    height: 100%;
}
.header__navi--item--contact .header__navi--btn.open {
    color: #FFF;
}

.header__right-bottom {
    display: flex;
    gap: 15px;
    padding-right: 10px;
}
.header__profile-list {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}
.header__profile-time {
    display: flex;
    gap: 4px;
    padding-bottom: 3px;
}
.header__profile-time-text {
    color: #8F8F8F;
    font-size: 11px;
    font-weight: 400;
    line-height: 120%;
}
.header__tel {
    color: #43360A;
    text-align: right;
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 500;
    line-height: 100%;
    letter-spacing: 0;
}
.header__tel-color {
    color:#F39801;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    line-height: 120%;
    letter-spacing: 0.021em;
}
.header__favorite {
    width: 98px;
    height: 30px;
}
.header__favorite-text {
    color: #C5861C;
    font-size: 11px;
    font-weight: 400;
    line-height: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    border-radius: 9999px;
    border: 1px solid #C5861C;
    align-items: center;
    padding-left: 28px;
    position: relative;
    background: #FFFFFF;
}
.header__favorite-text::before {
    content: "";
    position: absolute;
    background: url(/images/top/header__favorite.svg) no-repeat center / cover;
    width: 13px;
    height: 13px;
    top: 0;
    bottom: 0;
    left: 11px;
    margin: auto;
}
.header__favorite-text:hover {
    color: #FFFFFF;
    background: #C5861C;
    opacity: 1;
}
.header__favorite-text:hover::before {
    background: url(/images/top/header__favorite-on.svg) no-repeat center / cover;
}

.dropdown__menu {
    visibility: hidden;
    opacity: 0;
    transition: .4s;
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 370px;
    background: #FFFAE9;
    padding: 39px 60px 44px;
    position: absolute;
    top: 40px;
    left: -161px;
    z-index: 10;
    border: 1px solid #DBD4BD;
    border-radius: 20px;
}
.dropdown__menu::before {
    content: "";
    position: absolute;
    background: url(/images/top/dropdown__menu.arrow.svg);
    width: 27px;
    height: 13px;
    top: -12px;
    right: 170px;
}
.header__navi--item--sell .dropdown__menu{
    left: -145px;
    top: 52px;
}
.header__navi--item--management .dropdown__menu {
    left: -121px;
    top: 52px;
}
.header__navi--item--us .dropdown__menu {
    left: -130px;
    top: 52px;
}
.header__navi-box-item-buy .dropdown__menu {
    left: -170px;
    top: 41px;
}
.header__navi--item--contact .dropdown__menu {
    left: -230px;
    top: 66px;
    gap: 22px;
}
.header__navi--item--sell .dropdown__menu::before {
    right: 170px;
}
.header__navi--item--management .dropdown__menu::before {
    right: 170px;
}
.header__navi-box-item-buy  .dropdown__menu::before {
    right: 169px;
}
.header__navi--item--us .dropdown__menu::before {
    right: 180px;
}
.header__navi--item--contact .dropdown__menu::before {
    right: 54px;
}
.dropdown__menu.show {
    visibility: visible;
    opacity: 1;
    z-index: 11;
}
.dropdown__menu-title {
    color: #F39801;
    font-size: 24px;
    font-weight: 700;
    line-height: 140%;
    text-align: left;
}
.dropdown__menu--list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.dropdown__menu-item {
    width: 247px;
    height: 41px;
}
.dropdown__menu-item-big {
    height: 63px;
}
.dropdown__menu-item-link {
    color: #43360A;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #DBD4BD;
    width: 100%;
    height: 100%;
    text-align: left;
}
.dropdown__menu-item-link::after {
    content: "";
    background: url(/images/top/dropdown__menu-arrow.svg) no-repeat center / cover;
    width: 7px;
    height: 12px;
}
.dropdown__menu-item-link:hover {
    color: #F39801;
    border-bottom: 1px solid #F39801;
    opacity: 1;
}
.header-arrow {
    transition: transform 0.3s ease;
}
.header__navi--btn.open .header-arrow {
    transform: rotate(180deg);
}
.header__navi--btn {
    transition: color 0.3s ease;
}
[class*="header__navi--"]:hover {
    color: #E48500; 
    opacity: 1;
}
.header__navi--btn.open {
    color: #E48500;
}
.dropdown__contact {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.dropdown__menu-text {
    color: #797366;
    font-size: 16px;
    font-weight: 400;
    line-height: 160%;
    text-align: left;
}
.header__navi--item--contact .header__navi--btn.open {
    color: #FFF;
    background: #B47712;
}
.header__navi--item--contact .header__navi--btn:hover {
    color: #FFF;
    background: #B47712;
}

button.dropdown__menu-item-link {
  background: transparent;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.modal {
  display: none; 
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  margin: 10% auto;
  width: 100%;
  max-width: 1000px;
}

.close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

video {
  display: block;
  background: #000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hover-text {
  display: none;
}
.dropdown__menu-item-link:hover .default-text {
  display: none;
}
.dropdown__menu-item-link:hover .hover-text {
  display: block;
}
.contact-card {
    top: 30px !important;
}
.reservation-side-link {
    z-index: 5 !important;
}
.navi-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.navi-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
