@charset "UTF-8";
/* ============================================================
   bi-refine v3 追加分（2026-11-17 試作・本番未反映）
   frontend-design の手順で作り直した層。今の本番（bi-refine-v1 → v2-add 入り）の「あと」に当てる。
   本番に出すときは deploy_global.py の配信リストで bi-refine-v2 の次に足す（同じ強さの指定は後ろが勝つ）。
   設計は PLAN_v3.md、前提は ../DESIGN_BRIEF.md。
   文言と HTML の変更（→ の削除・支援内容の箱）は試作用の bi-refine-v3-proto.js がやっている。
   ============================================================ */

:root {
  --rf-sumi: #1b1813;
  --rf-ink-2: #1b1813;
  --rf-gold-line: rgba(201, 162, 91, .5);
}

/* ---------- A. 角：押せるものだけ 4px（面・写真は角なし） ---------- */
html body #body_wrap#body_wrap :is(a.bi-head-cta, .bi-midcta a, a.bi-footer-cta__btn, a.bi-cta__btn, a.bi-chefentry__btn, a.bi-flow__cta, a.btn-g, a.btn-o, .wpcf7-form input:not([type="checkbox"]):not([type="radio"]), .wpcf7-form select, .wpcf7-form textarea),
html body #bi-consult-fab {
  border-radius: 4px !important;
}

/* ---------- B. → をやめる（文字の → は試作用 JS で消す） ---------- */
html body #body_wrap#body_wrap .st-entry__list a::after,
html body #body_wrap#body_wrap a.bi-case__tag::after,
html body #body_wrap#body_wrap a.bi-footer-cta__btn::after,
html body .rf-noarrow-a::after {
  content: none !important;
  display: none !important;
}
html body .rf-noarrow-b::before {
  content: none !important;
  display: none !important;
}
html body #body_wrap#body_wrap .bi-head-cta__arrow,
html body #body_wrap#body_wrap .bi-flow__ctaArrow,
html body #bi-consult-fab .bi-consult-fab__arrow {
  display: none !important;
}
/* サイト全体の CSS・ページ内の CSS が ::after で足している →（bi-global・bi-studio・会社概要・法人ページ・コラム一覧） */
html body #body_wrap#body_wrap :is(.bi-cta__btn, .bi-cm-btn--primary, .bi-cm-store__cta, .bi-footer-cta__btn, .bi-cm-cta-block__btn)::after,
html body #body_wrap#body_wrap .bi-guide-sec .bi-guide .bi-guide__links a::after,
html body #body_wrap#body_wrap .bi-cp :is(.cp-svc__go, .cp-sublink, .cp-loc__go)::after,
html body #body_wrap#body_wrap .cl-related__t::after,
html body #body_wrap#body_wrap .bi-themes__list a::after {
  content: none !important;
  display: none !important;
}
html body #body_wrap#body_wrap .bi-biz__tbl tbody th a::after {
  content: "詳しく見る" !important;
}

/* ---------- C. 番号は順番のものだけ（流れの 01〜04 は残す） ---------- */
html body #body_wrap#body_wrap .bi-home .bi-svc__top,
html body #body_wrap#body_wrap .bi-why__no {
  display: none !important;
}

/* ---------- D. 勝手に動くものをやめる（ファーストビューの読み込みだけ残す） ---------- */
html body #body_wrap#body_wrap .l-content :is(.bi-io, .rv, .st-line, .st-in, .st-photo__img):not(.bi-hero *) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
}
html body #body_wrap#body_wrap .l-content :is(.bi-svc, .bi-case, .st-entry__card, .p-postList__item, .bi-card, .bi-plan, .st-photo, a):hover,
html body #body_wrap#body_wrap .l-content :is(.bi-case, .st-photo, .p-postList__item) :is(img, .st-photo__img, .c-postThumb__figure) {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  html body #body_wrap#body_wrap .bi-hero *,
  html body #body_wrap#body_wrap .bi-hero *::before,
  html body #body_wrap#body_wrap .bi-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* キーボードで動かしたとき、いまどこにいるかを金の枠で見せる */
html body #body_wrap#body_wrap :is(a, button, input, select, textarea, summary):focus-visible,
html body #bi-consult-fab:focus-visible {
  outline: 2px solid var(--rf-gold) !important;
  outline-offset: 3px !important;
}

/* ---------- E. ファーストビュー ---------- */
html body #body_wrap#body_wrap .bi-hero__lead--strong {
  border-left: 0 !important;
  padding-left: 0 !important;
}
html body #body_wrap#body_wrap .st-entry__card {
  background: rgba(7, 7, 7, .72) !important;
  border: 1px solid var(--rf-line) !important;
}
html body #body_wrap#body_wrap .st-entry__k {
  font-family: var(--rf-mincho) !important;
  font-weight: 600 !important;
  font-size: 17px !important;
  letter-spacing: .06em !important;
}
html body #body_wrap#body_wrap .st-entry__t {
  color: var(--rf-text) !important;
}
html body #body_wrap#body_wrap .st-entry__s {
  color: var(--rf-gold) !important;
  -webkit-text-fill-color: var(--rf-gold) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--rf-gold-line) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}
html body #body_wrap#body_wrap .st-entry__list a:hover .st-entry__s,
html body #body_wrap#body_wrap .st-entry__list a:focus-visible .st-entry__s {
  text-decoration-color: var(--rf-gold) !important;
}

/* ---------- F. 支援内容：お品書き（誰向けかで2つに分け、左に名前・料金・詳しく見る、右に説明） ---------- */
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-lead {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid {
  display: block !important;
  border-top: 0 !important;
  margin: 44px 0 0 !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc {
  display: grid !important;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr) !important;
  grid-template-areas: none !important;
  grid-template-rows: none !important;
  column-gap: 64px !important;
  row-gap: 0 !important;
  padding: 24px 0 !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rf-line) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc:has(> .rf-svc-group) {
  padding-top: 0 !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc:has(+ .bi-svc > .rf-svc-group),
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc:nth-child(5) {
  border-bottom: 0 !important;
}
html body #body_wrap#body_wrap .bi-home .rf-svc-group {
  grid-column: 1 / -1;
  margin: 0 !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid var(--rf-gold) !important;
  font-family: var(--rf-mincho) !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  line-height: 1.5 !important;
  letter-spacing: .06em !important;
  color: var(--rf-text) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc + .bi-svc > .rf-svc-group {
  margin-top: 48px !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc > .rf-svc-group ~ :is(.rf-svc__name, .rf-svc__body) {
  padding-top: 24px !important;
}
html body #body_wrap#body_wrap .bi-home .rf-svc__name,
html body #body_wrap#body_wrap .bi-home .rf-svc__body {
  min-width: 0;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__title {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 22px !important;
  line-height: 1.5 !important;
  color: #fff !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__title::before,
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__title::after {
  display: none !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__price {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  font-family: var(--rf-gothic) !important;
  font-size: 13.5px !important;
  line-height: 1.85 !important;
  color: var(--rf-text-2) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__price b {
  display: block !important;
  margin: 0 0 2px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: .08em !important;
  color: var(--rf-text-2) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__price em {
  font-family: var(--rf-mincho) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 20px !important;
  letter-spacing: .02em !important;
  margin: 0 2px !important;
  color: var(--rf-gold) !important;
  -webkit-text-fill-color: var(--rf-gold) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__bottom {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__lead {
  margin: 0 0 12px !important;
  max-width: 38em !important;
  font-size: 14.5px !important;
  line-height: 1.9 !important;
  color: var(--rf-text-2) !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__list {
  margin: 0 !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__list li {
  margin: 0 0 4px !important;
}
html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__list li::before {
  background: rgba(255, 255, 255, .38) !important;
}
html body #body_wrap#body_wrap .bi-home a.bi-svc__btn {
  color: var(--rf-text) !important;
  border-bottom-color: var(--rf-gold-line) !important;
}
html body #body_wrap#body_wrap .bi-home a.bi-svc__btn:hover {
  border-bottom-color: var(--rf-gold) !important;
}

/* ---------- G. 中間の相談導線・シェフ向け ---------- */
html body #body_wrap#body_wrap .bi-midcta {
  border-top: 0 !important;
  border-bottom: 0 !important;
  padding: 12px 0 8px !important;
}
html body #body_wrap#body_wrap .bi-chefentry__in {
  background: var(--rf-sumi) !important;
  border: 0 !important;
}

/* ---------- H. 選ばれる理由：番号なし・余白で分ける ---------- */
html body #body_wrap#body_wrap .bi-why__item {
  border-top: 0 !important;
  padding-top: 0 !important;
}

/* ---------- J. 支援の例：表の罫線をやめ、余白で分ける（スマホの横スワイプは墨色の面にする） ---------- */
html body #body_wrap#body_wrap .bi-cases__grid {
  border: 0 !important;
}
html body #body_wrap#body_wrap .bi-case::before,
html body #body_wrap#body_wrap .bi-case::after {
  display: none !important;
}
@media (min-width: 769px) {
  html body #body_wrap#body_wrap .bi-cases__grid {
    gap: 44px 64px !important;
    margin-top: 40px !important;
  }
  html body #body_wrap#body_wrap .bi-case,
  html body #body_wrap#body_wrap .bi-case:nth-child(even) {
    border: 0 !important;
    padding: 0 !important;
  }
}
@media (max-width: 768px) {
  html body #body_wrap#body_wrap .bi-case,
  html body #body_wrap#body_wrap .bi-case:nth-child(even) {
    border: 0 !important;
    background: var(--rf-sumi) !important;
    padding: 18px 18px 20px !important;
  }
}
/* よみものの一覧を組み立てる JS が付ける → */
html body #body_wrap#body_wrap .bi-news__arw {
  display: none !important;
}

/* ---------- K. よみもの（トップ）：フリー素材の写真を出さず、分類・日付・題名の一覧に ---------- */
html body #body_wrap#body_wrap .bi-news .p-postList__thumb {
  display: none !important;
}
html body #body_wrap#body_wrap .bi-news .p-postList {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 56px !important;
  row-gap: 0 !important;
  margin: 28px 0 0 !important;
}
html body #body_wrap#body_wrap .bi-news .p-postList__item {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px 0 20px !important;
  border-top: 1px solid var(--rf-line) !important;
}
html body #body_wrap#body_wrap .bi-news .p-postList__body {
  padding: 0 !important;
}
html body #body_wrap#body_wrap .bi-news .p-postList__title {
  margin-top: 6px !important;
}

/* ---------- I. 説明文の幅（1行 38 字まで） ---------- */
html body #body_wrap#body_wrap .l-content :is(.bi-lead, .bi-sec__lead, .bi-cases__lead, .st-photos__p, .bi-chefentry__p) {
  max-width: 38em !important;
}

/* ---------- スマホ ---------- */
@media (max-width: 768px) {
  html body #bi-consult-fab {
    border-radius: 0 !important;
  }
}
@media (max-width: 600px) {
  html body #body_wrap#body_wrap .bi-home .bi-solutions__grid {
    margin-top: 32px !important;
  }
  /* 1列にして「名前 → 料金 → 説明 → 詳しく見る」の順に並べ直す */
  html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 24px 0 !important;
  }
  html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc > :is(.rf-svc__name, .rf-svc__body) {
    display: contents !important;
  }
  html body #body_wrap#body_wrap .bi-home .rf-svc-group { order: 0; margin-bottom: 22px !important; font-size: 17px !important; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__title { order: 1; font-size: 20px !important; margin-bottom: 6px !important; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__price { order: 2; margin-bottom: 12px !important; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__lead { order: 3; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__list { order: 4; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__bottom { order: 5; margin-top: 14px !important; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc + .bi-svc > .rf-svc-group {
    margin-top: 40px !important;
  }
  /* 料金の目安は値段と同じ行に（縦を詰める） */
  html body #body_wrap#body_wrap .bi-home .bi-solutions .bi-svc__price b {
    display: inline !important;
    margin: 0 8px 0 0 !important;
  }
  html body #body_wrap#body_wrap .bi-home .rf-svc-group { margin-bottom: 16px !important; }
  html body #body_wrap#body_wrap .bi-home .bi-solutions__grid > .bi-svc + .bi-svc > .rf-svc-group {
    margin-top: 32px !important;
  }
  /* よみもの：1列・題名は2行まで */
  html body #body_wrap#body_wrap .bi-news .p-postList {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  html body #body_wrap#body_wrap .bi-news .p-postList__item {
    padding: 14px 0 16px !important;
  }
  html body #body_wrap#body_wrap .bi-news .p-postList__title {
    font-size: 15px !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  /* ヘッダーのボタン下とメニューの英字「MENU」を出さない（ボタンには aria-label「メニューボタン」がある） */
  html body .l-header__menuBtn .c-iconBtn__label,
  html body #sp_menu .c-widget__title.-spmenu {
    display: none !important;
  }
}
