/*
Theme Name: Cocoon Child
Theme URI: https://bizmowa.com/jp/
Template: cocoon-master
Description: BizMOWA Corporate site — light/violet themed child theme based on Cocoon. Custom templates for HOME / Company / Services / Portfolio / Contact / Network.
Author: BizMOWA Co., Ltd.
Author URI: https://bizmowa.com/
Version: 2.0.0
Text Domain: bizmowa-corp
*/


/* =================================================================
   BizMOWA Corporate Site v4 — Light / White + Violet aurora spray
   v3.1 をベースに、紫スプレーを全セクションに展開
   2026-05-27
   ================================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-card: #ffffff;
  --border: #e5e7ec;
  --border-strong: #d1d5db;
  --text: #0f1419;
  --text-mid: #4a5260;
  --text-mute: #6b7280;
  --text-dim: #9aa0a8;
  --accent: #4338ca;          /* indigo, more vivid than navy */
  --accent-2: #635bff;        /* core violet — primary brand color */
  --accent-3: #8b5cf6;        /* lighter violet — gradient endpoint */
  --accent-glow: rgba(99, 91, 255, 0.18);
  --accent-soft: #eef0fb;
  --accent-bg: rgba(99, 91, 255, 0.06);
  --grad: linear-gradient(135deg, #4338ca 0%, #635bff 50%, #8b5cf6 100%);
  --max: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);
  --section-pad-y: clamp(80px, 12vw, 160px);
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04), 0 0 0 1px rgba(15, 20, 25, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 20, 25, 0.06), 0 0 0 1px rgba(15, 20, 25, 0.04);
  --shadow-lg: 0 20px 50px rgba(15, 20, 25, 0.10), 0 0 0 1px rgba(15, 20, 25, 0.04);
  --shadow-violet: 0 20px 50px rgba(99, 91, 255, 0.18), 0 0 0 1px rgba(99, 91, 255, 0.12);
  --ff-jp: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --ff-en: "Sora", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;   /* sticky header の高さ分、アンカー遷移時のオフセット */
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-jp);
  font-feature-settings: "palt" 1;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

main, header, footer, section { position: relative; z-index: 1; }

/* =================================================================
   v4: Edge-only soft spray
   セクションの左右端だけに薄く紫の靄を寄せる。
   セクション中央には何も置かない（読みやすさ優先）。
   ================================================================= */
.spray { position: relative; }
.spray::before, .spray::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 35vw;
  max-width: 480px;
  z-index: 0;
  pointer-events: none;
}
.spray > * { position: relative; z-index: 1; }

/* 左端と右端、互い違いに配置（セクションごとに方向を変えてリズム） */
.spray-services::before {
  left: -8vw;
  background: radial-gradient(ellipse 100% 50% at 0% 30%, rgba(99, 91, 255, 0.10), transparent 70%);
}
.spray-services::after {
  right: -8vw;
  background: radial-gradient(ellipse 100% 50% at 100% 70%, rgba(139, 92, 246, 0.08), transparent 70%);
}
.spray-why::before {
  left: -8vw;
  background: radial-gradient(ellipse 100% 55% at 0% 65%, rgba(139, 92, 246, 0.10), transparent 70%);
}
.spray-why::after {
  right: -8vw;
  background: radial-gradient(ellipse 100% 50% at 100% 25%, rgba(99, 91, 255, 0.09), transparent 70%);
}
.spray-portfolio::before {
  left: -8vw;
  background: radial-gradient(ellipse 100% 45% at 0% 50%, rgba(99, 91, 255, 0.08), transparent 70%);
}
.spray-portfolio::after {
  right: -8vw;
  background: radial-gradient(ellipse 100% 45% at 100% 50%, rgba(139, 92, 246, 0.08), transparent 70%);
}
.spray-process::before {
  left: -8vw;
  background: radial-gradient(ellipse 100% 50% at 0% 50%, rgba(139, 92, 246, 0.08), transparent 70%);
}
.spray-process::after {
  right: -8vw;
  background: radial-gradient(ellipse 100% 50% at 100% 50%, rgba(99, 91, 255, 0.08), transparent 70%);
}

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

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-2); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.section { padding-top: var(--section-pad-y); padding-bottom: var(--section-pad-y); }
.section + .section { padding-top: 0; }

.eyebrow {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

h1, h2, h3, h4 { font-family: var(--ff-jp); font-weight: 700; letter-spacing: -0.015em; line-height: 1.4; color: var(--text); }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
h3 { font-size: clamp(18px, 2vw, 22px); margin-bottom: 8px; }
p { color: var(--text-mid); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p.lead { color: var(--text-mid); font-size: 16px; line-height: 1.95; margin-top: 14px; }

/* -----------------------------------------------------------------
   Header (sticky, light glassmorphic)
   ----------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.brand .en { font-family: var(--ff-en); font-size: 12px; letter-spacing: 0.22em; color: var(--text-dim); line-height: 1; }
.brand .jp { font-weight: 700; font-size: 21px; color: var(--text); line-height: 1; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: 32px; align-items: center; }
.site-nav a { color: var(--text-mid); font-size: 14px; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.nav-cta {
  background: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background-position .3s;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.30);
}
.nav-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(99, 91, 255, 0.42);
  color: #ffffff !important;
}
@media (max-width: 720px) { .site-nav a:not(.nav-cta) { display: none; } }

/* -----------------------------------------------------------------
   Hero — typography-led with side image
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 5%,  rgba(99, 91, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 85%,  rgba(139, 92, 246, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(67, 56, 202, 0.06), transparent 70%),
    var(--bg);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 20, 25, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 20, 25, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) { .hero-inner { grid-template-columns: 1fr; gap: 40px; } }

.hero h1 {
  font-size: clamp(34px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 28px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 4px;
  background: var(--grad);
  border-radius: 4px;
  opacity: 0.25;
  filter: blur(2px);
}
.hero .lead {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  border: 1px solid transparent;
  font-family: var(--ff-jp);
  cursor: pointer;
}
.button.primary {
  background: var(--grad);
  background-size: 200% 100%;
  background-position: 0% 50%;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.28), 0 0 0 1px rgba(99, 91, 255, 0.20);
}
.button.primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 36px rgba(99, 91, 255, 0.40), 0 0 0 1px rgba(99, 91, 255, 0.30);
  color: #ffffff;
}
.button.ghost {
  background: #ffffff;
  color: var(--text);
  border-color: var(--border-strong);
}
.button.ghost:hover { background: var(--accent-bg); color: var(--accent-2); border-color: var(--accent-2); }
.button .arrow { font-size: 16px; transition: transform .2s; }
.button:hover .arrow { transform: translateX(3px); }

/* Hero visual — Azabudai Hills as side card */
.hero-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 14, 26, 0.55), transparent 55%),
    linear-gradient(135deg, rgba(99, 91, 255, 0.12), transparent 50%);
}
.hero-visual .badge {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: #fff;
  z-index: 2;
}
.hero-visual .badge .label {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-visual .badge .label::before {
  content: ""; width: 18px; height: 2px; background: #fff; border-radius: 2px; opacity: 0.7;
}
.hero-visual .badge .name { font-size: 19px; font-weight: 700; margin-top: 6px; letter-spacing: 0.01em; }

/* -----------------------------------------------------------------
   Trust strip — clean numbers row
   ----------------------------------------------------------------- */
.trust {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px var(--pad-x);
}
.trust-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
@media (max-width: 720px) { .trust-inner { grid-template-columns: repeat(2, 1fr); } }
.trust-item .num {
  font-family: var(--ff-en);
  font-size: clamp(32px, 4.4vw, 48px);
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  letter-spacing: -0.025em;
  line-height: 1;
}
.trust-item .label { font-size: 13px; color: var(--text-mute); margin-top: 10px; display: block; font-weight: 500; }
.trust { background:
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-bg), transparent 70%),
    var(--bg-soft);
}

/* -----------------------------------------------------------------
   Services
   ----------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm);
}
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
}
.service-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 100% 0%, rgba(99,91,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 91, 255, 0.30);
  box-shadow: var(--shadow-violet);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-card .num {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
}
.service-card h3 { color: var(--text); }
.service-card p { color: var(--text-mid); font-size: 14.5px; margin-top: 10px; line-height: 1.85; }
.service-card .tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 20px;
}
.service-card .tag {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text-mute);
  font-family: var(--ff-en);
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
}

/* -----------------------------------------------------------------
   Why BizMOWA
   ----------------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) { .why { grid-template-columns: 1fr; gap: 40px; } }
.why-list { display: flex; flex-direction: column; gap: 28px; }
.why-item { padding-left: 28px; border-left: 1px solid var(--border-strong); position: relative; }
.why-item::before {
  content: ""; position: absolute; left: -1.5px; top: 8px;
  width: 3px; height: 32px;
  background: var(--grad);
  border-radius: 3px;
  box-shadow: 0 0 12px rgba(99, 91, 255, 0.40);
}
.why-item h3 { color: var(--text); }
.why-item p { color: var(--text-mid); font-size: 14.5px; margin-top: 6px; line-height: 1.9; }

/* -----------------------------------------------------------------
   Portfolio teaser
   ----------------------------------------------------------------- */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 880px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.pf-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
  display: block;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.pf-card:hover {
  border-color: rgba(99, 91, 255, 0.40);
  transform: translateY(-3px);
  box-shadow: var(--shadow-violet);
  color: inherit;
}
.pf-card .pf-num {
  font-family: var(--ff-en);
  font-size: 64px;
  font-weight: 200;
  background: linear-gradient(135deg, rgba(99,91,255,0.20), rgba(139,92,246,0.10));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  position: absolute; top: 2px; right: 14px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.pf-card h3 { font-size: 17px; }
.pf-card p { color: var(--text-mute); font-size: 13px; margin-top: 8px; }

/* -----------------------------------------------------------------
   Process steps
   ----------------------------------------------------------------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 880px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }
.step { counter-increment: step; position: relative; padding-top: 36px; }
.step::before {
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--ff-en);
  font-size: 14px;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.15em;
}
.step::after {
  content: "";
  position: absolute; top: 10px; left: 36px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(99,91,255,0.30), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 17px; }
.step p { color: var(--text-mute); font-size: 14px; margin-top: 8px; line-height: 1.85; }

/* -----------------------------------------------------------------
   CTA banner
   ----------------------------------------------------------------- */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(99, 91, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 70% at 20% 80%, rgba(139, 92, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(67, 56, 202, 0.08), transparent 70%),
    var(--bg-soft);
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 24px;
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  margin: var(--section-pad-y) var(--pad-x);
  max-width: var(--max);
  margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow-violet);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: var(--grad);
}
.cta-banner h2 { font-size: clamp(24px, 3.2vw, 36px); margin-bottom: 16px; color: var(--text); }
.cta-banner p { color: var(--text-mid); font-size: 15px; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* -----------------------------------------------------------------
   Footer
   ----------------------------------------------------------------- */
.site-footer {
  background: #fafbfc;
  border-top: 1px solid var(--border);
  padding: 64px var(--pad-x) 32px;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-brand .jp { font-size: 18px; font-weight: 700; color: var(--text); }
.footer-brand .en { font-family: var(--ff-en); font-size: 12px; letter-spacing: 0.2em; color: var(--text-dim); margin-top: 4px; }
.footer-brand address { font-style: normal; color: var(--text-mid); font-size: 13px; margin-top: 20px; line-height: 1.9; }
.footer-brand .corp-num { color: var(--text-dim); font-size: 12px; font-family: var(--ff-en); margin-top: 12px; letter-spacing: 0.04em; }
.footer-col h4 { font-size: 11px; font-family: var(--ff-en); letter-spacing: 0.18em; color: var(--text-dim); margin-bottom: 16px; text-transform: uppercase; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-mid); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.copyright { text-align: center; color: var(--text-dim); font-size: 12px; font-family: var(--ff-en); letter-spacing: 0.1em; padding-top: 32px; }

/* =================================================================
   v4 sub-pages: 会社概要 / サービス / ポートフォリオ / お問い合わせ
   ================================================================= */

/* サブページ用ヒーロー（HEROフル背景ではなく、控えめなタイトルブロック） */
.hero-sub {
  position: relative;
  padding-top: 180px;
  padding-bottom: 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 85% 10%, rgba(99, 91, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 90%, rgba(139, 92, 246, 0.14), transparent 60%),
    var(--bg);
}
.hero-sub .breadcrumb {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.hero-sub .breadcrumb a { color: var(--text-mute); }
.hero-sub .breadcrumb a:hover { color: var(--accent-2); }
.hero-sub h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 16px;
}
.hero-sub h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub .sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.9;
}

/* 会社情報テーブル */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-table tr { border-bottom: 1px solid var(--border); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td {
  text-align: left;
  padding: 22px 28px;
  font-size: 15px;
  line-height: 1.7;
  vertical-align: top;
}
.info-table th {
  width: 220px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.info-table td { color: var(--text); }
@media (max-width: 720px) {
  .info-table th, .info-table td { display: block; width: 100%; padding: 16px 20px; }
  .info-table th { border-right: none; border-bottom: 1px solid var(--border); }
}

/* サービス詳細カード（拡張版） */
.service-detail {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .service-detail { grid-template-columns: 1fr; padding: 32px; gap: 24px; } }
.service-detail::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--grad);
}
.service-detail .num {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  display: inline-block;
}
.service-detail h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.service-detail .desc { color: var(--text-mid); font-size: 15px; line-height: 1.9; margin-bottom: 20px; }
.service-detail .scope-title {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent-2);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.service-detail ul.deliverables {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
}
.service-detail ul.deliverables li {
  padding-left: 24px;
  position: relative;
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.service-detail ul.deliverables li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.service-detail .sidebox {
  background: var(--accent-bg);
  border: 1px solid rgba(99, 91, 255, 0.18);
  border-radius: 10px;
  padding: 24px;
}
.service-detail .sidebox h4 {
  font-size: 12px;
  font-family: var(--ff-en);
  letter-spacing: 0.18em;
  color: var(--accent-2);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}
.service-detail .sidebox p { font-size: 14px; color: var(--text-mid); line-height: 1.85; }

/* ポートフォリオ詳細カード */
.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.portfolio-item::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--grad);
}
.portfolio-item .num {
  font-family: var(--ff-en);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
  display: inline-block;
}
.portfolio-item h2 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; }
.portfolio-item .desc { color: var(--text-mid); font-size: 15px; line-height: 1.9; margin-bottom: 24px; }
.portfolio-item .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 720px) { .portfolio-item .features { grid-template-columns: 1fr; } }
.portfolio-item .feature {
  padding: 16px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.portfolio-item .feature h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.portfolio-item .feature p { font-size: 13px; color: var(--text-mid); line-height: 1.7; }

/* お問い合わせフォーム ラッパー */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: var(--grad);
}
.contact-form-placeholder {
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  color: var(--text-mute);
  font-size: 13px;
  line-height: 1.9;
  font-family: var(--ff-en);
}
.contact-form-placeholder code { color: var(--accent-2); font-size: 12px; }

.contact-side {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-side h3 { font-size: 15px; margin-bottom: 16px; }
.contact-side .item { padding: 14px 0; border-bottom: 1px solid var(--border); }
.contact-side .item:last-child { border-bottom: none; }
.contact-side .item .label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  font-family: var(--ff-en);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.contact-side .item .value { font-size: 14px; color: var(--text); line-height: 1.7; }

/* Vision 2 列 */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .vision-grid { grid-template-columns: 1fr; gap: 32px; } }
.vision-card {
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.vision-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad);
}
.vision-card h3 { font-size: 22px; margin-bottom: 12px; }
.vision-card p { color: var(--text-mid); font-size: 15px; line-height: 1.9; }

/* ポートフォリオ詳細カードに横長スクショサムネを上部に追加 */
.portfolio-item { padding: 0; overflow: hidden; }
.portfolio-item .thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
  position: relative;
}
.portfolio-item .thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .4s ease;
}
.portfolio-item:hover .thumb img { transform: scale(1.02); }
.portfolio-item .body { padding: 36px 40px 40px; }
@media (max-width: 720px) { .portfolio-item .body { padding: 28px 24px 32px; } }
