/* =============================================
   DOUBLE ZERO - Modern Design System v2.1 (Light)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Montserrat:wght@300;400;600;700;900&display=swap');

/* --- Variables --- */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f0f4f2;
  --bg-card: #ffffff;
  --accent-start: #1a6b55;
  --accent-end: #28a87e;
  --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --text-primary: #0d1f18;
  --text-secondary: #3a5248;
  --text-muted: #7a9990;
  --border: rgba(0, 0, 0, 0.08);
  --border-accent: rgba(26, 107, 85, 0.28);
  --shadow-sm: 0 2px 12px rgba(26, 107, 85, 0.07);
  --shadow-md: 0 8px 32px rgba(26, 107, 85, 0.12);
  --shadow-lg: 0 20px 60px rgba(26, 107, 85, 0.16);
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --nav-height: 72px;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-jp);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-img {
  height: 32px;
  width: auto;
  display: block;
  /* GIFはモノクロ黒文字のため、ティールで色付けする */
  filter: invert(30%) sepia(60%) saturate(500%) hue-rotate(120deg) brightness(0.85);
  opacity: 0.92;
}
.nav.scrolled .nav-logo-img {
  opacity: 1;
}
.nav-logo .en {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.15em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-logo .jp {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-recruit-btn {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 10px 24px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff !important;
  box-shadow: 0 2px 16px rgba(26, 107, 85, 0.30);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav-recruit-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(26, 107, 85, 0.40);
}
.nav-recruit-btn::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 200;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay a {
  font-size: 22px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  transition: color var(--transition);
}
.nav-mobile-overlay a:hover { color: var(--text-primary); }
.nav-mobile-overlay .mobile-recruit {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff;
}

.hero, .stats-bar, .about-section, .works-ticker-wrap, .contact-cta-section {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 0px;
}

/* =============================================
   GUTENBERG EDITOR WIDTH
   ============================================= */
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.alignfull,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.hero,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.stats-bar,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.about-section,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.contact-cta-section,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block[data-type="core/html"],
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.wp-block-html,
.editor-styles-wrapper .hero > .wp-block-html,
.editor-styles-wrapper .hero > .wp-block[data-type="core/html"] {
  max-width: none;
  width: 100%;
}
 
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block[data-type="core/html"] .block-editor-block-list__block,
.editor-styles-wrapper .block-editor-block-list__layout.is-root-container > .wp-block.wp-block-html .block-editor-block-list__block {
  max-width: none;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(26, 107, 85, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(40, 168, 126, 0.05) 0%, transparent 60%);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 107, 85, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 0%, transparent 100%);
}
/* alias used in HTML */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 107, 85, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 85, 0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 65% 45%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 65% 45%, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-blob {
  position: absolute;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 107, 85, 0.09) 0%, transparent 70%);
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  animation: blobPulse 8s ease-in-out infinite;
  pointer-events: none;
}
/* "00" を表す二つのオーブ */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 38% 38%,
    rgba(40, 168, 126, 0.16) 0%,
    rgba(26, 107, 85, 0.08) 45%,
    transparent 70%);
  border: 1px solid rgba(40, 168, 126, 0.12);
  right: 4%;
  top: 50%;
  transform: translateY(-58%);
  animation: orbPulse 10s ease-in-out infinite;
}
.hero-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle at 55% 45%,
    rgba(26, 107, 85, 0.12) 0%,
    rgba(40, 168, 126, 0.05) 50%,
    transparent 72%);
  border: 1px solid rgba(26, 107, 85, 0.10);
  right: 18%;
  top: 50%;
  transform: translateY(-38%);
  animation: orbPulse 10s ease-in-out 1.4s infinite;
}
@keyframes blobPulse {
  0%, 100% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.08); }
}
@keyframes orbPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
  50% { transform: translateY(-50%) scale(1.1); opacity: 0.75; }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 32px 100px;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-start);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px; height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(56px, 9vw, 116px) !important;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-bottom: 36px;
}
.hero-title .line-1 { display: block; color: var(--text-primary); }
.hero-title .line-2 {
  display: block;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 420px;
  margin-bottom: 52px;
  line-height: 2.1;
  letter-spacing: 0.03em;
}
.hero-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff !important;
  box-shadow: 0 4px 24px rgba(26, 107, 85, 0.35);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(26, 107, 85, 0.45);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 100px;
  border: 1.5px solid var(--border-accent);
  color: var(--accent-start) !important;
  transition: background var(--transition), transform var(--transition), border-color var(--transition);
}
.btn-outline:hover {
  background: rgba(26, 107, 85, 0.06);
  border-color: var(--accent-start);
  transform: translateY(-2px);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-text {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, var(--accent-start), transparent);
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:hover { background: rgba(26, 107, 85, 0.03); }
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* =============================================
   SECTION COMMON
   ============================================= */
section { position: relative; z-index: 1; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 108px 32px;
}
.section-header { margin-bottom: 64px; }
.section-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--accent-start);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }
.section-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.section-title .gr {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 520px;
  line-height: 2.1;
  letter-spacing: 0.02em;
}
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* =============================================
   WORKS TICKER
   ============================================= */
.works-ticker-wrap {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 28px;
  background: var(--accent-gradient);
  position: relative;
  z-index: 2;
  min-width: 130px;
}
.ticker-label::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  bottom: 0;
  width: 28px;
  background: inherit;
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}
.ticker-label-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
}
.ticker-label-link {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.ticker-label-link:hover { opacity: 0.8; }
.ticker-track-outer {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* 左右をフェードアウト */
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 55s linear infinite;
  padding: 18px 0;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ticker-net {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-start);
  background: rgba(26, 107, 85, 0.1);
  border-radius: 3px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.ticker-sep {
  font-size: 8px;
  color: var(--text-muted);
  opacity: 0.5;
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .ticker-label { min-width: 100px; padding: 14px 16px; }
  .ticker-label::after { display: none; }
  .ticker-item { font-size: 12px; padding: 0 14px; }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-section { background: var(--bg-secondary); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
}
.about-visual-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(26, 107, 85, 0.09) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 80%, rgba(40, 168, 126, 0.07) 0%, transparent 50%);
}
.about-visual-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 107, 85, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}
/* alias used in HTML */
.about-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 107, 85, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 107, 85, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.8;
}
.about-visual-accent {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-gradient);
  opacity: 0.12;
  filter: blur(20px);
}
.about-visual-big {
  position: relative;
  font-family: var(--font-en);
  font-size: 100px;
  font-weight: 900;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.18;
  letter-spacing: -0.05em;
}
.about-visual-sub {
  position: relative;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.about-content .section-desc { margin-bottom: 44px; }
.about-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.meta-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.meta-item:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.meta-key {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-en);
  font-weight: 600;
}
.meta-val {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

/* オフィス写真カード */
.about-visual-photo {
  padding: 0 !important;
  overflow: hidden;
}
.about-office-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-visual-photo:hover .about-office-img {
  transform: scale(1.04);
}
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 31, 24, 0.65) 0%, rgba(13, 31, 24, 0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.about-photo-badge {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-gradient);
  padding: 8px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(26, 107, 85, 0.4);
}

/* =============================================
   WORKS
   ============================================= */

/* 画像カード形式 */
.works-grid-visual {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.work-card-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.work-card-visual:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.work-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card-visual:hover .work-card-img img { transform: scale(1.04); }
.work-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.18) 0%, transparent 50%);
  pointer-events: none;
}
.work-card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, #eef2ff 0%, #e0eaff 100%);
  color: var(--text-muted);
}
.work-card-img-placeholder svg { opacity: 0.4; }
.work-card-img-placeholder span {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.work-card-body {
  padding: 18px 20px 20px;
}
.work-card-body .work-network { margin-bottom: 8px; }
.work-card-body .work-title { font-size: 15px; }

.works-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.works-tab {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  font-family: var(--font-jp);
}
.works-tab:hover {
  color: var(--text-secondary);
  border-color: rgba(26, 107, 85, 0.2);
}
.works-tab.active {
  background: rgba(26, 107, 85, 0.08);
  border-color: var(--border-accent);
  color: var(--accent-start);
  font-weight: 600;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.work-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.work-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.work-network {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-start);
  background: rgba(26, 107, 85, 0.08);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.work-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.6;
}

/* =============================================
   RECRUIT
   ============================================= */
.recruit-section { background: var(--bg-secondary); }
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.recruit-card {
  padding: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.recruit-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.recruit-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
.recruit-card:hover::after { transform: scaleX(1); }
.recruit-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 6px;
  margin-bottom: 22px;
}
.badge-contract { background: rgba(26, 107, 85, 0.1); color: var(--accent-start); }
.badge-commission { background: rgba(255, 140, 0, 0.1); color: #e07800; }
.recruit-job {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.recruit-en {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
}
.recruit-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.recruit-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  font-size: 13px;
  line-height: 1.7;
}
.recruit-row .rk {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: 2px;
}
.recruit-row .rv { color: var(--text-secondary); }
.recruit-row .rv strong { color: var(--text-primary); font-weight: 600; }
.recruit-apply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-start);
  letter-spacing: 0.04em;
  transition: gap var(--transition);
}
.recruit-apply:hover { gap: 14px; }

/* =============================================
   CONTACT CTA
   ============================================= */
.contact-cta-section {
  background: var(--bg-secondary);
}
.contact-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px;
  text-align: center;
  position: relative;
}
.contact-cta-inner::before {
  content: '';
  position: absolute;
  inset: 40px 15%;
  background: radial-gradient(ellipse at center, rgba(26, 107, 85, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 18px 44px;
  border-radius: 100px;
  background: var(--accent-gradient);
  color: #fff !important;
  box-shadow: 0 4px 28px rgba(26, 107, 85, 0.3);
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
}
.contact-email-link:hover {
  opacity: 0.88;
  transform: translateY(-3px);
  box-shadow: 0 10px 44px rgba(26, 107, 85, 0.42);
}

/* =============================================
   COMPANY TABLE
   ============================================= */
.company-section { background: var(--bg-secondary); }
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.company-table tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.company-table tr:last-child { border-bottom: none; }
.company-table tr:hover { background: rgba(26, 107, 85, 0.02); }
.company-table th {
  width: 200px;
  padding: 26px 28px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  vertical-align: top;
  white-space: nowrap;
  background: var(--bg-secondary);
}
.company-table td {
  padding: 26px 28px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}
.company-table td strong { color: var(--text-primary); font-weight: 600; }

/* Clients */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 60px;
}
.client-chip {
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.client-chip:hover {
  border-color: var(--border-accent);
  color: var(--accent-start);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  padding: 160px 32px 72px;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
}
.page-hero-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(26, 107, 85, 0.09) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 107, 85, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-breadcrumb {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.page-breadcrumb a:hover { color: var(--accent-start); }
.page-breadcrumb .sep { opacity: 0.4; }
.page-hero-title {
  font-family: var(--font-en);
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.page-hero-title .gr {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero-jp {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  font-weight: 400;
}

/* =============================================
   COMPANY PHOTO BANNER
   ============================================= */
.company-photo-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.company-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.75) saturate(0.85);
}
.company-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 32px;
  background: linear-gradient(to top, rgba(13, 31, 24, 0.75) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
}
.company-photo-caption span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.1em;
  font-family: var(--font-jp);
}
@media (max-width: 680px) {
  .company-photo-banner { height: 220px; }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text-primary);
  padding: 48px 32px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand .en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.footer-brand .jp {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  transition: color var(--transition);
}
.footer-nav a:hover { color: rgba(255,255,255,0.9); }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0.3;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .recruit-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--border); border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 680px) {
  :root { --nav-height: 60px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section-inner { padding: 72px 20px; }
  .page-hero { padding: 120px 20px 56px; }
  .hero-content { padding: 110px 20px 90px; }
  .stats-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .footer-copy { text-align: center; }
  .company-table th { width: 90px; padding: 16px 14px; font-size: 11px; }
  .company-table td { padding: 16px 14px; font-size: 13px; }
  .recruit-card { padding: 28px 24px; }
  .contact-cta-inner { padding: 80px 20px; }
  .clients-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
