/* ============================================================
   HiQEST Corporate Site — services.css (v2.0)
   サブページ共通（パンくず・ヒーロー・CTA）＋事業内容ページ
   "Local Tech Partner" Design — 明るい背景中心・黄色はシグナル
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
  padding: 12px 0;
  font-size: 12.5px;
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; color: var(--text-muted); }
.breadcrumb li + li::before {
  content: "";
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B9188' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  margin: 0 4px;
}
.breadcrumb a { color: var(--text-sub); transition: color .2s ease; }
.breadcrumb a:hover { color: var(--link); }
.breadcrumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- ページヒーロー（明るいアイボリー基調） ---------- */
.svc-hero {
  position: relative;
  padding: clamp(52px, 7.5vw, 84px) 0 clamp(56px, 8vw, 92px);
  background:
    radial-gradient(ellipse 720px 440px at 90% -8%, rgba(231, 211, 107, .18), transparent 62%),
    radial-gradient(ellipse 720px 440px at 0% 112%, rgba(135, 145, 122, .14), transparent 62%),
    var(--bg);
  color: var(--text);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.svc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(41, 50, 45, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 50, 45, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 72% 80% at 50% 40%, #000 24%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 40%, #000 24%, transparent 78%);
  pointer-events: none;
}
.svc-hero::after {
  content: "業";
  position: absolute;
  right: -.06em; top: -.1em;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(160px, 22vw, 300px);
  line-height: 1;
  color: rgba(41, 50, 45, .04);
  pointer-events: none;
}
.svc-hero .container { position: relative; z-index: 1; }
.svc-hero-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-latin);
  font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--olive);
}
.svc-hero-label::before {
  content: ""; width: 26px; height: 3px;
  background: var(--yellow);
  border-radius: 3px;
}
.svc-hero h1 {
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--text-sub);
  margin: 18px 0 10px;
}
.svc-hero .svc-hero-copy {
  font-family: var(--ff-head);
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text);
  margin-bottom: 22px;
}
.svc-hero .svc-hero-copy .accent {
  background: linear-gradient(transparent 64%, rgba(231, 211, 107, .6) 64%);
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  color: inherit;
}
.svc-hero-lead {
  color: var(--text-sub);
  font-size: clamp(14.5px, 1.65vw, 16px);
  max-width: 720px;
  line-height: 2;
}
.svc-hero-lead p + p { margin-top: 1em; }
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ライトヒーロー内のボタンは通常ボタンに揃える */
.svc-hero .btn--white {
  background: var(--olive);
  color: #fff;
  box-shadow: 0 4px 16px rgba(74, 88, 69, .26);
}
.svc-hero .btn--white:hover { background: var(--olive-dk); box-shadow: 0 8px 22px rgba(74, 88, 69, .32); }
.svc-hero .btn--ghost {
  background: transparent;
  color: var(--olive);
  border: 1.5px solid var(--olive);
}
.svc-hero .btn--ghost:hover { background: var(--yellow-pale); color: var(--olive); border-color: var(--olive); }

/* 濃色バンド用ゴースト（既定） */
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
}
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-2px); }

/* 詳細ページ用ヒーロー装飾 */
.svc-hero .svc-num-big {
  font-family: var(--ff-latin);
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive);
  display: inline-flex; align-items: center; gap: 10px;
}
.svc-hero .svc-num-big::before {
  content: ""; width: 26px; height: 3px;
  background: var(--yellow);
  border-radius: 3px;
}
.svc-hero .dtl-title {
  font-family: var(--ff-head);
  font-size: clamp(27px, 4vw, 44px);
  line-height: 1.4;
  font-weight: 700;
  color: var(--text);
  margin: 16px 0 12px;
  letter-spacing: .02em;
}
.svc-hero .dtl-catch {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 20px;
}

/* ---------- 一覧: 3事業カード（§7-4） ---------- */
.svc-index { position: relative; padding: var(--section-py) 0; background: var(--bg-soft); }
/* v2.1: 薄い設計図パターン（トップの課題セクションと共通の意匠） */
.svc-index::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../canva/section-pattern.svg");
  background-size: 200px 200px;
  opacity: .5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.svc-index > .container { position: relative; z-index: 1; }
.svc-cards {
  /* v4.0: 4事業化に伴い 3列 → 2×2 */
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.2vw, 26px);
}
.svc-card-lg {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.8vw, 34px) clamp(22px, 2.4vw, 30px);
  overflow: hidden;
  color: var(--text);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease), background .28s ease;
}
.svc-card-lg::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.svc-card-lg:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
  background: #FBF7E8;
}
.svc-card-lg:hover::before { transform: scaleX(1); }
.svc-card-lg .lg-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.svc-card-lg .lg-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
  transition: all .25s ease;
}
/* v2.1: アイコンをSVG画像化したため、hoverで色反転させない（画像が沈むため） */
.svc-card-lg:hover .lg-icon { background: var(--yellow-pale); box-shadow: inset 0 0 0 1px var(--yellow); }
.svc-card-lg .lg-icon img { width: 30px; height: 30px; }
.svc-card-lg .lg-num {
  font-family: var(--ff-latin);
  font-size: 32px; font-weight: 700; line-height: 1;
  color: var(--yellow);
}
.svc-card-lg h3 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(18.5px, 1.9vw, 20.5px);
  color: var(--text); line-height: 1.45;
  margin-bottom: 8px;
}
.svc-card-lg .lg-catch {
  font-size: 14px; font-weight: 700;
  color: var(--olive);
  margin-bottom: 12px;
  line-height: 1.6;
}
.svc-card-lg .lg-desc { font-size: 13.8px; color: var(--text-sub); line-height: 1.85; margin-bottom: 18px; }
.svc-card-lg .lg-domains { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.svc-card-lg .lg-domains li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text-sub); line-height: 1.6;
}
.svc-card-lg .lg-domains .ck {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  margin-top: 2px;
  display: grid; place-items: center; color: #fff;
  background: var(--olive);
}
.svc-card-lg .lg-for {
  background: rgba(244, 234, 181, .45);
  border-left: 3px solid var(--yellow);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  font-size: 12.8px; color: var(--text-sub); line-height: 1.75;
  margin-bottom: 22px;
}
.svc-card-lg .lg-for strong { display: block; font-size: 11px; letter-spacing: .08em; color: var(--olive); margin-bottom: 3px; font-weight: 700; }
.svc-card-lg .lg-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; font-weight: 700; color: var(--link);
}
.svc-card-lg .lg-more svg { transition: transform .22s var(--ease); }
.svc-card-lg:hover .lg-more svg { transform: translateX(5px); }

/* ---------- 一覧: 課題から選ぶ ---------- */
.svc-matcher { padding: var(--section-py) 0; background: var(--bg); }
.matcher-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.matcher-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.matcher-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.matcher-row .m-icon {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
}
.matcher-row .m-q { flex: 1; font-size: 13.8px; font-weight: 600; color: var(--text); line-height: 1.55; }
.matcher-row .m-dest {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: 11.5px; font-weight: 700; color: var(--link);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
}
.matcher-row .m-dest svg { transition: transform .22s var(--ease); }
.matcher-row:hover .m-dest svg { transform: translateX(3px); }

/* ---------- 一覧: 支援方針 ---------- */
.svc-policy { padding: var(--section-py) 0; background: var(--bg-soft); }
.policy-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
}
.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 30px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.policy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.policy-card .pl-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
  margin-bottom: 16px;
  transition: all .25s ease;
}
.policy-card:hover .pl-icon { background: var(--olive); color: #fff; }
.policy-card h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.8vw, 18.5px); color: var(--text); margin-bottom: 10px; line-height: 1.55; }
.policy-card p { font-size: 14px; color: var(--text-sub); line-height: 1.85; }

/* ---------- 一覧: 3事業の関係図（濃色の技術図解） ---------- */
.svc-relation {
  position: relative;
  padding: var(--section-py) 0;
  background: linear-gradient(160deg, var(--olive-deep) 0%, var(--olive-dk) 100%);
  color: #fff;
  overflow: hidden;
}
.svc-relation::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 20%, transparent 78%);
  pointer-events: none;
}
.svc-relation::after {
  content: "結";
  position: absolute;
  left: -.06em; bottom: -.16em;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(160px, 22vw, 300px);
  line-height: 1;
  color: rgba(255, 255, 255, .03);
  pointer-events: none;
}
.svc-relation .container { position: relative; z-index: 1; }
.relation-flow { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; }
.rel-node {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 20px 26px;
  transition: background .25s ease, border-color .25s ease;
}
.rel-node:hover { background: rgba(255, 255, 255, .09); border-color: rgba(231, 211, 107, .45); }
.rel-node .rel-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--yellow);
  display: grid; place-items: center; color: var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .26);
}
.rel-node .rel-tag {
  display: block;
  font-size: 11.5px; font-weight: 600; letter-spacing: .14em;
  color: var(--yellow);
  margin-bottom: 2px;
}
.rel-node h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.9vw, 19px); color: #fff; line-height: 1.5; }
.rel-arrow {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 0;
  color: var(--yellow);
}
.rel-arrow .rel-label { font-size: 11.5px; color: var(--on-dark-sub); letter-spacing: .06em; }
.rel-goal {
  margin-top: 4px;
  text-align: center;
  background: rgba(231, 211, 107, .12);
  border: 1px solid rgba(231, 211, 107, .45);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  font-family: var(--ff-head);
  font-size: clamp(16px, 2vw, 19px); font-weight: 700;
}
.relation-note {
  text-align: center;
  color: var(--on-dark-sub);
  font-size: clamp(14px, 1.6vw, 15.5px);
  max-width: var(--text-max);
  margin: clamp(28px, 4vw, 40px) auto 0;
}

/* ---------- Process 5ステップ用 ---------- */
.process-track.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) {
  .process-track.cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-track.cols-5 { grid-template-columns: 1fr; }
}

/* ---------- CTAバンド（濃色・フォームなし） ---------- */
.svc-cta {
  position: relative;
  /* v2.1: ページ末で失速しないよう上下の余白を増やす */
  padding: calc(var(--section-py) * 1.15) 0;
  /* v2.1: 左に線画装飾（assets/canva/cta-banner.svg）を重ねる */
  background:
    url("../canva/cta-banner.svg") left -90px center / 520px 420px no-repeat,
    linear-gradient(160deg, var(--olive-deep) 0%, var(--olive-dk) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 860px) {
  .svc-cta { background-image: linear-gradient(160deg, var(--olive-deep) 0%, var(--olive-dk) 100%); }
}
.svc-cta::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 30%, #000 20%, transparent 80%);
  pointer-events: none;
}
.svc-cta::after {
  content: "談";
  position: absolute;
  right: -.06em; bottom: -.16em;
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: clamp(140px, 18vw, 260px);
  line-height: 1;
  color: rgba(255, 255, 255, .03);
  pointer-events: none;
}
.svc-cta .container { position: relative; z-index: 1; max-width: 860px; }
.svc-cta h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.55;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.svc-cta .cta-quotes {
  display: flex; flex-direction: column; gap: 9px;
  margin-bottom: 24px;
}
.svc-cta .cta-quotes li {
  color: var(--on-dark-sub);
  font-size: clamp(13.5px, 1.6vw, 15px);
}
.svc-cta .cta-quotes li::before { content: "「"; color: var(--yellow); }
.svc-cta .cta-quotes li::after { content: "」"; color: var(--yellow); }
.svc-cta .cta-text { color: var(--on-dark-sub); font-size: clamp(14.5px, 1.65vw, 16px); }
.svc-cta .svc-hero-actions { justify-content: center; margin-top: 30px; }

/* ============================================================
   詳細ページ
   ============================================================ */

/* ---------- 課題一覧 ---------- */
.dtl-challenges { padding: var(--section-py) 0; background: var(--bg); }
.challenge-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 940px; margin: 0 auto;
}
.challenge-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 14.3px; font-weight: 500; color: var(--text);
  line-height: 1.7;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.challenge-item:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.challenge-item .ck {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  margin-top: 2px;
  display: grid; place-items: center; color: #fff;
  background: var(--olive);
}

/* ---------- 支援内容 ---------- */
.dtl-support { padding: var(--section-py) 0; background: var(--bg-soft); }
.support-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
}
.support-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 30px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.support-block:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.support-block .sp-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.support-block .sp-icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
  transition: all .25s ease;
}
.support-block:hover .sp-icon { background: var(--olive); color: #fff; }
.support-block h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.8vw, 18.5px); color: var(--text); line-height: 1.5; }
.support-block ul { display: flex; flex-direction: column; gap: 8px; }
.support-block li {
  position: relative;
  padding-left: 18px;
  font-size: 13.8px; color: var(--text-sub); line-height: 1.7;
}
.support-block li::before {
  content: "";
  position: absolute; left: 2px; top: 10px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage);
}
.support-note {
  max-width: 860px;
  margin: clamp(20px, 3vw, 28px) auto 0;
  display: flex; gap: 10px; align-items: flex-start;
  background: rgba(244, 234, 181, .45);
  border: 1px solid rgba(196, 176, 74, .35);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13px; color: var(--text-sub); line-height: 1.8;
}
.support-note svg { color: var(--olive); margin-top: 3px; }

/* ---------- 成果物 ---------- */
.dtl-deliver { padding: var(--section-py) 0; background: var(--bg); }
.deliver-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 940px; margin: 0 auto;
}
.deliver-item {
  display: flex; align-items: center; gap: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-size: 13.5px; font-weight: 500; color: var(--text);
  line-height: 1.55;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.deliver-item:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.deliver-item svg { color: var(--olive); flex-shrink: 0; }

/* ---------- 進め方 ---------- */
.dtl-flow { padding: var(--section-py) 0; background: var(--bg-soft); }

/* ---------- 当社の特徴 ---------- */
.dtl-feature { padding: var(--section-py) 0; background: var(--bg); }
.feature-box { max-width: 820px; margin: 0 auto; }
.feature-lead {
  font-family: var(--ff-head);
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.7;
  color: var(--text);
  font-weight: 700;
  padding-left: 20px;
  border-left: 4px solid var(--yellow);
  margin-bottom: 26px;
}
.feature-box .msg p { color: var(--text-sub); font-size: 15px; line-height: 2; }
.feature-box .msg p + p { margin-top: 1.2em; }
.feature-note {
  margin-top: 22px;
  font-size: 12.5px; color: var(--text-muted);
}

/* ---------- 提供方法（IT顧問） ---------- */
.dtl-methods { padding: var(--section-py) 0; background: var(--bg-soft); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.method-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 30px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.method-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.method-card .mt-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--yellow-pale); color: var(--olive);
  display: grid; place-items: center;
  margin-bottom: 16px;
  transition: all .25s ease;
}
.method-card:hover .mt-icon { background: var(--olive); color: #fff; }
.method-card h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.8vw, 18.5px); color: var(--text); margin-bottom: 10px; line-height: 1.5; }
.method-card p { font-size: 13.8px; color: var(--text-sub); line-height: 1.85; }

/* ---------- 契約形態 ---------- */
.dtl-contract { padding: var(--section-py) 0; background: var(--bg-soft); }
.dtl-contract.alt { background: var(--bg); }
.contract-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 820px; margin: 0 auto;
}
.contract-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 14px; font-weight: 600; color: var(--text);
  transition: border-color .22s ease, box-shadow .22s ease;
}
.contract-chips li:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); }
.contract-chips li svg { color: var(--olive); }
.contract-note {
  text-align: center;
  max-width: 720px;
  margin: clamp(22px, 3vw, 30px) auto 0;
  font-size: 14px; color: var(--text-sub); line-height: 1.9;
}

/* ---------- 関連事業 ---------- */
.dtl-related { padding: var(--section-py) 0; background: var(--bg); }
.related-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
  max-width: 860px; margin: 0 auto;
}
.related-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.5vw, 28px);
  overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.related-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s var(--ease);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.related-card:hover::before { transform: scaleX(1); }
.related-card .rl-label {
  font-family: var(--ff-latin);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.related-card h3 { font-family: var(--ff-head); font-weight: 700; font-size: clamp(16.5px, 1.8vw, 18.5px); color: var(--text); margin-bottom: 8px; line-height: 1.5; }
.related-card p { font-size: 13.5px; color: var(--text-sub); line-height: 1.8; margin-bottom: 16px; }
.related-card .rl-more {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.8px; font-weight: 700; color: var(--link);
}
.related-card .rl-more svg { transition: transform .22s var(--ease); }
.related-card:hover .rl-more svg { transform: translateX(4px); }

/* ---------- 一覧へ戻る（下部） ---------- */
.back-to-list {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-sub);
  transition: color .22s ease;
}
.back-to-list:hover { color: var(--link); }

/* ---------- トップページ: 事業内容への導線 ---------- */
.services-more { text-align: center; margin-top: clamp(32px, 4.5vw, 44px); }

/* ============================================================
   AI・DXページ限定 — Digital Indigo（配色設計書 §9）
   ============================================================ */
.page-aidx .svc-hero .dtl-catch { color: #6268B5; }
.page-aidx .svc-hero .svc-num-big { color: #6268B5; }
.page-aidx .challenge-item .ck { background: #6268B5; }
.page-aidx .support-block .sp-icon { background: #E8E9FA; color: #6268B5; }
.page-aidx .support-block:hover .sp-icon { background: #6268B5; color: #fff; }
.page-aidx .support-block li::before { background: #C9CCF2; }
.page-aidx .deliver-item svg { color: #6268B5; }
.page-aidx .contract-chips li svg { color: #6268B5; }
.page-aidx .related-card .rl-label { color: #6268B5; }
.page-aidx .sub-hero__eyebrow { color: #C9CCF2; }
.page-aidx .sub-hero__eyebrow::before { background: #6268B5; }
.page-aidx .sub-hero__catch { color: #C9CCF2; }

/* ============================================================
   v2.1 — サービス個別ページの色調（2026-08-13 ユーザー指示）
   システム開発＋AWS = Deep Teal ／ IT顧問 = Warm Rose（v4.3でRussetから変更。アンバー新設で黄茶系が近接したため）
   ヒーローのアート画像（art-sysdev / art-aws / art-advisory）と同系で揃える
   ============================================================ */

/* ---------- システム開発・運用保守 ＋ AWS: Deep Teal ---------- */
.page-sysdev .svc-hero .dtl-catch { color: #3E7C7A; }
.page-sysdev .svc-hero .svc-num-big { color: #3E7C7A; }
.page-sysdev .challenge-item .ck { background: #3E7C7A; }
.page-sysdev .support-block .sp-icon { background: #E2EFED; color: #3E7C7A; }
.page-sysdev .support-block:hover .sp-icon { background: #3E7C7A; color: #fff; }
.page-sysdev .support-block li::before { background: #A8CFC9; }
.page-sysdev .deliver-item svg { color: #3E7C7A; }
.page-sysdev .contract-chips li svg { color: #3E7C7A; }
.page-sysdev .related-card .rl-label { color: #3E7C7A; }
.page-sysdev .sub-hero__eyebrow { color: #BFDCD6; }
.page-sysdev .sub-hero__eyebrow::before { background: #3E7C7A; }
.page-sysdev .sub-hero__catch { color: #BFDCD6; }

/* ヒーロー濃色パネルもページ色に染める（アート画像のトーンと連続させる） */
.page-sysdev .sub-hero,
.page-sysdev .sub-hero__left,
.page-sysdev .sub-hero__left::after { background-color: #152828; }
.page-advisory .sub-hero,
.page-advisory .sub-hero__left,
.page-advisory .sub-hero__left::after { background-color: #33202A; }
.page-aidx .sub-hero,
.page-aidx .sub-hero__left,
.page-aidx .sub-hero__left::after { background-color: #202234; }

/* ---------- IT顧問・アドバイザー: Warm Rose（v4.3） ---------- */
.page-advisory .svc-hero .dtl-catch { color: #B15A72; }
.page-advisory .svc-hero .svc-num-big { color: #B15A72; }
.page-advisory .challenge-item .ck { background: #B15A72; }
.page-advisory .support-block .sp-icon { background: #F6E3E9; color: #B15A72; }
.page-advisory .support-block:hover .sp-icon { background: #B15A72; color: #fff; }
.page-advisory .support-block li::before { background: #DDA8B8; }
.page-advisory .deliver-item svg { color: #B15A72; }
.page-advisory .contract-chips li svg { color: #B15A72; }
.page-advisory .related-card .rl-label { color: #B15A72; }
.page-advisory .sub-hero__eyebrow { color: #E8C3CF; }
.page-advisory .sub-hero__eyebrow::before { background: #B15A72; }
.page-advisory .sub-hero__catch { color: #E8C3CF; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .svc-cards { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .support-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .method-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .deliver-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .matcher-grid { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
  .challenge-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .matcher-row { flex-wrap: wrap; }
  .matcher-row .m-q { flex-basis: calc(100% - 48px); }
  .matcher-row .m-dest { margin-left: 48px; }
  .svc-hero-actions .btn { width: 100%; }
  .svc-cta .svc-hero-actions .btn { width: 100%; max-width: 380px; }
}
@media (max-width: 600px) {
  .deliver-grid { grid-template-columns: 1fr; }
  .rel-node { grid-template-columns: 1fr; gap: 10px; padding: 18px 20px; text-align: center; }
  .rel-node .rel-icon { margin: 0 auto; }
  .svc-hero::after, .svc-cta::after { font-size: 130px; }
}


/* ============================================================
   写真の共通トーン処理（全ページ共通）
   ============================================================ */
.ph {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.72) contrast(1.02) brightness(.99);
  transition: transform 1.2s var(--ease);
}
/* v2.1: ヒーロー用アート画像（assets/img/art/*.webp）は
   ブランドのデュオトーンと製図グラフィックを焼き込み済みのため、CSS側の補正を切る。
   各ページの `.〇〇 .ph { filter: … }`（詳細度0,2,0）に確実に勝たせるため要素名を足している */
div.ph.ph--art { filter: none; opacity: 1; }

/* ============================================================
   サブページ共通ヒーロー — トップと同じ「濃色パネル×写真」構図
   ============================================================ */
.sub-hero {
  position: relative;
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: clamp(320px, 42vh, 420px);
  background: var(--olive-deep);
  overflow: hidden;
}
.sub-hero__left {
  position: relative; z-index: 2;
  background: var(--olive-deep);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px, 5vw, 60px) clamp(24px, 3vw, 48px) clamp(40px, 5vw, 60px)
           max(var(--gap), calc((100vw - var(--container)) / 2));
}
.sub-hero__left::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 10%, transparent 72%);
  pointer-events: none;
}
.sub-hero__left::after {
  content: "";
  position: absolute; right: -40px; top: 0; bottom: 0;
  width: 80px;
  background: var(--olive-deep);
  clip-path: polygon(0 0, 40px 0, 100% 100%, 0 100%);
  z-index: 2;
}
.sub-hero__inner { position: relative; z-index: 3; max-width: 600px; }
.sub-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-latin);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 16px;
}
.sub-hero__eyebrow::before {
  content: ""; width: 30px; height: 3px; border-radius: 3px;
  background: var(--yellow);
}
.sub-hero h1 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.4;
  letter-spacing: .01em;
  color: #fff;
  margin-bottom: 10px;
}
.sub-hero__catch {
  color: var(--yellow);
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  margin-bottom: 14px;
}
.sub-hero__lead {
  color: rgba(220, 224, 208, .8);
  font-size: clamp(13.8px, 1.55vw, 15px);
  line-height: 2;
  max-width: 560px;
}
.sub-hero__lead p + p { margin-top: .9em; }
.sub-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sub-hero__right { position: relative; overflow: hidden; }
.sub-hero__right .ph { filter: saturate(.6) contrast(1.04) brightness(.9); }
.sub-hero:hover .sub-hero__right .ph { transform: scale(1.035); }
.sub-hero__right::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(41, 50, 45, .7) 0%, rgba(41, 50, 45, .18) 45%, rgba(41, 50, 45, .32) 100%);
}
.sub-hero__tag {
  position: absolute; right: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 32px);
  z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(41, 50, 45, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 7px 15px;
  color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
}
@media (max-width: 1024px) {
  .sub-hero { grid-template-columns: 1fr; min-height: auto; }
  .sub-hero__left { padding: clamp(36px, 6vw, 52px) var(--gap); }
  .sub-hero__left::after { display: none; }
  .sub-hero__right { height: min(46vw, 300px); }
}
@media (max-width: 560px) {
  .sub-hero__actions .btn { width: 100%; }
}

/* ============================================================
   準備中ページ
   ============================================================ */
.wip { padding: clamp(80px, 12vw, 140px) 0; background: var(--bg); text-align: center; }
.wip__icon {
  width: 76px; height: 76px; margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--yellow-pale);
  border: 1.5px solid rgba(196, 176, 74, .5);
  display: grid; place-items: center;
  color: var(--olive);
}
.wip h2 {
  font-family: var(--ff-head);
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.wip p {
  color: var(--text-sub);
  font-size: 15px; line-height: 2;
  max-width: 560px; margin: 0 auto;
}
.wip__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }


/* ============================================================
   写真コンポーネント（サブページ共通）
   ============================================================ */
/* 写真バンド — 全幅写真＋一言メッセージ */
.pb-band {
  position: relative;
  padding: clamp(64px, 9vw, 108px) 0;
  overflow: hidden;
  text-align: center;
}
.pb-band .ph { filter: saturate(.5) contrast(1.05) brightness(.45); }
.pb-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(41, 50, 45, .74) 0%, rgba(41, 50, 45, .6) 50%, rgba(41, 50, 45, .78) 100%);
}
.pb-band__inner {
  position: relative; z-index: 2;
  max-width: 760px; margin: 0 auto;
  padding: 0 var(--gap);
}
.pb-band__inner .sub-hero__eyebrow { margin-bottom: 12px; }
.pb-band h2 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(22px, 3.2vw, 32px);
  line-height: 1.55;
  color: #fff;
  margin-bottom: 14px;
}
.pb-band p {
  color: rgba(220, 224, 208, .82);
  font-size: clamp(13.8px, 1.6vw, 15.5px);
  line-height: 2;
}

/* 写真ストリップ — 3枚並び＋キャプション */
.pb-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}
.pb-strip__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pb-strip__item:hover .ph { transform: scale(1.06); }
.pb-strip__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(41, 50, 45, .78) 0%, rgba(41, 50, 45, .1) 60%, transparent 100%);
}
.pb-strip__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 13px 15px;
  color: #fff; font-size: 12.8px; font-weight: 700; letter-spacing: .03em;
}
.pb-strip__cap em {
  display: block;
  font-family: var(--ff-latin); font-style: normal;
  font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 3px;
}
@media (max-width: 768px) { .pb-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pb-strip { grid-template-columns: 1fr; } }


/* ============================================================
   v4.2 — デザイン・クリエイティブ制作: Warm Amber／イエロー系（2026-08-31。v4.0のローズから変更）
   ヒーローのアート画像（art-design / art-card-design / art-design-band）と同系で揃える
   ※ブランドの Warm Yellow #E7D36B（シグナル用）とは別系統の濃いイエロー
   ============================================================ */
.page-design .svc-hero .dtl-catch { color: #C4972F; }
.page-design .svc-hero .svc-num-big { color: #C4972F; }
.page-design .challenge-item .ck { background: #C4972F; }
.page-design .support-block .sp-icon { background: #F8EDD3; color: #C4972F; }
.page-design .support-block:hover .sp-icon { background: #C4972F; color: #fff; }
.page-design .support-block li::before { background: #E0C87E; }
.page-design .deliver-item svg { color: #C4972F; }
.page-design .contract-chips li svg { color: #C4972F; }
.page-design .related-card .rl-label { color: #C4972F; }
.page-design .sub-hero__eyebrow { color: #EAD9A6; }
.page-design .sub-hero__eyebrow::before { background: #C4972F; }
.page-design .sub-hero__catch { color: #EAD9A6; }
.page-design .method-card .mt-icon { background: #F8EDD3; color: #C4972F; }
.page-design .method-card:hover .mt-icon { background: #C4972F; color: #fff; }

/* ヒーロー濃色パネルもページ色に染める */
.page-design .sub-hero,
.page-design .sub-hero__left,
.page-design .sub-hero__left::after { background-color: #332A14; }

/* ============================================================
   v5.0 配下メニュー追加分（Webページ制作／AI導入支援／IT講師／機器導入）
   ============================================================ */
.promise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.promise-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  padding-left: clamp(70px, 7.5vw, 96px);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.promise-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(41, 50, 45, .08); }
.promise-num {
  position: absolute; left: clamp(20px, 2.4vw, 28px); top: clamp(24px, 2.8vw, 34px);
  font-family: var(--ff-latin); font-size: 12.5px; font-weight: 700; letter-spacing: .1em;
  color: var(--olive); background: var(--yellow-pale);
  padding: 4px 10px; border-radius: 999px;
}
.promise-card h3 { font-family: var(--ff-head); font-size: clamp(16.5px, 1.8vw, 19px); font-weight: 700; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.promise-card p { font-size: 13.8px; color: var(--text-sub); line-height: 1.9; }
.page-aidx .promise-num { color: #6268B5; background: #E8E9FA; }

.web-price-sec { padding: var(--section-py) 0; background: var(--bg); }
.web-price {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.web-price table { width: 100%; min-width: 680px; border-collapse: collapse; }
.web-price th, .web-price td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); font-size: 13.8px; line-height: 1.75; color: var(--text-sub); }
.web-price th { font-family: var(--ff-latin); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); background: var(--bg-soft); }
.web-price td b { color: var(--text); font-weight: 700; }
.web-price .num { text-align: right; white-space: nowrap; font-family: var(--ff-latin); font-weight: 700; color: var(--text); }
.web-price tbody tr:last-child td { border-bottom: none; }
.web-price .wp-set td { background: var(--yellow-pale); }
.web-price .wp-set .num { font-size: 15.5px; }
.wp-req, .wp-opt {
  display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; vertical-align: middle;
}
.wp-req { color: #fff; background: var(--olive); }
.wp-opt { color: var(--text-sub); background: var(--bg-soft); border: 1px solid var(--border); }
.page-aidx .wp-req { background: #6268B5; }
.page-aidx .web-price .wp-set td { background: #F0F1FB; }
.web-price__notes { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.web-price__notes li { position: relative; padding-left: 20px; font-size: 12.8px; color: var(--text-sub); line-height: 1.8; }
.web-price__notes li::before { content: "※"; position: absolute; left: 0; top: 0; color: var(--text-muted); }

@media (max-width: 768px) {
  .promise-grid { grid-template-columns: 1fr; }
  .promise-card { padding-left: clamp(22px, 2.6vw, 32px); padding-top: 58px; }
}

/* v6.0: 取り組みヒーローを実画面に（上寄せ・背景色） */
.sub-hero__right .ph--shot { background-position: center top; background-color: #29322D; }
.sub-hero__right .ph--shot[style*=".svg"] { background-size: contain; background-repeat: no-repeat; background-color: #F8F5E9; }
