/* ===================================================
   LIXON Corporate Site — Shared Stylesheet
   Color: Black & White base
   Fonts: Noto Sans JP, Outfit
   =================================================== */

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

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Outfit', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
}
.section-title-en {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ===== Scroll Animations ===== */
.fade-in {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent; transition: background 0.4s ease, box-shadow 0.4s ease;
  padding: 20px 0; height: auto;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}

.navbar-container {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.navbar-logo {
  display: flex; align-items: center; height: 40px;
  position: relative;
}
.navbar-logo img {
  height: 36px; width: auto; max-width: none;
  object-fit: contain;
  transition: opacity 0.4s ease, display 0.4s ease;
}
.logo-light {
  opacity: 1; display: block;
}
.logo-dark {
  opacity: 0; display: none;
}
.navbar.scrolled .logo-light {
  opacity: 0; display: none;
}
.navbar.scrolled .logo-dark {
  opacity: 1; display: block;
}

.nav-menu {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-menu a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease; position: relative;
}
.navbar.scrolled .nav-menu a {
  color: #555;
}
.nav-menu a:hover {
  color: #fff;
}
.navbar.scrolled .nav-menu a:hover {
  color: #111;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -6px; left: 0;
  width: 0; height: 2px; background: currentColor;
  transition: width 0.3s ease;
}
.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px; border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease; background: transparent;
}
.nav-cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.8);
}
.navbar.scrolled .nav-cta {
  border-color: #111; color: #111;
}
.navbar.scrolled .nav-cta:hover {
  background: #111; color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  z-index: 1001; width: 28px; height: 20px; justify-content: space-between;
  padding: 0;
}
.mobile-menu-toggle span {
  width: 100%; height: 2.5px; background: rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease; display: block;
  transform-origin: center;
}
.navbar.scrolled .mobile-menu-toggle span {
  background: #1a1a1a;
}

/* Dark navbar for sub-pages — always visible with scrolled look */
.navbar.dark {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 0;
}
.navbar.dark .logo-light { opacity: 0; display: none; }
.navbar.dark .logo-dark { opacity: 1; display: block; }
.navbar.dark .nav-menu a { color: #555; }
.navbar.dark .nav-menu a:hover { color: #111; }
.navbar.dark .nav-cta { border-color: #111; color: #111; }
.navbar.dark .nav-cta:hover { background: #111; color: #fff; }
.navbar.dark .mobile-menu-toggle span { background: #1a1a1a; }
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}
.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

/* Legacy nav styles for backwards compatibility */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 0 40px; height: 80px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav.dark .nav-logo .logo-white,
.nav.dark .nav-toggle span { display: none; }
.nav.dark .nav-logo .logo-black { opacity: 1; position: relative; }
.nav.dark .nav-links a { color: #555; }
.nav.dark .nav-links a:hover { color: #111; }
.nav.dark .nav-toggle span { background: #111; }

.nav-logo {
  display: flex; align-items: center; height: 32px; position: relative;
}
.nav-logo img { height: 28px; width: auto; transition: opacity 0.4s ease; }
.nav-logo .logo-white { opacity: 1; position: absolute; }
.nav-logo .logo-black { opacity: 0; }
.nav.scrolled .nav-logo .logo-white { opacity: 0; }
.nav.scrolled .nav-logo .logo-black { opacity: 1; position: relative; }

.nav-links {
  display: flex; gap: 28px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85); transition: color 0.3s ease; position: relative;
}
.nav.scrolled .nav-links a { color: #555; }
.nav-links a:hover { color: #fff; }
.nav.scrolled .nav-links a:hover { color: #111; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: currentColor; transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: background 0.4s ease; }
.nav.scrolled .nav-toggle span { background: #1a1a1a; }

.mobile-menu {
  position: fixed; inset: 0; background: rgba(0,0,0,0.97);
  z-index: 999; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-menu.active { opacity: 1; pointer-events: all; }
.mobile-menu-links {
  list-style: none; text-align: center;
  display: flex; flex-direction: column; gap: 24px;
}
.mobile-menu-links a { font-size: 1.3rem; font-weight: 500; color: #fff; }
.mobile-menu-close {
  position: absolute; top: 28px; right: 28px; width: 32px; height: 32px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.mobile-menu-close::before,
.mobile-menu-close::after {
  content: ''; position: absolute; width: 24px; height: 2px; background: #fff;
}
.mobile-menu-close::before { transform: rotate(45deg); }
.mobile-menu-close::after { transform: rotate(-45deg); }

/* ===== Hero (Video / Image) ===== */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: #000; margin-top: 0;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.4;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative; text-align: center; color: #fff; z-index: 1; padding: 0 20px;
  max-width: 800px;
}
.hero-tagline {
  font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 400;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 1s 0.3s forwards;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700;
  line-height: 1.4; margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,0.75); max-width: 700px; margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px; font-size: 0.9rem; font-weight: 500;
  color: #fff; transition: all 0.3s ease;
  opacity: 0; animation: fadeUp 1s 1.2s forwards;
}
.hero-cta:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.hero-cta svg { transition: transform 0.3s ease; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-family: 'Outfit', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

/* ===== Page Hero (Sub-pages) ===== */
.page-hero {
  padding-top: 140px; padding-bottom: 80px;
  background: #f7f7f7; text-align: center; margin-top: 0;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-size: 2.2rem; font-weight: 700; margin-bottom: 16px;
}
.page-hero p { color: #777; font-size: 0.95rem; }

/* ===== Brands Section ===== */
.brands-section {
  padding: 80px 0; background: #fff;
}
.brands-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px;
}
.brand-card {
  background: #f7f7f7; border-radius: 16px; padding: 48px 40px;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.brand-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.brand-card:hover::before { transform: scaleX(1); }
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.brand-card-header {
  margin-bottom: 20px;
}
.brand-card-header h3 {
  font-size: 1.4rem; font-weight: 700;
  color: #111; margin: 0;
}
.brand-card-description {
  color: #666; font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 24px;
}
.brand-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #111;
  transition: gap 0.3s ease; position: relative;
}
.brand-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #111;
  transition: width 0.3s ease;
}
.brand-link:hover { gap: 10px; }
.brand-link:hover::after { width: 100%; }

/* ===== Services Section ===== */
.services-section {
  padding: 80px 0; background: #f7f7f7;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.service-card {
  background: #fff; border-radius: 16px; padding: 48px 40px;
  transition: all 0.4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.service-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: #111; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; color: #fff;
}
.service-icon svg {
  width: 28px; height: 28px; stroke: currentColor;
}
.service-card h3 {
  font-size: 1.15rem; font-weight: 700;
  color: #111; margin-bottom: 12px;
}
.service-card p {
  color: #777; font-size: 0.92rem; line-height: 1.8;
  margin-bottom: 24px;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #111;
  transition: gap 0.3s ease; position: relative;
}
.service-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #111;
  transition: width 0.3s ease;
}
.service-link:hover { gap: 10px; }
.service-link:hover::after { width: 100%; }

/* ===== Representative Section ===== */
.representative-section {
  padding: 100px 0; background: #fff;
}
.representative-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.representative-image {
  height: 420px; border-radius: 16px;
  background: #e8e8e8; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.representative-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.representative-message h2 {
  font-size: 1.8rem; font-weight: 700;
  color: #111; margin-bottom: 16px;
}
.representative-title {
  font-size: 0.9rem; color: #999; font-weight: 500;
  margin-bottom: 24px;
}
.representative-text {
  color: #666; font-size: 0.95rem; line-height: 1.9;
  margin-bottom: 32px;
}
.cta-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.9rem; font-weight: 600; color: #111;
  transition: gap 0.3s ease; position: relative;
}
.cta-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #111;
  transition: width 0.3s ease;
}
.cta-link:hover { gap: 10px; }
.cta-link:hover::after { width: 100%; }

/* ===== Contents Section ===== */
.contents-section {
  padding: 80px 0; background: #f7f7f7;
}
.contents-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin-bottom: 60px;
}
.content-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.content-image {
  height: 200px; background: #e0e0e0;
  display: flex; align-items: center; justify-content: center;
  color: #aaa; overflow: hidden;
}
.content-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.content-body {
  padding: 24px; flex: 1; display: flex;
  flex-direction: column;
}
.content-date {
  font-size: 0.75rem; color: #999;
  font-family: 'Outfit', sans-serif; font-weight: 500;
  margin-bottom: 8px;
}
.content-body h3 {
  font-size: 1rem; font-weight: 700;
  color: #111; margin-bottom: 12px; line-height: 1.5;
}
.content-body p {
  font-size: 0.9rem; color: #777; line-height: 1.7;
  margin-bottom: 16px; flex: 1;
}
.content-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #111;
  transition: gap 0.3s ease; position: relative;
}
.content-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: #111;
  transition: width 0.3s ease;
}
.content-link:hover { gap: 10px; }
.content-link:hover::after { width: 100%; }

.contents-link-container {
  text-align: center; padding-top: 20px;
}

/* ===== Shared Card Styles ===== */
.card {
  background: #f7f7f7; border-radius: 16px; padding: 48px 36px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.06); }

.card-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #111; display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px; color: #fff;
}
.card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.card-desc { font-size: 0.88rem; color: #777; line-height: 1.9; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: #111; margin-top: 20px;
  transition: gap 0.3s ease;
}
.card-link:hover { gap: 10px; }

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* ===== CTA Section ===== */
.cta-section {
  padding: 120px 0; background: #111; color: #fff; text-align: center;
}
.cta-section h2 {
  font-size: 2rem; font-weight: 700; margin-bottom: 20px;
  line-height: 1.4;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.65); margin-bottom: 40px;
  font-size: 0.95rem;
}
.cta-button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 40px; background: #fff; color: #111;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  transition: all 0.3s ease; border: none; cursor: pointer;
  text-decoration: none;
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.cta-button-large {
  padding: 16px 48px; font-size: 0.95rem;
}
.cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 40px; background: #fff; color: #111;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  transition: all 0.3s ease; border: none; cursor: pointer;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.cta-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border: 1px solid #111; color: #111;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  transition: all 0.3s ease; background: transparent;
}
.cta-btn-outline:hover { background: #111; color: #fff; }

/* ===== Problem / Pain Points Section ===== */
.problems { padding: 100px 0; background: #f7f7f7; }
.problem-list {
  list-style: none; max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.problem-list li {
  display: flex; align-items: center; gap: 16px;
  font-size: 1rem; color: #333; padding: 20px 24px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.problem-list li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #111; color: #fff; font-size: 0.75rem; flex-shrink: 0;
}

/* ===== Strengths Section ===== */
.strengths { padding: 120px 0; }
.strengths-header { text-align: center; margin-bottom: 60px; }

/* ===== Service Overview Section ===== */
.service-overview { padding: 100px 0; }
.service-overview-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.service-overview-text h2 { font-size: 1.6rem; margin-bottom: 20px; }
.service-overview-text p { color: #666; line-height: 2; margin-bottom: 24px; }
.service-list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.service-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: #444;
}
.service-list li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #111; flex-shrink: 0;
}
.service-visual {
  height: 360px; border-radius: 16px;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
  display: flex; align-items: center; justify-content: center;
}

/* ===== Results / Track Record ===== */
.results { padding: 100px 0; background: #f7f7f7; }
.results-header { text-align: center; margin-bottom: 60px; }
.results-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 800px; margin: 0 auto;
}
.result-item { text-align: center; }
.result-number {
  font-family: 'Outfit', sans-serif; font-size: 3rem;
  font-weight: 700; color: #111; line-height: 1;
}
.result-unit { font-size: 1rem; color: #111; }
.result-label { font-size: 0.85rem; color: #888; margin-top: 8px; }

/* ===== FAQ Section ===== */
.faq { padding: 100px 0; }
.faq-header { text-align: center; margin-bottom: 60px; }
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0; padding: 24px 0; cursor: pointer;
}
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; font-weight: 600;
}
.faq-question::after {
  content: '+'; font-family: 'Outfit', sans-serif; font-size: 1.2rem;
  color: #999; transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
  font-size: 0.9rem; color: #666; line-height: 1.9;
}
.faq-item.open .faq-answer { max-height: 300px; padding-top: 16px; }

/* ===== News Section ===== */
.news { padding: 120px 0; background: #f7f7f7; }
.news-header {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 60px;
}
.news-more {
  font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  font-weight: 500; color: #111;
  display: flex; align-items: center; gap: 8px; transition: gap 0.3s ease;
}
.news-more:hover { gap: 12px; }
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex; align-items: baseline; gap: 32px;
  padding: 28px 0; border-bottom: 1px solid #e0e0e0; transition: background 0.3s ease;
}
.news-item:first-child { border-top: 1px solid #e0e0e0; }
.news-item:hover { background: rgba(0,0,0,0.02); }
.news-date {
  font-family: 'Outfit', sans-serif; font-size: 0.8rem;
  font-weight: 500; color: #999; flex-shrink: 0; letter-spacing: 0.05em;
}
.news-tag {
  font-size: 0.7rem; font-weight: 600; color: #111;
  background: rgba(0,0,0,0.06); padding: 3px 10px;
  border-radius: 20px; flex-shrink: 0;
}
.news-title-text { font-size: 0.92rem; color: #333; }

/* ===== Content Cards ===== */
.content-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card:hover {
  transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.content-card-thumb {
  height: 180px; background: #e0e0e0;
  display: flex; align-items: center; justify-content: center; color: #aaa;
}
.content-card-body { padding: 24px; }
.content-card-meta {
  display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
}
.content-card-date { font-size: 0.75rem; color: #999; font-family: 'Outfit', sans-serif; }
.content-card-cat {
  font-size: 0.7rem; font-weight: 600; color: #111;
  background: #f0f0f0; padding: 2px 8px; border-radius: 4px;
}
.content-card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.6; }

/* ===== Tabs ===== */
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
  justify-content: center;
}
.tab {
  padding: 8px 20px; border: 1px solid #ddd; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500; color: #777;
  cursor: pointer; transition: all 0.3s ease; background: #fff;
}
.tab:hover, .tab.active {
  background: #111; color: #fff; border-color: #111;
}

/* ===== About / Profile ===== */
.profile-section { padding: 100px 0; }
.profile-inner {
  display: grid; grid-template-columns: 300px 1fr; gap: 60px; align-items: start;
}
.profile-photo {
  width: 300px; height: 360px; border-radius: 16px;
  background: #e8e8e8; display: flex; align-items: center;
  justify-content: center; color: #aaa; font-size: 0.85rem;
}
.profile-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.profile-title { font-size: 0.85rem; color: #999; margin-bottom: 24px; }
.profile-bio { font-size: 0.95rem; color: #555; line-height: 2; }

/* ===== About Page — Lead / Business / Strengths ===== */
.about-lead-section {
  padding: 80px 0 60px; text-align: center;
}
.about-lead-text {
  font-size: 1.1rem; color: #333; line-height: 2.2;
  max-width: 720px; margin: 0 auto;
}

.about-business-section { padding: 80px 0; background: #f7f7f7; }
.about-business-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 40px;
}
.about-business-card {
  display: block;
  background: #fff; border-radius: 16px; padding: 40px 32px;
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none; color: inherit;
}
.about-business-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.about-business-card:hover::before { transform: scaleX(1); }
.about-business-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.about-business-number {
  font-family: 'Outfit', sans-serif; font-size: 2.5rem;
  font-weight: 700; color: rgba(0, 0, 0, 0.06); line-height: 1;
  margin-bottom: 16px;
}
.about-business-card h3 {
  font-size: 1.15rem; font-weight: 700; color: #111;
  line-height: 1.6; margin-bottom: 16px;
}
.about-business-card p {
  font-size: 0.9rem; color: #666; line-height: 1.9;
  margin-bottom: 20px;
}
.about-business-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.about-business-tags span {
  font-size: 0.72rem; font-weight: 500; color: #555;
  background: #f0f0f0; padding: 4px 10px; border-radius: 20px;
}

.about-strengths-section { padding: 100px 0; }
.about-strengths-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 720px; margin: 40px auto 0;
}
.about-strength-item {
  background: #f7f7f7; border-radius: 12px; padding: 32px 28px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-strength-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.about-strength-number {
  font-family: 'Outfit', sans-serif; font-size: 1.8rem;
  font-weight: 700; color: rgba(0, 0, 0, 0.08); line-height: 1;
}
.about-strength-item h4 {
  font-size: 1.1rem; font-weight: 700; color: #111;
}
.about-strength-item p {
  font-size: 0.88rem; color: #777;
}
.about-strengths-message {
  text-align: center; margin-top: 60px;
  padding: 40px; background: #111; border-radius: 12px; color: #fff;
}
.about-strengths-message p {
  font-size: 1rem; line-height: 2; color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 960px) {
  .about-business-grid { grid-template-columns: 1fr; }
}

/* ===== Service Detail Pages — Shared ===== */
.sd-breadcrumb {
  padding: 0 0 24px; font-size: 0.82rem; color: #999;
}
.sd-breadcrumb a { color: #999; transition: color 0.3s ease; }
.sd-breadcrumb a:hover { color: #111; }
.sd-breadcrumb span { margin: 0 6px; }

.sd-hero {
  padding-top: 140px; padding-bottom: 80px;
  text-align: center;
  background: #111;
}
.sd-hero h1 {
  font-size: 2rem; font-weight: 700; color: #fff;
  margin-bottom: 24px; line-height: 1.4;
}
.sd-hero .sd-breadcrumb { color: rgba(255,255,255,0.5); }
.sd-hero .sd-breadcrumb a { color: rgba(255,255,255,0.6); }
.sd-hero .sd-breadcrumb a:hover { color: #fff; }
.sd-hero .sd-lead {
  font-size: 1rem; color: rgba(255,255,255,0.6); line-height: 2;
  max-width: 720px; margin: 0 auto;
}

/* — Commitment / Stance / Strength cards — */
.sd-cards-section { padding: 80px 0; background: #fff; }
.sd-cards-section h2 {
  font-size: 1.5rem; font-weight: 700; text-align: center;
  margin-bottom: 48px; color: #111;
}
.sd-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.sd-card {
  background: #f7f7f7; border-radius: 16px; padding: 36px 28px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative; overflow: hidden;
}
.sd-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: #111;
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.sd-card:hover::before { transform: scaleX(1); }
.sd-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}
.sd-card-num {
  font-family: 'Outfit', sans-serif; font-size: 2rem;
  font-weight: 700; line-height: 1; margin-bottom: 12px;
  color: #111;
}
.sd-card h3 {
  font-size: 1.05rem; font-weight: 700; color: #111;
  margin-bottom: 12px; line-height: 1.6;
}
.sd-card p {
  font-size: 0.88rem; color: #555; line-height: 1.9;
}

/* — Flow / Steps — */
.sd-flow-section { padding: 80px 0; background: #f7f7f7; }
.sd-flow-section h2 {
  font-size: 1.5rem; font-weight: 700; text-align: center;
  margin-bottom: 48px; color: #111;
}
.sd-flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.sd-flow-item {
  text-align: center; position: relative;
  padding: 32px 16px; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sd-flow-num {
  font-family: 'Outfit', sans-serif; font-size: 2.4rem;
  font-weight: 700; line-height: 1; margin-bottom: 8px;
  color: #111;
}
.sd-flow-item h3 {
  font-size: 1rem; font-weight: 700; color: #111;
  margin-bottom: 16px;
}
.sd-flow-item ul {
  list-style: none; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.sd-flow-item ul li {
  font-size: 0.82rem; color: #666; line-height: 1.6;
}
.sd-flow-item:not(:last-child)::after {
  content: ''; position: absolute; right: -16px; top: 50%;
  transform: translateY(-50%); z-index: 1;
  width: 0; height: 0;
  border-left: 8px solid #111; border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* — Main content items (vertical) — */
.sd-content-section { padding: 80px 0; background: #fff; }
.sd-content-section h2 {
  font-size: 1.5rem; font-weight: 700; text-align: center;
  margin-bottom: 48px; color: #111;
}
.sd-content-list {
  display: flex; flex-direction: column; gap: 24px;
  max-width: 800px; margin: 0 auto;
}
.sd-content-item {
  background: #f7f7f7; border-radius: 16px; padding: 36px 32px;
  border: 1px solid #e8e8e8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sd-content-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.sd-content-item h3 {
  font-size: 1.05rem; font-weight: 700; color: #111;
  margin-bottom: 12px;
}
.sd-content-item p {
  font-size: 0.9rem; color: #555; line-height: 1.9;
  margin-bottom: 16px;
}
.sd-content-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.sd-content-tags span {
  font-size: 0.72rem; font-weight: 500; padding: 4px 12px;
  border-radius: 20px; background: #111; color: #fff;
}

/* — Closing — */
.sd-closing {
  padding: 60px 0; text-align: center; background: #f7f7f7;
}
.sd-closing p {
  font-size: 1rem; color: #333; line-height: 2;
  max-width: 700px; margin: 0 auto;
}

/* — CTA (for consulting pages) — */
.sd-cta-section {
  padding: 100px 0; text-align: center; background: #111;
}
.sd-cta-section h2 {
  font-size: 1.6rem; font-weight: 700; color: #fff;
  margin-bottom: 16px;
}
.sd-cta-section p {
  font-size: 0.92rem; margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.6);
}
.sd-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 48px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600; transition: all 0.3s ease;
  border: none; cursor: pointer; text-decoration: none;
  background: #fff; color: #111;
}
.sd-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ——— All themes unified to Black & White ——— */
.theme-teal .sd-hero,
.theme-blue .sd-hero,
.theme-amber .sd-hero { background: #111; }
.theme-teal .sd-hero h1,
.theme-blue .sd-hero h1,
.theme-amber .sd-hero h1 { color: #fff; }

.theme-teal .sd-cards-section,
.theme-blue .sd-cards-section,
.theme-amber .sd-cards-section { background: #fff; }

.theme-teal .sd-card,
.theme-blue .sd-card,
.theme-amber .sd-card { background: #f7f7f7; }

.theme-teal .sd-card-num,
.theme-blue .sd-card-num,
.theme-amber .sd-card-num { color: #111; }

.theme-teal .sd-flow-num,
.theme-blue .sd-flow-num,
.theme-amber .sd-flow-num { color: #111; }

.theme-teal .sd-flow-section,
.theme-blue .sd-flow-section,
.theme-amber .sd-flow-section { background: #f7f7f7; }

.theme-teal .sd-content-section,
.theme-blue .sd-content-section,
.theme-amber .sd-content-section { background: #fff; }

.theme-teal .sd-content-item,
.theme-blue .sd-content-item,
.theme-amber .sd-content-item { border-color: #e8e8e8; }

.theme-teal .sd-content-tags span,
.theme-blue .sd-content-tags span,
.theme-amber .sd-content-tags span { background: #111; color: #fff; }

.theme-teal .sd-closing,
.theme-blue .sd-closing,
.theme-amber .sd-closing { background: #f7f7f7; }

.theme-teal .sd-cta-section,
.theme-blue .sd-cta-section,
.theme-amber .sd-cta-section { background: #111; }

.theme-teal .sd-cta-section p,
.theme-blue .sd-cta-section p,
.theme-amber .sd-cta-section p { color: rgba(255, 255, 255, 0.6); }

.theme-teal .sd-cta-btn,
.theme-blue .sd-cta-btn,
.theme-amber .sd-cta-btn { background: #fff; color: #111; }

.theme-teal .about-business-card::before { background: #111; }

/* — Service Detail Responsive — */
@media (max-width: 960px) {
  .sd-cards-grid { grid-template-columns: 1fr; }
  .sd-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-flow-item:not(:last-child)::after { display: none; }
}

/* ===== Company Table ===== */
.company-table { padding: 100px 0; background: #f7f7f7; }
.company-table table {
  width: 100%; max-width: 800px; margin: 40px auto 0;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  text-align: left; padding: 20px 24px; font-size: 0.92rem;
  border-bottom: 1px solid #ddd;
}
.company-table th {
  width: 200px; font-weight: 600; color: #333; background: transparent;
}
.company-table td { color: #666; }

/* ===== Contact Form ===== */
.contact-section { padding: 100px 0; }
.contact-form {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 24px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.85rem; font-weight: 600; color: #333;
}
.form-group label .required {
  font-size: 0.7rem; color: #fff; background: #111;
  padding: 2px 6px; border-radius: 4px; margin-left: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 0.92rem; font-family: inherit;
  transition: border-color 0.3s ease; outline: none; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: #111; }
.form-group textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 0.82rem; color: #999; text-align: center; margin-top: 8px; }

/* ===== Legal / Privacy Policy ===== */
.privacy-section { padding: 80px 0; }
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-intro {
  font-size: 0.95rem; color: #555; line-height: 2;
  margin-bottom: 48px; padding-bottom: 32px;
  border-bottom: 1px solid #e0e0e0;
}
.legal-article { margin-bottom: 40px; }
.legal-article h3 {
  font-size: 1.05rem; font-weight: 700; color: #111;
  margin-bottom: 12px; padding-left: 16px;
  border-left: 3px solid #111;
}
.legal-article p {
  font-size: 0.92rem; color: #555; line-height: 2;
  margin-bottom: 12px;
}
.legal-list {
  list-style: none; padding: 0; margin: 12px 0 0;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-list li {
  font-size: 0.92rem; color: #555; line-height: 1.8;
  padding-left: 20px; position: relative;
}
.legal-list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: #111;
}
.legal-contact {
  font-size: 0.95rem; color: #333; font-weight: 500;
  padding: 20px 24px; background: #f7f7f7; border-radius: 8px;
  margin-top: 16px;
}

/* ===== Recruit / Careers ===== */
.recruit-section { padding: 80px 0; }
.recruit-content { max-width: 800px; margin: 0 auto; }
.recruit-lead {
  font-size: 1.1rem; color: #333; line-height: 2;
  margin-bottom: 48px; text-align: center;
}
.recruit-lead strong {
  display: block; font-size: 1.4rem; font-weight: 700;
  color: #111; margin-bottom: 16px;
}
.recruit-block { margin-bottom: 60px; }
.recruit-block h2 {
  font-size: 1.3rem; font-weight: 700; color: #111;
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 2px solid #111;
}
.recruit-block h3 {
  font-size: 1.05rem; font-weight: 700; color: #111;
  margin-bottom: 8px; margin-top: 24px;
}
.recruit-block p {
  font-size: 0.95rem; color: #555; line-height: 2;
  margin-bottom: 12px;
}
.recruit-block ul {
  list-style: none; padding: 0; margin: 8px 0 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.recruit-block ul li {
  font-size: 0.92rem; color: #555; line-height: 1.8;
  padding-left: 20px; position: relative;
}
.recruit-block ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: #111;
}
.recruit-note {
  font-size: 0.88rem; color: #999; margin-top: 16px;
  padding: 16px 20px; background: #f7f7f7; border-radius: 8px;
}
.recruit-note strong { color: #666; display: block; margin-bottom: 8px; }
.recruit-table {
  width: 100%; border-collapse: collapse; margin-top: 16px;
}
.recruit-table th,
.recruit-table td {
  text-align: left; padding: 16px 20px; font-size: 0.92rem;
  border-bottom: 1px solid #e0e0e0;
}
.recruit-table th {
  width: 160px; font-weight: 600; color: #333; background: #f9f9f9;
}
.recruit-table td { color: #555; }
.recruit-message {
  padding: 40px; background: #f7f7f7; border-radius: 12px;
  text-align: center; margin-bottom: 40px;
}
.recruit-message p {
  font-size: 0.95rem; color: #555; line-height: 2;
  margin-bottom: 8px;
}
.recruit-form-section { padding: 80px 0; background: #f7f7f7; }

/* ===== Footer ===== */
.footer {
  padding: 60px 0 40px; background: #0a0a0a;
  color: rgba(255, 255, 255, 0.5);
}
.footer-container {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
}
.footer-content {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 40px;
}
.footer-section h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.3);
  margin-bottom: 20px;
}
.footer-section ul {
  list-style: none; display: flex; flex-direction: column; gap: 12px;
}
.footer-section a {
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease; text-decoration: none;
}
.footer-section a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.footer-company {
  display: flex; flex-direction: column;
  align-items: flex-start;
}
.footer-logo {
  height: auto; width: auto; margin-bottom: 20px;
  display: block; flex-shrink: 0;
}
.footer-logo,
.footer-logo img,
img.footer-logo {
  max-height: 32px; max-width: 180px;
  width: auto; height: auto;
  object-fit: contain;
}
.company-info {
  font-size: 0.8rem; line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}
.company-info p {
  margin-bottom: 8px;
}
.company-info strong {
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.4);
}

/* Legacy footer styles */
.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 60px;
}
.footer-address { font-size: 0.8rem; line-height: 1.8; }
.footer-nav { display: flex; gap: 48px; }
.footer-nav-col h4 {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 16px;
}
.footer-nav-col ul {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
}
.footer-nav-col a {
  font-size: 0.82rem; color: rgba(255,255,255,0.5); transition: color 0.3s ease;
}
.footer-nav-col a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.3s ease; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ===== Pagination ===== */
.pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 60px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid #ddd; border-radius: 8px; font-size: 0.85rem;
  font-family: 'Outfit', sans-serif; transition: all 0.3s ease;
}
.pagination a:hover { background: #f0f0f0; }
.pagination .active {
  background: #111; color: #fff; border-color: #111;
}

/* ===== Keyframes ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
  100% { transform: scaleY(1); opacity: 1; }
}

/* ===== Responsive ===== */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  .navbar-container { padding: 0 24px; }
  .container { padding: 0 24px; }

  .brands-grid,
  .services-grid { grid-template-columns: 1fr; }
  .representative-content { grid-template-columns: 1fr; gap: 40px; }
  .service-overview-inner { grid-template-columns: 1fr; gap: 40px; }
  .profile-inner { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile nav breakpoint (max 960px) --- */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  /* Fullscreen mobile menu overlay */
  .mobile-menu-toggle { display: flex; }
  .nav-menu {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 9999;
    padding: 80px 40px;
    overflow-y: auto;
  }
  .nav-menu.active {
    display: flex !important;
  }
  .nav-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu a,
  .navbar.scrolled .nav-menu a,
  .navbar.dark .nav-menu a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 20px 0;
  }
  .nav-menu a:hover,
  .navbar.scrolled .nav-menu a:hover,
  .navbar.dark .nav-menu a:hover {
    color: #fff !important;
  }
  .nav-menu a::after { display: none; }
  .nav-cta,
  .navbar.scrolled .nav-cta,
  .navbar.dark .nav-cta {
    border: none !important;
    padding: 20px 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.85) !important;
  }
  /* Keep hamburger above overlay */
  .mobile-menu-toggle {
    position: relative;
    z-index: 10000;
  }
  .mobile-menu-toggle.active span {
    background: #fff !important;
  }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .contents-grid { grid-template-columns: repeat(2, 1fr); }
  .service-overview-inner { grid-template-columns: 1fr; gap: 40px; }
  .profile-inner { grid-template-columns: 1fr; }
  .profile-photo { width: 200px; height: 240px; margin: 0 auto; }
  .results-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-nav { flex-wrap: wrap; gap: 32px; }

  .brand-card,
  .service-card { padding: 32px 24px; }
  .representative-image { height: 300px; }
}

/* --- Small tablet (max 768px) --- */
@media (max-width: 768px) {
  .hero { margin-top: 0; min-height: 100vh; min-height: 100svh; }
  .navbar-container { height: 50px; }

  .brands-grid,
  .services-grid,
  .contents-grid { grid-template-columns: 1fr; }
  .representative-content { flex-direction: column; }
  .brand-card,
  .service-card { padding: 24px 20px; }

  /* Page hero smaller on tablet */
  .page-hero { padding-top: 120px; padding-bottom: 60px; }
  .page-hero h1 { font-size: 1.8rem; }

  /* SD hero adjustments */
  .sd-hero { padding-top: 120px; padding-bottom: 60px; }

  /* Tables horizontal scroll */
  .company-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .recruit-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* --- Mobile (max 600px) --- */
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contents-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-video {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 60%;
    border-radius: 0;
    object-fit: cover;
  }
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.9rem; margin-bottom: 28px; }
  .hero-tagline { font-size: 0.72rem; letter-spacing: 0.2em; }
  .hero-cta { padding: 12px 28px; font-size: 0.85rem; }
  .hero-scroll { bottom: 24px; }

  /* Sections */
  .section-title { font-size: 1.5rem; }
  .section-title-en { font-size: 1.8rem; }

  /* Page hero */
  .page-hero { padding-top: 100px; padding-bottom: 48px; }
  .page-hero h1 { font-size: 1.5rem; }
  .page-hero p { font-size: 0.85rem; }
  .page-hero-subtitle { font-size: 0.85rem; }

  /* News */
  .news-item { flex-direction: column; gap: 8px; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .results-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Company table - stack on mobile */
  .company-table th { width: 100px; font-size: 0.82rem; padding: 14px 12px; }
  .company-table td { font-size: 0.82rem; padding: 14px 12px; }

  /* Recruit table */
  .recruit-table th { width: 100px; font-size: 0.82rem; padding: 12px 10px; }
  .recruit-table td { font-size: 0.82rem; padding: 12px 10px; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-container { padding: 0 16px; }
  .footer { padding: 48px 0 32px; }

  /* Representative */
  .representative-section { padding: 60px 0; }
  .representative-content { gap: 32px; }
  .representative-image { height: 220px; }
  .representative-message h2 { font-size: 1.4rem; }

  /* Container & spacing */
  .container { padding: 0 16px; }
  .navbar-container { padding: 0 16px; }
  .cta-section { padding: 60px 0; }
  .cta-section h2 { font-size: 1.4rem; }
  .cta-button-large { padding: 14px 36px; font-size: 0.88rem; }

  .brands-section,
  .services-section,
  .contents-section { padding: 60px 0; }

  .brand-card-header h3,
  .service-card h3 { font-size: 1.1rem; }

  /* SD (Service Detail) pages */
  .sd-hero { padding-top: 100px; padding-bottom: 48px; }
  .sd-hero h1 { font-size: 1.4rem; }
  .sd-hero .sd-lead { font-size: 0.88rem; padding: 0 4px; }
  .sd-cards-section { padding: 60px 0; }
  .sd-card { padding: 28px 20px; }
  .sd-cards-section h2,
  .sd-flow-section h2,
  .sd-content-section h2 { font-size: 1.2rem; margin-bottom: 32px; }
  .sd-flow-section { padding: 60px 0; }
  .sd-flow-grid { grid-template-columns: 1fr; gap: 16px; }
  .sd-flow-item { padding: 24px 16px; }
  .sd-flow-item:not(:last-child)::after { display: none; }
  .sd-content-section { padding: 60px 0; }
  .sd-content-item { padding: 24px 16px; }
  .sd-closing { padding: 48px 0; }
  .sd-closing p { font-size: 0.9rem; padding: 0 4px; }
  .sd-cta-section { padding: 60px 0; }
  .sd-cta-section h2 { font-size: 1.2rem; }

  /* About page */
  .about-lead-section { padding: 60px 0 40px; }
  .about-lead-text { font-size: 0.92rem; line-height: 2; }
  .about-business-section { padding: 60px 0; }
  .about-business-card { padding: 28px 20px; }
  .about-business-card h3 { font-size: 1.05rem; }
  .about-strengths-section { padding: 60px 0; }
  .about-strengths-grid { grid-template-columns: 1fr; }
  .about-strength-item { padding: 24px 20px; }
  .about-strengths-message { padding: 28px 20px; }
  .about-strengths-message p { font-size: 0.9rem; }

  /* Contact form */
  .contact-section { padding: 60px 0; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 12px 14px;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }

  /* Privacy & legal */
  .privacy-section { padding: 60px 0; }
  .legal-article h3 { font-size: 0.95rem; }
  .legal-article p { font-size: 0.85rem; }

  /* Recruit */
  .recruit-section { padding: 60px 0; }
  .recruit-lead { font-size: 0.95rem; }
  .recruit-lead strong { font-size: 1.2rem; }
  .recruit-block h2 { font-size: 1.15rem; }
  .recruit-block p { font-size: 0.88rem; }

  /* Tabs */
  .tabs { gap: 6px; }
  .tab { padding: 6px 14px; font-size: 0.75rem; }

  /* Content cards */
  .content-image { height: 160px; }
  .content-body { padding: 16px; }
  .content-body h3 { font-size: 0.92rem; }

  /* Services list page */
  .services-list-section { padding: 60px 0 80px; }
  .services-list-card-inner { padding: 28px 20px; }
  .services-list-card h3 { font-size: 1.2rem; }
  .services-lead { font-size: 0.88rem; margin-bottom: 40px; }
}

/* --- Extra small (max 380px) --- */
@media (max-width: 380px) {
  .hero-title { font-size: 1.4rem; }
  .container { padding: 0 12px; }
  .navbar-container { padding: 0 12px; }
  .sd-card { padding: 24px 16px; }
  .sd-content-item { padding: 20px 14px; }
  .about-business-card { padding: 24px 16px; }
  .services-list-card-inner { padding: 24px 16px; }
  .brand-card,
  .service-card { padding: 20px 16px; }
  .footer-content { gap: 24px; }
}

/* ===== Services List Page ===== */
.services-lead {
  text-align: center;
  font-size: 1rem;
  color: #555;
  line-height: 2;
  margin-bottom: 60px;
}
.services-list-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.services-list-card {
  display: block;
  background: #f7f7f7;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}
.services-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.services-list-card-inner {
  padding: 48px;
}
.services-list-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #999;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.services-list-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}
.services-list-card p {
  color: #555;
  line-height: 1.9;
  margin-bottom: 20px;
}
.services-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.services-list-tags span {
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 50px;
}
.services-list-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.05em;
}
.services-list-section {
  padding: 80px 0 100px;
}
@media (max-width: 600px) {
  .services-list-card-inner { padding: 28px 20px; }
  .services-list-card h3 { font-size: 1.2rem; }
  .services-lead { font-size: 0.9rem; }
}
