@charset "UTF-8";

/* Zen Kaku Gothic New */
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Regular.woff2);
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Medium.woff2);
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Zen Kaku Gothic New";
    src: url(/fonts/ZenKakuGothicNew-Bold.woff2);
    font-weight: 700;
    font-display: swap;
}

/* Noto Sans JP */
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Regular.woff2);
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Medium.woff2);
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: "Noto Sans JP";
    src: url(/fonts/NotoSansJP-Bold.woff2);
    font-weight: 700;
    font-display: swap;
}

/* Figma: creative_97837 / header
   TOP初期: 13074:2216（透明・白文字）
   下層・スクロール: 13144:3931（白背景・黒文字）
*/
.l-header.org-header,
.l-header {
    width: 100%;
    height: 90px;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
    border: none;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

/* 下層は sticky（TOPは fixed のまま） */
.l-header[data-page="sub"] {
    position: sticky;
}

.l-header .header__inner {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 20px 18px 20px 14px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.l-header .header__left {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.l-header .header__logo {
    display: block;
    line-height: 0;
}
.l-header .header__logo:hover {
    opacity: 1;
}

.l-header .header__logo img,
.l-header .header__logo-img {
    display: block;
    width: 100%;
    max-width: 277px;
    max-height: 62px;
    object-fit: contain;
}

.l-header .header__right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Gナビ（TOP初期：白） */
.l-header .header-nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.l-header .header-nav__link {
    display: inline-block;
    color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.l-header .header-nav__link:hover {
    opacity: 0.7;
    color: #ffdeae;
}

/* 下層・TOPスクロール時（白背景・#333） */
.l-header.is-solid {
    background-color: #fff;
}

.l-header.is-solid .header-nav__link {
    color: #333;
}

.l-header.is-solid .header-nav__link:hover {
    color: #b48e66;
    opacity: 1;
}

/* 物件検索アンカー時に追従ヘッダー分ずらす */
#search {
    scroll-margin-top: -150px;
}

/* Figmaヘッダーに無いテンプレ要素は非表示（メニュー本体・JSは維持） */
.l-header .header-search,
.l-header .header-service,
.l-header .header-contact,
.l-header .header-menu__trigger {
    display: none !important;
}
