/* ===========================================================
   ZIREI合同会社 — Monochrome layer
   ベース: css/aunt.css（ANTII_STUDIO のデザインシステム）
   本ファイルで白黒トーンへ上書きする。読み込み順は aunt.css の後。
   =========================================================== */

:root{
  /* --- グレースケール化：青系トークンを無彩色へ --- */
  --navy-900: #0d0d0d;
  --navy-800: #1a1a1a;
  --navy-700: #2b2b2b;
  --navy-600: #3d3d3d;
  --navy-500: #565656;

  --ac-600: #111111;
  --ac-500: #1c1c1c;
  --ac-400: #3a3a3a;
  --ac-300: #8f8f8f;
  --ac-200: #cccccc;
  --ac-100: #e8e8e8;
  --ac-50:  #f5f5f5;

  --ink-900: #0a0a0a;
  --ink-800: #1c1c1c;
  --ink-700: #333333;
  --ink-600: #4d4d4d;
  --ink-500: #757575;
  --ink-400: #9e9e9e;
  --ink-300: #cfcfcf;
  --ink-200: #e4e4e4;
  --ink-100: #f2f2f2;
  --ink-50:  #f8f8f8;

  --brand-navy: #111111;
  --brand-ink:  #000000;
  --brand-line: #e2e2e2;

  /* --- アクセント：ヒーローのキューブと同じピンク〜ローズ --- */
  --pk-50:  #fff6f6;
  --pk-100: #ffecec;
  --pk-200: #ffd8d7;
  --pk-300: #ffc7c4;
  --pk-400: #ff9494;
  --pk-500: #f66886;
  --pk-600: #e04f70;
}

/* ===========================================================
   Editorial layer — 余白・セリフ見出し・フルブリード
   （参考トーン：ミニマルなアート／デザインスタジオサイト）
   =========================================================== */

/* 見出し：高コントラストなサンセリフ＋広い字間 */
.zr-display,
.section-title.zr-display{
  font-family: "Jost", "Zen Kaku Gothic New", sans-serif !important;
  font-weight: 500 !important;
  font-size: clamp(32px, 4.6vw, 58px) !important;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.zr-head-center{ text-align: center; max-width: 760px; margin: 0 auto; }
.zr-head-center .section-lede{ margin-left: auto; margin-right: auto; }
.zr-head-center .section-label{ justify-content: center; }

/* セクションラベル：小さく・大きめの字間・記号なし */
.section-label{
  font-family: "Jost", var(--font-num);
  font-size: 11px; font-weight: 500;
  letter-spacing: .3em;
}
.section-label::before{ display: none; }

/* 本文見出しの重さを一段落とす（黒々しさを抑える） */
.section-title{ font-weight: 700 !important; letter-spacing: .04em; }
.section-lede{ color: var(--ink-600); }

/* ========== 取引企業マーキー ========== */
.works-voices{ background: #fff !important; border-top: 1px solid var(--brand-line); }
.wv-mname{ color: #000 !important; font-weight: 600; letter-spacing: .06em; }
.wv-mname + .wv-mname::before{ background: var(--ink-300) !important; }



/* ===========================================================
   Scroll motion — 見出しのマスクリビール／連鎖フェード
   =========================================================== */

/* 見出し：下からせり上がりながら現れる
   初期状態は CSS 側で持たせる（JS で後付けすると読み込み直後に
   一瞬見えてから消える）。JS が動く環境でのみ隠す。
   ※ clip-path で高さを 0 にすると IntersectionObserver が「画面外」と
      判定して発火しないため、opacity と transform だけで表現する */
.js .section-title,
.js .subhero-title{
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 1s cubic-bezier(.16,1,.3,1),
    transform 1.05s cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.js .section-title.in,
.js .subhero-title.in{ opacity: 1; transform: none; }

/* 既存 .reveal のイージングを揃える（ゆっくり減速） */
.reveal{
  transform: translateY(30px);
  transition:
    opacity .95s cubic-bezier(.16,1,.3,1),
    transform .95s cubic-bezier(.16,1,.3,1);
}

/* 罫線が横に伸びる */
.zr-line-grow{
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.zr-line-grow.in{ transform: scaleX(1); }

/* カードのホバー：わずかに浮く */
.zr-service, .zr-target-item{
  transition:
    border-color .35s var(--ease),
    box-shadow .45s var(--ease),
    transform .45s var(--ease);
}
.zr-service:hover, .zr-target-item:hover{ transform: translateY(-4px); }

/* キーワードのホバー */
.zr-key{ transition: transform .45s var(--ease); }
.zr-key:hover{ transform: translateY(-3px); }
.zr-key-ico{ transition: transform .6s cubic-bezier(.16,1,.3,1); }
.zr-key:hover .zr-key-ico{ transform: scale(1.08); }

@media (prefers-reduced-motion: reduce){
  .js .section-title, .js .subhero-title, .reveal, .zr-line-grow{
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ===========================================================
   HERO — 左テキスト ＋ 右に回転するキューブスタック
   =========================================================== */
.zr-hero{
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, #fafafa 0%, #ffffff 42%, #f2f2f2 100%);
  border-bottom: 1px solid var(--brand-line);
  overflow: hidden;
}
.zr-hero-inner{
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(120px, 13vw, 150px) var(--gutter) clamp(88px, 9vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  color: #000;
}
@media (max-width: 900px){
  .zr-hero-inner{ grid-template-columns: 1fr; text-align: center; }
}

.zr-hero-eyebrow{
  margin: 0; overflow: hidden;
  font-family: "Jost", var(--font-num);
  font-size: clamp(10px, 1.1vw, 12px); font-weight: 500;
  letter-spacing: .42em; color: var(--ink-500);
}
.zr-hero-eyebrow span{ display: inline-block; animation: zrUp 1s var(--ease) .1s both; }

.zr-hero-title{
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  font-family: var(--font-display);
  font-size: clamp(29px, 3.9vw, 52px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .04em;
  color: #000;
}
/* 行マスク：下から立ち上がる */
.zr-mask{ display: block; overflow: hidden; padding-bottom: .08em; }
.zr-mask-in{ display: block; animation: zrUp 1.05s var(--ease) both; }
.zr-mask:nth-child(1) .zr-mask-in{ animation-delay: .22s; }
.zr-mask:nth-child(2) .zr-mask-in{ animation-delay: .34s; }
@keyframes zrUp{
  from{ transform: translateY(110%); opacity: 0; }
  to  { transform: translateY(0);    opacity: 1; }
}

.zr-hero-lede{
  margin: clamp(18px, 2.2vw, 26px) 0 0;
  max-width: 520px;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 2.15; letter-spacing: .06em;
  color: var(--ink-600);
  animation: zrFade 1.1s var(--ease) .58s both;
}
@media (max-width: 900px){ .zr-hero-lede{ margin-inline: auto; } }
@keyframes zrFade{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }

.zr-hero-cta{
  margin-top: clamp(28px, 3.2vw, 40px);
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: zrFade 1.1s var(--ease) .8s both;
}
@media (max-width: 900px){ .zr-hero-cta{ justify-content: center; } }
.zr-btn{
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 30px;
  border: 1px solid #000;
  color: #000; font-size: 13.5px; font-weight: 500; letter-spacing: .14em;
  background: transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.zr-btn:hover{ background: #000; color: #fff; }
.zr-btn--fill{ background: #000; color: #fff; }
.zr-btn--fill:hover{ background: transparent; color: #000; }
.zr-btn-arrow{ transition: transform .35s var(--ease); }
.zr-btn:hover .zr-btn-arrow{ transform: translateX(5px); }
@media (max-width: 560px){
  .zr-hero-cta{ flex-direction: column; max-width: 320px; margin-inline: auto; }
  .zr-btn{ justify-content: center; width: 100%; }
}

/* ---------- キューブ（3×3×3が閉じて開くアニメーション） ---------- */
.zr-hero-visual{
  position: relative;
  min-height: clamp(300px, 40vw, 460px);
  display: flex; align-items: center; justify-content: center;
  animation: zrFade 1.4s var(--ease) .5s both;
}
/* キューブ背後のやわらかい暖色のにじみ */
.zr-hero-visual::before{
  content: ""; position: absolute; z-index: 0;
  width: min(76%, 420px); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,150,170,.30) 0%, rgba(255,185,190,.14) 45%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
.zr-cube-scene{
  --cw: clamp(34px, 3.7vw, 52px);        /* 小キューブ1辺（閉じると 3辺 の立方体になる） */
  --closed: calc(var(--cw) * 1.03);      /* 閉じたときの間隔（面の重なりを避ける僅かな目地） */
  --open: calc(var(--cw) * 1.62);        /* 開いたときの間隔 */
  perspective: 1500px;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.zr-cube-stage{
  position: relative;
  width: var(--cw); height: var(--cw);
  transform-style: preserve-3d;
  animation: zrSpin 30s linear infinite;
}
@keyframes zrSpin{
  from{ transform: rotateX(-20deg) rotateY(0deg); }
  to  { transform: rotateX(-20deg) rotateY(360deg); }
}

/* 27個のセル：閉じた立方体 → ばらけて開く → また閉じる */
.zr-cell{
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  animation: zrOpen 9s cubic-bezier(.72,0,.24,1) infinite;
  animation-delay: calc(var(--i) * 26ms);
}
@keyframes zrOpen{
  0%,  24%{
    transform: translate3d(calc(var(--x) * var(--closed)), calc(var(--y) * var(--closed)), calc(var(--z) * var(--closed)));
  }
  46%, 72%{
    transform: translate3d(calc(var(--x) * var(--open)), calc(var(--y) * var(--open)), calc(var(--z) * var(--open)));
  }
  100%{
    transform: translate3d(calc(var(--x) * var(--closed)), calc(var(--y) * var(--closed)), calc(var(--z) * var(--closed)));
  }
}

/* 各面：1辺 --cw の正方形。段ごとの色 --tone を面の向きで陰影づけ */
.zr-f{
  position: absolute; left: 50%; top: 50%;
  width: var(--cw); height: var(--cw);
  margin-left: calc(var(--cw) / -2);
  margin-top: calc(var(--cw) / -2);
  background: var(--tone);
  outline: 1px solid rgba(255,255,255,.62);
  outline-offset: -1px;
  backface-visibility: hidden;
}
.zr-f--fr{ transform: translateZ(calc(var(--cw) / 2)); }
.zr-f--bk{ transform: rotateY(180deg) translateZ(calc(var(--cw) / 2)); filter: brightness(.94); }
.zr-f--rt{ transform: rotateY(90deg)  translateZ(calc(var(--cw) / 2)); filter: brightness(.86); }
.zr-f--lf{ transform: rotateY(-90deg) translateZ(calc(var(--cw) / 2)); filter: brightness(.86); }
.zr-f--tp{ transform: rotateX(90deg)  translateZ(calc(var(--cw) / 2)); filter: brightness(1.08); }

/* ---------- 周囲に浮くキーワード ---------- */
.zr-pill{
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 7px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 10px 26px -20px rgba(0,0,0,.5);
  white-space: nowrap;
  animation: zrFloat 7s ease-in-out infinite;
}
.zr-pill-ico{
  width: 26px; height: 26px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px; background: #000; color: #fff;
}
.zr-pill-ico svg{ width: 17px; height: 17px; }
.zr-pill-label{
  font-family: "Jost", var(--font-num);
  font-size: clamp(10.5px, 1vw, 12px); font-weight: 500;
  letter-spacing: .12em; color: #000;
}
.zr-pill--1{ top: 8%;  left: 2%;  animation-delay: 0s; }
.zr-pill--2{ top: 24%; right: 0%; animation-delay: -1.7s; }
.zr-pill--3{ bottom: 22%; left: 0%; animation-delay: -3.4s; }
.zr-pill--4{ bottom: 6%; right: 4%; animation-delay: -5.1s; }
@keyframes zrFloat{
  0%,100%{ transform: translateY(0); }
  50%    { transform: translateY(-9px); }
}
@media (max-width: 900px){
  .zr-hero-visual{ order: -1; min-height: clamp(260px, 52vw, 340px); margin-bottom: 8px; }
  .zr-pill--1{ left: 0; }
  .zr-pill--4{ right: 0; }
}
@media (max-width: 560px){
  .zr-pill-label{ font-size: 10px; letter-spacing: .08em; }
  .zr-pill{ padding: 5px 11px 5px 5px; }
  .zr-pill-ico{ width: 21px; height: 21px; }
  .zr-pill-ico svg{ width: 13px; height: 13px; }
}

/* SCROLL インジケーター */
.zr-scroll{
  position: absolute; z-index: 3;
  left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--ink-500);
  animation: zrFade 1.1s var(--ease) 1.05s both;
}
.zr-scroll-label{
  font-family: "Jost", var(--font-num);
  font-size: 9.5px; font-weight: 500; letter-spacing: .38em;
}
.zr-scroll-line{
  position: relative; display: block;
  width: 1px; height: 52px; background: var(--ink-200); overflow: hidden;
}
.zr-scroll-line i{
  position: absolute; left: 0; top: 0;
  width: 1px; height: 20px; background: #000;
  animation: zrScroll 2.1s cubic-bezier(.7,0,.3,1) infinite;
}
@keyframes zrScroll{
  0%  { transform: translateY(-100%); }
  60% { transform: translateY(260%); }
  100%{ transform: translateY(260%); }
}
@media (max-height: 760px){ .zr-scroll{ display: none; } }

@media (prefers-reduced-motion: reduce){
  .zr-mask-in, .zr-hero-eyebrow span, .zr-hero-lede, .zr-hero-cta, .zr-hero-visual, .zr-scroll{
    animation: none; opacity: 1; transform: none;
  }
  .zr-cube-stage{ animation: none; transform: rotateX(-20deg) rotateY(-32deg); }
  .zr-cell{
    animation: none;
    transform: translate3d(calc(var(--x) * var(--closed)), calc(var(--y) * var(--closed)), calc(var(--z) * var(--closed)));
  }
  .zr-pill{ animation: none; }
  .zr-scroll-line i{ animation: none; }
}

/* ========== ヘッダーロゴ（円相の判子ロゴ＋文字ロゴ） ========== */
.site-logo,
.nav.transparent .site-logo{
  height: 46px !important;
  mix-blend-mode: multiply;
}
.nav-logo{ display: inline-flex; align-items: center; gap: 10px; }

/* ロゴ「ZiREi」の i の点だけキューブと同じピンクにする。
   同じ字を重ねて上部だけを切り出すことで、位置ずれなく点だけを塗る。
   --dot-cut は「下から何%を隠すか」＝点と縦棒の境目。書体を変えたら要調整。 */
.zr-dot{
  position: relative;
  display: inline-block;
  font-style: normal;
}
.zr-dot::after{
  content: "i";
  position: absolute;
  left: 0; top: 0;
  color: var(--pk-500);
  clip-path: inset(0 0 var(--dot-cut, 72%) 0);
  pointer-events: none;
}
.nav-logo-name{
  font-family: "Jost", "Inter", var(--font-display);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: .28em;
  /* 字間を空けると右端に余白が残るので、その分だけ戻す */
  margin-right: -.28em;
  color: #000;
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 720px){
  .site-logo, .nav.transparent .site-logo{ height: 36px !important; }
  .nav-logo-name{ font-size: 18px; letter-spacing: .22em; margin-right: -.22em; }
}
.footer-logo .site-logo,
.footer-logo .capure-logo-img--lg{ height: 64px !important; mix-blend-mode: normal; }

/* ========== ヒーロー（写真背景を解除し、白基調へ） ========== */
.hero-rc2{
  background: #fff !important;
  border-bottom: 1px solid var(--brand-line);
}
.hero-rc2 .hero-rc-bg{
  display: block;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(0,0,0,.05), transparent 70%),
    linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: 1;
}
.hero-rc2-title,
.hero-rc2 .hero-rc2-title .accent{
  color: #000 !important; -webkit-text-fill-color: #000 !important;
}
.hero-rc2 .hero-rc2-title .accent{
  background: linear-gradient(transparent 66%, #e2e2e2 66%);
  padding: 0 .08em;
}
.hero-rc2-lede{ color: var(--ink-600) !important; }
.hero-rc2-lede strong{ color: #000 !important; }
.hero-rc2 .hero-rc-eyebrow{
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: var(--ink-500) !important;
  padding: 0 !important;
  font-family: "Jost", var(--font-num);
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .32em;
}
.hero-rc2 .hero-rc-eyebrow .dot{ background: #000 !important; box-shadow: none !important; }
/* ヒーローが白基調のため、ボタンは黒枠・黒地に戻す（元CSSの半透明白を打ち消す） */
.hero-rc2 .btn-primary{
  background: #000 !important; color: #fff !important;
  border-color: #000 !important; backdrop-filter: none;
}
.hero-rc2 .btn-primary:hover{ background: #fff !important; color: #000 !important; }
.hero-rc2 .btn-ghost{
  background: #fff !important; color: #000 !important;
  border-color: #000 !important; backdrop-filter: none;
}
.hero-rc2 .btn-ghost:hover{ background: #000 !important; color: #fff !important; }

/* ========== サブページ見出し ========== */
.subhero{ background: #fff !important; border-bottom: 1px solid var(--brand-line); }
.subhero::before{ display: none; }
.subhero-title{ color: #000 !important; }
.subhero-lede{ color: var(--ink-600) !important; }

/* ========== 業務フロー（5STEP）をグレーの濃淡に ========== */
.process-step:nth-child(1){ background: #8f8f8f; }
.process-step:nth-child(2){ background: #6e6e6e; }
.process-step:nth-child(3){ background: #4f4f4f; }
.process-step:nth-child(4){ background: #333333; }
.process-step:nth-child(5){ background: #111111; }
.process-flow-wrap{ background: var(--ink-50); }

/* ========== 汎用：セクション見出し／リンク ========== */
.section-label{ color: #000 !important; }
.section-label::before{ background: #000 !important; }
.section-title .accent{ color: #000 !important; -webkit-text-fill-color: #000 !important; }
.txt-link{
  color: #000; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* ========== サービスカード ========== */
.zr-services{
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 780px){ .zr-services{ grid-template-columns: 1fr; } }
.zr-service{
  border: 1px solid var(--brand-line);
  border-radius: 6px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  display: flex; flex-direction: column;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.zr-service:hover{
  border-color: #b5b5b5;
  box-shadow: 0 18px 40px -30px rgba(0,0,0,.35);
}
.zr-service-num{
  font-family: var(--font-num);
  font-size: 11px; font-weight: 700; letter-spacing: .22em;
  color: var(--ink-500);
}
.zr-service-title{
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 21px); font-weight: 900;
  color: #000; margin: 10px 0 0; letter-spacing: .02em;
}
.zr-service-desc{
  font-size: 13.5px; line-height: 1.95; color: var(--ink-600);
  margin: 12px 0 0;
}
.zr-service-list{
  margin: 16px 0 0; padding: 16px 0 0;
  border-top: 1px dashed var(--brand-line);
  list-style: none;
}
.zr-service-list li{
  font-size: 12.5px; color: var(--ink-700); line-height: 1.9;
  padding-left: 16px; position: relative;
}
.zr-service-list li::before{
  content: ""; position: absolute; left: 0; top: .85em;
  width: 7px; height: 1px; background: #000;
}
.zr-service-price{
  margin: 18px 0 0; padding: 12px 14px;
  background: var(--ink-50); border-radius: 4px;
  font-size: 12.5px; color: var(--ink-700);
}
.zr-service-price strong{
  font-family: var(--font-num); font-size: 16px; color: #000;
}

/* ========== ターゲット（対象クライアント） ========== */
.zr-target{
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
@media (max-width: 860px){ .zr-target{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .zr-target{ grid-template-columns: 1fr; } }
.zr-target-item{
  border: 1px solid var(--brand-line); border-radius: 6px;
  padding: 20px 22px; background: #fff;
}
.zr-target-item h3{
  font-family: var(--font-display); font-size: 15px; font-weight: 800;
  color: #000; margin: 0;
}
.zr-target-item p{
  font-size: 12.5px; line-height: 1.85; color: var(--ink-600); margin: 8px 0 0;
}

/* ========== 実績テーブル ========== */
.zr-works{ margin-top: 40px; border-top: 2px solid #000; }
.zr-work{
  display: grid; grid-template-columns: 210px 1fr;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--brand-line);
}
@media (max-width: 720px){
  .zr-work{ grid-template-columns: 1fr; gap: 8px; }
}
.zr-work-client{
  font-family: var(--font-display); font-weight: 800;
  font-size: 14.5px; color: #000; line-height: 1.6;
}
.zr-work-cat{
  display: inline-block; margin-top: 8px; padding: 3px 10px;
  border: 1px solid var(--brand-line); border-radius: 999px;
  font-family: var(--font-num); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-600);
}
.zr-work-body{ font-size: 13.5px; line-height: 1.95; color: var(--ink-700); }
.zr-work-body ul{ margin: 8px 0 0; padding-left: 1.1em; }
.zr-work-body li{ margin-bottom: 2px; }
.zr-note{
  margin-top: 20px; font-size: 12px; line-height: 1.9; color: var(--ink-500);
}

/* ========== 代表 / ブランドビジュアル ========== */
.zr-rep{
  margin-top: 48px;
  display: grid; grid-template-columns: 320px 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
@media (max-width: 800px){
  .zr-rep{ grid-template-columns: 1fr; }
  /* 1カラムに畳んだときは画像を中央に置く（max-width だけだと左に寄る） */
  .zr-rep-visual{ max-width: 300px; margin-inline: auto; justify-self: center; }
}
.zr-rep-visual{ overflow: hidden; background: #fff; }
.zr-rep-visual img{ width: 100%; height: auto; }
.zr-rep-caption{
  font-size: 11.5px; color: var(--ink-500); line-height: 1.8;
  padding: 10px 14px; border-top: 1px solid var(--brand-line);
}
.zr-rep-name{
  font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 900; color: #000; margin: 6px 0 0;
}
.zr-rep-role{
  font-family: var(--font-num); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; color: var(--ink-500);
}
.zr-rep-text{ font-size: 13.5px; line-height: 2.05; color: var(--ink-600); margin: 18px 0 0; }

/* ========== フォーム（確認・完了画面用） ========== */
.zr-steps{
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 8px; padding: 0; list-style: none; flex-wrap: wrap;
}
.zr-steps li{
  font-family: var(--font-num); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-400);
  display: inline-flex; align-items: center; gap: 8px;
}
.zr-steps li[aria-current="step"]{ color: #000; }
.zr-steps li:not(:last-child)::after{ content: "›"; color: var(--ink-300); }

.zr-confirm{
  max-width: 660px; margin-top: 40px;
  border-top: 2px solid #000;
}
.zr-confirm-row{
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--brand-line);
}
@media (max-width: 640px){
  .zr-confirm-row{ grid-template-columns: 1fr; gap: 6px; }
}
.zr-confirm-key{
  font-family: var(--font-display); font-size: 13px; font-weight: 800; color: #000;
}
.zr-confirm-val{
  font-size: 13.5px; line-height: 1.9; color: var(--ink-700);
  white-space: pre-wrap; word-break: break-word;
}
.zr-confirm-val:empty::before{ content: "（未入力）"; color: var(--ink-400); }
.zr-actions{
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; max-width: 660px;
}
.zr-actions .btn{ flex: 1 1 220px; justify-content: center; }
.zr-alert{
  max-width: 660px; margin-top: 24px; padding: 14px 16px;
  border: 1px solid #000; border-radius: 4px;
  font-size: 13px; line-height: 1.85; color: #000; background: var(--ink-50);
}
.zr-alert[hidden]{ display: none; }

.zr-thanks{
  max-width: 680px; margin-top: 40px; padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--brand-line); border-radius: 6px; background: #fff;
}
.zr-thanks-mark{
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid #000; display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #000;
}
.zr-thanks h2{
  font-family: var(--font-display); font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900; color: #000; margin: 20px 0 0;
}
.zr-thanks p{ font-size: 13.5px; line-height: 2; color: var(--ink-600); margin: 16px 0 0; }

/* フォーム部品を白黒に */
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  border-color: #000 !important; outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.form-field .req{ background: #000 !important; color: #fff !important; }
.zr-required-note{ font-size: 12px; color: var(--ink-500); margin-top: 10px; }

/* ========== 会社概要テーブルの体裁 ========== */
.def-row dd .zr-sub{ display: block; font-size: 12px; color: var(--ink-500); margin-top: 4px; }

/* ========== 情報バー ========== */
.zr-infobar{
  border-top: 1px solid var(--brand-line);
  border-bottom: 1px solid var(--brand-line);
  background: #fff;
}
.zr-infobar-inner{
  max-width: var(--max-w); margin: 0 auto; padding: 26px var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 860px){ .zr-infobar-inner{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px){ .zr-infobar-inner{ grid-template-columns: 1fr; } }
.zr-infobar-item .k{
  font-family: var(--font-num); font-size: 10.5px; font-weight: 700;
  letter-spacing: .18em; color: var(--ink-500); display: block;
}
.zr-infobar-item .v{
  font-family: var(--font-display); font-size: 13.5px; font-weight: 800;
  color: #000; display: block; margin-top: 6px; line-height: 1.6;
}

/* ========== CTA ========== */
.cta{ background: #000 !important; }
.cta-orb{ display: none !important; }
.cta-title, .cta-title .accent{ color: #fff !important; -webkit-text-fill-color: #fff !important; }
.cta-lede{ color: rgba(255,255,255,.78) !important; }
.cta .btn-primary{
  background: #fff !important; color: #000 !important; border-color: #fff !important;
}
.cta .btn-primary:hover{ background: #000 !important; color: #fff !important; }
.cta .btn-ghost{
  background: transparent !important; color: #fff !important; border-color: #fff !important;
}
.cta .btn-ghost:hover{ background: #fff !important; color: #000 !important; }

/* ========== フッター ========== */
.footer{ background: #fff !important; color: var(--ink-700) !important; border-top: 1px solid var(--brand-line); }
.footer a{ color: var(--ink-700) !important; }
.footer a:hover{ color: #000 !important; }
.footer h5{ color: #000 !important; }
.footer-intro{ color: var(--ink-500) !important; }
.footer-bottom{ border-top: 1px solid var(--brand-line) !important; color: var(--ink-500) !important; }

/* ===========================================================
   Accent — ヒーローのキューブと同じピンクを各所に少しずつ
   =========================================================== */

/* セクションの小見出しラベル */
.section-label{ color: var(--pk-600) !important; }

/* テキスト選択 */
::selection{ background: var(--pk-200); color: #000; }

/* サービスカード */
.zr-service-num{ color: var(--pk-600); }
.zr-service-list li::before{ background: var(--pk-500); }
.zr-service-price{
  background: var(--pk-50);
  border-left: 2px solid var(--pk-300);
  border-radius: 0 4px 4px 0;
}
.zr-service:hover{ border-color: var(--pk-300) !important; }
.zr-target-item:hover{ border-color: var(--pk-300) !important; }

/* 実績・取引先 */
.zr-work-cat{ border-color: var(--pk-300); color: var(--pk-600); }
.wv-mname + .wv-mname::before{ background: var(--pk-400) !important; }

/* リンク */
.txt-link{ text-decoration-color: var(--pk-400); }
.txt-link:hover{ color: var(--pk-600); }
.footer a:hover{ color: var(--pk-600) !important; }
.nav-link:hover{ color: var(--pk-600) !important; }

/* 会社概要・料金表の見出し語 */
.def-row dt, .def-row .k{ border-left: 2px solid var(--pk-300); padding-left: 12px; }
.req-key .chip{
  background: var(--pk-100) !important;
  color: var(--pk-600) !important;
  border-color: var(--pk-200) !important;
}

/* フッターの見出しに小さな印 */
.footer-col h5{ display: flex; align-items: center; gap: 8px; }
.footer-col h5::before{
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--pk-500); flex: 0 0 auto;
}

/* ヒーロー：キーワードのアイコンタイルとスクロール線 */
.zr-pill-ico{ background: linear-gradient(150deg, var(--pk-400), var(--pk-500)); }
.zr-scroll-line i{ background: var(--pk-500); }

/* サブページ見出しの下に細い罫 */
.subhero-title::after{
  content: ""; display: block;
  width: 44px; height: 2px; margin-top: 18px;
  background: var(--pk-500);
}

/* 取引先セクションと次セクションの間隔を詰める */
#clients{ padding-block: clamp(40px, 5vw, 72px); }
#clients + .section{ padding-top: clamp(32px, 3.6vw, 56px); }

/* 電話番号・メールアドレスは下線なし */
a[href^="tel:"],
a[href^="mailto:"]{ text-decoration: none; }

/* 固定ヘッダーの分だけアンカー位置を下げる */
section[id]{ scroll-margin-top: clamp(80px, 9vw, 112px); }

/* サブページ：見出し直下のセクションの上余白を詰める */
.subhero + .section{ padding-top: clamp(28px, 3.2vw, 48px); }
.subhero{ padding-bottom: clamp(28px, 3.2vw, 48px); }

/* ヘッダーのお問い合わせ：ボタン内にメールアドレスを併記 */
.nav-cta{
  flex-direction: column;
  align-items: center;
  gap: 2px !important;
  line-height: 1.25;
  padding-block: 9px !important;
}
.nav-cta-main{ display: inline-flex; align-items: center; gap: 8px; }
.nav-cta-mail{
  font-family: "Jost", var(--font-num);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: .06em;
  opacity: .72;
}
/* モバイルメニューにも併記 */
.nav-panel-mail{
  display: block;
  font-family: "Jost", var(--font-num);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-500);
  margin-top: 4px;
}
