@charset "UTF-8";

/* =========================
   BRON TYPOGRAPHY & FONTS
   フォントファミリー切り替え用
========================= */
:root {
  /* Font Family Options - Switch by changing body font-family */
  --font-display: 'Outfit', sans-serif;
  --font-body-inter: 'Inter', sans-serif;
  --font-body-noto: 'Noto Sans JP', sans-serif;
  --font-body-hiragino: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
  --font-body-yugo: 'Yu Gothic', 'YuGothic', sans-serif;
  --font-body-meiryo: 'Meiryo', 'メイリオ', sans-serif;
  
  /* Typography Colors */
  --bron-text-dark: #111;
  --bron-text-light: #fff;
  --bron-accent: #b9ff50;
  
  /* Current Font Family - Change this to switch fonts */
  --font-body: var(--font-body-inter);
  --font-jp: var(--font-body-noto);
}

/* Apply font families */
body {
  font-family: var(--font-body), var(--font-jp), sans-serif;
  color: var(--bron-text-dark);
  background-color: #111111;
}

/* English headings use display font */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display), var(--font-body), sans-serif;
}

/* Accent color for English text */
.accent-en,
[data-accent="en"] {
  color: var(--bron-accent);
}

/* Dark background sections */
.bg-dark,
[data-bg="dark"] {
  color: var(--bron-text-light);
}

.bg-dark .accent-en,
[data-bg="dark"] [data-accent="en"] {
  color: var(--bron-accent);
}

/* =========================
   GLOBAL LAYOUT FOUNDATION
   全ページの土台（崩れ防止）
========================= */
main#main-content {
  display: block;
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: #fff; /* Ensure opacity */
  overflow: visible;
  /* margin-bottom will be set by JS */
}

section {
  position: relative;
  width: 100%;
  display: block;
}

/* 画像崩れ防止 */
img {
  max-width: 100%;
  height: auto;
}

/* anchorリンク等でヘッダーに隠れない */
:target {
  scroll-margin-top: 90px;
}

/* 共通コンテナ（必要なら使用） */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 6vw;
}

/* =========================
   BASE RESET / GLOBAL
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.font-primary {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

/* =========================
   HEADER
========================= */
.header-bar {
  position: sticky;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  display: block;
  width: 130px;
  height: auto;
}

/* =========================
   NAVIGATION
========================= */
.header-nav {
  display: flex;
}

.header-menu {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
}

/* =========================
   TOOLS（検索 / ハンバーガー）
========================= */
.header-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-search {
  width: 26px;
  height: 26px;
  background: url("../img/icon-search.svg") center/contain no-repeat;
  border: none;
  cursor: pointer;
}

.btn-menu {
  width: 28px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.btn-menu span {
  display: block;
  height: 3px;
  width: 100%;
  background: #111;
  border-radius: 3px;
}

/* =========================
   SEARCH PANEL
========================= */
.search-panel {
  display: none;
  background: #fafafa;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.search-panel.is-open {
  display: block;
}

.search-panel input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* =========================
   PCではハンバーガー非表示
========================= */
@media (min-width: 981px) {
  .btn-menu {
    display: none;
  }
}
/* =========================
   HEADER PC：メニュー右寄せを強制
========================= */
@media (min-width: 981px) {
  .header-inner {
    display: flex;
    justify-content: flex-start !important; /* ✅ space-betweenを殺す */
    align-items: center;
  }

  .header-logo {
    flex: 0 0 auto;
  }

  .header-nav {
    flex: 1 1 auto; /* ✅ navが伸びる */
    display: flex;
    justify-content: flex-end; /* ✅ 右寄せ確定 */
    margin-left: auto;
  }

  .header-menu {
    justify-content: flex-end;
  }
}

/* =========================
   MOBILE HEADER（980px以下）
========================= */
@media screen and (max-width: 980px) {
  /* 右から出てくるフルスクリーンメニュー */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 120px 20px 60px;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    z-index: 1100; /* btn-menu(1101)のすぐ下 */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header-nav.is-open {
    transform: translateX(-100%);
  }

  /* メニュー背景の装飾 */
  .header-nav__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
  }

  .header-nav__decor .decor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: -0.05em;
    font-family: 'Outfit', sans-serif;
    white-space: nowrap;
    will-change: transform;
  }

  .header-nav__decor .decor-blob {
    position: absolute;
    top: 10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(185, 255, 80, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    will-change: transform;
  }

  .header-menu {
    flex-direction: column;
    gap: clamp(24px, 5vh, 40px);
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .header-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .header-nav.is-open .header-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delays */
  .header-nav.is-open .header-menu li:nth-child(1) { transition-delay: 0.2s; }
  .header-nav.is-open .header-menu li:nth-child(2) { transition-delay: 0.25s; }
  .header-nav.is-open .header-menu li:nth-child(3) { transition-delay: 0.3s; }
  .header-nav.is-open .header-menu li:nth-child(4) { transition-delay: 0.35s; }
  .header-nav.is-open .header-menu li:nth-child(5) { transition-delay: 0.4s; }
  .header-nav.is-open .header-menu li:nth-child(6) { transition-delay: 0.45s; }

  .header-menu a {
    color: #fbfaf3;
    font-size: clamp(28px, 6vw, 42px);
    font-weight: 800;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    display: block;
    transition: color 0.3s;
  }

  .header-menu a:active {
    color: #b9ff50;
  }

  /* SPハンバーガーのデザイン */
  .btn-menu {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0;
    cursor: pointer;
    z-index: 1200; /* 最前面 */
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  /* 開いているとき：✕に変形 + 右上固定 */
  .btn-menu.is-active {
    position: fixed;
    top: 12px;
    right: 16px;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.2);
  }

  .btn-menu span {
    width: 22px;
    height: 2px;
    background: #fbfaf3;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .btn-menu.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .btn-menu.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .btn-menu.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* =========================
   ナビオープン中スクロール止める
========================= */
body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 800;
}

/* =========================
   FOOTER（ONYX Style）
========================= */
.bron-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1; /* Behind content */
  background: #111;
  color: #fff;
  padding: 80px 0 30px;
  overflow: hidden;
}

.bron-footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
}

/* 背面の巨大ロゴ */
.bron-footer__bg-text {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
}

.bron-footer__bg-text span {
  font-size: clamp(100px, 20vw, 350px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #333;
}

/* 前面コンテンツ */
.bron-footer__content {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.bron-footer__logo img {
  width: 120px;
  height: auto;
  margin-bottom: 30px;
}

.bron-footer__statement .ja {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.bron-footer__statement .en-sub {
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b9ff50;
}

.bron-footer__statement .ja-small {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 5px;
}

/* ナビゲーション */
.bron-footer__nav-title {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 20px;
}

.bron-footer__nav-list {
  list-style: none;
  padding: 0;
}

.bron-footer__nav-list li {
  margin-bottom: 15px;
}

.bron-footer__nav-list a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.3s;
}

.bron-footer__nav-list a:hover {
  color: #b9ff50;
}

.bron-footer__bottom {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.copyright {
  font-size: 12px;
  color: #666;
}

/* SP */
@media (max-width: 768px) {
  .bron-footer {
    padding: 40px 0 24px; /* Reduced padding */
  }

  .bron-footer__content {
    flex-direction: column;
    gap: 32px; /* Reduced gap (was 50px) */
  }

  /* 2-Column Nav on Mobile */
  .bron-footer__nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 16px;
    text-align: left;
    width: 100%;
    max-width: 300px; /* Prevent too wide spread */
    margin: 0 auto;   /* Center the grid */
  }

  .bron-footer__nav-list li {
    margin-bottom: 0;
  }
  
  .bron-footer__nav-list a {
      font-size: 16px; /* Slightly smaller for compactness */
  }

  .bron-footer__bg-text {
    bottom: 20px; /* Adjust position */
    opacity: 0.15; /* Subtle */
  }

  .bron-footer__bg-text span {
    font-size: 25vw;
  }

    .bron-footer__statement .ja {
    font-size: 18px;
  }
}

/* =========================
   Service Number (Outline Style)
   Ref: skiyaki.com
========================= */
.service-no {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 500; /* Thin outlines look better with lighter weights, but reference looks medium/bold */
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #888; /* Default stroke color */
  font-size: clamp(40px, 8vw, 80px); /* Responsive size */
  letter-spacing: 0.05em;
}

/* Variant: Light stroke (for dark backgrounds) */
.service-no--light {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8);
}

/* Variant: Dark stroke (for light backgrounds) */
.service-no--dark {
  -webkit-text-stroke: 1px #111;
}

/* Variant: Accent stroke */
.service-no--accent {
  -webkit-text-stroke: 1px var(--bron-accent, #b9ff50);
}

