
/* =========================================================
   0. トークン（ブランドカラーは現行テーマから継承）
   ========================================================= */
:root{
  --bg:        #121212;
  --bg-alt:    #171717;
  --surface:   #1e1e1e;
  --surface-hi:#262626;
  --line:      rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text:      #f2f2f2;
  --muted:     #b0b0b0;
  /* アクセント色はロゴから抽出（マーク：アンバー #EFC138 / ディープオレンジ #ED6D00） */
  --accent:      #EFC138;
  --accent-deep: #ED6D00;
  --accent-soft: rgba(239,193,56,.14);
  --accent-grad: linear-gradient(135deg,#ED6D00 0%,#EFC138 100%);
  --header-h:  72px;
  --maxw:      1160px;
  --pad:       clamp(20px, 5vw, 48px);
  --radius:    16px;
  --font-sans: "Hiragino Kaku Gothic ProN","Hiragino Sans","Noto Sans JP","Yu Gothic UI","Yu Gothic",Meiryo,system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-serif:"Hiragino Mincho ProN","Yu Mincho","Noto Serif JP","Yu Mincho",serif;
}

/* =========================================================
   1. リセット / 基礎
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{
  -webkit-text-size-adjust:100%;
  -webkit-tap-highlight-color:rgba(239,193,56,.16);
  scroll-behavior:smooth;
}
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.85;
  /* 日本語には字間を開けない（欧文ラベル側で個別に指定する） */
  letter-spacing:normal;
  -webkit-font-smoothing:antialiased;
}
/* 日本語の本文は文節単位で折り返す（対応ブラウザのみ。非対応でも問題なし） */
.page-hero__lead,
.section__lead,
.contact-band__text,
.card__text,
.points__label,
.message__body p,
.quote{ word-break:auto-phrase; }
img,svg,iframe{ display:block; max-width:100%; }
a{ color:inherit; }
ul,ol{ margin:0; padding:0; list-style:none; }
address{ font-style:normal; }
h1,h2,h3,p,figure,blockquote,dl,dd{ margin:0; }
:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:4px;
}
.visually-hidden{
  position:absolute; width:1px; height:1px;
  margin:-1px; padding:0; border:0;
  clip:rect(0 0 0 0); clip-path:inset(50%); overflow:hidden; white-space:nowrap;
}
/* 語句の途中で折り返さない（まとめて次の行へ送る） */
.nowrap{ white-space:nowrap; }
.skip-link{
  position:absolute; top:-100px; left:16px; z-index:100;
  padding:10px 18px; background:var(--accent); color:#121212;
  font-weight:700; text-decoration:none; border-radius:0 0 8px 8px;
  transition:top .2s;
}
.skip-link:focus{ top:0; }

/* =========================================================
   2. レイアウト部品
   ========================================================= */
.wrap{
  width:100%; max-width:var(--maxw);
  margin-inline:auto; padding-inline:var(--pad);
}
/* 固定ヘッダー分だけアンカーの着地位置を下げる */
section[id], main{ scroll-margin-top:calc(var(--header-h) + 20px); }

.section{ padding-block:clamp(64px,10vw,120px); }
.section--alt{
  background:var(--bg-alt);
  border-block:1px solid var(--line-soft);
}
.section__head{ margin-bottom:clamp(32px,5vw,56px); }
.section__num{
  display:block;
  font-size:14px; font-weight:700; letter-spacing:.24em;
  color:var(--accent); line-height:1;
}
.kicker{
  margin-top:10px;
  font-size:12px; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--muted);
}
.section__title{
  margin-top:6px;
  font-size:clamp(26px,4.2vw,38px);
  font-weight:700; line-height:1.35;
  text-wrap:balance;
}
.section__title::after{
  content:""; display:block;
  width:56px; height:3px; margin-top:18px;
  background:var(--accent-grad);
  border-radius:2px;
}
.section__lead{
  margin-top:22px; max-width:52em;
  color:var(--muted); font-size:16px;
}

/* ボタン */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:0 26px;
  border:1px solid transparent; border-radius:999px;
  font-family:inherit; font-size:15px; font-weight:700;
  text-decoration:none; cursor:pointer;
  transition:background-color .25s, border-color .25s, color .25s, transform .25s;
}
.btn--primary{ background:var(--accent-grad); color:#121212; }
.btn--ghost{ border-color:var(--line); color:var(--text); }
/* ホバー演出はマウス環境のみ（タッチで hover が残るのを防ぐ） */
@media (hover:hover){
  .btn:hover{ transform:translateY(-2px); }
  .btn--primary:hover{ background:linear-gradient(135deg,#FF8112 0%,#FFD75E 100%); }
  .btn--ghost:hover{ border-color:var(--accent); color:var(--accent); }
}
.btn svg{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }

/* =========================================================
   3. ヘッダー
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(18,18,18,.88);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-soft);
  transition:background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled{
  background:rgba(13,13,13,.95);
  box-shadow:0 10px 30px rgba(0,0,0,.45);
}
.site-header__inner{
  display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px;
  min-height:var(--header-h);
  width:100%; max-width:var(--maxw);
  margin-inline:auto; padding:8px var(--pad);
}
.brand{
  display:inline-flex; align-items:center; gap:12px;
  padding-block:10px;      /* タップ領域を 44px 以上に */
  text-decoration:none; flex:0 0 auto;
  margin-right:auto;      /* 右側のナビとTELを右端に寄せる */
}
.brand__logo{
  display:block; width:190px; height:auto;
}
@media (max-width:520px){ .brand__logo{ width:156px; } }
@media (max-width:400px){ .brand__logo{ width:142px; } }
.site-footer__brand .brand__logo{ width:170px; }
.global-nav{ flex-basis:100%; order:3; }
.header-cta{ order:3; }
.global-nav__list{ display:flex; flex-wrap:wrap; gap:2px; }
.global-nav__list a{
  display:block; padding:10px 14px; border-radius:999px;
  font-size:15px; font-weight:600; text-decoration:none;
  transition:background-color .2s, color .2s;
}
@media (hover:hover){
  .global-nav__list a:hover{ background:rgba(255,255,255,.08); color:var(--accent); }
}
.header-cta{
  display:none;
  align-items:center; gap:8px;
  min-height:44px;
  padding:9px 18px; border-radius:999px;
  background:var(--accent); color:#121212;
  font-size:14px; font-weight:700; text-decoration:none;
}
.header-cta svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.nav-toggle{
  display:inline-flex; align-items:center; gap:9px;
  min-height:44px;         /* タップ領域 44px 以上を確保 */
  padding:9px 14px; background:transparent;
  border:1px solid var(--line); border-radius:999px;
  color:var(--text); font-family:inherit; font-size:13px; font-weight:600;
  cursor:pointer;
}
@media (max-width:400px){
  .nav-toggle{ padding:8px 11px; font-size:12px; gap:6px; }
}
.nav-toggle__bars{
  position:relative; width:16px; height:12px; flex:0 0 auto;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after{
  content:""; position:absolute; left:0; width:100%; height:2px;
  background:currentColor; border-radius:2px;
  transition:transform .25s, top .25s;
}
.nav-toggle__bars::before{ top:0; }
.nav-toggle__bars::after{ top:10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before{ top:5px; transform:rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after{ top:5px; transform:rotate(-45deg); }
.is-nav-open .nav-toggle{ border-color:var(--accent); color:var(--accent); }
/* メニュー展開中はヘッダーを不透明にして背景のヒーローを透かさない */
.is-nav-open .site-header{ background:#121212; }

/* JS あり＋モバイルのときだけメニューを畳む（JS無効なら常時表示） */
@media (max-width:900px){
  .js .global-nav{ display:none; }
  .js .global-nav.is-open{
    display:block;
    border-top:1px solid var(--line-soft);
    margin-top:4px; padding-block:2px;
  }
  .global-nav__list{ flex-direction:column; }
  .global-nav__list a{ padding:14px 8px; border-radius:8px; }
}
@media (min-width:901px){
  .global-nav{ flex-basis:auto; order:2; }
  .nav-toggle{ display:none; }
  .header-cta{ display:inline-flex; }
  .js .global-nav{ display:block; }
  /* 「求人情報」はヘッダー右のボタンがあるので、PC ではナビから外す */
  .global-nav__hire{ display:none; }
}

/* =========================================================
   4. ヒーロー
   ========================================================= */
.hero{
  position:relative;
  display:flex; align-items:center;
  min-height:clamp(460px,74vh,700px);
  overflow:hidden;
  isolation:isolate;
}
/* iOS Safari の URLバーで高さが変わらないよう svh を優先 */
@supports (height:100svh){
  .hero{ min-height:clamp(460px,74svh,700px); }
}
.hero__bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(70% 60% at 84% 6%, rgba(239,193,56,.13), transparent 62%),
    radial-gradient(80% 74% at 6% 96%, rgba(237,109,0,.20), transparent 66%),
    linear-gradient(180deg,#0e0e0e 0%,#161616 58%,#121212 100%);
  animation:heroAmbient 30s ease-in-out infinite alternate;
}
.hero__bg::after{
  content:""; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:76px 76px;
  -webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 76%);
  mask-image:linear-gradient(180deg,rgba(0,0,0,.85),transparent 76%);
}
/* 実写真を使う場合は hero__photo のコメントを外して画像を差し替えてください
.hero__photo{ position:absolute; inset:0; z-index:-1; overflow:hidden; }
.hero__photo img{ width:100%; height:100%; object-fit:cover; opacity:.3; filter:grayscale(.25) contrast(1.05); }
*/
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:var(--accent-grad);
  opacity:.85;
}
.hero__inner{ width:100%; }
.hero__text{ min-width:0; }

/* 紹介動画：全幅で表示する
   1カラム（1023px以下）では本文の下に、2カラム（1024px以上）では右側に置く */
.hero__video{
  display:block;
  position:relative;
  aspect-ratio:16 / 9;
  width:100%;
  max-width:640px;        /* 1カラムのときに大きくなりすぎないように */
  margin-top:clamp(26px,5vw,34px);
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#0d0d0d;
  box-shadow:0 18px 50px rgba(0,0,0,.5);
}
.hero__video iframe,
.hero__video video-js,
.hero__video .video-js{
  position:absolute; inset:0;
  width:100%; height:100%; border:0;
}
/* 1回目のクリックだけを拾って「音を出す」透明ボタン（以降のクリックはプレイヤーに任せる） */
.hero__sound{
  position:absolute; inset:0; z-index:2;
  padding:0; border:0; border-radius:inherit;
  background:transparent; cursor:pointer;
  color:transparent; font-size:0; line-height:0;
}
.hero__sound[hidden]{ display:none; }
.hero__title{
  font-size:clamp(30px,6.2vw,60px);
  font-weight:700; line-height:1.28;
  text-wrap:balance;
}
.hero__kicker{
  display:block;
  font-size:clamp(14px,2.2vw,20px);
  font-weight:600;
  color:var(--muted);
  margin-bottom:.35em;
}
.hero__accent{ color:var(--accent); }
.hero__lead{
  margin-top:clamp(20px,3vw,30px);
  max-width:46em;
  font-size:clamp(15px,1.6vw,17px);
  color:#d6d6d6;
}
.hero__actions{
  display:flex; flex-wrap:wrap; gap:14px;
  margin-top:clamp(28px,4vw,40px);
}
.hero__scroll{
  position:absolute; left:50%; bottom:26px;
  transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px;
  font-size:10px; letter-spacing:.28em; color:var(--muted);
  text-decoration:none;
}
.hero__scroll::after{
  content:""; width:1px; height:36px;
  background:linear-gradient(180deg,var(--muted),transparent);
}

/* ---- ヒーローのモーション（気持ち遅め・控えめ） ---- */
@keyframes heroAmbient{
  from{ transform:scale(1) translate3d(0,0,0); }
  to  { transform:scale(1.06) translate3d(-1.6%,1.2%,0); }
}
/* translate を使うことで、要素側の transform を壊さない */
@keyframes heroIn{
  from{ opacity:0; translate:0 26px; }
  to  { opacity:1; translate:0 0; }
}
@keyframes scrollCue{
  0%,100%{ transform:scaleY(.22); opacity:.25; }
  50%    { transform:scaleY(1);   opacity:1; }
}
.hero__kicker,
.hero__title,
.hero__lead,
.hero__actions,
.hero__video,
.hero__scroll{ animation:heroIn .9s cubic-bezier(.22,.61,.36,1) both; }
.hero__kicker { animation-delay:.05s; }
.hero__title  { animation-delay:.16s; }
.hero__lead   { animation-delay:.30s; }
.hero__actions{ animation-delay:.42s; }
.hero__video  { animation-delay:.55s; }
.hero__scroll { animation-delay:.72s; }
.hero__scroll::after{
  transform-origin:top center;
  animation:scrollCue 2.6s ease-in-out 1.2s infinite;
}

/* ---- 画面が小さい／低いときの調整（.hero__scroll の定義より後ろに置くこと） ---- */
@media (max-width:520px){
  .hero{ padding-bottom:36px; }
  .hero__scroll{ display:none; }   /* CTAボタンと重なるため出さない */
}
@media (max-height:520px){
  .hero{ min-height:auto; padding-block:44px 36px; }
  .hero__scroll{ display:none; }
  /* 横向きのスマホでもヒーローが高くなりすぎないよう動画を絞る */
  .hero__video{ max-width:min(100%,460px); margin-top:20px; }
}
/* 1カラムで動画を出す幅では、SCROLL が動画に重ならないよう下に余白を確保する
   （.hero__scroll の定義より後ろに置くこと／横向きで低い画面は除く） */
@media (min-width:521px) and (max-width:1023px) and (min-height:521px){
  .hero{ padding-bottom:104px; }
}

/* ---- 横幅が十分にあるとき：2カラムにして紹介動画を右に並べる ----
   （上の .hero__title / .hero__video の定義より後ろに置くこと） */
@media (min-width:1024px){
  .hero__inner{
    display:grid; gap:clamp(28px,4vw,56px);
    grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
    align-items:center;
  }
  /* グリッドの gap が余白になるので、動画側の余白は消す */
  .hero__video{ max-width:none; margin-top:0; }
  /* 2カラムになる分、見出しを抑える */
  .hero__title{ font-size:clamp(32px,3.6vw,52px); }
}

/* =========================================================
   5. 代表挨拶
   ========================================================= */
.message{ text-align:center; }
.message .section__title::after{ margin-inline:auto; }
.quote{
  margin:clamp(28px,5vw,48px) auto 0;
  max-width:24em;
  font-family:var(--font-serif);
  font-size:clamp(22px,4vw,38px);
  font-weight:600; line-height:1.55;
  color:#fff;
  text-wrap:balance;
}
.message__body{
  max-width:44em;
  margin:clamp(32px,5vw,52px) auto 0;
  text-align:left;
  color:#dedede;
  font-size:16px;
}
.message__body p + p{ margin-top:1.1em; }
.sign{
  display:flex; flex-direction:column; align-items:flex-end; gap:2px;
  max-width:44em;
  margin:clamp(28px,4vw,40px) auto 0;
  padding-top:20px;
  border-top:1px solid var(--line);
  text-align:right;
}
.sign__en{
  font-size:11px; letter-spacing:.2em; color:var(--muted);
  text-transform:uppercase;
}
.sign__name{
  font-size:22px; font-weight:700;
}
.sign__role{ font-size:13px; color:var(--muted); }

/* =========================================================
   6. 会社案内（4つの領域）
   ========================================================= */
/* 4項目なので 1 → 2 → 4 の段組みにして、3+1 のような不揃いを避ける */
.cards{
  display:grid; gap:clamp(14px,2.2vw,22px);
  grid-template-columns:1fr;
}
@media (min-width:600px){ .cards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1100px){ .cards{ grid-template-columns:repeat(4,1fr); } }
.card{
  display:flex; flex-direction:column; gap:14px;
  padding:clamp(22px,3vw,30px);
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:var(--radius);
  transition:transform .3s, border-color .3s, background-color .3s;
}
/* ホバー演出はマウス環境のみ */
@media (hover:hover){
  .card:hover{
    transform:translateY(-4px);
    border-color:rgba(239,193,56,.55);
    background:var(--surface-hi);
  }
  .card:hover .card__icon{
    transform:translateY(-3px) scale(1.06);
    background:rgba(239,193,56,.24);
  }
}
.card__icon{
  display:grid; place-items:center;
  width:48px; height:48px; border-radius:13px;
  background:var(--accent-soft);
  color:var(--accent);
  transition:transform .4s cubic-bezier(.22,.61,.36,1), background-color .4s ease;
}
.card__icon svg{ width:26px; height:26px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.card__title{
  display:flex; align-items:baseline; gap:10px;
  font-size:17px; font-weight:700; letter-spacing:.04em;
}
.card__num{
  font-size:12px; font-weight:700; letter-spacing:.14em;
  color:var(--accent);
  font-variant-numeric:tabular-nums;
}
.card__text{ font-size:14.5px; line-height:1.85; color:var(--muted); }
.section__cta{ margin-top:clamp(32px,4vw,48px); text-align:center; }
.section__cta .btn svg{ transition:transform .35s cubic-bezier(.22,.61,.36,1); }
@media (hover:hover){
  .section__cta .btn:hover svg{ transform:translateX(5px); }
}

/* =========================================================
   7. アクセス
   ========================================================= */
.access{
  display:grid; gap:clamp(24px,4vw,48px);
  grid-template-columns:1fr;
}
@media (min-width:860px){
  .access{ grid-template-columns:minmax(300px,1fr) minmax(320px,1.15fr); align-items:start; }
}
.office{
  padding:24px 0;
  border-top:1px solid var(--line-soft);
}
.office:first-child{ border-top:0; padding-top:0; }
.office__name{
  display:flex; align-items:center; gap:10px;
  font-size:17px; font-weight:700;
}
.office__name::before{
  content:""; display:block; flex:0 0 auto;
  width:6px; height:6px; border-radius:50%;
  background:var(--accent-deep);
}
/* 拠点名・住所を押すと Google マップが開く（外部リンクのため別タブ） */
.office__map-link{
  display:inline-flex; align-items:center; flex-wrap:wrap;
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.28);
  text-underline-offset:4px;
}
.office__ext{
  width:13px; height:13px; margin-left:7px; flex:0 0 auto;
  fill:none; stroke:currentColor; stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round;
  opacity:.65;
}
@media (hover:hover){
  .office__map-link:hover{ color:var(--accent); text-decoration-color:var(--accent); }
  .office__map-link:hover .office__ext{ opacity:1; }
}
/* タッチ端末はタップ領域を 44px 以上にする */
@media (hover:none){
  .office__map-link{ min-height:44px; }
}
.office address{
  margin-top:10px;
  color:#dedede; font-size:15.5px;
}
.office__contact{
  margin-top:6px;
  color:var(--muted); font-size:14.5px;
  font-variant-numeric:tabular-nums;
}
/* 電話番号が行末で分断されないようにする */
.office__item{ display:inline-block; white-space:nowrap; }
/* 「／」は前の項目の末尾に付ける（行頭に区切り文字が来ないように） */
.office__item:not(:last-child)::after{
  content:"／"; margin-inline:8px; color:var(--line);
}
.office__contact a{
  color:var(--text); text-decoration:underline;
  text-decoration-color:rgba(255,255,255,.35);
  text-underline-offset:3px;
}
@media (hover:hover){
  .office__contact a:hover{ color:var(--accent); text-decoration-color:var(--accent); }
}
.map{
  position:relative;
  width:100%;
  min-width:0;            /* aspect-ratio と min-height の併用で幅が広がるのを防ぐ */
  min-height:280px;
  aspect-ratio:16 / 11;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--surface);
}
.map iframe{
  position:absolute; inset:0;
  width:100%; height:100%; border:0;
}
/* タッチ端末では地図がページのスクロールを奪うため、タップで操作を有効にする */
.map__unlock{
  display:none;
  position:absolute; inset:0; z-index:1;
  align-items:center; justify-content:center;
  padding:0; background:rgba(18,18,18,.45);
  border:0; border-radius:inherit;
  font-family:inherit; cursor:pointer;
}
.map__unlock span{
  display:inline-flex; align-items:center; gap:9px;
  min-height:44px; padding:0 20px; border-radius:999px;
  background:rgba(18,18,18,.9); border:1px solid var(--line);
  color:var(--text); font-size:13.5px; font-weight:700;
}
.map__unlock svg{
  width:17px; height:17px; fill:none; stroke:var(--accent);
  stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;
}
@media (hover:none){
  .js .map iframe{ pointer-events:none; }
  .js .map__unlock{ display:flex; }
  .map.is-active iframe{ pointer-events:auto; }
  .map.is-active .map__unlock{ display:none; }
}
.map-block{ min-width:0; }
.map__note{
  margin-top:12px;
  font-size:13.5px; line-height:1.7; color:var(--muted);
}

/* =========================================================
   8. フッター
   ========================================================= */
.site-footer{
  border-top:1px solid var(--line);
  background:#0e0e0e;
  padding-block:clamp(40px,6vw,64px) 28px;
}
.site-footer__inner{
  display:flex; flex-wrap:wrap; gap:28px 40px;
  justify-content:space-between; align-items:flex-start;
}
.site-footer__brand{ max-width:22em; }
.site-footer__note{
  margin-top:12px;
  font-size:12.5px; color:var(--muted);
}
.site-footer__nav ul{ display:flex; flex-wrap:wrap; gap:0 26px; }
.site-footer__nav a{
  display:inline-block; padding-block:12px;
  font-size:14px; text-decoration:none; color:#d6d6d6;
}
@media (hover:hover){
  .site-footer__nav a:hover{ color:var(--accent); }
}
.sns{
  display:flex; gap:12px;
}
.sns a{
  display:grid; place-items:center;
  width:44px; height:44px; border-radius:50%;
  border:1px solid var(--line);
  color:var(--muted);
  transition:color .25s, border-color .25s, background-color .25s;
}
@media (hover:hover){
  .sns a:hover{ color:#121212; background:var(--accent); border-color:var(--accent); }
}
.sns svg{ width:20px; height:20px; }
.copyright{
  margin-top:clamp(32px,5vw,48px);
  padding-top:20px;
  border-top:1px solid var(--line-soft);
  font-size:12.5px; letter-spacing:.04em; color:var(--muted);
  text-align:center;
}
/* 小さい画面では「トップへ戻る」ボタンがコピーライトに重なるため、下に余白を取る */
@media (max-width:600px){
  .site-footer{ padding-bottom:84px; }
}

/* =========================================================
   9. トップへ戻る
   ========================================================= */
.to-top{
  position:fixed;
  right:calc(clamp(14px,3vw,28px) + env(safe-area-inset-right, 0px));
  bottom:calc(clamp(14px,3vw,28px) + env(safe-area-inset-bottom, 0px));
  z-index:40;
  display:grid; place-items:center;
  width:50px; height:50px; border-radius:50%;
  background:rgba(30,30,30,.9);
  border:1px solid var(--line);
  color:#fff; text-decoration:none;
  -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
  transition:background-color .25s, color .25s, transform .25s;
}
@media (hover:hover){
  .to-top:hover{ background:var(--accent); color:#121212; transform:translateY(-3px); }
}
/* JS が有効なときはスクロール後にだけ出す（JS無効なら常に表示） */
.js .to-top{
  opacity:0; visibility:hidden;
  translate:0 12px;
  transition:opacity .3s ease, visibility .3s ease, translate .3s ease,
             background-color .25s, color .25s, transform .25s;
}
.js .to-top.is-visible{ opacity:1; visibility:visible; translate:none; }
.to-top svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }

/* =========================================================
   10. モーション
   - JS が有効なときだけ「出現前」の状態を作る（無効時は常に表示）
   - すべて prefers-reduced-motion で停止する
   ========================================================= */
.js .reveal{ opacity:0; }

@keyframes revealUp{
  from{ opacity:0; translate:0 22px; }
  to  { opacity:1; translate:0 0; }
}
/* fill-mode:backwards なので、アニメ終了後は通常の状態に戻る
   → カードなど hover の transform を妨げない */
.js .reveal.is-in{
  opacity:1;
  animation:revealUp .8s cubic-bezier(.22,.61,.36,1) var(--rd,0s) backwards;
}

/* 4つのカードは少しずつ時間をずらして出す */
.cards > .card:nth-child(1){ --rd:0s; }
.cards > .card:nth-child(2){ --rd:.09s; }
.cards > .card:nth-child(3){ --rd:.18s; }
.cards > .card:nth-child(4){ --rd:.27s; }

/* 見出し下のアクセントバーは左から伸びる */
.js .section__head .section__title::after{
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .9s cubic-bezier(.22,.61,.36,1) .25s;
}
.js .section__head.is-in .section__title::after{ transform:scaleX(1); }
.js .message .section__head .section__title::after{ transform-origin:center center; }

@media (prefers-reduced-motion:reduce){
  .js .reveal{ opacity:1; }
  .js .reveal.is-in{ animation:none; }
  .hero__kicker,
  .hero__title,
  .hero__lead,
  .hero__actions,
  .hero__video,
  .hero__scroll,
  .hero__bg,
  .hero__scroll::after{ animation:none !important; }
  .js .section__head .section__title::after{
    transform:none !important;
    transition:none !important;
  }
  .card__icon,
  .section__cta .btn svg{ transition:none !important; }
}

/* =========================================================
   11. 下層ページ（会社案内など）
   ========================================================= */

/* --- ページ見出し帯 --- */
.page-hero{
  position:relative;
  padding-block:clamp(26px,4vw,40px) clamp(36px,6vw,60px);
  border-bottom:1px solid var(--line-soft);
  overflow:hidden;
  isolation:isolate;
}
.page-hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(239,193,56,.12), transparent 65%),
    radial-gradient(70% 80% at 4% 100%, rgba(237,109,0,.14), transparent 68%),
    linear-gradient(180deg,#151515 0%,#121212 100%);
}
.page-hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:3px;
  background:var(--accent-grad); opacity:.85;
}
.page-hero__title{
  font-size:clamp(28px,5.4vw,50px);
  font-weight:700; line-height:1.25;
  text-wrap:balance;
}
.page-hero__lead{
  margin-top:16px; max-width:46em;
  color:var(--muted); font-size:clamp(14.5px,1.5vw,16px);
  text-wrap:pretty;
}
.page-hero .kicker{ margin-top:0; }
.page-hero__title,
.page-hero__lead{ animation:heroIn .9s cubic-bezier(.22,.61,.36,1) both; }
.page-hero__title{ animation-delay:.08s; }
.page-hero__lead { animation-delay:.22s; }

/* --- パンくずリスト --- */
.breadcrumb{ margin:0 0 clamp(18px,3vw,28px); }
.breadcrumb ol{
  display:flex; flex-wrap:wrap; align-items:center;
  margin:0; padding:0; list-style:none;
  font-size:12.5px; color:var(--muted);
}
.breadcrumb li{ display:flex; align-items:center; }
.breadcrumb li + li::before{
  content:"／"; margin-inline:10px; color:var(--line);
}
.breadcrumb a{
  display:inline-flex; align-items:center;
  min-height:44px;            /* スマホでもタップしやすい高さを確保 */
  padding-inline:2px;
  color:var(--muted); text-decoration:none;
}
@media (hover:hover){
  .breadcrumb a:hover{
    color:var(--accent);
    text-decoration:underline; text-underline-offset:3px;
  }
}

/* --- 写真＋要点の2カラム --- */
.feature{
  display:grid; gap:clamp(22px,3.5vw,40px);
  grid-template-columns:1fr; align-items:center;
}
@media (min-width:820px){
  .feature{ grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); }
}
.feature__media{
  margin:0; overflow:hidden;
  border:1px solid var(--line); border-radius:var(--radius);
  background:var(--surface);
}
.feature__media img{ display:block; width:100%; height:auto; }

/* 要点（数字＋ラベル） */
.points{ display:grid; gap:14px; }
.points__item{
  display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 14px;
  justify-content:space-between;
  padding:clamp(16px,2.4vw,22px);
  background:var(--surface);
  border:1px solid var(--line-soft);
  border-radius:14px;
}
.points__label{ font-size:15.5px; line-height:1.75; color:#dedede; }
.points__num{
  font-size:clamp(26px,3.6vw,34px); font-weight:700; line-height:1;
  color:var(--accent); font-variant-numeric:tabular-nums;
}
.points__unit{ font-size:13px; font-weight:700; color:var(--accent); }
.hl{ color:var(--accent); font-weight:700; }

/* --- 取引メーカー --- */
.vendors{ margin-top:clamp(30px,5vw,52px); }
.vendors__title{
  font-size:16px; font-weight:700;
}
.vendors__title::before{
  content:""; display:inline-block;
  width:6px; height:6px; margin-right:10px; vertical-align:middle;
  border-radius:50%; background:var(--accent-deep);
}
.vendors__list{
  margin:18px 0 0; display:grid; gap:12px;
  grid-template-columns:1fr;
}
/* 6項目なので 1 → 2 → 3 列にして、必ず均等に揃える */
@media (min-width:620px){ .vendors__list{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:900px){ .vendors__list{ grid-template-columns:repeat(3,1fr); } }
.vendors__row{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  padding:15px 18px;
  background:var(--surface);
  border:1px solid var(--line-soft); border-radius:12px;
}
.vendors__row dt{ font-size:15px; color:#dedede; }
.vendors__row dd{
  margin:0; font-size:17px; font-weight:700; color:var(--accent);
  font-variant-numeric:tabular-nums;
}

/* --- お問い合わせ帯 --- */
.contact-band{
  border-top:1px solid var(--line-soft);
  background:var(--bg-alt);
  padding-block:clamp(40px,6vw,64px);
}
.contact-band__inner{
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:22px 40px;
}
.contact-band__title{
  font-size:clamp(18px,2.4vw,22px); font-weight:700;
}
.contact-band__text{
  margin-top:8px; max-width:34em; color:var(--muted); font-size:14.5px;
  text-wrap:pretty;
}
.contact-band__actions{ display:flex; flex-wrap:wrap; gap:14px; }
