@charset "UTF-8";

/* Zen Old Mincho Medium */
@font-face {
    font-family: "Zen Old Mincho";
    src: url("/fonts/ZenOldMincho-Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

/*-------------------------------------------------------------------------
RESET
-------------------------------------------------------------------------*/

.org-header a:hover,
.org-header button:hover {
    opacity: 1;
}

/*-------------------------------------------------------------------------
ORG HEADER
-------------------------------------------------------------------------*/

.l-header.org-header {
    width: 100%;
    background-color: #f5f4ef;
    box-shadow: 0 4px 3px rgba(78, 75, 68, 0.15);
    position: sticky;
    top: 0;
    z-index: 8;
}

.org-header__inner {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px 11px;
}

.org-header__logo-wrap {
    margin: 0;
    font-size: 0;
    line-height: 0;
}

.org-header__logo {
    display: block;
}

.org-header__logo img {
    display: block;
    width: 169px;
    height: 58px;
    max-width: 169px;
    max-height: 58px;
    object-fit: contain;
}

.org-header__nav-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding-top: 2px;
}

/* util（お気に入り・閲覧履歴）
--------------------------- */
.org-header__util {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

[class*="org-header__util-link"] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 110px;
    height: 27px;
    border: 1px solid #4c4c4c;
    border-radius: 9999px;
    box-sizing: border-box;
    background-color: transparent;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.org-header__util-link--history {
    gap: 4px;
    padding-left: 1px;
}

.org-header__util-txt {
    color: #4c4c4c;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    padding-bottom: 1px;
    transition: color 0.3s ease;
}

.org-header__util-icn {
    display: block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.org-header__util-link--history .org-header__util-icn {
    width: 14px;
    height: 14px;
}

[class*="org-header__util-link"]:hover {
    background-color: #4c4c4c;
    border-color: #4c4c4c;
}

[class*="org-header__util-link"]:hover .org-header__util-txt {
    color: #fff;
}

[class*="org-header__util-link"]:hover .org-header__util-icn {
    filter: brightness(0) invert(1);
}

.org-header__badge {
    position: absolute;
    top: -6px;
    right: -2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 9999px;
    background-color: #4c4c4c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    box-sizing: border-box;
}

.org-header__badge:empty {
    display: none;
}

/* main nav
--------------------------- */
.org-header__nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

[class*="org-header__nav-item"] {
    list-style: none;
}

.org-header__nav-item--pulldown {
    position: relative;
}

.org-header__nav-link,
.org-header__nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 0 4px;
    border: none;
    background: transparent;
    color: #4c4c4c;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.org-header__nav-link::after,
.org-header__nav-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #4c4c4c;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.org-header__nav-link:hover::after,
.org-header__nav-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.org-header__nav-arw {
    display: block;
    width: 10px;
    height: 5px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.org-header__nav-btn.is-active .org-header__nav-arw,
.org-header__nav-btn[aria-expanded="true"] .org-header__nav-arw {
    transform: rotate(180deg);
}

/* 物件を探すプルダウン
--------------------------- */
.org-header .header-pulldown {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.org-header .header-pulldown__list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 120px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
    position: static;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 10;
}

.org-header .header-pulldown__list.is-show {
    opacity: 1;
    visibility: visible;
}

.org-header .header-pulldown__list.is-hide {
    opacity: 0;
    visibility: hidden;
}

.org-header .header-pulldown__items {
    margin: 0;
    padding: 0;
    border: none;
}

.org-header .header-pulldown__items:not(:last-child) {
    border-bottom: none;
}

.org-header .header-pulldown__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 8px 0;
    box-sizing: border-box;
    background-color: #e9e5dc;
    color: #4c4c4c;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.org-header .header-pulldown__link:hover {
    background-color: #4c4c4c;
    color: #fff;
}

.org-header .header-pulldown__link svg {
    display: none;
}

/* 各種お問い合わせメニュー
--------------------------- */
.org-header__contact-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
    width: 120px;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: transparent;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
    z-index: 10;
}

.org-header__contact-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.org-header__contact-menu > li {
    margin: 0;
    padding: 0;
    border: none;
}

.org-header__contact-menu > li:not(:last-child) {
    border-bottom: none;
}

[class*="org-header__contact-link"] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 40px;
    padding: 8px 0;
    box-sizing: border-box;
    background-color: #e9e5dc;
    color: #4c4c4c;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

[class*="org-header__contact-link"]:hover {
    background-color: #4c4c4c;
    color: #fff;
}

.org-header__contact-link--multi {
    line-height: 1.1;
}

.org-header__contact-link--multi span {
    display: block;
    color: inherit;
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

#search {
    scroll-margin-top: 150px;
}
