/*
Theme Name: Three Zero Renewal
Theme URI: https://3-0inc.com/
Author: 株式会社3.0
Description: 株式会社3.0 コーポレートサイト リニューアルテーマ。AI導入・業務自動化・Web制作・DX支援を行うテクノロジーカンパニーとしてのブランドを表現するオリジナルテーマです。
Version: 1.2.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: three-zero-renewal
*/

/* =========================================================
   0. Design tokens
   ========================================================= */
:root {
  /* color */
  --bg:        #07090f;   /* ページ背景（最深部） */
  --bg-2:      #0b0f18;   /* セクション交互背景 */
  --surface:   #10141f;   /* カード面 */
  --surface-2: #161b29;   /* カードhover / 強調面 */
  --line:      rgba(148, 163, 195, 0.14);
  --line-strong: rgba(148, 163, 195, 0.28);
  --text:      #e9edf5;
  --text-sub:  #9aa3b8;
  --text-faint:#6b7488;
  --blue:      #4f7dff;
  --cyan:      #38c6f4;
  --purple:    #8b7cf6;
  --grad:      linear-gradient(96deg, var(--cyan) 0%, var(--blue) 52%, var(--purple) 100%);
  --glow-cyan: rgba(56, 198, 244, 0.16);
  --glow-purple: rgba(139, 124, 246, 0.14);

  /* type */
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-display: "Space Grotesk", "Noto Sans JP", sans-serif;
  --font-mono: "IBM Plex Mono", "Menlo", monospace;

  /* layout */
  --container: 1120px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 72px;
}

/* =========================================================
   1. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.92; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(79, 125, 255, 0.35); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* スクリーンリーダー用 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   2. Buttons / CTA
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); opacity: 1; }
.btn .arrow { font-family: var(--font-mono); font-size: 14px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 24px rgba(79, 125, 255, 0.32);
}
.btn-primary:hover { box-shadow: 0 10px 32px rgba(79, 125, 255, 0.45); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(56, 198, 244, 0.06); }

.btn-sm { padding: 11px 22px; font-size: 14px; }

/* =========================================================
   3. Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 9, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.brand .brand-mark {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand .brand-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-faint);
  letter-spacing: 0.14em;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.global-nav a {
  display: inline-block;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.global-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); opacity: 1; }
.global-nav li.is-current a { color: var(--text); }
.global-nav .nav-cta { margin-left: 10px; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   4. Hero（トップページ）
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 110px;
  overflow: hidden;
  /* ノードグリッド：画像を使わない抽象ビジュアル */
  background-image:
    radial-gradient(rgba(148, 163, 195, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 560px; height: 560px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, var(--glow-cyan), transparent 65%);
}
.hero::after {
  width: 520px; height: 520px;
  bottom: -240px; left: -160px;
  background: radial-gradient(circle, var(--glow-purple), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--cyan);
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.32;
  letter-spacing: 0.015em;
  font-weight: 800;
}
.hero-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin-top: 28px;
  max-width: 34em;
  font-size: 16px;
  color: var(--text-sub);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-meta {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}
.hero-meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ヒーロー右：パイプラインUIモック（CSSのみ） */
.hero-visual { position: relative; }
.mock-window {
  background: linear-gradient(180deg, rgba(22, 27, 41, 0.92), rgba(13, 17, 27, 0.92));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
}
.mock-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}
.mock-bar .mock-bar-label {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}
.mock-body { padding: 22px; display: grid; gap: 12px; }

.pipe-node {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
}
.pipe-node .pipe-icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 198, 244, 0.35), rgba(79, 125, 255, 0.35));
  border: 1px solid rgba(56, 198, 244, 0.4);
}
.pipe-node strong { display: block; font-size: 13.5px; line-height: 1.5; }
.pipe-node small { display: block; font-size: 11.5px; color: var(--text-faint); line-height: 1.5; }
.pipe-node .pipe-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--cyan);
  white-space: nowrap;
}
.pipe-link {
  width: 1px; height: 14px;
  margin-left: 32px;
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  opacity: 0.6;
}

/* =========================================================
   5. セクション共通
   ========================================================= */
.section { padding: 104px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--cyan); }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--cyan); }

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.45;
}
.section-lead { margin-top: 20px; color: var(--text-sub); font-size: 15.5px; }

/* スクロールフェードイン（JSで .is-visible を付与） */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* =========================================================
   6. Services カード
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }

.card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 18px 0 20px;
  background: linear-gradient(135deg, rgba(56, 198, 244, 0.16), rgba(139, 124, 246, 0.16));
  border: 1px solid rgba(56, 198, 244, 0.3);
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.7; }
.card h3 { font-size: 18px; margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--text-sub); }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* =========================================================
   7. Strength
   ========================================================= */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.strength-item {
  background: var(--bg-2);
  padding: 34px 30px;
}
.strength-item .strength-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--purple);
  display: block;
  margin-bottom: 14px;
}
.strength-item h3 { font-size: 16.5px; margin-bottom: 10px; }
.strength-item p { font-size: 13.5px; color: var(--text-sub); }

/* =========================================================
   8. Works
   ========================================================= */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }

/* 画像なしで成立するサムネイル（タイポ＋グラデーション） */
.work-thumb {
  position: relative;
  aspect-ratio: 16 / 8.2;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 140% at 85% 0%, rgba(56, 198, 244, 0.2), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(139, 124, 246, 0.2), transparent 55%),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
  background-image:
    radial-gradient(120% 140% at 85% 0%, rgba(56, 198, 244, 0.2), transparent 55%),
    radial-gradient(120% 140% at 0% 100%, rgba(139, 124, 246, 0.2), transparent 55%),
    radial-gradient(rgba(148, 163, 195, 0.14) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
}
.work-thumb .work-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.04em;
}
.work-thumb .work-logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.work-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 4px 12px;
}
.work-body h3 { font-size: 19px; }
.work-body p { font-size: 14px; color: var(--text-sub); flex: 1; }
.work-body .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--cyan);
}

/* 「実績追加予定」プレースホルダー */
.work-card.is-placeholder {
  border-style: dashed;
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--text-faint);
  font-size: 14px;
  text-align: center;
  background: transparent;
}
.work-card.is-placeholder:hover { transform: none; }

/* =========================================================
   9. Process
   ========================================================= */
.process-list {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.process-item {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.process-item::before {
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 14px;
}
.process-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-item p { font-size: 13.5px; color: var(--text-sub); }

/* =========================================================
   10. CTAバンド
   ========================================================= */
.cta-band { padding: 104px 0; }
.cta-box {
  position: relative;
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(79, 125, 255, 0.16), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(56, 198, 244, 0.5), transparent 30%, transparent 70%, rgba(139, 124, 246, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.cta-box p {
  margin: 20px auto 0;
  max-width: 36em;
  color: var(--text-sub);
  font-size: 15px;
}
.cta-box .btn { margin-top: 36px; }

/* =========================================================
   11. フッター
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { font-size: 20px; }
.footer-brand p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-sub);
  max-width: 30em;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: var(--text-sub); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
}
.footer-bottom .copyright { font-family: var(--font-mono); letter-spacing: 0.06em; }

/* =========================================================
   12. 下層ページ共通
   ========================================================= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 84px) 0 72px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background-image: radial-gradient(rgba(148, 163, 195, 0.13) 1px, transparent 1px);
  background-size: 34px 34px;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  top: -240px; right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow-cyan), transparent 65%);
  filter: blur(80px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 26px;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--text-faint); }
.page-title { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; }
.page-title .en {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--cyan);
  margin-bottom: 16px;
  font-weight: 500;
}
.page-lead { margin-top: 22px; max-width: 42em; color: var(--text-sub); font-size: 15.5px; }

/* =========================================================
   13. 会社概要：テーブル
   ========================================================= */
.company-table { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.company-table table { background: var(--surface); }
.company-table th,
.company-table td {
  padding: 22px 28px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 0; }
.company-table th {
  width: 220px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
}
.company-table td { color: var(--text); line-height: 1.9; }
.company-table td small { color: var(--text-faint); }

.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mvv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.mvv-card .mvv-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 16px;
}
.mvv-card h3 { font-size: 19px; margin-bottom: 12px; }
.mvv-card p { font-size: 14px; color: var(--text-sub); }

/* =========================================================
   14. 事業内容：詳細ブロック
   ========================================================= */
.service-block {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-of-type { border-bottom: 0; }
.service-block .service-id {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: block;
  margin-bottom: 16px;
}
.service-block h2 { font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; }
.service-block .service-desc { font-size: 15px; color: var(--text-sub); margin-bottom: 28px; }
.service-points { display: grid; gap: 12px; }
.service-points li {
  position: relative;
  padding: 16px 20px 16px 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
}
.service-points li::before {
  content: "";
  position: absolute;
  left: 20px; top: 24px;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--grad);
}
.service-points li b { color: var(--text); }
.service-points li span { color: var(--text-sub); }

/* =========================================================
   15. お問い合わせフォーム
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 { font-size: 22px; margin-bottom: 18px; }
.contact-info p { font-size: 14.5px; color: var(--text-sub); margin-bottom: 24px; }
.contact-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
  font-size: 13px;
  color: var(--text-sub);
}
.contact-note li { padding-left: 1.2em; text-indent: -1.2em; margin-bottom: 8px; }
.contact-note li::before { content: "—"; margin-right: 0.5em; color: var(--cyan); }
.contact-note li:last-child { margin-bottom: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
}
.form-row { margin-bottom: 26px; }
.form-row label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.form-row .req {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(96deg, var(--blue), var(--purple));
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 10px;
  vertical-align: 2px;
}
.form-row .opt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  padding: 2px 7px;
  margin-left: 10px;
  vertical-align: 2px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-jp);
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form select { appearance: none; -webkit-appearance: none; }
.contact-form ::placeholder { color: var(--text-faint); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(56, 198, 244, 0.18);
}
.contact-form textarea { min-height: 170px; resize: vertical; }
.form-privacy { font-size: 13px; color: var(--text-sub); margin-bottom: 26px; }
.form-privacy a { color: var(--cyan); text-decoration: underline; }
.form-submit .btn { width: 100%; }

/* Contact Form 7 のデフォルト出力にも馴染むように */
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7-not-valid-tip { color: #ff8da1; font-size: 12.5px; margin-top: 6px; }
.contact-form .wpcf7-response-output { border-radius: 10px; padding: 14px 18px; margin: 20px 0 0; border-color: var(--line-strong); }

/* =========================================================
   16. プライバシーポリシー
   ========================================================= */
.privacy-body { max-width: 800px; }
.privacy-body section { margin-bottom: 48px; }
.privacy-body h2 {
  font-size: 19px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.privacy-body h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 48px; height: 1px;
  background: var(--grad);
}
.privacy-body p, .privacy-body li { font-size: 14.5px; color: var(--text-sub); }
.privacy-body ul { display: grid; gap: 8px; margin-top: 12px; }
.privacy-body ul li { padding-left: 1.3em; text-indent: -1.3em; }
.privacy-body ul li::before { content: "・"; color: var(--cyan); }
.privacy-body .privacy-date { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); margin-top: 40px; }

/* =========================================================
   17. レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; }
  .card-grid, .process-list, .strength-grid, .mvv-grid { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; gap: 24px; padding: 52px 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .section, .cta-band { padding: 76px 0; }
  .hero { padding: calc(var(--header-h) + 64px) 0 80px; }

  /* ナビ：ハンバーガー化 */
  .nav-toggle { display: block; }
  .global-nav {
    position: fixed;
    inset: 0;
    z-index: 105;
    background: rgba(7, 9, 15, 0.96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .global-nav.is-open { opacity: 1; visibility: visible; }
  .global-nav ul { flex-direction: column; gap: 8px; text-align: center; }
  .global-nav a { font-size: 18px; padding: 12px 20px; }
  .global-nav .nav-cta { margin: 18px 0 0; }
  body.nav-locked { overflow: hidden; }

  .works-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 56px 24px; }
  .company-table th, .company-table td { display: block; width: 100%; padding: 16px 20px; }
  .company-table th { border-bottom: 0; padding-bottom: 4px; background: transparent; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 30px 22px; }
}

@media (max-width: 520px) {
  .card-grid, .process-list, .strength-grid, .mvv-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand { font-size: 19px; }
  .brand .brand-sub { display: none; }
}

/* =========================================================
   18. 実績紹介：代表者の開発実績
   ========================================================= */
.founder-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: start;
}
.founder-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
}
.founder-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 22px;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud li {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--text-sub);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 13px;
}
.founder-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-sub);
}
@media (max-width: 1024px) {
  .founder-grid { grid-template-columns: 1fr; }
}
