@charset "UTF-8";

/* フォントは Google Fonts（サブセット）を header.phtml から読み込み */

.org-header * {
    font-family: 'Noto Sans JP', sans-serif;
}

.org-header {
    position: sticky;
    z-index: 5;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
}

.org-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 15px;
    box-sizing: border-box;
    width: 100%;
    min-height: 100px;
}

.org-header__logo {
    margin: 0;
    flex-shrink: 0;
}

.org-header__logo-link {
    display: block;
    width: 241px;
    height: 50px;
}

.org-header__logo-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;

}

.org-header__body {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    padding-top: 4px;
}

.org-header__meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.org-header__tel-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.org-header__tel {
    display: flex;
    align-items: center;
    gap: 2px;
}

.org-header__tel-icon {
    display: block;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.org-header__tel-icon img {
    display: block;
    width: 30px;
    height: 30px;
}

.org-header__tel-num {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.5;
    color: #2951a7;
    white-space: nowrap;
}

.org-header__biz {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
    color: #55493b;
    white-space: nowrap;
}

.org-header__biz-line {
    margin: 0;
    color: #55493B;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.5;
}

.org-header__sns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.org-header__sns-link {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 0;
    transition: transform 0.3s ease;
}

.org-header__sns-link:hover{
    opacity: 1;
    transform: translateY(-5px);
}

.org-header__sns-link img {
    display: block;
    width: 30px;
    height: 30px;
}

.org-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 6px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #236cb1;
    background-color: #236cb1;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.org-header__cta:hover {
    opacity: 1;
    border-color: #236cb1;
    background-color: #ffffff;
    color: #236cb1;
}

.org-header__cta-icon {
    display: block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    mask-image: url(/images/top/icon_header-contact.svg);
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-image: url(/images/top/icon_header-contact.svg);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    transition: background-color 0.2s ease;
}

.org-header__cta:hover .org-header__cta-icon {
    background-color: #236cb1;
}

.org-header__cta-icon img {
    display: block;
    width: 20px;
    height: 20px;
    opacity: 0;
}

.org-header__cta-label {
    display: inline-block;
}

.org-header__gnavi-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
    margin: 0;
    padding: 0 20px 0 0;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #111111;
}

.org-header__gnavi-item {
    margin: 0;
}

.org-header__gnavi-link {
    position: relative;
    display: inline-block;
    color: #111111;
    text-decoration: none;
}

.org-header__gnavi-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #111111;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.org-header__gnavi-link:hover {
    opacity: 1;
    text-decoration: none;
}

.org-header__gnavi-link:hover::after {
    transform: scaleX(1);
}

/* 物件を探す（ホバーポップアップ） */

.org-header__gnavi-item--search {
    position: relative;
}

/* ボタンとポップアップの間をホバー可能にする（隙間で閉じないよう） */
.org-header__gnavi-item--search::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 583px;
    height: 12px;
    transform: translateX(-50%);
}

.org-header__gnavi-link--search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}

.org-header__gnavi-arrow {
    display: block;
    flex-shrink: 0;
    width: 14px;
    height: 8px;
    transition: transform 0.2s ease;
}

.org-header__gnavi-item--search:hover .org-header__gnavi-arrow,
.org-header__gnavi-item--search:focus-within .org-header__gnavi-arrow {
    transform: rotate(180deg);
}

.org-header__search-popup {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 110;
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 583px;
    padding: 14px 20px 20px;
    background-color: #e5edfd;
    box-shadow: 0 3px 1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    left: 3px;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.org-header__gnavi-item--search:hover .org-header__search-popup,
.org-header__gnavi-item--search:focus-within .org-header__search-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.org-header__search-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.org-header__search-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #111111;
    white-space: nowrap;
}

.org-header__search-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.org-header__search-divider {
    width: 1px;
    background-color: rgba(41, 81, 167, 0.15);
    align-self: stretch;
}

.org-header__search-popup-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 32px;
    padding: 0 10px;
    background-color: #2951a7;
    color: #ffffff;
    border: 1px solid #2951a7;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.org-header__search-popup-link:hover {
    opacity: 1;
    color: #2951a7;
    text-decoration: none;
    background-color: #ffffff;
}

