/* ═══════════════════════════════════════════════════════
   INFINISPARK 共通スタイル
   旧HPのデザインシステム（配色・フォント・余白・アニメーション）を継承
   全ページ（index / services / security / faq）で共用
═══════════════════════════════════════════════════════ */

/* ── VARIABLES & RESET ── */
:root {
  --black:   #080e1a;
  --dark:    #0f1d35;
  --dark2:   #172340;
  --dark3:   #1e2d4f;
  --white:   #ffffff;
  --off:     #f4f6f9;
  --red:     #c0392b;
  --red2:    #e04030;
  --accent:  #4a7fa8;
  --accent2: #5e93bc;
  --gray:    #7a8599;
  --gray2:   #b8c0cc;
  --border:  #dde3ed;
  --navy:    #0f1d35;
  --blue:    #4a7fa8;

  --font-disp: 'Syne', sans-serif;        /* 大文字英字専用（小文字は使わない） */
  --font-disp2: 'Space Grotesk', 'Noto Sans JP', sans-serif; /* 大小混在の英字見出し用 */
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── LOADING SCREEN ── */
#loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  cursor: pointer;
}
#loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-skip {
  position: absolute;
  bottom: 36px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  opacity: 0;
  animation: loadFade 0.5s ease forwards 1.2s;
}
.loading-title {
  font-family: var(--font-disp);
  font-size: clamp(16px, 3vw, 24px);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
  opacity: 0;
  animation: loadFade 0.5s ease forwards 0.2s;
}
.loading-sub {
  font-family: var(--font-body);
  font-size: clamp(12px, 2vw, 16px);
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-top: 12px;
  opacity: 0;
  animation: loadFade 0.5s ease forwards 0.5s;
}
.loading-bar {
  width: 120px;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-top: 28px;
  position: relative;
  overflow: hidden;
}
.loading-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #c0392b;
  transform: scaleX(0);
  transform-origin: left;
  animation: loadBar 1.2s ease forwards 0.3s;
}
@keyframes loadFade {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes loadBar {
  0%   { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
/* サブページ（白背景ヒーロー無し）は最初から light 表示 */
nav.nav-light {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}
.nav-logo {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.4s;
}
nav.scrolled .nav-logo, nav.nav-light .nav-logo { color: var(--dark); }
.nav-logo em {
  font-style: normal;
  color: var(--dark);
  -webkit-text-stroke: 1.5px var(--white);
  paint-order: stroke fill;
}
nav.scrolled .nav-logo em, nav.nav-light .nav-logo em {
  color: var(--white);
  -webkit-text-stroke: 1.5px var(--dark);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-disp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
nav.scrolled .nav-links a, nav.nav-light .nav-links a { color: var(--gray); }
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a:hover, nav.nav-light .nav-links a:hover { color: var(--dark); }
.nav-cta {
  font-family: var(--font-disp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--white);
  color: var(--dark) !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: rgba(255,255,255,0.85); transform: translateY(-1px); }
nav.scrolled .nav-cta, nav.nav-light .nav-cta {
  background: var(--dark);
  color: var(--white) !important;
}
nav.scrolled .nav-cta:hover, nav.nav-light .nav-cta:hover { background: var(--dark3); }

/* ── ハンバーガーボタン ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s;
}
nav.scrolled .nav-hamburger span, nav.nav-light .nav-hamburger span { background: var(--dark); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── ドロワー ── */
.nav-drawer {
  display: block;
  position: fixed;
  top: 72px;
  right: 0;
  width: min(320px, 85vw);
  height: calc(100vh - 72px);
  background: var(--dark);
  z-index: 150;
  transform: translateX(110%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), visibility 0.35s;
  overflow-y: auto;
  padding: 32px 0;
}
.nav-drawer.open { transform: translateX(0); visibility: visible; }
.nav-drawer-links { list-style: none; display: flex; flex-direction: column; }
.nav-drawer-links li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.nav-drawer-links a {
  display: block;
  padding: 18px 32px;
  font-family: var(--font-disp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s, background 0.2s;
}
.nav-drawer-links a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-drawer-cta {
  margin: 24px 32px 0;
  display: block !important;
  padding: 14px 24px !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  text-align: center;
  border-radius: 3px;
  font-size: 12px !important;
  letter-spacing: 0.1em !important;
}
.nav-drawer-cta:hover { background: var(--accent2) !important; }

/* ── オーバーレイ ── */
.nav-overlay {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
  pointer-events: none;
}
.nav-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

@media (max-width: 1080px) {
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }
}

/* ── HERO（トップ） ── */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 150px 0 120px;
  background: linear-gradient(135deg, var(--black) 0%, #0d1a30 50%, #122040 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  0%   { transform: translate(0,0); }
  100% { transform: translate(80px,80px); }
}
.hero-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.hero-glow1 {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,127,168,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: glowPulse 6s ease-in-out infinite alternate;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,127,168,0.08) 0%, transparent 70%);
  bottom: 100px; left: 10%;
  animation: glowPulse 8s ease-in-out infinite alternate-reverse;
}
@keyframes glowPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.2); opacity: 1; }
}
.hero-inner {
  position: relative;
  padding: 0 80px;
  max-width: 1240px;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--white); }
.hero-eyebrow span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-h1 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, 68px);
  line-height: 1.25;
  color: var(--white);
  letter-spacing: 0.01em;
  opacity: 0;
}
.hero-h1 .accent-word { color: var(--accent2); }
.hero-sub {
  margin-top: 36px;
  max-width: 620px;
  opacity: 0;
}
.hero-sub .hero-copy {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.9;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
}
.hero-sub p {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.0;
  color: rgba(255,255,255,0.55);
}
.hero-badges {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero-badges li {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 12px;
  white-space: nowrap;
}
.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  opacity: 0;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  background: var(--white);
  color: var(--dark);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}
.btn-primary:hover { background: rgba(255,255,255,0.85); transform: translateY(-2px); }
.btn-primary.btn-jp { font-family: var(--font-body); text-transform: none; letter-spacing: 0.06em; font-size: 14px; }
.btn-secondary {
  font-family: var(--font-disp);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.btn-secondary:hover { color: var(--white); }
.btn-secondary::after { content: '→'; transition: transform 0.2s; }
.btn-secondary:hover::after { transform: translateX(4px); }
.btn-secondary.btn-jp { font-family: var(--font-body); text-transform: none; letter-spacing: 0.06em; font-size: 13px; }
.hero-vert {
  position: absolute;
  right: 48px; top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  opacity: 0;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 80px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
}
.scroll-line {
  width: 48px; height: 1px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: #c0392b;
  animation: scrollAnim 2s 2s infinite;
}
@keyframes scrollAnim {
  0%   { left: -100%; }
  100% { left: 100%; }
}
.hero-scroll span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}
.hero-bg-text {
  position: absolute;
  bottom: -30px; right: -20px;
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(120px, 18vw, 240px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── ハッシュナビ遷移時 ── */
.hash-nav body { visibility: hidden; }
.hash-nav.scroll-ready body { visibility: visible; }

.hero-no-anim .hero-eyebrow,
.hero-no-anim .hero-h1,
.hero-no-anim .hero-sub,
.hero-no-anim .hero-ctas,
.hero-no-anim .hero-vert,
.hero-no-anim .hero-scroll { opacity: 1 !important; animation: none !important; }

.hero-animate .hero-eyebrow { animation: fadeUp 0.8s 0.0s forwards; }
.hero-animate .hero-h1      { animation: fadeUp 0.9s 0.15s forwards; }
.hero-animate .hero-sub     { animation: fadeUp 0.9s 0.35s forwards; }
.hero-animate .hero-ctas    { animation: fadeUp 0.9s 0.55s forwards; }
.hero-animate .hero-vert    { animation: fadeIn 1.0s 0.75s forwards; }
.hero-animate .hero-scroll  { animation: fadeIn 1.0s 0.90s forwards; }

/* ── サブページ用ヒーロー ── */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--black) 0%, #0d1a30 50%, #122040 100%);
  padding: 180px 0 100px;
  overflow: hidden;
}
.page-hero .hero-grid, .page-hero .hero-noise { position: absolute; inset: 0; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.page-hero-eyebrow .line { width: 40px; height: 1px; background: var(--white); }
.page-hero-eyebrow span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
}
.page-hero h1 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}
.page-hero h1 .jp {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 32px);
  letter-spacing: 0.02em;
  margin-top: 16px;
  line-height: 1.5;
}
.page-hero .lead {
  margin-top: 28px;
  max-width: 720px;
  font-size: 15px;
  font-weight: 300;
  line-height: 2.0;
  color: rgba(255,255,255,0.6);
}
.page-hero .lead strong { color: var(--white); font-weight: 700; }

/* ── SECTION COMMONS ── */
section { padding: 120px 0; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
.container-wide { max-width: 1280px; }
.sec-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.sec-eyebrow-line { width: 32px; height: 1px; background: #c0392b; }
.sec-eyebrow span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray);
}
.sec-h2 {
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dark);
}
.sec-h2 .jp {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: 0.02em;
  margin-top: 14px;
  line-height: 1.5;
  color: var(--dark);
}
.sec-h2-jp {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--dark);
}
.sec-lead {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--gray);
  max-width: 680px;
}
.sec-lead strong { font-weight: 700; color: var(--dark); }
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── NEWS SECTION ── */
#news { padding: 100px 0; background: var(--white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.news-item {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.news-item:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.news-item-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--off);
  overflow: hidden;
  position: relative;
}
.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-item:hover .news-item-thumb img { transform: scale(1.05); }
.news-item-body { padding: 16px 4px 8px; }
.news-item-tag {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  padding: 3px 10px;
  margin-bottom: 10px;
}
.news-item-tag.tag-media { background: var(--blue); }
.news-item-tag.tag-seminar { background: #2a7a5a; }
.news-item-tag.tag-service { background: var(--accent); }
.news-item-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark);
}
.news-item-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--gray2);
  margin-top: 8px;
}

/* ── CONCEPT（濃紺・動画背景） ── */
.section-dark {
  background: linear-gradient(160deg, var(--dark) 0%, #0a1525 100%);
  overflow: hidden;
  position: relative;
}
.section-dark .concept-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}
.section-dark .bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.22;
}
.section-dark .container { position: relative; z-index: 1; }
.section-dark .sec-h2, .section-dark .sec-h2-jp { color: var(--white); }
.section-dark .sec-h2 .jp { color: var(--white); }
.section-dark .sec-lead { color: rgba(255,255,255,0.5); }
.section-dark .sec-lead strong { color: var(--white); }
.section-dark .sec-eyebrow-line { background: rgba(255,255,255,0.5); }
.section-dark .sec-eyebrow span { color: rgba(255,255,255,0.45); }

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-body { margin-top: 40px; }
.concept-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 2.0;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.concept-body strong { font-weight: 700; color: var(--white); }
.concept-roles { display: flex; flex-direction: column; gap: 0; }
.role-card {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 24px;
  align-items: start;
}
.role-card:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.08); }
.role-num { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.4); padding-top: 4px; }
.role-title { font-family: var(--font-disp); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.role-title-jp { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.role-desc { font-size: 13px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.45); }

/* ── チェックリスト（白抜き・濃紺どちらでも） ── */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--gray);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.section-dark .check-list li { color: rgba(255,255,255,0.65); }
.section-dark .check-list li::before { color: var(--accent2); }

/* ── SERVICES GRID（旧トンマナ継承） ── */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-item {
  background: var(--white);
  padding: 36px 30px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: block;
  color: inherit;
}
.service-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-item:hover::before { transform: scaleX(1); }
.service-item:hover { background: var(--off); }
.service-num { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.15em; color: var(--gray2); margin-bottom: 16px; }
.service-name { font-family: var(--font-disp2); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; line-height: 1.3; }
.service-name-jp { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.service-desc { font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--gray); }
.service-more {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray2);
  text-transform: uppercase;
}
.service-item:hover .service-more { color: var(--accent); }

/* ── 交互ブロック（写真＋テキスト） ── */
.feature-rows { display: flex; flex-direction: column; gap: 96px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row.rev .feature-photo { order: 2; }
.feature-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--dark3);
}
.feature-photo img,
.feature-photo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.feature-row:hover .feature-photo img,
.feature-photo video { transform: scale(1.03); }
.feature-title-en {
  font-family: var(--font-disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 25px); /* 1文字だけの折り返しが出ないよう縮小 */
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 18px;
}
.feature-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--gray);
}
.feature-body strong { font-weight: 700; color: var(--dark); }
.feature-body p { margin-bottom: 14px; }
.section-dark .feature-title { color: var(--white); }
.section-dark .feature-body { color: rgba(255,255,255,0.55); }
.section-dark .feature-body strong { color: var(--white); }

/* ── タグクラウド ── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-cloud span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--gray);
  border: 1px solid var(--border);
  background: var(--white);
  padding: 5px 11px;
  white-space: nowrap;
}
.section-dark .tag-cloud span {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}

/* ── ステップ（数字付きフロー） ── */
.step-flow { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.step-item { background: var(--white); padding: 28px 24px; position: relative; }
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step-name { font-family: var(--font-disp2); font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.step-name-jp { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step-desc { font-size: 12px; font-weight: 300; line-height: 1.8; color: var(--gray); }

/* ── WHY ── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 64px; align-items: start; }
.why-statement {
  font-family: var(--font-body);
  font-size: clamp(22px, 2.6vw, 34px); /* 1文字だけの折り返しが出ないよう縮小 */
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--dark);
  position: sticky;
  top: 120px;
}
.why-statement .highlight { color: var(--accent); }
.why-statement small {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--gray);
}
.why-points { display: flex; flex-direction: column; gap: 0; }
.why-point { padding: 26px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 40px 1fr; gap: 20px; align-items: start; }
.why-point:first-child { border-top: 1px solid var(--border); }
.why-point-num { font-family: var(--font-mono); font-size: 11px; color: var(--gray); padding-top: 2px; }
.why-point-title { font-family: var(--font-disp2); font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 2px; letter-spacing: 0.02em; }
.why-point-title-jp { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.why-point-desc { font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--gray); }

/* ── WORKS（開発実績） ── */
#works { background: var(--off); }
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}
.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  overflow: hidden;
}
.work-media.portrait { aspect-ratio: 16 / 9; }
.work-media img, .work-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-media.portrait img { object-fit: contain; background: var(--dark); }
.work-play {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(8, 14, 26, 0.15);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.work-play::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(8, 14, 26, 0.62);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 24px rgba(8, 14, 26, 0.35);
  transition: background 0.25s, transform 0.25s;
}
.work-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-36%, -50%);
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
}
.work-play:hover { background: rgba(8, 14, 26, 0.05); }
.work-play:hover::before { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
/* メディア未配置時のプレースホルダー（ファイルを置くと自動で消えます） */
.media-spec {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--dark) 0%, #0a1525 100%);
  border: 2px dashed rgba(255,255,255,0.25);
  z-index: 2;
}
.work-media.missing .media-spec { display: flex; }
/* display:none にすると lazy 画像が読み込まれないため visibility で隠す */
.work-media.missing img, .work-media.missing video { visibility: hidden; }
.media-spec .ms-icon { font-size: 28px; opacity: 0.7; }
.media-spec .ms-title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent2);
}
.media-spec .ms-detail {
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.9;
  color: rgba(255,255,255,0.75);
}
.media-spec .ms-detail code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--white);
  background: rgba(255,255,255,0.1);
  padding: 1px 6px;
}
.work-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.work-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; color: var(--gray2); margin-bottom: 10px; }
.work-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.work-title-en { font-family: var(--font-disp); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.work-desc { font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--gray); flex: 1; }
.work-links { margin-top: 18px; display: flex; gap: 16px; flex-wrap: wrap; }
.work-links a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.work-links a:hover { border-color: var(--accent); }

/* ── ABOUT ── */
#about { background: var(--off); }
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 80px; margin-top: 64px; }
.about-photo {
  width: 280px;
  height: 380px;
  background: var(--dark3);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow:
    0 0 0 3px rgba(74,127,168,0.35),
    0 0 0 6px rgba(74,127,168,0.10),
    0 24px 64px rgba(8,14,26,0.22),
    0 4px 12px rgba(8,14,26,0.12);
  flex-shrink: 0;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.04) contrast(1.02) saturate(0.95);
  transition: transform 0.6s ease;
}
.about-photo:hover img { transform: scale(1.025); }
.about-title { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.about-name { font-family: var(--font-disp); font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -0.02em; color: var(--dark); margin-bottom: 4px; line-height: 1; }
.about-role { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--gray); text-transform: uppercase; margin-bottom: 32px; }
.about-message { font-size: 15px; font-weight: 300; line-height: 2.0; color: var(--gray); margin-bottom: 32px; }
.about-message strong { font-weight: 700; color: var(--dark); }
.about-credentials { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); }
.cred-item { display: grid; grid-template-columns: 120px 1fr; gap: 0; border-bottom: 1px solid var(--border); }
.cred-item:last-child { border-bottom: none; }
.cred-key { padding: 12px 16px; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); background: #f4f4f2; border-right: 1px solid var(--border); }
.cred-val { padding: 12px 16px; font-size: 13px; color: var(--dark); background: var(--white); line-height: 1.7; }

/* ── COMPANY ── */
#company { background: var(--white); }
.company-table { margin-top: 56px; border: 1px solid var(--border); width: 100%; max-width: 780px; }
.company-row { display: grid; grid-template-columns: 160px 1fr; border-bottom: 1px solid var(--border); }
.company-row:last-child { border-bottom: none; }
.company-key { padding: 16px 20px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); background: var(--off); border-right: 1px solid var(--border); }
.company-val { padding: 16px 20px; font-size: 14px; color: var(--dark); font-weight: 300; line-height: 1.7; }

/* ── RECRUIT ── */
#recruit { background: var(--off); }
.recruit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); margin-top: 64px; }
.recruit-card { background: var(--white); padding: 48px 40px; }
.recruit-card-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.recruit-card-title { font-family: var(--font-disp); font-size: 28px; font-weight: 800; color: var(--dark); letter-spacing: -0.01em; margin-bottom: 16px; }
.recruit-card-desc { font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--gray); margin-bottom: 28px; }
.partner-table { border: 1px solid var(--border); margin-top: 20px; }
.partner-row { display: grid; grid-template-columns: 1fr; padding: 12px 16px; border-bottom: 1px solid #f0f0ee; font-size: 12px; align-items: center; }
.partner-row:last-child { border-bottom: none; }
.partner-area { font-weight: 500; color: var(--dark); margin-bottom: 2px; }
.partner-skill { font-size: 11px; font-weight: 300; color: var(--gray); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-disp);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 24px;
  border: 1px solid var(--dark);
  color: var(--dark);
  text-decoration: none;
  background: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-outline.btn-jp { font-family: var(--font-body); text-transform: none; letter-spacing: 0.05em; font-size: 13px; }

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, var(--dark) 0%, #0c1929 100%);
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: 'CONTACT';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-disp);
  font-weight: 800;
  font-size: clamp(80px, 15vw, 200px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  white-space: nowrap;
}
.cta-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 24px; }
.cta-h2 { font-family: var(--font-body); font-size: clamp(30px, 4.6vw, 60px); font-weight: 700; color: var(--white); letter-spacing: 0.01em; line-height: 1.35; margin-bottom: 24px; }
.cta-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 2.0; max-width: 640px; margin: 0 auto 48px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-list {
  list-style: none;
  max-width: 720px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  text-align: left;
}
.cta-list li {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.cta-list li::before { content: '—'; color: var(--accent2); flex-shrink: 0; }

/* ── FOOTER ── */
footer { background: var(--black); padding: 60px 48px 40px; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 40px;
  margin-bottom: 32px;
}
.footer-logo { font-family: var(--font-disp); font-weight: 800; font-size: 22px; color: var(--white); letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-logo em { font-style: normal; color: var(--dark); -webkit-text-stroke: 1.5px var(--white); paint-order: stroke fill; }
.footer-tagline { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.3); line-height: 1.8; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-family: var(--font-mono); font-size: 10px; color: rgba(255,255,255,0.2); letter-spacing: 0.1em; }

/* ═══════════════════════════════════════════════════════
   サブページ用コンポーネント
═══════════════════════════════════════════════════════ */

/* ── ページ内目次チップ ── */
.toc-band {
  background: var(--off);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.toc-chips a {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--white);
  padding: 7px 14px;
  transition: all 0.15s;
}
.toc-chips a:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* ── 詳細サービスブロック ── */
.svc-block { padding: 88px 0; border-bottom: 1px solid var(--border); }
.svc-block:last-of-type { border-bottom: none; }
.svc-block.alt { background: var(--off); }
.svc-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.svc-h3 {
  font-family: var(--font-disp2);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 8px;
}
.svc-h3-jp {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.9vw, 21px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 24px;
}
.svc-catch {
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  line-height: 1.8;
  color: var(--accent);
  margin-bottom: 20px;
}
.svc-body {
  font-size: 14px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--gray);
  max-width: 820px;
}
.svc-body p { margin-bottom: 14px; }
.svc-body strong { font-weight: 700; color: var(--dark); }
.svc-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 20px;
  margin: 18px 0;
  font-weight: 500;
  color: var(--dark);
  background: rgba(74,127,168,0.05);
}
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 28px; }
.svc-cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 28px; }
.svc-sub-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark);
  border-bottom: 2px solid var(--dark);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.plain-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.plain-list li {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.plain-list li::before { content: ''; width: 14px; height: 1px; background: var(--accent); flex-shrink: 0; position: relative; top: -4px; }
.plain-list li strong { font-weight: 700; color: var(--dark); }

/* ミニカード群 */
.mini-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 24px; }
.mini-card { background: var(--white); padding: 22px 20px; }
.mini-card-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.mini-card-title-en { font-family: var(--font-disp); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.mini-card-desc { font-size: 12px; font-weight: 300; line-height: 1.8; color: var(--gray); }
.svc-block.alt .mini-cards .mini-card { background: var(--white); }

/* Before / After */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); margin-top: 24px; }
.ba-cell { background: var(--white); padding: 26px 24px; }
.ba-cell.after { background: var(--dark); }
.ba-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.ba-cell.after .ba-label { color: var(--accent2); }
.ba-text { font-size: 13px; font-weight: 300; line-height: 2.0; color: var(--gray); }
.ba-cell.after .ba-text { color: rgba(255,255,255,0.75); }

/* 業界フォトカード */
.industry-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 32px 0;
}
.industry-strip figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark3);
}
.industry-strip img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.industry-strip figure:hover img { transform: scale(1.06); }
.industry-strip figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 10px 8px;
  background: linear-gradient(transparent, rgba(8,14,26,0.85));
  font-size: 10px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
}
.industry-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 24px; }
.industry-card { background: var(--white); padding: 28px 26px; }
.industry-card h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.industry-card h4::before { content: ''; width: 4px; height: 1em; background: var(--accent); flex-shrink: 0; }
.industry-note { font-size: 11px; color: var(--gray2); margin-top: 10px; line-height: 1.7; }

/* プロセスタイムライン */
.phase-list { display: flex; flex-direction: column; margin-top: 32px; border-top: 1px solid var(--border); }
.phase-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.phase-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding-top: 3px;
}
.phase-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.phase-desc { font-size: 13px; font-weight: 300; line-height: 1.9; color: var(--gray); }

/* ── FAQ ── */
.faq-group-title {
  font-family: var(--font-disp);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 56px 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-group-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
details.faq-item {
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--white);
}
details.faq-item:last-of-type { border-bottom: 1px solid var(--border); }
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.7;
  position: relative;
  transition: background 0.15s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { background: var(--off); }
details.faq-item summary::before {
  content: 'Q';
  font-family: var(--font-disp);
  font-weight: 700;
  color: var(--accent);
  margin-right: 12px;
}
details.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gray2);
  transition: transform 0.2s;
}
details.faq-item[open] summary::after { content: '−'; color: var(--accent); }
details.faq-item .faq-answer {
  padding: 4px 24px 24px 24px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 2.0;
  color: var(--gray);
}
details.faq-item .faq-answer::before {
  content: 'A. ';
  font-family: var(--font-disp);
  font-weight: 700;
  color: var(--red);
}

/* ── セキュリティページ用 ── */
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1); margin-top: 40px; }
.principle-card { background: rgba(8,14,26,0.75); padding: 32px 28px; }
.principle-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--accent2); margin-bottom: 12px; }
.principle-title { font-family: var(--font-disp2); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.principle-title-jp { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.principle-desc { font-size: 13px; font-weight: 300; line-height: 1.9; color: rgba(255,255,255,0.55); }

.sec-domain { border: 1px solid var(--border); margin-top: 16px; }
.sec-domain-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--off);
  border-bottom: 1px solid var(--border);
}
.sec-domain-num { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--accent); }
.sec-domain-title { font-family: var(--font-disp2); font-size: 15px; font-weight: 700; color: var(--dark); }
.sec-domain-body { padding: 18px 22px; }

/* ── 日本語見出しの改行調整 ─────────────────────────
   対応ブラウザ(Chrome等)では文節単位で折り返し、
   「が、」「へ。」のような1文字だけの行を防ぐ。非対応ブラウザでは無視される */
.hero-h1, .sec-h2-jp, .sec-h2 .jp, .page-hero h1 .jp,
.feature-title, .why-statement, .svc-h3-jp, .svc-catch, .cta-h2 {
  word-break: auto-phrase;
}

/* ── 汎用ユーティリティ ── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.center { text-align: center; }
.hidden { display: none !important; }
.note {
  font-size: 11px;
  color: var(--gray2);
  line-height: 1.8;
  margin-top: 12px;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .concept-inner, .why-grid, .services-grid, .feature-row,
  .svc-cols, .svc-cols-3, .works-grid, .industry-cards { grid-template-columns: 1fr; gap: 48px; }
  .feature-row.rev .feature-photo { order: 0; }
  .svc-cols, .svc-cols-3 { gap: 32px; }
  .industry-cards { gap: 1px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 1px; }
  .step-flow { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { width: 220px; height: 300px; max-width: 220px; }
  .recruit-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .industry-strip { grid-template-columns: repeat(3, 1fr); }
  .why-statement { position: static; }
  nav { padding: 0 24px; }
  .hero-inner { padding: 0 40px; }
  .principle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .svc-block { padding: 64px 0; }
  .container { padding: 0 24px; }
  .hero-inner { padding: 0 24px; }
  .hero-scroll { left: 24px; }
  .services-grid, .step-flow { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-actions { flex-direction: column; }
  .cta-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-links { flex-wrap: wrap; }
  .industry-strip { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
  .phase-item { grid-template-columns: 1fr; gap: 8px; }
  .page-hero { padding: 140px 0 72px; }
}
