@charset "UTF-8";
/* =========================================================
   03-header.css — Header（FAMiLIA 03-header.css 踏襲・B&W 配色）
   SWELL の .l-header / .c-gnav を上書き
   ========================================================= */

/* 全体: 半透明 + blur */
.l-header {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease;
}

.l-fixHeader,
.l-fixHeader.is-active .l-header,
.l-header.is-fixed {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ink-200);
}

.l-header__inner {
  width: min(1440px, calc(100vw - (var(--lib-gutter) * 2)));
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  height: var(--lib-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
body .l-header__inner.l-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ロゴ（拡大版・ブランドプレゼンス強化） */
.c-headLogo { flex-shrink: 0; align-self: center; }
.c-headLogo img,
.c-headLogo__link.-img img {
  height: 52px;
  max-height: 52px;
  width: auto;
  display: block;
}
.l-fixHeader .c-headLogo img { height: 44px; max-height: 44px; }

/* SWELL がテキストでロゴ表示する場合（-txt suffix）、--lib-logo CSS変数をbackgroundで差し込む */
.c-headLogo.-txt .c-headLogo__link {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden;
  background-image: var(--lib-logo);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left center;
  display: inline-block;
  width: 280px;
  height: 52px;
  white-space: nowrap;
}
.l-fixHeader .c-headLogo.-txt .c-headLogo__link {
  height: 44px;
  width: 240px;
}

@media (max-width: 767px) {
  .l-header__inner {
    width: calc(100vw - 40px);
  }
}

/* グローバルナビ */
.l-header__gnav,
.c-gnavWrap { align-self: center; }
.c-gnav {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-gnav > .menu-item {
  display: flex;
  align-items: center;
  list-style: none;
}
.c-gnav > .menu-item > a {
  font-family: var(--font-en-heavy);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-1000);
  text-decoration: none;
  padding: 8px 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: color .2s ease;
}
.c-gnav > .menu-item:not(.menu-cta-button) > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 1px;
  background: var(--lib-blue-900);
  transform: translateX(-50%);
  transition: width .25s cubic-bezier(.22,.61,.36,1);
}
.c-gnav > .menu-item:not(.menu-cta-button) > a:hover { color: var(--lib-blue-900); }
.c-gnav > .menu-item:not(.menu-cta-button) > a:hover::after,
.c-gnav > .current_page_item:not(.menu-cta-button) > a::after,
.c-gnav > .current-menu-item:not(.menu-cta-button):not(.current-menu-parent):not(.current-menu-ancestor) > a::after {
  width: calc(100% - 8px);
}
/* SWELL の ttl_jp/ttl_en の改行表示は不要（uppercase 単行表示に統一） */
.c-gnav > .menu-item > a > .ttl_jp { display: none; }
.c-gnav > .menu-item > a > .ttl_en {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em;
  color: inherit;
  text-transform: uppercase;
}

/* CTA ボタン（pill） */
li.menu-cta-button {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  margin-left: 8px;
}
li.menu-cta-button > a {
  background: var(--lib-blue-900);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--font-en-heavy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px;
  text-decoration: none;
  border: 0;
  box-shadow: 0 12px 26px rgba(5,41,132,0.18);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  line-height: 1;
  white-space: nowrap;
  height: auto;
}
li.menu-cta-button > a:hover {
  background: var(--lib-blue-950);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(5,41,132,0.22);
}
li.menu-cta-button > a::after { display: none; }
li.menu-cta-button > a > .ttl,
li.menu-cta-button > a > .ttl_jp,
li.menu-cta-button > a > .ttl_en {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.18em;
}
