/* ============================================================
   HELATH corporate v2 — コンセプト「引く。」
   紙と墨 × コーラルのヘラスライン（取り消し線）
   詳細: renewal/DESIGN-CONCEPT.md
   ============================================================ */

:root {
  --paper: #f7f4ee;
  --panel: #ffffff;
  --sumi: #221f1a;
  --sumi-2: #2c2822;
  --ink: #26231d;
  --ink-2: #6b6459;
  --ink-3: #a39b8d;
  --line: #e5dfd3;
  --line-dark: #cfc7b8;
  --coral: #ea6264;
  --coral-dark: #d14e50;
  --coral-pale: #fbeae6;
  --font: "Noto Sans JP", "Inter", "Hiragino Kaku Gothic ProN", sans-serif;
  --w: 1200px;
  --w-wide: 1360px;
  --sp: 140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
p { text-wrap: pretty; word-break: auto-phrase; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--coral); color: #fff; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 36px; }
.container-wide { max-width: var(--w-wide); margin: 0 auto; padding: 0 36px; }

/* ============================================================
   署名モチーフ
   ============================================================ */

/* ヘラスライン: わずかに右肩上がりのコーラル取り消し線 */
.hera-line { position: relative; white-space: nowrap; }
.hera-line::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 55%;
  height: 3px; background: var(--coral); border-radius: 2px;
  transform: rotate(-1.6deg) scaleX(1); transform-origin: left center;
}

/* コーラルの句点 */
.maru { color: var(--coral); }

/* モバイル専用の改行（PCでは1行のまま） */
.sp-only { display: none; }

/* モバイル固定CTA（PCでは非表示） */
.m-cta { display: none; }

/* セクションラベル: 斜めの棒（剛の線と同じ筆致）＋日本語 */
.brk {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 15px; font-weight: 700; letter-spacing: 0.22em; color: var(--ink);
}
.brk::before {
  content: ""; width: 34px; height: 4px; flex: none;
  background: var(--coral); border-radius: 2px;
  transform: rotate(-8deg);
}
.brk::after { content: none; }

/* キーワードのマーカー（コーラル淡） */
.mk { background: linear-gradient(transparent 60%, var(--coral-pale) 60%); padding: 0 2px; font-weight: 700; }

/* 墨面の中のマーカー */
.dark .mk { background: linear-gradient(transparent 60%, rgba(234, 98, 100, 0.35) 60%); }

/* 自作アイコン共通 */
.hicon { width: 44px; height: 44px; flex: none; }
.hicon * { vector-effect: non-scaling-stroke; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: var(--w-wide); margin: 0 auto; padding: 0 36px;
  height: 84px; display: flex; align-items: center; justify-content: space-between;
}
.header-logo img { height: 30px; width: auto; }
.gnav { display: flex; align-items: center; gap: 40px; }
.gnav a { font-size: 15px; font-weight: 700; position: relative; padding: 8px 0; }
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2.5px;
  background: var(--coral); border-radius: 2px;
  transform: rotate(-1.6deg) scaleX(0); transform-origin: left center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.gnav a:not(.btn):hover::after { transform: rotate(-1.6deg) scaleX(1); }
.gnav a.is-current { color: var(--coral); }
.menu-toggle { display: none; }

/* ============================================================
   ボタン
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font);
  font-size: 15.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 16px 32px; border-radius: 8px; border: 1.5px solid var(--ink);
  cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s;
}
/* ヘッダーCTA: 通常=墨ブロック、写真ヒーロー上=紙ブロック、hover=コーラル */
.gnav .btn {
  padding: 14px 28px; border-radius: 4px; font-size: 14px; letter-spacing: 0.14em;
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.gnav .btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.has-photo-hero .site-header:not(.is-scrolled) .gnav .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.has-photo-hero .site-header:not(.is-scrolled) .gnav .btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn .ar { transition: transform 0.3s; }
.btn:hover .ar { transform: translateX(5px); }
.btn-coral { background: var(--coral); border-color: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-dark); }
.btn-ghost:hover { background: transparent; color: var(--coral); border-color: var(--coral); }
.btn-paper { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* テキストリンク: hoverでヘラスラインが引かれる */
.tlink { position: relative; font-size: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 3px; }
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2.5px;
  background: var(--coral); border-radius: 2px;
  transform: rotate(-1.2deg) scaleX(0); transform-origin: left center; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tlink:hover::after { transform: rotate(-1.2deg) scaleX(1); }
.tlink .ar { color: var(--coral); transition: transform 0.3s; }
.tlink:hover .ar { transform: translateX(4px); }

/* ============================================================
   セクション共通
   ============================================================ */
.section { padding: var(--sp) 0; }
.sec-white { background: var(--panel); }
.dark { background: var(--sumi); color: #f4f1ea; }
.dark .brk { color: #f4f1ea; }

.sec-head { margin-bottom: 72px; }
.sec-head .brk { margin-bottom: 26px; }
.sec-head h2 {
  font-size: clamp(30px, 4.2vw, 52px); font-weight: 900; line-height: 1.5;
  letter-spacing: 0.02em;
}
.sec-head .lead { margin-top: 26px; font-size: 16px; color: var(--ink-2); max-width: 660px; }
.dark .sec-head .lead { color: #b7b0a4; }
.sec-foot { margin-top: 64px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.sec-foot .note { font-size: 14px; color: var(--ink-2); }

/* ============================================================
   ローディング
   ============================================================ */
#loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
#loader .ld-word {
  font-size: clamp(26px, 4vw, 44px); font-weight: 900; letter-spacing: 0.05em;
  position: relative;
}
#loader .ld-word::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 54%;
  height: 4px; background: var(--coral); border-radius: 2px;
  transform: rotate(-1.6deg) scaleX(0); transform-origin: left center;
}
#loader.strike .ld-word::after { transform: rotate(-1.6deg) scaleX(1); transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1); }
#loader.done { opacity: 0; visibility: hidden; transition: opacity 0.45s ease, visibility 0s 0.45s; }

/* ============================================================
   ヒーロー: 生成テクスチャ「線の場」（紙地に幾何学の線分が引かれては消える）
   ============================================================ */
.hero-gen {
  position: relative; height: min(88vh, 840px); min-height: 560px;
  background: var(--paper); overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-gen .hero-inner { color: var(--ink); }
.hero-gen .hero-inner h1, .hero-gen .hero-sub { text-shadow: none; }
.hero-gen .hero-inner .hera-line { color: var(--ink-3); }
.hero-gen .scroll-cue { background: rgba(38, 35, 29, 0.16); }
.logo-light { display: none; }

/* ============================================================
   ヒーロー（全面写真＋宣言のみ。カード・ボタンは置かない）
   ============================================================ */
.hero-full { position: relative; height: min(94vh, 900px); min-height: 600px; margin-top: -84px; }
.hero-full .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(24, 21, 16, 0.44) 0%, rgba(24, 21, 16, 0.04) 45%),
    linear-gradient(to right, rgba(24, 21, 16, 0.32) 0%, rgba(24, 21, 16, 0.08) 55%, rgba(24, 21, 16, 0) 100%);
}
.hero-inner {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--w-wide); margin: 0 auto; padding: 0 36px 104px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
}
.hero-inner h1 {
  font-size: clamp(52px, 7vw, 98px); font-weight: 900; line-height: 1.25;
  letter-spacing: 0.02em; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.18);
}
.hero-inner .hero-sub {
  margin-top: 30px; font-size: clamp(17px, 2vw, 24px); font-weight: 700; letter-spacing: 0.08em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.22);
}
.hero-inner .hera-line { color: rgba(255, 255, 255, 0.78); }
.hero-inner .hera-line::after { height: 3.5px; }
.scroll-cue {
  position: absolute; right: 44px; bottom: 0; z-index: 2;
  width: 1.5px; height: 88px; background: rgba(255, 255, 255, 0.35); overflow: hidden;
}
.scroll-cue::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--coral); animation: cueDrop 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite;
}
@keyframes cueDrop { 0% { top: -40%; } 55%, 100% { top: 105%; } }
.hero-full .photo-credit { z-index: 2; }

/* 透明ヘッダー（写真ヒーローの上では白、スクロールで紙に戻る） */
.has-photo-hero .site-header:not(.is-scrolled) { background: transparent; }
.has-photo-hero .site-header:not(.is-scrolled) .gnav a:not(.btn) { color: #fff; }
.has-photo-hero .site-header:not(.is-scrolled) .logo-dark { display: none; }
.has-photo-hero .site-header .logo-light { display: none; }
.has-photo-hero .site-header:not(.is-scrolled) .logo-light { display: block; }
.has-photo-hero .site-header:not(.is-scrolled) .menu-toggle span { background: #fff; }

/* ステートメント内のタスクリスト図版（画像アセット） */
.statement-grid2 { display: grid; grid-template-columns: 1fr 440px; gap: 88px; align-items: center; }
.statement-grid2 .hero-viz { padding: 0; }
.statement-grid2 .illust-tasks { width: 100%; height: auto; display: block; }
.statement-grid2 .hero-board { transform: rotate(0.8deg); border-color: transparent; }
.statement-grid2 .hero-note-chip {
  position: static; display: inline-block; margin-top: 26px;
  background: transparent; color: #b7b0a4; padding: 0; transform: none;
  font-size: 13.5px; letter-spacing: 0.06em;
}

/* ============================================================
   （旧）2カラムヒーロー
   ============================================================ */
.hero { padding: 96px 0 120px; overflow: hidden; }
.hero-grid {
  max-width: var(--w-wide); margin: 0 auto; padding: 0 36px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 6.4vw, 86px); font-weight: 900; line-height: 1.3;
  letter-spacing: 0.015em;
}
.hero .hero-sub {
  margin-top: 26px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: 0.06em;
}
.hero .hero-sub .hera-target { position: relative; display: inline-block; }
.hero .hero-lead { margin-top: 26px; font-size: 16px; color: var(--ink-2); max-width: 480px; }
.hero-actions { margin-top: 44px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }

/* ヒーロービジュアル: 業務チップが線で消されていく */
.hero-viz { position: relative; padding: 20px 0; }
.hero-board {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 44px 44px 40px; position: relative;
  transform: rotate(0.6deg);
  color: var(--ink);
}
.hero-board .hb-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 18px; border-bottom: 1.5px solid var(--line); margin-bottom: 10px;
}
.hero-board .hb-title { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; }
.hero-board .hb-count { font-family: "Inter", var(--font); font-size: 13px; font-weight: 600; color: var(--ink-3); font-feature-settings: "tnum"; }
.hero-board .hb-count strong { font-size: 22px; color: var(--coral); font-weight: 700; }
.task { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: none; }
.task .tk-box { width: 18px; height: 18px; border: 2px solid var(--line-dark); border-radius: 5px; flex: none; position: relative; }
.task .tk-label { font-size: 16.5px; font-weight: 500; position: relative; letter-spacing: 0.04em; }
.task .tk-label::after {
  content: ""; position: absolute; left: -3%; right: -3%; top: 54%;
  height: 3px; background: var(--coral); border-radius: 2px;
  transform: rotate(-1.6deg) scaleX(0); transform-origin: left center;
}
.task.is-struck .tk-label::after { transform: rotate(-1.6deg) scaleX(1); transition: transform 0.45s cubic-bezier(0.6, 0, 0.2, 1); }
.task.is-struck .tk-label { color: var(--ink-3); transition: color 0.4s 0.2s; }
.task.is-struck .tk-box { border-color: var(--coral); background: var(--coral-pale); transition: all 0.3s 0.2s; }
.task.is-struck .tk-box::after {
  content: ""; position: absolute; inset: 2px; border-radius: 2px;
  background: var(--coral);
  clip-path: polygon(18% 45%, 40% 65%, 82% 20%, 95% 33%, 42% 88%, 6% 58%);
}
.task.tk-keep .tk-label { font-weight: 900; font-size: 18px; }
.task.tk-keep .tk-box { border-color: var(--coral); border-radius: 50%; }
.task.tk-keep { position: relative; }
.task.tk-keep .tk-tag {
  margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--coral);
  border: 1.5px solid var(--coral); border-radius: 100px; padding: 3px 14px;
  opacity: 0; transform: translateY(4px);
}
.task.tk-keep.is-kept .tk-tag { opacity: 1; transform: none; transition: all 0.5s ease; }

/* ふせん風の一言 */
.hero-note-chip {
  position: absolute; right: -10px; bottom: -26px;
  background: var(--sumi); color: var(--paper);
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 13px 22px; border-radius: 100px; transform: rotate(-2deg);
}
.hero-note-chip .maru { color: var(--coral); }

/* ============================================================
   ステートメント（墨面）
   ============================================================ */
.statement { position: relative; }
.statement .st-big {
  font-size: clamp(30px, 4.6vw, 56px); font-weight: 900; line-height: 1.65; letter-spacing: 0.03em;
}
.statement .st-body { margin-top: 36px; font-size: 16.5px; color: #b7b0a4; max-width: 680px; }
.statement .st-body strong { color: #f4f1ea; font-weight: 700; }
.statement .st-body + .st-body { margin-top: 20px; }
.statement .tlink { margin-top: 44px; color: #f4f1ea; }

/* ============================================================
   事業内容（4つの入口）
   ============================================================ */
.biz-list { border-top: 1.5px solid var(--line-dark); }
.biz-item {
  display: grid; grid-template-columns: 64px 300px 1fr auto; gap: 36px; align-items: center;
  padding: 44px 12px; border-bottom: 1.5px solid var(--line-dark);
  transition: background 0.3s; position: relative;
}
.biz-item:hover { background: rgba(255, 255, 255, 0.6); }
.biz-item .bz-name { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; letter-spacing: 0.04em; position: relative; display: inline-block; justify-self: start; }
.biz-item .bz-name::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 3px;
  background: var(--coral); border-radius: 2px;
  transform: rotate(-1.2deg) scaleX(0); transform-origin: left center; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.biz-item:hover .bz-name::after { transform: rotate(-1.2deg) scaleX(1); }
.biz-item .bz-desc { font-size: 14.5px; color: var(--ink-2); max-width: 560px; }
.biz-item .bz-go {
  width: 52px; height: 52px; border: 1.5px solid var(--line-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
  color: var(--ink);
}
.biz-item:hover .bz-go { background: var(--coral); border-color: var(--coral); color: #fff; transform: rotate(-45deg); }

/* ============================================================
   技術力
   ============================================================ */
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1.5px solid var(--line); }
.tech-item {
  padding: 48px 44px 52px; border-bottom: 1.5px solid var(--line);
  display: flex; gap: 28px; align-items: flex-start;
}
.tech-item:nth-child(odd) { border-right: 1.5px solid var(--line); padding-left: 4px; }
.tech-item:nth-child(even) { padding-right: 4px; }
.tech-item h3 { font-size: 21px; font-weight: 900; letter-spacing: 0.03em; }
.tech-item p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.tech-item .tc-spec { margin-top: 14px; font-family: "Inter", var(--font); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em; }

.tech-proof {
  margin-top: 72px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 44px 48px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.tech-proof h3 { font-size: 20px; font-weight: 900; }
.tech-proof p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); max-width: 620px; }
.tech-thumbs { display: flex; gap: 14px; margin-top: 22px; }
.tech-thumbs img {
  width: 132px; aspect-ratio: 16/10; object-fit: cover; object-position: top;
  border-radius: 8px; border: 1px solid var(--line);
}

/* ============================================================
   プロダクト
   ============================================================ */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-card {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 18px;
  padding: 48px 48px 0; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.3s;
}
.product-card:hover { border-color: var(--coral); }
.product-card .p-logo { height: 32px; display: flex; }
.product-card .p-logo img { height: 100%; width: auto; }
.product-card .p-tag { margin-top: 24px; font-size: 20px; font-weight: 900; }
.product-card .p-desc { margin-top: 14px; font-size: 15px; color: var(--ink-2); }
.product-card .tlink { margin: 24px 0 32px; }
.product-card .p-shot { margin-top: auto; }
.product-card .p-shot img {
  width: 100%; border-radius: 10px 10px 0 0; border: 1px solid var(--line); border-bottom: none;
  display: block;
}

/* ============================================================
   メディア・診断
   ============================================================ */
.media-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.media-grid .shot-frame { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.tool-rows { margin-top: 40px; border-top: 1.5px solid var(--line); }
.tool-row {
  display: flex; align-items: center; gap: 24px; padding: 26px 8px;
  border-bottom: 1.5px solid var(--line); transition: background 0.25s;
}
.tool-row:hover { background: rgba(255, 255, 255, 0.65); }
.tool-row .tr-body { flex: 1; }
.tool-row h4 { font-size: 17px; font-weight: 900; }
.tool-row p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.tool-row .tr-meta { font-size: 12.5px; font-weight: 700; color: var(--coral); white-space: nowrap; }

/* ============================================================
   進め方（横4ステップ）
   ============================================================ */
.steps-h { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1.5px solid var(--line); }
.steps-h li { padding: 44px 32px 8px 32px; border-left: 1.5px solid var(--line); position: relative; }
.steps-h li:first-child { border-left: none; padding-left: 4px; }
.steps-h .sh-no { font-family: "Inter", var(--font); font-size: 13px; font-weight: 700; color: var(--coral); letter-spacing: 0.08em; display: block; }
.steps-h .hicon { margin-top: 20px; }
.steps-h h3 { margin-top: 18px; font-size: 21px; font-weight: 900; letter-spacing: 0.06em; }
.steps-h p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }

/* ============================================================
   写真バンド
   ============================================================ */
.photo-band { margin: 0 auto; position: relative; max-width: var(--w-wide); padding: 0 36px; }
.photo-band img { width: 100%; height: clamp(240px, 32vw, 400px); object-fit: cover; display: block; border-radius: 18px; }
.photo-band .pb-copy {
  position: absolute; left: 0; right: 0; bottom: 32px;
}
.photo-band .pb-copy .inner {
  max-width: none; margin: 0; padding: 0 68px;
}
.photo-band .pb-copy span {
  display: inline-block; background: var(--sumi); color: var(--paper);
  font-size: clamp(16px, 2vw, 22px); font-weight: 900; letter-spacing: 0.06em;
  padding: 14px 28px; border-radius: 6px;
}
.photo-band .pb-copy span span { display: inline; padding: 0; background: none; border-radius: 0; }
.photo-band .pb-copy .maru { color: var(--coral); }
.photo-credit {
  position: absolute; right: 16px; bottom: 10px;
  font-size: 10.5px; color: rgba(255, 255, 255, 0.75); letter-spacing: 0.04em;
}
.photo-credit a { border-bottom: 1px solid rgba(255, 255, 255, 0.4); }

/* ============================================================
   理念（減・省・革）
   ============================================================ */
.philo-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid var(--line-dark); }
.philo-col { padding: 52px 40px 12px; border-left: 1.5px solid var(--line-dark); }
.philo-col:first-child { border-left: none; padding-left: 4px; }
.philo-col .ph-role { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-3); }
.philo-col .ph-kanji {
  margin-top: 18px; font-size: 44px; font-weight: 900; line-height: 1;
  display: inline-block; position: relative;
}
.philo-col .ph-kanji::after {
  content: ""; position: absolute; left: -8%; right: -8%; bottom: -8px; height: 3.5px;
  background: var(--coral); border-radius: 2px; transform: rotate(-2deg);
}
.philo-col h3 { margin-top: 32px; font-size: 19px; font-weight: 900; line-height: 1.7; }
.philo-col p { margin-top: 14px; font-size: 14px; color: var(--ink-2); }

/* 代表ひとこと（トップは言葉だけ。写真は会社情報ページの1箇所のみ） */
.ceo-quote-block { margin-top: 104px; padding-top: 72px; border-top: 1.5px solid var(--line-dark); }
.ceo-quote-block .ceo-quote { font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; line-height: 1.6; letter-spacing: 0.03em; }
.ceo-quote-block .cq-foot { margin-top: 28px; display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.ceo-quote-block .ceo-sign { font-size: 13.5px; color: var(--ink-2); }
.ceo-quote-block .ceo-sign strong { font-size: 15.5px; color: var(--ink); margin-left: 10px; }

/* ============================================================
   ニュース
   ============================================================ */
.news-list { border-top: 1.5px solid var(--line-dark); }
.news-item {
  display: grid; grid-template-columns: 130px 140px 1fr; gap: 28px; align-items: center;
  padding: 30px 8px; border-bottom: 1.5px solid var(--line-dark); transition: background 0.25s;
}
.news-item:hover { background: rgba(255, 255, 255, 0.65); }
.news-item .n-date { font-family: "Inter", var(--font); font-size: 14px; color: var(--ink-3); font-feature-settings: "tnum"; }
.news-item .n-cat {
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  border: 1.5px solid var(--line-dark); border-radius: 100px; padding: 4px 16px;
  text-align: center; white-space: nowrap; justify-self: start;
}
.news-item .n-title { font-size: 15.5px; font-weight: 500; }

/* ============================================================
   CTA（墨面）
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.cta-band h2 { font-size: clamp(28px, 3.8vw, 46px); font-weight: 900; line-height: 1.6; }
.cta-band p { margin-top: 18px; font-size: 15.5px; color: #b7b0a4; max-width: 560px; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cta-band .cta-sub { font-size: 14px; color: #d8d2c6; position: relative; padding-bottom: 3px; }
.cta-band .cta-sub::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--coral); border-radius: 2px; transform: rotate(-1.2deg) scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.cta-band .cta-sub:hover::after { transform: rotate(-1.2deg) scaleX(1); }

/* ============================================================
   フッター（墨）
   ============================================================ */
.site-footer { background: var(--sumi); color: #b7b0a4; padding: 88px 0 44px; border-top: 1px solid var(--sumi-2); }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto auto; gap: 72px; }
.footer-brand img { height: 24px; width: auto; }
.footer-brand p { margin-top: 20px; font-size: 13.5px; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; color: #7d766a; letter-spacing: 0.16em; margin-bottom: 20px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 14.5px; color: #d8d2c6; transition: color 0.2s; }
.footer-col a:hover { color: var(--coral); }
.footer-col .ext { font-size: 11px; color: #7d766a; margin-left: 6px; }
.footer-bottom {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid #38342c;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom small { font-size: 12px; color: #7d766a; }
.footer-bottom a { font-size: 12.5px; color: #b7b0a4; }
.footer-bottom a:hover { color: var(--coral); }

/* ============================================================
   下層共通
   ============================================================ */
.page-hero { padding: 104px 0 88px; }
.page-hero .brk { margin-bottom: 26px; }
.page-hero h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 900; line-height: 1.4; letter-spacing: 0.02em; }
.page-hero .lead { margin-top: 26px; font-size: 16px; color: var(--ink-2); max-width: 700px; }

/* 事業内容ページ */
.svc-block { padding: 120px 0; }
.svc-block .svc-head { display: flex; align-items: flex-start; gap: 32px; margin-bottom: 56px; }
.svc-block h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; line-height: 1.5; }
.svc-block .svc-lead { margin-top: 16px; font-size: 15.5px; color: var(--ink-2); max-width: 680px; }
.dev-points { border-top: 1.5px solid var(--line); }
.dev-points li { padding: 32px 4px; border-bottom: 1.5px solid var(--line); display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: baseline; }
.dev-points .dp-t { font-weight: 900; font-size: 19px; line-height: 1.6; }
.dev-points .dp-d { font-size: 14.5px; color: var(--ink-2); line-height: 2; }

/* 会社情報ページ */
.process-steps { border-top: 1.5px solid var(--line-dark); counter-reset: step; }
.process-steps li { display: grid; grid-template-columns: 72px 220px 1fr; gap: 28px; padding: 36px 8px; border-bottom: 1.5px solid var(--line-dark); align-items: center; }
.process-steps .st-t { font-size: 20px; font-weight: 900; }
.process-steps .st-d { font-size: 14.5px; color: var(--ink-2); }

.overview-table { border-top: 1.5px solid var(--line-dark); }
.overview-table dl { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--line-dark); }
.overview-table dt { padding: 26px 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.overview-table dd { padding: 26px 8px; font-size: 15px; }

.message-grid { display: grid; grid-template-columns: 320px 1fr; gap: 80px; align-items: start; }
.message-grid .ceo-photo { position: sticky; top: 130px; border-radius: 16px; overflow: hidden; transform: rotate(-1.2deg); }
.message-grid .ceo-photo img { filter: grayscale(12%); }
.message-body h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 900; line-height: 1.6; }
.message-body p { margin-top: 26px; font-size: 15.5px; color: #b7b0a4; }
.message-body .ceo-sign { margin-top: 32px; color: #b7b0a4; font-size: 14px; }
.message-body .ceo-sign strong { color: #f4f1ea; font-size: 16px; margin-left: 10px; }

/* お知らせページ */
.news-filter { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.news-filter button {
  font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--ink-2);
  background: none; border: 1.5px solid var(--line-dark); border-radius: 8px;
  padding: 10px 24px; cursor: pointer; transition: all 0.25s;
}
.news-filter button:hover { border-color: var(--coral); color: var(--coral); }
.news-filter button.is-active { background: var(--sumi); border-color: var(--sumi); color: var(--paper); }

/* お問い合わせページ */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 88px; align-items: start; }
.contact-aside h2 { font-size: 24px; font-weight: 900; line-height: 1.7; }
.contact-aside > p { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.aside-alt { margin-top: 36px; padding: 30px 32px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; }
.aside-alt h3 { font-size: 16px; font-weight: 900; }
.aside-alt p { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.aside-alt .tlink { margin-top: 16px; }

.form-panel { background: var(--panel); border: 1.5px solid var(--line); border-radius: 18px; padding: 56px; }
.form-row { margin-bottom: 30px; }
.form-row > label { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 12px; }
.form-row .req { color: var(--coral); font-size: 12px; margin-left: 8px; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"],
.form-row select, .form-row textarea {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  padding: 15px 18px; border: 1.5px solid var(--line-dark); border-radius: 10px; background: var(--paper);
  transition: border-color 0.25s, background 0.25s; -webkit-appearance: none; appearance: none;
}
.form-row select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6459' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--coral); background: #fff; }
.form-row textarea { min-height: 190px; resize: vertical; }
.radio-set { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-set label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; border: 1.5px solid var(--line-dark); border-radius: 8px;
  padding: 10px 20px; cursor: pointer; transition: all 0.2s; background: var(--paper);
}
.radio-set input { accent-color: var(--coral); }
.radio-set label:has(input:checked) { border-color: var(--coral); color: var(--coral-dark); background: var(--coral-pale); }
.form-consent { font-size: 13.5px; color: var(--ink-2); margin-bottom: 32px; }
.form-consent a { color: var(--coral); border-bottom: 1px solid currentColor; }
.form-proto-note { margin-top: 18px; font-size: 12.5px; color: var(--ink-3); }

/* プライバシー */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 20px; font-weight: 900; margin: 52px 0 16px; }
.legal-body p, .legal-body li { font-size: 14.5px; color: var(--ink-2); }
.legal-body ol { list-style: decimal; padding-left: 22px; }
.legal-body ol li { margin-top: 6px; }

/* ============================================================
   アニメーション（JS有効時のみ初期非表示）
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-shown { opacity: 1; transform: none; transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.3, 0, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  #loader { display: none; }
  html { scroll-behavior: auto; }
  .sys-slide { transition: none; }
  .sys-marquee-track { animation: none !important; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1100px) {
  :root { --sp: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero { padding: 64px 0 100px; }
  .statement-grid2 { grid-template-columns: 1fr; gap: 64px; }
  .hero-full { height: 78vh; min-height: 520px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-item:nth-child(odd) { border-right: none; padding-left: 4px; }
  .tech-item { padding-left: 4px; padding-right: 4px; }
  .tech-proof { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; gap: 48px; }
  .steps-h { grid-template-columns: 1fr 1fr; }
  .steps-h li { padding: 32px 20px 8px 20px; }
  .steps-h li:nth-child(odd) { border-left: none; padding-left: 4px; }
  .philo-cols { grid-template-columns: 1fr; border-top: none; }
  .philo-col { border-left: none; border-top: 1.5px solid var(--line-dark); padding: 40px 4px 8px; }
  .biz-item { grid-template-columns: 56px 1fr 56px; }
  .biz-item .bz-desc { grid-column: 2 / 3; grid-row: 2; }
  .ceo-strip { grid-template-columns: 1fr; gap: 40px; }
  .ceo-strip .ceo-photo { max-width: 240px; }
  .message-grid { grid-template-columns: 1fr; gap: 44px; }
  .message-grid .ceo-photo { position: static; max-width: 280px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  /* お問い合わせページはフォームを先頭に（診断カードで埋もれさせない） */
  .contact-grid .form-panel { order: -1; }
  .cta-band .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .dev-points li { grid-template-columns: 1fr; gap: 12px; }
  .process-steps li { grid-template-columns: 56px 1fr; }
  .process-steps .st-d { grid-column: 2; }
}

@media (max-width: 720px) {
  :root { --sp: 80px; }
  body { font-size: 15px; }
  .container, .container-wide, .header-inner { padding: 0 22px; }
  .header-inner { height: 72px; }
  .gnav {
    position: fixed; inset: 72px 0 auto 0; background: var(--paper);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 12px 22px 30px; border-bottom: 1.5px solid var(--line);
    display: none;
  }
  .gnav.is-open { display: flex; }
  .gnav a { padding: 15px 0; font-size: 16px; width: 100%; }
  .gnav .btn { margin-top: 14px; }
  .menu-toggle {
    display: block; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; position: relative;
  }
  .menu-toggle span { position: absolute; left: 10px; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: all 0.3s; }
  .menu-toggle span:nth-child(1) { top: 17px; }
  .menu-toggle span:nth-child(2) { top: 26px; }
  .menu-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
  .hero-board { padding: 30px 24px 26px; }
  .hero-note-chip { right: 4px; bottom: -20px; font-size: 12px; }
  .hero-full { margin-top: -72px; height: 72vh; min-height: 480px; }
  .hero-gen { height: 66vh; min-height: 460px; }
  .hero-inner { padding: 0 22px 72px; }
  .scroll-cue { right: 22px; height: 64px; }
  .task .tk-label { font-size: 14.5px; }
  br.sp-only { display: inline; }
  /* CTA見出し: 先頭セグメントが1行に収まらず「ら、」等が孤立するのを防ぐ */
  .cta-band h2 { font-size: clamp(23px, 6vw, 28px); letter-spacing: 0.01em; line-height: 1.7; }
  /* 診断ツール行: アイコン上揃え・見出し全幅・メタは下段に。窮屈な折返しを解消 */
  .tool-row { align-items: flex-start; column-gap: 16px; row-gap: 10px; flex-wrap: wrap; }
  .tool-row .hicon { margin-top: 2px; }
  .tool-row .tr-meta { flex-basis: 100%; padding-left: 52px; }
  /* モバイルでは各種アイコンを一回り小さく（ハンバーガーメニューは対象外） */
  .hicon { width: 34px; height: 34px; }
  .biz-item .bz-go { width: 44px; height: 44px; }
  .biz-item { padding: 32px 4px; gap: 20px; }
  /* 事業内容: 説明文を中央カラム押し込みでなく全幅に */
  .biz-item .bz-desc { grid-column: 1 / -1; }
  .news-item { grid-template-columns: 100px 1fr; row-gap: 8px; padding: 22px 4px; }
  .news-item .n-cat { grid-column: 2; justify-self: start; }
  .news-item .n-title { grid-column: 1 / -1; }
  .overview-table dl { grid-template-columns: 1fr; }
  .overview-table dt { padding-bottom: 0; }
  .form-panel { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .photo-band .pb-copy { bottom: 24px; }

  /* ── モバイル作り込み（レスポンシブ向上委員会） ───────────────── */

  /* 事業内容ブロック: 120pxの上下余白は空きすぎ。詰める */
  .svc-block { padding: 76px 0; }
  .svc-block .svc-head { display: block; margin-bottom: 36px; }
  /* アイコンは見出しの上に置き、見出し・リード・本文の左端を揃える
     （小アイコンが横で浮く／リードだけ字下げ、を解消） */
  .svc-block .svc-head .hicon { display: block; margin-bottom: 14px; }
  .svc-block .svc-lead { max-width: none; }

  /* プロダクトカード: 48pxの内側余白は過大 */
  .product-card { padding: 32px 24px 0; }

  /* メディア: 画像を先頭に（テキストの後に画像、を解消）。間隔も詰める */
  .media-grid { gap: 24px; }
  .media-grid .shot-frame { order: -1; }

  /* 実績サムネイル: 132px左寄せ縦積み → 全幅2列グリッドで右余白を埋める */
  .tech-proof { padding: 32px 22px; gap: 24px; margin-top: 48px; }
  .tech-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
  .tech-thumbs img { width: 100%; }

  /* CTA帯のボタン: 中途半端な幅の左寄せ → 全幅・中央 */
  .cta-band .cta-actions { align-items: stretch; }
  .cta-band .cta-actions .btn { width: 100%; justify-content: center; }
  .cta-band .cta-sub { text-align: center; }

  /* 代表写真: 左寄り → 中央寄せ */
  .message-grid .ceo-photo { margin-left: auto; margin-right: auto; }

  /* モバイル固定CTA: 下方スクロールで出現、CTA帯/フッター付近では退避（JS制御） */
  .m-cta {
    display: flex; gap: 10px; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(247, 244, 238, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(115%); transition: transform 0.35s cubic-bezier(0.3, 0, 0.2, 1);
  }
  .m-cta.is-visible { transform: none; }
  .m-cta a {
    flex: 1; display: inline-flex; align-items: center; justify-content: center;
    height: 52px; border-radius: 10px; font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  }
  .m-cta .m-cta-primary { flex: 1.7; background: var(--coral); color: #fff; }
  .m-cta .m-cta-sub { background: var(--panel); color: var(--ink); border: 1.5px solid var(--line-dark); }
}

/* ============================================================
   下層ヒーローの「剛の線」アクセント（静的・3本まで、やりすぎない）
   ============================================================ */
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 2; }
.ph-strokes {
  position: absolute; right: -48px; top: 44px; z-index: 1;
  width: min(500px, 42vw); height: auto; pointer-events: none;
}
@media (max-width: 720px) {
  .ph-strokes { width: 260px; right: -60px; top: 24px; opacity: 0.7; }
}

/* ============================================================
   お知らせ詳細
   ============================================================ */
.page-hero-slim { padding: 88px 0 64px; }
/* パンくず（お知らせ一覧への戻り導線） */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); transition: color 0.2s; }
.crumbs a:hover { color: var(--coral); }
.crumbs span { color: var(--ink-3); }
.news-meta { display: flex; align-items: center; gap: 16px; margin: 22px 0 18px; }
.news-meta .n-date { font-family: "Inter", var(--font); font-size: 14px; color: var(--ink-3); }
.news-meta .n-cat {
  font-size: 12px; font-weight: 700; color: var(--ink-2);
  border: 1.5px solid var(--line-dark); border-radius: 100px; padding: 4px 16px;
}
.news-single-title { font-size: clamp(26px, 3.4vw, 40px) !important; line-height: 1.6 !important; }
/* お知らせ詳細は読み物として本文カラムを中央に寄せる（左寄り・右余白過多を解消） */
body.single-news .page-hero .container,
body.single-news .sec-white .container { max-width: 880px; }
.news-body { font-size: 15.5px; }
.news-body > * + * { margin-top: 1.4em; }
.news-body h2 {
  font-size: 22px; font-weight: 900; margin-top: 2.6em;
  padding-left: 16px; border-left: 4px solid var(--coral); border-radius: 2px; line-height: 1.7;
}
.news-body h3 { font-size: 18px; font-weight: 700; margin-top: 2.2em; }
.news-body p { color: var(--ink-2); }
.news-body a { color: var(--coral); border-bottom: 1px solid currentColor; }
.news-body ul, .news-body ol { padding-left: 1.4em; color: var(--ink-2); }
.news-body ul { list-style: disc; }
.news-body ol { list-style: decimal; }
.news-body li + li { margin-top: 0.4em; }
.news-body img { border-radius: 12px; border: 1px solid var(--line); }
.news-body blockquote { border-left: 3px solid var(--line-dark); padding-left: 20px; color: var(--ink-2); }
.news-body strong { color: var(--ink); }
/* 本文中の図版（セミナー資料の抜粋など。本文はプラグインが .tcdce-body で包むため子孫セレクタで指定） */
.news-body figure { margin: 2.4em 0; }
.news-body figure img { width: 100%; }
.news-body figure figcaption { margin-top: 12px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.news-nav { margin-top: 80px; padding-top: 32px; border-top: 1.5px solid var(--line); }
.news-nav-links { display: flex; gap: 40px; flex-wrap: wrap; }

/* CF7の応答メッセージ等はcf7-custom.cssで整える */

/* ============================================================
   事業詳細ページ（/services/<slug>/）
   ============================================================ */

/* 事業ヒーロー: 左コピー / 右スクショ */
.svc-hero { padding: 40px 0 96px; }
.svc-hero .crumbs { margin-bottom: 30px; }
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.svc-hero-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; color: var(--ink-3); margin-bottom: 18px; }
.svc-hero-logo { height: 34px; margin-bottom: 26px; }
.svc-hero-logo img { height: 100%; width: auto; }
.svc-hero h1 { font-size: clamp(28px, 3.5vw, 46px); font-weight: 900; line-height: 1.4; letter-spacing: 0.02em; }
.svc-hero .lead { margin-top: 26px; font-size: 16px; color: var(--ink-2); max-width: 560px; }
.svc-hero-actions { margin-top: 40px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.svc-hero-shot img { width: 100%; height: auto; border-radius: 14px; border: 1.5px solid var(--line); }

/* FVに縦長のチャット画面を置くとき（SHIRITAI）。
   下の CLS 対策で .svc-hero-shot img に 16/10 のトリミングがかかっているため、
   実画像の比率で高さを予約し直したうえで、幅を頭打ちにして中央に置く。 */
.svc-hero-shot--panel { display: flex; justify-content: center; }
.svc-hero-shot.svc-hero-shot--panel img { max-width: 400px; aspect-ratio: 840 / 1026; object-fit: contain; }

/* システム画面スライドショー（開発FV: 制作物が2.8秒ごとに切り替わる） */
.sys-slideshow { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: var(--panel); box-shadow: 0 24px 60px -34px rgba(38, 35, 29, 0.5); }
.sys-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; }
.sys-slide.is-active { opacity: 1; }
.sys-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; border: none; border-radius: 0; display: block; }
.sys-slide figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(34, 31, 26, 0.82); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; padding: 6px 15px; border-radius: 100px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sys-progress { position: absolute; right: 14px; bottom: 16px; display: flex; gap: 6px; z-index: 2; }
.sys-progress span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); transition: all 0.4s; }
.sys-progress span.on { width: 20px; border-radius: 3px; background: var(--coral); }

/* フロー図の矢印を流れるように */
@keyframes flowArrow { 0%, 100% { transform: translateX(-2px); opacity: 0.5; } 50% { transform: translateX(3px); opacity: 1; } }

/* 制作物マーキー（トップ: システム画面が横に流れ続ける） */
.works-band { padding-bottom: 92px; }
.sys-marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.sys-marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; }
.sys-marquee:hover .sys-marquee-track { animation-play-state: paused; }
.sys-marquee-item { flex: none; width: 330px; position: relative; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: var(--panel); }
.sys-marquee-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; transition: transform 0.5s ease; }
.sys-marquee-item:hover img { transform: scale(1.03); }
.sys-marquee-item span { position: absolute; left: 12px; bottom: 12px; background: rgba(34, 31, 26, 0.82); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 13px; border-radius: 100px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 720px) { .sys-marquee-item { width: 250px; } }
.ext-ar { font-size: 0.82em; opacity: 0.85; }

/* 導入実績ロゴ帯 */
.client-logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 22px; align-items: center; padding: 6px 0 44px; border-bottom: 1.5px solid var(--line); }
.client-logos li { display: flex; align-items: center; justify-content: center; height: 44px; }
.client-logos img { max-height: 30px; max-width: 84%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: 0.72; transition: filter 0.3s, opacity 0.3s; }
.client-logos li:hover img { filter: none; opacity: 1; }

/* 数字 */
.svc-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 44px; }
.svc-facts--lg { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.svc-fact { padding: 6px 4px 6px 24px; border-left: 1.5px solid var(--line-dark); }
.svc-fact:first-child { border-left: none; padding-left: 4px; }
.svc-fact .n { display: block; font-family: "Inter", var(--font); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.1; }
.svc-fact .n .u { font-size: 0.42em; font-weight: 700; margin-left: 4px; color: var(--ink-2); letter-spacing: 0; }
.svc-facts--lg .svc-fact .n { color: var(--coral); }
.svc-fact .lbl { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-2); line-height: 1.6; }

/* 強み・機能グリッド（罫線で区切る。影は使わない） */
.svc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; background: var(--line); border: 1.5px solid var(--line); }
.svc-feature { background: var(--panel); padding: 40px 32px; }
.svc-feature .hicon { margin-bottom: 18px; }
.svc-feature .sf-badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--coral-dark); background: var(--coral-pale); border-radius: 100px; padding: 4px 13px; margin-bottom: 16px; letter-spacing: 0.02em; }
.svc-feature h3 { font-size: 18px; font-weight: 900; letter-spacing: 0.02em; }
.svc-feature p { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

/* 画像フレーム（課題→解決の墨面など） */
.shot-frame { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); }
.shot-frame img { display: block; width: 100%; }
.shot-frame--dark { border-color: rgba(255, 255, 255, 0.14); background: #1a1712; }

/* スクショギャラリー */
.shot-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.shot-gallery figure { border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.shot-gallery img { width: 100%; display: block; border-bottom: 1px solid var(--line); }
.shot-gallery figcaption { padding: 14px 18px; font-size: 13px; font-weight: 700; color: var(--ink-2); }

/* はじめかた: 3ステップ（既存steps-hを3列に） */
.steps-h.steps-3 { grid-template-columns: repeat(3, 1fr); }

/* 活用シーンのタグ */
.scene-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.scene-tags li { font-size: 14px; font-weight: 700; border: 1.5px solid var(--line-dark); border-radius: 100px; padding: 11px 24px; background: var(--panel); color: var(--ink); }
.scene-tags--feature li { background: transparent; }

/* 活用シーンカード（写真つき・URITAI） */
.scene-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.scene-card { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--panel); transition: border-color 0.3s; }
.scene-card:hover { border-color: var(--coral); }
.sc-photo { aspect-ratio: 16 / 9; overflow: hidden; }
.sc-photo img { width: 100%; height: 100%; object-fit: cover; }
.sc-body { padding: 26px 28px 30px; }
.sc-body h3 { font-size: 18px; font-weight: 900; }
.sc-body p { font-size: 14px; color: var(--ink-2); margin-top: 10px; }

/* URITAI: 3つの悩み */
.problem-list { display: grid; gap: 1.5px; background: var(--line); border: 1.5px solid var(--line); }
.problem-list li { background: var(--paper); display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 34px 30px; align-items: start; }
.problem-list .pl-no { font-family: "Inter", var(--font); font-size: 34px; font-weight: 800; color: var(--coral); line-height: 1; letter-spacing: -0.02em; }
.problem-list h3 { font-size: 17px; font-weight: 900; }
.problem-list p { font-size: 14px; color: var(--ink-2); margin-top: 8px; }

/* URITAI: 4つの効果（墨面） */
.effect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; background: #38342c; border: 1.5px solid #38342c; }
.effect-item { background: var(--sumi); padding: 34px 30px; }
.effect-item .ef-lead { display: inline-block; font-size: 17px; font-weight: 900; color: #f4f1ea; position: relative; padding-bottom: 6px; }
.effect-item .ef-lead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2.5px; background: var(--coral); border-radius: 2px; transform: rotate(-1.2deg); }
.effect-item p { margin-top: 16px; font-size: 14px; color: #b7b0a4; }

/* 開発: フロー図 */
/* 実際に動いているもの（自社サイトでの証拠） */
.proof { display: grid; grid-template-columns: 460px 1fr; gap: 68px; align-items: start; }
.proof + .proof { margin-top: 96px; padding-top: 96px; border-top: 1.5px solid var(--line); }
.proof--rev { grid-template-columns: 1fr 460px; }
.proof--rev .proof-body { order: 2; }
.proof-body .pf-no { font-family: "Inter", var(--font); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--coral); margin-top: 0; }
.proof-body h3 { margin-top: 14px; font-size: clamp(21px, 2.4vw, 27px); font-weight: 900; line-height: 1.55; }
.proof-body > p { margin-top: 18px; font-size: 14.5px; color: var(--ink-2); }
.proof-body .pf-try { font-weight: 700; color: var(--ink); }
.proof-body .tlink { margin-top: 26px; }
.pf-split { margin-top: 28px; }
.pf-split > div { padding: 18px 2px; border-top: 1px solid var(--line); }
.pf-split > div:last-child { border-bottom: 1px solid var(--line); }
.pf-split dt { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-3); }
.pf-split > div:first-child dt { color: var(--coral); }
.pf-split dd { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.proof-art { display: grid; gap: 22px; }
.proof-art .shot-frame img { aspect-ratio: auto; object-fit: contain; }
.proof-art figcaption { padding: 12px 16px; border-top: 1.5px solid var(--line); font-size: 12.5px; color: var(--ink-2); background: var(--paper); }

/* 開発: ショールーム */
.showroom-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.showroom-card { background: var(--panel); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.showroom-card:hover { border-color: var(--coral); }
.sr-media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.sr-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.showroom-card:hover .sr-cta { color: var(--coral); }
.sr-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.sr-industry { font-size: 12px; font-weight: 700; color: var(--coral); }
.sr-body h3 { font-size: 15.5px; font-weight: 900; margin-top: 7px; }
.sr-body p { font-size: 12.5px; color: var(--ink-2); margin-top: 8px; flex: 1; line-height: 1.8; }
.sr-cta { margin-top: 16px; font-size: 13px; font-weight: 700; transition: color 0.3s; }

/* 診断: 2つの診断カード */
.diag-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.diag-card { background: var(--panel); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.diag-card:hover { border-color: var(--coral); }
.dc-shot { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.dc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dc-body { padding: 32px 32px 28px; display: flex; flex-direction: column; flex: 1; }
.dc-tag { font-size: 13px; font-weight: 700; color: var(--coral); }
.dc-body h3 { font-size: 21px; font-weight: 900; margin-top: 10px; }
.dc-body > p { font-size: 14px; color: var(--ink-2); margin-top: 12px; }
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.dc-chips li { font-size: 12px; font-weight: 600; border: 1px solid var(--line-dark); border-radius: 100px; padding: 4px 12px; color: var(--ink-2); }
.dc-foot { margin-top: auto; padding-top: 22px; display: flex; justify-content: space-between; align-items: center; }
.dc-body .dc-chips + .dc-foot { margin-top: 24px; }
.dc-meta { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }

/* 開発: 診断への橋 */
/* 見積もりシミュレーション（4手順＋実画面） */
.sim { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }
.sim-steps { border-top: 1.5px solid var(--line-dark); }
.sim-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 26px 4px; border-bottom: 1.5px solid var(--line-dark); }
.sim-steps .ss-no { font-family: "Inter", var(--font); font-size: 34px; font-weight: 800; color: var(--coral); line-height: 1; letter-spacing: -0.02em; }
.sim-steps h3 { font-size: 18px; font-weight: 900; }
.sim-steps p { margin-top: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.9; }
.sim-art { display: grid; gap: 22px; }
.sim-art .shot-frame img { aspect-ratio: auto; object-fit: contain; }
.sim-art figcaption { padding: 12px 16px; border-top: 1.5px solid var(--line); font-size: 12.5px; color: var(--ink-2); background: var(--paper); }

/* 事業詳細のレスポンシブ */
@media (max-width: 1100px) {
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-hero-shot { order: -1; }
  .showroom-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-features { grid-template-columns: repeat(2, 1fr); }
  .diag-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .svc-hero { padding: 24px 0 64px; }
  .client-logos { grid-template-columns: repeat(2, 1fr); gap: 22px 24px; }
  .client-logos li { height: 40px; }
  .svc-facts { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .svc-facts--lg { grid-template-columns: 1fr; gap: 4px; }
  .steps-h.steps-3 { grid-template-columns: 1fr; }
  .steps-h.steps-3 li { border-left: none; border-top: 1.5px solid var(--line); padding: 28px 4px 8px; }
  .steps-h.steps-3 li:first-child { border-top: none; }
  .svc-features, .svc-features--3 { grid-template-columns: 1fr; }
  .shot-gallery { grid-template-columns: 1fr; }
  .scene-cards { grid-template-columns: 1fr; }
  .effect-grid { grid-template-columns: 1fr; }
  .showroom-grid { grid-template-columns: 1fr; max-width: 400px; }
  .problem-list li { grid-template-columns: 44px 1fr; gap: 16px; padding: 26px 20px; }
  .sim { grid-template-columns: 1fr; gap: 44px; }
}

/* サービス一覧: プロダクトカードの2リンク（詳細ページ / 外部サイト） */
.product-card .p-links { display: flex; gap: 22px; align-items: center; margin: 24px 0 32px; flex-wrap: wrap; }
.product-card .p-links .tlink { margin: 0; }
.tlink--ext { color: var(--ink-2); }
.tlink--ext::after { background: var(--line-dark); }

/* CLS対策: 画像枠のアスペクト比を確保し、読み込み時のレイアウトシフトを防ぐ */
.svc-hero-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-frame img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-gallery figure img { aspect-ratio: 16 / 11; object-fit: cover; object-position: top; }
.product-card .p-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

/* ============================================================
   SHIRITAI AIチャットボット起動ボタンとの共存（モバイル）
   固定CTA(.m-cta)は画面下いっぱいの帯。右下に浮くチャット起動ボタンと
   ボタン部分が重ならないよう、CTAの右側に起動ボタン分の余白を確保する。
   ============================================================ */
@media (max-width: 720px) {
  .m-cta { padding-right: 96px; }
}

/* ============================================================
   お知らせ: アイキャッチを本文冒頭にリード画像として表示
   ============================================================ */
.news-lead-figure { margin: 0 auto 46px; max-width: 620px; }
.news-lead-figure img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1.5px solid var(--line);
}
.news-lead-figure figcaption { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
/* 横長写真はそのまま全幅で見せる（縦長のみ上限で中央寄せ） */
.news-lead-figure.is-wide { max-width: none; }
@media (max-width: 720px) { .news-lead-figure { margin-bottom: 32px; } }

/* ============================================================
   お知らせ本文内: 資料ダウンロードボタン
   （news-body の a 既定色より優先させるため a.doc-dl で指定）
   ============================================================ */
.news-body a.doc-dl {
  display: flex; width: fit-content; align-items: center; justify-content: center; gap: 12px;
  margin: 1.6em auto; padding: 18px 40px;
  background: var(--coral); color: #fff; border: none; border-bottom: none;
  border-radius: 100px; font-weight: 700; font-size: 17px; letter-spacing: 0.02em;
  transition: background 0.25s;
}
.news-body a.doc-dl:hover { background: var(--coral-dark); color: #fff; }
.news-body a.doc-dl .ar { transition: transform 0.3s; }
.news-body a.doc-dl:hover .ar { transform: translateY(3px); }
@media (max-width: 560px) {
  .news-body a.doc-dl { width: 100%; box-sizing: border-box; padding: 17px 20px; font-size: 16px; }
}

/* ============================================================
   資料室（/downloads/）: 資料ダウンロードカード
   ============================================================ */
.dl-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 26px;
}
.dl-card {
  display: flex; flex-direction: column;
  border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden;
  background: #fff; transition: border-color 0.3s;
}
.dl-card:hover { border-color: var(--line-dark); }
.dl-card-cover {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden;
  border-bottom: 1.5px solid var(--line);
}
.dl-card-cover img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform 0.5s ease;
}
a.dl-card-cover:hover img { transform: scale(1.03); }
.dl-cover-fallback {
  font-family: "Inter", var(--font); font-size: 15px; font-weight: 800;
  letter-spacing: 0.1em; color: var(--ink-3);
}
.dl-badge {
  position: absolute; left: 12px; top: 12px;
  background: rgba(34, 31, 26, 0.82); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 100px;
}
.dl-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.dl-cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em;
  color: var(--coral-dark); background: var(--coral-pale);
  padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.dl-card-title { font-size: 16.5px; font-weight: 800; line-height: 1.5; color: var(--ink); }
.dl-card-desc { margin-top: 8px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.dl-card-foot {
  margin-top: auto; padding-top: 18px; display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.dl-meta { font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em; }
.dl-btn { padding: 11px 20px; font-size: 14px; }
.dl-btn .ar { transition: transform 0.3s; }
.dl-btn:hover .ar { transform: translateY(3px); }
.dl-soon { font-size: 12.5px; color: var(--ink-3); }
.dl-empty {
  text-align: center; padding: 60px 20px; border: 1.5px dashed var(--line-dark);
  border-radius: 16px; color: var(--ink-2);
}
.dl-empty p { margin-bottom: 24px; font-size: 15px; }
@media (max-width: 480px) {
  .dl-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   カード全体をクリック可能に
   主リンクを ::after でカード全面へ拡張し、画像・余白のどこを押しても
   その主リンクへ飛ぶ。カード内の別リンクは z-index で前面に残す。
   （すでに全体が <a> の biz-item / tool-row / showroom-card / news-item
     / sys-marquee-item はそのまま）
   ============================================================ */
.diag-card, .product-card, .tech-proof { position: relative; cursor: pointer; }
/* カード直下に敷く透明リンク＝画像・見出し・余白のどこを押しても主リンクへ */
.card-cover { position: absolute; inset: 0; z-index: 1; font-size: 0; }
/* カード内で独立して押したいリンク（外部サイト等）はオーバーレイより前面に */
.product-card .p-links .tlink--ext { position: relative; z-index: 2; }
.tech-proof > .btn { position: relative; z-index: 2; }
/* 画像ズームのフィードバック（コンテナは overflow:hidden 済み） */
.dc-shot img { transition: transform 0.5s ease; }
.diag-card:hover .dc-shot img { transform: scale(1.03); }
/* MONOSASHIプレビュー画像をリンク化したときの見た目維持 */
a.shot-frame { display: block; }
a.shot-frame img { transition: transform 0.5s ease; }
a.shot-frame:hover img { transform: scale(1.03); }

/* ============================================================
   AIネイティブ開発 / AI・DX伴走支援
   構造は罫線と余白で作る。影・グラデーション・アイコンタイルは使わない。
   ============================================================ */

/* セクションが多いページで、リズムを単調にしないための詰め版 */
.section--tight { padding: calc(var(--sp) * 0.66) 0; }

/* 結びの一行（墨帯）。1ページに2回まで */
.stmt-bar {
  margin-top: 52px; background: var(--sumi); color: #f4f1ea; border-radius: 10px;
  padding: 26px 34px; text-align: center; line-height: 1.7;
  font-size: clamp(17px, 2.2vw, 22px); font-weight: 900; letter-spacing: 0.04em;
}
.stmt-bar .maru { color: var(--coral); }

/* 課題リストの2列版（従来型開発の限界 / よくある状態） */
.problem-list--2 { grid-template-columns: 1fr 1fr; }

/* 従来 → これから（AIの位置づけの変化） */
.shift { display: grid; grid-template-columns: 1fr 68px 1fr; align-items: start; gap: 0; }
.shift-col { border-top: 3px solid var(--line-dark); padding: 22px 4px 0; }
.shift-col--now { border-top-color: var(--coral); }
.sh-when { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-3); }
.shift-col--now .sh-when { color: var(--coral); }
.sh-what { margin-top: 12px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 900; line-height: 1.5; }
.shift-col--now .sh-what { color: var(--coral-dark); }
.sh-body { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.shift-ar { display: flex; justify-content: center; padding-top: 44px; color: var(--line-dark); }
.shift-ar svg { width: 34px; }

/* 人間とAIの分担（AIネイティブ開発の定義図） */
.figscroll { margin-top: 56px; overflow-x: auto; }
.role-fig { width: 100%; min-width: 760px; height: auto; display: block; }
.fig-note { margin-top: 26px; font-size: 14.5px; color: var(--ink-2); }

/* 2つの関わり方（開発 / 伴走）— 事業内容ページで使用 */
.branch { display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid var(--line-dark); }
.branch-item { padding: 46px 46px 46px 4px; border-bottom: 1.5px solid var(--line-dark); display: flex; flex-direction: column; }
.branch-item + .branch-item { border-left: 1.5px solid var(--line-dark); padding: 46px 4px 46px 46px; }
.branch-kind { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--coral); }
.branch-item h3 { margin-top: 16px; font-size: clamp(21px, 2.6vw, 28px); font-weight: 900; line-height: 1.5; }
.branch-item .b-name { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.branch-item > p { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
.branch-fit { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; }
.branch-item .tlink { margin-top: auto; padding-top: 28px; align-self: flex-start; }

/* 提供のかたち（3つの関わり方＋土台） */
.offer-ways { border-top: 2px solid var(--ink); }
.offer-ways li {
  display: grid; grid-template-columns: 92px 300px 1fr; gap: 0 36px;
  padding: 40px 4px; border-bottom: 1.5px solid var(--line-dark); align-items: start;
}
.ow-no { font-family: "Inter", var(--font); font-size: 54px; font-weight: 800; color: var(--line-dark); line-height: 0.82; letter-spacing: -0.03em; }
.offer-ways h3 { font-size: clamp(20px, 2.3vw, 25px); font-weight: 900; line-height: 1.5; padding-top: 4px; }
.ow-body p { font-size: 14.5px; color: var(--ink-2); }
.ow-body .tlink { margin-top: 20px; }

/* 土台（実績と自社プロダクト） */
.found { margin-top: 92px; padding-top: 52px; border-top: 2px solid var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 0 80px; align-items: start; }
.fd-label { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-3); }
.fd-num {
  font-family: "Inter", var(--font); font-weight: 800; line-height: 0.84;
  font-size: clamp(96px, 11.5vw, 152px); letter-spacing: -0.045em; margin-top: 18px;
}
.fd-unit { font-family: var(--font); font-size: 0.2em; font-weight: 700; letter-spacing: 0.04em; margin-left: 14px; }
.fd-note { margin-top: 24px; font-size: 14.5px; color: var(--ink-2); max-width: 27em; }
.fd-list { display: flex; gap: 56px; margin-top: 24px; }
.fd-list img { height: 30px; width: auto; }
.fd-d { display: block; margin-top: 14px; font-size: 12.5px; color: var(--ink-2); line-height: 1.85; }
.fd-list a:hover .fd-d { color: var(--coral-dark); }

/* 引き受ける範囲（4領域） */
.scope-cols { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--line-dark); }
.scope-col { padding: 36px 26px 10px; border-left: 1.5px solid var(--line); }
.scope-col:first-child { border-left: none; padding-left: 4px; }
.scope-col:last-child { padding-right: 4px; }
.scope-col .scope-no { font-family: "Inter", var(--font); font-size: 58px; font-weight: 800; color: var(--line-dark); line-height: 1; letter-spacing: -0.03em; }
.scope-col h3 { margin-top: 14px; padding-top: 16px; border-top: 2px solid var(--ink); font-size: 19px; font-weight: 900; color: var(--coral-dark); }
.scope-col > p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.scope-list { margin-top: 20px; border-top: 1px solid var(--line); }
.scope-list li { font-size: 13.5px; padding: 11px 2px; border-bottom: 1px solid var(--line); }

/* 進め方（8ステップ＋期間帯） */
.proc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 26px; }
.proc-step { border-top: 2px solid var(--line-dark); padding: 18px 0 24px; }
.proc-step .n { font-family: "Inter", var(--font); font-size: 34px; font-weight: 800; color: var(--line-dark); line-height: 1; letter-spacing: -0.02em; }
.proc-step h3 { margin-top: 12px; font-size: 17px; font-weight: 900; }
.proc-step p { margin-top: 9px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; }
.proc-step.is-key { border-top-color: var(--coral); }
.proc-step.is-key h3 { color: var(--coral-dark); }
.proc-phases { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.proc-phase {
  background: var(--panel); border: 1px solid var(--line-dark); border-radius: 6px;
  padding: 12px 18px; font-size: 14px; font-weight: 700; text-align: center; letter-spacing: 0.03em;
}
.proc-phase .w { font-family: "Inter", var(--font); font-size: 13px; color: var(--ink-2); margin-right: 12px; }
.proc-phase.is-key { background: var(--coral-pale); border-color: #eec9c5; color: var(--coral-dark); }
.proc-phase.is-key .w { color: var(--coral-dark); }
.proc-block + .proc-block { margin-top: 40px; }
.proc-block .proc-phases { margin-top: 2px; }

/* セキュリティ: 実行環境の入れ子 */
.sec-grid { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start; }
.nest-fig { border: 1.5px solid var(--line-dark); border-radius: 14px; padding: 20px; background: var(--panel); }
.nest-fig .nl { font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; }
.nest-2 { margin-top: 16px; border: 1.5px solid var(--line-dark); border-radius: 11px; padding: 20px; }
.nest-3 { margin-top: 16px; border: 2px solid var(--coral); border-radius: 9px; background: var(--coral-pale); padding: 28px 20px; text-align: center; }
.nest-3 .nl { color: var(--coral-dark); font-size: 15.5px; }
.nest-cap { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); line-height: 1.8; }

/* 直るまでの流れ（検知→特定→修正→確認） */
.cycle-row { display: grid; grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr; align-items: stretch; }
.cycle-cell { border: 1.5px solid var(--line); border-radius: 10px; background: var(--panel); padding: 20px 16px; text-align: center; }
.cycle-cell .ct { font-size: 15px; font-weight: 900; }
.cycle-cell .cd { margin-top: 9px; font-size: 12.5px; color: var(--ink-2); line-height: 1.8; }
.cycle-ar { display: flex; align-items: center; justify-content: center; color: var(--coral); font-size: 16px; }
.cycle-foot { margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.dark .cycle-cell { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.16); }
.dark .cycle-cell .cd { color: #b7b0a4; }
.dark .cycle-foot { color: #b7b0a4; }

/* 納品時にお渡しするもの（墨面） */
.handover { border-top: 1px solid rgba(255, 255, 255, 0.16); }
.handover li { padding: 22px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.handover .ht { font-size: 16px; font-weight: 900; color: #f4f1ea; }
.handover .hd { margin-top: 8px; font-size: 13.5px; color: #b7b0a4; line-height: 1.85; }
.handover-lead { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: var(--coral); margin-bottom: 18px; }

/* 開発と伴走の比較 */
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { text-align: left; padding: 22px 22px; border-bottom: 1.5px solid var(--line); font-size: 14.5px; vertical-align: top; }
.cmp-table thead th { font-size: 16px; font-weight: 900; padding-top: 0; padding-bottom: 18px; border-bottom: 1.5px solid var(--line-dark); }
.cmp-table tbody th { width: 210px; font-size: 14px; font-weight: 700; color: var(--ink-2); padding-left: 4px; }
.cmp-table .is-this { background: var(--coral-pale); }
.cmp-table thead .is-this { color: var(--coral-dark); }
.cmp-note { margin-top: 26px; font-size: 14px; color: var(--ink-2); }

/* よくあるご質問 */
.faq-list { border-top: 1.5px solid var(--line-dark); }
.faq-list details { border-bottom: 1.5px solid var(--line-dark); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 28px 52px 28px 4px; font-size: 17px; font-weight: 900; line-height: 1.7;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before,
.faq-list summary::after { content: ""; position: absolute; right: 10px; top: 50%; background: var(--ink); border-radius: 1px; }
.faq-list summary::before { width: 16px; height: 2px; transform: translateY(-50%); }
.faq-list summary::after { width: 2px; height: 16px; margin-right: 7px; background: var(--coral); transform: translateY(-50%); transition: transform 0.25s; }
.faq-list details[open] summary::after { transform: translateY(-50%) scaleY(0); }
.faq-list summary:hover { color: var(--coral-dark); }
.faq-list .faq-a { padding: 0 20px 32px 4px; font-size: 14.5px; color: var(--ink-2); max-width: 860px; }

/* 3ヶ月の進み方（週割り） */
.gantt { margin-top: 4px; }
.gantt-row { display: grid; grid-template-columns: 220px repeat(12, 1fr); align-items: center; }
.gantt-row .gl { grid-column: 1; font-size: 14px; font-weight: 700; padding: 17px 16px 17px 4px; }
.gantt-row i { grid-row: 1; height: 10px; border-radius: 5px; background: var(--coral); }
.gantt-row i.g2 { background: #f2acad; }
.gantt-row .gwk { display: none; grid-row: 2; font-family: "Inter", var(--font); font-size: 12.5px; font-weight: 700; color: var(--coral-dark); }
.gantt-body .gantt-row { border-bottom: 1px solid var(--line); }
.gantt-body .gantt-row:first-child { border-top: 1.5px solid var(--line-dark); }
.gantt-months em, .gantt-weeks em { font-style: normal; text-align: center; }
.gantt-months { padding-bottom: 6px; }
.gantt-months em { grid-row: 1; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--panel); border-radius: 4px; padding: 7px 0; margin: 0 3px; }
.gantt-weeks { padding-bottom: 8px; }
.gantt-weeks em { grid-row: 1; font-family: "Inter", var(--font); font-size: 11px; color: var(--ink-3); }
.gantt-note { margin-top: 28px; font-size: 13.5px; color: var(--ink-2); }

/* 3つの段（伴走ヒーロー直下のまとめ） */
.stage-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--line-dark); margin-top: 56px; }
.stage-item { padding: 28px 30px 6px; border-left: 1.5px solid var(--line); }
.stage-item:first-child { border-left: none; padding-left: 4px; }
.stage-item .sg-n { font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--coral); }
.stage-item h2, .stage-item h3 { margin-top: 12px; font-size: 20px; font-weight: 900; letter-spacing: 0.04em; }
.stage-item > h3:first-child { margin-top: 0; }
.stage-item p { margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }

/* 定例のリズム */
.rhythm-rows { border-top: 1.5px solid var(--line-dark); }
.rhythm-rows li { display: grid; grid-template-columns: 240px 200px 1fr; gap: 24px; align-items: center; padding: 28px 4px; border-bottom: 1.5px solid var(--line-dark); }
.rhythm-rows .rh-when { font-size: 19px; font-weight: 900; }
.rhythm-rows .rh-how { font-size: 14px; font-weight: 700; color: var(--coral-dark); }
.rhythm-rows .rh-what { font-size: 14.5px; color: var(--ink-2); }

/* ============================================================
   AIネイティブ開発 / 伴走支援 のレスポンシブ
   ============================================================ */
@media (max-width: 1100px) {
  .branch { grid-template-columns: 1fr; }
  .branch-item { padding: 40px 4px; }
  .branch-item + .branch-item { border-left: none; padding: 40px 4px; }
  .offer-ways li { grid-template-columns: 64px 1fr; gap: 0 20px; }
  .offer-ways .ow-body { grid-column: 2; margin-top: 14px; }
  .found { grid-template-columns: 1fr; gap: 44px; align-items: start; }
  .fd-list { gap: 40px; }
  .proof { grid-template-columns: 1fr; gap: 40px; }
  .proof--rev .proof-body { order: 0; }
  .proof + .proof { margin-top: 64px; padding-top: 64px; }
  .scope-cols { grid-template-columns: 1fr 1fr; }
  .scope-col { padding: 32px 24px 10px; }
  .scope-col:nth-child(odd) { border-left: none; padding-left: 4px; }
  .proc-row { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .proc-phases { grid-template-columns: 1fr; gap: 8px; }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-grid .nest-fig { max-width: 420px; }
  .rhythm-rows li { grid-template-columns: 200px 1fr; row-gap: 6px; }
  .rhythm-rows .rh-what { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .cycle-row { grid-template-columns: 1fr; }
  .cycle-ar { transform: rotate(90deg); padding: 6px 0; }
  .gantt-row { grid-template-columns: 150px repeat(12, 1fr); }
  .gantt-row .gl { font-size: 13px; padding-right: 12px; }
}

@media (max-width: 720px) {
  .problem-list--2 { grid-template-columns: 1fr; }
  .scope-cols { grid-template-columns: 1fr; border-top: none; }
  .scope-col { border-left: none; border-top: 1.5px solid var(--line-dark); padding: 30px 4px 10px; }
  .scope-col:first-child { border-top: none; }
  .proc-row { grid-template-columns: 1fr; gap: 0; }
  .shift { grid-template-columns: 1fr; }
  .shift-ar { padding: 22px 0; transform: rotate(90deg); }
  .stage-strip { grid-template-columns: 1fr; margin-top: 40px; }
  .stage-item { border-left: none; border-top: 1.5px solid var(--line); padding: 24px 4px 6px; }
  .stage-item:first-child { border-top: none; padding-top: 22px; }
  .rhythm-rows li { grid-template-columns: 1fr; row-gap: 6px; padding: 24px 4px; }
  .rhythm-rows .rh-what { grid-column: 1; }
  .cmp-table { display: block; }
  .cmp-table thead { display: none; }
  .cmp-table tbody, .cmp-table tr, .cmp-table th, .cmp-table td { display: block; width: auto; }
  .cmp-table tbody tr { padding: 20px 0 8px; border-bottom: 1.5px solid var(--line-dark); }
  .cmp-table tbody th { padding: 0 0 12px; border-bottom: none; }
  .cmp-table tbody td { padding: 0 0 14px 0; border-bottom: none; }
  .cmp-table tbody td::before { content: attr(data-h); display: block; font-size: 12px; font-weight: 700; color: var(--coral); margin-bottom: 5px; letter-spacing: 0.06em; }
  .cmp-table .is-this { background: transparent; }
  /* 週の帯は狭幅では意味を失うので、期間を文字で出す */
  .gantt-row { grid-template-columns: 1fr; row-gap: 0; }
  .gantt-row .gl { padding: 16px 4px 4px; }
  .gantt-row i { display: none; }
  .gantt-row .gwk { display: block; padding: 0 4px 16px; }
  .gantt-months, .gantt-weeks { display: none; }
  .gantt-body .gantt-row:first-child { border-top: 1.5px solid var(--line-dark); }
  .stmt-bar { padding: 22px 22px; margin-top: 36px; }
  .faq-list summary { font-size: 16px; padding: 24px 44px 24px 4px; }
  .nest-fig { padding: 16px; }
  .nest-2 { padding: 16px; }
}
