/* ============================================================
   DiCrea コーポレートサイト CSS（2026-10-05 初回デザイン・カンプ準拠）
   ------------------------------------------------------------
   ★規律：ブランド色の直値をここに書かない。色は必ず var() を参照する
     （トークンは parts/theme.php が site.php の3色から生成する）。
     白の透過rgba等、ブランドと無関係な値だけ直値でよい。
   ★デザインシステム（カンプ共通）：
     地＝ミルキーホワイト（--bg）／淡いグレーの面（--surface）／文字と主ボタン＝濃紺（--ink）
     見出しの型＝小さな英字ラベル（字間広め）＋細い横線（右端に点）→ 大きな日本語見出し
     細い罫線で区切る・余白を広く・ゴシック体
     ボタンは2種類だけ＝濃紺の塗り（.btn）と下線付きテキストリンク（.lnk／外部は .lnk--ext）
   ★アニメは控えめなフェードインだけ。prefers-reduced-motion: reduce で全停止
   ★繰り返し要素はタグでなくクラスで当てる
   ============================================================ */

/* ── フォント（欧文のみself-host。和文はシステムスタック＝theme.php） ── */
@font-face {
  font-family: 'BrandEn';
  src: url('/assets/fonts/brand-var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

/* ── レイアウト定数（色は theme.php。寸法だけここで持つ） ── */
:root {
  --wrap: 1200px;
  --gutter: 40px;
  --pad-sec: clamp(56px, 6.5vw, 96px);
  --pad-tight: clamp(20px, 2.4vw, 32px);
  --panel-x: clamp(24px, 3.6vw, 52px);
  --panel-y: clamp(32px, 4vw, 56px);
}
@media (max-width: 767px) {
  :root { --gutter: 20px; --pad-sec: clamp(48px, 12vw, 64px); }
}

/* ── リセット・ベース ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh; display: flex; flex-direction: column;   /* 短いページでもフッターを画面の最下部へ（2026-10-08 ボス指摘：お知らせ一覧でフッター下が空いた） */
  line-height: 1.9;
  font-size: 16px;
  line-break: strict;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;              /* 保険。横スクロールは要素側で出さないのが本筋 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
.en { font-family: var(--font-en); letter-spacing: .04em; }
.pc-br { display: none; }
.sp-br { display: none; }
@media (max-width: 767px) { .sp-br { display: inline; } }
@media (min-width: 768px) { .pc-br { display: inline; } }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ── モーション（2026-10-07 ボス指示：サイトに合わせたフェードイン）──────────
   語彙は4つだけ。(1) rise＝下から静かに浮く (2) line＝英字ラベルの線が左から伸びる
   (3) wipe＝写真が下から幕が上がるように現れ、同時に微ズームアウト (4) stagger＝並びの子が順に浮く
   いずれも IntersectionObserver で1回だけ（site.js）。prefers-reduced-motion: reduce で全停止 */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); }

/* (1) rise */
html.js [data-rev] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform 1.15s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js [data-rev].on,
html.js.rev-safe [data-rev] { opacity: 1; transform: none; }
/* 子が stagger する並びは、親自身は動かさない（二重に動くと重い） */
html.js [data-rev][data-stagger] { transform: none; }

/* (2) line：英字ラベル横の線が左から伸び、右端の点は最後に灯る */
html.js [data-rev] .sh__line { transform: scaleX(0); transform-origin: left center; transition: transform 1.2s var(--ease-out) .15s; }
html.js [data-rev].on .sh__line, html.js .on .sh__line, html.js.rev-safe .sh__line { transform: scaleX(1); }
html.js [data-rev] .sh--dot .sh__line::after { opacity: 0; transition: opacity .5s ease 1s; }
html.js [data-rev].on .sh--dot .sh__line::after, html.js .on .sh--dot .sh__line::after, html.js.rev-safe .sh--dot .sh__line::after { opacity: 1; }

/* (3) wipe：写真＝「幕」を ::after の板で作り、上へ引き上げる。写真は 1.12→1.0 へ微ズームアウト。
   ★clip-path は使わない。(a) 観測対象に clip-path があると Chromium の IntersectionObserver が「交差していない」と判定し
   .on が付かない (b) img に clip-path があると Chromium の lazy 読み込みが同じ判定で「画面に入っていない」と見なし
   いつまでも読み込まない（2026-10-07 どちらも実測）。板方式ならどちらの判定にも掛からない */
html.js [data-rev="wipe"] { opacity: 1; transform: none; overflow: hidden; position: relative; transition: none; }
html.js [data-rev="wipe"]::after {
  content: ''; position: absolute; inset: -1px; z-index: 1; pointer-events: none;
  background: var(--bg);
  transform: translateY(0);
  transition: transform 1.25s var(--ease-out);
  transition-delay: var(--d, 0s);
}
html.js .panel [data-rev="wipe"]::after { background: var(--surface); }   /* 淡グレー面の上では面の色で */
html.js [data-rev="wipe"] img { transform: scale(1.12); transition: transform 1.7s var(--ease-out); transition-delay: var(--d, 0s); }
/* 開く条件＝自分か親の .on ＋ 写真が読み込み済み（.ld＝site.js が load 時に付ける。読み込み途中の写真で幕が上がらない） */
html.js [data-rev="wipe"].on.ld::after, html.js .on [data-rev="wipe"].ld::after, html.js.rev-safe [data-rev="wipe"]::after { transform: translateY(-102%); }
html.js [data-rev="wipe"].on.ld img, html.js .on [data-rev="wipe"].ld img, html.js.rev-safe [data-rev="wipe"] img { transform: none; }

/* (4) stagger：並びの子を順に（--i は site.js が振る） */
html.js [data-stagger] > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .7s ease, transform .95s var(--ease-out);
  transition-delay: calc(var(--d0, .1s) + var(--i, 0) * .08s);
}
html.js [data-rev] [data-stagger] > * { --d0: .3s; }   /* 親パネルが浮いた後に */
html.js [data-stagger].on > *, html.js .on [data-stagger] > *, html.js.rev-safe [data-stagger] > * { opacity: 1; transform: none; }

/* ============================================================
   共通部品
   ============================================================ */
/* セクション */
.sec { padding-block: var(--pad-sec); }
.sec--tight { padding-block: var(--pad-tight); }
.sec__h { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: .04em; line-height: 1.5; margin-top: 22px; }

/* 見出しの型：英字ラベル＋線（.sh--dot＝右端に点） */
.sh { display: flex; align-items: center; gap: 20px; }
.sh__lbl {
  flex: none; font-family: var(--font-en);
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); line-height: 1.4;
}
.sh__line { position: relative; flex: 1 1 auto; height: 1px; background: var(--line-strong); }
.sh--dot .sh__line::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
}

/* 淡いグレーの面 */
.panel { background: var(--surface); padding: var(--panel-y) var(--panel-x); }
.panel .sh__line { background: var(--line-strong); }

/* 濃紺の塗りボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 22px;
  background: var(--band); color: var(--on-band);
  font-size: 15px; font-weight: 700; letter-spacing: .06em; line-height: 1.4;
  padding: 18px 34px; border: 1px solid var(--band); border-radius: var(--r-btn);
  cursor: pointer; transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.btn svg { width: 24px; height: 8px; flex: none; transition: transform .25s ease; }
.btn:hover { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.btn:hover svg { transform: translateX(5px); }
.btn--lg { padding: 22px 52px; font-size: 16px; gap: 28px; }
.btn--wide { width: 100%; justify-content: space-between; }
.btn:disabled { opacity: .6; cursor: default; }

/* 下線付きテキストリンク（→／外部は ↗） */
.lnk {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; line-height: 1.5;
  text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s ease;
}
.lnk svg { width: 22px; height: 7px; flex: none; transition: transform .25s ease; }
.lnk:hover { text-decoration-thickness: 2px; }
.lnk:hover svg { transform: translateX(4px); }
.lnk--ext svg { width: 12px; height: 12px; }
.lnk--ext:hover svg { transform: translate(2px, -2px); }
.lnk--back svg { width: 22px; height: 7px; }
.lnk--back:hover svg { transform: translateX(-4px); }
/* URL未受領の仮置き（data-pending）はカーソルだけ既定に戻す。見た目はそのまま */
.lnk[data-pending] { cursor: default; }
/* 公式アイコン付きの外部リンク（事業内容）。下線は文字だけに引き、アイコンには引かない */
.lnk--ico { text-decoration: none; gap: 10px; }
.lnk--ico .lnk__t { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.lnk--ico:hover .lnk__t { text-decoration-thickness: 2px; }
.lnk__ico { display: block; flex: none; height: auto; }
.lnk__ico--line { width: 22px; margin-inline: 4px; }   /* LINE：PC最小20px（ガイドライン）以上。左右4pxでYouTubeと同じ30px枠に揃える＝縦積みでも文字の頭が揃う */
.lnk__ico--youtube { width: 30px; }   /* YouTube：PNGに余白（クリアスペース）込み＝見た目の大きさをLINEと揃える */
.lnk__ico--blank { display: none; width: 30px; }   /* アイコンなしリンクの空き枠。SPの縦並びでだけ出して文字の頭を揃える */
.lnk--plain svg { width: 22px; height: 7px; }   /* →（内部リンク）の矢印サイズを通常の .lnk と同じに */

/* ============================================================
   ヘッダー（地色のソリッドバー・非オーバーレイ）
   ============================================================ */
.hd {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  transition: box-shadow .3s ease;
}
.hd.stuck { box-shadow: 0 1px 0 var(--line); }
html.js .hd { animation: hd-in .9s ease both; }
@keyframes hd-in { from { opacity: 0; } to { opacity: 1; } }
.hd__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo--text {
  font-family: var(--font-en); font-weight: 800; font-size: 26px;
  letter-spacing: .01em; color: var(--ink); line-height: 1;
}
.logo--light { color: var(--on-band); }
.hd__r { display: flex; align-items: center; gap: 34px; }
.hd__nav { display: flex; gap: 32px; }
.hd__link {
  position: relative; font-size: 14px; font-weight: 700; letter-spacing: .04em;
  padding-block: 8px;
}
.hd__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left center; transition: transform .25s ease;
}
.hd__link:hover::after, .hd__link[aria-current="page"]::after { transform: scaleX(1); }
.hd__cta {
  display: inline-flex; align-items: center;
  background: var(--band); color: var(--on-band);
  font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
  padding: 13px 26px; border-radius: var(--r-btn);
  transition: background .25s ease, color .25s ease;
}
.hd__cta:hover { background: var(--brand); color: var(--on-brand); }

/* バーガー（〜1024pxで表示） */
.burger { display: none; }
@media (max-width: 1024px) {
  .hd__nav, .hd__cta, .hd__r .sns--hd { display: none; }   /* 〜1024px はSNSアイコンをドロワーへ（.sns の display:flex より強く） */
  .burger {
    position: relative; z-index: 101;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer;
  }
  .burger i { display: block; height: 1.5px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
  body.nav-open .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .burger i:nth-child(2) { opacity: 0; }
  body.nav-open .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ドロワー（スマホのメニュー） */
.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
  overflow-y: auto; padding-top: 96px;
}
.drawer.on { opacity: 1; visibility: visible; transform: none; }
.drawer__in { padding: 0 var(--gutter) 48px; }
.drawer__nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; font-size: 17px; font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer__link svg { width: 22px; height: 7px; }
.drawer__cta { margin-top: 32px; }
.drawer__cta .btn { width: 100%; justify-content: space-between; }

/* ============================================================
   フッター（濃紺の帯）
   ============================================================ */
main { flex: 1 0 auto; }
.ft { background: var(--band); color: var(--on-band); padding-block: 30px; }
.ft, .hd { flex: none; }
.ft__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ft__l { display: flex; align-items: baseline; gap: 18px; }
.ft__logo .logo--text { font-size: 26px; }
.ft__area { font-size: 13px; opacity: .8; letter-spacing: .04em; }
.ft__tag { font-size: 13px; opacity: .8; }
.ft__r { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.ft__nav a { font-size: 13.5px; font-weight: 600; opacity: .9; transition: opacity .2s ease; }
.ft__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.ft__copy { font-size: 13px; opacity: .85; border-left: 1px solid rgba(255,255,255,.35); padding-left: 28px; line-height: 1.4; }
/* SNSアイコン（公式フルカラー・加工禁止）。YouTubeのPNGはクリアスペース込み＝LINEより一回り大きく置いて見た目を揃える */
.sns { display: flex; align-items: center; gap: 18px; }
.sns__a { display: block; line-height: 0; }
.sns__a img { display: block; height: auto; }
.sns__a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sns--hd { margin-left: -6px; gap: 16px; }        /* ボタンとの間はヘッダーの gap(34px) より少し詰める */
.sns--hd .sns__a--line img { width: 24px; }      /* LINE：PC最小20px以上 */
.sns--hd .sns__a--youtube img { width: 33px; }
.sns--ft .sns__a--line img { width: 26px; }
.sns--ft .sns__a--youtube img { width: 36px; }
.sns--dr { margin-top: 28px; gap: 24px; justify-content: center; }
.sns--dr .sns__a--line img { width: 40px; }      /* LINE：モバイル最小40px */
.sns--dr .sns__a--youtube img { width: 55px; }
.ft__sample { border-top: 1px solid rgba(255,255,255,.16); margin-top: 20px; padding-top: 16px; }
.ft__sample p { font-size: 12.5px; line-height: 1.9; opacity: .66; max-width: 76ch; }

/* ============================================================
   問い合わせ帯（CONTACT：事業内容・会社概要の末尾）
   ============================================================ */
.cta { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.cta__in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 3.6vw, 48px); margin-top: 26px; }
.cta__h { font-size: clamp(24px, 2.8vw, 32px); font-weight: 800; letter-spacing: .04em; line-height: 1.5; }
.cta__note { font-size: 14px; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3.6vw, 48px); line-height: 1.9; }
.cta__act { justify-self: end; text-align: center; }
.cta__bnote { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ============================================================
   下層ページのタイトル部分（左＝ラベル＋線＋ページ名／右＝写真／右上＝パンくず）
   ============================================================ */
.ph { position: relative; overflow: hidden; }
/* 写真＝画面幅いっぱいの帯。左側を地色へフェードさせ、その上にページ名を重ねる */
.ph__media { position: absolute; inset: 0; }
.ph__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
html.js .ph__media img { transform: scale(1.06); animation: ph-zoom 1.9s var(--ease-out) forwards; }
@keyframes ph-zoom { to { transform: scale(1); } }
/* 左は地色で塗りつぶし→中央で抜ける（高解像度に差し替えても同じ見え方になる） */
.ph__media::after {
  content: ''; position: absolute; inset: 0;
  /* ★--veil-* は明るい地色の案件では濃紺（FV用）になるので使わない。地色そのものでフェードさせる。
     塗りつぶしの終わり＝画面中央の少し左（最低600px）＝ページ名の右端より外。そこから360pxで抜ける */
  --ph-solid: max(calc(50% - 60px), 600px);
  background: linear-gradient(90deg, var(--bg) 0, var(--bg) var(--ph-solid), transparent calc(var(--ph-solid) + 360px));
}
.ph__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr; grid-template-areas: "bc" "body";
  min-height: clamp(300px, 27vw, 420px); padding-block: 20px clamp(28px, 3vw, 40px);
}
.ph__bc { grid-area: bc; justify-self: end; align-self: start; font-size: 12px; letter-spacing: .03em; color: var(--muted); }
.ph:not(.ph--noimg) .ph__bc { background: color-mix(in srgb, var(--bg) 88%, transparent); padding: 4px 12px; color: var(--ink); }
.ph__bc ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ph__bc li { display: inline-flex; align-items: center; gap: 12px; }
.ph__bc li + li::before { content: '\2192'; color: var(--muted); }
.ph__bc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ph__bc span { color: var(--ink); }
.ph__body { grid-area: body; align-self: center; max-width: 560px; padding-block: clamp(16px, 2vw, 28px); }
/* 長いページ名（プライバシーポリシー等）は1段小さく＝page-hero.php が7文字以上で .ph__h--long を付ける */
.ph__h--long { font-size: clamp(30px, 3.6vw, 48px) !important; }
.ph__h { font-size: clamp(38px, 5.6vw, 72px); font-weight: 800; letter-spacing: .04em; line-height: 1.25; margin-top: clamp(24px, 3vw, 44px); }
.ph--noimg .ph__in { min-height: 0; }
/* ★写真は深い紺の抽象写真（2026-10-07 差し替え）。PC（1025px〜）では白い溶かしをやめ、
   紺の地にページ名・ラベル・パンくずを白で重ねる（左側は写真自体が無地の紺）。
   読みやすさのために左から薄い紺のベールだけ敷く（--ink は紺＝テーマ色） */
@media (min-width: 1025px) {
  .ph:not(.ph--noimg) .ph__media::after {
    background: linear-gradient(90deg, color-mix(in srgb, var(--ink) 55%, transparent) 0%, transparent 55%);
  }
  .ph:not(.ph--noimg) .ph__in { color: #fff; }
  .ph:not(.ph--noimg) .ph__h,
  .ph:not(.ph--noimg) .sh__lbl { color: #fff; }
  .ph:not(.ph--noimg) .sh__line { background: rgba(255,255,255,.45); }
  .ph:not(.ph--noimg) .sh__line::after { background: #fff; }
  .ph:not(.ph--noimg) .ph__bc { background: color-mix(in srgb, var(--ink) 72%, transparent); padding: 5px 14px; color: rgba(255,255,255,.88); }   /* 右上はガラスの明るい部分に重なるので紺の帯を敷く */
  .ph:not(.ph--noimg) .ph__bc span,
  .ph:not(.ph--noimg) .ph__bc li + li::before { color: #fff; }
}
/* 〜1024px：写真を重ねると文字の逃げ場が無いので、パンくず→ページ名→全幅の写真の縦積み */
@media (max-width: 1024px) {
  .ph { display: flex; flex-direction: column; }
  .ph__in { width: 100%; min-height: 0; padding-block: 16px 20px; }   /* flexの子＋margin-inline:auto で縮んで中央寄せになるのを防ぐ */
  .ph__bc { justify-self: start; }
  .ph:not(.ph--noimg) .ph__bc { background: none; padding: 0; color: var(--muted); }
  .ph__body { padding-block: 12px 0; max-width: none; }
  .ph__media { position: relative; inset: auto; order: 2; aspect-ratio: 5 / 2; }
  .ph__media::after { background: none; }   /* 紺の写真に地色のフェードを掛けると濁る＝素のまま */
}

/* ============================================================
   TOP
   ============================================================ */
/* FV：画面幅いっぱいの写真。文字はコンテンツ幅（.wrap）の左端に揃える */
.fv { padding-top: 0; }
.fv__box { position: relative; height: clamp(420px, 48vw, 760px); overflow: hidden; }
.fv__media { display: contents; }
.fv__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 文字の可読性を作るベール（左ほど濃い。色はトークン参照） */
.fv__box::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--veil-2) 0%, var(--veil-3) 48%, transparent 78%);
}
.fv__frame { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; }
.fv__copy { color: #fff; max-width: 100%; }
.fv__catch {
  font-family: var(--font-en); font-weight: 300; letter-spacing: .01em;
  font-size: clamp(36px, 5.4vw, 72px); line-height: 1.18;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.fv__line { display: block; }
.fv__cap { font-weight: 800; }
.fv__sub {
  margin-top: clamp(14px, 2vw, 24px);
  font-size: clamp(14px, 1.5vw, 19px); font-weight: 500; letter-spacing: .12em;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.fv__cap-note { margin-top: 14px; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
/* FV登場（ページロード時・段階的に）：写真がゆっくり引き → ベール → D/I/C がにじみから結像しながら浮く → 一文 */
html.js .fv__img { transform: scale(1.08); animation: fv-zoom 2.6s var(--ease-out) forwards; }
@keyframes fv-zoom { to { transform: scale(1); } }
html.js .fv__box::after { opacity: 0; animation: fv-fade 1s ease forwards .15s; }
html.js .fv__line { opacity: 0; transform: translateY(24px); filter: blur(10px); animation: fv-rise 1.2s var(--ease-out) forwards; animation-delay: calc(.4s + var(--i, 0) * .16s); }
html.js .fv__sub { opacity: 0; transform: translateY(14px); animation: fv-rise 1s var(--ease-out) forwards 1.05s; }
@keyframes fv-fade { to { opacity: 1; } }
@keyframes fv-rise { to { opacity: 1; transform: none; filter: blur(0); } }

/* OUR DECLARATION */
.decl__in { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: 28px; }
.decl__h { font-size: clamp(30px, 3.3vw, 44px); font-weight: 800; letter-spacing: .02em; line-height: 1.45; }
.decl__r { padding-top: 10px; }
.decl__note { font-size: 15px; line-height: 2; }
.decl__r .lnk { margin-top: 26px; }

/* BUSINESS 01（淡グレー面） */
.biz1__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); margin-top: 28px; align-items: start; }
/* 写真ありの型：右の写真をパネルの右端まで出す（右の余白を食う） */
.biz1__in--img { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.biz1__in--img .biz1__h { font-size: clamp(26px, 2.6vw, 38px); text-wrap: balance; }
.biz1__media { margin-right: calc(-1 * var(--panel-x)); aspect-ratio: 3 / 2; overflow: hidden; }
.biz1__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz1__h { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: .02em; line-height: 1.3; }
.biz1__catch { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; margin-top: 20px; line-height: 1.7; }
.biz1__lead { font-size: 15px; line-height: 2; color: var(--muted-surface); margin-top: 16px; }
.biz1__items { padding-top: 8px; }
.biz1__in--img .biz1__items { margin-top: clamp(20px, 2.4vw, 32px); padding-top: 0; max-width: 560px; }
.biz1__in--img .biz1__items li { font-size: clamp(15px, 1.3vw, 17px); padding: 14px 0; }
.biz1__items li { font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.biz1__act { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: clamp(32px, 4vw, 48px); }
.biz1__act .lnk { padding-left: 32px; border-left: 1px solid var(--line-strong); }

/* BUSINESS 02・03（1行の行組み） */
.bizrow__list { border-top: 1px solid var(--line-strong); }
.bizrow { border-bottom: 1px solid var(--line-strong); }
.bizrow__a {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
  align-items: center; gap: clamp(24px, 3.6vw, 56px);
  padding: clamp(28px, 3.4vw, 44px) 0; transition: background .25s ease;
}
/* 写真ありの型：左＝横長の写真／右＝ラベル・事業名・説明 */
.bizrow__a--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) 40px; padding: clamp(14px, 1.4vw, 20px) 0; }
.bizrow__media { display: block; aspect-ratio: 16 / 5; overflow: hidden; margin-left: clamp(0px, 1vw, 16px); }
.bizrow__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
html.js .bizrow__media.on img { transition-duration: .6s; }
.bizrow__a--img:hover .bizrow__media img { transform: scale(1.03); }
.bizrow__a--img .bizrow__l { padding-left: 0; gap: 10px; }
.bizrow__a--img .bizrow__desc { border-left: 0; padding-left: 0; margin-top: 4px; max-width: 34em; }
.bizrow__l { display: flex; flex-direction: column; gap: 12px; padding-left: clamp(0px, 1vw, 16px); }
.bizrow__name { font-size: clamp(22px, 2.8vw, 34px); font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.bizrow__desc { font-size: 15px; line-height: 1.9; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3.6vw, 56px); }
.bizrow__arr { display: inline-flex; justify-content: flex-end; }
.bizrow__arr svg { width: 26px; height: 8px; transition: transform .25s ease; }
.bizrow__a:hover .bizrow__arr svg { transform: translateX(5px); }
.bizrow__a:hover .bizrow__name { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

/* REPRESENTATIVE */
.rep__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.rep__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.rep__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rep__h { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: .02em; line-height: 1.45; margin-top: 24px; }
.rep__sub { font-size: clamp(16px, 1.5vw, 19px); font-weight: 700; line-height: 1.8; margin-top: 18px; }
.rep__text { margin-top: 22px; }
.rep__text p { font-size: 15px; line-height: 2.1; color: var(--muted); }
.rep__text p + p { margin-top: 6px; }
.rep__sign { margin-top: 24px; font-size: 15px; }
.rep__name { font-size: 18px; font-weight: 700; margin-left: 1em; letter-spacing: .06em; }
.rep__body .btn { margin-top: 30px; }

/* NEWS ＋ COMPANY（2カラム） */
/* TOP：お知らせ（独立セクション） */
.tnews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 22px; }
.tnews__h { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: .04em; line-height: 1.4; }
.tnews .plist { margin-top: 22px; }
.tnews .plist__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }   /* 長いタイトルは2行で切る */

/* TOP：CONTACT＋SNS（紺のパネル・白抜き） */
.tcta { padding-top: 0; }
.tnews + .tcta { padding-top: calc(var(--pad-sec) + 14px); }   /* TOP：お知らせの上下の余白を揃える（上は前セクション下＋お知らせ上の2段分） */
.panel.tcta__panel { background: var(--ink); color: #fff; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tcta__panel--solo { grid-template-columns: 1fr; }
.tcta__panel .sh__lbl { color: #fff; }
.tcta__panel .sh__line { background: rgba(255,255,255,.32); }
.tcta__panel .sh__line::after { background: #fff; }   /* 紺パネル上の点は白 */
.tcta__h { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: .04em; line-height: 1.4; margin-top: 22px; color: #fff; }
.tcta__note { font-size: 15px; line-height: 2; color: rgba(255,255,255,.84); margin-top: 14px; }
.tcta__l .btn { margin-top: 28px; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--bg); color: var(--ink); }
.tcta__sns { display: grid; gap: 14px; }
.snsc { display: grid; grid-template-columns: 56px minmax(0, 1fr) 16px; align-items: center; gap: 18px; padding: 20px 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); transition: background .25s ease, border-color .25s ease; }
.snsc:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.snsc__ico { display: block; justify-self: center; height: auto; }
.snsc__ico--line { width: 40px; }      /* LINE：モバイル最小40px以上（全幅で守る） */
.snsc__ico--youtube { width: 52px; }   /* PNGはクリアスペース込み＝見た目をLINEと揃える */
.snsc__t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.snsc__name { font-size: 16px; font-weight: 700; color: #fff; }
.snsc__desc { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.78); }
.snsc__arr { color: #fff; display: inline-flex; }
.snsc__arr svg { width: 12px; height: 12px; transition: transform .25s ease; }
.snsc:hover .snsc__arr svg { transform: translate(2px, -2px); }
.nc__in { display: grid; grid-template-columns: 1.3fr 1fr; }
.nc__news { padding-right: clamp(32px, 5vw, 72px); }
.nc__co { padding-left: clamp(32px, 5vw, 72px); border-left: 1px solid var(--line-strong); }
.nc__h { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: .04em; margin-top: 22px; line-height: 1.5; }
.nc__news .plist { margin-top: 18px; }
.nc__more { margin-top: 22px; }
.nc__area { font-size: 14px; color: var(--muted); margin-top: 4px; }
.nc__co .btn { margin-top: 28px; }

/* ============================================================
   お知らせ一覧（日付｜縦線｜タイトル｜→）
   ============================================================ */
.plist { border-top: 1px solid var(--line-strong); }
.plist__item { border-bottom: 1px solid var(--line-strong); }
.plist__a {
  display: grid; grid-template-columns: 160px minmax(0, 1fr) 40px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 16px; transition: background .25s ease;
}
.plist__a:hover { background: var(--tint-1); }
.plist__date { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.plist__title { font-size: clamp(17px, 2vw, 24px); font-weight: 700; line-height: 1.6; border-left: 1px solid var(--line-strong); padding-left: clamp(20px, 3vw, 48px); }
.plist__arr { display: inline-flex; justify-content: flex-end; }
.plist__arr svg { width: 26px; height: 8px; transition: transform .25s ease; }
.plist__a:hover .plist__arr svg { transform: translateX(5px); }
/* TOPの詰めた行 */
/* お知らせ一覧ページ：行に厚みを持たせ、記事が少なくても面として成立する最低限の高さを確保 */
.news .plist__a { padding: clamp(30px, 3.6vw, 48px) 20px; }
.news .plist__title { font-size: clamp(18px, 2.1vw, 26px); }
.plist--compact .plist__a { grid-template-columns: 110px minmax(0, 1fr) 30px; padding: 18px 4px; }
.plist--compact .plist__date { font-size: 13px; }
.plist--compact .plist__title { font-size: 15px; font-weight: 600; border-left: 0; padding-left: 0; }
.plist--compact .plist__arr svg { width: 22px; height: 7px; }
.plist__item[hidden] { display: none; }

/* ============================================================
   お知らせ記事
   ============================================================ */
.article__in { max-width: 860px; }
.article__date { display: block; font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.article__h { font-size: clamp(24px, 3.2vw, 40px); font-weight: 800; letter-spacing: .02em; line-height: 1.5; margin-top: 12px; }
.article__head { padding-bottom: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line-strong); }
.article__eye { margin: 32px 0 0; overflow: hidden; }
.article__eye img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article__body { padding-block: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line-strong); }
.article__body p { font-size: 16px; line-height: 2.2; }
.article__body p + p { margin-top: 20px; }
.article__body h2 { font-size: 20px; font-weight: 800; line-height: 1.6; margin: 44px 0 14px; padding-left: 14px; border-left: 3px solid var(--ink); }
.article__body h3 { font-size: 18px; font-weight: 800; line-height: 1.6; margin: 36px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-strong); }
.article__body h4 { font-size: 16.5px; font-weight: 800; line-height: 1.7; margin: 30px 0 10px; }
.article__body h2 + p, .article__body h3 + p, .article__body h4 + p { margin-top: 0; }
.article__body ul, .article__body ol { padding-left: 1.5em; margin-top: 18px; }
.article__body ul li, .article__body ol li { font-size: 16px; line-height: 2.1; }
.article__body ul li { list-style: disc; }
.article__body ol li { list-style: decimal; }
.article__body blockquote { margin: 30px 0; padding: 20px 22px; border-left: 3px solid var(--ink); background: var(--surface); }
.article__body blockquote p { margin: 0; font-size: 15px; color: var(--muted-surface); }
.article__body strong { font-weight: 800; }
.article__body a { text-decoration: underline; text-underline-offset: 4px; }
.article__back { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.article__meta { margin-bottom: 12px; }

/* ============================================================
   事業内容
   ============================================================ */
.sintro__h { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: .02em; line-height: 1.5; }
.sintro__body { margin-top: 18px; max-width: 760px; }
.sintro__body p { font-size: 16px; line-height: 2; }
.sintro__body p + p { margin-top: 12px; }

/* BUSINESS 01（淡グレー面・写真あり・項目3つ横並び） */
.sbiz1__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: 28px; align-items: center; }
.sbiz1__h { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: .02em; line-height: 1.3; }
.sbiz1__lead { font-size: 15px; line-height: 2; color: var(--muted-surface); margin-top: 20px; }
.sbiz1__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.sbiz1__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sbiz1__items {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(28px, 3.6vw, 44px);
  border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.sbiz1__items li { padding: 24px 20px; text-align: center; font-size: 16px; font-weight: 500; line-height: 1.7; }
.sbiz1__items li + li { border-left: 1px solid var(--line-strong); }
.sbiz1__links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: clamp(24px, 3vw, 36px); }
.sbiz1__links .lnk + .lnk { padding-left: 32px; border-left: 1px solid var(--line-strong); }

/* BUSINESS 02・03（左＝名前と説明／右＝項目リスト） */
.sbiz { padding-block: clamp(40px, 5vw, 72px); }
.sbiz__in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 64px); margin-top: 26px; align-items: start; }
.sbiz__h { font-size: clamp(24px, 3.2vw, 40px); font-weight: 800; letter-spacing: .02em; line-height: 1.4; }
.sbiz__lead { font-size: 15px; line-height: 2; color: var(--muted); margin-top: 18px; }
.sbiz__items { border-left: 1px solid var(--line-strong); padding-left: clamp(24px, 3vw, 44px); }
.sbiz__items li { font-size: 16px; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--line-strong); }
/* 写真ありの型（事業02・03）：左＝写真／右＝見出し・概要文・項目（縦積み） */
.sbiz__in--img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
.sbiz__media { aspect-ratio: 3 / 2; overflow: hidden; }
.sbiz__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sbiz__items--stack { border-left: 0; padding-left: 0; margin-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line-strong); }
.sbiz__links { margin-top: clamp(20px, 2.4vw, 28px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }   /* 事業02・03の「お問い合わせ」「LINEで相談する」 */
.sbiz__links .lnk + .lnk { padding-left: 32px; border-left: 1px solid var(--line-strong); }

/* ご相談の流れ／お問い合わせの流れ（2026-10-07 ボス指示：各ステップを紺 #1F2B45＝--ink のボックスにし、文字は白抜き。
   ボックスの間に紺の矢印。高さは横一列で揃える） */
.steps { --step-gap: clamp(32px, 3.4vw, 48px); display: flex; align-items: stretch; gap: var(--step-gap); margin-top: clamp(28px, 3.4vw, 40px); }
.step {
  flex: 1 1 0; position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--ink); color: #fff; padding: clamp(20px, 2vw, 28px) clamp(18px, 1.8vw, 26px);
}
/* ステップ間の矢印（ボックスの間の余白の中央。線＋矢じり・紺） */
.step + .step::before {
  content: ''; position: absolute; top: 50%; left: calc(var(--step-gap) * -1 + (var(--step-gap) - 20px) / 2);
  width: 20px; height: 1px; background: var(--ink);
}
.step + .step::after {
  content: ''; position: absolute; top: calc(50% - 3.5px); left: calc(var(--step-gap) * -1 + (var(--step-gap) - 20px) / 2 + 13px);
  width: 7px; height: 7px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}
.step__no { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.72); }
.step__name { font-size: clamp(17px, 1.7vw, 22px); font-weight: 800; letter-spacing: .02em; margin-top: 8px; line-height: 1.5; color: #fff; }
.step__desc { font-size: 13.5px; line-height: 1.9; color: rgba(255,255,255,.86); margin-top: 8px; }

/* ============================================================
   会社概要
   ============================================================ */
.phic__sub { font-size: 16px; margin-top: 26px; letter-spacing: .04em; }
.phic__st { font-size: clamp(30px, 4.4vw, 56px); font-weight: 800; letter-spacing: .02em; line-height: 1.45; margin-top: 8px; }

/* 社名に込めた想い（淡グレー面） */
.origin__panel { position: relative; }
.origin__h { font-size: clamp(26px, 3.4vw, 42px); font-weight: 800; letter-spacing: .02em; margin-top: 26px; line-height: 1.4; }
.origin__letters { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(24px, 3vw, 40px); }
.origin__letter { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 12px 16px 24px; }
.origin__letter + .origin__letter { border-left: 1px solid var(--line-strong); }
.origin__big { font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: 1; letter-spacing: 0; }
.origin__word { font-size: clamp(18px, 1.8vw, 24px); font-weight: 500; margin-top: 8px; }
.origin__jp { font-size: 15px; margin-top: 2px; }
.origin__rows { margin-top: clamp(20px, 2.4vw, 32px); border-top: 1px solid var(--line-strong); }
.origin__row { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; padding: clamp(20px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line-strong); }
.origin__row dt { font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; letter-spacing: .02em; }
.origin__row dd { font-size: 15px; line-height: 2; color: var(--muted-surface); border-left: 1px solid var(--line-strong); padding-left: clamp(20px, 3vw, 40px); margin: 0; }
.origin__brand { text-align: right; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: .01em; margin-top: 12px; line-height: 1.2; }
/* 2026-10-07 ボス指示：社名に込めた想いのボックスを紺 #1F2B45（＝--ink）＋白抜きに。区切り線は白の半透明 */
.panel.origin__panel { background: var(--ink); color: #fff; }
.origin__panel .sh__lbl, .origin__panel .origin__h, .origin__panel .origin__big,
.origin__panel .origin__word, .origin__panel .origin__jp, .origin__panel .origin__row dt, .origin__panel .origin__brand { color: #fff; }
.origin__panel .sh__line { background: rgba(255,255,255,.32); }
.origin__panel .sh__line::after { background: #fff; }
.origin__panel .origin__letter + .origin__letter,
.origin__panel .origin__row dd { border-color: rgba(255,255,255,.28); }
.origin__panel .origin__rows, .origin__panel .origin__row { border-color: rgba(255,255,255,.28); }
.origin__panel .origin__row dd { color: rgba(255,255,255,.84); }

/* 代表挨拶（写真なし。左＝ラベル／右＝lead＋本文＋右寄せ署名） */
.msg__in { display: grid; grid-template-columns: minmax(160px, 24%) 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 28px; }
.msg__h { font-size: 17px; font-weight: 700; letter-spacing: .04em; padding-top: 6px; }
/* 代表の写真（2026-10-09）：左の列に「代表挨拶」の下。縦3:4。写真があるときは左列を少し広く */
.msg__in--photo { grid-template-columns: minmax(220px, 30%) 1fr; column-gap: clamp(40px, 5.5vw, 80px); align-items: start; }   /* 写真と本文の間はやや広く（2026-10-09 ボス指示） */
.msg__photo { margin-top: 18px; aspect-ratio: 3 / 4; }
.msg__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nw { white-space: nowrap; }   /* 語句の途中で折り返さない（snk_lines_nowrap） */
/* PCだけ改行（SPは1文として自然に折り返す＝「まとまりのある感じ」）。snk_lines の区切りに使う */
.br-pc::before { content: '\A'; white-space: pre; }
.msg__lead { font-size: clamp(24px, 3.2vw, 40px); font-weight: 800; letter-spacing: .02em; line-height: 1.5; }
.msg__p { font-size: 16px; line-height: 2.1; margin-top: 22px; }
.msg__lead + .msg__p { margin-top: 20px; }
.msg__sign { margin-top: 28px; text-align: right; font-size: 15px; }
.msg__name { font-size: 18px; font-weight: 700; margin-left: 1em; letter-spacing: .06em; }

/* 会社情報の表 */
.profile__tbl { margin-top: 30px; border-top: 1px solid var(--line-strong); }
.profile__row { display: grid; grid-template-columns: 220px 1fr; padding: 22px 16px; border-bottom: 1px solid var(--line-strong); }
.profile__row dt { font-weight: 700; font-size: 15px; }
.profile__row dd { font-size: 15px; line-height: 1.9; border-left: 1px solid var(--line-strong); padding-left: 28px; margin: 0; }

/* ============================================================
   お問い合わせ
   ============================================================ */
.cf { padding-top: clamp(40px, 5vw, 64px); }
.cf__h { font-size: clamp(21px, 2.6vw, 30px); font-weight: 800; letter-spacing: .02em; line-height: 1.7; }
.cf__note { font-size: 16px; margin-top: 12px; }
.cf__form { margin-top: clamp(28px, 3.6vw, 44px); }
.cf__fnote { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.f-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.f-row { display: grid; grid-template-columns: 240px 1fr; border-top: 1px solid var(--line-strong); padding: clamp(20px, 2.6vw, 30px) 0; border-width: 1px 0 0; min-width: 0; }
.f-row:last-of-type { border-bottom: 1px solid var(--line-strong); }
.f-row__l { padding-top: 14px; }
.f-row__l label, .f-row__l legend { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; }
.f-row__r { border-left: 1px solid var(--line-strong); padding-left: clamp(20px, 3vw, 36px); min-width: 0; }
.f-row--radio .f-row__l { padding-top: 6px; }
.f-req, .f-opt {
  display: inline-block; padding: 2px 9px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.6;
  border-radius: 2px;
}
.f-req { background: var(--band); color: var(--on-band); }
.f-opt { border: 1px solid var(--line-strong); color: var(--muted); }
.f-row input[type="text"], .f-row input[type="email"], .f-row input[type="tel"], .f-row textarea {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 3px; padding: 15px 18px;
  transition: border-color .2s ease, background .2s ease;
}
.f-row textarea { min-height: 180px; resize: vertical; }
/* ★プレースホルダは灰色面の上なので --muted-surface（面基準で 4.5:1 を満たす色） */
.f-row input::placeholder, .f-row textarea::placeholder { color: var(--muted-surface); opacity: 1; }
.f-row input:focus, .f-row textarea:focus { outline: none; border-color: var(--ink); background: var(--bg); }
.f-radios { display: flex; flex-direction: column; gap: 6px; }
.f-radios li { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.f-radios input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.f-radios label { font-size: 16px; }
.is-err { border-color: #c33a52 !important; background: #fdeaee !important; }
.f-err { display: none; font-size: 12.5px; color: #c33a52; margin-top: 6px; }
.f-err.on { display: block; }
.f-alert { display: none; font-size: 14px; font-weight: 700; color: #c33a52; background: #fdeaee; border-radius: 3px; padding: 12px 16px; margin-bottom: 20px; }
.f-alert.on { display: block; }
.f-foot { padding-top: clamp(24px, 3vw, 36px); padding-left: calc(240px + clamp(20px, 3vw, 36px)); }
.f-agree { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.f-agree label { display: inline-flex; align-items: center; gap: 12px; }
.f-agree a { text-decoration: underline; text-underline-offset: 4px; }
.f-agree input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.f-foot .act { margin-top: 24px; }
.is-sending { opacity: .6; pointer-events: none; }
.f-sample { margin: 0 0 20px; padding: 14px 16px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13.5px; line-height: 1.85; }

.cflow { padding-top: clamp(40px, 5vw, 64px); }
.cflow__mail { margin-top: clamp(24px, 3vw, 36px); font-size: 13.5px; color: var(--muted); }
.cflow__mail a { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.calt { padding-top: clamp(32px, 4vw, 48px); }
.calt__h { font-size: clamp(19px, 2.2vw, 24px); font-weight: 800; letter-spacing: .02em; margin-top: 24px; }
.calt .lnk { margin-top: 20px; }

/* ============================================================
   送信完了・404・プライバシーポリシー
   ============================================================ */
.thx__in { max-width: 720px; }
.thx__h { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: .02em; line-height: 1.6; }
.thx__lead { margin-top: 20px; }
.thx__lead p { font-size: 15.5px; line-height: 2; }
.thx__lead p + p { margin-top: 14px; }
.thx__lead a { text-decoration: underline; text-underline-offset: 4px; }
.thx .act { margin-top: 34px; }
.nf__code { font-size: clamp(56px, 9vw, 96px); font-weight: 800; line-height: 1; color: var(--line-strong); margin-bottom: 20px; }

.pp__in { max-width: 860px; }
.pp__in h2 { font-size: 18px; font-weight: 800; margin: 40px 0 12px; padding-left: 14px; border-left: 3px solid var(--ink); line-height: 1.6; }
.pp__in p { font-size: 15.5px; line-height: 2; }
.pp__in ul { padding-left: 1.4em; margin-top: 8px; }
.pp__in ul li { list-style: disc; font-size: 15.5px; line-height: 2; }
.pp__in a { text-decoration: underline; text-underline-offset: 4px; }

/* ============================================================
   互換（ブログ式カード・検索。この案件では未使用。崩れないよう最低限） ────
   ============================================================ */
.blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 24px; margin-top: 32px; }
.blog__link { display: grid; gap: 14px; }
.blog__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.blog__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog__thumb--none { display: grid; place-items: center; }
.blog__thumb-ph { font-weight: 800; font-size: 18px; letter-spacing: .24em; opacity: .17; }
.blog__body { display: grid; gap: 9px; }
.blog__meta { display: flex; align-items: center; gap: 12px; }
.blog__cat { background: var(--band); color: var(--on-band); padding: 4px 13px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.blog__date { font-size: 13px; font-weight: 600; color: var(--muted); }
.blog__title { font-size: 15.5px; font-weight: 700; line-height: 1.75; }
.blog__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.blog__tab { border: 1px solid var(--line-strong); padding: 9px 20px; font-size: 13.5px; font-weight: 700; }
.blog__tab.is-current { background: var(--band); border-color: var(--band); color: var(--on-band); }
.blog__card[hidden] { display: none; }
.psearch { margin-bottom: 28px; }
.psearch__label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.psearch__row { display: flex; gap: 10px; max-width: 520px; }
.psearch__input { flex: 1 1 auto; min-width: 0; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); padding: 11px 15px; font: inherit; font-size: 14.5px; }
.psearch__clear { flex: none; border: 1px solid var(--line-strong); background: transparent; padding: 0 16px; font-size: 13px; font-weight: 700; cursor: pointer; }
.psearch__count { margin-top: 8px; min-height: 1.5em; font-size: 12.5px; color: var(--muted); }
.psearch__empty { padding: 28px 0; text-align: center; font-size: 14.5px; color: var(--muted); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .decl__in { grid-template-columns: 1fr; gap: 24px; }
  .biz1__in, .sbiz1__in, .sbiz__in { grid-template-columns: 1fr; gap: 28px; }
  .biz1__media { margin-inline: calc(-1 * var(--panel-x)); }
  .rep__in { grid-template-columns: 1fr; gap: 32px; }
  .rep__media { aspect-ratio: 16 / 10; }
  .nc__in { grid-template-columns: 1fr; gap: 48px; }
  .panel.tcta__panel { grid-template-columns: 1fr; gap: 28px; }
  .nc__news { padding-right: 0; }
  .nc__co { padding-left: 0; border-left: 0; padding-top: 0; }
  .f-row { grid-template-columns: 200px 1fr; }
  .f-foot { padding-left: calc(200px + clamp(20px, 3vw, 36px)); }
  .blog { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  /* 見出しの孤立行対策 */
  .decl__h, .biz1__h, .rep__h, .sintro__h, .sbiz1__h, .sbiz__h, .phic__st, .msg__lead, .cf__h, .cta__h, .thx__h, .sec__h { text-wrap: pretty; }

  /* ヘッダー */
  .hd__in { height: 64px; }
  .logo--text { font-size: 22px; }

  /* FV */
  .fv__box { height: clamp(400px, 118vw, 540px); }
  .fv__img { object-position: 44% center; }   /* SPは縦長に切り抜かれる＝少し左に寄せ、右寄りのガラス球が文字の右端より外から始まるように */
  .fv__catch { font-size: clamp(34px, 11vw, 46px); }
  .fv__sub { font-size: 13px; letter-spacing: .04em; }

  /* 面・行組み */
  .panel { padding: 32px 20px; }
  .biz1__act { gap: 16px 0; }
  .biz1__act .btn { width: 100%; justify-content: space-between; }
  .biz1__act .lnk { padding-left: 0; border-left: 0; margin-right: 24px; }
  .bizrow__a { grid-template-columns: 1fr 32px; gap: 14px 16px; }
  .bizrow__desc { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .bizrow__arr { grid-row: 1; grid-column: 2; }
  .bizrow__l { grid-row: 1; grid-column: 1; }
  .bizrow__a--img { grid-template-columns: 1fr 32px; padding: 20px 0 24px; }
  .bizrow__a--img .bizrow__media { grid-row: 1; grid-column: 1 / -1; margin-left: 0; aspect-ratio: 16 / 7; }
  .bizrow__a--img .bizrow__l { grid-row: 2; grid-column: 1; }
  .bizrow__a--img .bizrow__arr { grid-row: 2; grid-column: 2; align-self: start; padding-top: 30px; }
  .biz1__media { margin-inline: -20px; }   /* SPの .panel は padding 20px（--panel-x ではない） */


  /* お知らせ */
  .plist__a { grid-template-columns: 1fr 28px; gap: 6px 12px; padding: 22px 4px; }
  .plist__title { grid-column: 1; border-left: 0; padding-left: 0; }
  .plist__arr { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
  .plist--compact .plist__a { grid-template-columns: 1fr 24px; padding: 16px 0; }

  /* 事業内容 */
  .sbiz1__items { grid-template-columns: 1fr; }
  .sbiz1__items li { text-align: left; padding: 14px 4px; }
  .sbiz1__items li + li { border-left: 0; border-top: 1px solid var(--line-strong); }
  /* 事業の導線（お問い合わせ／LINEで相談する／YouTube）：SPは1本1行で縦に並べ、罫線で区切り、文字の頭を揃え、矢印は右端（2026-10-09 ボス指摘） */
  .sbiz1__links, .sbiz__links { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line-strong); }
  .sbiz1__links .lnk, .sbiz__links .lnk,
  .sbiz1__links .lnk + .lnk, .sbiz__links .lnk + .lnk { padding: 14px 4px; border-left: 0; border-bottom: 1px solid var(--line-strong); justify-content: flex-start; gap: 10px; }   /* ★PC用の .lnk + .lnk { padding-left:32px } をSPで必ず打ち消す（2行目以降の文字がずれていた） */
  .sbiz1__links .lnk__ico--blank, .sbiz__links .lnk__ico--blank { display: block; }
  .sbiz1__links .lnk svg, .sbiz__links .lnk svg { margin-left: auto; }
  .sbiz__items { border-left: 0; padding-left: 0; }

  /* ステップ：縦積み。矢印は伏せて罫線で区切る */
  .steps { flex-direction: column; --step-gap: 28px; }
  /* 縦積み：ボックスの間に下向きの矢印 */
  .step + .step::before { top: calc(var(--step-gap) * -1 + (var(--step-gap) - 16px) / 2); left: 50%; width: 1px; height: 16px; }
  .step + .step::after { top: calc(var(--step-gap) * -1 + (var(--step-gap) - 16px) / 2 + 9px); left: calc(50% - 3.5px); transform: rotate(135deg); }

  /* 問い合わせ帯・フッター */
  .cta__in { grid-template-columns: 1fr; gap: 18px; }
  .cta__note { border-left: 0; padding-left: 0; }
  .cta__act { justify-self: start; }
  .cta__act .btn { width: 100%; justify-content: space-between; }
  .ft__in { flex-direction: column; align-items: flex-start; gap: 22px; }
  .ft__r { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ft__copy { border-left: 0; padding-left: 0; }

  /* 会社概要 */
  .origin__letters { grid-template-columns: 1fr; }
  .origin__letter { flex-direction: row; justify-content: flex-start; align-items: baseline; gap: 16px; text-align: left; padding: 14px 0; }
  .origin__letter + .origin__letter { border-left: 0; border-top: 1px solid var(--line-strong); }
  .origin__big { font-size: 56px; min-width: 56px; }
  /* ── 2026-10-09 ボス指示：SPの見出し・ボタン ── */
  .br-pc::before { content: none; }                                   /* フォーム見出しはSPで改行しない */
  .decl__h { font-size: 26px; line-height: 1.5; }                     /* 誰もが夢を持ち、／その夢を叶えられる／世界を創る。 */
  .phic__st { font-size: 28px; line-height: 1.5; letter-spacing: 0; }   /* 会社概要の理念も同じ3行（2026-10-09 ボス指示） */
  .biz1__h, .biz1__in--img .biz1__h, .sbiz1__h { font-size: 22px; white-space: nowrap; letter-spacing: 0; text-wrap: initial; }   /* 「恋愛コンサルティング事業」を1行に（PCの clamp/balance より強く） */
  .sintro__h { font-size: 22px; letter-spacing: 0; line-height: 1.6; }   /* 「なりたい自分」への／一歩を、ともに。（語句ごと nowrap・360pxでも2行） */
  .cf__h { font-size: 19px; line-height: 1.8; }
  .rep__body .btn, .tcta__l .btn { display: flex; width: 100%; justify-content: center; gap: 18px; }   /* ボタンは中央・全幅 */
  .origin__letter { align-items: center; gap: 20px; }
  .origin__big { min-width: 64px; text-align: center; display: inline-block; }   /* D・i・C を同じ幅の枠で揃える（i が左に寄って見えた） */

  .origin__word { margin-top: 0; }
  .origin__row { grid-template-columns: 1fr; gap: 8px; }
  .origin__row dd { border-left: 0; padding-left: 0; }
  .msg__in { grid-template-columns: 1fr; gap: 14px; }
  .msg__photo { max-width: none; width: 100%; aspect-ratio: 4 / 5; margin-top: 14px; margin-bottom: 12px; }   /* SPは幅いっぱい（左寄りに見えた＝2026-10-09 ボス指摘）。縦長すぎないよう4:5 */
  .msg__photo img { object-position: center 20%; }   /* 顔が上寄りの写真＝上を残して切る */
  .profile__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 4px; }
  .profile__row dd { border-left: 0; padding-left: 0; }

  /* お問い合わせ */
  .f-row { grid-template-columns: 1fr; gap: 10px; }
  .f-row__l { padding-top: 0; }
  .f-row__r { border-left: 0; padding-left: 0; }
  .f-foot { padding-left: 0; }
  .f-foot .act .btn { width: 100%; }
  .f-agree { align-items: flex-start; }
  .f-agree input { margin-top: 4px; }
  .f-agree label { flex-wrap: wrap; row-gap: 6px; }

  .blog { grid-template-columns: 1fr; }
}

/* ============================================================
   reduced-motion：全アニメ停止
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js [data-rev] { opacity: 1; transform: none; transition: none; }
  html.js [data-rev="wipe"]::after { display: none; }
  html.js [data-rev="wipe"] img { transform: none; transition: none; }
  html.js [data-stagger] > * { opacity: 1; transform: none; transition: none; }
  html.js [data-rev] .sh__line { transform: none; transition: none; }
  html.js [data-rev] .sh--dot .sh__line::after { opacity: 1; transition: none; }
  html.js .fv__img, html.js .ph__media img, html.js .hd { animation: none; transform: none; opacity: 1; }
  html.js .fv__box::after { animation: none; opacity: 1; }
  html.js .fv__line, html.js .fv__sub { animation: none; opacity: 1; transform: none; filter: none; }
  .btn, .btn svg, .lnk svg, .plist__arr svg, .bizrow__arr svg, .bizrow__media img, .hd__link::after, .drawer, .hd, .plist__a { transition: none; }
  .btn:hover svg, .lnk:hover svg, .snsc:hover .snsc__arr svg, .plist__a:hover .plist__arr svg, .bizrow__a:hover .bizrow__arr svg { transform: none; }
  .lnk--ext:hover svg { transform: none; }
}

/* SP：フッターのSNSアイコンもLINEのモバイル最小40pxを守る */
@media (max-width: 767px) {
  .sns--ft { gap: 24px; }
  .sns--ft .sns__a--line img { width: 40px; }
  .sns--ft .sns__a--youtube img { width: 55px; }
}

/* ★2026-10-10 公開後のSP調整（ボス指示）：事業01の写真をパネルの一番上へ（TOP・事業内容とも。02・03と同じく写真が先頭）
   .biz1__in／.sbiz1__in を display:contents で解いて、写真に order:-1。パネルの上・左右の余白（32px 20px）まで写真を広げる */
@media (max-width: 767px) {
  .biz1__panel, .sbiz1__panel { display: flex; flex-direction: column; }
  .biz1__in--img, .sbiz1__in { display: contents; }
  .biz1__in--img .biz1__media, .sbiz1__in .sbiz1__media { order: -1; margin: -32px -20px 24px; aspect-ratio: 16 / 10; }
  .biz1__in--img .biz1__l, .sbiz1__in .sbiz1__l { margin-top: 20px; }
}

/* ★2026-10-10 公開後のSP調整（ボス選択「リンクをボタン化」）：事業内容の各事業のリンク周りが線だらけ
   （項目の罫線＋リンク行の罫線＋文字の下線）→ お問い合わせ＝紺の全幅ボタン（TOPの「事業内容を見る」と同じ）／
   LINE・YouTube＝下線も区切り線もない行。リンク群の上の罫線も外して、項目リストの最後の線で区切る */
@media (max-width: 767px) {
  .sbiz1__links, .sbiz__links { border-top: 0; gap: 6px; margin-top: 28px; }
  .sbiz1__links .lnk.lnk--plain, .sbiz__links .lnk.lnk--plain {
    background: var(--band); color: var(--on-band); border: 1px solid var(--band); border-radius: var(--r-btn);
    padding: 18px 34px; margin-bottom: 10px; font-weight: 700; letter-spacing: .06em;
  }
  .sbiz1__links .lnk.lnk--plain .lnk__ico--blank, .sbiz__links .lnk.lnk--plain .lnk__ico--blank { display: none; }
  .sbiz1__links .lnk.lnk--plain .lnk__t, .sbiz__links .lnk.lnk--plain .lnk__t { text-decoration: none; }
  .sbiz1__links .lnk + .lnk, .sbiz__links .lnk + .lnk { border-bottom: 0; padding: 10px 4px; }
  .sbiz1__links .lnk--ext .lnk__t, .sbiz__links .lnk--ext .lnk__t { text-decoration: none; }
}

/* ★2026-10-10 ボス指示：事業内容の事業01（SP）を02・03と同じ並びに＝ラベル → 写真（パネルの余白の内側・端まで広げない）→ 見出し。グレーの面は残す（ボス選択）。
   直前の「写真をパネル先頭へ」は事業内容ページについてだけ上書きする（TOPは写真が先頭のまま＝TOPの02・03が写真先頭のため） */
@media (max-width: 767px) {
  .sbiz1__in .sbiz1__media { order: 1; margin: 26px 0 0; aspect-ratio: 3 / 2; }
  .sbiz1__in .sbiz1__l { order: 2; margin-top: 28px; }
  .sbiz1__items { order: 3; }
  .sbiz1__links { order: 4; }
}

/* ★2026-10-10 SPの余白の統一（ボス選択「標準」）：見た目の間隔＝別の話題 72px／同じ話題の続き 48px／色の面の内側 40px。
   セクションの上下 padding を外し、「前との関係」で margin-top を決める（前の中身の終わり→次の中身の始まりが狙いの値になるよう、中身側の余計な余白は下で個別に潰す） */
@media (max-width: 767px) {
  main > .sec, .tcta { padding-block: 0; margin-top: 72px; }
  .tnews + .tcta { padding-top: 0; }
  .fv + .sec, .ph + .sec { margin-top: 48px; }                                  /* ページ冒頭（FV・ページ見出しの写真）の直後 */
  .biz1 + .bizrows, .sbiz1 + .sbiz, .sbiz + .sbiz { margin-top: 48px; }       /* 同じ話題（事業01→02→03）の続き */
  main { padding-bottom: 72px; }                                              /* 最後のセクション → お問い合わせパネル／フッター */
  main:has(+ .tcta) { padding-bottom: 0; }
  .tcta { margin-bottom: 48px; }                                              /* お問い合わせパネル → フッター（どちらも色の面） */
  .panel { padding: 40px 20px; }
  main:has(> .tcta:last-child) { padding-bottom: 0; }                         /* TOPはパネルが main の中＝余白の二重取りを防ぐ */
  .sbiz__links .lnk:last-child { padding-bottom: 0; }
  .msg__sign { line-height: 1.3; }                                            /* 署名の行（15pxに18pxの名前）の下の行間＝会社概要表との間隔に8px足されていた */                         /* 事業02・03の最後のリンク行の下の余白＝次のセクションとの間隔に足されていた */
  .ph__media { order: -1; }                                                   /* 下層ページのアイキャッチをパンくずより上へ（2026-10-10 ボス指示） */
  .ph__in { padding-top: 20px; }
  .sintro__h { white-space: nowrap; font-size: clamp(15px, calc((100vw - 40px) / 18.6), 22px); }   /* 「なりたい自分」への一歩を、ともに。（18文字）を1行に＝画面幅に合わせて縮める（2026-10-10 ボス指示：394pxで約19px） */
  .ph__bc { display: none; }                                                  /* SPのパンくず＝ページの一番下へ（.bc-sp・2026-10-10 ボス指示） */
  .ph__in { padding-top: 24px; }
}

/* SP専用のパンくず（フッター直前）。PC・タブレットは従来どおり見出し部分に出す */
.bc-sp { display: none; }
@media (max-width: 767px) {
  .bc-sp { display: block; padding-block: 16px; border-top: 1px solid var(--line-strong); font-size: 12px; letter-spacing: .03em; color: var(--muted); }
  .bc-sp ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .bc-sp li { display: inline-flex; align-items: center; gap: 12px; }
  .bc-sp li + li::before { content: '\2192'; color: var(--muted); }
  .bc-sp span { color: var(--ink); }
  .tcta + .bc-sp { margin-top: -24px; border-top: 0; }                       /* お問い合わせパネルの直後は罫線なし・パネル下の余白を分け合う */
}
