/* ============================================================
   合同会社にぎわい - 下層ページ共通パーツ
   ------------------------------------------------------------
   読み込み順： common.css → lower.css →（各ページ固有CSS）
   トップの語彙をそのまま使う：
     面     … 白 / --cream の2枚だけ
     角丸   … --radius 8px（枠）／--radius-lg 24px（写真・帯）
     見出し … 巨大英字 .t-en ＋ 和文 .t-ja
     余白   … 見出し上120 / 見出し下48 / セクション下120（最終160）
     ボタン … .btn-fill / .btn-outline / .btn-text / .btn-line
   ============================================================ */

/* ============================================================
   パンくず
   ------------------------------------------------------------
   置き場所は「FVの下」。ヘッダー → FV（全幅写真）→ パンくず → 本文 の順。
   上下の余白は同じ値にして、パンくずが白い帯の中央にくるようにする。
   下を0にすると、直後がクリーム色のセクション（maker-*.html）のときに
   文字のすぐ真下から色が始まって窮屈に見える。
   ============================================================ */
.breadcrumb {
  padding: 28px 0;
}
/* 直後のセクションがクリーム色のページ（maker-*.html）で使う。
   白い帯が挟まって面が切れて見えるのを避け、FVの直下から本文まで
   ひと続きの面にする */
.breadcrumb.is-cream {
  background: var(--cream);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-light);
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 14px;
}
/* 区切りの小さな山形。素材を増やさずCSSだけで描く */
.breadcrumb li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--ink-light);
  border-right: 1px solid var(--ink-light);
  transform: rotate(45deg);
}
.breadcrumb a {
  color: var(--ink-sub);
  transition: color 0.25s;
}
.breadcrumb a:hover {
  color: var(--green-dark);
}
.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* ============================================================
   ページヘッダー（下層のFV）
   ------------------------------------------------------------
   参考（下層fv参考.png ＝ 海遊館 下層FV）のかたちに合わせる。
     ・写真は画面幅いっぱい（左の20px余白と角丸は指示により廃止）
     ・ベールは横方向。左だけ濃く落として白文字を載せ、
       右半分は写真をそのまま見せる
     ・文字は写真の左に寄せ、上から 巨大英字 → 和文 → リード
     ・左下に粒の装飾（サイト内の dots_flow.png）
   もとは中央寄せ・高さ400px・全面に縦グラデーションという別物だった。
   下層ページはパンくずも本文も 1200px コンテナの左揃えなので、FV だけ
   中央に振ると視線が一往復する。services.html で左寄せを試して縦の
   ラインが通ることを確認できたため、全ページをこちらに統一した。
   リードが無いページでも flex の中央そろえで釣り合う。
   画像は1440×480（3:1）で切られるので、横長に耐えるものを使う。
   ============================================================ */
.page-head {
  position: relative;
  display: flex;
  align-items: center;
  height: 480px;
  overflow: hidden;
  border-radius: 0; /* 画面幅いっぱいに敷くので角は丸めない */
  text-align: left;
  color: var(--white);
}
.page-head-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* 色の層が mix-blend-mode: multiply を使うので、混ざる相手を
     この帯の中（写真＋暗さの層）だけに閉じ込める。これが無いと
     ページ背景まで巻き込んで下層ページ全体の色が変わる。 */
  isolation: isolate;
}
/* ============================================================
   FVのベール（2層・左が黄緑で右へ抜ける）
   ------------------------------------------------------------
   ★2026-09-09に作りを変えた。以前は「不透明な緑の板」だった。

   旧：暗さ rgba(20,32,8,.89) の上に色を alpha .8 で normal 合成。
       左40%は写真が2%しか残らず、実質べた塗りの板。板が48〜56%で
       切れて写真が始まるので、境目に切り替わりが見えた。
       色を黄色寄りにすると白文字が読めなくなり、明度を上げる方向は
       rgb(124,158,52) で行き止まりだった（下の「上限」参照）。
   新：山田様の指示「グラデーションというか opacity の調整でできない
       の？左は黄色っぽい緑で右に行くとそれが薄くなっていく感じ」。
       → 色の層を **mix-blend-mode: multiply** にした。
       multiply は写真の明暗を残したまま色だけ掛かるので、左端でも
       写真が透けて見える（濃淡の実測：旧1.2 → 新13.9）。しかも
       明るい画素ほど強く沈むので、白文字とのコントラストは上がる。
       おかげで暗さの層を .89 → .50 まで落とせて、板ではなく
       「色が乗った写真」になった。
   ※暗さの層は 32〜52% を旧案より厚くしてある（.44→.48 / .30→.40）。
     64px の英字（CONSULTING）は右端が画面の 41% まで伸びるので、
     ここが薄いと字の後半だけコントラストを割る（実測 4.37）。
     リード文（最大 34.7%）だけ見て決めないこと。
       色は alpha だけで 90% まで長く引いて消す。以前のように
       48〜56%で終わらないので、緑と写真の突き合わせが起きない。

   ★multiply にすると色の見え方が逆になる点に注意
   normal 合成は「明るい色＝画面も明るい」だが、multiply は
   **明るい色ほど薄く掛かる**（掛け算なので 255 に近いほど素通し）。
   だから旧来の「白文字のために色を暗くする」制約から解放される。
   いま使っている rgb(168,182,54)（色相66度）は単体で見るとかなり明るい
   黄緑だが、写真に掛けると落ち着いた黄緑になる。単体の色見本で判断
   しないこと。逆に色を暗くすると掛かりが強すぎて濁る。
   実測（全9ページ・文字の実面積で計測）：4.64〜8.23。旧方式は
   4.6前後がやっとだったので、コントラストは全体に良くなっている。
   products.html だけは別（下の is-lime の項を参照）。

   ★上限（旧方式で測った値。normal に戻すときのために残す）
   normal 合成では rgb(118,152,48)＋暗さ1.35倍が限界で、
   rgb(124,158,52) 以上はどれだけ暗くしても和文が 4.5 を割る。
   rgb(134,152,38) は暗さを1.0（完全不透明）にしても 4.45 止まり。
   色の層の alpha が .8 ある以上、暗さでは戻せないため。

   ★色を変えるときの手順
   全ページの写真に対して合成後の輝度を計算し、文字が乗る帯
   （x 120〜500px）の上位0.5%＝最悪ケースで白とのコントラストを出す。
   実測は Playwright で文字を visibility:hidden にしてFVを撮り、
   各テキストの **Range.getClientRects()** の矩形内で測る。
   要素の getBoundingClientRect() で測ってはいけない（.t-en と h1 は
   ブロック要素なのでコンテナ幅1200pxまで伸び、明るい右半分を巻き込んで
   1.07 のようなデタラメが出る）。

   ★FVに使う写真の条件（trade で失敗して割り出した）
   1. 左端から右端まで明るさが均一なこと。大きな明暗差があると
      移行帯に段差が出る（products と maker-simple はこれで失敗）。
   2. 全幅に凹凸のある被写体があること。特に左10〜45%は必ず物を置く。
   3. 遠景・霧・空・広い床や壁を作らない。近距離の構図にする。
   判定は明暗のばらつき（幅10%ごとのRGB平均の標準偏差）で行う。
   20以上、中央40〜50%は25以上が目安。
   ただし数値で段差が出ても、**移行帯に書類の縁のような斜めのエッジが
   走っていれば境目は物の形に隠れて見えない**（consulting の新FVが
   その例。40-50%帯85→50-60%帯192と数値上は大きく飛ぶが縦帯は出ない）。
   ============================================================ */
/* 暗さの層：写真を少しだけ沈めて白文字の足場を作る。
   multiply の色が明暗を残すので、旧方式の .89 のような濃さは不要。
   左に強い光の帯がある写真は .is-dim でここだけ濃くする。 */
.page-head-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(20, 32, 8, 0.5) 0%,
    rgba(20, 32, 8, 0.48) 32%,
    rgba(20, 32, 8, 0.4) 42%,
    rgba(20, 32, 8, 0.23) 52%,
    rgba(20, 32, 8, 0.08) 60%,
    rgba(20, 32, 8, 0) 68%
  );
}
/* 色の層：黄緑を multiply で掛ける。左は全面、右は 90% で完全に消す。
   全ページ共通。写真が変わっても色味は揃える。 */
.page-head-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: multiply;
  background: linear-gradient(
    90deg,
    rgba(168, 182, 54, 1) 0%,
    rgba(168, 182, 54, 0.9) 22%,
    rgba(168, 182, 54, 0.62) 40%,
    rgba(168, 182, 54, 0.32) 58%,
    rgba(168, 182, 54, 0.12) 75%,
    rgba(168, 182, 54, 0) 90%
  );
}
/* 写真の左が明るすぎて白文字が基準を割るページ用の逃げ道。
   暗さの層だけ濃くして、色味は全ページ共通のまま保つ。
   現時点でこれを付けているページは無い。写真を差し替えて
   基準を割ったときに使う。 */
.page-head.is-dim .page-head-img::before {
  background: linear-gradient(
    90deg,
    rgba(20, 32, 8, 0.62) 0%,
    rgba(20, 32, 8, 0.56) 30%,
    rgba(20, 32, 8, 0.4) 45%,
    rgba(20, 32, 8, 0.18) 55%,
    rgba(20, 32, 8, 0) 65%
  );
}

/* 写真が全幅にわたって物と陰影で埋まっているページ用。
   色が抜けきる位置を 90% から 100% へ伸ばし、右端まで薄く色を残す。
   色は全ページ共通の rgb(168,182,54) のまま。動かすのは alpha の
   減衰位置だけで、色相は変えない。
   旧方式では「48%で切れる位置に縦の切り替わりが見える」のを避ける
   ためのクラスだったが、いまは色が右端まで引けるので役割が変わり、
   主役の被写体まで色を回したいページ向けの指定になっている。
   付けているページ：trade / consulting。 */
.page-head.is-wide .page-head-img::after {
  background: linear-gradient(
    90deg,
    rgba(168, 182, 54, 1) 0%,
    rgba(168, 182, 54, 0.9) 24%,
    rgba(168, 182, 54, 0.66) 44%,
    rgba(168, 182, 54, 0.38) 64%,
    rgba(168, 182, 54, 0.16) 82%,
    rgba(168, 182, 54, 0.04) 100%
  );
}
/* 写真そのものが明るくて緑のページ用。ベールが消えきる位置を
   共通プロファイル（暗さ68% / 色90%）より手前に引き上げ、
   **見出しの文字のすぐ右**で抜けきるようにする。
   山田様の指示「serviceの右側がopacityがなくしている感じだけど、
   このなくす場所をserviceの文字の少し横、暗いからにしてみて」。
   写真が元から緑で明るいので、右半分までベールを引くと
   ただ暗いだけになり、写真の良さが死ぬ。

   ★位置の決め方
   文字の実インク幅を Range.getClientRects() で測ってから決める。
   services.html は .t-en「SERVICE」が 8.2%〜30.1%、リード文が
   〜29.6%。そこで色は 39% から落として 50% で 0、暗さは 38% から
   落として 45% で 0 にした（文字の右端＋8〜9%）。
   代わりに**文字が乗っている 0〜26% の平らな部分は共通版より濃く**
   している（色 .95 まで、暗さ .5 のまま）。ベールを短くした分を
   ここで取り返さないと白文字が基準を割る（0.9/24%のままだと 4.20）。
   実測：.t-en 4.99 / h1 7.80 / リード 5.16・4.93。

   ★切れ目が見えない理由
   この写真は 33% あたりに窓の縦枠が走っていて、ベールが薄くなる帯が
   その枠に重なる。移行帯を物の形に隠す考え方は共通ベールの解説と同じ。
   写真を差し替えるときは、33〜45% に縦か斜めのエッジがあるか確認する。
   無い場合は落とし始めを枠のある位置までずらす。
   付けているページ：services。 */
.page-head.is-short .page-head-img::before {
  background: linear-gradient(
    90deg,
    rgba(20, 32, 8, 0.5) 0%,
    rgba(20, 32, 8, 0.5) 26%,
    rgba(20, 32, 8, 0.42) 32%,
    rgba(20, 32, 8, 0.18) 38%,
    rgba(20, 32, 8, 0) 45%
  );
}
.page-head.is-short .page-head-img::after {
  background: linear-gradient(
    90deg,
    rgba(168, 182, 54, 1) 0%,
    rgba(168, 182, 54, 0.95) 24%,
    rgba(168, 182, 54, 0.7) 32%,
    rgba(168, 182, 54, 0.32) 39%,
    rgba(168, 182, 54, 0.08) 45%,
    rgba(168, 182, 54, 0) 50%
  );
}
/* ★旧方式の派生（.is-fresh / .is-fade）は 2026-09-09 に撤去した。
   どちらも「暗さの層 rgba(20,32,8,.93) ＋ 色を normal 合成」を前提に
   数値を詰めたもので、色の層が multiply になった今は前提が崩れている。
   狙っていたこと（黄み寄りに・板に見えないよう一様に薄める）は
   multiply の共通プロファイルがそのまま満たすので、派生は不要。
   services.html の `is-fresh`／trade.html の `is-fade` は class が
   HTML に残っているが、対応するCSSが無いので何も起きない（無害）。
   HTML を触るときに外してよい。

   ★products.html の `is-lime` はこの共通ベールを使っていない。
   別セッションが同じ指示（opacityのグラデーションで作る）に対して
   `css/products-fv.css` で「暗さの層なし・明るい黄緑1枚・白文字に影」
   の版を作り、山田様がそちらを採用済み。
   共通側の multiply が is-lime に漏れると別物になるので、下で
   mix-blend-mode を打ち消してある。**この打ち消しを消さないこと。** */
.page-head.is-lime .page-head-img::after {
  mix-blend-mode: normal;
}

/* 右へ向かって白をかぶせて、写真そのものが暗いページを持ち上げる層。
   ベールが抜けたあとの右半分は写真の地の明るさがそのまま出るので、
   木材中心の室内など暗い写真だとページごとに明るさが揃わない。
   実測した右端の明るさ（L*）は contact 83 / services 79 / about 79 /
   consulting 73 / products 69 / news 65 に対し、trade 53 と
   maker 48 だけが落ちていた。そこで暗い2枚にだけ白を足して
   L*66 前後に揃える。全ページ一律にかけると明るい写真が乳白色に
   濁るので、量は必ずページごとに測って決めること。
   開始位置 36% は文字の右端（リード文は最大 x=500px＝35%）より
   外側。ここより左に白を入れると白文字のコントラストが落ちる。
   なお「白ベールで背景を飛ばす処理は使わない」という以前の方針とは
   別物。あちらは左側の写真を白く飛ばす話で、これは右側の暗い写真を
   持ち上げる用途。文字には一切かかっていない。 */
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 36%,
    rgba(255, 255, 255, calc(var(--fv-lift, 0) * 0.38)) 60%,
    rgba(255, 255, 255, calc(var(--fv-lift, 0) * 0.76)) 80%,
    rgba(255, 255, 255, var(--fv-lift, 0)) 100%
  );
}
.page-head.is-lift {
  --fv-lift: 0.18;
}
.page-head.is-lift-2 {
  --fv-lift: 0.24;
}
/* 文字の左端はサイト共通の 1200px コンテナに揃える。
   当初は参考どおり写真左端から 80px にしていたが、直下のパンくずや
   本文（いずれも 1200px コンテナ＝1440px 表示で左端 120px）より
   外に出てしまい左に寄りすぎて見えたため、共通コンテナに戻した。 */
.page-head .container {
  position: relative;
  z-index: 1;
  text-align: left;
}
/* 英字が主役。中央寄せ時代の72pxから落として写真の余白を活かす。 */
.page-head .t-en {
  margin: 0 0 0 -0.04em;
  font-size: 64px;
  line-height: 1.1;
  color: var(--white);
  text-shadow: none; /* 参考は影なし。ベールが濃いので影は要らない */
}
/* 和文は英字の下。参考どおり枠は付けず、字間を広げた小さな太字にする。
   中央寄せ時代は28pxの見出しだったが、英字を主役にする構成なので
   ラベルの大きさまで落としている。 */
.page-head h1,
.page-head .page-head-ttl {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.24em;
  color: var(--white);
  text-shadow: none;
}
/* リードは .t-body と同じ15pxまで落とす。
   ベールが48%で抜けるので、幅もその内側に収める。 */
.page-head .t-lead {
  max-width: 380px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: none;
  text-wrap: balance; /* 2行になるとき行長を揃える */
}
/* 左下の装飾。参考は泡の群れだが、こちらはサイト内にある粒の流れを使う。
   画面左端で切られるので、左下の角からはみ出させて置く。
   opacity 1 だと白い粒が浮いて主役の文字と競合するので、
   ベールの緑に沈む程度まで落として自然体にしている。
   幅は 440px だとリード文が3行になるページで粒が最終行に重なり、
   白い粒が背景になってコントラストが落ちる（consulting で 3.60）。
   dots_flow.png は 724x261 なので幅を縮めると高さも下がる。320px なら
   上端が y=477 まで下がり、3行（下端446）でも重ならない。 */
.page-head .ph-deco-dots {
  left: -56px;
  bottom: -16px;
  width: 320px;
  opacity: 0.4;
}

/* ============================================================
   セクション
   ------------------------------------------------------------
   トップのリズム（見出し上120／下48／セクション下120）に合わせる。
   最終セクションだけ下160でフッター手前を開ける。
   ============================================================ */
.lsec {
  position: relative; /* 装飾（葉）の基準 */
  overflow: hidden;
  padding: 0 0 120px;
}
/* 装飾は必ず本文の下 */
.lsec .container {
  position: relative;
  z-index: 1;
}
.lsec.is-cream {
  background: var(--cream);
}
.lsec.is-last {
  padding-bottom: 160px;
}
/* 中身が数行しかないセクション。WF の inner.tight に対応 */
.lsec.is-tight {
  padding-bottom: 96px;
}
.lsec.is-tight .lsec-head {
  padding: 96px 0 40px;
}
.lsec.is-tight.is-last {
  padding-bottom: 140px;
}
.lsec-head {
  padding: 120px 0 48px;
  text-align: center;
}
.lsec-head h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
/* トップは「巨大英字＋和文」。下層は英字を小さくして和文の上に添える */
.lsec-head .label-en {
  margin-bottom: 14px;
  color: var(--green);
}
.lsec-head .lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-sub);
}
/* 表・FAQ・記事一覧など、1200pxだと間延びするものを収める幅 */
.container-narrow {
  width: 900px;
  margin: 0 auto;
}

/* ============================================================
   カード（2列 / 3列）
   ============================================================ */
.card-grid {
  display: grid;
  gap: 56px 48px;
  align-items: stretch; /* カードの丈をそろえる */
}
.card-grid.c2 {
  grid-template-columns: repeat(2, 1fr);
}
.card-grid.c3 {
  grid-template-columns: repeat(3, 1fr);
}
/* 1列。カードを上下に並べ、中は写真とテキストを横に置く */
.card-grid.c1 {
  grid-template-columns: 1fr;
  gap: 72px;
}
/* カードは面で見せる。ボタンだけでなくカード全体が詳細ページへのリンクになる */
.lcard {
  position: relative; /* カード全体の当たり判定の基準 */
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.lcard .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--placeholder);
}
.lcard .thumb img {
  transition: transform 0.6s;
}
/* 写真以外はカードの内側余白の中に入れる */
.lcard-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 32px var(--card-pad) var(--card-pad);
}
.lcard .label-en {
  display: block;
}
.lcard h2,
.lcard h3 {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.lcard .t-body {
  margin-top: 12px;
}
/* ボタンはカード下端にそろえる */
.lcard .btns {
  margin-top: auto;
  padding-top: 24px;
}
.lcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(30, 35, 33, 0.12);
}
.lcard:hover .thumb img {
  transform: scale(1.06);
}
/* 主リンクの当たり判定をカード全面に広げる（.lcard が基準） */
.lcard .btn-line.is-stretch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* 副リンクは当たり判定の前面に置き、別ページへ飛べるようにする */
.lcard .btn-line.is-sub {
  position: relative;
  z-index: 2;
}

/* 写真とテキストを横に並べるカード */
.lcard.is-row {
  flex-direction: row;
}
.lcard.is-row .thumb {
  flex: 0 0 42%;
  aspect-ratio: auto; /* 高さはテキスト側に合わせる */
}
.lcard.is-row .lcard-body {
  padding: 40px;
}
.lcard.is-row .tbl th {
  width: 152px;
}

/* ============================================================
   定義表
   ============================================================ */
.tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
}
.tbl th,
.tbl td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tbl th {
  width: 180px;
  background: var(--cream);
  font-weight: 700;
  color: var(--ink);
}
.tbl td {
  color: var(--ink-sub);
}
.tbl.is-wide th {
  width: 220px;
}
/* 見出し列を折り返させたくない表（料金など）。幅は内容任せにする */
.tbl.is-nowrap th {
  width: 1%;
  white-space: nowrap;
}
/* カードの中は幅が狭いので見出し列と余白を詰める */
.lcard .tbl {
  margin-top: 20px;
}
.lcard .tbl th {
  width: 128px;
  background: var(--cream-deep);
}
.lcard .tbl th,
.lcard .tbl td {
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
}
/* クリーム面に置くときは見出し列を一段濃くする */
.is-cream .tbl th {
  background: var(--cream-deep);
}
/* 会社概要の未確定項目（電話番号・メールアドレス）。確定したら文字に置き換える */
.tbd {
  color: var(--ink-light);
}

/* ============================================================
   よくあるご質問
   ============================================================ */
.faq {
  border-top: 1px solid var(--line);
}
.faq dl {
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}
.faq dt,
.faq dd {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
}
.faq dt {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.faq dd {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.faq dt::before,
.faq dd::before {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.faq dt::before {
  content: "Q";
  background: var(--green);
  color: var(--white);
}
.faq dd::before {
  content: "A";
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-light);
}

/* ============================================================
   1行リスト（その他事業・準備中の項目）
   ============================================================ */
.rows {
  border-top: 1px solid var(--line);
}
.rows .row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.badge-soon {
  flex: none;
  padding: 3px 12px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}

/* ============================================================
   ボタンの並び
   ============================================================ */
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.btns.is-center {
  justify-content: center;
}

/* 個人のお客様向けの案内（取扱商品ページのリード下・優華様ページの基本情報下）。
   2026-10-04 山田様指示「もう少し目立つように」。緑の枠＋濃緑の太字 */
.note-personal {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  border: 1px solid var(--green);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--green-dark);
}

/* ============================================================
   注記パネル（準備中の案内など）
   ============================================================ */
.note-panel {
  padding: 32px 40px;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.note-panel .badge-soon {
  margin-left: 12px;
}
/* クリーム面に置くときは白に反転させる（同色だと面に埋もれる） */
.is-cream .note-panel {
  border: 1px solid var(--line);
  background: var(--white);
}
/* リスト直後に置く補足の一文 */
.note-center {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.note-panel.is-spaced {
  margin-top: 26px;
}

/* ============================================================
   電話パネル（contact）
   ------------------------------------------------------------
   WFの「番号＋受付時間」をそのまま形にしたもの。クリーム面に置くので
   .note-panel と同じく白地＋枠線で起こす。番号は架空（フッターと同じ
   058-000-0000）。確定したら .tel-num と .tel-info の文字を差し替える。
   → 2026-09-19 に山田様指定の +81-(0)80-7011-3309・10:00〜16:00 へ差し替え済み（番号は仮）。
   ============================================================ */
.tel-panel {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}
.tel-panel .lead {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-sub);
}
/* 番号はPC専用サイトなのでリンクにしない（クリックしても発信できないため） */
.tel-num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--green-dark);
}
.tel-num::before {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  background: var(--green-dark);
  -webkit-mask: var(--ico-tel) no-repeat center/contain;
  mask: var(--ico-tel) no-repeat center/contain;
}
/* 受付時間・休業日。dt をピルにして2項目を横に並べる */
.tel-info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 18px;
}
.tel-info .row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tel-info dt {
  padding: 3px 12px;
  border-radius: var(--pill);
  background: var(--cream-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-sub);
}
.tel-info dd {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.tel-panel .note {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-light);
}

/* ============================================================
   カテゴリの切替タブ
   ============================================================ */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.tabs a,
.tabs button {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-sub);
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
/* 選んでいるものは除く。:hover のほうが .is-active より詳細度が高いので、
   除かないと「緑地に緑文字」になって、押した直後にラベルが読めなくなる */
.tabs a:not(.is-active):hover,
.tabs button:not(:disabled):not(.is-active):hover {
  border-color: var(--green-fresh);
  color: var(--green-fresh);
}
.tabs a.is-active,
.tabs button.is-active {
  background: var(--green-fresh);
  border-color: var(--green-fresh);
  color: var(--white);
}
/* button で使うとき（products.html の絞り込み）。既定の枠・書体を消す */
.tabs button {
  font-family: inherit;
  cursor: pointer;
}
/* まだ商品を載せていないカテゴリは押せない */
.tabs button:disabled {
  background: var(--cream);
  border-color: transparent;
  color: var(--ink-light);
  cursor: default;
}

/* ============================================================
   記事一覧（お知らせ）
   ============================================================ */
.news-list {
  border-top: 1px solid var(--line);
}
/* タブの直下に置くときだけ間を開ける（WFの filters 下 44px 相当） */
.tabs + .news-list {
  margin-top: 48px;
}
.news-list a {
  display: grid;
  grid-template-columns: 104px 120px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.25s;
}
.news-list a:hover {
  background: var(--cream);
}
.news-list .date {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}
.news-list .cat {
  justify-self: start;
  padding: 3px 14px;
  border: 1px solid var(--green);
  border-radius: var(--pill);
  font-size: 12px;
  line-height: 1.6;
  color: var(--green-dark);
}
.news-list .ttl {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

/* ============================================================
   ページャ
   ============================================================ */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-sub);
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.pager a:hover {
  border-color: var(--green);
  color: var(--green-dark);
}
.pager .is-current {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ============================================================
   ブログ一覧のカード
   ------------------------------------------------------------
   造形は下層共通の .lcard（白地・枠線・影・ホバーで浮く）をそのまま
   使い、中身だけ「日付／カテゴリ → タイトル → 抜粋」に組み替える。
   3列に置くので見出しは 20px → 18px に落とす。
   ============================================================ */
.tabs + .card-grid {
  margin-top: 48px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}
/* カテゴリ名は和文なので英字の字間指定を戻す */
.card-meta .cat {
  font-family: inherit;
  letter-spacing: 0;
}
.card-meta .sep {
  color: var(--line);
}
.card-grid.is-blog .lcard h2,
.card-grid.is-blog .lcard h3 {
  margin-top: 10px;
  font-size: 18px;
}
.card-grid.is-blog .lcard .t-body {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
}
/* タイトルのリンクの当たり判定をカード全面に広げる（.lcard が基準） */
.card-grid.is-blog .lcard h2 a::before,
.card-grid.is-blog .lcard h3 a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* 記事詳細の下に置く関連記事。写真を低くして3枚を軽く見せる */
.card-grid.is-sm {
  gap: 32px 24px;
}
.card-grid.is-sm .lcard .thumb {
  aspect-ratio: 16 / 10;
}
.card-grid.is-sm .lcard-body {
  padding: 20px var(--card-pad) var(--card-pad);
}
.card-grid.is-sm .lcard h3 {
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================================
   見出しのないセクション
   ------------------------------------------------------------
   FV直下の導入ブロックなど、lsec-head が無い場合の上余白。
   ============================================================ */
.lsec.is-nohead {
  padding-top: 96px;
}

/* ============================================================
   写真＋テキストの2カラム
   ------------------------------------------------------------
   写真を左に固定幅で置き、本文を右に流す。
   本文は「英字ラベル → 太字リード（.lead-strong）→ 詳細（.t-body）」の順。
   ============================================================ */
.media-2col {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 72px;
  align-items: center;
}
/* 写真の背後にクリームの面を少しずらして敷き、平坦さをなくす */
/* 写真を右に置く版（products.html の仕入れのご案内。WFの左右関係に合わせる） */
.media-2col.is-rev {
  grid-template-columns: 1fr 520px;
}
.media-2col .ph-frame {
  position: relative;
}
.media-2col .ph-frame::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -24px;
  bottom: -24px;
  width: 220px;
  height: 220px;
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
}
/* 背後の面を左下に置く版（consulting.html の CONSULTANT） */
.media-2col .ph-frame.is-deco-left::after {
  right: auto;
  left: -24px;
}
.media-2col .ph-img {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--placeholder);
  box-shadow: var(--shadow);
}
.media-2col .label-en {
  display: block;
  color: var(--green);
}
.media-2col .t-body + .t-body {
  margin-top: 20px;
}
/* ご挨拶の本文だけ行間を広げる（`about.html` の MESSAGE）。
   理念の中央本文（`.txt-center .t-body`）と同じ 2.4。共通の `.t-body` と
   `consulting.html` の同じ2カラムは 1.8 のまま。 */
.media-2col.is-loose .t-body {
  line-height: 2.4;
}
/* 縦写真を入れる版（about の代表挨拶）。実写真が縦のため、この枠だけ 3:4 にする。
   2026-10-04 山田様指示「写真をずっと小さく」で写真列を 240px（高さ320px）に。本文は上揃え。
   2026-10-05 同「本文の縦の長さより短く」で 160px（高さ約213px。PC の本文は約311px）に。 */
.media-2col.is-portrait {
  grid-template-columns: 160px 1fr;
  align-items: start;
}
.media-2col.is-portrait .ph-img {
  aspect-ratio: 3 / 4;
}
/* 後ろの飾りの四角も写真に合わせて小さく（240px のときの 220px と同じ比率） */
.media-2col.is-portrait .ph-frame::after {
  right: -16px;
  bottom: -16px;
  width: 140px;
  height: 140px;
}

/* 太字のリード。下に短い緑の罫を引いて詳細文と段差をつける */
.lead-strong {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.lead-strong::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 28px;
  background: var(--green);
}
.lead-strong + .t-body {
  margin-top: 24px;
}

/* 理念の見出しの上に置く紋章。決定ロゴ（HB03／丸2つ y5）のシンボルだけを
   切り出したもの。造形も色もそのまま。ヘッダーのロゴとは大きさで役割を分ける。 */
.mark-crest {
  width: 92px;
  margin: 0 auto 22px;
  line-height: 0;
}
.mark-crest img {
  width: 100%;
  height: auto;
}

/* 中央寄せの導入文（理念など）。長文が1200px幅に伸びないよう幅を絞る。
   中に .lead-strong を置いたときは、下の緑の罫も中央に来るようにする。 */
.txt-center {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.txt-center .lead-strong::after {
  margin-left: auto;
  margin-right: auto;
}
/* 本文の末尾に「この先へ続く」しるしを足す版（`.txt-center.is-scroll`）。
   フッターの「お問い合わせはこちら」で使っている `.circle-arrow` と同じ形（48px の丸枠＋山型）を
   下向きにして置く。新しい装飾を作らず、サイト内に既にある部品の向きを変えただけ。
   山型は背景画像なので、HTMLの要素は増やさない。 */
.txt-center.is-scroll::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin: 48px auto 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' fill='none' stroke='%232E9E63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 50% 50% / 12px 8px;
}
/* 理念の本文は1行が短いぶん行間を広めに取り、ゆっくり読ませる */
.txt-center .t-body {
  line-height: 2.4;
}
.txt-center .t-body + .t-body {
  margin-top: 20px;
}

/* クリーム面に置いた写真の背後の面は白にする（cream-deep だと地に埋もれる） */
.is-cream .media-2col .ph-frame::after {
  background: var(--white);
}

/* 挨拶文の署名。右下に寄せて本文と段差をつける */
.signature {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
  color: var(--ink);
}

/* ============================================================
   チェックリスト（お悩みの列挙）
   ------------------------------------------------------------
   クリーム面に白いカードを並べる想定。白面に置くときは
   .is-cream を親に付けないので背景が同化する点に注意。
   ============================================================ */
.checks {
  display: grid;
  gap: 10px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
.check::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--green) var(--ico-check) center / 13px 13px no-repeat;
}

/* ============================================================
   語句だけを並べる枠（対応業種など）
   ============================================================ */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tag-grid > div {
  padding: 24px 16px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* --- 業種カード（写真つき）。タグの箱より写真1枚のほうが業種が伝わる --- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ind-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.ind-card .ph {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ind-card .ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ind-card p {
  padding: 16px 12px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============================================================
   囲みパネル（実績の項目など）
   ============================================================ */
.panel {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.panel + .panel {
  margin-top: 16px;
}
/* 別ブロックのあとに続けて置くとき */
.panel.is-spaced {
  margin-top: 20px;
}
.panel h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.panel p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-sub);
}

/* ============================================================
   支援事例カード（3列）
   ------------------------------------------------------------
   造形はブログ一覧と同じ .lcard を流用し、中身だけ
   「業種 → 見出し → 概要」に組み替える。リンクは持たせない。
   ============================================================ */
.case-head {
  margin-top: 64px;
  text-align: center;
}
.case-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.case-head p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.case-head + .card-grid {
  margin-top: 32px;
}
/* 業種名は本文と同じ和文なので、色と太さだけで見出しと区別する */
.card-grid.is-case .card-meta .cat {
  font-weight: 700;
  color: var(--green-dark);
}
.card-grid.is-case .lcard h3 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.7;
}
.card-grid.is-case .lcard .t-body {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
}

/* ============================================================
   手順（ご相談の流れ）
   ------------------------------------------------------------
   左に番号の丸、右にカード。丸どうしを細い線でつないで
   「上から下へ進む」ことを形で見せる。罫線での区切りは使わない。
   金額・無料はバッジ（.fee）で見出しの右に添える。
   ============================================================ */
.step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
}
.step:last-child {
  padding-bottom: 0;
}
/* 丸と丸をつなぐ縦線。丸をカードの上下中央に置いたので丸の高さ位置が
   段ごとに変わる。線は段の高さいっぱいに引いて常につながるようにし、
   丸と重なる部分は丸（と外側のクリーム色のふち）で隠している。
   先頭と末尾だけは丸の中心で止め、線が飛び出さないようにする */
.step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.step:first-child::before {
  top: 50%;
}
.step:last-child::before {
  bottom: 50%;
}
.step .no {
  /* 線より手前に出して、丸の下を線が通らないようにする */
  position: relative;
  z-index: 1;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--cream);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}
.step-body {
  flex: 1;
  padding: 20px 28px 22px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.step p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.fee {
  flex: none;
  padding: 3px 12px;
  border-radius: var(--pill);
  background: var(--cream-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}

/* ============================================================
   数字で見せる実績
   ------------------------------------------------------------
   桁の大きい実数だけを置く。作った数字は入れないこと。
   ============================================================ */
.figs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.fig {
  padding: 36px 32px;
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
}
.fig .num {
  display: block;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--green);
}
/* 単位は和文なので本文の書体に戻す */
.fig .unit {
  margin-left: 6px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}
.fig p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-sub);
}

/* ============================================================
   ご相談メニュー（項目を並べるカード）
   ============================================================ */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.menu-item {
  padding: 26px 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.menu-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.menu-item h3::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--green);
}
.menu-item p {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-sub);
}

/* ============================================================
   全幅の写真帯
   ============================================================ */
/* セクションとセクションのあいだに置く息継ぎ。文字は載せない */
.photo-band {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.photo-band img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 上下端のフェードは白い靄に見えるため撤去。写真はそのままの濃さで出す */

/* ============================================================
   セクションに添える装飾（トップと同じ水彩素材）
   ============================================================ */
/* 置き場所は container-narrow の外側（左右270pxの余白）。文字に重ねない */

/* --- CHECK：左に舞う葉、右に枝、足元に木立。3枚で「野外にいる」感じを作る --- */
.deco-leaves-check {
  top: 200px;
  left: 10px;
  width: 250px;
  opacity: 0.4;
}
.deco-branch-check {
  top: 150px;
  right: -80px;
  width: 280px;
  opacity: 0.16;
  transform: scaleX(-1);
}
/* 木立はセクションの足元。1枚を横に繰り返して低い並木にする。
   高さ130pxは本文最終行（下135px）に届かない値。上げると文字に掛かる。 */
.deco-trees-check {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  background: url("../img/deco/trees_5.webp") repeat-x left bottom / auto 130px;
  opacity: 0.32;
}

/* --- INDUSTRIES：見出しの左右に葉、足元に若木 --- */
.deco-leaves-industry {
  top: 90px;
  right: -70px;
  width: 430px;
  opacity: 0.3;
}
.deco-branch-industry {
  bottom: -30px;
  left: -70px;
  width: 280px;
  opacity: 0.2;
}
/* 若木は土の茶色が効きすぎるので、透かして地の模様まで落とす */
.deco-sprout-industry {
  bottom: 44px;
  right: 74px;
  width: 96px;
  opacity: 0.15;
}
/* --- SERVICE（事業紹介トップの振り分け）：見出しの左上に枝、右上に舞う葉 --- */
.deco-branch-service {
  top: -40px;
  left: -70px;
  width: 260px;
  opacity: 0.18;
  transform: scaleY(-1);
}
.deco-leaves-service {
  top: 34px;
  right: 16px;
  width: 250px;
  opacity: 0.4;
}

/* --- PHILOSOPHY（理念）：本文を760pxに絞ったぶん空いた左右の余白に4点。
       左上＝鳥／右上＝蔓／右下＝粒子／左下＝木々5本。
       鳥と蔓は位置と向きをまとめて左右入れ替えたので、どちらも原画のまま（反転なし） --- */
.deco-birds-philo {
  top: 176px;
  left: 44px;
  width: 210px;
  opacity: 0.75;
}
/* 蔓は原画どおり右上へ伸ばす。右端から画面外へ抜ける形になる */
.deco-branch-philo {
  top: 150px;
  right: 44px;
  width: 150px;
  opacity: 0.55;
}
.deco-dots-philo {
  right: -34px;
  bottom: 96px;
  width: 270px;
}
/* 左下：index.html の SERVICE 左上と同じ木々5本。セクション下端に接地させる */
.deco-trees-philo {
  left: 0;
  bottom: 0;
  width: 380px;
}

/* --- MESSAGE（代表ご挨拶）：右上に舞う葉を1枚だけ。写真と本文には掛けない --- */
.deco-leaves-message {
  top: 52px;
  right: -46px;
  width: 230px;
  opacity: 0.32;
}

/* --- COMPANY（会社概要）：表の外側270pxの余白に、左下の枝と右下の若木 --- */
.deco-branch-company {
  bottom: -34px;
  left: -104px;
  width: 230px;
  opacity: 0.14;
}
.deco-sprout-company {
  bottom: 52px;
  right: 96px;
  width: 96px;
  opacity: 0.15;
}

.deco-leaves-faq {
  bottom: 100px;
  left: 20px;
  width: 260px;
  opacity: 0.4;
  transform: scaleX(-1);
}

/* ============================================================
   記事詳細の見出し（news-detail / blog-detail）
   ------------------------------------------------------------
   下層FVを持たないページなので、h1 はここで組む（.page-head h1 は
   白文字・中央寄せのFV用）。本文は .rich を使う。
   ============================================================ */
.post-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-light);
}
/* 一覧と同じピルのカテゴリ */
.post-meta .cat {
  padding: 3px 14px;
  border: 1px solid var(--green);
  border-radius: var(--pill);
  font-size: 12px;
  color: var(--green-dark);
}
.post-head h1 {
  margin-top: 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
/* 本文の下に置く「一覧に戻る」 */
.post-back {
  margin-top: 56px;
}

/* ------------------------------------------------------------
   記事詳細の中身（blog-detail）
   アイキャッチ → リード → 目次 → 本文（.rich）→ 記事末のブロック。
   ------------------------------------------------------------ */
/* アイキャッチが続くときは見出しの下に罫を引かない。写真が区切りになる */
.post-head.is-plain {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 32px;
}
.post-eyecatch {
  aspect-ratio: 21 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* 記事の要約。クリームの面に置いて本文と区別する */
.post-lead {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--cream);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-sub);
}
/* 目次 */
.toc {
  margin-top: 32px;
  padding: 24px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.toc-ttl {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.toc ol {
  margin-top: 10px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-sub);
}
.toc a:hover {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.post .rich {
  margin-top: 48px;
}
/* 本文中の写真。アイキャッチ（21/10）より一段低くして主従をつける */
.post-figure {
  margin-top: 32px;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius);
  overflow: hidden;
}
/* 記事末のブロック（よくあるご質問・関連記事） */
.post-block {
  margin-top: 64px;
}
.post-sub {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.post-block .faq,
.post-block .card-grid {
  margin-top: 28px;
}
/* 関連ページへの内部リンク。本文との間は、削除した執筆者欄（2026-10-13）があったときと同じ 56px */
.post-links {
  margin-top: 56px;
  padding: 24px 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.post-links-ttl {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.post-links .btns {
  margin-top: 14px;
}

/* ============================================================
   長文ページ（プライバシーポリシー等）
   ============================================================ */
.rich h2 {
  margin-top: 56px;
  padding-left: 16px;
  border-left: 3px solid var(--green);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}
.rich h2:first-child {
  margin-top: 0;
}
.rich p,
.rich ul {
  margin-top: 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-sub);
}
.rich li {
  padding-left: 18px;
  text-indent: -18px;
}
.rich li::before {
  content: "・";
  color: var(--green);
}

/* ============================================================
   2つの取引形態のカード（trade.html）
   ------------------------------------------------------------
   造形は下層共通の .lcard のまま。淡い写真とグレーの定義表で
   全体が沈んで見えたので、明るく起こすために変えるのは色まわり
   だけ。見出しを緑にし、写真の色を調整し、1行しかなかった定義表
   を緑ふちのタグに置き換える。中身の文言は変えていない。
   ============================================================ */

/* 写真は補正なし。SERVICE の3枚（svc01〜03）と実測を比べると
   彩度 0.196〜0.224（svc 0.212〜0.296）・明度 0.732〜0.780
   （svc 0.733〜0.798）で、素の状態ですでに同じ帯に入っている。
   以前ここにあった緑の soft-light（木の棚とクラフト紙で緑の画素が
   0.0〜0.1%だったため色相ごと寄せていた）は、写真を商談・
   デスクワークの2枚に差し替えた時点で外した。重ねると
   カタログの食品や湯呑みまで緑に転んで不自然になる */

/* 見出しはトップの SERVICE の見出し（index.css の .svc-title）と同じ緑帯。
   padding・字間・影はあちらと同値で、同サイズの薄緑の面が右下6pxに
   ずれて重なる。親の .lcard-body が flex column で子が横いっぱいに
   伸びるため、align-self で帯を文字の幅に絞る */
.card-grid.is-trade .lcard h3 {
  align-self: flex-start;
  padding: 8px 20px;
  background: var(--green);
  color: var(--white);
  letter-spacing: 0.08em;
  box-shadow: 6px 6px 0 rgba(46, 158, 99, 0.18);
}
/* タグは見出しのすぐ下。緑帯の影が6px下に出るぶんを見込んだ間隔 */
.trade-tags {
  margin-top: 24px;
}
/* 本文はタグの下。詰まって見えないよう .lcard の 12px より広げている */
.card-grid.is-trade .lcard .t-body {
  margin-top: 24px;
}
/* 続けて置く段落どうしは、タグとの間ほど空けない（WF04の輸出は2段落） */
.card-grid.is-trade .lcard .t-body + .t-body {
  margin-top: 14px;
}
.trade-tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
/* 形も寸法も SERVICE のタグ（.svc-tags li）と共通 */
.trade-tags li {
  padding: 6px 20px;
  border: 1px solid var(--green);
  border-radius: 20px;
  background: var(--white);
  font-size: 13px;
  line-height: 1.6;
  color: var(--green-dark);
}

/* ============================================================
   取扱商品のカテゴリカード（trade.html）
   ------------------------------------------------------------
   トップの「取扱商品一覧」（index.css の .prd-grid）と同じ組み。
   枠線は付けず影だけで浮かせ、写真は高さ224px固定。テキストは
   ラベル行（CATEGORY／点数）→ カテゴリ名 → 英字の順。
   中身は商品ではなくカテゴリなので、作り手の行を取扱点数に
   置き換え、商品ページが無いものには名称の右に札を付ける。
   3列（グリーンプロポリス削除前は4列）はここでしか使わないので
   このブロックにまとめる。
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-grid .item {
  display: block;
  background: var(--white);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.cat-grid .thumb {
  position: relative;
  height: 224px;
  overflow: hidden;
  background: var(--placeholder);
}
.cat-grid .thumb img {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.cat-grid .info {
  padding: var(--card-pad);
}
/* 動くのは商品一覧へ飛べるカードだけ */
.cat-grid a.item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(30, 35, 33, 0.12);
}
.cat-grid a.item:hover .thumb img {
  transform: scale(1.06);
}
.cat-grid a.item:hover .cat-name::after {
  transform: translateX(3px);
}

/* ラベル行。トップの PRODUCER 行と同じ形で、右側は取扱点数。
   点数は右端に寄せて、短い文字数でも行が幅いっぱいに渡るようにする */
.cat-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}
.cat-meta .count {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  color: var(--ink);
}
.cat-name {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--green-dark);
}
/* 矢印の形はボタンと共通。商品一覧へ飛べるカードにだけ付ける */
.cat-grid a.item .cat-name::after {
  content: "";
  display: inline-block;
  vertical-align: 0;
  width: 6px;
  height: 9px;
  margin-left: 9px;
  background: currentColor;
  transition: transform 0.25s;
  -webkit-mask: var(--chev-g) no-repeat center/contain;
  mask: var(--chev-g) no-repeat center/contain;
}
/* WFのカテゴリカードにある商品名の行。商品が未入手のカテゴリは空欄で出さず
   「準備中です」と書く（原稿04 §3備考）。 */
.cat-items {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-sub);
}
.cat-items.is-tbd {
  color: var(--ink-light);
}
/* 商品情報が未入手のカテゴリに付ける。products の準備中タブと同じ扱い */
.cat-tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--cream-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-light);
}
.cat-en {
  margin-top: 4px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  color: var(--green);
}

/* 商品一覧へ飛べるカテゴリだけ名称に矢印を付ける（blog / maker で使用） */
.lcard.is-link h2::after,
.lcard.is-link h3::after {
  content: " ›";
  margin-left: 2px;
  color: var(--green);
  font-weight: 400;
}

/* ============================================================
   お問い合わせフォーム（contact.html）
   ------------------------------------------------------------
   WFは白地に罫線だけの素の表組み。実装ではサイトの語彙
   （角丸8px・薄い罫 --line・focusは緑）に合わせ、行の区切りだけを
   罫線で見せる。ラベル列は「見出し＋必須／任意バッジ」が折り返さない
   幅で固定（220px）。入力欄は900px幅の中で右いっぱいに伸ばす。
   ============================================================ */
.form {
  border-top: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}
/* 入力欄（52px）の高さの中で縦中央にそろえる。
   テキストエリアの行だけは上端にそろう */
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.badge-req,
.badge-any {
  flex: none;
  padding: 3px 11px;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.7;
}
.badge-req {
  background: var(--green-dark);
  color: var(--white);
}
.badge-any {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-light);
}

/* ---------- 入力欄 ---------- */
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.form textarea {
  height: 180px;
  padding: 14px 16px;
  resize: vertical;
}
.form input::placeholder,
.form textarea::placeholder {
  color: var(--ink-light);
}
.form input:hover,
.form textarea:hover {
  border-color: #cfd8d3;
}
/* 既定の青い outline は使わず、サイトの緑で「いま触っている場所」を示す */
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 158, 99, 0.14);
}

/* ---------- ラジオ ---------- */
.radios {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
}
.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  line-height: 1.7;
  cursor: pointer;
}
/* 選択時は「緑の枠＋白いリング＋緑の中心」。内側の白は inset の影で作る */
.radio input {
  appearance: none;
  flex: none;
  width: 20px;
  height: 20px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.radio:hover input {
  border-color: var(--green);
}
.radio input:checked {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 4px var(--white);
}
.radio input:focus-visible {
  outline: none;
  box-shadow:
    inset 0 0 0 4px var(--white),
    0 0 0 3px rgba(46, 158, 99, 0.22);
}

/* ---------- 個人情報の利用目的 ----------
   2026-09-14 同意チェック（.agree）＋プライバシーポリシーへのリンクを廃止し、
   フォームの直前に利用目的を添える形にした。導入文と入力欄の間の注記なので、
   本文より一段小さく・薄くし、枠や地色は付けない */
.form-privacy {
  margin-top: 48px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-sub);
  text-align: center;
}
.form-privacy + .form {
  margin-top: 24px;
}

/* ---------- 送信ボタン ---------- */
.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ============================================================
   送信完了（contact-thanks.html）
   ------------------------------------------------------------
   このページはFV（.page-head）を持たない。WFでもヘッダー直下が
   パンくずで、そのまま本文に入る（news-detail / blog-detail と同じ）。
   ============================================================ */
.thanks {
  text-align: center;
}
/* 完了したことがひと目で分かるよう、見出しの上に緑の丸チェックを置く */
.thanks-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 28px;
  border-radius: 50%;
  background: var(--green) var(--ico-check) no-repeat center / 30px 30px;
  box-shadow: 0 8px 24px rgba(46, 158, 99, 0.24);
}
.thanks h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.thanks .t-body {
  max-width: 700px;
  margin: 24px auto 0;
}
.thanks .btns {
  margin-top: 40px;
}

/* 導入文（.txt-center）とフォームのあいだ */
.txt-center + .form {
  margin-top: 56px;
}
/* 確認画面のボタン列。.btns の既定の上余白は .form-submit 側で持つ */
.form-submit .btns {
  margin-top: 0;
}
/* 確認画面の「お問い合わせ内容」欄。WFと同じく本文が入る高さを確保する */
.tbl td.is-body {
  padding-bottom: 72px;
}

/* FAQの答えに置く本文中リンク。
   .faq dd は grid なので、中に要素を置くときはHTML側で span に包むこと
   （包まないと a が別のグリッドアイテムになり、28px列に落ちて縦1列に崩れる） */
.faq dd a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq dd a:hover {
  color: var(--green);
}

/* ============================================================
   取扱商品（products.html）
   ------------------------------------------------------------
   WFの「検索 → カテゴリ絞り込み →（生産者の帯）→ 商品カード」を、
   下層共通の語彙（白カード・薄い罫・影・ピル）で組む。
   商品カードは .lcard をそのまま使い、中身だけ WF確定版の順
   「生産者名 → 商品名 → 英字 → 紹介文 → 使用するバラ」に組み替える。
   絞り込みと商品詳細（モーダル）は js/products.js が動かす。
   このサイトで JS を使うのはこのページだけ。
   ============================================================ */

/* ---------- 商品名で検索 ---------- */
/* 導入文と検索欄のあいだ。contact.html の `.txt-center + .form` と同じ 56px で、
   「読む文章」と「操作する部分」を切り分ける */
.txt-center + .psearch {
  margin-top: 56px;
}
/* 入力欄はフォーム（contact.html）と同じ寸法・focus表現にそろえる */
.psearch {
  display: flex;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.psearch input[type="search"] {
  flex: 1;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  appearance: none;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.psearch input::placeholder {
  color: var(--ink-light);
}
.psearch input:hover {
  border-color: #cfd8d3;
}
.psearch input:focus {
  outline: none;
  border-color: var(--green-fresh);
  box-shadow: 0 0 0 3px rgba(64, 132, 50, 0.16);
}
/* 検索ボタンは .btn-fill と同じ地色・高さだが、丸矢印は付けない
   （送り先のあるボタンではなく、その場で結果が変わる操作のため） */
.psearch button {
  flex: none;
  width: 120px;
  height: 52px;
  border: none;
  border-radius: var(--pill);
  background: var(--green-fresh);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.25s;
}
.psearch button:hover {
  background: var(--green-fresh-lt);
}
/* 検索欄とタブは同じ「絞り込む操作」だが、入力欄が52px・タブが44pxと
   背の高い部品が続くので、詰めすぎず 32px 空ける */
.psearch + .tabs {
  margin-top: 32px;
}


/* ---------- 製造販売者の帯 ---------- */
/* 絞り込みの結果が1社に収まったときだけ出す（WF 2026-08-31 の確定版）。
   上端の太い緑の罫で「この下は同じつくり手の商品」であることを示す。 */
.mkband {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 40px;
  padding: 28px 36px;
  border-top: 3px solid var(--green);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--cream);
}
.mkband .label-en {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-sub);
}
.mkband .label-en i {
  padding-right: 12px;
  border-right: 1px solid var(--line);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--green-dark);
}
.mkband .mk-name {
  margin-top: 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.mkband .mk-desc {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-sub);
}
.mkband .btn-line {
  flex: none;
}
/* 製造販売者が未定の帯。社名の代わりに準備中と置くので、文字は薄く */
.mkband .mk-name.is-tbd {
  font-weight: 400;
  color: var(--ink-light);
}

/* ---------- 商品カード ---------- */
.card-grid.is-product {
  margin-top: 40px;
  gap: 48px 32px;
}
/* 帯の直後は間を詰める（帯はそのカードたちの見出しなので） */
.mkband + .card-grid.is-product {
  margin-top: 32px;
}
/* 帯がどれも出ていないとき（＝「すべて」表示）は、タブの直後が一覧になる。
   他ページの `.tabs + .card-grid` と同じ 48px を空ける。
   [hidden] の数＝帯の数。帯を増やしたらここも1つ足すこと
   （足さないと、1社に絞ったときにも 48px 側が当たってしまう） */
.mkband[hidden] + .mkband[hidden] + .mkband[hidden] + .card-grid.is-product {
  margin-top: 48px;
}
.card-grid.is-product .lcard .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
}
.card-grid.is-product .lcard-body {
  padding-top: 22px;
}
/* 写真が届いていない商品。写真の代わりにクリームの面と一言を置く */
.card-grid.is-product .lcard .thumb.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.card-grid.is-product .lcard .thumb.is-empty span:not(.ph-tag) {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}
/* 絞り込みで外れたカードを消す。
   .lcard は display:flex、.card-grid は display:grid、.mkband は display:flex なので、
   hidden 属性だけでは消えない（display が指定されている要素は hidden より display が勝つ）。 */
.card-grid.is-product .lcard[hidden],
.card-grid.is-product[hidden],
.mkband[hidden] {
  display: none;
}

/* 製造販売者名。カード全面の当たり判定より前面に置き、製造販売者ページへ飛ばす */
.mkcat {
  position: relative;
  z-index: 2;
  display: flex;
  align-self: stretch;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-sub);
  transition:
    color 0.25s,
    border-color 0.25s;
}
.mkcat i {
  padding-right: 10px;
  border-right: 1px solid var(--line);
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--ink-light);
}
.mkcat:hover {
  border-color: var(--green);
  color: var(--green-dark);
}
/* 製造販売者が未定の商品。span で置くのでリンクの反応はさせない */
.mkcat.is-tbd {
  color: var(--ink-light);
}
.mkcat.is-tbd:hover {
  border-color: var(--line);
  color: var(--ink-light);
}

/* 商品名。押すと商品詳細（モーダル）が開く。
   ::before でカード全面を当たり判定にするので、カードのどこを押しても開く
   （.btn-line.is-stretch と同じ仕組み。ここは遷移ではないので button で作る）。 */
.card-grid.is-product .lcard h3 {
  margin-top: 14px;
  font-size: 19px;
}
.pcard-open {
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.pcard-open::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pcard-open::after {
  content: " ›";
  margin-left: 2px;
  color: var(--green);
  font-weight: 400;
}
.lcard:hover .pcard-open {
  color: var(--green-dark);
}
.pcard-open:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* 英字表記（商品名の下） */
.p-en {
  margin-top: 4px;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-light);
}
/* 紹介文は一覧では2行まで。続きは … にして、詳細（モーダル）で読んでもらう */
.card-grid.is-product .lcard .t-body {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.9;
}
/* 検索で1件も残らなかったとき */
.no-result {
  margin-top: 40px;
}

/* ---------- 商品詳細（モーダル） ---------- */
.modal-ovl {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(20, 26, 23, 0.62);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}
.modal-ovl.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 1000px;
  max-height: calc(100vh - 80px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 30px 60px rgba(30, 35, 33, 0.28);
  transform: translateY(16px);
  transition: transform 0.3s;
}
/* 縦に長い商品ほど表が伸びるので、スクロールは内側の枠が持つ。
   こうすると閉じるボタン（.modal-close）が常に右上に見えたままになる */
.modal-scroll {
  overflow-y: auto;
  padding: 48px;
}
.modal-ovl.is-open .modal {
  transform: none;
}
.modal-close {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-family: inherit;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-sub);
  cursor: pointer;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.modal-close:hover {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}
.modal-head {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
}
/* 商品写真。写真が複数ある商品は、下に切替のサムネイルが並ぶ。
   .modal-ph は入れ物なので、4:3の枠を持つのは中の .mph-view のほう */
.modal-ph {
  min-width: 0;
}
.mph-view {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
/* 表示中の1枚だけ出す。img は common.css で display:block なので
   hidden属性では消えない。クラスで出し分ける */
.mph-view .mph-img {
  display: none;
}
.mph-view .mph-img.is-on {
  display: block;
}
.mph-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
/* 写真は4枚まで（2026-10-13〜）。4つ並べて幅が足りないスマホでは、76px から縮めて1列に収める */
.mph-thumb {
  flex: 0 1 76px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--cream);
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 0.25s,
    border-color 0.25s;
}
.mph-thumb:hover {
  opacity: 1;
}
.mph-thumb.is-current {
  border-color: var(--green);
  opacity: 1;
}
/* 写真が届いていない商品。写真の代わりにクリームの面と一言を置く */
.modal-ph.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-light);
}
.modal-cat {
  font-size: 13px;
  color: var(--ink-sub);
}
.modal-cat a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.modal-cat a:hover {
  color: var(--green);
}
.modal h2 {
  margin-top: 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.modal-lead {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.9;
}
.modal-tx {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-sub);
}
.modal-tx + .modal-tx {
  margin-top: 10px;
}
.modal .tbl {
  margin-top: 36px;
}
/* 項目が10行あるので、行の高さは本文の表より少し詰める */
.modal .tbl th,
.modal .tbl td {
  padding: 13px 20px;
}
/* 資料に無い項目は「―」のまま。埋めないので、薄く置いて空欄と分かるようにする */
.modal .tbl td.is-na {
  color: var(--ink-light);
}
.modal .btns {
  margin-top: 32px;
}
/* モーダルを開いているあいだは背面をスクロールさせない */
body.is-modal {
  overflow: hidden;
}

/* ============================================================
   レスポンシブ（デザイン/_レスポンシブ対応_計画.md）
   ------------------------------------------------------------
   PC用の上の記述は変えない。節ごとに下へ追記する。
   1279px以下：PC幅の詰め（D5）／1024px以下：タブレット／767px以下：スマホ
   ============================================================ */

/* --- パンくず --- */
/* 文字の大きさと帯の見た目は変えず、リンクの当たり判定だけを上下に広げて高さ44px以上にする
   （12px × 行の高さ1.6 ＝ 19.2px ＋ 上下12.5px。負のマージンで行の高さには影響させない） */
@media (max-width: 1024px) {
  .breadcrumb a {
    display: inline-block;
    padding: 12.5px 0;
    margin: -12.5px 0;
  }
}
@media (max-width: 767px) {
  .breadcrumb {
    padding: 20px 0;
  }
  .breadcrumb ol,
  .breadcrumb li {
    gap: 4px 12px;
  }
}

/* --- ページヘッダー（下層のFV） --- */
/* 高さ 480 → 400 → 320。中身が増えても切れないよう、固定の高さを最低の高さに置き換える。
   大見出しの英字は PC 64px（共通の .t-en 80px より一段小さい）。タブレット・スマホは
   共通の .t-en と同じ 56 → 40px にそろえる（40pxで最長の「CONSULTING」が375px幅に収まる）。
   左下の粒（D7）は幅を縮めるだけ（リード文の最終行に重ならない大きさ） */
@media (max-width: 1024px) {
  .page-head {
    height: auto;
    min-height: 400px;
    padding: 64px 0;
  }
  .page-head .t-en {
    font-size: 56px;
  }
  .page-head .t-lead {
    word-break: auto-phrase; /* 「岐阜県｜内」「ご相｜談」のように語の途中で折れないよう、文節の切れ目で改行（Chrome系） */
  }
  .page-head .ph-deco-dots {
    width: 260px;
  }
}
@media (max-width: 767px) {
  .page-head {
    min-height: 320px;
    padding: 48px 0;
  }
  .page-head .t-en {
    font-size: 40px;
  }
  .page-head h1,
  .page-head .page-head-ttl {
    margin-top: 12px;
  }
  /* 下層全ページ：スマホではリードを左に固めず画面幅いっぱいに流す（PCの max-width:380px を解除） */
  .page-head .t-lead {
    max-width: none;
    margin-top: 16px;
    text-wrap: pretty; /* balance だと行長が揃って幅いっぱいに見えないため */
  }
  /* products.html（.is-lead-flow）：2026-09-15 ユーザー指示。スマホでは <br> の改行を入れず、
     左揃えのままコンテナ幅いっぱいに流す。文節での折り返し（auto-phrase）もやめ、行末まで文字を詰める */
  .page-head.is-lead-flow .t-lead {
    width: 100%;
    word-break: normal;
    text-wrap: wrap;
  }
  .page-head.is-lead-flow .t-lead br {
    display: none;
  }
  .page-head .ph-deco-dots {
    left: -40px;
    bottom: -12px;
    width: 200px;
  }
}

/* --- FVのベール --- */
/* ベールを持つページ（.page-head）はすべて lower-fv.css を読み込み、そちらで上書きしている。
   幅に合わせた調整も lower-fv.css の末尾に書く（ここでは何もしない） */

/* --- セクション --- */
/* 上下余白は数値表の 120 → 96 → 64。最終セクション（160）と詰めたセクション（96／140）は
   同じ差を保って縮める。見出し h2（28px）は .t-ja と同じ 24 → 21px。
   .container-narrow（900px固定）は親のコンテナより広くならないようにする */
@media (max-width: 1024px) {
  .lsec {
    padding-bottom: 96px;
  }
  .lsec.is-last {
    padding-bottom: 128px;
  }
  .lsec.is-tight {
    padding-bottom: 80px;
  }
  .lsec.is-tight .lsec-head {
    padding: 80px 0 32px;
  }
  .lsec.is-tight.is-last {
    padding-bottom: 112px;
  }
  .lsec-head {
    padding: 96px 0 40px;
  }
  .lsec-head h2 {
    font-size: 24px;
    word-break: auto-phrase; /* 対応ブラウザ（Chrome系）では文節の切れ目で改行する */
  }
  .container-narrow {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
  .lsec {
    padding-bottom: 64px;
  }
  .lsec.is-last {
    padding-bottom: 96px;
  }
  .lsec.is-tight {
    padding-bottom: 56px;
  }
  .lsec.is-tight .lsec-head {
    padding: 56px 0 24px;
  }
  .lsec.is-tight.is-last {
    padding-bottom: 80px;
  }
  .lsec-head {
    padding: 64px 0 32px;
  }
  .lsec-head h2 {
    font-size: 21px;
  }
  .lsec-head .label-en {
    margin-bottom: 10px;
  }
}

/* --- カード（2列 / 3列） --- */
/* レイアウト規則：3列 → タブレット2列 → スマホ1列、2列 → タブレット2列 → スマホ1列。
   写真とテキストを横に並べるカード（.is-row）はタブレットで写真の比率を詰め、
   スマホでは縦積み（HTMLの順＝写真が先） */
@media (max-width: 1024px) {
  .card-grid {
    gap: 40px 32px;
  }
  .card-grid.c3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid.c2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card-grid.c1 {
    gap: 56px;
  }
  .lcard.is-row .thumb {
    flex-basis: 36%;
  }
  .lcard.is-row .lcard-body {
    padding: 32px;
  }
  .lcard.is-row .tbl th {
    width: 128px;
  }
}
@media (max-width: 767px) {
  .card-grid {
    gap: 32px;
  }
  .card-grid.c3,
  .card-grid.c2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid.c1 {
    gap: 40px;
  }
  .lcard-body {
    padding-top: 24px;
  }
  .lcard.is-row {
    flex-direction: column;
  }
  .lcard.is-row .thumb {
    flex-basis: auto;
    aspect-ratio: 16 / 9;
  }
  .lcard.is-row .lcard-body {
    padding: 24px var(--card-pad) var(--card-pad);
  }
}

/* --- 定義表 --- */
/* D6：2列の定義表（項目名｜内容）はスマホで縦積み。項目名の帯の下に内容を置く。
   列の多い製品仕様の表（.is-spec、maker）は対象外（表の枠の中で横スクロール＝2-13） */
@media (max-width: 767px) {
  .tbl:not(.is-spec),
  .tbl:not(.is-spec) tbody,
  .tbl:not(.is-spec) tr {
    display: block;
  }
  .tbl:not(.is-spec) th,
  .tbl:not(.is-spec) td,
  .lcard.is-row .tbl:not(.is-spec) th {
    display: block;
    width: auto;
  }
  .tbl:not(.is-spec) th {
    padding: 10px 16px;
    white-space: normal;
  }
  .tbl:not(.is-spec) td {
    padding: 12px 16px 16px;
  }
  .lcard .tbl:not(.is-spec) th {
    padding: 8px 16px;
  }
  .lcard .tbl:not(.is-spec) td {
    padding: 10px 16px 14px;
  }
}

/* --- よくあるご質問 --- */
/* 質問は文節の切れ目で改行し、「か。」だけが次の行に落ちるのを防ぐ（Chrome系） */
@media (max-width: 1024px) {
  .faq dt {
    word-break: auto-phrase;
  }
}
@media (max-width: 767px) {
  .faq dl {
    padding: 24px 0;
  }
  .faq dt,
  .faq dd {
    gap: 12px;
  }
}

/* --- 1行リスト --- */
/* 項目名が長いときは「Coming Soon」を次の行へ折り返す */
@media (max-width: 767px) {
  .rows .row {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 20px 0;
  }
}

/* --- ボタンの並び --- */
/* レイアウト規則：タブレットは横並びのまま（既に折り返し可）、スマホは縦積み・幅いっぱい */
@media (max-width: 767px) {
  .btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btns > a,
  .btns > button {
    justify-content: space-between;
    width: 100%;
  }
  /* 和文ラベルの .btn-line は幅いっぱいでも1行に入らないことがある（カード内「経営コンサルティングを詳しく見る」）。
     高さ52pxを最低の高さにして、2行になっても枠からはみ出さないようにする */
  .btns > .btn-line {
    height: auto;
    min-height: 52px;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.6;
    word-break: auto-phrase;
  }
  /* 高さ固定の .btn-fill に長い文言が入ると2行になり枠からはみ出す（maker-shibano「この事業者の商品について問い合わせる」）。
     スマホでは .pc-txt で囲んだ語を外して1行に収める（2026-09-15 ユーザー指示で文言短縮を採用） */
  .btns .pc-txt {
    display: none;
  }
}

/* --- 注記パネル --- */
@media (max-width: 767px) {
  .note-panel {
    padding: 24px 20px;
  }
}

/* --- カテゴリの切替タブ --- */
/* 高さ44pxはそのまま。スマホは左右の余白と間隔を詰めて、折り返しの行数を減らす */
@media (max-width: 767px) {
  .tabs {
    gap: 8px;
  }
  .tabs a,
  .tabs button {
    padding: 0 16px;
  }
}

/* --- ページャ --- */
@media (max-width: 767px) {
  .pager {
    margin-top: 48px;
  }
}

/* --- 見出しのないセクション --- */
/* 上余白 96 は詰めたセクション（.is-tight）の見出しと同じ 80 → 56 */
@media (max-width: 1024px) {
  .lsec.is-nohead {
    padding-top: 80px;
  }
}
@media (max-width: 767px) {
  .lsec.is-nohead {
    padding-top: 56px;
  }
}

/* --- SERVICE（事業紹介トップの振り分け） --- */
/* D7：文字には重ならないが（見出しは.lsec-headでtext-align:center・上に十分な余白あり）、
   スマホ幅では見出しに対して装飾が大きすぎるため縮小する（他ページの装飾と同じ扱いに揃える）。
   位置はPCと同じ比率のまま縮める。opacity・向きは変えない。
   3-5：タブレットもPCと同じ大きさだったため、1024px以下でも縮める（7割台）。
   スマホは180/175pxのままだと、枝が見出し上の英字ラベル・h2の左端に、葉が英字ラベルの右端に
   掛かっていた（trade.htmlの「WHOLESALE & EXPORT」で確認）ため、5割（120/125px）まで縮めて左右の角へ寄せる。
   枝は services.html の h2 が1行で横幅いっぱいになるため、h2 より上に収まる位置まで上げる。 */
@media (max-width: 1024px) {
  .deco-branch-service {
    top: -34px;
    left: -60px;
    width: 220px;
  }
  .deco-leaves-service {
    top: 29px;
    right: 14px;
    width: 212px;
  }
}
@media (max-width: 767px) {
  .deco-branch-service {
    top: -48px;
    left: -34px;
    width: 120px;
  }
  .deco-leaves-service {
    top: 12px;
    right: 8px;
    width: 125px;
  }
}

/* --- 写真＋テキストの2カラム --- */
/* about・consulting・products（WHOLESALE）で共通の部品（2-6で追記、2-8・2-9はこの節を前提に進める）。
   PCは写真520px固定＋本文。タブレットは左右のまま、写真を320pxに詰めて本文の幅を確保する（比率調整）。
   スマホは縦積みにし、レイアウト規則どおり「写真が先」に統一する（.is-rev はPCで本文→写真の順のため、
   orderで入れ替える。HTMLの順は変えない）。背後のクリーム面（::after）も写真の縮小に合わせて小さくする。 */
@media (max-width: 1024px) {
  .media-2col {
    grid-template-columns: 320px 1fr;
    gap: var(--gutter);
  }
  .media-2col.is-rev {
    grid-template-columns: 1fr 320px;
  }
  /* 縦写真版（代表挨拶）は 2026-10-04 山田様指示「写真をずっと小さく」で PC 240px／タブレット 220px／スマホ最大200px
     → 10-05「本文より短く」で PC 160px／タブレット 150px／スマホ最大160px */
  .media-2col.is-portrait {
    grid-template-columns: 150px 1fr;
  }
  .media-2col .ph-frame::after {
    right: -16px;
    bottom: -16px;
    width: 160px;
    height: 160px;
  }
  .media-2col.is-portrait .ph-frame::after {
    right: -12px;
    bottom: -12px;
    width: 110px;
    height: 110px;
  }
  .media-2col .ph-frame.is-deco-left::after {
    right: auto;
    left: -16px;
  }
}
@media (max-width: 767px) {
  .media-2col,
  .media-2col.is-rev,
  .media-2col.is-portrait {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-2col .ph-frame {
    order: -1;
  }
  .media-2col.is-portrait .ph-frame {
    width: 100%;
    max-width: 160px;
    margin-inline: auto;
  }
  .media-2col .ph-frame::after {
    right: -10px;
    bottom: -10px;
    width: 96px;
    height: 96px;
  }
  .media-2col.is-portrait .ph-frame::after {
    right: -8px;
    bottom: -8px;
    width: 80px;
    height: 80px;
  }
  .media-2col .ph-frame.is-deco-left::after {
    right: auto;
    left: -10px;
  }
}

/* --- 語句だけを並べる枠（対応業種など） --- */
/* .ind-grid（写真つきの業種カード）はタブレットまで3列のままで詰まらない（1024pxで確認済み）。
   スマホだけ2列にする（語句＋写真の小さな項目の並びなので、レイアウト規則の「2列まで可」を適用。
   3列のままだと1カード約95px幅になり、業種名が1文字ずつ縦に割れて読みにくかった） */
@media (max-width: 767px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* --- 数字で見せる実績 --- */
/* スマホは1列（縦積み）にする。2列だと1枚約160px幅になり、「2,000」の横に「件以上」が
   収まらず「件／以上」に割れていたため（2026-09-15 ユーザー指示で縦並びに変更）。
   1列で幅に余裕ができるので、数字は PC 56px → 44px の縮小にとどめる */
@media (max-width: 767px) {
  .figs {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .fig {
    padding: 28px 20px;
  }
  .fig .num {
    font-size: 44px;
  }
  .fig .unit {
    font-size: 15px;
  }
}

/* --- ご相談メニュー（項目を並べるカード） --- */
/* レイアウト規則：項目は見出し＋説明文を持つカードなので3列・4列カードと同じ扱いとし、
   スマホは1列にする（タブレットの2列は幅に余裕があり詰まっていないため維持） */
@media (max-width: 767px) {
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* --- 全幅の写真帯 --- */
/* 高さ360pxはPC固定。タブレット・スマホは他セクションの余白縮小と同じ比率で詰める
   （consulting.htmlだけで使う部品） */
@media (max-width: 1024px) {
  .photo-band {
    height: 280px;
  }
}
@media (max-width: 767px) {
  .photo-band {
    height: 220px;
  }
}

/* --- セクションに添える装飾（consulting・trade共通） --- */
/* D7：.deco-leaves-faq はよくあるご質問の回答（.faq、背景が透明）の上に直接乗る位置にあり、
   1024px以下で container-narrow の左右の余白が無くなる（「セクション」節で100%化）ため、
   回答文の最終行に葉が重なる。縮小しても文章量により重なる行が変わり避けきれないため、
   D7に従い1024px以下では非表示にする（消したことを記録） */
@media (max-width: 1024px) {
  .deco-leaves-faq {
    display: none;
  }
}
/* 3-5：CHECK・INDUSTRIES の装飾はPCと同じ大きさのままだったため、トップ（index.css「11. 装飾」）と
   同じく、タブレット7割・スマホ5割程度に縮め、位置も同じ比率で詰める。opacity・向きは変えない。 */
@media (max-width: 1024px) {
  /* 768pxでリード文の行頭に葉の先が触れるため、少しだけ下げる */
  .deco-leaves-check {
    top: 214px;
    left: 8px;
    width: 180px;
  }
  .deco-branch-check {
    right: -56px;
    width: 200px;
  }
  /* top:90 のままだとリード文の行末に葉が掛かるため、見出しの右上の余白へ上げる */
  .deco-leaves-industry {
    top: 0;
    right: -70px;
    width: 260px;
  }
  .deco-branch-industry {
    bottom: -20px;
    left: -50px;
    width: 200px;
  }
  .deco-sprout-industry {
    bottom: 32px;
    right: 52px;
    width: 80px;
  }
}
@media (max-width: 767px) {
  .deco-leaves-check {
    top: 200px;
    left: 4px;
    width: 130px;
  }
  .deco-branch-check {
    top: 210px;
    right: -40px;
    width: 140px;
  }
  /* 見出しが2行・リードが3行で横幅いっぱいになるため、見出しの上の余白（右上の角）に置く */
  .deco-leaves-industry {
    top: -16px;
    right: -40px;
    width: 170px;
  }
  .deco-branch-industry {
    bottom: -16px;
    left: -36px;
    width: 140px;
  }
  .deco-sprout-industry {
    bottom: 24px;
    right: 36px;
    width: 64px;
  }
}

/* --- ABOUT（理念・代表挨拶・会社概要） --- */
/* D7：768px・1024pxは鳥（左）と蔓（右）が見出しの左右の余白に収まり、本文（.txt-center）にも
   掛からない（PCと同じ比率で問題なし）。375pxだけ、本文が全幅（.container-narrowを使っていない）
   になるため、鳥（.deco-birds-philo）と蔓（.deco-branch-philo）が見出しh2「岐阜県が誇る商品を、
   世界へ。」と直後のリード文に直接重なる。縮小しても見出しが1行で全幅近くを占めるため重なりを
   避けられず、375pxのみ非表示にする（消したことを記録）。
   MESSAGEの舞う葉（.deco-leaves-message）も見出し「代表挨拶」に重なるため375pxで非表示にする。
   粒（.deco-dots-philo）は本文最終行の句点にわずかに掛かるだけなので、非表示にせず下端の位置を
   詰めて文字の下へ逃がす。
   会社概要の枝・若木（.deco-branch-company／.deco-sprout-company）は表の外側の余白にあり、
   375pxでも表の最終行より下に収まるため変更しない。
   3-5：残した装飾がタブレット・スマホでPCと同じ大きさのままだったため、トップと同じく
   タブレット7割・スマホ5割程度に縮め、位置も同じ比率で詰める（opacity・向きは変えない）。 */
@media (max-width: 1024px) {
  .deco-birds-philo {
    left: 32px;
    width: 150px;
  }
  .deco-branch-philo {
    right: 32px;
    width: 105px;
  }
  .deco-dots-philo {
    right: -24px;
    width: 190px;
  }
  .deco-trees-philo {
    width: 270px;
  }
  .deco-leaves-message {
    right: -32px;
    width: 160px;
  }
  .deco-branch-company {
    bottom: -24px;
    left: -73px;
    width: 160px;
  }
  .deco-sprout-company {
    bottom: 36px;
    right: 68px;
    width: 80px;
  }
}
@media (max-width: 767px) {
  .deco-branch-philo,
  .deco-leaves-message {
    display: none;
  }
  .deco-dots-philo {
    right: -18px;
    bottom: 40px;
    width: 140px;
  }
  .deco-trees-philo {
    width: 170px;
  }
  .deco-branch-company {
    bottom: -16px;
    left: -52px;
    width: 115px;
  }
  .deco-sprout-company {
    bottom: 26px;
    right: 48px;
    width: 64px;
  }
  /* 理念の本文（about の .txt-center.is-scroll）：PC用の <br> と中央揃えのままだと、幅が少し変わるだけで
     短い行や語の途中の改行が出て崩れが目立つ（2026-09-15 ユーザー指示）。スマホでは改行位置を管理せず、
     <br> を外して左揃えにする。文節改行・pretty は行末が手前で折れて右に余白が残るため外し、左揃えだけにした
     （2026-09-15 ユーザー指示）。
     下向き矢印は中央のまま。trade・contact の .txt-center には効かない */
  .txt-center.is-scroll .t-body {
    text-align: left;
  }
  .txt-center.is-scroll .t-body br {
    display: none;
  }
  /* 本文だけ左だと上の見出しと揃わない（2026-09-15 ユーザー指示）ため、紋章・PHILOSOPHY・見出し・
     太字リードと緑の罫も左へ揃える。.lsec-head は下層共通なので、直後に .txt-center.is-scroll が
     来る見出し（about の理念）だけに :has で絞る。リードの <br> も本文と同じく消す。
     リードは文節改行・pretty を入れると行末が手前で折れて幅いっぱいにならないため、左揃えだけにする
     （2026-09-15 ユーザー指示） */
  .lsec-head:has(+ .txt-center.is-scroll) {
    text-align: left;
  }
  .txt-center.is-scroll .lead-strong {
    text-align: left;
  }
  .txt-center.is-scroll .lead-strong br {
    display: none;
  }
  .txt-center.is-scroll .lead-strong::after {
    margin-left: 0;
    margin-right: 0;
  }
  /* 左揃えにすると PHILOSOPHY の右側が空く。いったん蔓と葉（.deco-branch-philo）を置いたが、
     紋章を右上へ移してその余白を埋める形に変更（2026-09-15 ユーザー指示。蔓と葉は上のとおり非表示のまま）。
     紋章を絶対配置にして流れから外し、そのぶん PHILOSOPHY から下を上へ詰める。
     h2 は1行で右端近くまで伸びるので、紋章の下端が h2 より上で止まる大きさ・位置にする。
     変更前の見た目は デザイン/_レスポンシブ検証/shots/about-philo-before/ */
  /* → さらに紋章と鳥を左右入れ替え、紋章＝左上／鳥＝右上（左右反転）にした（2026-09-15 ユーザー指示）。
     右上に置いていたときの見た目は デザイン/_レスポンシブ検証/shots/about-philo-birds/ */
  .lsec-head:has(+ .txt-center.is-scroll) {
    position: relative;
    /* パンくずとの間を空けるため、紋章・鳥・PHILOSOPHY から下をまとめて24px下げた（2026-09-15 ユーザー指示。84→108px） */
    padding-top: 108px;
  }
  /* 左上だと紋章の真下に PHILOSOPHY が来るので、紋章を72→64pxに縮め、
     PHILOSOPHY の上の余白を64→84pxに広げて、紋章の下に12pxのすき間を空ける */
  .lsec-head:has(+ .txt-center.is-scroll) .mark-crest {
    position: absolute;
    top: 32px;
    left: 0;
    width: 64px;
    margin: 0;
  }
  /* 紋章が移って空いた右上に、PCで左上にあった鳥を置く
     （上の「375pxでは見出しに重なるため非表示」は、見出しより上の余白に収めることで解消）。
     右上から左へ飛ぶ向きにするため img だけ左右反転する */
  .deco-birds-philo {
    display: block;
    top: 40px;
    right: 20px;
    left: auto;
    width: 112px;
  }
  .deco-birds-philo img {
    transform: scaleX(-1);
  }
}

/* --- 取扱商品のカテゴリカード（trade.html） --- */
/* 768px・1024pxは3列のまま崩れない（カード幅226px以上で文字の折り返しも収まる）ため、
   タブレットはPCの列数を維持する（レイアウト規則の「3列→タブレット2列」からは外れるが、
   実測で崩れていないため変更しない）。767px以下だけ1列にする。3列のままだと1カード
   約93px幅になり、CATEGORY行の点数（span.count）が画面外に切れ、カテゴリ名・英字も
   1文字ずつ縦に折れていた（check.py NG） */
@media (max-width: 767px) {
  .cat-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- 取扱商品（products.html） --- */
/* 検索欄：375pxでは入力欄＋検索ボタン（120px）を横に並べると入力欄が約210pxになり、
   例文の placeholder（約285px）が途中で切れる。スマホは縦積み（入力欄→ボタン）・幅いっぱいにする。
   製造販売者の帯：スマホで横並びのままだと文字の列が約110pxに潰れ、英字ラベルが縦書きのように折れていた。
   スマホは縦積み（文字→ボタン）にし、ボタンは幅いっぱい（レイアウト規則「横並びのボタン」）。
   商品カード：列数は共通の .c3 のまま（2列→1列）。間隔だけ共通カードの 40/32 → 32 にそろえる。
   製造販売者名（.mkcat・高さ27px）は、上の余白（本文の上 22px）側へ当たり判定だけを18px広げて44px以上にする（見た目は同じ）。
   モーダル：タブレットは左右2列のまま写真列を 340 → 280px に詰め、本文の列幅を確保する。
   スマホは画面の四辺12pxまで広げ、写真→本文の縦積み。閉じるボタン（44px）は右上に固定のまま、
   写真と重ならないよう中身の上に 64px の余白を取る（スクロールは内側の枠が持つのはPCと同じ）。
   内側の枠の端まで行ったときに背面へスクロールが伝わらないよう overscroll-behavior を指定する。
   仕入れのご案内の太字リード（.lead-strong）は、HTMLの <br> の手前で「は、」だけが1行になるため
   文節の切れ目で改行させる（.media-2col 内の共通の書き方。consulting の同じ部品にも効く。about の .media-2col には .lead-strong が無い） */
@media (max-width: 1024px) {
  .mkband .mk-desc {
    word-break: auto-phrase;
    text-wrap: pretty; /* 説明文の最後が「す。」「園です。」だけの行にならないようにする（Chrome系） */
  }
  .card-grid.is-product {
    gap: 40px 32px;
  }
  .mkcat {
    padding-top: 18px;
    margin-top: -18px;
  }
  .modal-head {
    grid-template-columns: 280px 1fr;
    gap: 32px;
  }
  .modal-scroll {
    overscroll-behavior: contain;
  }
  .modal-lead {
    word-break: auto-phrase; /* 太字のリードが「入｜っています」「約90｜日」のように語の途中で折れないようにする（Chrome系） */
  }
  .modal-lead,
  .modal-tx {
    text-wrap: pretty; /* 段落の最後が「す。」だけの行にならないようにする（Chrome系） */
  }
  .modal-cat a {
    display: inline-block;
    padding: 13px 0;
    margin: -13px 0;
  }
  .media-2col .lead-strong {
    word-break: auto-phrase;
  }
}

/* --- 太字のリード（.lead-strong） --- */
/* PCの22pxのままだとスマホでセクション見出し（h2 21px）より大きくなっていたため、
   見出しの段差（28→24→21）に合わせて 22→20→18 に落とす。18px は maker-shibano の
   太字リード（.maker.is-simple .maker-lead）と同じ。consulting／products／about／contact／trade に効く */
@media (max-width: 1024px) {
  .lead-strong {
    font-size: 20px;
  }
  /* 2カラム内のリードの <br> はPC幅用。幅が縮むと「伺い、」「は、」だけの行ができるため、
     タブレット・スマホでは外して文節改行（word-break: auto-phrase）に任せる（2026-09-15 ユーザー指示でタブレットにも拡大） */
  .media-2col .lead-strong br {
    display: none;
  }
}
@media (max-width: 767px) {
  .lead-strong {
    font-size: 18px;
    line-height: 1.8;
  }
  .lead-strong::after {
    margin-top: 20px;
  }
  .lead-strong + .t-body {
    margin-top: 20px;
  }
}
@media (max-width: 767px) {
  .psearch {
    flex-direction: column;
  }
  .psearch input[type="search"] {
    flex: none;
  }
  .psearch button {
    width: 100%;
  }
  .psearch + .tabs {
    margin-top: 24px;
  }
  .mkband {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px var(--gutter);
  }
  .mkband .label-en {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .mkband .btn-line {
    justify-content: space-between;
  }
  .card-grid.is-product {
    gap: 32px;
  }
  .modal-ovl {
    padding: 12px;
  }
  .modal {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .modal-scroll {
    padding: 64px var(--gutter) 32px;
  }
  .modal-close {
    top: 10px;
    right: 10px;
  }
  .modal-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .modal h2 {
    font-size: 21px;
    word-break: auto-phrase;
  }
  .modal-lead {
    margin-top: 16px;
  }
  .modal .tbl {
    margin-top: 32px;
  }
  .modal .btns {
    margin-top: 24px;
  }
}

/* --- 記事一覧（お知らせ） --- */
/* PCは日付104px＋カテゴリ120px＋タイトル1fr の3列グリッド（1行）。375pxでは日付・カテゴリの
   固定幅だけで横幅の大半を使い切り、タイトル列が約47pxまで狭まって1〜2文字ごとに改行される
   （画像で確認。check.pyの横スクロール判定には出ない「読みにくさ」の問題）。
   スマホは日付＋カテゴリを1行目、タイトルを2行目に折り返す2行組みに変える（HTMLの並び＝
   日付→カテゴリ→タイトルの順のまま。orderは使わない） */
@media (max-width: 767px) {
  .news-list a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    padding: 20px 8px;
  }
  .news-list .ttl {
    flex-basis: 100%;
  }
}

/* --- お問い合わせフォーム --- */
/* ラベル列220px固定＋入力欄という組みは、375pxでは container-narrow が335pxまで狭まり、
   入力欄・ラジオの列が幅80px程度まで潰れてplaceholderやラジオの文言が1文字ずつ折り返していた
   （画像で確認。768px以上は幅に余裕があり崩れないためタブレットは変更しない）。
   スマホはラベルを上・入力欄を下の縦積みにする（レイアウト規則の「横並びのボタン」と同じ考え方で
   縦積み・幅いっぱいに）。入力欄・テキストエリアの文字は16px（iPhoneのSafariで16px未満だと
   フォーカス時に画面が拡大されるのを防ぐ。タブレットも念のため同じにする）。
   ラジオの実際の当たり判定（<input>は20px角）は、見た目の丸（20px）は変えずに、
   ::before で丸を描いて <input> 自体を44px角まで広げる（appearance:noneの<input>に
   ::beforeを重ねる一般的な手法。負のマージンでラベル内の文字位置・行の高さは変えない）。
   .radios の間隔は44px角どうしが重ならないよう14→26pxに広げる（「押しやすい間隔」）。 */
@media (max-width: 1024px) {
  .form input[type="text"],
  .form input[type="email"],
  .form input[type="tel"],
  .form textarea {
    font-size: 16px;
  }
  .radios {
    gap: 26px;
  }
  .radio input {
    width: 44px;
    height: 44px;
    margin: -12px;
    border: none;
    background: transparent;
    display: grid;
    place-content: center;
  }
  .radio input::before {
    content: "";
    width: 20px;
    height: 20px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
    transition:
      border-color 0.2s,
      background-color 0.2s;
  }
  .radio:hover input::before {
    border-color: var(--green);
  }
  .radio input:checked {
    background: transparent;
    box-shadow: none;
  }
  .radio input:checked::before {
    border-color: var(--green);
    background: var(--green);
    box-shadow: inset 0 0 0 4px var(--white);
  }
  .radio input:focus-visible {
    box-shadow: none;
  }
  .radio input:focus-visible::before {
    box-shadow:
      inset 0 0 0 4px var(--white),
      0 0 0 3px rgba(46, 158, 99, 0.22);
  }
}
@media (max-width: 767px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .form-label {
    min-height: auto;
  }
}

/* --- 電話パネル --- */
/* .tel-panel の余白（40px固定）で375pxの内側が255pxまで狭まり、電話番号（Arial 40px・字間0.04em）
   の「058-000-0000」が「058-000-」「0000」の2行に折れていた（画像で確認。768px以上は1行に収まり
   崩れないためタブレットは変更しない）。電話番号は途中で折れないこと・tel:リンクは追加しないこと
   （HTML変更になるため）という指示のとおり、リンク化はせず、スマホだけ余白とアイコン・字間・
   文字サイズを詰めて1行に収める */
@media (max-width: 767px) {
  .tel-panel {
    padding: 32px 20px;
  }
  /* 2026-09-19 番号が「+81-(0)80-7011-3309」（19字）になり、32pxでは「7011-」「3309」に折れた。
     320〜767px で1行に収まる大きさまで下げ、途中で折れないようにする */
  .tel-num {
    gap: 10px;
    font-size: min(22px, 6vw);
    letter-spacing: 0;
    white-space: nowrap;
  }
  .tel-num::before {
    width: 24px;
    height: 24px;
  }
}

/* --- 目次（blog-detail） --- */
/* .toc a（目次リンク）は文字サイズ14px・行の高さのわりに、当たり判定の実測は18px（数値表の
   44px未満）。文字サイズ・行の見え方は変えず、1-6のパンくず・2-8の社名リンクと同じ考え方で、
   上下13pxを負のマージンで打ち消して当たり判定だけを広げる（18+13*2=44px）。
   .toc は blog-detail.html 専用のクラス（他ページ未使用）のため影響範囲はこのページのみ */
@media (max-width: 1024px) {
  .toc a {
    display: inline-block;
    padding: 13px 0;
    margin: -13px 0;
  }
}
