/* ===== CSS VARIABLES ===== */
:root {
  /* Core palette — white/light-blue corporate theme */
  --c-navy:        #0b2958;
  --c-navy-mid:    #0e3470;
  --c-navy-light:  #1a4a9a;
  --c-blue:        #0057b8;
  --c-blue-mid:    #0070d8;
  --c-blue-bright: #0099e6;
  --c-blue-pale:   #e8f4fb;
  --c-blue-ice:    #f0f7ff;
  --c-accent:      #ff6b00;
  --c-accent-light:#ff8c33;

  --c-white:          #ffffff;
  --c-off-white:      #f8fafd;
  --c-gray-lightest:  #eef3f8;
  --c-gray-light:     #dce6f0;
  --c-gray:           #8899aa;
  --c-text:           #1a2a3a;
  --c-text-light:     #4a607a;
  --c-text-muted:     #7a95b0;

  --font-en:   'Barlow', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-ja:   'Noto Sans JP', sans-serif;

  --radius:     4px;
  --radius-lg: 10px;
  --shadow-sm:  0 2px 8px rgba(11,41,88,0.07);
  --shadow:     0 4px 20px rgba(11,41,88,0.10);
  --shadow-lg:  0 8px 40px rgba(11,41,88,0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:   72px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-ja);
  color: var(--c-text);
  background: var(--c-off-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-gray-lightest); }
::-webkit-scrollbar-thumb { background: var(--c-blue-bright); border-radius: 3px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: #ffffff;
  
  border-bottom: 1px solid var(--c-gray-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 18px rgba(11,41,88,0.13); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img  { height: 44px; width: auto; display: block; object-fit: contain; }

.main-nav { display: flex; align-items: center; }
.nav-list  { display: flex; align-items: center; gap: 2px; }
.nav-item  { position: relative; }
.nav-link {
  display: block;
  padding: 8px 13px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-text);
  border-radius: var(--radius);
  white-space: nowrap;
  transition: var(--transition);
}
.nav-link:hover { color: var(--c-blue); background: var(--c-blue-ice); }
.nav-link .arrow { font-size: 0.65rem; margin-left: 2px; color: var(--c-text-muted); }
.nav-thomas { color: var(--c-blue) !important; font-weight: 700; }
.nav-contact-btn {
  background: var(--c-navy) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
}
.nav-contact-btn:hover { background: var(--c-blue) !important; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px); left: 0;
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  border-radius: var(--radius-lg);
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
}
.has-dropdown:hover .dropdown { display: block; animation: fadeDown 0.18s ease; }
.dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--c-text-light);
  border-bottom: 1px solid var(--c-gray-lightest);
  transition: var(--transition);
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--c-blue-ice); color: var(--c-blue); padding-left: 22px; }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1100; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--c-navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: var(--c-white);
  z-index: 999;
  padding: calc(var(--header-h) + 24px) 28px 40px;
  overflow-y: auto;
}
.mobile-nav-overlay.open { display: block; animation: fadeIn 0.22s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav li a {
  display: block; padding: 14px 0;
  font-size: 1rem; color: var(--c-text);
  border-bottom: 1px solid var(--c-gray-lightest);
  font-weight: 500;
}
.mobile-contact-link { color: var(--c-blue) !important; font-weight: 700 !important; }
.mobile-parent-btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 14px 0;
  font-size: 1rem; color: var(--c-text);
  border-bottom: 1px solid var(--c-gray-lightest);
  font-weight: 500;
}
.mobile-sub { display: none; padding-left: 16px; }
.mobile-sub.open { display: block; }
.mobile-sub li a { padding: 10px 0; font-size: 0.88rem; color: var(--c-text-light); }

/* ===== HERO — dark navy matching footer, bg image fades left→right ===== */
.hero-section {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  padding-top: var(--header-h);
  /* Base colour = same navy as footer so it shows before image loads */
  background: #0b2958;
}
.hero-slider { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s ease;
  display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }

/* Both slides:
   - solid dark navy on the far left (text zone)
   - fades to transparent on the right so top.png shows through fully */
.hero-bg-1 {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(11, 41, 88, 1.00)  0%,
      rgba(11, 41, 88, 0.97) 22%,
      rgba(11, 41, 88, 0.80) 42%,
      rgba(11, 41, 88, 0.35) 62%,
      rgba(11, 41, 88, 0.00) 82%
    ),
    url('images/top.png') right center / cover no-repeat;
}
.hero-bg-1::after { content: none; }

.hero-bg-2 {
  position: absolute; inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(11, 41, 88, 1.00)  0%,
      rgba(11, 41, 88, 0.97) 22%,
      rgba(11, 41, 88, 0.80) 42%,
      rgba(11, 41, 88, 0.35) 62%,
      rgba(11, 41, 88, 0.00) 82%
    ),
    url('images/top_world.png') right center / cover no-repeat;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 0 32px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
/* Right col hidden — illustration is the bg */
.hero-image-block { display: none; }

.hero-text-block { animation: slideUp 0.8s ease both; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Text — white/light for dark navy background ── */
.hero-en {
  font-family: var(--font-cond);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.14em;
  color: #60c4ff;                /* bright sky-blue label */
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-ja {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #ffffff;                /* pure white headline */
  line-height: 1.65;
  margin-bottom: 34px;
}

/* ── CTA cards — semi-transparent dark glass ── */
.hero-cta-group { display: flex; flex-direction: column; gap: 10px; }
.hero-cta {
  display: flex; flex-direction: column; gap: 3px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid #60c4ff;
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
.hero-cta:hover {
  background: rgba(255, 255, 255, 0.13);
  border-left-color: var(--c-accent);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.cta-label { font-size: 0.72rem; font-weight: 700; color: #60c4ff; letter-spacing: 0.04em; }
.cta-desc  { font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }
.cta-link  { font-size: 0.74rem; color: var(--c-accent); font-weight: 600; margin-top: 4px; }

/* ── Slider dots ── */
.slider-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: 10px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: none; transition: var(--transition); cursor: pointer;
}
.dot.active { background: #ffffff; transform: scale(1.3); }

/* ── Scroll hint ── */
.hero-scroll-hint {
  position: absolute; bottom: 24px; right: 48px; z-index: 10;
  font-family: var(--font-cond); font-size: 0.7rem; letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.38);
  display: flex; align-items: center; gap: 10px;
}
.scroll-line {
  display: block; width: 40px; height: 1px;
  background: rgba(255, 255, 255, 0.18);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: #60c4ff;
  animation: scrollAnim 1.6s ease infinite;
}
@keyframes scrollAnim { 0% { left: -100%; } 100% { left: 100%; } }



  .hero-content-map { grid-template-columns: 1fr !important; }
  .hero-stat-num { font-size: 2.4rem; }
}

/* ===== SHARED SECTION STYLES ===== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-en {
  font-family: var(--font-cond); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.22em; color: var(--c-blue-bright);
  text-transform: uppercase; margin-bottom: 6px;
}
.section-ja   { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.section-desc { color: var(--c-text-light); max-width: 620px; margin: 0 auto; font-size: 0.92rem; line-height: 1.95; }
.section-subdesc { color: rgba(255,255,255,0.58); max-width: 600px; margin: 12px auto 0; font-size: 0.87rem; line-height: 2; }
.section-header.light .section-en   { color: #60c4ff; }
.section-header.light .section-ja   { color: white; }
.section-header.light .section-desc { color: rgba(255,255,255,0.70); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px; background: var(--c-blue); color: white;
  font-size: 0.88rem; font-weight: 700; border-radius: var(--radius);
  transition: var(--transition); letter-spacing: 0.04em;
}
.btn-primary:hover { background: var(--c-blue-mid); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,87,184,0.25); }

.btn-primary-white {
  display: inline-flex; align-items: center;
  padding: 13px 32px; background: white; color: var(--c-navy);
  font-weight: 700; font-size: 0.88rem; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-primary-white:hover { background: var(--c-blue-ice); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.14); }

.btn-outline-white {
  display: inline-flex; align-items: center;
  padding: 11px 26px; border: 2px solid rgba(255,255,255,0.50); color: white;
  font-weight: 600; font-size: 0.85rem; border-radius: var(--radius);
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.10); border-color: white; }

/* ===== SOLUTION SECTION — white bg, card grid ===== */
.solution-section {
  padding: 96px 32px;
  max-width: 1280px;
  margin: 0 auto;
  background: transparent; /* sits on --c-off-white body */
}
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 44px; }
.solution-card {
  position: relative;
  padding: 26px 22px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  border-top: 3px solid var(--c-gray-light);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.solution-card::before {
  content: attr(data-index);
  position: absolute; top: -8px; right: -2px;
  font-family: var(--font-cond); font-size: 4rem; font-weight: 800;
  color: rgba(0,87,184,0.04); line-height: 1; pointer-events: none;
}
.solution-card:hover {
  border-top-color: var(--c-blue);
  border-color: var(--c-blue-bright);
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(0,87,184,0.12);
}
.solution-card:hover .sol-arrow { color: var(--c-blue); transform: translateX(4px); }
.sol-icon { font-size: 1.7rem; margin-bottom: 10px; }
.solution-card h3 { font-size: 0.91rem; font-weight: 700; color: var(--c-navy); margin-bottom: 10px; line-height: 1.45; }

/* Bullet list inside each card */
.sol-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.sol-list li {
  display: flex; align-items: baseline; gap: 7px;
  font-size: 0.78rem; line-height: 1.55;
}
.sol-list li::before {
  content: '';
  display: inline-block; flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue);
  margin-top: 4px;
}
.sol-list li strong { font-weight: 700; color: var(--c-navy); }

/* External link arrow + icon */
.sol-arrow {
  display: flex; align-items: center; gap: 5px;
  margin-top: 12px; font-size: 0.8rem; font-weight: 600;
  color: var(--c-gray); transition: var(--transition);
}
.ext-icon {
  width: 11px; height: 11px;
  display: inline-block; vertical-align: middle;
  flex-shrink: 0; transition: var(--transition);
}
.solution-card:hover .sol-arrow { color: var(--c-blue); }
.solution-card:hover .ext-icon  { stroke: var(--c-blue); transform: translate(1px, -1px); }

/* External icon on primary button */
.btn-external { display: inline-flex; align-items: center; gap: 8px; }
.btn-external .ext-icon { width: 13px; height: 13px; stroke: white; }
.btn-external:hover .ext-icon { transform: translate(1px, -1px); }

.section-cta-wrap { text-align: center; }

/* ===== THOMAS SECTION — same navy as footer, factory bg fades left→right ===== */
.thomas-section {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 80px 32px;
  background: #0b2958;   /* identical to footer --c-navy */
}

/* Layer 1 — factory photo */
.thomas-bg-img {
  position: absolute; inset: 0;
  background: url('images/tgbg.png') center center / cover no-repeat;
  z-index: 0;
}

/* Layer 2 — same gradient logic as hero:
   solid #0b2958 on left (text zone) → transparent on right (photo shows through) */
.thomas-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 41, 88, 1.00)  0%,
    rgba(11, 41, 88, 0.97) 22%,
    rgba(11, 41, 88, 0.80) 42%,
    rgba(11, 41, 88, 0.35) 62%,
    rgba(11, 41, 88, 0.00) 82%
  );
  z-index: 1;
}

/* Thin top accent line */
.thomas-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--c-blue-bright), var(--c-accent));
  z-index: 2;
}

/* Content sits above both layers */
.thomas-inner {
  position: relative;
  z-index: 3;
  max-width: 620px;   /* constrain text to left half */
  margin: 0;          /* left-aligned, not centered */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

/* Logo image */
.thomas-logo-img-wrap { display: block; }
.thomas-logo-img {
  height: 60px;
  width: auto;
  display: block;
  /* tg_logo.png has black bg — remove it with mix-blend-mode */
  mix-blend-mode: screen;
  filter: brightness(1.1);
}

/* Text block — left aligned */
.thomas-text { text-align: left; }
.thomas-text h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700; color: white;
  margin-bottom: 14px; line-height: 1.6;
}
.thomas-text p {
  font-size: 0.9rem; color: rgba(255,255,255,0.72);
  margin-bottom: 28px; line-height: 2;
  max-width: 520px;
}

/* External link icon inside outline button */
.btn-outline-white.btn-external {
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline-white .ext-icon { width: 13px; height: 13px; stroke: white; }
.btn-outline-white:hover .ext-icon { transform: translate(1px, -1px); }

/* ===== COMPANY SECTION — light bg with world map image ===== */
.company-section {
  background: #ffffff;
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
/* Subtle top blue rule */
.company-section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-bright));
}
/* World map decorative image — right side */
.company-map-img {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  width: 68%;
  pointer-events: none;
  opacity: 1;
  user-select: none;
  z-index: 0;
}
.company-map-img img { width: 100%; height: auto; display: block; }

/* Content wrapper — left-aligned */
.company-content-wrap {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  z-index: 1;
}

.company-cta-wrap {
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

/* Section header overrides — left align */
.company-header {
  text-align: left !important;
  margin-bottom: 36px;
}
.company-header .section-en  { color: var(--c-blue-bright); }
.company-header .section-ja  { color: var(--c-navy); }
.company-header .section-desc {
  margin: 0 0 10px 0;
  color: var(--c-text-light);
  font-size: 1.05rem;
  font-weight: 600;
}
.company-header .section-subdesc {
  margin: 0;
  color: var(--c-text-light);
  font-size: 0.88rem;
  max-width: 620px;
}

/* Stat block — left align */
.locations-stat { text-align: left; margin-bottom: 36px; }
.stat-block { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-cond); }
.stat-domestic, .stat-overseas { font-size: 1rem; color: var(--c-text-muted); }
.stat-num  { font-size: 3rem; font-weight: 800; color: var(--c-blue); line-height: 1; }
.stat-sep  { font-size: 1.5rem; color: var(--c-gray); }
.stat-unit { font-size: 0.88rem; color: var(--c-text-muted); }


/* Company link cards — centred */
.company-links {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 780px; margin: 0 auto;
}
.company-link-card {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 28px 22px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--c-gray-light);
  border-top: 3px solid var(--c-blue);
  border-radius: var(--radius-lg);
  gap: 6px; transition: var(--transition); min-height: 105px;
  backdrop-filter: blur(6px);
  position: relative; z-index: 1;
}
.company-link-card:hover {
  background: white;
  border-top-color: var(--c-blue-bright);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,87,184,0.14);
}
.clc-en    { font-family: var(--font-cond); font-size: 0.67rem; font-weight: 700; letter-spacing: 0.16em; color: var(--c-blue-bright); }
.clc-ja    { font-size: 0.97rem; font-weight: 700; color: var(--c-navy); }
.clc-arrow { font-size: 0.93rem; color: var(--c-text-muted); }

/* ===== CONTACT SECTION — light blue wash ===== */
.contact-section {
  background: var(--c-blue-pale);
  padding: 88px 32px; overflow: hidden; position: relative;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,87,184,0.065) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.contact-inner {
  position: relative; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: center;
}
.contact-text {
  text-align: center;
  max-width: 560px;
}
.contact-text .section-en { color: var(--c-blue-bright); }
.contact-text h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); font-weight: 700; color: var(--c-navy); margin-bottom: 12px; }
.contact-text p  { color: var(--c-text-light); margin-bottom: 28px; font-size: 0.92rem; }

/* External icon on white button */
.btn-primary-white.btn-external { display: inline-flex; align-items: center; gap: 8px; }
.btn-primary-white .ext-icon { width: 13px; height: 13px; stroke: var(--c-navy); }
.btn-primary-white:hover .ext-icon { transform: translate(1px, -1px); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-navy);
  border-top: 3px solid var(--c-blue);
  padding: 60px 32px 28px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; margin-bottom: 44px; }
.footer-logo-text { font-family: var(--font-cond); font-size: 1.1rem; font-weight: 800; color: white; letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-logo-ja  { font-size: 0.78rem; color: rgba(255,255,255,0.42); margin-bottom: 2px; }
.footer-logo-en  { font-family: var(--font-en); font-size: 0.7rem; color: rgba(255,255,255,0.26); letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-address  { font-size: 0.78rem; color: rgba(255,255,255,0.42); line-height: 1.85; }
.footer-address strong { color: rgba(255,255,255,0.62); }
.footer-address a { color: #60c4ff; }
.footer-nav { display: flex; justify-content: flex-end; }
.footer-nav-col { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; }
.footer-nav-top    { display: block; font-family: var(--font-cond); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: rgba(255,255,255,0.48); margin-bottom: 14px; }
.footer-nav-thomas { display: block; font-family: var(--font-cond); font-size: 0.8rem; font-weight: 700; color: #60c4ff; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-nav-group  { margin-bottom: 18px; text-align: right; }
.footer-nav-parent { display: block; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.62); margin-bottom: 10px; }
.footer-nav-parent.mt { margin-top: 14px; }
.footer-nav-group ul li a {
  display: block; padding: 3px 0 3px 12px;
  font-size: 0.72rem; color: rgba(255,255,255,0.32);
  border-left: 1px solid rgba(255,255,255,0.10);
  transition: var(--transition);
}
.footer-nav-group ul li a:hover { color: #60c4ff; border-left-color: #60c4ff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.08);
  gap: 14px; flex-wrap: wrap;
}
.footer-privacy { font-size: 0.76rem; color: rgba(255,255,255,0.32); }
.footer-privacy:hover { color: #60c4ff; }
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.22); }
.page-top-btn {
  font-family: var(--font-cond); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; color: rgba(255,255,255,0.32);
  border: 1px solid rgba(255,255,255,0.14); padding: 6px 13px;
  border-radius: var(--radius); transition: var(--transition);
}
.page-top-btn:hover { color: white; border-color: rgba(255,255,255,0.52); }


/* ===== COMPANY-US SECTION ===== */
.company-us-section {
  background: var(--c-off-white);
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
/* Top blue rule — matches other light sections */
.company-us-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-bright));
}

.company-us-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}

/* Each named block (会社概要, 強味) */
.company-us-block {
  width: 100%;
}
.company-us-block .section-en { color: var(--c-blue-bright); }
.company-us-block .section-ja { color: var(--c-navy); margin-bottom: 20px; }

/* Right block — left border divider instead of top border */
.company-us-strength {
  padding-top: 0;
  border-top: none;
  padding-left: 48px;
  border-left: 1px solid var(--c-gray-light);
}

.company-us-desc {
  font-size: 0.93rem;
  color: var(--c-text-light);
  line-height: 2;
  max-width: 820px;
}

/* Table */
.company-us-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.company-us-table tbody tr {
  border-bottom: 1px solid var(--c-gray-lightest);
}
.company-us-table tbody tr:first-child {
  border-top: 1px solid var(--c-gray-light);
}
.company-us-table th {
  width: 120px;
  padding: 16px 16px 16px 0;
  font-weight: 700;
  color: var(--c-navy);
  vertical-align: top;
  white-space: nowrap;
  font-size: 0.84rem;
  position: relative;
}
/* Blue left dot on each th */
.company-us-table th::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-blue);
  margin-right: 8px;
  vertical-align: middle;
  position: relative; top: -1px;
}
.company-us-table td {
  padding: 16px 0 16px 12px;
  color: var(--c-text-light);
  vertical-align: top;
  line-height: 1.85;
}
.td-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

/* Business list inside table */
.company-us-biz-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.company-us-biz-list li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 0.84rem; color: var(--c-text-light);
}
.company-us-biz-list li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-blue-bright);
  margin-top: 4px;
}

/* Locations inside table */
.office-locations { display: flex; flex-direction: column; gap: 6px; }
.office-loc-row   { display: flex; align-items: baseline; gap: 12px; }
.loc-label {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--c-navy);
  font-size: 0.84rem;
  min-width: 28px;
}
.loc-detail { font-size: 0.84rem; color: var(--c-text-light); }


/* ── Strength list ── */
.strength-list {
  list-style: none;
  padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 12px;
}
.strength-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
  border-left: 4px solid var(--c-blue);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.strength-item:hover {
  border-left-color: var(--c-blue-bright);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0,87,184,0.10);
}
.strength-num {
  flex-shrink: 0;
  font-family: var(--font-cond);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--c-blue);
  line-height: 1;
  opacity: 0.25;
  min-width: 36px;
  padding-top: 2px;
}
.strength-body { flex: 1; }
.strength-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 6px;
  line-height: 1.4;
}
.strength-desc {
  font-size: 0.82rem;
  color: var(--c-text-light);
  line-height: 1.85;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .company-us-section { padding: 60px 20px; }
  .company-us-inner { grid-template-columns: 1fr; gap: 40px; }
  .company-us-strength { padding-left: 0; border-left: none; border-top: 1px solid var(--c-gray-light); padding-top: 40px; }
  .company-us-table th { width: 100px; font-size: 0.8rem; }
  .company-us-table td { font-size: 0.82rem; }
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { grid-template-columns: 1fr; }
  .hero-image-block { display: none; }
  .thomas-content { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .hero-section { height: 85vh; }
  .hero-content { padding: 0 20px; }
  .solution-section { padding: 60px 20px; }
  .solution-grid { grid-template-columns: 1fr; gap: 12px; }
  .thomas-section { padding: 56px 20px; min-height: 360px; }
  .thomas-inner { max-width: 100%; }
  .thomas-logo-img { height: 44px; }
  .company-section { padding: 60px 20px; }
  .company-links { grid-template-columns: 1fr; max-width: 380px; }
  .contact-section { padding: 56px 20px; }
  .contact-inner { padding: 0 20px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-header { margin-bottom: 32px; }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .hero-content { padding: 0 16px; }
}
