/*
Theme Name: FIXPERT Custom B2B Theme
Theme URI: https://fixpert-display.com
Author: FIXPERT Team
Description: Custom fluid responsive WordPress theme for FIXPERT B2B manufacturing & display fixtures (Acrylic & Steel processing).
Version: 1.0.0
Text Domain: fixpert
*/

/* ==========================================================================
   FIXPERT — Design System & Fluid Responsive Stylesheet (v1.6)
   ========================================================================== */

/* 1. CSS Custom Properties / Design Tokens */
:root {
  /* Brand Palette */
  --primary: #2E86AB;
  --primary-hover: #216a8a;
  --primary-light: #eef7fa;
  --accent-red: #e11d48;
  
  --text-dark: #112B4A;
  --text-body: #334155;
  --text-muted: #64748b;
  
  --bg-body: #EFF4F8;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  
  /* Fluid Typography Tokens (clamp) */
  --font-hero-title: clamp(2rem, 1.863vw + 1.564rem, 3.24rem);
  --font-subtitle: clamp(0.875rem, 0.094vw + 0.853rem, 0.9375rem);
  --font-badge: clamp(0.75rem, 0.19vw + 0.706rem, 0.875rem);
  --font-nav: clamp(0.8125rem, 0.19vw + 0.768rem, 0.9375rem);

  /* Fluid Spacing Tokens */
  --space-xs: clamp(0.5rem, 0.38vw + 0.412rem, 0.75rem);
  --space-sm: clamp(0.875rem, 0.56vw + 0.743rem, 1.25rem);
  --space-md: clamp(1.25rem, 1.5vw + 0.898rem, 2.25rem);
  --space-lg: clamp(2rem, 3vw + 1.296rem, 4rem);

  /* Layout Constants */
  --sidebar-width: 49px;
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 900px) {
  :root {
    --header-height: 60px;
  }
}

/* 2. Global Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. Header & Navigation */
.site-header {
  height: var(--header-height);
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1500px;
  height: 100%;
  margin: 0 auto;
  padding: 0 clamp(4rem, 6.5vw, 8rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Logo */
.logo {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-self: start;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Navigation Links */
.main-nav {
  justify-self: center;
}

.header-actions {
  justify-self: end;
}

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 3.5vw, 3.5rem);
}

.nav-link {
  font-size: var(--font-nav);
  font-weight: 400;
  color: #5E6A75;
  letter-spacing: 0.12em; /* Scaled relative to size */
  line-height: 1.854; /* Scaled relative to size */
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #112B4A;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #112B4A;
  border-radius: 2px;
}

/* Header Button */
.btn.btn-header-cta {
  background-color: var(--primary);
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500; /* Medium */
  font-size: var(--font-nav);
  line-height: 1.854;
  letter-spacing: 0.12em;
  padding: clamp(0.55rem, calc(0.4vw + 0.45rem), 0.75rem) clamp(2.8rem, calc(2vw + 1.8rem), 3.8rem);
  border-radius: 6px; /* Corner radius 6 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn.btn-header-cta:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 8px;
  box-sizing: content-box;
  margin: -10px -8px;
  z-index: 1001;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden !important;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #112B4A;
  transition: all 0.3s ease-in-out;
}

/* 4. Main Hero Wrapper */
.hero-wrapper {
  display: flex;
  height: calc(100vh - var(--header-height));
  max-height: calc(100vh - var(--header-height));
  position: relative;
  overflow: hidden;
}

/* Left Vertical Sidebar / Hero Rail */
.hero-rail {
  width: clamp(49px, 3.2vw, 58px);
  background-color: #2E86AB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: clamp(10px, 1.8vh, 35px) 0;
  height: 100%;
  max-height: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  user-select: none;
  overflow: hidden;
}

.hero-rail-item {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(7px, 1.05vh, 9px);
  font-weight: 700;
  letter-spacing: clamp(1.2px, 0.25vw, 2.52px);
  text-transform: uppercase;
  white-space: nowrap;
  
  /* Native vertical layout with sideways orientation: layout height natively equals exact text length */
  writing-mode: vertical-rl;
  text-orientation: sideways;
  -webkit-text-orientation: sideways;
  
  color: rgba(255, 255, 255, 0.53);
  flex-shrink: 0;
}

.hero-rail-line {
  width: 1px;
  height: clamp(14px, 2.2vh, 26px);
  background-color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

/* 5. Hero Section */
.hero-section {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: #EFF4F8;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr clamp(360px, 45vw, 780px);
  gap: 0;
  align-items: center;
  height: 100%;
  max-height: 100%;
}

/* Left Text Column */
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(3rem, 5vh, 4.5rem) clamp(3.5rem, 5.5vw, 6.5rem);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.75rem;
}

.badge-line {
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.badge-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: 0.2em;
}

.hero-title {
  font-size: var(--font-hero-title);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.78;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-description {
  font-size: var(--font-subtitle);
  color: var(--text-dark);
  line-height: 2.05;
  margin-bottom: 2.5rem;
  max-width: 580px;
  letter-spacing: 0.04em;
}

/* Buttons Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(39, 133, 164, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(39, 133, 164, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* 6. Right Media Showcase Column (Wireframe / Image Placeholders) */
.hero-media-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  position: relative;
  justify-content: center;
  overflow: hidden;
}

.hero-media-blur {
  position: absolute;
  top: 0;
  left: -10px;
  width: clamp(45px, 5.5vw, 95px);
  height: 100%;
  background: linear-gradient(to right, 
    #EFF4F8 0%, 
    #EFF4F8 30%, 
    rgba(239, 244, 248, 0.75) 60%, 
    rgba(239, 244, 248, 0) 100%
  );
  filter: blur(8px);
  z-index: 10;
  pointer-events: none;
}

.hero-media-col .media-card {
  background-color: #EFF4F8;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
  margin: 0;
}

.media-grid-separated {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  height: 100%;
}

.media-card-hero-single {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background-color: #EFF4F8;
}

.media-card-hero-single::after {
  content: '';
  position: absolute;
  top: 0;
  left: max(0px, calc(100% - (100vh - var(--header-height)) * 0.7713 - 15px));
  width: clamp(45px, 5vw, 75px);
  height: 100%;
  background: linear-gradient(to right, 
    #EFF4F8 0%, 
    rgba(239, 244, 248, 0.8) 45%, 
    rgba(239, 244, 248, 0) 100%
  );
  filter: blur(4px);
  z-index: 10;
  pointer-events: none;
}

.hero-media-col .media-card-hero-single img,
.media-card-hero-single img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: right center !important;
  display: block;
}

/* Top Showcase Image (1326px x 948px Aspect Ratio — Flex 1.278 for 100% mathematical aspect ratio match) */
.media-card-top {
  width: 100%;
  flex: 1.278;
  position: relative;
  overflow: hidden;
}

/* Bottom Grid Container (1380px x 772px Combined Aspect Ratio — Flex 1.0) */
.media-grid-bottom {
  display: flex;
  gap: 0;
  width: 100%;
  flex: 1;
  background-color: #EFF4F8;
  overflow: hidden;
}

/* Bottom Left Image (716px x 772px Aspect Ratio — 51.884% Width) */
.media-card-bottom-left {
  flex: 716 0 51.884%;
  width: 51.884%;
  height: 100%;
  overflow: hidden;
}

/* Bottom Right Image (664px x 772px Aspect Ratio — 48.116% Width) */
.media-card-bottom-right {
  flex: 664 0 48.116%;
  width: 48.116%;
  height: 100%;
  overflow: hidden;
}

/* Perfect 1-to-1 aspect ratio image rendering — 100% edge-to-edge fill with zero white space & zero cropping */
.hero-media-col .media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Placeholder Styling for Wireframe/Layout Mode */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px dashed #cbd5e1;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #64748b;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.image-placeholder:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.placeholder-icon {
  margin-bottom: 0.5rem;
  opacity: 0.7;
}

.placeholder-text {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.placeholder-hint {
  font-size: 0.75rem;
  opacity: 0.8;
  font-weight: 400;
}

/* 7. Reusable Container */
.container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* 8. Features Highlights Bar (4 Column Grid) */
.features-bar-section {
  background-color: #ffffff;
  border-top: 1px solid #D0DCE8;
  border-bottom: 1px solid #D4D9DE;
  padding: 0;
  width: 100%;
  position: relative;
  z-index: 10;
}

.features-bar-section .container {
  max-width: 100%;
  padding: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  margin: 0 auto;
}

.feature-card {
  background-color: #ffffff;
  height: 121px;
  border: none;
  border-right: 1px solid #D0DCE8;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 2.5vw, 36px);
  gap: 16px;
  box-sizing: border-box;
  transition: background-color var(--transition-fast);
}

.feature-card:first-child {
  border-left: none;
}

.feature-card:last-child {
  border-right: none;
}

.feature-card:hover {
  background-color: #F8FAFC;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .feature-icon-img {
  transform: translateY(-3px) scale(1.06);
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 0.972vw, 15px);
  font-weight: 700;
  color: #112B4A;
  margin: 0 0 4px 0;
  line-height: 1.3;
  letter-spacing: 0.7px;
  white-space: nowrap;
}

.feature-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 0.764vw, 12px);
  font-weight: 400;
  color: #5E6A75;
  margin: 0;
  line-height: 1.6;
  letter-spacing: 0.3px;
  white-space: normal;
}

@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    height: 100px;
    border-bottom: 1px solid #D0DCE8;
  }

  .feature-card:nth-child(2n) {
    border-right: none;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    border-bottom: 1px solid #D0DCE8;
    height: auto;
    padding: 16px 14px;
    gap: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .feature-icon-wrapper {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    align-self: center;
    margin: 0;
  }

  .feature-icon-img {
    width: 24px;
    height: 24px;
  }

  .feature-content {
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .feature-title {
    font-size: 11px;
    white-space: normal;
    letter-spacing: 0.3px;
    text-align: left;
    margin: 0 0 2px 0;
  }

  .feature-desc {
    font-size: 9px;
    line-height: 1.4;
    text-align: left;
  }

  .feature-card:nth-child(2n) {
    border-right: none;
  }

  .feature-card:nth-child(3),
  .feature-card:nth-child(4) {
    border-bottom: none;
  }
}

/* 9. About FIXPERT Section */
.about-section {
  padding: 80px 0 60px 0;
  background-color: #ffffff;
}

.about-card-wrapper {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  margin-bottom: 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

.about-left-wrapper {
  display: flex;
  align-items: stretch;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.about-left-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 390px;
}

.about-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #112B4A;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.about-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
}

.about-image-card {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.about-factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.about-divider {
  width: 1px;
  background-color: #D0DCE8;
  align-self: stretch;
  margin: 0;
  flex-shrink: 0;
}

.about-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.about-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 0.972vw, 15px);
  font-weight: 500;
  color: #112B4A;
  line-height: 2.1;
  letter-spacing: 0.42px;
  margin: 0;
}

.about-highlight-box {
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E5EFF5;
}

.about-highlight-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 0.972vw, 15px);
  font-weight: 700;
  color: #112B4A;
  line-height: 1.76;
  letter-spacing: 0.42px;
  margin: 0;
}

/* 10. Bottom KPI Stat Grid (4 Stat Bar Columns) */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background-color: #ffffff;
  border-top: 1px solid #D0DCE8;
  border-bottom: 1px solid #D0DCE8;
  border-radius: 0;
  overflow: visible;
  width: 100%;
}

.kpi-box {
  background-color: #ffffff;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border-right: 1px solid #D0DCE8;
  box-sizing: border-box;
  transition: background-color var(--transition-fast);
}

.kpi-box:first-child {
  border-left: 1px solid #D0DCE8;
  padding-left: 24px;
}

.kpi-box:last-child {
  border-right: 1px solid #D0DCE8;
  padding-right: 24px;
}

.kpi-box:hover {
  background-color: #F8FAFC;
}

.kpi-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(7px, 0.625vw, 10px);
  font-weight: 300;
  color: #112B4A;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  line-height: 1.84;
}

.kpi-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 18px);
  font-weight: 500;
  color: #112B4A;
  letter-spacing: 0.76px;
  line-height: 1.5;
}

/* 11. Custom Desktop/Laptop Viewport & Zoom Media Queries (125%, 150%, 175% Zoom & Short Heights) */

/* Laptop Large / 125% Zoom / Viewport Height <= 900px */
@media screen and (min-width: 901px) and (max-height: 900px) {
  :root {
    --header-height: 64px;
  }
  .header-container {
    padding: 0 clamp(4rem, 6vw, 7.5rem);
  }
  .logo-img {
    height: 36px;
  }
  .main-nav .nav-list {
    gap: clamp(1.85rem, 3vw, 3.25rem);
  }
  .btn.btn-header-cta {
    padding: 0.48rem clamp(2.6rem, 2.8vw, 3.6rem);
    font-size: 13.5px;
  }
  .hero-rail {
    padding: clamp(8px, 1.5vh, 25px) 0;
  }
  .hero-rail-item {
    font-size: clamp(7px, 0.95vh, 8.5px);
    letter-spacing: clamp(1.2px, 0.2vw, 2px);
  }
  .hero-rail-line {
    height: clamp(8px, 1.6vh, 22px);
  }
  .media-grid-separated {
    display: none !important;
  }
  .media-card-hero-single {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .hero-text-col {
    padding: clamp(2.5rem, 4.5vh, 3.75rem) clamp(3.25rem, 5.2vw, 5.75rem);
  }
  .hero-badge {
    margin-bottom: 1.6rem;
  }
  .badge-text {
    font-size: 12px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 2.4vw, 2.9rem);
    line-height: 1.76;
    margin-bottom: 1.85rem;
  }
  .hero-description {
    font-size: clamp(0.85rem, 0.15vw + 0.82rem, 0.9rem);
    line-height: 2.0;
    margin-bottom: 2.25rem;
  }
  .feature-card {
    height: 115px;
  }
}

/* Laptop Medium / 150% Zoom / Viewport Width <= 1440px or Height <= 800px */
@media screen and (min-width: 901px) and (max-width: 1440px), screen and (min-width: 901px) and (max-height: 800px) {
  :root {
    --header-height: 58px;
  }
  .header-container {
    padding: 0 clamp(3.75rem, 5.5vw, 7rem);
  }
  .logo-img {
    height: 32px;
  }
  .main-nav .nav-list {
    gap: clamp(1.75rem, 2.8vw, 3rem);
  }
  .nav-link {
    font-size: 13.5px;
  }
  .btn.btn-header-cta {
    padding: 0.45rem clamp(2.4rem, 2.6vw, 3.3rem);
    font-size: 13px;
  }
  .hero-rail {
    width: clamp(48px, 3.2vw, 56px);
    padding: clamp(4px, 1vh, 14px) 0;
  }
  .hero-rail-item {
    font-size: clamp(7px, 0.92vh, 8.5px);
    letter-spacing: clamp(1px, 0.18vw, 1.8px);
  }
  .hero-rail-line {
    height: clamp(12px, 1.8vh, 20px);
    background-color: rgba(255, 255, 255, 0.45);
  }
  .media-grid-separated {
    display: none !important;
  }
  .media-card-hero-single {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .hero-text-col {
    padding: clamp(2rem, 4vh, 3.25rem) clamp(3rem, 4.8vw, 5.25rem);
  }
  .hero-badge {
    margin-bottom: 1.45rem;
  }
  .badge-text {
    font-size: 11.5px;
    letter-spacing: 0.18em;
  }
  .hero-title {
    font-size: clamp(1.85rem, 2.1vw, 2.5rem);
    line-height: 1.74;
    margin-bottom: 1.65rem;
  }
  .hero-description {
    font-size: clamp(0.8125rem, 0.12vw + 0.78rem, 0.875rem);
    line-height: 1.98;
    margin-bottom: 2.0rem;
  }
  .btn {
    padding: 0.82rem 1.65rem;
    font-size: 13.5px;
  }
  .feature-card {
    height: 108px;
  }
}

/* Laptop Compact / 175% Zoom / Viewport Width <= 1280px or Height <= 720px */
@media screen and (min-width: 901px) and (max-width: 1280px), screen and (min-width: 901px) and (max-height: 720px) {
  :root {
    --header-height: 54px;
  }
  .header-container {
    padding: 0 clamp(3.5rem, 5vw, 6.5rem);
  }
  .logo-img {
    height: 29px;
  }
  .main-nav .nav-list {
    gap: clamp(1.6rem, 2.5vw, 2.75rem);
  }
  .nav-link {
    font-size: 13px;
  }
  .btn.btn-header-cta {
    padding: 0.42rem clamp(2.2rem, 2.4vw, 3rem);
    font-size: 12.5px;
  }
  .hero-rail {
    width: clamp(46px, 3vw, 54px);
    padding: clamp(3px, 0.6vh, 10px) 0;
  }
  .hero-rail-item {
    font-size: clamp(6.5px, 0.82vh, 7.8px);
    letter-spacing: clamp(0.7px, 0.12vw, 1.4px);
  }
  .hero-rail-line {
    height: clamp(10px, 1.5vh, 16px);
    background-color: rgba(255, 255, 255, 0.45);
  }
  .media-grid-separated {
    display: none !important;
  }
  .media-card-hero-single {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .hero-text-col {
    padding: clamp(1.5rem, 3vh, 2.5rem) clamp(2.25rem, 4vw, 4.25rem);
  }
  .hero-badge {
    margin-bottom: 1.25rem;
  }
  .badge-text {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .hero-title {
    font-size: clamp(1.7rem, 1.9vw, 2.25rem);
    line-height: 1.70;
    margin-bottom: 1.4rem;
  }
  .hero-description {
    font-size: clamp(0.78rem, 0.1vw + 0.75rem, 0.84rem);
    line-height: 1.88;
    margin-bottom: 1.7rem;
  }
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 12.5px;
  }
  .feature-card {
    height: 100px;
  }
}

/* Short Viewport Heights / 200% Zoom (e.g. <= 650px height at any zoom) */
@media screen and (min-width: 901px) and (max-height: 650px) {
  :root {
    --header-height: 48px;
  }
  .header-container {
    padding: 0 clamp(3.25rem, 4.5vw, 6rem);
  }
  .logo-img {
    height: 26px;
  }
  .main-nav .nav-list {
    gap: clamp(1.5rem, 2.2vw, 2.5rem);
  }
  .nav-link {
    font-size: 12px;
  }
  .btn.btn-header-cta {
    padding: 0.38rem clamp(2rem, 2.2vw, 2.7rem);
    font-size: 11.5px;
  }
  .hero-rail {
    width: 45px;
    padding: 2px 0;
  }
  .hero-rail-item {
    font-size: clamp(5.8px, 0.7vh, 7px);
    letter-spacing: clamp(0.5px, 0.08vw, 1px);
  }
  .hero-rail-line {
    height: clamp(8px, 1.2vh, 14px);
    background-color: rgba(255, 255, 255, 0.5);
  }
  .media-grid-separated {
    display: none !important;
  }
  .media-card-hero-single {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
  }
  .hero-text-col {
    padding: clamp(1.1rem, 2.2vh, 1.85rem) clamp(2rem, 3.2vw, 3.5rem);
  }
  .hero-badge {
    margin-bottom: 0.95rem;
  }
  .badge-text {
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }
  .hero-title {
    font-size: clamp(1.55rem, 1.7vw, 2.05rem);
    line-height: 1.65;
    margin-bottom: 1.15rem;
  }
  .hero-description {
    font-size: clamp(0.72rem, 0.08vw + 0.7rem, 0.78rem);
    line-height: 1.80;
    margin-bottom: 1.35rem;
  }
  .btn {
    padding: 0.65rem 1.35rem;
    font-size: 11.5px;
  }
  .feature-card {
    height: 88px;
  }
}

/* Extreme Short Viewports / Ultra High Zoom (<= 580px height) */
@media screen and (min-width: 901px) and (max-height: 580px) {
  .hero-rail {
    padding: 1px 0;
  }
  .hero-rail-item {
    font-size: 5.2px;
    letter-spacing: 0.4px;
  }
  .hero-rail-line {
    display: block !important;
    height: 8px !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
  }
  .hero-text-col {
    padding: 0.85rem 1.5rem;
  }
  .hero-badge {
    margin-bottom: 0.75rem;
  }
  .hero-title {
    margin-bottom: 0.85rem;
    line-height: 1.58;
  }
  .hero-description {
    font-size: 0.72rem;
    line-height: 1.70;
    margin-bottom: 1.05rem;
  }
  .btn {
    padding: 0.55rem 1.2rem;
    font-size: 11px;
  }
}

/* 12. Mobile & Tablet Responsive Structural Tweaks */
@media (max-width: 900px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    padding: 0 var(--space-md);
  }
  .media-grid-separated {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
  }
  .media-card-hero-single {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .hero-rail {
    display: none !important;
  }
  .hero-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
  }
  .hero-section {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .hero-container {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .hero-text-col {
    width: 100% !important;
    padding: 2.25rem 1.25rem 1.75rem 1.25rem !important;
    box-sizing: border-box !important;
  }
  .badge-text {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 1.75rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .hero-description {
    font-size: 0.78rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }
  .hero-title br,
  .hero-description br {
    display: none;
  }
  .hero-title br {
    display: inline;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  .hero-media-col {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }
  .hero-media-blur {
    display: none !important;
  }
  .hero-media-col .media-card {
    height: auto !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: none !important;
    border: none !important;
  }
  .media-card-top {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1326 / 948 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .media-grid-bottom {
    flex: none !important;
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: auto !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .media-card-bottom-left {
    flex: 716 0 51.884% !important;
    width: 51.884% !important;
    height: auto !important;
    aspect-ratio: 716 / 772 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .media-card-bottom-right {
    flex: 664 0 48.116% !important;
    width: 48.116% !important;
    height: auto !important;
    aspect-ratio: 664 / 772 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }
  .hero-media-col .media-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    border-radius: 0 !important;
  }

  .about-section {
    padding-top: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-left-wrapper {
    flex-direction: column;
  }

  .about-divider {
    display: none;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kpi-box {
    padding: 16px 20px;
    border: none;
  }

  .kpi-box:nth-child(1) {
    border-left: 1px solid #D0DCE8;
    border-right: 1px solid #D0DCE8;
    border-bottom: 1px solid #D0DCE8;
  }

  .kpi-box:nth-child(2) {
    border-right: 1px solid #D0DCE8;
    border-bottom: 1px solid #D0DCE8;
  }

  .kpi-box:nth-child(3) {
    border-left: 1px solid #D0DCE8;
    border-right: 1px solid #D0DCE8;
  }

  .kpi-box:nth-child(4) {
    border-right: 1px solid #D0DCE8;
  }
}

/* 12. Service Flow Section (製作の流れ) */
.flow-section {
  padding: var(--space-lg) 0;
  background-color: rgba(46, 134, 171, 0.20);
  border-top: 1px solid rgba(39, 133, 164, 0.15);
  border-bottom: 1px solid rgba(39, 133, 164, 0.15);
}

.flow-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.flow-title-col {
  display: flex;
  flex-direction: column;
}

.flow-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #112B4A;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.flow-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
}

.flow-header-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 17px);
  font-weight: 400;
  color: #112B4A;
  line-height: 1.625;
  letter-spacing: 0.42px;
  max-width: 962px;
}

/* 6-Step Horizontal Timeline */
.flow-timeline-wrapper {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 66px;
  left: 5%;
  right: 5%;
  height: 1px;
  background-color: #CDD8E2;
  z-index: 1;
}

.flow-steps-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.flow-step-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-icon-circle {
  width: 132px;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 1.5rem;
}

.flow-icon-img {
  width: 132px;
  height: 132px;
  display: block;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.flow-step-item:hover .flow-icon-img {
  transform: translateY(-4px);
}

.step-number,
.step-title,
.step-desc {
  width: 100%;
  max-width: 210px;
  text-align: left;
  padding-left: 14px;
  box-sizing: border-box;
}

.step-number {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 1.805vw, 26px);
  font-weight: 500;
  color: #2E86AB;
  margin-bottom: 0.3rem;
  letter-spacing: 0px;
  line-height: 39px;
}

.step-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 16px);
  font-weight: 700;
  color: #112B4A;
  margin-bottom: 0.4rem;
  line-height: 1.4;
  letter-spacing: 0px;
}

.step-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 0.868vw, 12.5px);
  font-weight: 500;
  color: rgba(17, 43, 74, 0.8);
  line-height: 1.75;
  letter-spacing: 0px;
}

/* Responsive Flow Breakdown */
@media (max-width: 1024px) {
  .flow-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .flow-header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flow-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    position: relative;
    padding: 0.5rem 0;
  }

  .flow-step-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    position: relative;
    z-index: 2;
    gap: 1rem;
    box-sizing: border-box;
  }

  .flow-step-item:nth-child(odd) {
    flex-direction: row;
    text-align: left;
  }

  .flow-step-item:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }

  .step-text-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .flow-step-item:nth-child(odd) .step-text-content {
    align-items: flex-start;
  }

  .flow-step-item:nth-child(even) .step-text-content {
    align-items: flex-end;
  }

  /* Plain SVG Icon wrapper — 80px size for 1:1 optical alignment with text block */
  .step-icon-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-shrink: 0;
  }

  .flow-icon-img {
    width: 80px;
    height: 80px;
    display: block;
    flex-shrink: 0;
  }

  .step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #2E86AB;
    line-height: 1.2;
    margin-bottom: 3px;
    display: inline-block;
  }

  .step-title {
    font-size: 15px;
    font-weight: 700;
    color: #112B4A;
    line-height: 1.3;
    white-space: nowrap; /* Prevent any unwanted line wrapping for titles */
    margin-bottom: 6px;
  }

  .step-desc {
    font-size: 11px;
    line-height: 1.5;
    color: rgba(17, 43, 74, 0.8);
    margin: 0;
  }
}

/* 13. Product Categories Section (対応カテゴリー) */
.categories-section {
  padding: var(--space-lg) 0;
  background-color: #ffffff;
}

.categories-header {
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.categories-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #112B4A;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.categories-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
}

/* Categories Alternating Grid Table */
.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #D0DCE8;
  border-bottom: 1px solid #D0DCE8;
  background-color: #ffffff;
}

.category-card {
  background-color: #ffffff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #D0DCE8;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  box-shadow: none;
  transition: none;
}

.category-card:last-child {
  border-bottom: none;
}

.category-card-left-img .category-media {
  border-right: 1px solid #D0DCE8;
}

.category-card-right-img .category-content {
  border-right: 1px solid #D0DCE8;
}

.category-media {
  width: 100%;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  background-color: #ffffff;
}

.category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card-right-img .category-media img {
  transform: rotate(0.9deg) scale(1.015);
  transform-origin: center center;
}

.category-content {
  padding: clamp(1.75rem, 2.5vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.category-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(7px, 0.555vw, 9px);
  font-weight: 300;
  color: #8A96A2;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  line-height: 14.8px;
  margin-bottom: 12px;
}

.category-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(18px, 1.528vw, 24px);
  font-weight: 700;
  color: #112B4A;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 0.8px solid #E8EAED;
  width: 100%;
  letter-spacing: 1.32px;
  line-height: 30.8px;
}

.category-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 14px);
  font-weight: 300;
  color: #5E6A75;
  line-height: 1.75;
  letter-spacing: 0.42px;
  max-width: 554px;
  margin-bottom: 20px;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tag-pill {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(8px, 0.625vw, 10px);
  font-weight: 300;
  color: #5E6A75;
  background-color: #ffffff;
  border: 0.8px solid #D4D8DE;
  padding: 4px 11px;
  border-radius: 0;
  letter-spacing: 1.26px;
  line-height: 18.6px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.tag-pill:hover {
  border-color: #2E86AB;
  color: #2E86AB;
}

/* Responsive Categories Grid */
@media (max-width: 900px) {
  .categories-grid {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    background-color: transparent;
    border: none;
  }

  .category-card {
    grid-template-columns: 1fr;
    border: none;
    border-radius: 0;
    margin-bottom: 0;
  }

  .category-card-left-img .category-media,
  .category-card-right-img .category-content {
    border-right: none;
  }

  .category-card-left-img .category-media,
  .category-card-right-img .category-media {
    border-bottom: none;
  }

  .category-card-right-img {
    display: flex;
    flex-direction: column-reverse;
  }

  .category-media {
    min-height: 220px;
    max-height: 300px;
    background-color: #ffffff;
  }

  .category-media img {
    object-fit: cover;
  }

  .category-content {
    padding: 1.25rem 1.25rem;
    justify-content: flex-start;
  }

  .category-num {
    margin-bottom: 8px;
  }

  .category-name {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }

  .category-desc {
    margin-bottom: 1rem;
    line-height: 1.7;
  }
}


/* 14. Why FIXPERT Section (選ばれる理由) */
.why-section {
  padding-top: var(--space-lg);
  padding-bottom: clamp(3.5rem, 5.555vw, 5rem);
  background-color: rgba(46, 134, 171, 0.20);
  border-top: 1px solid rgba(39, 133, 164, 0.15);
  border-bottom: 1px solid rgba(39, 133, 164, 0.15);
}

.why-header {
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.why-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #112B4A;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.why-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
}

/* 4 Reasons Grid with Vertical Dividers */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.why-col {
  padding: 0 clamp(1rem, 2vw, 2.5rem);
  border-right: 1px solid rgba(17, 43, 74, 0.33);
  display: flex;
  flex-direction: column;
}

.why-col:first-child {
  padding-left: 0;
}

.why-col:last-child {
  border-right: none;
  padding-right: 0;
}

.why-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 3.055vw, 50px);
  font-weight: 700;
  color: var(--primary);
  line-height: 44px;
  margin-bottom: 24px;
  letter-spacing: -0.88px;
}

.why-col-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.042vw, 17px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 22.5px;
  letter-spacing: 0.9px;
}

.why-col-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 14px);
  font-weight: 400;
  color: rgba(17, 43, 74, 0.8);
  line-height: 26px;
  letter-spacing: 0.42px;
  max-width: 270px;
}

/* Bottom Tagline Banner */
.why-footer-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 1.5rem;
}

.banner-line {
  width: 125px;
  height: 2px;
  background-color: var(--primary);
  margin-bottom: 38px;
  opacity: 1;
}

.banner-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 14px);
  font-weight: 700;
  color: var(--primary);
  line-height: 28px;
  letter-spacing: 0.42px;
  margin: 0 auto;
}

.highlight-text {
  color: var(--primary);
  font-weight: 700;
}

/* Responsive Why Grid */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 0;
  }

  .why-col {
    padding: 0 1.5rem;
  }

  .why-col:nth-child(2n) {
    border-right: none;
  }

  .why-col:nth-child(1),
  .why-col:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 2rem 0;
  }

  .why-col {
    padding: 0 0 1.75rem 0;
    border-right: none;
    border-bottom: 1px solid rgba(17, 43, 74, 0.15);
  }

  .why-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .why-col:nth-child(1),
  .why-col:nth-child(3) {
    padding-left: 0;
  }

  .why-num {
    font-size: 36px;
    margin-bottom: 12px;
    line-height: 1;
  }

  .why-col-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .why-col-desc {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.75;
  }

  .banner-line {
    margin-bottom: 24px;
  }

  .banner-text {
    font-size: clamp(10.5px, 2.9vw, 12.5px);
    letter-spacing: 0px;
    line-height: 1.8;
  }
}

/* 15. Selected Projects Section (製作実績) */
.projects-section {
  padding: var(--space-lg) 0;
  background-color: #ffffff;
}

.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.projects-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #8A96A2;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.projects-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
}

.see-all-link {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 16px);
  font-weight: 400;
  color: #112B4A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 1.85px;
  transition: opacity var(--transition-fast);
}

.see-all-link span {
  text-decoration: underline;
}

.see-all-link:hover {
  opacity: 0.8;
}

.see-all-link .arrow {
  display: inline-block;
  font-size: clamp(10px, 0.833vw, 12px);
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.see-all-link:hover .arrow {
  transform: translateX(4px);
}

/* 3-Column Image Showcase Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.project-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 280px;
  box-shadow: none;
  border: none;
  display: block;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.project-card:nth-child(2) {
  background-color: #eae5dd;
}

.project-card:hover img {
  transform: scale(1.03);
}

.image-placeholder-project {
  min-height: 280px;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

/* Bottom Overlay with Title & White Circle Arrow */
.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(17, 34, 56, 0.85) 0%, rgba(17, 34, 56, 0.35) 60%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #ffffff;
  z-index: 10;
}

.project-overlay-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.667vw, 24px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.project-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #8A96A2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.project-circle-btn svg {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.3px;
}

.project-card:hover .project-circle-btn {
  transform: scale(1.1);
  background-color: #ffffff;
  color: #2E86AB;
}

/* Responsive Projects Grid */
@media (max-width: 900px) {
  .projects-section {
    padding: 2.5rem 0;
    width: 100%;
    overflow: hidden;
  }

  .projects-section .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
    width: 100%;
  }

  .projects-header {
    margin-bottom: 1.5rem;
  }

  .projects-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  .project-card {
    border-radius: 0 !important;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    width: 100%;
    background-color: #ffffff;
  }

  .project-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .project-overlay {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .projects-header {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-bottom: 1.25rem;
  }

  .see-all-link {
    font-size: 13px;
    white-space: nowrap;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    width: 100%;
  }

  .project-card {
    border-radius: 0 !important;
    min-height: 0;
    height: auto;
    aspect-ratio: auto;
    width: 100%;
    background-color: #ffffff;
  }

  .project-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
  }

  .project-overlay-title {
    font-size: clamp(15px, 4.2vw, 18px);
  }

  .project-circle-btn {
    width: 34px;
    height: 34px;
  }
}

/* 16. Factory & Quality Control Section (工場・品質管理) */
.factory-qc-section {
  padding: var(--space-lg) 0;
  background-color: rgba(46, 134, 171, 0.10);
  border-top: 1px solid rgba(39, 133, 164, 0.15);
  border-bottom: 1px solid rgba(39, 133, 164, 0.15);
}

.factory-qc-top-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.factory-qc-text-col {
  padding-right: clamp(1.5rem, 3vw, 3.5rem);
  border-right: 1px solid rgba(39, 133, 164, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.factory-qc-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #8A96A2;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.factory-qc-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
}

.factory-qc-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 0.972vw, 14px);
  color: #112B4A;
  font-weight: 400;
  line-height: 2.16; /* 30.3px / 14px ratio */
  letter-spacing: 0.42px;
  margin-bottom: 1.5rem;
}

.factory-qc-desc:last-child {
  margin-bottom: 0;
}

.factory-qc-media-col {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 260px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
}

.factory-qc-media-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder-factory-qc-main {
  min-height: 260px;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

/* Bottom 5-Step Grid & Labels */
.factory-qc-steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.factory-qc-images-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 1.5px;
}

.factory-step-media {
  aspect-ratio: 4 / 3;
  min-height: 130px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: none;
}

.factory-step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder-step {
  min-height: 130px;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  padding: 0.5rem;
}

.factory-qc-labels-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 0.8px solid rgba(17, 43, 74, 0.30);
  padding-top: 0;
}

.factory-step-overlay {
  display: none;
}

.qc-label-col {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400; /* Regular weight in Figma */
  font-size: clamp(13px, 1.111vw, 16px); /* Targets exactly 16px at 1440px canvas */
  color: #112B4A;
  line-height: 1.156; /* 18.5px / 16px ratio */
  letter-spacing: 1.8px; /* Mapped to Figma's 1.8px letter spacing */
  border-right: 0.8px solid rgba(17, 43, 74, 0.30);
  padding: 1.25rem 0.5rem;
}

.qc-label-col:last-child {
  border-right: none;
}

/* Responsive Factory QC Section */
@media (max-width: 900px) {
  .factory-qc-top-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
  }

  .factory-qc-text-col {
    display: contents;
  }

  .factory-qc-badge {
    order: 1;
    margin-bottom: 0.5rem;
  }

  .factory-qc-title {
    order: 2;
    margin-bottom: 1rem;
  }

  .factory-qc-media-col {
    order: 3;
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    margin: 0 0 1.25rem 0;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .factory-qc-media-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .factory-qc-desc {
    order: 4;
    margin-bottom: 20px;
    line-height: 1.85;
  }

  .factory-qc-desc:last-child {
    margin-bottom: 0;
  }

  .factory-qc-labels-bar {
    display: none;
  }

  .factory-qc-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .factory-step-media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 0 !important;
    overflow: hidden;
  }

  .factory-step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .factory-step-media:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .factory-step-overlay {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.6rem 0.75rem;
    background: linear-gradient(to top, rgba(17, 34, 56, 0.88) 0%, rgba(17, 34, 56, 0.35) 70%, transparent 100%);
    z-index: 5;
  }

  .factory-step-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.8px;
    line-height: 1.2;
  }
}

@media (max-width: 600px) {
  .factory-qc-images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }

  .factory-step-overlay {
    padding: 0.5rem 0.65rem;
  }
}

/* 17. FAQ Section (よくあるご質問) */
.faq-section {
  padding: var(--space-lg) 0;
  background-color: var(--bg-body);
  border-top: 1px solid var(--border-light);
}

.faq-grid {
  display: grid;
  grid-template-columns: 287px 1fr; /* Matches Figma's W: 286.99px */
  gap: clamp(2rem, 4vw, 5rem);
  align-items: stretch;
}

.faq-left-col {
  padding-right: clamp(1rem, 2vw, 2rem);
  border-right: 0.8px solid #D4D9DE; /* Figma Inside stroke: color #D4D9DE, weight 0.8 */
  display: flex;
  flex-direction: column;
}

.faq-header {
  margin-bottom: clamp(1.75rem, 3vw, 3.25rem);
}

.faq-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #8A96A2;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.faq-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  letter-spacing: 1.27px;
  margin-top: 0.25rem;
  margin-bottom: 0;
  white-space: nowrap;
}

.faq-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets exactly 13px at 1440px canvas size */
  color: #112B4A;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.42px;
  max-width: 300px; /* Mapped to match scale */
}

/* Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 0.8px solid #D4D9DE; /* Figma horizontal border: color #D4D9DE, weight 0.8 */
  padding: clamp(20px, 1.528vw, 22px) 0; /* Padding set to yield exact 67.9px closed height */
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  padding: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(12px, 0.972vw, 14px); /* Figma font-size 14px */
  font-weight: 500; /* Figma font-weight Medium (500) */
  color: #112B4A; /* Figma color #112B4A */
  letter-spacing: 0.56px; /* Figma letter-spacing 0.56px */
  line-height: 1.65; /* Figma line-height 23.1px */
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: #2E86AB;
}

.q-text {
  padding-right: 1.5rem;
}

/* Custom + / - Icon */
.faq-icon {
  width: 18px; /* Matches Figma's W: 18.19px */
  height: 18px; /* Matches Figma's H: 18px */
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #8A96A2; /* Matches Figma's color selection #8A96A2 */
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}

/* Horizontal line */
.faq-icon::before {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%);
}

/* Vertical line */
.faq-icon::after {
  width: 12px;
  height: 1px;
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question:hover .faq-icon::before,
.faq-question:hover .faq-icon::after {
  background-color: #2E86AB;
}

/* Expanded state icon (Minus) */
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
  opacity: 0;
}

.faq-item.active .faq-icon::before {
  background-color: #8A96A2;
}

.faq-item.active .faq-question:hover .faq-icon::before {
  background-color: #2E86AB;
}

/* FAQ Answer Slide Panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, margin-top 0.35s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  margin-top: 1rem;
}

.faq-answer p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets exactly 13px at 1440px canvas */
  color: #5E6A75; /* Matches Figma's selection fill color #5E6A75 */
  line-height: 2.1; /* Matches Figma's 27.3px line height */
  letter-spacing: 0.42px;
  font-weight: 500; /* Matches Figma's Medium weight */
}

/* Responsive FAQ Grid */
@media (max-width: 900px) {
  .faq-section {
    padding: 3rem 0;
  }

  .faq-section .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
    width: 100%;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-left-col {
    border-right: none;
    padding-right: 0;
    border-bottom: none;
    padding-bottom: 0;
  }

  .faq-title {
    white-space: normal;
    font-size: 26px;
  }

  .faq-desc {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.8;
  }

  .faq-item {
    padding: 0;
  }

  .faq-question {
    font-size: 14px;
    padding: 1.25rem 0;
  }

  .faq-answer p {
    font-size: 13px;
    line-height: 1.8;
  }

  .faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 0;
    padding-bottom: 1.25rem;
  }
}


/* 18. Contact Us CTA Banner Section (お問い合わせ・ご相談) */
.contact-cta-section {
  padding: 3rem 0;
  background-color: #ebf4fa;
  border-top: none;
  border-bottom: none;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr; /* Centered divider independent of text/image sizes */
  align-items: center;
}

.contact-cta-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 570px; /* Figma: W 570px */
  width: 100%;
}

.contact-cta-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 11px);
  font-weight: 300;
  color: #112B4A;
  line-height: 1.85;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.contact-cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 700;
  color: #2E86AB;
  line-height: 1.4;
  margin-top: 0.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 1.27px;
}

.contact-cta-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 16px); /* Targets 16px at 1440px — Figma: Regular 16 */
  font-weight: 400; /* Figma: Regular */
  color: #2A4A5E; /* Figma fill: #2A4A5E */
  line-height: 2; /* Figma: Line height 32 / 16px = 2.0 */
  letter-spacing: 0.34px; /* Figma: Letter spacing 0.34px */
  margin-bottom: 2rem;
}

.btn-contact-cta {
  background-color: #2D82A5; /* Figma fill: #2D82A5 */
  color: #FFFFFF;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px; /* Figma: 13px */
  font-weight: 400; /* Figma: Regular */
  letter-spacing: 2.08px; /* Figma: Letter spacing 2.08px */
  width: 273px; /* Figma width: 272.84px */
  height: 54px; /* Figma height: 54px */
  padding: 0 24px; /* Equal padding on both sides */
  box-sizing: border-box;
  border-radius: 4px; /* Figma: Corner radius 4 */
  box-shadow: 0 4px 14px rgba(45, 130, 165, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: space-between; /* Space out the pseudo-spacer, text, and arrow */
  text-align: center;
}

/* Pseudo-element to perfectly balance the arrow width on the left */
.btn-contact-cta::before {
  content: '';
  width: 14px; /* Match the arrow width */
  display: inline-block;
  flex-shrink: 0;
}

.btn-contact-cta .arrow {
  width: 14px; /* Match the spacer width */
  text-align: right;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
}

.contact-cta-divider {
  width: 100%;
  align-self: stretch;
  background-color: #B8D4E3; /* Figma stroke color: #B8D4E3 */
}

.contact-cta-media-col {
  max-width: 399px; /* Figma image width: 399px */
  width: 100%;
  height: 305px; /* Figma image height: 305px */
  border-radius: 8px; /* Figma corner radius: 8 */
  overflow: hidden;
  box-shadow: none;
  border: none;
  justify-self: start; /* Align closer to the center line */
  margin-left: 200px; /* Exact requested spacing of 200px from divider line */
}

.image-placeholder-meeting {
  min-height: 260px;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
}

/* Responsive Contact CTA */
@media (max-width: 900px) {
  .contact-cta-section {
    padding: 3rem 0;
  }

  .contact-cta-section .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    box-sizing: border-box;
    width: 100%;
  }

  .contact-cta-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 1.25rem;
  }

  .contact-cta-text-col {
    display: contents;
  }

  .contact-cta-badge {
    order: 1;
    align-self: flex-start;
    text-align: left;
  }

  .contact-cta-title {
    order: 2;
    font-size: 26px;
    margin-bottom: 0;
    align-self: flex-start;
    text-align: left;
    width: 100%;
  }

  .contact-cta-media-col {
    order: 3;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    justify-self: center;
    margin-left: 0;
    width: 100%;
  }

  .contact-cta-media-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .contact-cta-desc {
    order: 4;
    font-size: 14px;
    margin-top: 0.25rem;
    margin-bottom: 0;
    text-align: center;
    align-self: center;
    width: 100%;
  }

  .contact-cta-btn-wrapper {
    order: 5;
    margin-top: 0.5rem;
    align-self: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .btn-contact-cta {
    max-width: 100%;
    width: 290px;
  }

  .contact-cta-divider {
    display: none;
  }
}

/* 19. Site Footer (フッター) */
.site-footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding-top: clamp(2.5rem, 4vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 2.5vw, 2.5rem);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 0;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-col {
  padding: 0 clamp(1rem, 2.5vw, 3.5rem);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  border-right: none;
  padding-right: 0;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets 13px at 1440px */
  color: #112B4A; /* Figma Selection Color */
  line-height: 1.46; /* Targets 19px line height, yielding 38px height for 2 lines */
  font-weight: 500;
  max-width: 277px; /* Figma Width */
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-nav-list,
.footer-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-list a,
.footer-service-list a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover,
.footer-service-list a:hover {
  color: var(--primary);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-body);
}

.footer-contact-info a {
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.footer-contact-info a:hover {
  color: var(--primary);
}

/* Bottom Bar */
.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-bar .locations {
  font-weight: 500;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-col {
    border-right: none;
    border-bottom: none;
    padding: 0;
  }

  .footer-col:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   FIXPERT — Inner Pages (Projects & Contact) Styles
   ========================================================================== */

.projects-showcase-section {
  background-color: #ffffff;
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

/* Projects Category Filter Tabs */
.projects-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-top: clamp(1rem, 2vw, 1.8rem); /* Balanced middle-ground spacing from hero */
  margin-bottom: clamp(4rem, 6vw, 6.5rem); /* Increased gap below the pills */
}

.projects-tabs {
  display: inline-flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-btn {
  width: clamp(180px, 18.75vw, 270px); /* 270px at 1440px viewport */
  height: clamp(44px, 3.75vw, 54px);   /* 54px at 1440px viewport */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px);      /* 13px at 1440px viewport */
  letter-spacing: clamp(1.5px, 0.144vw, 2.08px); /* 2.08px at 1440px viewport */
  line-height: clamp(20px, 1.764vw, 25.4px);   /* 25.4px at 1440px viewport */
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  box-sizing: border-box;
}

.tab-btn.active {
  background-color: #2D82A5; /* Figma active fill color */
  color: #ffffff;
  border: none;
  font-weight: 700; /* Figma Bold */
}

.tab-btn:not(.active) {
  background-color: #ffffff;
  color: #112B4A; /* Figma inactive text color */
  border: 1px solid #2E86AB; /* Figma inactive border stroke */
  font-weight: 400; /* Figma Regular */
}

@media (max-width: 900px) {
  .projects-tabs-wrapper {
    margin-top: 1rem;
    margin-bottom: 2rem;
  }
  .projects-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }
  .tab-btn {
    width: auto;
    max-width: 100%;
    height: 48px;
    font-size: clamp(10px, 2.8vw, 11.5px);
    padding: 0 12px;
    letter-spacing: 1px;
  }
  .tab-btn.active {
    flex: 1 1 100%;
    order: -1;
  }
  .tab-btn:not(.active) {
    flex: 1 1 auto;
    order: 1;
  }

  /* Responsive Mobile Category Header Bar */
  .category-header-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    gap: 6px;
    padding-bottom: 14px;
    margin-bottom: 2rem;
  }
  .category-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
  }
  .category-main-heading {
    font-size: clamp(22px, 5.8vw, 28px);
    line-height: 1.3;
    width: 100%;
    margin: 0;
  }
  .category-eng-subtitle {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .category-count {
    position: absolute;
    right: 0;
    bottom: 14px;
    font-size: 10px;
  }
}

/* Category Title Header Bar */
.category-header-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1.6px solid #0D2F45;
  padding-bottom: clamp(16px, 1.8vw, 24px);
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

.category-title-group {
  display: flex;
  align-items: baseline;
  gap: clamp(10px, 1.25vw, 18px);
}

.category-main-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 2.8vw, 40.32px);
  line-height: clamp(42px, 3.916vw, 56.4px);
  letter-spacing: 0.81px;
  color: #2E86AB;
  margin: 0;
}

.category-eng-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: clamp(9px, 0.764vw, 11px);
  line-height: clamp(17px, 1.493vw, 21.5px);
  letter-spacing: 2.42px;
  color: #6A8A9E;
  text-transform: uppercase;
}

.category-count {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  font-size: clamp(9px, 0.764vw, 11px);
  line-height: clamp(17px, 1.493vw, 21.5px);
  letter-spacing: 1.32px;
  color: #6A8A9E;
}

/* Showcase Grid Layout — Figma Pixel-Perfect Specification */
:root {
  --showcase-row-gap: 12px; /* Configurable vertical gap between first row labels and bottom grid images */
}

.showcase-featured-grid {
  display: grid;
  grid-template-columns: 844fr 282fr;
  gap: 12px;
  margin-bottom: var(--showcase-row-gap);
  align-items: start;
}

.showcase-featured-grid.reversed {
  grid-template-columns: 282fr 844fr;
}

/* Top Left Featured Card */
.showcase-featured-left {
  display: flex;
  flex-direction: column;
}

.showcase-featured-left .showcase-media {
  width: 100%;
  aspect-ratio: 844 / 491; /* Exact Figma Image Container Ratio (W:844, H:491) */
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

.showcase-featured-left .showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Right Stacked Column */
.showcase-stacked-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.showcase-stacked-right .showcase-card {
  display: flex;
  flex-direction: column;
}

.showcase-stacked-right .showcase-card:first-child .showcase-media {
  width: 100%;
  aspect-ratio: 282 / 248; /* Exact Figma Top Right Image Ratio (W:282, H:248) */
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.showcase-stacked-right .showcase-card:first-child .showcase-caption {
  padding: 6px 10px;
}

.showcase-stacked-right .showcase-card:last-child .showcase-media {
  width: 100%;
  aspect-ratio: 282 / 202; /* Exact Figma Bottom Right Image Ratio (W:282, H:202) */
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.showcase-stacked-right .showcase-card:last-child .showcase-caption {
  padding: 10px 10px;
}

.showcase-stacked-right .showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.showcase-featured-left .showcase-caption {
  padding: 10px 10px;
}

/* Top 3-Column Layout (for Steel Fixtures) */
.showcase-top-3col {
  display: grid;
  grid-template-columns: 576fr 282fr 282fr;
  gap: 12px;
  margin-bottom: var(--showcase-row-gap);
  align-items: start;
}

.showcase-top-3col .showcase-card:first-child .showcase-media,
.showcase-top-3col .showcase-wide-card .showcase-media {
  width: 100%;
  aspect-ratio: 576 / 491;
  overflow: hidden;
  background-color: transparent;
}

.showcase-top-3col .showcase-card:not(.showcase-wide-card):not(:first-child) .showcase-media {
  width: 100%;
  aspect-ratio: 282 / 491;
  overflow: hidden;
  background-color: transparent;
}

.showcase-top-3col .showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Top 2-Column Layout (for Hybrid Fixtures) */
.showcase-top-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: var(--showcase-row-gap);
}

.showcase-top-2col .showcase-media {
  aspect-ratio: 1115 / 720;
  overflow: hidden;
  background-color: transparent;
}

.showcase-top-2col .showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  background-color: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}

.showcase-card:hover {
  border: none;
}

.showcase-media {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.showcase-caption {
  padding: 12px 10px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 16px);
  font-weight: 500;
  color: #112B4A;
  letter-spacing: 0.52px;
  line-height: clamp(20px, 1.764vw, 25.4px);
  border-top: none;
  background-color: transparent;
}

/* Bottom 4-Column Frameless Showcase Grid (Figma Specification) */
.showcase-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.showcase-bottom-grid .showcase-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.showcase-bottom-grid .showcase-media {
  width: 100%;
  aspect-ratio: 282 / 243; /* Exact Figma Bottom 4 Image Ratio (W:282, H:243) */
  overflow: hidden;
  border-radius: 0;
  background-color: transparent;
}

.showcase-bottom-grid .showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.showcase-bottom-grid .showcase-caption {
  background-color: transparent;
  border-top: none;
  padding: 10px 0 0 0;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: clamp(13px, 1.111vw, 16px);
  color: #112B4A;
  letter-spacing: 0.52px;
  line-height: clamp(20px, 1.764vw, 25.4px);
}

@media (max-width: 900px) {
  .showcase-featured-grid,
  .showcase-top-3col,
  .showcase-top-2col {
    grid-template-columns: 1fr;
  }
  .showcase-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 2rem;
  }
  .showcase-caption,
  .showcase-bottom-grid .showcase-caption {
    font-size: 13px;
    padding: 10px 8px;
    line-height: 1.4;
  }
}

@media (max-width: 480px) {
  .showcase-caption,
  .showcase-bottom-grid .showcase-caption {
    font-size: 11px;
    padding: 8px 4px;
    letter-spacing: 0.2px;
  }
  .showcase-bottom-grid {
    margin-bottom: 1.5rem;
  }
  .projects-showcase-section {
    padding-bottom: 1.5rem;
  }
}

/* Manufacturing Capability Section (製造・加工能力) — Figma 1440px Pixel-Perfect Specification */
.mfg-capability-section {
  background-color: rgba(46, 134, 171, 0.18); /* #2E86AB ~18% — browser-compensated to match Figma visual */
  padding: clamp(3.5rem, 5.5vw, 6rem) 0;
}

.mfg-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 4vw, 3.8rem);
}

.mfg-title-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mfg-badge-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.mfg-badge-line {
  width: 24px;
  height: 1.6px;
  background-color: #6A8A9E;
}

.mfg-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 10px);
  font-weight: 300; /* Noto Sans JP Light */
  color: #112B4A;
  letter-spacing: 3.4px;
  line-height: clamp(18px, 1.354vw, 19.5px);
  text-transform: uppercase;
}

.mfg-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(30px, 2.8vw, 40.32px);
  font-weight: 700;
  color: #2E86AB;
  line-height: clamp(42px, 3.916vw, 56.4px);
  letter-spacing: 0.81px;
  margin: 0;
}

.mfg-title-line {
  width: 44px;
  height: 2px;
  background-color: rgba(46, 134, 171, 0.5); /* #2E86AB at 50% opacity */
  margin-top: 14px;
  border-radius: 1px;
}

.mfg-desc-col {
  max-width: 893px;
  text-align: left;
}

.mfg-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400; /* Noto Sans JP Regular */
  color: #2A4A5E;
  line-height: clamp(26px, 2.33vw, 33.6px);
  letter-spacing: 0.34px;
  margin: 0;
}

/* Capability Table Rows — Figma Exact Pixel-Perfect Specs */
.mfg-table {
  border-top: 2px solid #002F45;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mfg-row {
  display: grid;
  grid-template-columns: clamp(180px, 18vw, 240px) 1fr;
  border-bottom: 1px solid #B8D4E3;
  align-items: stretch;
}

.mfg-row:last-child {
  border-bottom: none;
}

.mfg-row-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 700;
  color: #002F45;
  letter-spacing: 0.72px;
  line-height: 35.1px;
  padding: 26px 20px 26px 0;
  display: flex;
  align-items: center;
  border-right: 1px solid #B8D4E3;
}

.mfg-row-pills {
  padding: 22px 0 22px clamp(20px, 2.5vw, 36px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}

.mfg-pill {
  background-color: #DFF0F8;
  border: 1px solid #B8D4E3;
  color: #002F45;
  padding: 8px 18px;
  border-radius: 2px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 0.833vw, 12px); /* 12px at 1440px Figma, scales down fluidly */
  font-weight: 500; /* Medium */
  letter-spacing: 0.96px;
  line-height: 23.4px;
  white-space: nowrap;
  transition: all var(--transition-fast);
  box-shadow: none;
}

.mfg-pill:hover {
  background-color: #2E86AB;
  border-color: #2E86AB;
  color: #ffffff;
}

@media (max-width: 768px) {
  .mfg-capability-section {
    padding-top: clamp(2.5rem, 4vw, 3.5rem);
    padding-bottom: 2.2rem;
  }
  .mfg-header,
  .fg-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .mfg-row {
    grid-template-columns: 1fr;
    border-bottom: none;
  }
  .mfg-row-label {
    border-right: none;
    border-bottom: 1.5px solid #2E86AB;
    padding: 10px 0 6px 0;
  }
  .mfg-row-pills {
    padding: 10px 0 16px 0;
  }
}

@media (max-width: 480px) {
  .mfg-capability-section {
    padding-top: clamp(2rem, 3.5vw, 2.5rem);
    padding-bottom: 1.5rem;
  }
  .mfg-row-label {
    padding: 8px 0 5px 0;
  }
  .mfg-row-pills {
    padding: 8px 0 12px 0;
    gap: 8px 10px;
  }
  .mfg-pill {
    padding: 6px 14px;
    font-size: 11px;
  }
}

/* Factory Gallery Section (工場・製造環境) */
.factory-gallery-section {
  background-color: var(--bg-card);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border-light);
}

.fg-header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.fg-badge-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem; /* Matched gap */
}

.fg-badge-line {
  width: 24px;
  height: 1.5px;
  background-color: var(--text-muted);
}

.fg-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(9px, 0.694vw, 10px);
  font-weight: 300; /* Noto Sans JP Light */
  color: #112B4A;
  letter-spacing: 3.4px;
  line-height: clamp(18px, 1.354vw, 19.5px);
  text-transform: uppercase;
}

.fg-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(30px, 2.8vw, 40.32px);
  font-weight: 700;
  color: #2E86AB;
  line-height: clamp(42px, 3.916vw, 56.4px);
  letter-spacing: 0.81px;
  margin: 0 0 1.375rem 0; /* 22px gap below heading to match Figma vertical layout */
}

.fg-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 1.111vw, 16px);
  font-weight: 400; /* Regular */
  color: #112B4A;
  line-height: clamp(26px, 2.33vw, 33.6px);
  letter-spacing: 0.34px;
  max-width: 587px; /* Matches Figma Width of 586.58px */
}

/* Factory Gallery Grid */
.fg-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.fg-top-row {
  display: grid;
  grid-template-columns: 750fr 377fr;
  gap: 1.5px;
}

.fg-card {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background-color: #f1f5f9;
}

.fg-top-row .fg-card-left {
  aspect-ratio: 750 / 461;
  width: 100%;
}

.fg-top-row .fg-card-right {
  aspect-ratio: 377 / 461;
  width: 100%;
}

.fg-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fg-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 43, 74, 0.55) 0%, rgba(17, 43, 74, 0.05) 50%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.fg-overlay-label {
  position: absolute;
  bottom: clamp(12px, 1.181vw, 17px);
  left: clamp(16px, 1.667vw, 24px);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.389vw, 20px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: clamp(2px, 0.278vw, 4px);
  color: #ffffff;
  z-index: 2;
}

.fg-bottom-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
}

.fg-bottom-media {
  aspect-ratio: 281.41 / 221;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  border: none;
  position: relative;
  background-color: #f1f5f9;
}

.fg-bottom-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fg-bottom-media .fg-overlay-label {
  font-size: clamp(13px, 1.1vw, 16px);
  bottom: clamp(10px, 1vw, 14px);
  left: clamp(12px, 1.2vw, 18px);
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .fg-top-row {
    grid-template-columns: 1fr;
  }
  .fg-bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.capability-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.capability-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.capability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.capability-card:hover .capability-media img {
  transform: scale(1.05);
}

.capability-content {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.capability-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.capability-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.capability-desc {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.capability-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.capability-pill {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background-color: #f1f5f9;
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.capability-card:hover .capability-pill {
  background-color: var(--primary-light);
  color: var(--primary);
  border-color: rgba(39, 133, 164, 0.2);
}

/* ==========================================================================
   Subpage Layout & Subpage Hero Section
   ========================================================================== */
.subpage-wrapper {
  min-height: calc(100vh - var(--header-height));
  width: 100%;
  display: flex;
  flex-direction: column;
}

.page-hero {
  background-color: #2E86AB;
  color: #ffffff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  min-height: 428px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

.page-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 32px; /* Shifts content slightly to the right relative to the header logo */
}

.page-hero-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.56); /* Figma 56% opacity white */
  line-height: 1.95; /* 19.5px */
  letter-spacing: 3.4px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  width: clamp(205px, 20.83vw, 305px); /* Matches width of お問い合わせ (5 chars) for centering */
  text-align: center;
}

.page-hero-badge.projects-badge {
  width: clamp(164px, 16.67vw, 244px); /* Matches width of 製作実績 (4 chars, excluding the dot) for centering */
}

.page-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(2.5rem, 4.167vw, 3.75rem); /* 60px at 1440px canvas */
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3; /* 78px line-height */
  letter-spacing: 1.2px;
}

.page-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  padding-top: 80px; /* Shifts description text down below watermark block space */
}

.page-hero-watermark {
  position: absolute;
  top: 75px;
  right: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(50px, 6.944vw, 100px); /* 100px at 1440px viewport (Projects page spec) */
  font-weight: 900; /* Black */
  line-height: 1;
  letter-spacing: clamp(4px, 0.556vw, 8px); /* 8px at 1440px viewport (Projects page spec) */
  color: rgba(255, 255, 255, 0.18); /* Figma #FFFFFF 18% opacity */
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
  z-index: 0;
}

.page-hero-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45); /* Figma 45% opacity white (Projects page spec) */
  line-height: 2.0; /* 32px line-height */
  letter-spacing: 0.34px;
  max-width: 520px;
  width: 100%;
  text-align: left;
}

/* Contact Page Specific Hero Overrides (Decoupled from Projects Page) */
.contact-hero {
  padding: 0;
  min-height: 235px;
}

.contact-hero .page-hero-watermark {
  top: 0;
  font-size: clamp(45px, 6.25vw, 90px); /* 90px at 1440px viewport (Contact page spec) */
  letter-spacing: clamp(3.6px, 0.5vw, 7.2px); /* 7.2px at 1440px viewport (Contact page spec) */
}

.contact-hero .page-hero-right {
  padding-top: 45px; /* Pushes description text down to clear the watermark space */
}

.contact-hero .page-hero-desc {
  color: rgba(255, 255, 255, 0.55); /* Figma 55% opacity white (Contact page spec) */
  line-height: 2.1; /* 33.6px line-height */
}

@media (max-width: 900px) {
  .page-hero {
    min-height: auto;
    padding: clamp(2rem, 4vw, 3rem) 0;
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .page-hero-left {
    padding-left: 0;
  }

  .page-hero-badge {
    text-align: left;
    margin-bottom: 0.5rem;
    width: auto;
  }

  .page-hero-badge.projects-badge {
    width: auto;
  }

  .page-hero-title {
    font-size: clamp(1.85rem, 6vw, 2.5rem);
    line-height: 1.3;
  }

  .page-hero-right {
    padding-top: 0;
    align-items: flex-start;
  }

  .page-hero-desc {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.85;
    max-width: 100%;
  }

  .page-hero-watermark {
    font-size: clamp(36px, 10vw, 55px);
    top: 85px;
    right: 0;
    color: rgba(255, 255, 255, 0.08);
    text-shadow: none;
    opacity: 0;
    transform: translateX(30px);
    animation: watermarkEntrance 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
    pointer-events: none;
  }

  @keyframes watermarkEntrance {
    from {
      opacity: 0;
      transform: translateX(40px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .contact-hero {
    padding: 2.25rem 0 2rem 0;
    min-height: auto;
    position: relative;
  }

  .contact-hero .page-hero-watermark {
    top: 0.65rem;
    right: 0;
    font-size: clamp(28px, 7.5vw, 42px);
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.12);
  }

  .contact-hero .page-hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
    margin-bottom: 0.5rem;
  }

  .contact-hero .page-hero-right {
    padding-top: 0;
  }

  .contact-hero .page-hero-desc {
    font-size: clamp(13px, 3.4vw, 14.5px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
  }
}

/* ==========================================================================
   Contact Features Bar Section (01, 02, 03 Highlights)
   ========================================================================== */
.contact-features-section {
  padding: clamp(4rem, 5.5vw, 5.5rem) 0;
  background-color: #ffffff;
}

.contact-features-section .container,
.contact-section .container,
.location-section .container {
  max-width: 1380px;
}

.contact-features-top-line {
  width: 100%;
  height: 3px;
  background-color: #2E86AB;
  margin-bottom: clamp(28px, 2.5vw, 40px);
}

.contact-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.contact-feature-item {
  padding: 0 clamp(24px, 2.5vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.contact-feature-item:first-child {
  padding-left: 0;
}

.contact-feature-item:last-child {
  padding-right: 0;
}

.contact-feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: calc(-1 * clamp(28px, 2.5vw, 40px));
  bottom: 0;
  width: 1px;
  background-color: #D0DCE8;
}

.contact-feature-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(20px, 2.778vw, 40px);
  font-weight: 700;
  color: rgba(46, 134, 171, 0.5);
  line-height: 40px;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.contact-feature-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 700;
  color: #112B4A;
  margin-bottom: 14px;
  line-height: 1.4;
}

.contact-feature-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(13px, 0.972vw, 14px);
  font-weight: 400;
  color: #344A5E;
  line-height: 1.95;
  letter-spacing: 0.34px;
}

@media (max-width: 900px) {
  .contact-features-section {
    padding: 2.25rem 0;
  }

  .contact-features-top-line {
    display: none;
  }

  .contact-features-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-left: 3px solid #2E86AB;
    padding-left: 1.125rem;
  }
  
  .contact-feature-item {
    padding: 1.25rem 0;
    position: relative;
  }

  .contact-feature-item:first-child {
    padding-top: 0;
  }

  .contact-feature-item:last-child {
    padding-bottom: 0;
  }
  
  .contact-feature-item:not(:last-child)::after {
    display: block !important;
    content: '';
    position: absolute;
    left: -1.125rem;
    right: 0;
    width: auto !important;
    height: 1px !important;
    bottom: 0;
    top: auto;
    background-color: #D0DCE8;
    z-index: 2;
  }

  .contact-feature-num {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .contact-feature-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .contact-feature-desc {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* ==========================================================================
   Contact Form & Sidebar 2-Column Main Layout (Figma 1440px Pixel-Perfect)
   ========================================================================== */
.contact-section {
  padding: clamp(3.5rem, 6.8vw, 6.8rem) 0;
  background-color: #F8FAFB;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  position: relative;
}

.contact-form-col {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.contact-info-sidebar {
  background-color: transparent;
  padding: 0 0 0 clamp(2rem, 3.5vw, 3.5rem);
  border-radius: 0;
  border: none;
  border-left: 1px solid #DDE8EC;
  box-shadow: none;
}

/* Header Title Bar with Primary Accent Line */
.contact-section-header {
  margin-bottom: 2rem;
}

.contact-header-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #2E86AB;
  line-height: 21.5px;
  letter-spacing: 2.64px;
  text-transform: uppercase;
}

.contact-header-line {
  width: 100%;
  height: 3px;
  background-color: #2E86AB;
  margin-top: 12px;
}

/* Contact Form Elements */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.form-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 21.5px;
  letter-spacing: 1.76px;
  color: #1B3A5C;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-required {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8px;
  font-weight: 400;
  line-height: 17.5px;
  letter-spacing: 0.54px;
  background-color: #2E86AB;
  color: #ffffff;
  padding: 0 6px;
  height: 21.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.label-optional {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  font-weight: 300;
  line-height: 17.5px;
  letter-spacing: 0.72px;
  background-color: transparent;
  color: #112B4A;
  border: 1px solid rgba(17, 43, 74, 0.5);
  padding: 0 6px;
  height: 21.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 25.6px;
  letter-spacing: 0.32px;
  color: #112B4A;
  background-color: #ffffff;
  border: 1px solid #DDE8EC;
  border-radius: 0px;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.form-control::placeholder {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 25.6px;
  letter-spacing: 0.32px;
  color: #757575;
}

.form-control:focus {
  border-color: #2E86AB;
  box-shadow: 0 0 0 3.5px rgba(46, 134, 171, 0.14), 0 2px 8px rgba(46, 134, 171, 0.06);
}

textarea.form-control {
  resize: vertical;
  min-height: 160px;
  line-height: 1.7;
}

/* File Upload Field */
.file-upload-container {
  width: 100%;
}

.file-drag-area {
  width: 100%;
  border: 1px dashed #CBE8F5;
  border-radius: 0px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background-color: #E8F5F8;
  cursor: pointer;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.file-drag-area:hover,
.file-drag-area.drag-over {
  border-color: #2E86AB;
  background-color: #DCEFF3;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 134, 171, 0.12);
}

.file-upload-plus {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 46.8px;
  letter-spacing: 0.34px;
  color: #2E86AB;
  margin-bottom: 0.25rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.file-drag-area:hover .file-upload-plus,
.file-drag-area.drag-over .file-upload-plus {
  transform: scale(1.18);
}

.file-upload-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 25.4px;
  letter-spacing: 1.04px;
  color: #1B3A5C;
  margin-bottom: 0.25rem;
}

.file-upload-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #5A6E85;
  margin-bottom: 0.25rem;
}

.file-upload-hint {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 300;
  line-height: 19.8px;
  letter-spacing: 0.66px;
  color: #5B6E85;
}

.file-input-hidden {
  display: none;
}

.file-list-preview {
  margin-top: 0.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.file-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  font-size: 0.85rem;
  animation: fileSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@keyframes fileSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.file-preview-name {
  font-weight: 500;
  color: #112B4A;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80%;
}

.file-preview-remove {
  background: none;
  border: none;
  color: #e11d48;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  padding: 0 0.25rem;
  transition: transform 0.2s ease;
}

.file-preview-remove:hover {
  transform: scale(1.25);
}

.form-submit-wrapper {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.btn-submit {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  background-color: #2E86AB;
  border: none;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(46, 134, 171, 0.22);
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 3.08px;
}

.btn-submit:hover {
  background-color: #257293;
  box-shadow: 0 8px 18px rgba(46, 134, 171, 0.32);
  transform: translateY(-2px);
}

.btn-submit:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 4px 8px rgba(46, 134, 171, 0.2);
}

.form-submit-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #112B4A;
  line-height: 20.9px;
  letter-spacing: 0.44px;
  margin-top: 12px;
  text-align: left;
}

/* Sidebar Contact Info List */
.contact-info-list {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #DDE8EC;
  align-items: flex-start;
}

.info-row:first-child {
  padding-top: 0;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: #2E86AB;
  line-height: 28.5px;
  height: 28.5px;
  display: flex;
  align-items: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.info-value {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #1B3A5C;
  line-height: 28.5px;
  letter-spacing: 0.34px;
}

.info-link {
  color: #2E86AB;
  text-decoration: none;
  font-weight: 400;
}

.info-link:hover {
  text-decoration: underline;
}

.info-highlight {
  color: #2E86AB;
  font-weight: 400;
}

.contact-sidebar-media {
  margin: 1.5rem 0;
  aspect-ratio: 4 / 3;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-sidebar-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-sidebar-media:hover img {
  transform: scale(1.04);
}

.contact-sidebar-notice {
  background-color: #E8F5FB;
  padding: 24px;
  border-radius: 0px;
  border: none;
  border-left: 4px solid #2E86AB;
}

.notice-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1B3A5C;
  line-height: 25.4px;
  letter-spacing: 0.52px;
  margin-bottom: 13px;
}

.notice-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #344A5E;
  line-height: 26px;
  letter-spacing: 0.34px;
}

/* Success Message Overlay style */
.form-success-message {
  display: none;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 4rem) 2rem;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-message.is-visible {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: successEntrance 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes successEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.form-success-message.is-visible .success-icon-wrapper {
  animation: checkmarkBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes checkmarkBounce {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  60% {
    transform: scale(1.18);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.success-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #def7ec;
  color: #03543f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 14px rgba(3, 84, 63, 0.15);
}

.success-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #112B4A;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1rem;
  color: #344A5E;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

/* Subpage Responsive Media Queries - Contact Section & Inquiry Form */
@media (max-width: 960px) {
  .contact-section {
    padding: 2.5rem 0;
  }

  .contact-main-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-info-sidebar {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #DDE8EC;
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
  }

  .contact-info-sidebar .contact-section-header {
    order: 1;
  }

  .contact-info-sidebar .contact-sidebar-media {
    order: 2;
    margin: 0 0 1.5rem 0;
  }

  .contact-info-sidebar .contact-info-list {
    order: 3;
  }

  .contact-info-sidebar .contact-sidebar-notice {
    order: 4;
    margin-top: 1.5rem;
  }

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

@media (max-width: 600px) {
  .contact-section {
    padding: 2rem 0;
  }

  .contact-section-header {
    margin-bottom: 1.5rem;
  }

  .contact-header-subtitle {
    font-size: 11px;
    letter-spacing: 1.8px;
    line-height: 1.6;
  }

  .contact-header-line {
    margin-top: 10px;
  }

  .contact-form {
    gap: 1.25rem;
  }

  .form-label {
    font-size: 12px;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
  }

  .label-required,
  .label-optional {
    font-size: 8px;
    height: 19px;
    padding: 0 5px;
  }

  .form-control {
    padding: 12px 14px;
    font-size: 16px; /* 16px prevents automatic zoom on iOS Safari input focus */
    line-height: 1.5;
  }

  textarea.form-control {
    min-height: 190px;
  }

  .file-drag-area {
    padding: 1.5rem 1rem;
  }

  .file-upload-plus {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 4px;
  }

  .file-upload-title {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
  }

  .file-upload-text {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 4px;
  }

  .file-upload-hint {
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.3px;
  }

  .btn-submit {
    height: 52px;
    font-size: 16px;
    letter-spacing: 2px;
  }

  .form-submit-note {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .info-row {
    grid-template-columns: 85px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .info-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    line-height: 24px;
    height: 24px;
  }

  .info-value {
    font-size: 14px;
    line-height: 24px;
  }

  .contact-sidebar-media {
    margin: 0 0 1.25rem 0;
    min-height: 160px;
    border-radius: 4px;
  }

  .contact-sidebar-media img {
    border-radius: 4px;
  }

  .contact-sidebar-notice {
    padding: 18px 16px;
  }

  .notice-title {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .notice-desc {
    font-size: 12px;
    line-height: 22px;
  }
}

@media (max-width: 480px) {
  .info-row {
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .file-preview-item {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
  }
}


/* ==========================================================================
   Location / Office & Factory Section
   ========================================================================== */
.location-section {
  padding: clamp(0.25rem, 0.5vw, 0.75rem) 0 clamp(1.25rem, 2vw, 2rem) 0;
  background-color: #ffffff;
  border-top: none;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr clamp(380px, 38.055vw, 548px);
  gap: clamp(2rem, 4.5vw, 4.5rem);
  align-items: start;
}

.location-text-col {
  display: flex;
  flex-direction: column;
}

.location-badge-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.location-badge-line {
  width: 24px;
  height: 2px;
  background-color: var(--primary);
}

.location-badge {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #2E86AB;
  letter-spacing: 3.4px;
  line-height: 19.5px;
  text-transform: uppercase;
}

.location-main-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 2.36vw, 34px);
  font-weight: 700;
  color: #1B3A5C;
  line-height: clamp(38px, 3.3vw, 47.6px);
  letter-spacing: 0.68px;
  margin-bottom: 1.25rem;
}

.location-main-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(14px, 1.04vw, 15px);
  color: #344A5E;
  line-height: clamp(26px, 2.08vw, 30px);
  letter-spacing: 0.34px;
  max-width: 420px;
  margin-bottom: 1.75rem;
}

.location-divider {
  width: 100%;
  height: 1px;
  background-color: #EAF1F5;
  margin: 1.5rem 0;
}

.location-office-block {
  display: flex;
  flex-direction: column;
}

.location-office-tag {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  font-weight: 400;
  color: #2E86AB;
  letter-spacing: 2.16px;
  line-height: 17.5px;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.location-office-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1B3A5C;
  letter-spacing: 0.64px;
  line-height: 31.2px;
  margin-bottom: 0.6rem;
}

.location-office-details {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #344A5E;
  letter-spacing: 0.34px;
  line-height: 26.6px;
}

/* Right Map Box */
.location-map-col {
  width: 100%;
  max-width: 548px;
  height: clamp(500px, 47.43vw, 683px);
}

.location-map-mobile {
  display: none !important;
}

.location-map-box {
  width: 100%;
  height: 100%;
  max-width: 548px;
  min-height: clamp(500px, 47.43vw, 683px);
  background-color: #E8F5FB;
  border-radius: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  border: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.location-map-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(46, 134, 171, 0.12);
}

.map-icon-wrapper {
  color: var(--primary);
  margin-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.location-map-box:hover .map-icon-wrapper {
  transform: translateY(-4px) scale(1.08);
}

.map-location-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.map-location-sub {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.map-placeholder-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .location-section {
    padding: 2.25rem 0 5rem 0;
  }

  .location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .location-text-col {
    display: flex;
    flex-direction: column;
  }

  .location-intro-header {
    margin-bottom: 1.5rem;
  }

  .location-main-title {
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .location-main-desc {
    font-size: 13.5px;
    line-height: 1.85;
    margin-bottom: 0;
  }

  .location-map-mobile {
    display: block !important;
    height: auto !important;
    margin-bottom: 1rem;
  }

  .location-map-desktop {
    display: none !important;
  }

  .location-map-box {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    height: auto;
    border-radius: 6px;
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #E8F5FB;
  }

  .map-icon-wrapper {
    margin-bottom: 0.75rem;
    color: var(--primary);
  }

  .map-icon-wrapper svg {
    width: 44px;
    height: 44px;
  }

  .map-location-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  .map-location-sub {
    font-size: 13px;
    margin-bottom: 0.75rem;
  }

  .map-placeholder-hint {
    font-size: 11px;
  }

  .location-divider {
    margin: 1.25rem 0;
    height: 1px;
    background-color: #EAF1F5;
  }

  .location-office-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 0.5rem;
  }

  .location-office-details {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* ==========================================================================
   Site Footer Section (Pixel-Perfect Figma Reproduction)
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  color: var(--text-body);
  border-top: 0.8px solid rgba(17, 43, 74, 0.06);
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding-top: 0;
  padding-bottom: clamp(0.5rem, 1vw, 0.75rem);
}

.footer-col {
  display: flex;
  flex-direction: column;
  padding: 0 clamp(1.5rem, 3vw, 3rem);
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

/* Vertical Column Divider Lines */
.footer-col:not(:first-child) {
  border-left: 0.8px solid rgba(17, 43, 74, 0.06);
}

/* Brand Column */
.footer-logo {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-size: 1.65rem;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  display: inline-block;
}

.footer-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 0.833vw, 12px); /* Targets 12px at 1440px */
  color: #112B4A; /* Figma Color */
  line-height: 1.6; /* Yields ~19.2px line height */
  font-weight: 400; /* Regular */
  max-width: 277px;
  margin-bottom: 1.5rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-list a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets 13px at 1440px */
  color: #112B4A;
  font-weight: 400; /* Regular */
  line-height: 1.7; /* Yields ~22.1px line height */
  letter-spacing: 1.1px; /* Figma letter spacing */
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: var(--primary);
}

/* Section Column Titles */
.footer-col-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(10px, 0.764vw, 11px); /* Targets 11px at 1440px (Figma 9px + 2px) */
  font-weight: 700; /* Bold */
  color: #112B4A; /* Figma color */
  letter-spacing: 2.34px; /* Figma letter spacing */
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Service List Column */
.footer-service-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-service-list a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets 13px at 1440px (Figma 11px + 2px) */
  color: #112B4A;
  font-weight: 400; /* Regular */
  line-height: 1.85; /* Targets 20.4px line height ratio */
  letter-spacing: 1.1px; /* Figma letter spacing */
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer-service-list a:hover {
  color: var(--primary);
}

/* Contact Info Column */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(11px, 0.903vw, 13px); /* Targets 13px at 1440px (Figma 11px + 2px) */
  color: #112B4A;
  line-height: 2.1; /* Targets 23.1px line height ratio */
  letter-spacing: 0.42px; /* Figma letter spacing */
}

.footer-contact-info .email a,
.footer-contact-info .phone a {
  color: #112B4A;
  font-weight: 400;
  transition: color var(--transition-fast);
}

.footer-contact-info .email a:hover,
.footer-contact-info .phone a:hover {
  color: var(--primary);
}

.footer-contact-info .hours {
  color: #112B4A;
  font-size: inherit;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 0 0.75rem 0;
  border-top: 0.8px solid rgba(17, 43, 74, 0.06);
}

.footer-bottom-bar .copyright,
.footer-bottom-bar .locations {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300; /* Light */
  font-size: clamp(10px, 0.764vw, 11px); /* Targets 11px at 1440px (Figma 10px + 1px) */
  line-height: 1.85;
  letter-spacing: 1px;
  color: rgba(17, 43, 74, 0.9); /* Figma #112B4A with 90% opacity */
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .site-footer .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 0;
  }

  .footer-col {
    padding: 0;
    border: none !important;
  }

  .footer-col:not(:first-child) {
    border: none !important;
    padding-top: 0;
    margin-top: 0;
  }

  .footer-tagline {
    font-size: 13px;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .footer-col-title {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 1rem;
  }

  .footer-nav-list {
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .footer-service-list {
    gap: 0.75rem;
    padding-left: 1rem;
  }

  .footer-nav-list a,
  .footer-service-list a {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.8px;
    display: inline-block;
    padding: 2px 0;
  }

  .footer-contact-info {
    font-size: 13px;
    line-height: 1.8;
    gap: 0.65rem;
    padding-left: 1rem;
  }

  .footer-contact-info a {
    display: inline-block;
    padding: 2px 0;
  }

  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(17, 43, 74, 0.08);
  }

  .footer-bottom-bar .copyright,
  .footer-bottom-bar .locations {
    font-size: clamp(9px, 2.5vw, 11px);
    line-height: 1.6;
    letter-spacing: 0.5px;
  }
}

/* Mobile Navigation & Header Responsiveness */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 2rem;
    box-sizing: border-box;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    z-index: 99;
    margin: 0 !important;
  }

  .main-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 2.5rem;
    width: 100%;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
  }

  .main-nav .nav-link {
    font-size: 1.125rem;
    font-weight: 500;
  }

  .header-actions {
    display: none; /* Hide desktop CTA */
  }

  /* Hamburger active state animation - mathematically aligned perfect 100% symmetrical X cross */
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ==========================================================================
   FIXPERT — Comprehensive Modern Micro-Animation Suite (100% Page Coverage)
   ========================================================================== */

/* 1. Keyframe Animations */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.94);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes railSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-25px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes badgeLineExpand {
  0% {
    width: 0;
  }
  100% {
    width: 24px;
  }
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(46, 134, 171, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(46, 134, 171, 0);
  }
}

@keyframes lineDraw {
  0% {
    transform: scaleX(0);
    transform-origin: left center;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

@keyframes tabFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 2. Hero Section Page Load Entrance Animations */
.hero-rail {
  animation: railSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}

.hero-badge {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}

.hero-badge .badge-line {
  animation: badgeLineExpand 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

.hero-title {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s backwards;
}

.hero-description {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s backwards;
}

.hero-cta-group {
  animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s backwards;
}

.hero-media-col {
  animation: heroScaleIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s backwards;
}

/* 3. Header Glassmorphism & Animated Navigation */
.header, .site-header, header {
  transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.35s ease;
}

.header.scrolled, .site-header.scrolled, header.scrolled {
  background-color: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2E86AB;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* 4. Comprehensive & High-Visibility Scroll Reveal System */
.reveal-on-scroll,
.reveal-up,
.reveal-left,
.reveal-right,
.reveal-zoom {
  opacity: 0 !important;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform;
}

.reveal-on-scroll, .reveal-up {
  transform: translateY(50px) !important;
}

.reveal-left {
  transform: translateX(-55px) !important;
}

.reveal-right {
  transform: translateX(55px) !important;
}

.reveal-zoom {
  transform: scale(0.88) !important;
}

/* Deep Well Watermark Entrance Animation Initial State */
.reveal-watermark-depth {
  opacity: 0 !important;
  transform: scale(0.4) translateY(60px) !important;
  filter: blur(10px) !important;
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.1s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 1.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: opacity, transform, filter;
  transition-delay: 0.1s !important;
}

/* Active Visible Trigger State */
.reveal-visible,
.reveal-watermark-depth.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
  filter: blur(0px) !important;
}

/* Sequential Stagger Delays for Cards, Form Fields & List Items */
.reveal-stagger > *:nth-child(1), [data-reveal-delay="1"] { transition-delay: 0.06s !important; }
.reveal-stagger > *:nth-child(2), [data-reveal-delay="2"] { transition-delay: 0.14s !important; }
.reveal-stagger > *:nth-child(3), [data-reveal-delay="3"] { transition-delay: 0.22s !important; }
.reveal-stagger > *:nth-child(4), [data-reveal-delay="4"] { transition-delay: 0.30s !important; }
.reveal-stagger > *:nth-child(5), [data-reveal-delay="5"] { transition-delay: 0.38s !important; }
.reveal-stagger > *:nth-child(6), [data-reveal-delay="6"] { transition-delay: 0.46s !important; }
.reveal-stagger > *:nth-child(7), [data-reveal-delay="7"] { transition-delay: 0.54s !important; }
.reveal-stagger > *:nth-child(8), [data-reveal-delay="8"] { transition-delay: 0.62s !important; }


/* 5. Pure Card & Image Hover Micro-Animations (Welcomed Image Scale Zoom) */
.media-card, .why-col-img, .contact-cta-media-col, .gallery-item, .project-card-image, .about-image-card {
  overflow: hidden;
  border-radius: var(--radius-md, 8px);
}

.fg-card {
  overflow: hidden;
  border-radius: 0 !important;
}

.media-card img, .why-col-img img, .contact-cta-media-col img, .gallery-item img, .project-card-image img, .project-card img, .showcase-card img, .showcase-media img, .fg-card img, .category-media img, .factory-qc-media-col img, .factory-step-media img, .about-factory-img {
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.media-card:hover img, .why-col-img:hover img, .contact-cta-media-col:hover img, .gallery-item:hover img, .project-card-image:hover img, .project-card:hover img, .showcase-card:hover img, .showcase-media:hover img, .fg-card:hover img, .category-media:hover img, .factory-qc-media-col:hover img, .factory-step-media:hover img, .about-image-card:hover .about-factory-img {
  transform: scale(1.04);
}

/* 6. Buttons & CTA Arrow Slide */
.btn .arrow, .btn-primary .arrow, .btn-contact-cta .arrow, .see-all-link .arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover .arrow, .btn-primary:hover .arrow, .btn-contact-cta:hover .arrow, .see-all-link:hover .arrow {
  transform: translateX(6px);
}


.btn .arrow, .btn-primary .arrow, .btn-contact-cta .arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover, .btn-primary:hover, .btn-secondary:hover, .btn-contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(46, 134, 171, 0.25);
}

.btn:hover .arrow, .btn-primary:hover .arrow, .btn-contact-cta:hover .arrow {
  transform: translateX(6px);
}

.btn:active, .btn-primary:active {
  transform: translateY(0) scale(0.98);
}

/* 7. Category Selector Tabs (Projects Page) */
.projects-tabs .tab-btn {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-tabs .tab-btn:hover {
  transform: translateY(-2px);
}

.projects-tabs .tab-btn.active {
  color: #ffffff !important;
  background-color: #2D82A5 !important;
  border: none !important;
  font-weight: 700 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(46, 134, 171, 0.22);
}

.projects-tabs .tab-btn.active:hover {
  color: #ffffff !important;
  background-color: #2D82A5 !important;
}

.projects-tabs .tab-btn:not(.active) {
  color: #112B4A !important;
  background-color: #ffffff !important;
  border: 1px solid #2E86AB !important;
  font-weight: 400 !important;
}

.projects-tabs .tab-btn:not(.active):hover {
  color: #112B4A !important;
  background-color: #ffffff !important;
  border: 1px solid #2E86AB !important;
}

.projects-category-content.active {
  animation: tabFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 8. FAQ Accordion Interactivity & Icon Rotate */
.faq-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-item:hover {
  border-color: #2E86AB;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.faq-icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* 9. Contact Form Inputs Focus Glow & Drag-Drop Zone */
.form-control {
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-control:focus {
  border-color: #2E86AB !important;
  box-shadow: 0 0 0 4px rgba(46, 134, 171, 0.16) !important;
  outline: none;
}

.file-drag-area {
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.file-drag-area.drag-over {
  border-color: #2E86AB !important;
  background-color: #eef7fa !important;
  transform: scale(1.015);
  box-shadow: 0 0 0 5px rgba(46, 134, 171, 0.18);
}

/* 10. Floating Scroll-To-Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background-color: #2E86AB;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease;
  z-index: 99;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

#scrollTopBtn:hover {
  background-color: #216a8a;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

/* 11. Accessibility Support (`prefers-reduced-motion`) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll, .reveal-fade-left, .reveal-fade-right, .reveal-zoom-in {
    opacity: 1 !important;
    transform: none !important;
  }
}













