/* 土地詳細 PCフローティングヘッダ（Figma floating_header 準拠） */

body.single-residential .land-anchor-badge {
  display: none;
}

@media (min-width: 768px) {
  body:is(.single-land, .single-residential) {
    padding-top: 11.6rem;
  }

  body:is(.single-land, .single-residential) .land-floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
  }

  body:is(.single-land, .single-residential) .land-floating-header > header {
    display: block;
  }

  /* 上段: ロゴ + キャッチ / CTA */
  body:is(.single-land, .single-residential) .land-floating-header .nav.scrolled {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 2.4rem;
    min-height: 6.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7.3rem;
    background: #fff;
    box-sizing: border-box;
    z-index: 1;
  }

  body:is(.single-land, .single-residential) .land-floating-header .nav.scrolled > a.land-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    min-width: 0;
    max-width: none;
  }

  body:is(.single-land, .single-residential) .land-floating-header .nav.scrolled .logo {
    height: auto;
    max-height: 4.8rem;
    width: auto;
    display: block;
  }

  /* Figma header_cta: Shippori Mincho 18/500 / lh 1 / padding 8 18 / gap 10 / arrow 16 */
  body:is(.single-land, .single-residential) .land-header-cta {
    display: inline-flex !important;
    flex-wrap: nowrap;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-shrink: 0;
    height: auto;
    padding: 0.8rem 1.8rem;
    background: #cb0000;
    color: #fff;
    text-decoration: none;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1;
    box-sizing: border-box;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s;
  }

  body:is(.single-land, .single-residential) .land-header-cta:hover {
    opacity: 0.7;
  }

  body:is(.single-land, .single-residential) .land-header-cta__arrow {
    display: inline-block;
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: url("../img/new_common/header-cta-arrow-down.svg") center / contain no-repeat;
    transform: none;
    position: static;
  }

  /* 下段: 中央寄せの固定幅アンカー（全幅等分ではない） */
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav {
    position: relative;
    top: auto !important;
    left: auto;
    right: auto;
    bottom: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    height: 4.8rem;
    margin: 0;
    padding: 0 2.4rem;
    background: #fff;
    border-top: 0.1rem solid #e5e5e5;
    box-shadow: none;
    pointer-events: auto;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    padding: 0.8rem 0;
    list-style: none;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li {
    flex: 0 0 14.4rem;
    width: 14.4rem;
    margin: 0;
    padding: 0 2.4rem;
    border-right: 0.1rem solid #ddd;
    text-align: center;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li:last-child {
    border-right: none;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li:first-child {
    border-left: none;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a,
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 0;
    padding: 0 0 0.4rem;
    box-sizing: border-box;
    color: #666;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    letter-spacing: 0.02em;
    position: relative;
    border-bottom: 0.1rem solid transparent;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a::after,
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li span::after {
    display: none !important;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav {
    height: 4.8rem;
    min-height: 4.8rem;
  }

  /* Figma txt: row / gap 4 / 公開中 + プラン情報を1行（他項目と上下位置揃え） */
  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li:has(.land-anchor-badge) {
    flex: 0 0 auto;
    width: auto;
    min-width: 14.4rem;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a .land-anchor-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    max-width: max-content;
    margin: 0;
    padding: 0.3rem 0.4rem;
    border: 0;
    border-radius: 0;
    border-bottom: 0;
    background: #cb0000;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a .land-anchor-label {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    line-height: inherit;
    white-space: nowrap;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a {
    opacity: 1;
    transition: opacity 0.3s;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a:hover {
    opacity: 0.7;
  }

  /* アクティブ（スクロール位置 / .is-current） */
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li.is-current a {
    color: #111;
    border-bottom-color: #111;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li.is-disabled span {
    color: #bbb;
    cursor: default;
  }

  body:is(.single-land, .single-residential) .land-floating-header .humberguer {
    display: none !important;
  }

  /* PCサイドCTA（Figma side_CTA: 48px / アイコン上＋文言のみ縦書き）
     初期は非表示。200pxスクロールで .is-visible（single-land / single-residential の JS） */
  body:is(.single-land, .single-residential) .floting-btn {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    position: fixed;
    top: 13.6rem;
    right: 0;
    left: auto;
    bottom: auto;
    width: 4.8rem;
    max-width: 4.8rem;
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
    writing-mode: horizontal-tb;
  }

  body:is(.single-land, .single-residential) .floting-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body:is(.single-land, .single-residential) .floting-btn > p {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    width: 4.8rem !important;
    min-width: 4.8rem;
    max-width: 4.8rem;
    margin: 0;
    overflow: hidden;
  }

  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__tel,
  body:is(.single-land, .single-residential) .floting-btn .humberguer {
    display: none !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-sizing: border-box;
    width: 4.8rem;
    padding: 1.6rem 0;
    writing-mode: horizontal-tb;
    color: #fff;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-decoration: none;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a span {
    position: static;
    display: inline-block;
    padding: 0;
    font: inherit;
    color: inherit;
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a span::before {
    display: none !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    margin: 0;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__inquiry a {
    height: 16rem;
    background: #c9a964;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__inquiry a::before {
    background: url("../img/common/icon-mail.png") no-repeat center / contain;
    filter: brightness(0) invert(1);
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a {
    height: 18.4rem;
    background: #000;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a span br.only-sp {
    display: none;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a::before {
    background: url("../img/common/icon_reserve.svg") no-repeat center / contain;
    filter: brightness(0) invert(1);
  }

  /* 特設サイトは画像CTAのため、共通のアイコン枠・余白を付けない */
  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__special a {
    gap: 0;
    height: auto;
    padding: 0;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__special a::before {
    content: none;
    display: none;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__special a img {
    display: block;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 1200px) and (min-width: 768px) {
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li {
    flex: 0 0 12rem;
    width: 12rem;
    padding: 0 1.2rem;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li:has(.land-anchor-badge) {
    flex: 0 0 auto;
    width: auto;
    min-width: 12rem;
  }
}

@media (max-width: 767px) {
  body:is(.single-land, .single-residential) .land-floating-header {
    position: static;
  }

  /* 直リンク / JS無効時。固定ロゴバー（約74px）+ 余白 */
  body:is(.single-land, .single-residential) #planarea,
  body:is(.single-land, .single-residential) #area-kuwari,
  body:is(.single-land, .single-residential) #land-guide,
  body:is(.single-land, .single-residential) #land-summary,
  body.single-residential #res-building,
  body.single-residential #res-plan,
  body.single-residential #res-equipment {
    scroll-margin-top: 10rem;
  }

  body:is(.single-land, .single-residential) .land-header-cta {
    display: none !important;
  }

  /* --- SP下部フローティング（Figma floating_CTA_sp） --- */
  body:is(.single-land, .single-residential) .floting-btn {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border: none !important;
    border-top: 0.1rem solid #f5f5f5 !important;
    z-index: 20;
    box-sizing: border-box;
    writing-mode: horizontal-tb !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__tel,
  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__inquiry,
  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__reserve {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    border: none !important;
    overflow: visible;
  }

  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__special {
    display: block;
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    position: relative;
    top: auto;
    right: auto;
    background: #e20000;
    border: none !important;
    overflow: visible;
  }

  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__special a {
    background: #e20000;
    color: #fff;
  }

  body:is(.single-land, .single-residential) .floting-btn > p.f-inquiry__special a span::before {
    background: url(../img/common/icon.svg) no-repeat center / contain;
    filter: brightness(0) invert(1);
  }

  body:is(.single-land, .single-residential) .floting-btn > p a {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    height: 6.4rem;
    padding: 1.5rem 1.9rem 1.6rem;
    box-sizing: border-box;
    writing-mode: horizontal-tb !important;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a span {
    position: static;
    padding: 0 !important;
    text-align: center;
    line-height: 1;
    white-space: nowrap;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a span::before {
    position: static !important;
    display: block;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 0.2rem;
    width: 2rem;
    height: 2rem;
    writing-mode: horizontal-tb !important;
  }

  body:is(.single-land, .single-residential) .floting-btn > p a::before {
    content: none !important;
    display: none !important;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__tel a {
    background: #fff;
    color: #000;
    border-right: 0.1rem solid #f5f5f5;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__tel a span::before {
    background: url(../img/common/icon-tel.png) no-repeat center / contain;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__inquiry a {
    background: #c9a964;
    color: #fff;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__inquiry a span::before {
    background: url(../img/common/icon-mail.png) no-repeat center / contain;
    filter: brightness(0) invert(1);
  }

  /* オンライン相談予約: デザイン通り2行 */
  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a {
    background: #000;
    color: #fff;
    font-size: 1.3rem;
    letter-spacing: 0;
    gap: 0.2rem;
    padding: 1.2rem 0.4rem 1.3rem;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a span {
    white-space: normal;
    line-height: 1;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a span br.only-sp {
    display: block;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__reserve a span::before {
    background: url(../img/common/icon_reserve.svg) no-repeat center / contain;
    filter: brightness(0) invert(1);
    margin: 0 auto 0.2rem;
    top: auto !important;
  }

  body:is(.single-land, .single-residential) .floting-btn .f-inquiry__special a {
    font-size: 1.3rem;
    letter-spacing: 0;
  }

  /* 問い合わせCTA非表示時はハンバーガーだけ右寄せ（他ボタン表示時はレイアウト不変） */
  body:is(.single-land, .single-residential) .floting-btn:not(:has(> p.hihyouji-otoiawase:not(.is-hidden))) .humberguer.land-sp-menu {
    margin-left: auto !important;
  }

  /* 丸メニューボタン（Figma: 円径50px / バー高に合わせて枠内中央） */
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    flex: 0 0 6.4rem;
    width: 6.4rem;
    min-width: 6.4rem;
    max-width: 6.4rem;
    height: auto !important;
    min-height: 6.4rem;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    background: #fff;
    border: none;
    border-left: none;
    font-size: 0;
    line-height: 0;
    text-align: left;
    z-index: 21;
    box-sizing: border-box;
    align-self: stretch;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu p {
    display: none !important;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger,
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu #btn01 {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 5rem !important;
    height: 5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: block !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger span {
    position: absolute;
    left: 50%;
    display: block;
    width: 1.8rem;
    height: 0.16rem;
    margin-left: -0.9rem;
    background: #fff;
    border-radius: 0;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger span:nth-of-type(1) {
    top: 1.75rem;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger span:nth-of-type(2) {
    top: 2.4rem;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger span:nth-of-type(3) {
    top: 3.05rem;
  }

  /* 開時: ×（既存 #btn01.active の translateY を打ち消し） */
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger.active span:nth-of-type(1),
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu.is-open .btn-trigger span:nth-of-type(1) {
    top: 2.4rem !important;
    transform: rotate(45deg) !important;
    -webkit-transform: rotate(45deg) !important;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger.active span:nth-of-type(2),
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu.is-open .btn-trigger span:nth-of-type(2) {
    opacity: 0 !important;
  }

  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu .btn-trigger.active span:nth-of-type(3),
  body:is(.single-land, .single-residential) .floting-btn .humberguer.land-sp-menu.is-open .btn-trigger span:nth-of-type(3) {
    top: 2.4rem !important;
    transform: rotate(-45deg) !important;
    -webkit-transform: rotate(-45deg) !important;
  }

  /* アンカーパネル（閉じ時非表示 / 開時は下バー直上・Figma anchor_Container） */
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 6.4rem !important;
    top: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    border-top: 0.1rem solid #f5f5f5 !important;
    border-bottom: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(0.8rem);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 19;
    box-shadow: none;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav.nv-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transform: translateY(0) !important;
    padding: 0 !important;
    top: auto !important;
    bottom: 6.4rem !important;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: .5rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0.8rem 1.2rem !important;
    list-style: none;
    box-sizing: border-box;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    margin: 0 !important;
    padding: 0 2.4rem !important;
    border: none !important;
    border-right: 0.1rem solid #ddd !important;
    border-bottom: none !important;
    box-sizing: border-box;
    text-align: center;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li:nth-child(2n) {
    border-right: none !important;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li:first-child {
    border-left: none !important;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a,
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li > span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-height: 1.8rem;
    padding: 0 0 0.4rem !important;
    color: #464646;
    font-family: "Shippori Mincho", "Noto Serif JP", serif;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    line-height: 1.25;
    letter-spacing: 0;
    text-decoration: none;
    position: relative;
    border-bottom: 0.1rem solid transparent;
    box-sizing: border-box;
  }

  /* SP: 公開中は赤ラベル（Figmaと同じ） */
  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a:has(.land-anchor-badge) {
    flex-direction: row !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    padding-top: 0.15rem !important;
    padding-bottom: 0.4rem !important;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a .land-anchor-badge {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto !important;
    max-width: max-content;
    margin: 0;
    padding: 0.3rem 0.4rem !important;
    border: 0;
    border-radius: 0;
    border-bottom: 0;
    background: #cb0000;
    color: #fff !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 400 !important;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
    box-sizing: border-box;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li a .land-anchor-label {
    display: inline-block;
    width: auto !important;
    color: inherit;
    font: inherit;
    line-height: 1.25;
    white-space: nowrap;
    border-bottom: 0.1rem solid transparent;
    padding-bottom: 0.4rem;
    margin-bottom: -0.4rem;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li a::after,
  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li span::after {
    display: none !important;
    content: none !important;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li.is-current a {
    color: #111;
    border-bottom-color: #111;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li.is-current a:has(.land-anchor-label) {
    border-bottom-color: transparent;
  }

  body.single-residential .land-floating-header .single-top-navi.land-anchor-nav ul li.is-current a .land-anchor-label {
    border-bottom-color: #111;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li.is-disabled {
    opacity: 1;
    pointer-events: none;
  }

  body:is(.single-land, .single-residential) .land-floating-header .single-top-navi.land-anchor-nav ul li.is-disabled span {
    color: #bbb;
  }
}
