/* ============================================
   株式会社BEM — Corporate Website Stylesheet
   Palette: Warm Slate × Champagne Gold × Cream
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  --slate:      #4D5B7C;
  --slate-dark: #3A4660;
  --slate-light:#6B7D9E;
  --gold:       #C9953C;
  --gold-light: #EDD9A3;
  --gold-dark:  #A07830;
  --cognac:     #3C2A1C;
  --teal:       #2A9E94;
  --cream:      #FBF9F4;
  --cream-dark: #F2EAE0;
  --white:      #FFFFFF;
  --text-dark:  #1E1A14;
  --text-mid:   #635040;
  --text-light: #9C8878;
  --border:     #E0D4C4;

  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Raleway', sans-serif;
  --radius:  4px;
  --shadow:  0 4px 24px rgba(77, 91, 124, 0.10);
  --shadow-lg: 0 8px 40px rgba(77, 91, 124, 0.15);
  --transition: 0.3s ease;
}

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

/* --- Utilities --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.text-center { text-align: center; }

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--slate-dark);
  line-height: 1.4;
  margin-bottom: 1.2rem;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.9;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }
.divider {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 1.2rem 0 0;
  border-radius: 2px;
}
.center .divider { margin: 1.2rem auto 0; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 149, 60, 0.25);
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255, 252, 248, 0.99);
  box-shadow: 0 2px 20px rgba(77, 91, 124, 0.12);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
}
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700; font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-dark);
  line-height: 1.3;
}
.nav-logo-text span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-weight: 400;
}
.nav-links {
  display: flex; align-items: center; gap: 0.5rem;
}
.nav-links a {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  color: var(--slate-dark);
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 400;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--slate);
  background: rgba(77,91,124,0.08);
}
.nav-cta {
  padding: 0.5rem 1.2rem !important;
  background: var(--gold) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--slate-dark);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  background: var(--slate-dark);
  padding: 1rem 2rem 1.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 0.75rem 0;
  font-size: 0.95rem; color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.nav-mobile a:hover { color: var(--gold-light); }
.nav-mobile a:last-child { border-bottom: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  background: var(--slate);
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg-shape {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  background: var(--slate-light);
  opacity: 0.2;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-bg-dots {
  position: absolute; bottom: 10%; right: 8%;
  width: 200px; height: 200px;
  background-image: radial-gradient(circle, rgba(201,149,60,0.25) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1100px; margin: 0 auto; padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(201,149,60,0.15);
  border: 1px solid rgba(201,149,60,0.35);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.hero-title .gold { color: var(--gold-light); }
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-jp);
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,149,60,0.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn-slate {
  background: var(--slate);
  color: var(--white);
}
.btn-slate:hover { background: var(--slate-dark); transform: translateY(-2px); }

/* Hero visual (AI/DX illustration) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-inner {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  backdrop-filter: blur(8px);
  width: 100%;
}
.hero-visual-svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-visual-caption {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-align: center;
  margin: 0.75rem 0 0;
  line-height: 1.7;
}
.hero-visual-caption strong {
  color: var(--gold-light);
}

/* Company at a Glance strip */
.glance-strip {
  background: var(--slate-dark);
  padding: 3rem 0;
}
.glance-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
}
.glance-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.glance-item {
  text-align: center;
  padding: 0 3rem;
}
.glance-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.glance-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.glance-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ============================================
   FEATURES / STRENGTHS STRIP
   ============================================ */
.features-strip {
  background: var(--slate-dark);
  padding: 3rem 0;
}
.features-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  overflow: hidden;
}
.feature-item {
  background: var(--slate-dark);
  padding: 1.75rem 1.5rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: var(--transition);
}
.feature-item:hover { background: var(--slate); }
.feature-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,149,60,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.feature-text h4 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.feature-text p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ============================================
   SERVICES OVERVIEW (index)
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-en);
  font-size: 0.75rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.service-num::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}
.service-icon {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.service-card h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.5rem;
}
.service-card .service-sub {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.service-ratio {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--slate);
  font-size: 0.78rem; font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

/* ============================================
   ABOUT (top page)
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}
.about-card {
  background: var(--slate);
  border-radius: 12px;
  padding: 2.5rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card::after {
  content: 'BEM';
  position: absolute; bottom: -1.5rem; right: 1rem;
  font-family: var(--font-en);
  font-size: 7rem; font-weight: 700;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
}
.about-avatar {
  width: 90px; height: 90px;
  background: var(--slate-light);
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-jp);
  overflow: hidden;
}
.about-card h3 {
  font-size: 1.25rem; font-weight: 700;
  margin-bottom: 0.25rem;
}
.about-card .role {
  font-size: 0.82rem; color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.about-card .bio {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
}
.about-right {}
.about-points {
  display: flex; flex-direction: column; gap: 1.2rem;
  margin-top: 2rem;
}
.about-point {
  display: flex; gap: 1rem; align-items: flex-start;
}
.about-point-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--cream-dark);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--border);
}
.about-point-text h4 {
  font-size: 0.9rem; font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.2rem;
}
.about-point-text p {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  position: relative;
}
.project-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.project-period {
  font-size: 0.75rem; color: var(--text-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-en);
}
.project-client {
  font-size: 0.78rem; font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.project-card h4 {
  font-size: 0.92rem; font-weight: 700;
  color: var(--slate-dark);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.project-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.tag {
  font-size: 0.72rem; font-weight: 600;
  background: var(--cream-dark);
  color: var(--slate);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.project-accent {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  border-radius: 8px 0 0 8px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--slate);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 40%; height: 100%;
  background: var(--gold);
  opacity: 0.06;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-inner .section-label { color: var(--gold-light); }
.cta-inner .section-title { color: var(--white); }
.cta-inner .section-subtitle { color: rgba(255,255,255,0.7); margin: 0 auto 2.5rem; }
.cta-inner .divider { background: var(--gold-light); margin: 1.2rem auto 0; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--cognac);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand {}
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-mark {
  width: 32px; height: 32px;
  background: var(--gold);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700; font-size: 0.85rem;
  color: var(--white);
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
}
.footer-col h5 {
  font-size: 0.8rem; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-en);
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col .info-item {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
  display: flex; gap: 0.5rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }

/* ============================================
   PAGE HERO (sub pages)
   ============================================ */
.page-hero {
  background: var(--slate);
  padding: 130px 0 72px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 35%; height: 100%;
  background: var(--slate-light);
  opacity: 0.15;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .section-label { color: var(--gold-light); }
.page-hero .section-title { color: var(--white); margin-bottom: 0; }
.page-hero .section-subtitle { color: rgba(255,255,255,0.7); }
.page-hero .divider { background: var(--gold); }

/* ============================================
   SERVICE PAGE — DETAIL
   ============================================ */
.service-detail {
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 5rem;
  align-items: start;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-label {
  font-family: var(--font-en);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.service-detail h2 {
  font-size: 1.6rem; font-weight: 700;
  color: var(--slate-dark);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.service-detail .sub {
  font-size: 0.9rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.service-detail p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}
.detail-list {
  display: flex; flex-direction: column; gap: 0.6rem;
}
.detail-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.88rem; color: var(--text-dark);
  line-height: 1.7;
}
.detail-list li::before {
  content: '▸';
  color: var(--gold);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}
.service-visual {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  border-left: 4px solid var(--gold);
}
.service-visual h4 {
  font-size: 0.82rem; font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.process-steps {
  display: flex; flex-direction: column; gap: 0;
}
.process-step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding-bottom: 1.2rem;
  position: relative;
}
.process-step:not(:last-child)::before {
  content: '';
  position: absolute; left: 15px; top: 32px;
  width: 1px; bottom: 0;
  background: var(--border);
}
.step-dot {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--slate);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-size: 0.7rem; font-weight: 700;
  color: var(--gold-light);
  position: relative; z-index: 1;
}
.step-content h5 {
  font-size: 0.88rem; font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.2rem;
}
.step-content p {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}
.contact-info {}
.contact-info-card {
  background: var(--slate);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.contact-info-card h4 {
  font-size: 0.78rem; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-en);
}
.contact-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin-bottom: 1rem;
}
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: rgba(201,149,60,0.15);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.contact-item-text label {
  display: block;
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
  margin-bottom: 0.15rem;
}
.contact-item-text span {
  font-size: 0.88rem; color: var(--white); font-weight: 500;
}
.contract-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 0.5rem;
}
.contract-badge {
  font-size: 0.75rem; font-weight: 600;
  background: rgba(42,158,148,0.15);
  color: #5ECDC8;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(42,158,148,0.25);
}

/* Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrapper h3 {
  font-size: 1.15rem; font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 0.5rem;
}
.contact-form-wrapper .sub {
  font-size: 0.85rem; color: var(--text-mid);
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem; font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 0.5rem;
}
.form-group label .req {
  color: var(--gold);
  margin-left: 0.2rem;
  font-size: 0.7rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-jp);
  color: var(--text-dark);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--slate);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(77,91,124,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-submit { text-align: right; }
.form-note {
  font-size: 0.8rem; color: var(--text-light);
  margin-bottom: 1rem; text-align: right;
}

/* Google Form link box */
.form-link-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
}
.form-link-icon {
  width: 64px; height: 64px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: var(--shadow);
}
.form-link-lead {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.form-link-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  padding: 0.9rem 2rem;
}

/* ============================================
   COMPANY INFO TABLE
   ============================================ */
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th, .company-table td {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  width: 180px;
  background: var(--slate);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
}
.company-table tr:nth-child(odd) td { background: var(--white); }
.company-table tr:nth-child(even) td { background: var(--cream); }

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-card { max-width: 400px; }
  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-grid.reverse { direction: ltr; }
  .contact-grid { gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .glance-item { padding: 0 1.5rem; }
  .glance-num { font-size: 1.8rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .features-strip-inner { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .company-table th { width: 120px; }
}

@media (max-width: 480px) {
  .features-strip-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
}
