.site-header {
    width: 100%;
    padding-right: 30px;
    padding-left: 38px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

@media screen and (max-width: 1024px) {
    .site-header {
        padding-left: 32px;
        padding-right: 14px;
        height: 71px;
        top: 0;
        left: 0;
        transform: unset;
        background-color: #fff;
        border-bottom: 1px solid #707070;
    }
}

.site-header__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ヘッダーロゴ */
.site-header__description {
    font-weight: 500;
    font-size: 12px;
    line-height: calc(19 / 12);
    margin-bottom: 13px;
    white-space: nowrap;
}

@media screen and (max-width: 1472px) {
    .site-header__description {
        font-size: 9px;
        line-height: calc(19 / 10);
        margin-bottom: 8px;
    }
}

@media screen and (max-width: 1024px) {
    .site-header__description {
        line-height: calc(16 / 10);
    }
}

.site-header__logo {
    max-width: 278px;
    color: #222222;
}

@media screen and (max-width: 1024px) {
    .site-header__logo {
        max-width: 227px;
    }
}

.site-header__logo img {
    width: 100%;
}

/* ヘッダー共通メニュー */
.global-nav {
    background-color: #FFFFFF;
    border-radius: 34px;
    box-shadow: 0px 3px 6px #00000029;
    height: 100%;
}

.global-nav__item.is-current > a {
  color: #2B9B7D;
}

.site-default-header .global-nav {
    padding-right: 3%;
    padding-left: 3%;
}

.global-nav__label ,.global-nav__area, .global-nav__item{
    word-break: keep-all;
    white-space: nowrap;
}
@media screen and (max-max-width: 1024px) {
    .site-default-header .global-nav {
        padding-right: 8px;
        padding-left: 8px;
    }
}

.global-nav__list {
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: .7px;
    line-height: calc(48 / 14);
}

.site-default-header .global-nav__list {
    gap: 23px;
}

@media screen and (max-width: 1472px) {
    .site-default-header .global-nav__list {
        gap: 12px;
    }
}

@media screen and (max-width: 1245px) {
    .site-default-header .global-nav__list {
        gap: 5px;
    }

    .global-nav__list {
        font-size: 11px;
    }
}

.global-nav__separator {
    flex-shrink: 0;
    width: 1px;
    /* 線の太さ */
    height: 25px;
    /* 線の長さ（必要に応じて px / %） */

    background-image: repeating-linear-gradient(to bottom,
            /* 縦方向 */
            #000000 0 1px,
            /* ドットの長さ */
            transparent 1px 5px
            /* 間隔4 */
        );
}

.global-nav__item-dot {
    display: flex;
    gap: 4px;
    align-items: center;
}

.global-nav__item-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 2.9px;
}

.menu-toggle {
    display: none;
}

.site-default-header .menu-btn {
    display: none;
}

.site-buy-header .menu-btn {
    display: flex;
}

/* ハンバーガーアイコン */
.menu-btn {
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px;
    cursor: pointer;
    z-index: 200;
}

.menu-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background: #222222;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* 物件画面ヘッダー調整 */
.site-buy-header .global-nav {
    padding-right: 10px;
    padding-left: 30px;
}

@media screen and (max-width: 1568px) {
    .site-buy-header .global-nav {
        padding-right: 10px;
        padding-left: 37px;
    }
}

.site-buy-header .global-nav__list {
    justify-content: space-between;
    gap: 64px;
    align-items: center;
}

@media screen and (max-width: 1568px) {
    .site-buy-header .global-nav__list {
        gap: 15px;
    }
}

.site-buy-header .global-nav__group {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media screen and (max-width: 1568px) {
    .site-buy-header .global-nav__group {
        gap: 15px;
    }
}

.site-buy-header .global-nav__sub-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

@media screen and (max-width: 1568px) {
    .site-buy-header .global-nav__sub-list {
        gap: 10px;
    }
}

.site-buy-header .global-nav__icon-list {
    display: flex;
    gap: 17px;
    align-items: center;
}

.site-buy-header .global-nav__icon-list {
    gap: 8px;
}

.site-buy-header .global-nav__separator-slash {
    width: 11px;
    height: 11px;
    background: linear-gradient(-45deg,
            transparent 48%,
            #B7B7B7 48%,
            #B7B7B7 52%,
            transparent 52%);
}

.site-buy-header .global-nav__icon-list-heart {
    color: #EB8E22;
    font-size: 33px;
    line-height: 1;
}

.site-buy-header .global-nav__icon-list-mail {
    border-radius: 50%;
    background-color: #E85959;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-buy-header .global-nav__icon-list-menu {
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2B9B7D;
    z-index: 5;
}

.site-buy-header .menu-btn span {
    background: #ffffff;
}

/* ハンバーガーメニュ展開デザイン */

@media screen and (max-width: 1300px) {
    .site-header.site-buy-header {
        padding-left: 32px;
        padding-right: 14px;
        height: 71px;
        top: 0;
        left: 0;
        transform: unset;
        background-color: #fff;
        border-bottom: 1px solid #707070;
    }

    .site-buy-header .global-nav {
        border-radius: unset;
        box-shadow: unset;
        background: unset;
        padding-right: 0;
        padding-left: 0;
    }

    .site-buy-header .global-nav__label,
    .site-buy-header .global-nav__sub-list {
        display: none;
    }
  /*SPbuyグローバルナビ調整*/
    .site-buy-header .global-nav__icon-list-menu {
        background-color: unset;
        width: auto;
    }

    .site-buy-header .menu-btn span {
        background: #222;
    }
}
/*SP米子・境港・鳥取・倉吉・松江・出雲の不動産とまちの情報サイトを隠す*/
@media screen and (max-width: 520px) {
  .site-buy-header .site-header__description {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
    .site-default-header .menu-btn {
        display: flex;
    }

    .site-default-header .global-nav {
        overflow-y: auto;
        border-radius: unset;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        min-height: 100vh;
        background: #fff;
        transition: right 0.3s ease;
        box-shadow: unset;
        padding-top: 74px;
        padding-bottom: 74px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .site-default-header .global-nav__list {
        flex-direction: column;
        align-items: unset;
        gap: 24px;
        font-size: 16px;
        letter-spacing: 0.75px;
        line-height: 1;
    }

    .global-nav__separator {
        width: 100%;
        /* 線の太さ */
        height: 1px;
        /* 線の長さ（必要に応じて px / %） */

        background-image: repeating-linear-gradient(to right,
                /* 縦方向 */
                #000000 0 1px,
                /* ドットの長さ */
                transparent 1px 5px
                /* 間隔4 */
            );
    }
}

.buy-global-nav {
    overflow-y: auto;
    border-radius: unset;
    position: fixed;
    top: -20px;
    right: -100%;
    width: 100%;
    max-width: 293px;
    background: #fff;
    transition: right 0.3s ease;
    box-shadow: unset;
    padding-top: 93px;
    padding-bottom: 64px;
    padding-right: 27px;
    padding-left: 41px;
}

@media screen and (max-width: 1300px) {
    .buy-global-nav {
        padding-top: 74px;
        padding-right: 32px;
        padding-left: 32px;
        padding-bottom: 74px;
        max-width: unset;
        min-height: 100vh;
        font-size: 16px;
        letter-spacing: 0.75px;
        line-height: 1;
        top: 0;
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* チェックされたら右からスライドイン */
.menu-toggle:checked~.global-nav {
    right: 0;
}

.menu-toggle:checked~.buy-global-nav {
    right: 0;
}

/* ×アニメーション */
.menu-toggle:checked+.menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle:checked+.menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked+.menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-toggle:checked+.global-nav__icon-list-menu .menu-btn span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle:checked+.global-nav__icon-list-menu .menu-btn span:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked+.global-nav__icon-list-menu .menu-btn span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.buy-global-nav__separator {
    width: 100%;
    /* 線の太さ */
    height: 1px;
    /* 線の長さ（必要に応じて px / %） */

    background-image: repeating-linear-gradient(to right,
            /* 縦方向 */
            #000000 0 1px,
            /* ドットの長さ */
            transparent 1px 5px
            /* 間隔4 */
        );
}

.buy-global-nav__child-gp {
    display: none;
}
/*ホバー効果*/
.global-nav__item a {
  display: block;
  transition: opacity 0.2s ease;
}

.global-nav__item a:hover {
  opacity: 0.7;
}

.global-nav__area a {
  display: block;
  transition: opacity 0.2s ease;
}

.global-nav__area a:hover {
  opacity: 0.7;
}
  .buy-global-nav__item a{
      transition: opacity 0.2s ease;
  }
  .buy-global-nav__item:hover {
  opacity: 0.7;
}



.global-nav__search{
  display: block;
  transition: opacity 0.2s ease;
}

.global-nav__search:hover {
  opacity: 0.7;
}
@media screen and (max-width: 1300px) {
    .buy-global-nav__list {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .buy-global-nav__child-gp {
        display: flex;
        column-gap: 30px;
        row-gap: 24px;
        flex-wrap: wrap;
        padding-left: 16px;
        margin-bottom: 10px;
    }

    .buy-global-nav__child-item {
        display: flex;
        column-gap: 8px;
        align-items: center;
    }

    .buy-global-nav__child-item::after {
        content: '';
        display: block;
        width: 6px;
        height: 6px;
        border-top: 1px solid #222222;
        border-right: 1px solid #222222;
        transform: rotate(45deg);
    }
}

.sp-only {
    display: none;
}

@media screen and (max-width: 519px) {
    .pc-only {
        display: none;
    }
    .sp-only {
        display: block;
    }}