/**
 * FCM ヘッダー・フッター（サイト本体用）
 * トークンは tokens.css を単一ソースとする（ここでの :root 再定義は禁止）
 * 風CAMP LP はスタンドアロンのため本ファイルは読み込まれない
 * ヘッダーは #header が無い環境あり → .fcm-header__inner を基準にスコープ
 */

/* ----- ユーティリティ ----- */
.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- SWELL 既定要素の非表示 ----- */
.fcm-header__inner .l-header__bar,
.l-header .l-header__bar,
.fcm-header__inner .l-header__spNav,
.l-header .l-header__spNav,
.fcm-header__inner .l-header__customBtn,
.l-header .l-header__customBtn,
.fcm-header__inner .l-header__menuBtn,
.l-header .l-header__menuBtn,
#sp_menu,
#fix_header,
#fix_bottom_menu,
#footer .l-footer__foot,
#footer .l-footer__widgetArea,
#footer .l-footer__widget,
#footer .p-footerSns {
  display: none !important;
}

/* ----- ヘッダー（最外周: .fcm-header__inner） ----- */
html body #header.l-header,
html body header.l-header.fcm-header,
html body .l-header.fcm-header,
#header.l-header,
header.l-header.fcm-header,
.l-header.fcm-header {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 100 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: var(--fcm-header-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--fcm-color-bg) !important;
  border-bottom: 1px solid var(--fcm-color-border) !important;
  box-shadow: 0 2px 20px rgba(43, 36, 27, 0.06) !important;
}

/* SWELL 既定のヘッダー付随行（お知らせバー・PCナビ行・ロゴ列など）を除去し、
   #header 内の上部スペースをなくす（表示は .fcm-header__inner のみ） */
#header.l-header > .l-header__bar,
#header.l-header > .l-header__body,
#header.l-header > .l-header__logo,
#header.l-header > .l-header__pcNav,
#header.l-header > .l-header__gnav,
#header.l-header > .l-header__sub,
#header.l-header > .l-header__notice,
#header.l-header > .p-headerBar,
#header.l-header > #navi,
.l-header.fcm-header > .l-header__bar,
.l-header.fcm-header > .l-header__body,
.l-header.fcm-header > .l-header__logo,
.l-header.fcm-header > .l-header__pcNav,
.l-header.fcm-header > .l-header__gnav,
.l-header.fcm-header > .l-header__sub,
.l-header.fcm-header > .l-header__notice,
.l-header.fcm-header > .p-headerBar,
.l-header.fcm-header > #navi {
  display: none !important;
}

body:not(.fcm-kazecamp-page) {
  padding-top: var(--fcm-header-h, 60px) !important;
}

body.admin-bar #header.l-header,
body.admin-bar header.l-header.fcm-header,
body.admin-bar .l-header.fcm-header {
  top: 32px !important;
}

body:not(.fcm-kazecamp-page) h1.c-pageTitle {
  font-family: var(--fcm-font-serif) !important;
  font-weight: 600 !important;
  font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
  line-height: 1.25 !important;
}

:is(body.fcm-event-single, #body_wrap.fcm-event-single, .fcm-eventSingle__article) h1.c-pageTitle.fcm-eventSingle__title {
  margin-bottom: 1.5rem !important;
}

.l-header__inner.fcm-header__inner,
.fcm-header__inner {
  position: relative !important;
  top: auto !important;
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1.5rem !important;
  grid: none !important;
  grid-template: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-template-areas: none !important;
  min-height: var(--fcm-header-h) !important;
  height: var(--fcm-header-h) !important;
  max-width: none !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 max(1.25rem, calc((100vw - var(--fcm-container)) / 2)) !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.l-header__inner.fcm-header__inner > *,
.fcm-header__inner > * {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

.fcm-header__inner .l-header__logo {
  display: none !important;
}

.fcm-header__inner .fcm-header__logo {
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.fcm-header__inner h1.c-headLogo,
.fcm-header__inner .c-headLogo.fcm-headLogo {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  background: none !important;
  border: none !important;
  color: var(--fcm-color-text) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.fcm-header__inner .c-headLogo.-txt,
.fcm-header__inner .c-headLogo__link,
.fcm-header__inner .c-headLogo.fcm-headLogo {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  color: var(--fcm-color-text) !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
}

.fcm-header__inner .c-headLogo__frame {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 200px !important;
  height: 48px !important;
  min-width: 200px !important;
  min-height: 48px !important;
  padding: 0.25rem !important;
  border: 2px dashed var(--fcm-color-border) !important;
  border-radius: var(--fcm-radius-md) !important;
  background: var(--fcm-color-bg-sub) !important;
  box-sizing: border-box !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--fcm-color-text-muted) !important;
  white-space: nowrap !important;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.fcm-header__inner .c-headLogo:hover .c-headLogo__frame {
  border-color: var(--fcm-color-primary) !important;
  color: var(--fcm-color-primary) !important;
  opacity: 1 !important;
}

.fcm-header__inner .c-headLogo__frame:has(.c-headLogo__img) {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.fcm-header__inner .c-headLogo__img {
  display: block;
  max-width: 7.5rem;
  max-height: 2.5rem;
  width: auto;
  height: auto;
}

.fcm-header__inner .c-headLogo__placeholder {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fcm-color-text-muted);
  letter-spacing: 0.08em;
}

/* ナビ共通 */
.l-header__inner.fcm-header__inner,
.fcm-header__inner {
  flex-wrap: nowrap !important;
}

.fcm-header__inner .c-navToggle {
  display: inline-flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0 0 auto !important;
  padding: 0;
  border: 0;
  border-radius: var(--fcm-radius-sm);
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.fcm-header__inner .c-navToggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.fcm-header__inner .c-navToggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.fcm-header__inner .c-navToggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.fcm-header__inner .c-navToggle span:not(.u-sr-only) {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0 auto;
  background: var(--fcm-color-text);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.fcm-header__inner .c-gnav,
.fcm-header__inner ul.c-gnav,
.fcm-gnavWrap .c-gnav,
.fcm-gnavWrap ul.c-gnav {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
  border: none !important;
}

.fcm-header__inner .c-gnav > li,
.fcm-header__inner .c-gnav .menu-item {
  position: static !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: none !important;
  border: none !important;
}

.fcm-header__inner .c-gnav > li::before,
.fcm-header__inner .c-gnav > li::after,
.fcm-header__inner .c-gnav a::before {
  display: none !important;
  content: none !important;
}

.fcm-header__inner .c-gnav a,
.fcm-gnavWrap .c-gnav a {
  position: relative !important;
  font-family: var(--fcm-font) !important;
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
  color: var(--fcm-color-text) !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 0.2s ease;
}

.fcm-header__inner .c-gnav a:hover,
.fcm-gnavWrap .c-gnav a:hover {
  color: var(--fcm-color-primary) !important;
  background: none !important;
  opacity: 1 !important;
}

.fcm-header__inner .c-gnav .ttl {
  font-weight: inherit !important;
  color: inherit !important;
}

.fcm-header__inner .fcm-gnavWrap__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.fcm-headerKazecamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 10rem;
  height: 2.75rem;
  border-radius: var(--fcm-radius-sm);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fcm-headerKazecamp:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

.fcm-headerKazecamp__img {
  display: block;
  width: 10rem;
  max-width: 100%;
  height: auto;
  /* max-height: 2.75rem; */
  object-fit: contain;
}

.fcm-headerKazecamp--mobile {
  display: none;
}

.fcm-header__inner .fcm-gnavWrap__actions .c-headerActions {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fcm-header__inner .fcm-gnavWrap__actions .c-headerActions .menu-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fcm-header__inner .fcm-gnavWrap__actions .c-headerActions a,
.fcm-header__inner .fcm-gnavWrap__actions .fcm-headerAction,
.fcm-header__inner .fcm-gnavWrap__actions .c-btn,
.fcm-gnavWrap .fcm-gnavWrap__actions .c-headerActions a,
.fcm-gnavWrap .fcm-gnavWrap__actions .fcm-headerAction,
.fcm-gnavWrap .fcm-gnavWrap__actions .c-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.75rem !important;
  padding: 0.6em 1.25em !important;
  font-family: var(--fcm-font-serif) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  border-radius: var(--fcm-radius-pill) !important;
  box-sizing: border-box !important;
  box-shadow: 0 4px 14px rgba(46, 148, 120, 0.28) !important;
  color: #fff !important;
  background: var(--fcm-color-primary) !important;
  border: 0 !important;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.fcm-header__inner .fcm-gnavWrap__actions .c-headerActions a:hover,
.fcm-header__inner .fcm-gnavWrap__actions .fcm-headerAction:hover,
.fcm-header__inner .fcm-gnavWrap__actions .c-btn:hover,
.fcm-gnavWrap .fcm-gnavWrap__actions .c-headerActions a:hover,
.fcm-gnavWrap .fcm-gnavWrap__actions .fcm-headerAction:hover,
.fcm-gnavWrap .fcm-gnavWrap__actions .c-btn:hover {
  opacity: 1 !important;
  color: #fff !important;
  transform: translateY(-1px);
  background: var(--fcm-color-primary-dark) !important;
  box-shadow: 0 8px 20px rgba(46, 148, 120, 0.32) !important;
}

/* スマホ: ハンバーガー＋全幅フェードイン（body 直下へポータル） */
@media (max-width: 767px) {
  .fcm-header__inner .c-navToggle {
    position: relative !important;
    z-index: 100050 !important;
    order: 10 !important;
    margin-left: auto !important;
  }

  /* 閉時はヘッダー行にメニューを出さない（ポータル前の保険） */
  .fcm-header__inner > .fcm-gnavWrap:not(.is-open),
  .fcm-header__inner > nav.c-gnavWrap:not(.is-open),
  .fcm-header__inner > .fcm-navBackdrop:not(.is-open) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .fcm-navBackdrop,
  body > .fcm-navBackdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100040 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    clip: auto !important;
    overflow: hidden !important;
    background: rgba(43, 36, 27, 0.5) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease !important;
  }

  body.fcm-nav-open {
    overflow: hidden !important;
  }

  body.fcm-nav-open .fcm-navBackdrop,
  body.fcm-nav-open > .fcm-navBackdrop,
  .fcm-navBackdrop.is-open,
  body > .fcm-navBackdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* body 直下の全幅パネル（ポータル後） */
  body > #global-nav.fcm-gnavWrap,
  body > .fcm-gnavWrap,
  body > nav.c-gnavWrap.fcm-gnavWrap {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 100041 !important;
    order: unset !important;
    flex: none !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 4.75rem 1.5rem 2rem !important;
    background: var(--fcm-color-bg) !important;
    border: none !important;
    box-shadow: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    transform: none !important;
    clip: auto !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
    transition:
      opacity 0.35s ease,
      visibility 0.35s ease !important;
  }

  body > #global-nav.fcm-gnavWrap.is-open,
  body > .fcm-gnavWrap.is-open,
  body > nav.c-gnavWrap.fcm-gnavWrap.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* ドロワー内の重複アイコンは隠し、右上アイコンを常時表示 */
  .fcm-gnavWrap .fcm-headerKazecamp {
    display: none !important;
  }

  .fcm-header__inner > .fcm-headerKazecamp--mobile {
    display: inline-flex !important;
    width: 5.75rem !important;
    height: 2.5rem !important;
    margin-left: auto !important;
  }

  .fcm-header__inner > .fcm-headerKazecamp--mobile .fcm-headerKazecamp__img {
    width: 5.75rem;
    max-height: 2.5rem;
  }

  .fcm-header__inner .c-navToggle {
    margin-left: 0.45rem !important;
  }

  .fcm-navClose {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid var(--fcm-color-border);
    border-radius: 50%;
    background: var(--fcm-color-surface);
    color: var(--fcm-color-text);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }

  .fcm-gnavWrap__inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .fcm-gnavWrap__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid var(--fcm-color-border);
  }

  .fcm-header__inner .c-gnav,
  .fcm-header__inner ul.c-gnav,
  .fcm-gnavWrap .c-gnav,
  .fcm-gnavWrap ul.c-gnav {
    align-items: stretch !important;
    justify-content: flex-start !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
  }

  .fcm-header__inner .c-gnav a,
  .fcm-gnavWrap .c-gnav a {
    display: block !important;
    padding: 1rem 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
  }

  .fcm-gnavWrap .fcm-menu-kazecamp > a {
    display: flex !important;
    justify-content: center !important;
    padding: 1.25rem 0 !important;
  }

  .fcm-menu-kazecamp__logo {
    display: block;
    width: min(100%, 22rem);
    height: auto;
    object-fit: contain;
  }

  .fcm-header__inner .c-gnav .current-menu-item > a,
  .fcm-header__inner .c-gnav .current_page_item > a,
  .fcm-header__inner .c-gnav a[aria-current="page"],
  .fcm-gnavWrap .c-gnav .current-menu-item > a,
  .fcm-gnavWrap .c-gnav .current_page_item > a,
  .fcm-gnavWrap .c-gnav a[aria-current="page"] {
    font-weight: 800 !important;
    color: var(--fcm-color-primary-dark) !important;
    border-left: 3px solid var(--fcm-color-accent) !important;
    padding-left: 0.75rem !important;
  }

  .fcm-header__inner .c-gnav .current-menu-item > a::after,
  .fcm-header__inner .c-gnav .current_page_item > a::after,
  .fcm-header__inner .c-gnav a[aria-current="page"]::after,
  .fcm-gnavWrap .c-gnav .current-menu-item > a::after,
  .fcm-gnavWrap .c-gnav .current_page_item > a::after,
  .fcm-gnavWrap .c-gnav a[aria-current="page"]::after {
    display: none !important;
    content: none !important;
  }

  .fcm-header__inner .fcm-gnavWrap__actions .c-headerActions,
  .fcm-gnavWrap .fcm-gnavWrap__actions .c-headerActions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .fcm-header__inner .fcm-gnavWrap__actions .c-headerActions a,
  .fcm-header__inner .fcm-gnavWrap__actions .fcm-headerAction,
  .fcm-header__inner .fcm-gnavWrap__actions .c-btn,
  .fcm-gnavWrap .fcm-gnavWrap__actions .c-headerActions a,
  .fcm-gnavWrap .fcm-gnavWrap__actions .fcm-headerAction,
  .fcm-gnavWrap .fcm-gnavWrap__actions .c-btn {
    width: 100% !important;
  }

  .fcm-header__inner .c-headLogo__frame:has(.c-headLogo__img) {
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .fcm-header__inner .c-headLogo__img {
    max-width: 6.5rem;
    max-height: 2.25rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar #header.l-header,
  body.admin-bar header.l-header.fcm-header,
  body.admin-bar .l-header.fcm-header {
    top: 46px !important;
  }
}

/* PC: 横並びナビ */
@media (min-width: 768px) {
  .fcm-navClose {
    display: none !important;
  }

  .fcm-navBackdrop {
    display: none !important;
  }

  .fcm-header__inner .c-navToggle {
    display: none !important;
  }

  /* PC はアイコン、テキストの風CAMPは非表示 */
  .fcm-header__inner .fcm-menu-kazecamp {
    display: none !important;
  }

  .fcm-header__inner .fcm-gnavWrap,
  .fcm-header__inner nav.c-gnavWrap {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: block !important;
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .fcm-gnavWrap__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    min-height: 0;
  }

  .fcm-gnavWrap__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
  }

  .fcm-header__inner .c-gnav,
  .fcm-header__inner ul.c-gnav {
    align-items: center !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 0.25rem 1.25rem !important;
  }

  .fcm-header__inner .c-gnav a {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.35rem 0 !important;
    white-space: nowrap !important;
  }

  .fcm-header__inner .c-gnav .current-menu-item > a,
  .fcm-header__inner .c-gnav .current_page_item > a,
  .fcm-header__inner .c-gnav a[aria-current="page"] {
    font-weight: 800 !important;
    color: var(--fcm-color-primary-dark) !important;
    border-bottom: none !important;
    border-left: none !important;
    padding-left: 0 !important;
  }

  .fcm-header__inner .c-gnav .current-menu-item > a::after,
  .fcm-header__inner .c-gnav .current_page_item > a::after,
  .fcm-header__inner .c-gnav a[aria-current="page"]::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -6px !important;
    height: 1.5px !important;
    background: var(--fcm-hero-gradient) !important;
  }

  .fcm-header__inner .fcm-gnavWrap__actions .c-headerActions {
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .fcm-header__inner .fcm-gnavWrap__actions .c-headerActions a,
  .fcm-header__inner .fcm-gnavWrap__actions .fcm-headerAction,
  .fcm-header__inner .fcm-gnavWrap__actions .c-btn {
    width: auto !important;
    white-space: nowrap !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcm-navBackdrop,
  .fcm-header__inner .fcm-gnavWrap,
  .fcm-header__inner nav.c-gnavWrap,
  .fcm-header__inner .c-navToggle span:not(.u-sr-only) {
    transition: none !important;
  }
}

body.fcm-nav-open #header.l-header,
body.fcm-nav-open header.l-header.fcm-header,
body.fcm-nav-open .l-header.fcm-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100045 !important;
  background: var(--fcm-color-bg) !important;
}

/* ----- フッター ----- */
#footer.l-footer {
  margin-top: 0 !important;
  padding: 0 !important;
  background: linear-gradient(180deg, #0b1c17 0%, #0a1913 100%) !important;
  color: #E7DECB !important;
}

#footer .fcm-footer__wrap,
#footer > .l-footer__inner {
  padding-top: var(--fcm-space-xl) !important;
  padding-bottom: var(--fcm-space-lg) !important;
  background: linear-gradient(180deg, #0b1c17 0%, #0a1913 100%) !important;
}

#footer .fcm-footer__container {
  max-width: var(--fcm-container) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

#footer .c-footerGrid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 2.5rem 2.5rem !important;
  max-width: var(--fcm-container) !important;
  margin: 0 auto;
}

#footer .c-footerGrid__brand {
  flex: 1 1 14rem !important;
  min-width: 0 !important;
  max-width: 22rem !important;
}

#footer .c-footerGrid__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
  gap: 2rem 2.5rem !important;
  margin-left: auto !important;
}

#footer .c-footerGrid__col--menu,
#footer .c-footerGrid__col--legal,
#footer .c-footerGrid__col--sns {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  flex: 0 0 auto !important;
}

#footer .c-footerGrid__col--menu .c-footerGrid__heading,
#footer .c-footerGrid__col--menu .c-footerGrid__links,
#footer .c-footerGrid__col--legal .c-footerGrid__heading,
#footer .c-footerGrid__col--legal .c-footerGrid__links,
#footer .c-footerGrid__col--sns .c-footerGrid__heading,
#footer .c-footerGrid__col--sns .c-footerGrid__links {
  text-align: left !important;
  width: max-content !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: flex-start !important;
}

#footer .c-footerGrid__col--menu .c-footerGrid__links,
#footer .c-footerGrid__col--menu .menu,
#footer .c-footerGrid__col--legal .c-footerGrid__links,
#footer .c-footerGrid__col--legal .menu,
#footer .c-footerGrid__col--sns .c-footerGrid__links {
  list-style: none !important;
  padding: 0 !important;
}

#footer .c-footLogo {
  display: inline-flex !important;
  text-decoration: none !important;
  color: #fff !important;
}

#footer .c-footLogo__frame {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 8.5rem !important;
  min-height: 2.75rem !important;
  padding: 0.35rem 0.75rem !important;
  border: 1.5px dashed rgba(231, 222, 203, 0.28) !important;
  border-radius: var(--fcm-radius-sm) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(231, 222, 203, 0.75) !important;
}

#footer .c-footLogo__frame:has(.c-footLogo__img) {
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

#footer .c-footLogo__img {
  display: block;
  max-width: 8.5rem;
  max-height: 2.75rem;
  width: auto;
  height: auto;
}

#footer .c-footLogo__placeholder {
  color: rgba(231, 222, 203, 0.75) !important;
}

#footer .c-footerGrid__tagline {
  margin: 1rem 0 0 !important;
  max-width: none;
  font-size: 0.875rem !important;
  line-height: 1.8 !important;
  color: rgba(231, 222, 203, 0.88) !important;
  word-break: keep-all;
  overflow-wrap: normal;
  line-break: strict;
}

@media (min-width: 768px) {
  #footer .c-footerGrid__tagline {
    white-space: nowrap;
  }
}

#footer .c-footerGrid__heading {
  margin: 0 0 0.85rem !important;
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  color: var(--fcm-color-accent) !important;
  letter-spacing: 0.04em;
  font-family: var(--fcm-font-en);
}

#footer .c-footerGrid__heading.-spaced {
  margin-top: 1.5rem !important;
}

#footer .c-footerGrid__links {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .c-footerGrid__links li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#footer .c-footerGrid__links li + li {
  margin-top: 0.55rem !important;
}

#footer .c-footLogo {
  cursor: pointer;
}

#footer .c-footLogo__frame {
  transition: border-color 0.25s ease, color 0.25s ease;
}

#footer .c-footLogo:hover .c-footLogo__frame {
  border-color: var(--fcm-color-accent) !important;
  color: var(--fcm-color-accent) !important;
}

#footer .c-footerGrid__links a,
#footer .c-footerGrid__sns a {
  display: inline-block;
  color: rgba(231, 222, 203, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

#footer .c-footerGrid__links a:hover,
#footer .c-footerGrid__sns a:hover {
  opacity: 1 !important;
  text-decoration: none !important;
  color: #F6C64A !important;
  transform: translateX(2px);
}

#footer .c-footerGrid__sns {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
  color: rgba(231, 222, 203, 0.92) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.35rem !important;
}

#footer .c-footerGrid__sns li {
  margin: 0 !important;
  padding: 0 !important;
}

#footer .c-footerGrid__snsSep {
  display: none !important;
}

#footer .c-footerBottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  margin-top: var(--fcm-space-lg) !important;
  padding-top: 1.25rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#footer .c-footerBottom p {
  margin: 0 !important;
  font-size: 0.8125rem !important;
  color: rgba(231, 222, 203, 0.72) !important;
}

#footer .c-footerBottom a {
  color: rgba(231, 222, 203, 0.72) !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: color 0.25s ease;
}

#footer .c-footerBottom a:hover {
  opacity: 1 !important;
  color: var(--fcm-color-accent) !important;
  text-decoration: none !important;
}

@media (max-width: 1100px) and (min-width: 768px) {
  #footer .c-footerGrid {
    gap: 2rem 1.5rem !important;
  }

  #footer .c-footerGrid__nav {
    gap: 1.75rem 2rem !important;
  }
}

@media (max-width: 767px) {
  body.fcm-top-page #footer .fcm-footer__container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  #footer .c-footerGrid {
    flex-direction: column !important;
    gap: 2rem !important;
  }

  #footer .c-footerGrid__brand {
    max-width: none !important;
  }

  #footer .c-footerGrid__nav {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
    width: 100% !important;
    gap: 2rem !important;
  }

  #footer .c-footerGrid__col--menu,
  #footer .c-footerGrid__col--legal,
  #footer .c-footerGrid__col--sns {
    align-items: flex-start !important;
    text-align: left !important;
    width: 100% !important;
  }

  #footer .c-footerGrid__col--menu .c-footerGrid__heading,
  #footer .c-footerGrid__col--menu .c-footerGrid__links,
  #footer .c-footerGrid__col--legal .c-footerGrid__heading,
  #footer .c-footerGrid__col--legal .c-footerGrid__links,
  #footer .c-footerGrid__col--sns .c-footerGrid__heading,
  #footer .c-footerGrid__col--sns .c-footerGrid__links {
    text-align: left !important;
  }

  #footer .c-footerBottom {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* ----- ページトップ（SWELL #pagetop） ----- */
#pagetop,
#pagetop a,
#pagetop .pagetop__link,
.pagetop a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem !important;
  padding: 0 !important;
  border: 1px solid var(--fcm-color-primary) !important;
  border-radius: 50% !important;
  background: var(--fcm-color-surface) !important;
  color: var(--fcm-color-primary) !important;
  box-shadow: var(--fcm-shadow-sm) !important;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease !important;
}

#pagetop a:hover,
#pagetop .pagetop__link:hover,
.pagetop a:hover {
  background: var(--fcm-color-primary-hover-bg) !important;
  border-color: var(--fcm-color-primary) !important;
  color: var(--fcm-color-primary) !important;
  box-shadow: var(--fcm-shadow-md) !important;
  transform: translateY(-1px) !important;
  opacity: 1 !important;
}
