/* ===========================================================
   AI real CG 公式サイト — レイアウト案B（index-b.html 専用）
   参考: studio.design/ja/business/ の構成手法
   ・全幅の濃色帯 ↔ 白/グレー帯を交互に置いてリズムを作る
   ・見出しは中央寄せ＋ドット付きのピル型ラベル
   ・MVは濃色地。右のビジュアルを画面右端まで流す
   ・特徴で選ぶは「大2枚＋小4枚」の非対称グリッド
   ・ギャラリーは濃色地の全幅
   ・最終CTAは黄色の全幅帯（黄×黒を反転して使う）
   色・フォント・ボタンは common.css のトークンをそのまま継承（Make House 踏襲）。
   =========================================================== */

:root { --b-dark: #111; --b-dark2: #1a1a1a; --b-cream: #f6f3ec; }

.bwrap { max-width: 1152px; margin: 0 auto; padding: 0 24px; }

/* ---------- 共通：ピル型ラベル・見出し ---------- */
/* ラベルは親の text-align に依存せず、自身の幅で中央に置く
   （親を text-align:center にするとカード内の本文まで中央寄りになるため） */
.beyebrow {
  display: flex; width: fit-content; align-items: center; gap: 7px; margin: 0 auto;
  padding: 6px 16px 6px 12px; border: 1px solid var(--border); border-radius: 999px;
  background: #fff; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: #6b6b6b;
}
.beyebrow__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.beyebrow--dark { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.18); color: #d8d8d8; }

.btitle {
  margin: 22px 0 0; font-weight: 900; font-size: 40px; line-height: 1.38;
  letter-spacing: -0.015em; text-align: center; color: var(--ink);
}
.btitle--dark { color: #fff; }
.blead { margin: 18px auto 0; max-width: 40em; font-size: 15px; line-height: 2; text-align: center; color: var(--muted); }
.blead--dark { color: rgba(255,255,255,0.68); }


@media (max-width: 680px) { .btitle { font-size: 27px; } .blead { font-size: 14px; } }

/* ===========================================================
   MV（濃色・右のビジュアルを画面右端まで流す）
   =========================================================== */
.bmv { position: relative; background: var(--b-dark); overflow: hidden; padding-top: 72px; }
.bmv::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 8% 0%, rgba(245,197,24,0.16), transparent 58%),
    linear-gradient(180deg, #161616 0%, #111 100%);
}
.bmv__inner {
  position: relative; z-index: 1;
  /* 校正指示_20261008 #1: 画像を画面外へはみ出させず、他セクションと同じ
     コンテンツ幅（1152px）に収める。左右は50:50。 */
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center; min-height: 520px;
}
/* 上下の黒余白は 2026-10-08 に C1 で確定 */
.bmv__copy { padding: 52px 0 60px; max-width: 560px; }
.bmv__kicker { margin: 0; font-weight: 700; font-size: 12px; letter-spacing: 1.6px; color: var(--yellow); }
.bmv__title {
  margin: 20px 0 0; font-weight: 900; font-size: 56px; line-height: 1.24;
  letter-spacing: -0.025em; color: #fff;
}
.bmv__lead { margin: 24px 0 0; font-size: 16px; line-height: 2; color: rgba(255,255,255,0.74); }
.bmv__actions { margin-top: 34px; }
.bmv__note { margin: 16px 0 0; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.45); }
/* 導入実績：箱で囲わず、上の罫線と数字の大きさ＋黄色のマーカーで強調する */
.bmv__stats {
  list-style: none; margin: 28px 0 0; padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-wrap: wrap; gap: 16px 34px;
}
.bmv__stats[hidden] { display: none; }
.bmv__stat { position: relative; display: flex; align-items: baseline; gap: 5px; }
.bmv__stat + .bmv__stat::before {
  content: ""; position: absolute; left: -17px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 26px; background: rgba(255,255,255,0.2);
}
.bmv__stat-num {
  font-weight: 900; font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; color: #fff;
  background: linear-gradient(transparent 64%, rgba(245,197,24,0.5) 64%);
  padding: 0 2px;
}
.bmv__stat-unit { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.8); }
@media (max-width: 420px) {
  .bmv__stats { gap: 14px 24px; }
  .bmv__stat + .bmv__stat::before { left: -12px; }
  .bmv__stat-num { font-size: 29px; }
}

/* 右のビジュアル：コンテンツ幅の中に収める（2026-10-08 校正指示 #1） */
.bmv__media { position: relative; }
.bmv__media .mv__slider {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  border-radius: 16px; overflow: hidden; background: #222;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.mv__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.mv__slide.is-active { opacity: 1; }
.mv__slide img { width: 100%; height: 100%; object-fit: cover; }
.bmv__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mv__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.mv__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: background .2s, transform .2s; }
.mv__dot.is-active { background: var(--yellow); transform: scale(1.3); }

@media (max-width: 980px) {
  /* 2026-10-08: PCと同じく画像をコンテンツ幅の中に収める。
     全幅・角丸なしだったのをやめ、左右20pxの余白と角丸を付けた。
     上下の黒余白もPC側（C1）に合わせて詰めている。 */
  .bmv { padding-top: 80px; }
  .bmv__inner { grid-template-columns: 1fr; gap: 24px; padding: 0 20px; min-height: 0; }
  .bmv__media { order: -1; margin: 0; }
  .bmv__media .mv__slider { width: 100%; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.42); }
  .mv__dots { right: 0; }
  .bmv__copy { padding: 0 0 44px; max-width: none; }
  .bmv__title { font-size: 38px; }
  .bmv__lead { margin-top: 14px; }
  .bmv__actions { margin-top: 22px; }
  .bmv__actions .btn-lg { width: 100%; }
  .bmv__subsidy { margin-top: 18px; }
}
@media (max-width: 420px) { .bmv__title { font-size: 31px; } }

/* ===========================================================
   使い方は3ステップ（横一本の線でつなぐ）
   =========================================================== */
.bsteps { padding: 100px 0 88px; background: #fff; }
.bsteps__track {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative;
}
.bsteps__item { position: relative; padding-top: 46px; text-align: center; }
/* ステップ同士をつなぐ線 */
.bsteps__item::before {
  content: ""; position: absolute; top: 22px; left: 50%; width: 100%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 6px, transparent 6px 12px);
}
.bsteps__item:last-child::before { display: none; }
.bsteps__num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--yellow);
  font-weight: 900; font-size: 18px; color: #111; z-index: 1;
}
.bsteps__title { margin: 0; font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--ink); }
.bsteps__desc { margin: 12px auto 0; max-width: 24em; font-size: 14px; line-height: 1.95; color: var(--muted); }
.bsteps .legal-note { margin-top: 40px; }
@media (max-width: 860px) {
  .bsteps { padding: 72px 0 64px; }
  .bsteps__track { grid-template-columns: 1fr; gap: 40px; }
  .bsteps__item::before { top: 46px; left: 50%; width: 1px; height: 100%;
    background: repeating-linear-gradient(180deg, var(--border) 0 6px, transparent 6px 12px); }
}

/* ===========================================================
   特徴で選ぶ（大2枚＋小4枚の非対称グリッド）
   =========================================================== */
.bpurpose { padding: 100px 0; background: var(--b-cream); }
.bpurpose__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bpcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
a.bpcard:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(0,0,0,0.11); border-color: #d6d6d6; }
.bpcard--lg { grid-column: span 6; }
/* 下段は3枚なので12カラムを3等分 */
.bpcard--sm { grid-column: span 4; }
.bpcard__media { position: relative; display: block; overflow: hidden; background: var(--bg-gray); }
.bpcard--lg .bpcard__media { aspect-ratio: 16 / 9; }
.bpcard--sm .bpcard__media { aspect-ratio: 4 / 3; }
.bpcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.bpcard:hover .bpcard__media img { transform: scale(1.06); }
.bpcard__body { display: block; padding: 22px 24px 26px; }
.bpcard--sm .bpcard__body { padding: 18px 20px 22px; }
.bpcard__badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--yellow-soft); border: 1px solid rgba(245,197,24,0.55);
  font-weight: 800; font-size: 11px; line-height: 1.5; color: #7a5e00;
}
.bpcard__title { margin: 14px 0 0; font-weight: 700; font-size: 18px; line-height: 1.5; color: var(--ink); }
.bpcard--sm .bpcard__title { font-size: 15px; margin-top: 12px; }
.bpcard__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.85; color: var(--muted); }
.bpcard--sm .bpcard__desc { font-size: 13px; }
.bpcard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 13px; color: var(--ink); }
.bpcard__arrow { transition: transform .2s ease; }
a.bpcard:hover .bpcard__arrow { transform: translateX(3px); }
.bpurpose .legal-note { margin-top: 28px; }
@media (max-width: 1000px) {
  .bpcard--sm { grid-column: span 6; }
}
@media (max-width: 620px) {
  .bpurpose { padding: 72px 0; }
  .bpurpose__grid { grid-template-columns: 1fr; gap: 16px; }
  .bpcard--lg, .bpcard--sm { grid-column: auto; }
  .bpcard--sm .bpcard__media { aspect-ratio: 16 / 9; }
}

/* ===========================================================
   ギャラリー（生成りの全幅帯）
   ※以前は濃色地にしていたが、ページ全体に占める黒の面積が大きすぎたため
     生成り（--b-cream）に変更。帯としての区切りは全幅グリッドで出す。
   =========================================================== */
.bgal { padding: 100px 0 88px; background: #fff; }
.bgal__subhead { margin: 56px 0 0; font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--muted); text-align: center; }
.bgal__ba { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal__ba-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.gal__ba-tabs { display: flex; padding: 12px 12px 0; }
.gal__ba-tab {
  flex: 0 0 auto; min-width: 74px; padding: 6px 14px; border: 1px solid var(--border);
  background: #fff; font-family: inherit; font-weight: 700; font-size: 12px;
  color: var(--muted); cursor: pointer; transition: background .15s, color .15s;
}
.gal__ba-tab:first-child { border-radius: 6px 0 0 6px; }
.gal__ba-tab:last-child { border-radius: 0 6px 6px 0; border-left: 0; }
.gal__ba-tab.is-active { background: var(--yellow); color: #111; border-color: var(--yellow); }
.gal__ba-slider { margin-top: 12px; height: 220px; }
.gal__ba-slider .gallery__handle { height: 100%; }
.gal__ba-slider .gallery__knob { top: 50%; transform: translateY(-50%); }
.gal__ba-caption { margin: 0; padding: 14px 16px; font-weight: 700; font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .bgal__ba { grid-template-columns: 1fr; } }

/* Before/After スライダー本体（挙動は common.js の .gallery__slider） */
.gallery__slider { position: relative; width: 100%; height: 208px; background: #f0f0f0; overflow: hidden; cursor: ew-resize; touch-action: none; user-select: none; }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gallery__img--after, .gallery__img--before img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gallery__img--before { z-index: 1; clip-path: inset(0 calc(100% - var(--reveal, 50%)) 0 0); }
.gallery__tag { position: absolute; top: 12px; z-index: 2; padding: 4px 8px; background: rgba(255,255,255,0.9); border-radius: 6px; font-weight: 700; font-size: 10px; line-height: 15px; letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.gallery__tag--before { left: 12px; }
.gallery__tag--after { right: 12px; }
.gallery__handle { position: absolute; top: 0; left: var(--reveal, 50%); transform: translateX(-1px); width: 2px; z-index: 3; background: #fff; filter: drop-shadow(0px 10px 7.5px rgba(0,0,0,0.12)); pointer-events: none; }
.gallery__knob { position: absolute; left: -17px; width: 36px; height: 36px; background: #fff; border: 1px solid #e5e7eb; border-radius: 50%; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0px 4px 3px rgba(0,0,0,0.12)); }
.gallery__knob img { display: block; width: 14px; height: 14px; }

/* フィルタ */
.gal__filter { margin-top: 52px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.gal__chip {
  padding: 9px 24px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font-family: inherit; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.gal__chip:hover { border-color: #c9c9c9; color: var(--ink); }
.gal__chip.is-active { background: var(--yellow); border-color: var(--yellow); color: #111; }

/* グリッドは画面いっぱい（左右に少しだけ余白） */
.bgal__gridwrap { margin-top: 26px; padding: 0 24px; }
.gal__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gal__item {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: #ececec;
  border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gal__item:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(0,0,0,0.16); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gal__item:hover img { transform: scale(1.05); }
.gal__item-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,0.66));
  font-size: 11px; font-weight: 700; color: #fff; text-align: left;
}
.gal__empty { margin: 24px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.gal__more { margin-top: 40px; display: flex; justify-content: center; }
.gal__more-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 36px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer;
  transition: box-shadow .18s, border-color .18s;
}
.gal__more-btn:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: #c9c9c9; }
.gal__more-btn[hidden] { display: none; }
.bgal__note { margin: 28px 0 0; font-size: 11px; color: #9a9a9a; text-align: center; }
@media (max-width: 1100px) { .gal__grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 820px) { .gal__grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (max-width: 560px) {
  .bgal { padding: 72px 0 64px; }
  .bgal__gridwrap { padding: 0 16px; }
  .gal__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ギャラリー拡大 */
.gal-modal {
  position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 24px; background: rgba(0,0,0,0.9);
}
.gal-modal[hidden] { display: none; }
.gal-modal__figure { margin: 0; max-width: min(1100px, 92vw); max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gal-modal__img { max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.gal-modal__caption { font-size: 13px; font-weight: 700; color: #eee; text-align: center; }
.gal-modal__close {
  position: absolute; top: 16px; right: 20px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer;
}
.gal-modal__close:hover { background: rgba(255,255,255,0.26); }
.gal-modal__nav {
  flex: 0 0 auto; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
}
.gal-modal__nav:hover { background: rgba(255,255,255,0.26); }
@media (max-width: 680px) {
  .gal-modal { padding: 12px; }
  .gal-modal__nav { position: absolute; bottom: 20px; width: 44px; height: 44px; }
  .gal-modal__nav--prev { left: 22%; }
  .gal-modal__nav--next { right: 22%; }
  .gal-modal__caption { padding-bottom: 56px; }
}

/* ===========================================================
   選ばれる理由（カードではなく罫線区切りの3×2）
   =========================================================== */
.bstrength { padding: 100px 0; background: var(--b-cream); }
.bstrength__grid {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
/* リンクではないのでホバーの反応は付けない（押せるように見えてしまうため） */
.bstrength__item { padding: 38px 34px 42px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
/* 番号：13pxの黄文字だと生成り地でほとんど読めなかったため、
   数字自体は濃色にして、黄色は横のバーでアクセントとして効かせる */
.bstrength__num {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 900; font-size: 21px; line-height: 1; letter-spacing: .04em;
  font-feature-settings: "tnum"; color: var(--ink);
}
.bstrength__num::after {
  content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--yellow);
}
.bstrength__title { margin: 18px 0 0; font-weight: 700; font-size: 17px; line-height: 1.5; color: var(--ink); }
.bstrength__desc { margin: 12px 0 0; font-size: 14px; line-height: 1.95; color: var(--muted); }
@media (max-width: 900px) { .bstrength__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .bstrength { padding: 72px 0; }
  .bstrength__grid { grid-template-columns: 1fr; }
  .bstrength__item { padding: 30px 22px 32px; }
}

/* ===========================================================
   導入企業の声
   =========================================================== */
.bvoice { padding: 100px 0; background: #fff; }
.bvoice[hidden] { display: none; }
.bvoice__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bvoice__card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 34px 30px; }
.bvoice__quote { margin: 0; font-size: 15px; line-height: 1.95; color: var(--body); }
.bvoice__name { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-weight: 700; font-size: 13px; color: var(--ink); }
.bvoice__avatar {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 50%; background: var(--yellow-soft); border: 1px solid rgba(245,197,24,0.5);
  font-weight: 800; font-size: 13px; color: #7a5e00;
}
@media (max-width: 900px) { .bvoice__grid { grid-template-columns: 1fr; gap: 16px; } }

/* ===========================================================
   料金・トライアル（1枚のカードに横並び）
   =========================================================== */
.bprice { padding: 100px 0; background: #fff; }
/* 箱を並べないためカード1枚に集約（上＝プラン、下＝補助金の帯） */
.bprice__card {
  margin: 52px auto 0; width: 100%; max-width: 520px;
  background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 46px rgba(0,0,0,0.06);
}
.bprice__plan { padding: 40px 36px; background: #fff; }
.bprice__plan-name { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .06em; color: #b08900; }
.bprice__amount { margin: 14px 0 0; display: flex; align-items: baseline; gap: 5px; }
.bprice__num { font-weight: 900; font-size: 44px; line-height: 1.1; color: var(--ink); }
.bprice__unit { font-size: 13px; color: var(--muted); }
.bprice__list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bprice__list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.7; color: var(--body); }
.bprice__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 2px solid #c79400; border-bottom: 2px solid #c79400; transform: rotate(-45deg);
}
.bprice__cta { margin-top: 30px; width: 100%; padding: 16px 24px; font-size: 15px; }


.bsubsidy {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--yellow-soft); border-top: 1px solid rgba(245,197,24,0.55); padding: 24px 32px 26px;
}
.bsubsidy__title { margin: 0; font-weight: 900; font-size: 15px; color: #6b5200; }
.bsubsidy__text { margin: 8px 0 0; font-size: 14px; line-height: 1.8; color: var(--body); }
.bsubsidy__note { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #7a6a3a; }
.bsubsidy__note a { text-decoration: underline; }
@media (max-width: 900px) {
  .bprice { padding: 72px 0; }
  .bprice__plan { padding: 30px 24px; }
}

/* ===========================================================
   最終CTA（黄色の全幅帯・黄×黒を反転）
   =========================================================== */
.bcta { background: var(--yellow); padding: 84px 0; }
.bcta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.bcta__heading { margin: 0; font-weight: 900; font-size: 36px; line-height: 1.4; color: #111; }
.bcta__btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  padding: 20px 40px; border-radius: 999px; background: #111; color: #fff;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.2);
  transition: transform .15s ease, box-shadow .2s ease;
}
.bcta__btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(0,0,0,0.26); }
.bcta__arrow { transition: transform .2s ease; }
.bcta__btn:hover .bcta__arrow { transform: translateX(4px); }
.bcta__note { margin: 20px 0 0; font-size: 12px; line-height: 1.7; color: rgba(0,0,0,0.6); }
@media (max-width: 680px) {
  .bcta { padding: 64px 0; }
  .bcta__heading { font-size: 26px; }
  .bcta__btn { width: 100%; justify-content: center; padding: 18px 24px; }
}

/* ===========================================================
   ヘッダー：TOPはMVが濃色なので、最上部だけ透過にして白抜きにする。
   下層ページ（features / usecases / faq / guide）は白〜生成り地なので
   通常表示のまま。セレクタを data-page="home" に限定している。
   （共通パーツ partials/header.html は変更しない）
   =========================================================== */
[data-page="home"][data-variant="b"] .header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__navlink { color: rgba(255,255,255,0.86); }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__navlink:hover { color: #fff; }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__navlink--accent { color: var(--yellow); }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__brand-logo,
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__brand-mh { filter: brightness(0) invert(1); }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__brand-bytext { color: rgba(255,255,255,0.7); }
[data-page="home"][data-variant="b"] .header:not(.is-scrolled) .header__burger span { background: #fff; }
/* スクロールしたら通常のフロステッドガラスに戻す */
[data-page="home"][data-variant="b"] .header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
}
[data-page="home"][data-variant="b"] .header.is-open .header__burger span { background: #111; }

/* ---------- 中央寄せの微調整（案Bは見出し周りを中央に揃える） ---------- */
.bgal__subhead { text-align: center; }
.bsteps .legal-note, .bpurpose .legal-note { text-align: center; }

/* ===========================================================
   2026-10-01 AUN校正対応で追加した要素
   =========================================================== */

/* ---------- MV：0円表記・補助金バッジ（AUN #7） ---------- */
.bmv__free { display: flex; gap: 20px; flex-wrap: wrap; margin: 16px 0 0; font-size: 13px; color: rgba(255,255,255,0.72); }
.bmv__free-item { display: inline-flex; align-items: baseline; gap: 4px; }
.bmv__free-item em { font-style: normal; font-weight: 900; font-size: 17px; color: #fff; }
.bmv__subsidy {
  display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  background: rgba(245,197,24,0.14); border: 1px solid rgba(245,197,24,0.5);
  font-size: 13px; font-weight: 700; color: var(--yellow);
}
.bmv__subsidy strong { color: #fff; }
.bmv__subsidy-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
@media (max-width: 980px) {
  .bmv__free { justify-content: center; }
  .bmv__subsidy { margin-top: 18px; }
}

/* ---------- セクション下部の「詳しく見る」（AUN #12 / #19） ---------- */
.bsec__cta { margin-top: 52px; display: flex; justify-content: center; }
.bsec__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 280px; padding: 19px 40px; border-radius: 999px;
  background: var(--b-dark); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .04em;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease;
}
.bsec__btn:hover { background: #2a2a2a; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(0,0,0,0.18); }
.bsec__btn-arrow { transition: transform .2s ease; }
.bsec__btn:hover .bsec__btn-arrow { transform: translateX(4px); }
@media (max-width: 560px) {
  .bsec__cta { margin-top: 36px; }
  .bsec__btn { width: 100%; min-width: 0; }
}

/* ---------- 機能で選ぶ（AUN #12） ---------- */
.bfeat { padding: 100px 0; background: #fff; }
.bfeat__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.bfeat__grid .bpcard--lg { grid-column: span 6; }
.bfeat__grid .bpcard--sm { grid-column: span 4; }
@media (max-width: 1000px) { .bfeat__grid .bpcard--sm { grid-column: span 6; } }
@media (max-width: 620px) {
  .bfeat { padding: 72px 0; }
  .bfeat__grid { grid-template-columns: 1fr; gap: 16px; }
  .bfeat__grid .bpcard--lg, .bfeat__grid .bpcard--sm { grid-column: auto; }
}

/* カード内のキャッチ（機能カードのみ） */
.bpcard__catch { margin: 12px 0 0; font-weight: 700; font-size: 17px; line-height: 1.6; color: var(--ink); }
.bpcard--sm .bpcard__catch { font-size: 15px; }

/* バッジ＝タイトル（AUN #18 / #20）。枠の中にBoldのタイトルを入れる */
.bpcard__badge {
  display: inline-block; padding: 8px 18px; border-radius: 999px;
  background: var(--yellow-soft); border: 1px solid rgba(245,197,24,0.65);
  font-weight: 700; font-size: 17px; line-height: 1.4; color: #6b4e00;
}
.bpcard--sm .bpcard__badge { font-size: 15px; padding: 7px 15px; }
.bpcard__desc { margin: 14px 0 0; }

/* COMING SOON のカード */
.bpcard--soon { border: 2px solid var(--yellow); }
/* NEWバッジ（2026-10-08 ローンチ）。以前は COMING SOON の赤だった */
.bpcard__soon {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 22px; border-radius: 999px; background: #c0392b;
  color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .18em;
  box-shadow: 0 6px 18px rgba(192,57,43,0.35);
}
.bpcard__soon::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff;
  animation: bSoonBlink 1.2s infinite;
}
@keyframes bSoonBlink { 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .bpcard__soon::before { animation: none; } }
@media (max-width: 560px) { .bpcard__soon { font-size: 13px; padding: 8px 15px; top: 14px; left: 14px; } }

/* ---------- ギャラリー：平面図から3D（AUN #22） ---------- */
.bgal__soon {
  margin-top: 28px; background: #fff; border: 2px solid var(--yellow); border-radius: 16px;
  padding: 32px 36px 28px;
}
.bgal__soon-head { text-align: center; }
.bgal__soon-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 24px; border-radius: 999px; background: #c0392b;
  color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .18em;
  box-shadow: 0 6px 18px rgba(192,57,43,0.3);
}
.bgal__soon-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: bSoonBlink 1.2s infinite;
}
@media (prefers-reduced-motion: reduce) { .bgal__soon-badge::before { animation: none; } }
.bgal__soon-title { margin: 16px 0 0; font-weight: 900; font-size: 24px; line-height: 1.4; color: var(--ink); }
.bgal__soon-lead { margin: 10px auto 0; max-width: 40em; font-size: 14px; line-height: 1.9; color: var(--muted); }

.bgal__soon-pair {
  margin-top: 26px; display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 20px; align-items: center;
}
.bgal__soon-item { position: relative; margin: 0; }
/* 平面図(3:2)と内観CG(16:9)で比率が違うため、中間の16:10の箱に contain で収める。
   切り抜くと図面が読めなくなるので cover は使わない。 */
.bgal__soon-item img {
  /* height:auto を入れないと、HTMLのheight属性が効いて aspect-ratio が無視される */
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: contain;
  border-radius: 12px; background: var(--b-cream); display: block;
  border: 1px solid var(--border);
}
.bgal__soon-label {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  padding: 5px 12px; border-radius: 6px; background: rgba(17,17,17,0.82);
  font-weight: 700; font-size: 11px; letter-spacing: .06em; color: #fff;
}
.bgal__soon-label--out { background: var(--yellow); color: #111; }
.bgal__soon-item figcaption { margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.bgal__soon-arrow { font-size: 26px; font-weight: 900; color: #c9c2b0; }
.bgal__soon-note { margin: 20px 0 0; font-size: 11px; color: #9a9a9a; text-align: center; }

/* 生成中の演出（9/30定例「切り替え時にローディングで生成中と出す／切り替えは1秒未満」）。
   尺の唯一の値は index.html の data-gen-dur。JSが --b-gen-dur に流し込む。 */
.bgal__soon-gen {
  position: absolute; top: 0; left: 0; z-index: 2;
  /* 画像の箱とぴったり重ねる。figcaption までは覆わない */
  width: 100%; aspect-ratio: 16 / 10; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(23,22,20,0.84); color: #fff;
}
/* display:flex は hidden 属性より強い。これを入れないと「生成中…」が出たままになる */
.bgal__soon-gen[hidden] { display: none; }
.bgal__soon-gen-spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.26); border-top-color: var(--yellow);
  animation: bGenSpin .7s linear infinite;
}
.bgal__soon-gen-text { font-weight: 900; font-size: 13px; letter-spacing: .1em; }
.bgal__soon-gen-bar {
  width: 128px; height: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.22); overflow: hidden;
}
.bgal__soon-gen-bar i {
  display: block; width: 100%; height: 100%; background: var(--yellow);
  transform-origin: left center;
  animation: bGenBar var(--b-gen-dur, 900ms) linear forwards;
}
/* 生成が明けた瞬間にCGが立ち上がって見えるよう、ぼかしから戻す */
.bgal__soon-item img { transition: filter .4s ease, transform .4s ease; }
.bgal__soon-item.is-gen img { filter: blur(10px) saturate(.55); transform: scale(1.015); }
@keyframes bGenSpin { to { transform: rotate(360deg); } }
@keyframes bGenBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.bgal__soon-replay { margin-top: 16px; text-align: center; }
.bgal__soon-replay-btn {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  font-weight: 700; font-size: 12px; color: var(--ink);
}
.bgal__soon-replay-btn:hover { background: var(--b-cream); }
.bgal__soon-replay-btn[disabled] { opacity: .45; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .bgal__soon-gen-spinner, .bgal__soon-gen-bar i { animation: none; }
  .bgal__soon-item img { transition: none; }
}
@media (max-width: 680px) {
  .bgal__soon { padding: 24px 20px 22px; }
  .bgal__soon-title { font-size: 19px; }
  .bgal__soon-pair { grid-template-columns: 1fr; gap: 14px; }
  .bgal__soon-arrow { transform: rotate(90deg); text-align: center; }
}

/* ---------- お知らせ帯（MV直下） ---------- */
.bnotice { background: var(--yellow); }
.bnotice[hidden] { display: none; }
.bnotice__inner {
  max-width: 1152px; margin: 0 auto; padding: 0 24px;
  min-height: 46px; display: flex; align-items: center; gap: 18px;
}
.bnotice__tag {
  flex: none; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px; background: #fff; color: #111;
  font-weight: 900; font-size: 11.5px; letter-spacing: .04em; line-height: 1;
}
.bnotice__tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #111; }
/* 複数件を同じ場所で入れ替えるため、項目は重ねて置く */
.bnotice__list { position: relative; flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; list-style: none; height: 20px; }
.bnotice__list li {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 18px;
  opacity: 0; transition: opacity .5s ease;
}
.bnotice__list li.is-active { opacity: 1; }
.bnotice__list time { flex: none; font-size: 12px; letter-spacing: .04em; color: rgba(0,0,0,0.55); }
.bnotice__list span {
  font-size: 13.5px; font-weight: 700; color: #111; line-height: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 動きを減らす設定のときは切り替えず、全件を縦に並べる */
.bnotice.is-static .bnotice__inner { align-items: flex-start; padding-top: 11px; padding-bottom: 11px; }
.bnotice.is-static .bnotice__list { height: auto; display: grid; gap: 6px; }
.bnotice.is-static .bnotice__list li { position: static; opacity: 1; transition: none; }
@media (max-width: 720px) {
  /* 幅が足りないので、バッジを1行目に出して本文を全幅で使う */
  .bnotice__inner { padding: 10px 20px; gap: 0; row-gap: 7px; flex-wrap: wrap; align-items: flex-start; }
  .bnotice__tag { flex: 0 0 auto; }
  .bnotice__list { flex: 1 0 100%; height: auto; }
  .bnotice__list li { position: static; display: none; opacity: 0; gap: 10px; align-items: baseline; }
  .bnotice__list li.is-active { display: flex; opacity: 1; }
  .bnotice__list time { font-size: 11px; }
  .bnotice__list span { font-size: 12.5px; white-space: normal; line-height: 1.5; }
  .bnotice.is-static .bnotice__inner { padding-top: 10px; padding-bottom: 10px; }
  .bnotice.is-static .bnotice__list li { display: flex; opacity: 1; }
}

/* ---------- 料金・最終CTA の0円表記 ---------- */
.bprice__free { margin: 14px 0 0; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bprice__free .bmv__free-item em { color: var(--ink); font-size: 15px; }
.bcta__free { margin: 18px 0 0; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-size: 13px; color: rgba(0,0,0,0.6); }
.bcta__free .bmv__free-item em { color: #111; font-size: 17px; }
.bcta__subsidy {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0;
  padding: 9px 18px 9px 14px; border-radius: 999px;
  background: rgba(0,0,0,0.08); border: 1px solid rgba(0,0,0,0.18);
  font-size: 13px; font-weight: 700; color: #111;
}
.bcta__subsidy .bmv__subsidy-mark { background: #111; }
.bcta__subsidy strong { color: #111; }
/* ---------- FAQページ（faq.html） ---------- */
.faqpage { padding: 128px 0 88px; }
.faqpage__inner { max-width: 840px; margin: 0 auto; padding: 0 24px; }
.faqpage__crumb { margin: 0 0 18px; font-size: 12px; color: var(--muted); }
.faqpage__crumb a { text-decoration: underline; }
.faqpage__list { margin-top: 36px; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left; font-family: inherit;
  transition: background .15s;
}
.faq__q-btn:hover { background: #fafafa; }
.faq__q { font-weight: 700; font-size: 15px; line-height: 1.5; color: var(--ink); }
.faq__toggle { position: relative; flex-shrink: 0; width: 16px; height: 16px; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink); border-radius: 1px; transition: transform .25s, background .25s; }
.faq__toggle::before { width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq__toggle::after { width: 2px; height: 14px; transform: translate(-50%,-50%); }
.faq__item.is-open .faq__toggle::before { background: var(--yellow); }
.faq__item.is-open .faq__toggle::after { transform: translate(-50%,-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { margin: 0; padding: 0 24px 22px; font-size: 14px; line-height: 1.85; color: var(--muted); }
.faqpage__group { margin-top: 56px; }
.faqpage__group-title { margin: 0 0 6px; font-weight: 900; font-size: 20px; color: var(--ink); }
.faqpage__group-lead { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); }
.faqpage__howto { margin-top: 28px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.faqpage__howto-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 22px 24px; }
.faqpage__howto-title { margin: 0; font-weight: 700; font-size: 15px; color: var(--ink); }
.faqpage__howto-desc { margin: 8px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.faqpage__howto-soon { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg-gray); font-size: 11px; font-weight: 700; color: var(--muted); }
@media (max-width: 680px) {
  .faqpage { padding: 104px 0 64px; }
  .faqpage__howto { grid-template-columns: 1fr; }
}
