/* ===========================
   TGS Corporate — style.css
   =========================== */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand colors from TGS logo */
  --blue:        #0A7BFF;
  --blue-dark:   #0056CC;
  --blue-light:  #4BA3FF;
  --orange:      #F66A14;
  --orange-dark: #D4540A;
  --orange-light:#F9954A;
  --green:       #18C56A;
  --green-dark:  #0FA055;
  --yellow:      #B7E20A;

  /* Neutrals */
  --black:      #0B0B12;
  --white:      #ffffff;
  --off-white:  #f5f7fa;
  --gray-100:   #eef1f5;
  --gray-200:   #dde2ea;
  --gray-300:   #c4ccd8;
  --gray-400:   #8e9bae;
  --gray-600:   #4e5d6f;
  --gray-800:   #1e2a38;
  --gray-900:   #0d1520;

  /* Accent gradients (logo-inspired) */
  --grad:              linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--orange) 100%);
  --grad-blue-orange:  linear-gradient(135deg, var(--blue) 0%, var(--orange) 100%);
  --grad-tri:          linear-gradient(135deg, var(--yellow) 0%, var(--orange) 40%, var(--blue) 100%);

  --font-en: 'Inter', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --max-w:   1280px;
  --nav-h:   72px;
  --ease:    cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--gray-900);
  color: var(--white);
  font-family: var(--font-en), var(--font-ja);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
::selection { background: var(--blue); color: var(--white); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-900); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ---------- Container ---------- */
.c {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================================
   HEADER
============================================================ */
#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
  border-bottom: 1px solid transparent;
}
#header.scrolled {
  background: rgba(13,21,32,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
/* ロゴ画像：SVGフィルターで白背景を除去 */
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity .25s;
  /* SVGフィルターで白ピクセルを透明化 */
  filter: url('#logo-white-remove');
}
.site-logo:hover .logo-img { opacity: .82; }

/* フッターのロゴ */
.footer-logo .logo-img {
  height: 40px;
}

/* テキスト非表示（ロゴ画像にTGS文字が含まれるため） */
.logo-wordmark { display: none; }
.logo-sub      { display: none; }

/* Primary nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  transition: color .25s var(--ease);
  position: relative;
  padding-bottom: 2px;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .3s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--white); }
.primary-nav a:hover::after,
.primary-nav a.active::after { width: 100%; }

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.btn-contact-hd {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--orange);
  border: 1px solid var(--orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--white);
  transition: background .25s, border-color .25s, transform .2s;
  border-radius: 3px;
}
.btn-contact-hd:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}
.btn-contact-hd svg { width: 12px; height: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: transform .35s var(--ease), opacity .35s;
  border-radius: 1px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: var(--gray-900);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 36px;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-overlay a {
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.2);
  transition: color .25s;
  line-height: 1.35;
}
.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active { color: var(--white); }
.mob-divider {
  width: 40px; height: 2px;
  background: var(--orange);
  margin: 20px 0;
  border-radius: 1px;
}

/* ============================================================
   PAGE HEADER (inner pages)
============================================================ */
.page-header {
  padding-top: var(--nav-h);
  background: var(--gray-900);
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(10,123,255,.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(246,106,20,.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 48px 0;
  position: relative;
  z-index: 1;
}
.page-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.page-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.page-h1 {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}
.page-lead {
  font-size: clamp(.92rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.55);
  max-width: 580px;
  line-height: 2;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: rgba(255,255,255,.25);
  letter-spacing: .06em;
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb svg { width: 10px; height: 10px; opacity: .4; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 15px 30px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .2s var(--ease),
              box-shadow .25s var(--ease);
  white-space: nowrap;
  background: none;
  border-radius: 3px;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-blue  { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,123,255,.4); }

.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(246,106,20,.4); }

.btn-white  { background: var(--white); color: var(--gray-900); }
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }

.btn-outline-w { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn-outline-w:hover { border-color: var(--orange); background: rgba(246,106,20,.12); color: var(--orange-light); }

.btn-outline-b { border-color: var(--gray-300); color: var(--gray-800); }
.btn-outline-b:hover { background: var(--gray-900); color: var(--white); border-color: var(--gray-900); }

.btn-lg { padding: 18px 40px; font-size: .88rem; }

/* ============================================================
   SECTION COMMONS
============================================================ */
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.sec-label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
  flex-shrink: 0;
}
.sec-label-dark { color: var(--orange); }
.sec-label-dark::before { background: var(--orange); }
.sec-label-blue { color: var(--blue); }
.sec-label-blue::before { background: var(--blue); }
.sec-label-green { color: var(--green); }
.sec-label-green::before { background: var(--green); }

.sec-h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.12;
  color: var(--white);
}
.sec-h2-dark { color: var(--gray-900); }

.sec-h2-sm {
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--white);
}
.sec-h2-sm-dark { color: var(--gray-900); }

.sec-body {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  line-height: 2;
  color: rgba(255,255,255,.52);
}
.sec-body-dark { color: var(--gray-600); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.on { opacity: 1; transform: translateY(0); }

/* ============================================================
   HERO (index only)
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
}
.hero-orb {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(10,123,255,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 15% 75%, rgba(246,106,20,.09) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 85% 80%, rgba(24,197,106,.07) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-canvas {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 48px 100px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 36px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--orange);
  border-radius: 1px;
}
.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 8.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: block;
  transform: translateY(110%);
  transition: transform .9s var(--ease);
}
.hero-title .line span.up { transform: translateY(0); }

.hero-ja {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .12em;
  margin-bottom: 56px;
  font-family: var(--font-ja);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s .65s var(--ease), transform .7s .65s var(--ease);
}
.hero-ja.up { opacity: 1; transform: translateY(0); }

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s .85s var(--ease), transform .7s .85s var(--ease);
}
.hero-bottom.up { opacity: 1; transform: translateY(0); }

.hero-desc {
  max-width: 440px;
  font-size: clamp(.9rem, 1.4vw, 1rem);
  color: rgba(255,255,255,.48);
  line-height: 2;
}
.hero-btns { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }

/* Scroll indicator */
.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
}
.scroll-cue-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: .7; }
  50%      { transform: scaleY(.5); opacity: .3; }
}

/* ============================================================
   INDEX — CONCEPT STRIP
============================================================ */
.concept-strip {
  background: var(--gray-900);
  padding: 120px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.concept-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.concept-ghost {
  font-family: var(--font-en);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 900;
  color: rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  margin-bottom: -36px;
}
.concept-body {
  font-size: clamp(.88rem, 1.4vw, 1rem);
  color: rgba(255,255,255,.52);
  line-height: 2.1;
  margin-top: 20px;
  max-width: 480px;
}
.concept-box {
  aspect-ratio: 4/3;
  background: var(--gray-800);
  border: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.concept-box svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

/* ============================================================
   HUB DIAGRAM (index / concept box)
============================================================ */
.hub-diagram-wrap {
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Center node */
.hub-center-box {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 0 0 1px rgba(10,123,255,.4), 0 8px 32px rgba(10,123,255,.3);
}
.hub-center-box::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  z-index: -1;
}
.hub-center-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 4px;
}
.hub-center-title {
  font-size: clamp(.9rem, 2vw, 1.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
}
.hub-center-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  margin-top: 4px;
  font-family: var(--font-ja);
}

/* Arrow row */
.hub-arrows {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 8px;
}
.hub-arrow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.hub-arrow-line {
  width: 2px;
  height: 28px;
  border-radius: 1px;
}
.hub-arrow-line.blue   { background: linear-gradient(to bottom, var(--blue), rgba(10,123,255,.3)); }
.hub-arrow-line.orange { background: linear-gradient(to bottom, var(--orange), rgba(246,106,20,.3)); }
.hub-arrow-line.green  { background: linear-gradient(to bottom, var(--green), rgba(24,197,106,.3)); }
.hub-arrow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.hub-arrow-dot.blue   { background: var(--blue); box-shadow: 0 0 8px rgba(10,123,255,.6); }
.hub-arrow-dot.orange { background: var(--orange); box-shadow: 0 0 8px rgba(246,106,20,.6); }
.hub-arrow-dot.green  { background: var(--green); box-shadow: 0 0 8px rgba(24,197,106,.6); }

/* Arm nodes row */
.hub-arms-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
}
.hub-arm-box {
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid;
}
.hub-arm-box.blue   { background: rgba(10,123,255,.1);   border-color: rgba(10,123,255,.35);   }
.hub-arm-box.orange { background: rgba(246,106,20,.1);   border-color: rgba(246,106,20,.35);   }
.hub-arm-box.green  { background: rgba(24,197,106,.1);   border-color: rgba(24,197,106,.35);   }
.hub-arm-box-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
}
.hub-arm-box-icon svg { width: 16px; height: 16px; }
.hub-arm-box-icon.blue   { background: rgba(10,123,255,.2);   color: var(--blue-light); }
.hub-arm-box-icon.orange { background: rgba(246,106,20,.2);   color: var(--orange-light); }
.hub-arm-box-icon.green  { background: rgba(24,197,106,.2);   color: var(--green); }
.hub-arm-box-en {
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 2px;
  display: block;
}
.hub-arm-box-ja {
  font-size: clamp(.72rem, 1.5vw, .82rem);
  font-weight: 800;
  color: var(--white);
  display: block;
  line-height: 1.3;
  font-family: var(--font-ja);
}
.hub-arm-box-copy {
  font-size: .6rem;
  color: rgba(255,255,255,.38);
  line-height: 1.5;
  margin-top: 4px;
  font-family: var(--font-ja);
}

/* ============================================================
   SERVICES PREVIEW
============================================================ */
.services-preview {
  background: var(--off-white);
  padding: 120px 0;
}
.services-header {
  margin-bottom: 56px;
}
.services-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.services-header-desc {
  font-size: clamp(.88rem, 1.3vw, .96rem);
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.9;
  margin-bottom: 0;
}

/* 3-col grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}
.svc-cta-card { grid-column: span 2; }

.svc-card {
  background: var(--off-white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background .35s var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gray-900);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
  z-index: 0;
}
.svc-card:hover::before { transform: scaleY(1); }
.svc-card > * { position: relative; z-index: 1; }

.svc-card .svc-num   { font-family: var(--font-en); font-size: .62rem; font-weight: 700; letter-spacing: .2em; color: var(--gray-300); margin-bottom: 20px; display: block; transition: color .3s; }
.svc-card .svc-icon  { margin-bottom: 16px; transition: color .3s; }
.svc-card .svc-icon svg { width: 30px; height: 30px; color: var(--blue); transition: color .3s; }
.svc-card .svc-en    { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; display: block; transition: color .3s; }
.svc-card .svc-title { font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 800; color: var(--gray-900); margin-bottom: 12px; line-height: 1.4; letter-spacing: -.01em; transition: color .3s; }
.svc-card .svc-body  { font-size: clamp(.82rem, 1.2vw, .9rem); color: var(--gray-600); line-height: 2; margin-bottom: 20px; transition: color .3s; }
.svc-card .svc-tags  { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 20px; }
.svc-card .svc-tags span { font-size: .62rem; letter-spacing: .04em; padding: 4px 10px; border: 1px solid var(--gray-200); color: var(--gray-600); border-radius: 2px; transition: border-color .3s, color .3s, background .3s; }
.svc-card .svc-more  { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); display: flex; align-items: center; gap: 6px; transition: color .3s, gap .3s; }
.svc-card .svc-more::after { content: '→'; transition: transform .3s var(--ease); }

.svc-card:hover .svc-num    { color: rgba(255,255,255,.2); }
.svc-card:hover .svc-en     { color: rgba(255,255,255,.4); }
.svc-card:hover .svc-title  { color: var(--white); }
.svc-card:hover .svc-body   { color: rgba(255,255,255,.48); }
.svc-card:hover .svc-tags span { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.45); }
.svc-card:hover .svc-more   { color: var(--orange-light); }
.svc-card:hover .svc-more::after { transform: translateX(5px); }
.svc-card:hover .svc-icon svg { color: var(--orange-light); }

/* CTA card in services grid */
.svc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.svc-cta-text h3 { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 800; color: var(--gray-900); margin-bottom: 8px; transition: color .3s; }
.svc-cta-text p  { font-size: clamp(.8rem, 1.2vw, .88rem); color: var(--gray-600); line-height: 1.8; transition: color .3s; }
.svc-card:hover .svc-cta-text h3 { color: var(--white); }
.svc-card:hover .svc-cta-text p  { color: rgba(255,255,255,.48); }

/* ============================================================
   NUMBERS
============================================================ */
.numbers-section {
  background: var(--gray-800);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
.numbers-section::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 100% at 50% 50%, rgba(10,123,255,.08) 0%, transparent 70%);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.num-item {
  padding: 48px 36px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.num-item:last-child { border-right: none; }
.num-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .4s;
}
.num-item:hover::before { opacity: 1; }
.num-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 10px;
}
.num-val {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.03em;
}
.num-unit {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange);
}
.num-label {
  font-size: clamp(.78rem, 1.1vw, .86rem);
  color: rgba(255,255,255,.42);
  line-height: 1.7;
  font-family: var(--font-ja);
}

/* ============================================================
   NEWS PREVIEW
============================================================ */
.news-preview {
  background: var(--off-white);
  padding: 100px 0;
}
.news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 20px;
  flex-wrap: wrap;
}
.news-list { border-top: 1px solid var(--gray-200); }
.news-row {
  display: grid;
  grid-template-columns: 130px 96px 1fr 36px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background .2s, padding-left .2s;
  cursor: pointer;
}
.news-row:hover { background: rgba(246,106,20,.04); padding-left: 8px; }
.news-date { font-family: var(--font-en); font-size: .78rem; font-weight: 500; color: var(--gray-400); letter-spacing: .04em; }
.news-cat  { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border: 1px solid; color: var(--blue); border-color: rgba(10,123,255,.3); background: rgba(10,123,255,.06); white-space: nowrap; border-radius: 2px; }
.news-ttl  { font-size: clamp(.85rem, 1.3vw, .95rem); font-weight: 500; color: var(--gray-800); line-height: 1.65; }
.news-arr  { width: 36px; height: 36px; border: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--gray-400); transition: background .2s, color .2s, border-color .2s; flex-shrink: 0; border-radius: 3px; }
.news-row:hover .news-arr { background: var(--orange); color: var(--white); border-color: var(--orange); }
.news-arr svg { width: 12px; height: 12px; }

/* ============================================================
   CTA STRIP
============================================================ */
.cta-strip {
  background: var(--gray-900);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 100% at 30% 50%, rgba(246,106,20,.06) 0%, transparent 70%);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
}
.cta-label { font-size: .63rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; display: block; }
.cta-h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.15; color: var(--white); }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   INNER PAGE SECTIONS
============================================================ */

/* ---------- About ---------- */
.about-section { background: var(--off-white); padding: 100px 0; }
.about-philosophy {
  background: var(--gray-900);
  padding: 110px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
.about-philosophy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.philosophy-quote {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.6;
  letter-spacing: -.01em;
}
.philosophy-quote em { font-style: normal; color: var(--orange); }
.philosophy-body { font-size: clamp(.88rem, 1.4vw, 1rem); color: rgba(255,255,255,.52); line-height: 2.1; }
.about-overview { background: var(--gray-100); padding: 100px 0; border-top: 1px solid var(--gray-200); }

/* company table */
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--gray-200); }
.company-table th {
  text-align: left;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 22px 0;
  width: 180px;
  vertical-align: top;
}
.company-table td {
  font-size: clamp(.85rem, 1.2vw, .95rem);
  color: var(--gray-800);
  padding: 22px 0;
  line-height: 1.8;
}

/* Value cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  overflow: hidden;
}
.val-card {
  background: var(--off-white);
  padding: 44px 36px;
}
.val-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(10,123,255,.2);
  background: rgba(10,123,255,.07);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  border-radius: 4px;
}
.val-icon svg { width: 22px; height: 22px; }
.val-num { font-family: var(--font-en); font-size: .62rem; font-weight: 700; letter-spacing: .2em; color: var(--gray-300); margin-bottom: 8px; display: block; }
.val-title { font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 800; color: var(--gray-900); margin-bottom: 10px; }
.val-body { font-size: clamp(.82rem, 1.2vw, .88rem); color: var(--gray-600); line-height: 1.9; }

/* ---------- Business ---------- */
.biz-section { background: var(--gray-900); padding: 80px 0 100px; }
.biz-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  margin-bottom: 1px;
  border-radius: 6px;
  overflow: hidden;
}
.biz-detail-card {
  background: var(--gray-900);
  padding: 52px 44px;
  transition: background .35s var(--ease);
}
.biz-detail-card:hover { background: rgba(10,123,255,.04); }
.bdc-icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(10,123,255,.3);
  background: rgba(10,123,255,.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: var(--blue);
  border-radius: 4px;
}
.bdc-icon svg { width: 24px; height: 24px; }
.bdc-num  { font-family: var(--font-en); font-size: .62rem; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.2); margin-bottom: 6px; display: block; }
.bdc-en   { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; display: block; }
.bdc-ttl  { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.35; letter-spacing: -.01em; }
.bdc-body { font-size: clamp(.85rem, 1.3vw, .92rem); color: rgba(255,255,255,.52); line-height: 2; margin-bottom: 22px; }
.bdc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.bdc-tags span { font-size: .63rem; padding: 4px 10px; border: 1px solid rgba(10,123,255,.25); color: var(--blue-light); letter-spacing: .04em; background: rgba(10,123,255,.06); border-radius: 2px; }

/* ============================================================
   HUB SECTION (business.html) — redesigned clarity
============================================================ */
.hub-section { background: var(--gray-800); padding: 100px 0; border-top: 1px solid rgba(255,255,255,.07); }

/* New hub diagram CSS layout */
.hub-diagram {
  max-width: 800px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* center node */
.hub-center-node {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-radius: 16px;
  padding: 28px 40px;
  text-align: center;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 0 0 1px rgba(10,123,255,.5), 0 12px 40px rgba(10,123,255,.35);
  position: relative;
  z-index: 2;
}
.hub-center-node svg { width: 36px; height: 36px; color: rgba(255,255,255,.9); margin-bottom: 8px; }
.hub-center-node .hub-en {
  font-size: .62rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.6); display: block; margin-bottom: 4px;
}
.hub-center-node .hub-ja { font-size: 1rem; font-weight: 800; color: var(--white); display: block; font-family: var(--font-ja); }

/* connector row */
.hub-connectors {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  width: 100%;
  max-width: 640px;
  height: 60px;
  position: relative;
}
.hub-conn {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0;
  position: relative;
}
.hub-conn::before {
  content: '';
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 1px;
}
.hub-conn.blue::before   { background: linear-gradient(to bottom, var(--blue), rgba(10,123,255,.4)); }
.hub-conn.orange::before { background: linear-gradient(to bottom, var(--orange), rgba(246,106,20,.4)); }
.hub-conn.green::before  { background: linear-gradient(to bottom, var(--green), rgba(24,197,106,.4)); }

/* horizontal bridge */
.hub-bridge {
  width: 100%;
  max-width: 640px;
  height: 2px;
  background: linear-gradient(to right, rgba(10,123,255,.5), rgba(246,106,20,.5), rgba(24,197,106,.5));
  border-radius: 1px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* arm nodes */
.hub-arms {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  width: 100%;
  max-width: 640px;
}
.hub-arm {
  padding: 22px 18px;
  border: 1px solid;
  border-radius: 10px;
  text-align: center;
  transition: border-color .3s, background .3s, transform .3s;
  cursor: default;
}
.hub-arm.arm-sales   { background: rgba(10,123,255,.08);   border-color: rgba(10,123,255,.3); }
.hub-arm.arm-field   { background: rgba(246,106,20,.08);   border-color: rgba(246,106,20,.3); }
.hub-arm.arm-tech    { background: rgba(24,197,106,.08);   border-color: rgba(24,197,106,.3); }
.hub-arm.arm-sales:hover  { background: rgba(10,123,255,.16);   border-color: rgba(10,123,255,.6);   transform: translateY(-3px); }
.hub-arm.arm-field:hover  { background: rgba(246,106,20,.16);   border-color: rgba(246,106,20,.6);   transform: translateY(-3px); }
.hub-arm.arm-tech:hover   { background: rgba(24,197,106,.16);   border-color: rgba(24,197,106,.6);   transform: translateY(-3px); }

.hub-arm-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.hub-arm-icon svg { width: 18px; height: 18px; }
.hub-arm-icon.sales { background: rgba(10,123,255,.18);   color: var(--blue-light); }
.hub-arm-icon.field { background: rgba(246,106,20,.18);   color: var(--orange-light); }
.hub-arm-icon.tech  { background: rgba(24,197,106,.18);   color: var(--green); }

.hub-arm .arm-en { font-size: .52rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 4px; display: block; }
.hub-arm .arm-ja { font-size: clamp(.82rem, 1.4vw, .95rem); font-weight: 800; color: var(--white); margin-bottom: 6px; display: block; font-family: var(--font-ja); }
.hub-arm .arm-copy { font-size: clamp(.7rem, 1.1vw, .78rem); color: rgba(255,255,255,.45); line-height: 1.7; font-family: var(--font-ja); }

/* hub sub-cards */
.hub-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  margin-top: 64px;
  border-radius: 6px;
  overflow: hidden;
}
.hub-card {
  background: var(--gray-800);
  padding: 32px 28px;
  transition: background .3s;
  border-top: 3px solid transparent;
}
.hub-card.c-blue   { border-top-color: var(--blue); }
.hub-card.c-orange { border-top-color: var(--orange); }
.hub-card.c-green  { border-top-color: var(--green); }
.hub-card:hover { background: rgba(255,255,255,.04); }
.hub-card-num { font-family: var(--font-en); font-size: .6rem; font-weight: 700; letter-spacing: .2em; color: rgba(255,255,255,.2); margin-bottom: 16px; }
.hub-card-ttl { font-size: clamp(.9rem, 1.4vw, 1.05rem); font-weight: 800; color: var(--white); margin-bottom: 8px; line-height: 1.4; }
.hub-card-body { font-size: clamp(.76rem, 1.1vw, .84rem); color: rgba(255,255,255,.48); line-height: 1.9; }

/* ---------- Recruit ---------- */
.recruit-message {
  background: var(--gray-900);
  padding: 100px 0;
  border-top: 1px solid rgba(255,255,255,.07);
}
/* MESSAGE セクション — 2カラムグリッド（デスクトップ） */
.recruit-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ---------- About ---------- */
/* Mission/Vision カード列 */
.about-mv-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mv-card {
  padding: 36px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
}
/* 会社概要グリッド */
.company-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.recruit-positions {
  background: var(--off-white);
  padding: 100px 0;
}
.recruit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); margin-top: 56px; border-radius: 6px; overflow: hidden; }
.pos-card {
  background: var(--off-white);
  padding: 44px 32px;
  position: relative;
  overflow: hidden;
}
.pos-card::before { content: ''; position: absolute; inset: 0; background: var(--gray-900); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: 0; }
.pos-card:hover::before { transform: scaleY(1); }
.pos-card > * { position: relative; z-index: 1; }
.pos-icon { width: 48px; height: 48px; border: 1px solid rgba(10,123,255,.25); background: rgba(10,123,255,.06); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--blue); transition: border-color .3s, color .3s, background .3s; border-radius: 4px; }
.pos-icon svg { width: 20px; height: 20px; }
.pos-card:hover .pos-icon { border-color: rgba(10,123,255,.4); background: rgba(10,123,255,.15); color: var(--blue-light); }
.pos-label { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; display: block; transition: color .3s; }
.pos-ttl { font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 800; color: var(--gray-900); margin-bottom: 10px; transition: color .3s; }
.pos-body { font-size: clamp(.82rem, 1.3vw, .9rem); color: var(--gray-600); line-height: 2; margin-bottom: 18px; transition: color .3s; }
.pos-detail { font-size: clamp(.76rem, 1.1vw, .8rem); color: var(--gray-400); line-height: 1.9; transition: color .3s; }
.pos-card:hover .pos-label { color: var(--orange-light); }
.pos-card:hover .pos-ttl,
.pos-card:hover .pos-body,
.pos-card:hover .pos-detail { color: rgba(255,255,255,.72); }

.recruit-benefits { background: var(--gray-900); padding: 100px 0; border-top: 1px solid rgba(255,255,255,.07); }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; border: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.07); margin-top: 56px; border-radius: 6px; overflow: hidden; }
.ben-item { background: var(--gray-900); padding: 32px 24px; transition: background .3s; }
.ben-item:hover { background: rgba(246,106,20,.05); }
.ben-icon { width: 42px; height: 42px; border: 1px solid rgba(246,106,20,.25); background: rgba(246,106,20,.07); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--orange); border-radius: 4px; }
.ben-icon svg { width: 18px; height: 18px; }
.ben-ttl { font-size: clamp(.88rem, 1.3vw, .96rem); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.ben-body { font-size: clamp(.74rem, 1.1vw, .8rem); color: rgba(255,255,255,.42); line-height: 1.85; }

/* Recruit flow */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 0;
  position: relative;
  margin-top: 56px;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 27px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--orange));
  z-index: 0;
}
.flow-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}
.flow-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(10,123,255,.35);
}
.flow-ttl { font-size: clamp(.84rem, 1.3vw, .94rem); font-weight: 800; color: var(--gray-900); margin-bottom: 6px; }
.flow-body { font-size: clamp(.72rem, 1.1vw, .78rem); color: var(--gray-600); line-height: 1.7; }

/* ---------- News ---------- */
.news-section-full { background: var(--off-white); padding: 80px 0 120px; }
.news-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.news-filter-btn {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  font-family: var(--font-en);
  border-radius: 3px;
}
.news-filter-btn:hover,
.news-filter-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

/* News rows (full page) */
.news-row-full {
  display: grid;
  grid-template-columns: 120px 96px 1fr 36px;
  align-items: start;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--gray-200);
  cursor: pointer;
  transition: background .2s, padding-left .2s;
}
.news-row-full:hover { background: rgba(246,106,20,.04); padding-left: 8px; }
.news-row-full .news-date { padding-top: 2px; }
.news-row-full .news-arr { margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-section { background: var(--off-white); padding: 80px 0 120px; }
.contact-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info-card {
  padding: 28px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  margin-bottom: 12px;
  border-radius: 4px;
  transition: border-color .2s;
}
.contact-info-card:hover { border-color: rgba(10,123,255,.3); }
.contact-info-card .ci-label { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; display: block; }
.contact-info-card .ci-val { font-size: clamp(.92rem, 1.4vw, 1rem); font-weight: 700; color: var(--gray-900); }

/* Form */
.contact-form { display: flex; flex-direction: column; }
.form-block {
  border: 1px solid var(--gray-200);
  margin-top: -1px;
  position: relative;
  transition: border-color .2s;
  background: var(--white);
}
.form-block:focus-within { border-color: var(--blue); z-index: 1; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; }
.form-row-2 .form-block { border-right-width: 0; }
.form-row-2 .form-block:last-child { border-right-width: 1px; }
.form-block label { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); padding: 14px 20px 0; }
.form-block label .req { color: var(--orange); margin-left: 3px; }
.form-block input,
.form-block select,
.form-block textarea {
  display: block; width: 100%; background: none; border: none; outline: none;
  padding: 6px 20px 14px;
  font-size: clamp(.86rem, 1.3vw, .95rem);
  color: var(--gray-900);
  font-family: var(--font-en), var(--font-ja);
  resize: none; appearance: none;
}
.form-block textarea { min-height: 140px; }
.form-block select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%230A7BFF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}
.form-foot { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: clamp(.72rem, 1vw, .78rem); color: var(--gray-400); line-height: 1.8; }
.form-success { display: none; border: 1px solid rgba(24,197,106,.3); background: rgba(24,197,106,.06); padding: 18px 22px; font-size: .92rem; color: #0d7a40; line-height: 1.7; margin-top: 16px; border-radius: 4px; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary {
  font-size: clamp(.92rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--white);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 32px;
  cursor: pointer;
  transition: color .2s;
}
.faq-item summary:hover { color: var(--orange-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--orange); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-body { font-size: clamp(.85rem, 1.3vw, .92rem); color: rgba(255,255,255,.52); line-height: 1.9; padding: 0 32px 24px; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--gray-900); border-top: 1px solid rgba(255,255,255,.07); }
.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 60px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: clamp(.76rem, 1.1vw, .84rem); color: rgba(255,255,255,.32); line-height: 1.9; max-width: 260px; }
.footer-col h4 { font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.footer-col ul li + li { margin-top: 10px; }
.footer-col ul li a { font-size: clamp(.76rem, 1.1vw, .84rem); color: rgba(255,255,255,.38); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.22); letter-spacing: .06em; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: .72rem; color: rgba(255,255,255,.25); letter-spacing: .06em; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* Footer logo */
.footer-logo .logo-mark {
  background: none;
  width: 34px; height: 34px;
}
.footer-logo .logo-mark svg { width: 34px; height: 34px; }

/* ============================================================
   SCROLL TOP
============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 700;
  width: 44px; height: 44px;
  border: 1px solid rgba(246,106,20,.4);
  background: rgba(246,106,20,.15);
  backdrop-filter: blur(12px);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; transform: translateY(12px);
  transition: opacity .3s, transform .3s, background .2s;
}
.scroll-top-btn.show { opacity: 1; transform: translateY(0); }
.scroll-top-btn:hover { background: var(--orange); border-color: var(--orange); }
.scroll-top-btn svg { width: 16px; height: 16px; color: var(--white); }

/* ============================================================
   RESPONSIVE — 1100px
============================================================ */
@media (max-width: 1100px) {
  .c, .header-inner { padding-left: 32px; padding-right: 32px; }
  .hero-inner, .page-header-inner { padding-left: 32px; padding-right: 32px; }
  .concept-strip-inner      { grid-template-columns: 1fr; gap: 48px; }
  .services-grid            { grid-template-columns: 1fr 1fr; }
  .svc-cta-card             { grid-column: span 2; }
  .numbers-grid             { grid-template-columns: 1fr 1fr; }
  .values-grid              { grid-template-columns: 1fr 1fr; }
  .biz-detail-grid          { grid-template-columns: 1fr; }
  .recruit-grid             { grid-template-columns: 1fr 1fr; }
  .benefits-grid            { grid-template-columns: 1fr 1fr; }
  .about-philosophy-inner   { grid-template-columns: 1fr; gap: 48px; }
  .cta-inner                { flex-direction: column; align-items: flex-start; }
  .footer-top               { grid-template-columns: 1fr 1fr; }
  .contact-inner-grid       { grid-template-columns: 1fr; gap: 52px; }
  .company-overview-grid    { grid-template-columns: 1fr; gap: 40px; }
  .hub-cards                { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 768px (MOBILE)
============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  /* Layout */
  .c, .header-inner { padding-left: 20px; padding-right: 20px; }
  .hero-inner, .page-header-inner { padding-left: 20px; padding-right: 20px; }

  /* Nav */
  .primary-nav { display: none; }
  .btn-contact-hd { display: none; }
  .hamburger { display: flex; }
  .mobile-nav-overlay { padding: 0 28px; }

  /* Hero — モバイルでのテキスト可読性向上 */
  .hero-inner { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 72px; }
  .hero-eyebrow { font-size: .72rem; margin-bottom: 24px; }
  .hero-title { font-size: clamp(2rem, 10vw, 4rem); }
  .hero-ja { margin-bottom: 32px; font-size: .95rem; }
  .hero-desc { font-size: .93rem; max-width: 100%; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: space-between; }

  /* Page header */
  .page-header { padding-bottom: 48px; }
  .page-header-inner { padding-top: 40px; }
  .page-h1 { font-size: clamp(1.9rem, 8vw, 3rem); margin-bottom: 16px; }
  .page-lead { font-size: .9rem; line-height: 1.85; }
  .page-eyebrow { font-size: .62rem; margin-bottom: 14px; }

  /* Section headings */
  .sec-h2 { font-size: clamp(1.55rem, 6.5vw, 2.4rem); }
  .sec-h2-sm { font-size: clamp(1.3rem, 5.5vw, 2rem); }
  .sec-body { font-size: .92rem; line-height: 1.9; }
  .sec-label { font-size: .62rem; }

  /* Buttons mobile */
  .btn { font-size: .85rem; padding: 14px 22px; }
  .btn-lg { padding: 15px 26px; font-size: .87rem; }

  /* Services */
  .services-header-top { flex-direction: column; gap: 16px; }
  .services-header-top .btn { align-self: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
  .svc-cta-card { grid-column: span 1; }
  .svc-cta-inner { flex-direction: column; gap: 20px; }
  .svc-card { padding: 32px 20px; }
  .services-preview { padding: 64px 0; }
  .services-header { margin-bottom: 36px; }

  /* Numbers */
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-item { padding: 32px 16px; }
  .num-val { font-size: clamp(2rem, 8vw, 3.2rem); }
  .numbers-section { padding: 56px 0; }

  /* Concept */
  .concept-strip { padding: 64px 0; }
  .concept-strip-inner { grid-template-columns: 1fr; gap: 36px; }
  .concept-body { font-size: .92rem; }
  .concept-ghost { font-size: clamp(3.5rem, 14vw, 6rem); margin-bottom: -20px; }
  /* ハブダイアグラムビジュアル — スマホでは非表示 */
  .concept-box { display: none; }

  /* Recruit message — インラインgridを上書き */
  .recruit-message-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  /* Recruit stat cards — インラインgridを上書き */
  .recruit-stat-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
  }

  /* Recruit */
  .recruit-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .recruit-message, .recruit-positions, .recruit-benefits { padding: 64px 0; }
  .pos-card { padding: 32px 20px; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }
  .val-card { padding: 32px 20px; }

  /* About philosophy — インラインgridを上書き */
  .about-philosophy-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* Mission/Vision カード padding縮小 */
  .mv-card { padding: 24px 20px; }
  /* About company overview */
  .company-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
  /* recruit message grid — 1カラムに */
  .recruit-message-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* About */
  .about-philosophy, .about-section, .about-overview { padding: 64px 0; }
  .philosophy-quote { font-size: clamp(1.2rem, 5vw, 1.7rem); }
  .philosophy-body { font-size: .92rem; }

  /* News */
  .news-row { grid-template-columns: 1fr 36px; gap: 12px; }
  .news-date, .news-cat { display: none; }
  .news-row-full { grid-template-columns: 1fr 36px; gap: 12px; }
  .news-row-full .news-date,
  .news-row-full .news-cat { display: none; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .news-ttl { font-size: .93rem; }
  .news-preview { padding: 64px 0; }
  .news-section-full { padding: 56px 0 80px; }

  /* Hub section */
  .hub-section { padding: 64px 0; }
  .hub-diagram { max-width: 100%; gap: 0; }
  .hub-center-node { max-width: 100%; padding: 20px 24px; }
  .hub-connectors { max-width: 100%; }
  .hub-bridge { max-width: 100%; }
  .hub-arms { max-width: 100%; grid-template-columns: 1fr; gap: 10px; }
  .hub-arm { text-align: left; display: flex; align-items: flex-start; gap: 14px; }
  .hub-arm-icon { flex-shrink: 0; margin: 0; }
  .hub-arm-text { flex: 1; }
  .hub-cards { grid-template-columns: 1fr; margin-top: 40px; }

  /* Concept box hub */
  .hub-arms-row { grid-template-columns: 1fr; gap: 8px; }
  .hub-arm-box { text-align: left; display: flex; align-items: center; gap: 12px; }
  .hub-arm-box-icon { flex-shrink: 0; margin: 0; }

  /* Flow — 選考フロー */
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .flow-steps::before { display: none; }
  .flow-ttl { font-size: .88rem; }
  .flow-num { width: 48px; height: 48px; font-size: .85rem; }

  /* Form */
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-2 .form-block { border-right-width: 1px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .form-foot .btn { width: 100%; justify-content: space-between; }
  .contact-section { padding: 56px 0 72px; }
  .contact-inner-grid { gap: 36px; }

  /* FAQ */
  .faq-item summary { padding: 20px 18px; font-size: .92rem; gap: 12px; }
  .faq-body { padding: 0 18px 20px; font-size: .88rem; }

  /* CTA */
  .cta-strip { padding: 64px 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: space-between; }
  .cta-h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; padding: 48px 0 40px; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Company overview */
  .company-overview-grid { grid-template-columns: 1fr; gap: 36px; }
  .company-table { font-size: .88rem; }
  .company-table th { width: 100px; font-size: .66rem; padding: 16px 12px 16px 0; }
  .company-table td { font-size: .88rem; padding: 16px 0; }

  /* Business detail */
  .biz-detail-grid { grid-template-columns: 1fr; }
  .biz-detail-card { padding: 32px 20px; }
  .bdc-ttl { font-size: clamp(1.05rem, 4vw, 1.3rem); }
  .bdc-body { font-size: .9rem; }

  /* Biz section */
  .biz-section { padding: 56px 0 72px; }
}

/* ============================================================
   RESPONSIVE — 480px (SMALL MOBILE)
============================================================ */
@media (max-width: 480px) {
  .c, .header-inner { padding-left: 16px; padding-right: 16px; }
  .hero-inner, .page-header-inner { padding-left: 16px; padding-right: 16px; }

  /* Hero */
  .hero-title { font-size: clamp(1.75rem, 9.5vw, 3rem); letter-spacing: -.025em; }
  .hero-inner { padding-bottom: 60px; }

  /* Page header */
  .page-h1 { font-size: clamp(1.7rem, 9vw, 2.6rem); }

  /* Numbers */
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .num-item { padding: 24px 14px; }
  .num-val { font-size: clamp(1.8rem, 7.5vw, 2.8rem); }
  .num-label { font-size: .75rem; }

  /* Benefits */
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  /* Flow */
  .flow-steps { grid-template-columns: 1fr; gap: 20px; }
  .flow-num { width: 44px; height: 44px; }

  /* Buttons */
  .services-header-top .btn { width: 100%; justify-content: space-between; }

  /* Cards */
  .svc-card { padding: 26px 16px; }
  .pos-card { padding: 26px 16px; }
  .val-card { padding: 28px 16px; }
  .ben-item { padding: 24px 16px; }
  .hub-card { padding: 26px 20px; }
  .biz-detail-card { padding: 28px 16px; }

  /* Concept box */
  .hub-arrows { gap: 0; }
  .hub-arm-box { padding: 12px 12px; }
  .hub-center-box { padding: 16px 18px; }

  /* Mobile nav larger tap targets */
  .mobile-nav-overlay a { padding: 4px 0; }

  /* Section spacing */
  .concept-strip,
  .services-preview,
  .numbers-section,
  .news-preview,
  .cta-strip,
  .hub-section,
  .recruit-message,
  .recruit-positions,
  .recruit-benefits,
  .about-philosophy,
  .about-section,
  .about-overview,
  .contact-section,
  .biz-section,
  .news-section-full { padding-top: 48px; padding-bottom: 48px; }

  .page-header { padding-bottom: 40px; }
  .page-header-inner { padding-top: 32px; }

  /* Recruit stat カードのパディング縮小 */
  .recruit-stat-grid > div { padding: 24px 16px !important; }
  .recruit-stat-grid .stat-val { font-size: 2rem !important; }

  /* About philosophy card */
  .about-philosophy-inner > div > div[style*="padding"] {
    padding: 20px 16px !important;
  }

  /* Company table */
  .company-table th { width: 90px; }

  /* Footer */
  .footer-top { padding: 40px 0 32px; }
}
