@charset "UTF-8";
/*
Theme Name: BRON
Description:
Version: 1.0
*/

/* --------------------
 ベースリセット
-------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: #111;
  line-height: 1.6;
}


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

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

.header-logo img {
  width: 150px;
}

/* --------------------
 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;
}


/* --------------------
 MOBILE（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.9);     /* 黒の半透明 */
    padding: 96px 20px 40px;
    transition: right 0.35s;
    box-shadow: none;
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }

  .header-nav.is-open {
    right: 0;                           /* 押したらスライドイン */
  }

  .header-menu {
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .header-menu a {
    color: #fbfaf3;                     /* 白文字で見えるように */
    font-size: 18px;
    text-decoration: none;
  }

  .header-inner {
    padding: 12px 16px;
  }

  /* 検索ボタンは使わないなら、消してもOK */
  /* .btn-search { display:none; } */
}

/* =========================
   HERO (IMAGE BACKGROUND)
   ========================= */

/* 共通ヒーロー：画面いっぱい */
.hero--full {
  position: relative;
  width: 100%;
  height: 100vh;          /* 画面の高さぴったり */
  min-height: 100vh;
  overflow: hidden;
  color: #fbfaf3;
  background-color: #000;
}

/* 背景（全体を覆う） */
.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 背景画像：中央トリミングでカバー */
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* いつも中央を見せる */
  display: block;
}

/* 薄いオーバーレイ（見やすさアップ） */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    circle at top,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.75)
  );
}

/* 中身を完全中央に寄せる（上下左右とも真ん中） */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;        /* 縦中央 */
  justify-content: center;    /* 横中央 */
  padding: 0 clamp(1.5rem, 5vw, 4rem); /* 横だけ余白 */
  height: 100%;
  text-align: center;
}

/* rapid-logosの調整 */
.rapid-logos {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rapid-logos .frame {
  position: absolute;
  opacity: 0;
  transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
  transform: translateY(8px);
  pointer-events: none;
}

.rapid-logos .frame.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* SVGロゴサイズ調整 */
.rapid-logos svg {
  width: min(70vw, 520px);
  height: auto;
}

/* テキストフレーム */
.rapid-logos__text {
  padding: 1rem 2rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 250, 243, 0.7);
  /*backdrop-filter: blur(8px);
  background-color: rgba(10, 10, 10, 0.4);*/
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rapid-logos__text span {
  display: inline-block;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .hero__inner {
    justify-content: center;
    align-items: center;
  }

  .rapid-logos svg {
    width: min(82vw, 420px);
  }

  .rapid-logos__text {
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.16em;
    font-size: 0.85rem;
  }
}

/* タブレット～PCで少し余白 */
@media (min-width: 768px) {
  .hero__inner {
    padding-inline: 6vw;
  }
}

/* SVGロゴ固定サイズ & 色 */
.rapid-logos svg {
  width: 300px;
  height: auto;
  display: block;
}

/* SVGロゴの色を明るい黄緑に */
.rapid-logos svg path {
  fill: #ccff55;
}

/* =========================
   TOPページ専用調整：
   ヘッダーの背景まで画像を入れる
   ========================= */

/* トップページではヘッダーを透かす */
.home .header-bar {
  background: transparent;
  border-bottom: none;
}

/* トップページのナビ文字を白っぽくして背景上でも見えるように */
.home .header-menu a {
  color: #fbfaf3;
}

.home .btn-menu span {
  background: #fbfaf3;
}

.home .btn-search {
  filter: invert(1); /* 黒アイコンを簡易的に白っぽく */
}

/* hero をヘッダーの裏まで伸ばす（ヘッダー高さを 64px 想定） */
.home .hero--full {
  margin-top: -64px;                          /* ヘッダー分だけ上に食い込ませる */
  height: calc(100vh + 64px);
  min-height: calc(100vh + 64px);
}

/* PCではハンバーガー非表示（通常ナビだけ使う） */
@media (min-width: 981px) {
  .btn-menu {
    display: none;
  }
}
/* ナビオープン中は画面全体を薄暗く＆スクロール止める */
body.nav-open {
  overflow: hidden;
}

body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 800;   /* header-nav(900)より下、他コンテンツより上 */
}
@media screen and (max-width: 980px) {

  /* 丸いメニューボタン */
  .btn-menu {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #fbfaf3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1101;          /* メニューより上に */
  }

  .btn-menu span {
    width: 22px;
    height: 2px;
    background: #fbfaf3;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* 開いているとき：✕に変形 */
  .btn-menu.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

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

}

/* ============================
   BRON Strengths Section
============================ */

.bron-strengths {
  width: 100%;
  padding: clamp(60px, 10vw, 120px) 6vw;
  background: #fff;
  color: #111;
}

.strengths-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
}

/* 左：画像 */
.strengths-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

/* 右：テキスト */
.strengths-content {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.0s ease, transform 1.0s ease;
}

/* アニメーション表示 */
.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* タイトル */
.strengths-label {
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
  color: #444;
}

.strengths-label .accent-en {
  color: #b9ff50;
  font-weight: 700;
}

.strengths-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 2rem;
}

/* テキスト */
.strengths-text {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  color: #222;
}

.strengths-text .accent-en {
  color: #b9ff50;
  font-weight: 600;
}

/* ============================
   SP（縦並び）
============================ */
@media (max-width: 768px) {
  .strengths-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .strengths-image img {
    height: 60vw;
    border-radius: 12px;
  }

  .strengths-title {
    font-size: 1.9rem;
  }
}
