/* ============================================
   FUJI MAINTENANCE - Main Stylesheet
   Design: Soft, clean, blue-based with lavender accents
   Target: 30-40代 個人向け
   Final Build: WordPress + SWELL Theme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  /* Primary Blue Palette */
  --primary-50: #e8f4fd;
  --primary-100: #d1e9fb;
  --primary-200: #a3d3f7;
  --primary-300: #75bdf3;
  --primary-400: #47a7ef;
  --primary-500: #2196F3;
  --primary-600: #1976D2;
  --primary-700: #1565C0;
  --primary-800: #0D47A1;
  --primary-900: #0a3a7e;

  /* Accent Colors */
  --accent-purple-light: #f4effb;
  --accent-purple-soft: #e7dcf5;
  --accent-purple: #c5afe5;
  --accent-purple-dark: #705092;
  --accent-green: #4CAF50;
  --accent-green-light: #e8f5e9;
  --accent-orange: #FF9800;
  --accent-orange-light: #fff3e0;

  /* Neutrals */
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-300: #e0e0e0;
  --gray-400: #bdbdbd;
  --gray-500: #9e9e9e;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;

  /* Semantic */
  --text-primary: #2c3e50;
  --text-secondary: #546e7a;
  --text-light: #78909c;
  --bg-light: #f0f7ff;
  --bg-white: #ffffff;
  --border-color: #e3edf7;
  --shadow-sm: 0 2px 8px rgba(33, 150, 243, 0.08);
  --shadow-md: 0 4px 20px rgba(33, 150, 243, 0.12);
  --shadow-lg: 0 8px 40px rgba(33, 150, 243, 0.16);
  --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06);

  /* Typography */
  --font-main: 'Noto Sans JP', 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
  --font-accent: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;

  /* Layout */
  --header-height: 80px;
  --header-top-height: 36px;
  --container-max: 1200px;
  --section-padding: 100px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

/* ---------- Utility Classes ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-base);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn i {
  font-size: 0.85em;
}

.btn-primary {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  box-shadow: 0 4px 15px rgba(112, 80, 146, 0.18);
}

.btn-primary:hover {
  background: var(--accent-purple-light);
  box-shadow: 0 6px 20px rgba(112, 80, 146, 0.24);
  transform: translateY(-2px);
}

.btn-outline {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  border-color: var(--accent-purple);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: var(--accent-purple-light);
  color: var(--accent-purple-dark);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  border-color: var(--accent-purple);
}

.btn-secondary:hover {
  background: var(--accent-purple-light);
  color: var(--accent-purple-dark);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: var(--accent-purple-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-purple-dark);
  background: var(--accent-purple-light);
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-label-light {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.section-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-base);
}

.header-top {
  background: var(--primary-700);
  color: #fff;
  font-size: 0.78rem;
  height: var(--header-top-height);
  display: flex;
  align-items: center;
}

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

.header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tel {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-tel:hover {
  color: var(--primary-200);
}

.header-hours {
  color: rgba(255, 255, 255, 0.7);
}

.header-links {
  display: flex;
  gap: 20px;
}

.header-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
}

.header-links a:hover {
  color: #fff;
}

.header-main {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  height: var(--header-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

/* Logo */
.site-logo,
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-400), var(--primary-600));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-company {
  font-size: 0.65rem;
  color: var(--text-light);
  font-weight: 500;
}

.logo-name {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-700);
  letter-spacing: 0.05em;
}

.logo-tagline {
  font-size: 0.6rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Navigation */
.global-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-item > a i {
  font-size: 0.65em;
  transition: transform var(--transition-fast);
}

.nav-item > a:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

.nav-item.nav-cta > a {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-item.nav-cta > a:hover {
  background: var(--accent-purple-light);
  box-shadow: 0 4px 12px rgba(112, 80, 146, 0.24);
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover > a i {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--primary-50);
  color: var(--primary-600);
  padding-left: 22px;
}

/* Hamburger */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 6px;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Header Scrolled State */
.site-header.scrolled .header-top {
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.site-header.scrolled .header-main {
  box-shadow: var(--shadow-md);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  margin-top: calc(var(--header-height) + var(--header-top-height));
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: relative;
  overflow: hidden;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.swiper-slide-active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.65) 0%, rgba(21, 101, 192, 0.45) 50%, rgba(33, 150, 243, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
  color: #fff;
}

.hero-sub {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0;
  position: relative;
  padding-left: 36px;
}

.hero-sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  background: var(--accent-purple);
  transform: translateY(-50%);
}

.hero-title {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 32px;
  font-weight: 300;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Slide Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
}

.swiper-slide-active .fade-up {
  animation: fadeUp 0.8s ease forwards;
}

.swiper-slide-active .delay-1 {
  animation-delay: 0.3s;
}

.swiper-slide-active .delay-2 {
  animation-delay: 0.6s;
}

.swiper-slide-active .delay-3 {
  animation-delay: 0.9s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Swiper Controls */
.hero-swiper .swiper-pagination {
  bottom: 40px !important;
}

.hero-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all var(--transition-base);
}

.hero-swiper .swiper-pagination-bullet-active {
  background: #fff;
  width: 36px;
  border-radius: 6px;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all var(--transition-base);
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  padding: var(--section-padding) 0 0;
  position: relative;
  background: #fff;
}

.wave-decoration {
  position: relative;
  bottom: -1px;
  width: 100%;
  line-height: 0;
  margin-top: 60px;
}

.wave-decoration svg {
  width: 100%;
  height: 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-400), var(--accent-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-50), var(--accent-purple-soft));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-600);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #fff;
  transform: scale(1.05);
}

.feature-title {
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-years {
  display: block;
  font-size: 0.8rem;
  color: var(--primary-500);
  font-weight: 600;
  margin-top: 4px;
}

.feature-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

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

/* Two-service layout on the front page */
.services-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1040px;
  margin: 0 auto;
}

.services-grid--two .service-card-img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

.service-card:hover .service-card-link,
.service-card:focus-visible .service-card-link {
  background: var(--accent-purple-light);
}

.service-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  text-decoration: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.7), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card-more {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card-body {
  padding: 24px;
  position: relative;
}

.service-card-num {
  position: absolute;
  top: -14px;
  right: 20px;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-100);
  line-height: 1;
  font-family: var(--font-accent);
}

.service-card-title {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FLOW SECTION
   ============================================ */
.flow-section {
  padding: var(--section-padding) 0;
  background: #fff;
}

.flow-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-200), var(--primary-400));
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.flow-step-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  font-family: var(--font-accent);
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  position: relative;
  z-index: 2;
}

.flow-step-content {
  flex: 1;
  background: var(--bg-light);
  padding: 24px 28px;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-400);
}

.flow-step-content h3 {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.flow-step-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.flow-step-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--primary-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-500);
  font-size: 1.1rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.faq-q-text {
  flex: 1;
}

.faq-toggle-icon {
  flex-shrink: 0;
  color: var(--primary-500);
  font-size: 0.9rem;
  transition: transform var(--transition-base);
}

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

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  gap: 16px;
  align-items: flex-start;
}

.faq-item.active .faq-answer {
  display: flex;
}

.faq-a-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
  padding-top: 4px;
}

.faq-more {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   RECRUIT SECTION
   ============================================ */
.recruit-section {
  padding: 0;
}

.recruit-bg {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.recruit-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.recruit-bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.recruit-inner {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.recruit-content {
  flex: 1;
  color: #fff;
}

.recruit-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 16px 0;
}

.recruit-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 24px;
}

.recruit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.recruit-point {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
}

.recruit-point i {
  color: var(--accent-purple-soft);
}

.recruit-image {
  flex-shrink: 0;
  width: 400px;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.recruit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  padding: var(--section-padding) 0;
  background: #fff;
}

.contact-box {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-light) 45%, var(--accent-purple-light) 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  border: 1px solid var(--border-color);
}

.contact-box-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-methods {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  max-width: 400px;
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method-phone .contact-method-icon {
  background: linear-gradient(135deg, var(--accent-green), #388E3C);
  color: #fff;
}

.contact-method-form .contact-method-icon {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
}

.contact-method-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-phone-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-accent);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.contact-phone-number:hover {
  color: var(--primary-600);
}

.contact-method-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 2px;
}

.contact-method-fax {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
}

.contact-method-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}

.contact-method-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.contact-method-divider span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo .logo-icon {
  background: var(--gray-900);
}

.footer-logo .logo-company {
  color: rgba(255, 255, 255, 0.6);
}

.footer-logo .logo-name {
  color: #fff;
}

.footer-company-info p {
  font-size: 0.82rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-company-info i {
  color: var(--primary-400);
  width: 16px;
  text-align: center;
}

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

.footer-nav h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-600);
  display: inline-block;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-nav ul li a::before {
  content: '›';
  color: var(--primary-400);
  transition: transform var(--transition-fast);
}

.footer-nav ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-map h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-600);
  display: inline-block;
}

.footer-map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.footer-map-embed iframe {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-top-btn {
  width: 44px;
  height: 44px;
  background: var(--accent-purple-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple-dark);
  font-size: 0.9rem;
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
}

.page-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.page-top-btn:hover {
  background: var(--accent-purple-light);
  transform: translateY(-3px);
}

/* ============================================
   FIXED CTA (MOBILE)
   ============================================ */
.fixed-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.fixed-cta-mobile a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.fixed-cta-phone {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
}

.fixed-cta-mail {
  background: var(--accent-purple-soft);
  color: var(--accent-purple-dark);
}

.fixed-cta-phone:hover,
.fixed-cta-mail:hover {
  background: var(--accent-purple-light);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

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

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

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

  .recruit-image {
    width: 300px;
    height: 240px;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}

/* Mobile Navigation */
@media (max-width: 900px) {
  .hamburger-btn {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 80px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-base);
    overflow-y: auto;
  }

  .global-nav.is-open {
    right: 0;
  }

  .global-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item > a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    display: none;
    background: var(--gray-50);
    border-radius: 0;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 12px 24px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .nav-item.nav-cta {
    margin-top: 16px;
  }

  .nav-item.nav-cta > a {
    justify-content: center;
    border-radius: 50px;
  }

  /* Mobile Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}

/* Small Tablet & Large Phone */
@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --header-height: 64px;
  }

  .sp-only {
    display: inline;
  }

  .header-top {
    display: none;
  }

  .hero-section {
    margin-top: var(--header-height);
    min-height: 500px;
    max-height: 700px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .hero-btns .btn {
    padding: 12px 24px;
    font-size: 0.88rem;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    display: none;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  .feature-icon {
    margin: 0;
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
    flex-shrink: 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card-img {
    height: 180px;
  }

  /* Flow section mobile */
  .flow-steps::before {
    left: 28px;
  }

  .flow-step {
    flex-wrap: wrap;
  }

  .flow-step-number {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .flow-step-content {
    flex-basis: 100%;
    order: 3;
    margin-left: 0;
  }

  .flow-step-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* Recruit section mobile */
  .recruit-inner {
    flex-direction: column;
    gap: 32px;
  }

  .recruit-image {
    width: 100%;
    height: 220px;
    order: -1;
  }

  .recruit-title {
    font-size: 1.6rem;
  }

  /* Contact section mobile */
  .contact-box {
    padding: 32px 20px;
  }

  .contact-methods {
    flex-direction: column;
    gap: 24px;
  }

  .contact-method {
    max-width: 100%;
    width: 100%;
  }

  .contact-method-divider {
    flex-direction: row;
    width: 100%;
  }

  .contact-method-divider::before,
  .contact-method-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-300);
  }

  .contact-phone-number {
    font-size: 1.5rem;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-map-embed iframe {
    height: 160px;
  }

  /* Fixed CTA */
  .fixed-cta-mobile {
    display: flex;
  }

  body {
    padding-bottom: 56px;
  }

  .site-footer {
    padding-bottom: 60px;
  }
}

/* Small Phone */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    justify-content: center;
  }

  .logo-name {
    font-size: 1rem;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .recruit-points {
    flex-direction: column;
  }
}

/* ---------- Print ---------- */
@media print {
  .site-header,
  .fixed-cta-mobile,
  .hero-section,
  .page-top-btn {
    display: none !important;
  }

  body {
    padding: 0;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
  }
}

/* Septic-tank content page: scoped to avoid changing other pages. */
.fuji-septic { --fs-space: clamp(40px, 7vw, 72px); }
.fuji-septic .fs-intro {
  padding: clamp(28px, 5vw, 56px);
  border-radius: 24px;
  background: linear-gradient(125deg, var(--primary-50) 0%, #f7faff 50%, var(--accent-purple-light) 100%);
  border: 1px solid var(--border-color);
}
.fuji-septic .fs-eyebrow { display: inline-block; color: var(--accent-purple-dark); font-size: .75rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 12px; }
.fuji-septic .fs-lead { font-family: var(--font-accent); font-size: clamp(1.8rem, 4.5vw, 2.7rem); line-height: 1.5; color: var(--primary-800); font-weight: 700; margin-bottom: 20px; }
.fuji-septic .fs-section { margin-top: var(--fs-space); }
.fuji-septic .fs-section > h2 { margin-top: 0; }
.fuji-entry .fuji-septic .fs-checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.fuji-septic .fs-checklist li { position: relative; padding: 18px 20px 18px 52px; margin: 10px 0; background: var(--bg-light); border-radius: 12px; }
.fuji-septic .fs-checklist li::before { content: '✓'; position: absolute; left: 20px; color: var(--accent-purple-dark); font-weight: 700; }
.fuji-septic .fs-note { margin: 24px 0; padding: 20px 24px; background: var(--accent-purple-light); border-left: 4px solid var(--accent-purple); border-radius: 0 12px 12px 0; color: var(--text-secondary); }
.fuji-septic .fs-grid, .fuji-septic .fs-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.fuji-septic .fs-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fuji-septic .fs-card, .fuji-septic .fs-type-card { padding: 28px; border: 1px solid var(--border-color); border-radius: 16px; background: #fff; box-shadow: var(--shadow-card); min-width: 0; }
.fuji-septic .fs-card { display: flex; flex-direction: column; align-items: flex-start; }
.fuji-septic .fs-number { font-size: 1.8rem; line-height: 1; color: var(--accent-purple-dark); font-weight: 700; }
.fuji-septic .fs-card h3, .fuji-septic .fs-type-card h3 { margin: 16px 0; font-size: 1.2rem; }
.fuji-septic .fs-card a { margin-top: auto; color: var(--primary-700); font-size: .9rem; font-weight: 600; }
.fuji-septic .fs-steps { padding-left: 1.6em; }
.fuji-septic .fs-steps li { padding: 8px 0 12px 8px; }
.fuji-septic .fs-steps strong, .fuji-septic .fs-steps span { display: block; }
.fuji-septic .fs-steps strong { color: var(--primary-800); margin-bottom: 4px; }
.fuji-septic .fs-types { margin: 28px 0; }
.fuji-septic .wp-block-image { margin: 24px 0; }
.fuji-septic .wp-block-image img { width: 100%; height: auto; border-radius: 12px; }
.fuji-septic .fs-cleaning-section > .wp-block-image { max-width: 620px; margin: 24px auto; }
.fuji-septic .fs-small { font-size: .85rem; color: var(--text-secondary); margin: 16px 0 0; }
.fuji-septic .fs-table-wrap { overflow-x: auto; padding: 8px; }
.fuji-septic .fs-table-wrap table { margin: 0; }
.fuji-septic caption { text-align: left; padding: 0 0 12px; font-weight: 600; color: var(--primary-700); }
.fuji-septic .fs-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fuji-septic .fs-flow > div { padding: 24px; border-radius: 12px; background: var(--bg-light); }
.fuji-septic .fs-flow span { display: block; color: var(--accent-purple-dark); font-weight: 700; margin-bottom: 8px; }
.fuji-septic .fs-flow p { font-size: .9rem; margin: 8px 0 0; }
.fuji-septic .fs-contact { margin-top: var(--fs-space); padding: clamp(28px, 5vw, 48px); text-align: center; border-radius: 24px; border: 1px solid var(--border-color); background: linear-gradient(125deg, var(--bg-light), var(--accent-purple-light)); scroll-margin-top: 140px; }
.fuji-septic .fs-contact h2 { background: none; border: 0; padding: 0; margin: 0 0 20px; }
.fuji-septic .fs-contact-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 20px 28px; }
.fuji-septic .fs-phone { font-family: var(--font-accent); color: var(--primary-800); font-size: clamp(1.35rem, 4vw, 1.8rem); font-weight: 700; white-space: nowrap; }
.fuji-septic .fs-source { margin-top: 24px; font-size: .75rem; color: var(--text-secondary); }
@media (max-width: 768px) {
  .fuji-septic .fs-grid-three { grid-template-columns: 1fr; }
  .fuji-septic .fs-card { padding: 24px; }
  .fuji-septic .fs-card a { margin-top: 4px; }
}
@media (max-width: 600px) {
  .fuji-septic .fs-types, .fuji-septic .fs-flow { grid-template-columns: 1fr; }
  .fuji-septic .fs-contact-actions { flex-direction: column; }
  .fuji-septic .btn { white-space: normal; text-align: center; justify-content: center; padding: 12px 20px; }
}

