/* ==========================================================================
   有限会社芝原建設 採用・コーポレートサイト スタイルシート
   Design Concept: 信頼と成長・青空と爽快感（モダンブルー×クリーンホワイト）
   Palette: Corporate Blue (#0050ff, #0284c7) × Clean White & Sky (#ffffff, #f0f7fe)
   ========================================================================== */

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

:root {
  /* 青白系パレット：芝原建設公式ブルー × 爽快スカイブルー × 清潔感のあるホワイト */
  --color-primary: #0f274a;          /* 澄んだ深みのあるロイヤルネイビー */
  --color-primary-light: #163664;    /* 明るいネイビー */
  --color-primary-lighter: #204b87;  /* 柔らかいブルー */
  --color-accent: #0050ff;            /* 芝原建設公式ロゴのキーカラー（鮮やかコバルトブルー） */
  --color-accent-hover: #38bdf8;      /* ホバー時の明るいスカイブルー */
  --color-accent-dark: #003cc2;       /* 濃いブルー */
  --color-accent-glow: rgba(0, 80, 255, 0.22);
  
  --color-text-dark: #0f2444;         /* 視認性の高いダークスレートネイビー */
  --color-text-body: #334155;         /* 本文の読みやすいスレート */
  --color-text-muted: #64748b;        /* 補足用ミュートグレー */
  --color-text-light: #ffffff;
  --color-text-light-muted: #94a3b8;
  
  --color-bg-light: #f6fafe;          /* 爽やかなペールアイスブルー（白に近い澄んだ空色） */
  --color-bg-card: #ffffff;           /* 純白カード */
  --color-bg-alt: #edf6fd;            /* 交互セクション用のソフトスカイ */
  --color-border: #dbeafe;            /* 淡いスカイブルーの境界線 */
  --color-border-dark: #1e3a66;
  
  --font-main: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Teko', 'Noto Sans JP', sans-serif;
  
  --shadow-sm: 0 2px 6px rgba(15, 39, 74, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 80, 255, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 80, 255, 0.12);
  --shadow-xl: 0 20px 40px -10px rgba(15, 39, 74, 0.16);
  --shadow-accent: 0 8px 24px rgba(0, 80, 255, 0.32);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --header-height: 76px;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  line-height: 1.75;
  letter-spacing: 0.03em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-accent {
  color: var(--color-accent) !important;
}

.bg-dark {
  background-color: var(--color-primary);
  color: var(--color-text-light);
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

/* Section Header Component */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-en {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.35;
  color: var(--color-text-dark);
}

.bg-dark .section-title {
  color: var(--color-text-light);
}

.section-desc {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.bg-dark .section-desc {
  color: var(--color-text-light-muted);
}

.section-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0050ff, #38bdf8);
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(224, 242, 254, 0.80) 45%,
    rgba(255, 255, 255, 0.92) 100%
  );
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index: 1000;
  border-bottom: 1px solid rgba(186, 230, 253, 0.7);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.07);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(224, 242, 254, 0.90) 50%,
    rgba(255, 255, 255, 0.98) 100%
  );
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.12), 0 2px 6px rgba(0, 0, 0, 0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 12px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-logo .logo-svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(0, 80, 255, 0.2));
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.header-logo-corp {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
}

.header-logo-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text-dark);
  letter-spacing: 0.05em;
  line-height: 1.2;
  white-space: nowrap;
}

.header-nav {
  display: none;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.4vw, 22px);
    flex-shrink: 0;
  }
  
  .nav-link {
    font-size: clamp(0.84rem, 0.9vw, 0.92rem);
    font-weight: 700;
    color: #0f2444;
    padding: 6px 2px;
    position: relative;
    white-space: nowrap;
    transition: color var(--transition-normal);
  }
  
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #0050ff, #0284c7);
    transition: width var(--transition-normal);
    border-radius: 2px;
  }
  
  .nav-link:hover {
    color: var(--color-accent);
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-tel-box {
  display: none;
  text-align: right;
  white-space: nowrap;
}

@media (min-width: 1180px) {
  .header-tel-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

.header-tel-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}

.header-tel-num {
  font-family: var(--font-accent);
  font-size: 1.38rem;
  font-weight: 700;
  color: #0f2444;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  line-height: 1.1;
  transition: color var(--transition-normal);
}

.header-tel-num:hover {
  color: var(--color-accent);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 80, 255, 0.35);
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 80, 255, 0.5);
  background: linear-gradient(135deg, #0ea5e9 0%, #003cc2 100%);
  color: #ffffff;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--color-accent);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--color-accent);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background-color: #ffffff;
  border-left: 1px solid var(--color-border);
  z-index: 1050;
  padding: 100px 30px 40px;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(15, 39, 74, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-nav-link {
  color: var(--color-text-dark);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.drawer-nav-link:hover {
  color: var(--color-accent);
}

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f0f7fe;
  color: var(--color-text-dark);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: 700;
  border: 1px solid var(--color-border);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section (ファーストビュー)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f6fafe 50%, #edf6fd 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 30%;
  filter: brightness(1.02) contrast(1.05);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 38%,
    rgba(255, 255, 255, 0.80) 55%,
    rgba(240, 247, 254, 0.35) 80%,
    rgba(240, 247, 254, 0.15) 100%
  );
  z-index: 2;
}

@media (max-width: 991px) {
  .hero-bg-wrapper {
    width: 100%;
    opacity: 0.20;
  }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 250, 254, 0.94) 100%);
  }
}

.hero-hazard-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #38bdf8 0%, #0050ff 50%, #0284c7 100%);
  z-index: 10;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0284c7;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
}

.hero-catch-sub {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: #0284c7;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.hero-catch-main {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #0f2444;
  line-height: 1.25;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
  text-shadow: none;
}

.hero-catch-main span.highlight {
  color: #0050ff;
  position: relative;
  display: inline-block;
}

.hero-catch-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #334155;
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
  max-width: 880px;
}

@media (min-width: 768px) {
  .hero-badges-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.hero-badge-card {
  background: #ffffff;
  border: 1px solid #dbeafe;
  box-shadow: 0 4px 16px rgba(15, 36, 68, 0.06);
  padding: 16px 14px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.hero-badge-card:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 80, 255, 0.12);
}

.hero-badge-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--color-accent);
}

.hero-badge-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-badge-val {
  font-size: 0.98rem;
  font-weight: 900;
  color: #0f2444;
  margin-top: 4px;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-badge-val strong {
  color: var(--color-accent);
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 680px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 20px rgba(0, 80, 255, 0.35);
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 80, 255, 0.5);
  background: linear-gradient(135deg, #0ea5e9 0%, #003cc2 100%);
  color: #ffffff;
}

.btn-secondary-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dbeafe;
  color: #0f2444;
  font-size: 1.12rem;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(15, 36, 68, 0.05);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-secondary-tel:hover {
  border-color: #0050ff;
  color: #0050ff;
  background: #f0f7fe;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 80, 255, 0.15);
}

.btn-secondary-tel span.tel-num {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--color-accent);
}

/* ==========================================================================
   Stats & Trust Ribbon (実績・信頼の数字バー)
   ========================================================================== */
.stats-ribbon {
  background: linear-gradient(135deg, #0f274a 0%, #163664 50%, #0f274a 100%);
  color: #ffffff;
  padding: 34px 0;
  border-bottom: 3px solid #0284c7;
  position: relative;
  z-index: 5;
}

.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 992px) {
  .stats-ribbon-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.stat-card {
  text-align: center;
  padding: 8px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

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

@media (max-width: 991px) {
  .stat-card:nth-child(2n) {
    border-right: none;
  }
}

.stat-card-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-card-value {
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
}

.stat-card-value span.unit {
  font-size: 0.92rem;
  font-weight: 700;
  color: #38bdf8;
  margin-left: 2px;
}

.stat-card-sub {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-top: 4px;
}

/* ==========================================================================
   Section: The Real (芝原建設のリアル・綺麗事は言わない)
   ========================================================================== */
.real-section {
  padding: 100px 0;
  position: relative;
  background-color: #f6fafe;
  color: var(--color-text-body);
}

.real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .real-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
  }
}

.real-visual {
  position: relative;
}

.real-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.real-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.real-img-frame:hover .real-img {
  transform: scale(1.04);
}

.real-stamp {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--color-accent);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(15, 36, 68, 0.08);
}

.real-stamp-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.real-stamp-text {
  font-size: 0.95rem;
  font-weight: 900;
  color: #0f2444;
}

.real-lead {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 900;
  line-height: 1.4;
  color: #0f2444;
  margin-bottom: 24px;
}

.real-lead strong {
  color: var(--color-accent);
}

.real-desc {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.85;
  margin-bottom: 24px;
}

.real-desc strong {
  color: #0f2444;
  background: linear-gradient(transparent 65%, rgba(56, 189, 248, 0.35) 65%);
  font-weight: 800;
}

/* 3 Real Promises */
.real-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.real-point-card {
  display: flex;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(15, 36, 68, 0.04);
  padding: 18px;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.real-point-card:hover {
  border-color: var(--color-accent);
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0, 80, 255, 0.08);
}

.real-point-num {
  font-family: var(--font-accent);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.real-point-content h4 {
  font-size: 1.1rem;
  font-weight: 900;
  color: #0f2444;
  margin-bottom: 6px;
}

.real-point-content p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   Section: Works & Strength (事業内容・3つの現場フィールド)
   ========================================================================== */
.works-section {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-accent);
}

.work-img-box {
  position: relative;
  height: 240px;
  overflow: hidden;
  background-color: #1e293b;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.work-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 39, 74, 0.92);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
  border-left: 3px solid #38bdf8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.work-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  flex-grow: 1;
}

.work-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-meta strong {
  color: var(--color-primary-light);
}

/* ==========================================================================
   Section: Growth & Training (未経験からの育成・資格全額支援)
   ========================================================================== */
.growth-section {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
}

.growth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .growth-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
  }
}

.growth-img-wrapper {
  position: relative;
}

.growth-img-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.growth-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.growth-badge-float {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.92rem;
  box-shadow: 0 6px 20px rgba(0, 80, 255, 0.35);
}

.step-flow {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-item {
  position: relative;
  display: flex;
  gap: 18px;
  background: var(--color-bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.step-item:hover {
  transform: translateX(6px);
  border-color: var(--color-accent);
}

.step-num-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 80, 255, 0.22);
}

.step-content h4 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.94rem;
  color: var(--color-text-body);
  line-height: 1.65;
}

/* ==========================================================================
   Section: Welfare & Facilities (住環境・個室寮・大浴場・3食付)
   ========================================================================== */
.welfare-section {
  padding: 100px 0;
  background-color: #f6fafe;
  color: var(--color-text-body);
}

.welfare-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 640px) {
  .welfare-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

.welfare-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.welfare-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 12px 28px rgba(0, 80, 255, 0.12);
}

.welfare-img-box {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0f274a 0%, #1e3a8a 100%);
}

.welfare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.welfare-feature-visual {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
}

.welfare-feature-visual .visual-icons {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.welfare-feature-visual .visual-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.welfare-feature-visual .visual-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.welfare-feature-visual .visual-tags span {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 700;
}

.welfare-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--color-accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(15, 36, 68, 0.12);
}

.welfare-body {
  padding: 20px;
  flex-grow: 1;
}

.welfare-body h4 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f2444;
  margin-bottom: 8px;
}

.welfare-body p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* Relocation & Friends Special Banner */
.dorm-special-banner {
  background: linear-gradient(135deg, #0f274a 0%, #163664 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 30px;
  margin-bottom: 36px;
  border-left: 5px solid #38bdf8;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .dorm-special-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dorm-special-banner h4 {
  font-size: 1.2rem;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 6px;
}

.dorm-special-banner p {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
}

.dorm-special-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.dorm-special-badge {
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid #38bdf8;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

/* Welfare Highlights Row */
.welfare-points-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .welfare-points-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.welfare-point-box {
  background: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 14px rgba(15, 36, 68, 0.04);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.welfare-point-box .icon {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.welfare-point-box h5 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #0f2444;
  margin-bottom: 8px;
}

.welfare-point-box p {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   Section: Recruitment Requirements (募集要項)
   ========================================================================== */
.recruit-section {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
}

.recruit-table-wrapper {
  max-width: 940px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table th,
.recruit-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

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

.recruit-table th {
  width: 25%;
  background-color: var(--color-primary-light);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.95rem;
  vertical-align: top;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.recruit-table td {
  font-size: 0.98rem;
  color: var(--color-text-body);
  line-height: 1.75;
}

.salary-highlight {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--color-accent-dark);
}

.recruit-note-box {
  margin-top: 10px;
  padding: 12px 16px;
  background-color: #f0f7fe;
  border-left: 4px solid #0284c7;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: #0f2444;
}

@media (max-width: 767px) {
  .recruit-table, .recruit-table tbody, .recruit-table tr, .recruit-table th, .recruit-table td {
    display: block;
    width: 100%;
  }
  
  .recruit-table th {
    border-right: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .recruit-table td {
    padding: 16px 20px;
    border-bottom: 2px solid var(--color-border);
  }
}

/* ==========================================================================
   Section: FAQ (よくある質問)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--color-bg-light);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal);
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-text-dark);
  gap: 16px;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-q-mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: 1.3rem;
  font-weight: 700;
}

.faq-toggle-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform var(--transition-normal);
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--color-text-dark);
  transition: transform var(--transition-normal);
}

.faq-toggle-icon::before {
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
}

.faq-toggle-icon::after {
  top: 2px;
  left: 9px;
  width: 2px;
  height: 16px;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: var(--color-bg-alt);
}

.faq-answer-inner {
  padding: 20px 24px 24px 72px;
  font-size: 0.98rem;
  color: var(--color-text-body);
  line-height: 1.8;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 640px) {
  .faq-answer-inner {
    padding-left: 24px;
  }
}

/* ==========================================================================
   Section: Company Profile & History (会社概要・沿革・アクセス)
   ========================================================================== */
.company-section {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
}

.company-table-wrapper {
  max-width: 940px;
  margin: 0 auto 50px;
}

.company-bases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 992px) {
  .company-bases-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

.company-base-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.company-base-header {
  border-bottom: 2px solid #e0f2fe;
  padding-bottom: 14px;
}

.company-base-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0284c7 0%, #0050ff 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.company-base-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.35;
}

.company-base-addr {
  font-size: 0.9rem;
  color: #475569;
  margin-top: 4px;
}

.company-img-frame {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 0;
}

.company-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.company-map-box {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 280px;
}

.company-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.company-table {
  width: 100%;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border-collapse: collapse;
  border: 1px solid var(--color-border);
}

.company-table th,
.company-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
}

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

.company-table th {
  width: 30%;
  background-color: #f8fafc;
  color: var(--color-text-dark);
  font-weight: 900;
  text-align: left;
  border-right: 1px solid var(--color-border);
  vertical-align: top;
}

.company-table td {
  color: var(--color-text-body);
}

.permit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .permit-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 12px;
  }
}

.permit-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.permit-badge {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 1px 7px;
  border-radius: 4px;
  min-width: 58px;
  text-align: center;
}

/* Company History Timeline */
.history-box {
  margin-top: 60px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 36px 24px;
}

@media (min-width: 768px) {
  .history-box {
    padding: 44px 48px;
  }
}

.history-box-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.history-box-title::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 24px;
  background: linear-gradient(180deg, #0050ff, #38bdf8);
  border-radius: 3px;
}

.history-box-lead {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.history-timeline {
  position: relative;
  border-left: 2px solid #bae6fd;
  margin-left: 10px;
  padding-left: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 992px) {
  .history-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 40px;
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
}

.history-item {
  position: relative;
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2e8f0;
}

@media (min-width: 992px) {
  .history-item {
    display: flex;
    gap: 14px;
    align-items: baseline;
  }
}

.history-date {
  font-weight: 900;
  color: var(--color-accent);
  font-size: 0.92rem;
  flex-shrink: 0;
  min-width: 125px;
}

.history-text {
  font-size: 0.92rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Section: Application Form (応募・問い合わせフォーム)
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #edf6fd 0%, #ffffff 100%);
  color: var(--color-text-body);
  position: relative;
}

.form-wrapper {
  max-width: 820px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  box-shadow: 0 12px 36px rgba(0, 80, 255, 0.08);
}

@media (min-width: 768px) {
  .form-wrapper {
    padding: 50px 48px;
  }
}

.form-lead-note {
  text-align: center;
  margin-bottom: 36px;
  padding: 16px;
  background: #f0f7fe;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: #0f2444;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f2444;
  margin-bottom: 8px;
}

.badge-req {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.badge-opt {
  background-color: #64748b;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: #0f2444;
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(0, 80, 255, 0.15);
}

.form-control::placeholder {
  color: #94a3b8;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.94rem;
  color: #334155;
  transition: all var(--transition-normal);
}

.radio-label:hover {
  border-color: var(--color-accent);
  background-color: #f0f7fe;
}

.radio-label:has(input[type="radio"]:checked) {
  background-color: #eff6ff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(0, 80, 255, 0.12);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-accent);
}

.radio-label input[type="radio"]:checked + span {
  color: var(--color-accent);
  font-weight: 800;
}

.privacy-box {
  margin: 32px 0 24px;
  padding: 20px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  text-align: center;
}

.privacy-scroll-text {
  max-height: 120px;
  overflow-y: auto;
  font-size: 0.85rem;
  color: #475569;
  text-align: left;
  line-height: 1.65;
  margin-bottom: 16px;
  padding: 12px 14px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f2444;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.form-submit-box {
  text-align: center;
  margin-top: 30px;
}

.btn-submit {
  width: 100%;
  max-width: 420px;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 900;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-accent);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 80, 255, 0.55);
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Spinner inside button */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Message Banner */
.form-response-banner {
  display: none;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
}

.form-response-banner.success {
  display: block;
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-response-banner.error {
  display: block;
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #b91c1c;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #f1f5f9;
  color: #475569;
  padding: 70px 0 100px;
  border-top: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  .site-footer {
    padding-bottom: 50px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.2fr;
  }
}

.footer-brand .logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo-svg {
  width: 48px;
  height: 48px;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #0f2444;
}

.footer-brand-corp {
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 700;
}

.footer-brand-info {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.7;
}

.footer-nav-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: #0f2444;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-nav-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list li a {
  color: #475569;
  font-size: 0.92rem;
  transition: color var(--transition-normal);
}

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

.footer-contact-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(15, 36, 68, 0.04);
}

.footer-contact-box h4 {
  color: #0f2444 !important;
}

.footer-contact-box p {
  color: #475569 !important;
}

.footer-contact-tel {
  display: block;
  font-family: var(--font-accent);
  font-size: 2rem;
  font-weight: 700;
  color: #0050ff;
  letter-spacing: 0.04em;
  margin: 10px 0;
}

.footer-contact-tel:hover {
  color: #0284c7;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Mobile Fixed Bottom CTA Bar (スマホ常時追従バー)
   ========================================================================== */
.mobile-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: #0f274a;
  border-top: 2px solid var(--color-accent);
  display: flex;
  z-index: 990;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
  .mobile-fixed-cta {
    display: none;
  }
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  transition: opacity var(--transition-normal);
}

.mobile-cta-tel {
  background-color: #163664;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-tel:active {
  background-color: #204b87;
}

.mobile-cta-web {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
}

.mobile-cta-web:active {
  filter: brightness(0.9);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 20px;
}

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

.modal-card {
  background: #ffffff;
  color: var(--color-text-dark);
  max-width: 500px;
  width: 100%;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  background-color: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 18px;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--color-text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-close-btn {
  background-color: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.modal-close-btn:hover {
  background-color: var(--color-primary-light);
}
