@charset "UTF-8";
/* ==========================================================================
   layout.css : ヘッダー / ナビ / メイン / フッター / 背景キャンバス (.l-)
   ========================================================================== */

/* ---- 背景ドット（bg-dots.js が描画。Prologue以降で固定表示） ---- */
.l-bgDots {
  position: fixed; left: 0; top: 0;
  width: 100%; height: 100vh;
  z-index: 0; pointer-events: none;
  opacity: 0;                       /* ヒーローを抜けるまで非表示 */
  will-change: transform;
}

/* ---- ヘッダー ---- */
.l-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  padding: var(--header-pt) clamp(16px, 4.6vw, 96px) var(--header-pb);   /* 行の高さ=ロゴの高さ。メニュー・ENTRYはロゴの高さの中央に揃う */
  background: #000;
}
.l-header_logo { grid-column: 1; display: block; height: var(--logo-h); }
.l-header_logo img { height: 100%; width: auto; }
.l-header_right { grid-column: 3; display: flex; align-items: center; gap: 10px; justify-self: end; }

/* ---- グローバルナビ ---- */
.l-gnav { grid-column: 2; justify-self: center; }
.l-gnav_list { display: flex; gap: clamp(18px, 3.2vw, 60px); }
.l-gnav_link {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(13px, 1.2vw, 21px); letter-spacing: .05em;
  color: var(--color-gold-nav);
  display: inline-block;                          /* 拡大(transform)を効かせるため */
  transition: color .3s, transform .3s cubic-bezier(.3, .6, .2, 1);
}
@media (hover: hover) {
  .l-gnav_link:hover { color: #fff1c8; }          /* ホバーで少し明るく */
}
.l-gnav_link:focus-visible, .l-gnav_link.is-tapped { color: #fff1c8; }

/* PC：ホバーした文字だけ120%に拡大（倍率は --gnav-hover-scale で調整。周りの文字の位置は動かない） */
@media (min-width: 1024px) {
  .l-gnav { --gnav-hover-scale: 1.2; }
  .l-gnav_link:focus-visible, .l-gnav_link.is-tapped { transform: scale(var(--gnav-hover-scale)); }
}
@media (min-width: 1024px) and (hover: hover) {
  .l-gnav_link:hover { transform: scale(var(--gnav-hover-scale)); }
}

/* ---- ハンバーガー ---- */
.l-menuBtn {
  display: none;
  width: 44px; height: 44px; margin-right: -8px;
  background: none; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.l-menuBtn_bars, .l-menuBtn_bars::before, .l-menuBtn_bars::after {
  display: block; width: 24px; height: 2px; background: var(--color-gold-nav);
  transition: transform .25s, background .25s;
}
.l-menuBtn_bars { position: relative; }
.l-menuBtn_bars::before, .l-menuBtn_bars::after { content: ""; position: absolute; left: 0; }
.l-menuBtn_bars::before { top: -7px; }
.l-menuBtn_bars::after  { top:  7px; }
.l-menuBtn[aria-expanded="true"] .l-menuBtn_bars { background: transparent; }
.l-menuBtn[aria-expanded="true"] .l-menuBtn_bars::before { transform: translateY(7px) rotate(45deg); }
.l-menuBtn[aria-expanded="true"] .l-menuBtn_bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .l-menuBtn { display: inline-flex; }
  .l-gnav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    width: 100%; justify-self: stretch;
    background: rgba(0, 0, 0, .97);
    padding: clamp(8px, 3vh, 32px) 0;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transition: opacity .25s, visibility .25s;
  }
  .l-gnav.is-open { opacity: 1; visibility: visible; }
  .l-gnav_list { flex-direction: column; gap: 0; }
  .l-gnav_link {
    display: block;
    padding: .95em clamp(20px, 8vw, 64px);
    font-size: clamp(18px, 4.6vw, 26px);
    border-bottom: 1px solid rgba(217, 184, 114, .16);
  }
}

/* ---- メイン ---- */
.l-main { position: relative; z-index: 1; }
.l-container {
  width: 100%;
  max-width: calc(var(--container-w) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- フッター ---- */
.l-footer {
  position: relative; z-index: 1;
  background: #161616;
  padding: clamp(40px, 5vw, 64px) var(--gutter) clamp(28px, 3vw, 40px);
  text-align: center;
  color: #fff;
}
.l-footer_logo { display: inline-block; width: clamp(160px, 14vw, 200px); }
.l-footer_logo img { width: 100%; }
.l-footer_contact {
  margin-top: clamp(20px, 2.4vw, 28px);
  display: flex; justify-content: center; align-items: center; gap: 1em;
  font-size: clamp(12px, 1vw, 14px); font-weight: 500; line-height: 1.6;
}
.l-footer_contactSep { width: 1px; height: 1.1em; background: rgba(255, 255, 255, .5); }
.l-footer_contactLink {                             /* リニアワイプの下線 */
  padding-bottom: .25em;
  background: linear-gradient(currentColor, currentColor) no-repeat left bottom / 0 1px;
  transition: background-size .4s cubic-bezier(.4, 0, .2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .l-footer_contactLink:hover { background-size: 100% 1px; }
}
.l-footer_contactLink:focus-visible, .l-footer_contactLink.is-tapped { background-size: 100% 1px; }
@media (max-width: 767px) {
  .l-footer_contactLink { background-size: 100% 1px; }   /* スマホは最初から下線を表示 */
}
.l-footer_sns {
  margin-top: clamp(20px, 2.4vw, 28px);
  display: flex; justify-content: center; gap: clamp(14px, 2vw, 22px);
}
.l-footer_snsLink {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #2e2e2e;
  transition: background .3s;
}
.l-footer_snsLink img { width: 18px; height: 18px; }
@media (hover: hover) { .l-footer_snsLink:hover { background: #484848; } }
.l-footer_snsLink.is-tapped { background: #484848; }
.l-footer_copyright {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-ca); font-size: 12px; letter-spacing: .06em;
}
