/* ============================================================
   有限会社ホクソウ — Corporate Website Stylesheet
   Design: Industrial-Professional | Navy + Slate Gray
   ============================================================ */

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

/* ─── CSS Custom Properties ────────────────────────────────── */
:root {
  --navy:        #1a365d;
  --navy-dark:   #0f2340;
  --navy-mid:    #1e4080;
  --navy-light:  #2a5298;
  --slate:       #4a5568;
  --slate-light: #718096;
  --slate-pale:  #e2e8f0;
  --white:       #ffffff;
  --off-white:   #f7f9fc;
  --accent:      #c8a96e;       /* warm gold accent */
  --accent-dark: #a8843e;
  --text-dark:   #1a202c;
  --text-mid:    #2d3748;
  --text-light:  #718096;
  --border:      #e2e8f0;
  --shadow-sm:   0 2px 8px rgba(26,54,93,0.08);
  --shadow-md:   0 8px 32px rgba(26,54,93,0.12);
  --shadow-lg:   0 20px 60px rgba(26,54,93,0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Typography ────────────────────────────────────────────── */
.serif { font-family: 'Noto Serif JP', serif; }

h1, h2, h3, h4 {
  font-family: 'Noto Serif JP', serif;
  line-height: 1.4;
  font-weight: 700;
}

/* ─── Section Label ─────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 540px;
}

/* ─── Layout Utilities ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 100px 0;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
}
.logo-en {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--slate-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.logo-accent {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-top: 3px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* CTA Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--navy-mid) !important;
  transform: translateY(-1px);
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
  border-radius: 2px;
}
.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 Drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem 1.5rem;
  gap: 0.2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-pale);
  font-size: 0.95rem;
  color: var(--text-mid);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   HERO SECTION
   ============================================================ */
#home {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
  padding: 80px 0 130px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(
      135deg,
      rgba(10,25,50,0.90) 0%,
      rgba(26,54,93,0.80) 50%,
      rgba(10,25,50,0.88) 100%
    );
  z-index: 1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('images/hero_bg.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg-image.loaded { transform: scale(1); }

/* Geometric decoration */
.hero-deco {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}
.hero-deco::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 100%;
  height: 120%;
  background: linear-gradient(135deg, transparent 49%, rgba(200,169,110,0.08) 50%);
}
.hero-deco::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 8%;
  width: 1px;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.4);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-title {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.4s forwards;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
  margin-bottom: 2.8rem;
  max-width: 500px;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(200,169,110,0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,110,0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 14px 28px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* Hero stats bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 2;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats-inner {
  display: flex;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.4rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.1);
  opacity: 0;
  animation: fadeUp 0.9s 1.0s forwards;
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

/* ============================================================
   COMPANY SECTION (会社概要)
   ============================================================ */
#company {
  background: var(--off-white);
}

/* Section header */
.company-header {
  margin-bottom: 2.4rem;
}
.section-title-rule {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--navy-light), transparent);
  margin-top: 0.8rem;
}

/* Company sub-headings */
.company-sub-heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

/* Two-column grid: table | timeline */
.company-overview-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3rem;
}

/* ── Corporate Profile Table ── */
.profile-table-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.profile-table th {
  width: 28%;
  background: #eef2f7;
  color: var(--navy);
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.profile-table td {
  background: var(--white);
  color: var(--text-mid);
  padding: 1rem 1.4rem;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: none;
}

.profile-td-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ── Timeline ── */
.timeline-wrap {
  padding-top: 0.2rem;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--navy-light), var(--accent));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--off-white);
  border: 2px solid var(--accent);
  border-radius: 50%;
  transform: translateX(-4px);
  box-shadow: 0 0 0 3px rgba(200,169,110,0.2);
}
.timeline-item.highlight::before {
  background: var(--accent);
  width: 14px;
  height: 14px;
  top: 6px;
  transform: translateX(-6px);
  box-shadow: 0 0 0 4px rgba(200,169,110,0.3);
}

.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}
.timeline-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  line-height: 1.6;
}
.timeline-item.highlight .timeline-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* ── Client Cards Row ── */
.client-section {
  border-top: 1px solid var(--border);
  padding-top: 2.4rem;
}

.client-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 0;
}

.client-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(16px);
}
.client-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.client-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.client-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.client-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.15rem;
}
.client-desc {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Trust badge strip */
.trust-badge-strip {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.trust-badge-strip-icon {
  color: var(--accent);
  flex-shrink: 0;
}
.trust-badge-strip-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.trust-badge-strip-text strong {
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   SERVICES SECTION (事業内容)
   ============================================================ */
#services {
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}
.services-header .section-label { justify-content: center; }
.services-header .section-label::before { display: none; }
.services-header .section-subtitle { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img {
  transform: scale(1.04);
}
.service-img-wrap {
  overflow: hidden;
  position: relative;
}
.service-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(26,54,93,0.3), transparent);
}

.service-body {
  padding: 1.6rem;
}

.service-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.service-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--off-white);
  color: var(--slate);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  letter-spacing: 0.04em;
}

/* ============================================================
   CONTACT SECTION (お問い合わせ)
   ============================================================ */
#contact {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}
.contact-header .section-label {
  justify-content: center;
  color: var(--accent);
}
.contact-header .section-label::before {
  background: var(--accent);
  display: none;
}
.contact-header .section-title { color: var(--white); }
.contact-header .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* Info Panel */
.info-block {
  margin-bottom: 2rem;
}
.info-block-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.info-block-value {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-weight: 400;
}
.info-block-value strong {
  color: var(--white);
  font-weight: 700;
  display: block;
  font-size: 1.05rem;
}

.info-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 1.8rem 0;
}

/* Contact Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.4rem;
  backdrop-filter: blur(8px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}
.form-label .required {
  color: #fc8181;
  margin-left: 3px;
  font-size: 0.7rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.09);
}

.form-select {
  cursor: pointer;
  color: rgba(255,255,255,0.85);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c8a96e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  background-color: rgba(255,255,255,0.06);
}
.form-select option {
  background: var(--navy-dark);
  color: var(--white);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(200,169,110,0.3);
}
.form-submit:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,169,110,0.45);
}
.form-submit:active { transform: translateY(0); }

/* Success message */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--white);
}
.form-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(72,187,120,0.15);
  border: 2px solid rgba(72,187,120,0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #68d391;
}
.form-success h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.form-success p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 3.2rem 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-top: 1rem;
}

.footer-block-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-contact-block {}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer-links-col a:hover { color: var(--accent); }

.footer-bottom {
  padding: 1.2rem 0;
  text-align: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .company-overview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .client-cards-row      { grid-template-columns: 1fr; }
  .services-grid         { grid-template-columns: 1fr 1fr; }
  .footer-main           { grid-template-columns: 1fr 1fr; }
  .nav-links             { display: none; }
  .hamburger             { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; }
  .hero-stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .client-cards-row { grid-template-columns: 1fr; }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo .logo-ja { color: rgba(255,255,255,0.9); font-size: 0.95rem; }
.footer-logo .logo-en { color: rgba(255,255,255,0.4); }
.footer-logo .logo-accent { background: var(--accent); opacity: 0.7; }

.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
  letter-spacing: 0.04em;
}
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--navy-mid); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .company-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 600px) {
  section { padding: 72px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats-inner { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; }
  .hero-stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}
