body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
  }

  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #ffffff;
    color: #000000;
    position: relative;
    z-index: 100;
    max-width: 1200px;
    margin: auto;
  }
  
  .header-container .logo img {
    max-height: 50px;
  }
  
  .main-nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
  }

  .main-nav ul li {
    margin-left: 20px;
  }
  
  .main-nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
  }
  
  .menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 2rem;
    cursor: pointer;
  }
  
  /* スマホ対応ヘッダー */
  @media screen and (max-width: 768px) {
    .main-nav {
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #ffffff;
      width: 200px;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-in-out;
      flex-direction: column;
    }
  
    .main-nav.open {
      max-height: 500px; /* 適宜調整 */
    }
  
    .main-nav ul {
      flex-direction: column;
      gap: 0;
    }
  
    .main-nav li {
      border-bottom: 1px solid #1e4e8c;
      padding-top: 10px;
    }
  
    .menu-toggle {
      display: block;
    }
  }
  /* フッター */
.site-footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
  }

.btn-consult {
  display: inline-block;
  padding: 12px 24px;
  background-color: #00d17e;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-consult:hover {
  background-color: #00814d;
}

  .hero {
    background: url("/images/background.png") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
  }
  
  .hero button {
    background: #f9a825;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
  }
  

  .features {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 4rem 0;
  }
  
  .card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  .card h3 {
    color: #00796b;
    margin-bottom: 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .case {
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .case img {
    width: 100%;
    display: block;
  }
  .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #00796b;
  }
  
  .feature-cards, .benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
  }
  
  .benefits {
    background: #f0f8f7; /* 導入メリット背景を淡いグリーンに */
    padding: 4rem 0;
  }
  
  .features {
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* セクション内の中央寄せ */
  }

  footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
  }
  
  footer a {
    color: #f9a825;
    text-decoration: none;
  }
  
  /* ===== 会社概要テーブル ===== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.company-table th,
.company-table td {
  border: 1px solid #cbd5e0;
  padding: 0.75rem;
  text-align: left;
}
.company-table th {
  background: #edf2f7;
  width: 30%;
}

/* ===== お問い合わせフォーム ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-form label {
  font-weight: bold;
  color: #2d3748;
}
.contact-form .required {
  color: red;
  margin-left: 0.25rem;
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}
.contact-form button {
  background: #2b6cb0;
  color: #fff;
  font-size: 1rem;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form button:hover {
  background: #2c5282;
}
/* ===== 下層ページ共通スタイル ===== */

/* ヒーロー */
.subpage-hero {
  text-align: center;
  padding: 3rem 1rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.subpage-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1a202c;
}

.subpage-hero p {
  color: #4a5568;
}

/* コンテンツエリア */
.subpage-content {
  padding: 2rem 1rem;
}

.subpage-content .container {
  max-width: 900px;

}
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.subpage-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
  color: #2d3748;
  border-left: 4px solid #2b6cb0;
  padding-left: 0.5rem;
}

.subpage-content p {
  margin: 1rem 0;
  line-height: 1.7;
  color: #2d3748;
}

.subpage-content ul {
  margin: 1rem 0 2rem 1.5rem;
  list-style-type: disc;
  color: #2d3748;
}

.subpage-content .content-image {
  max-width: 100%;
  height: 250px;
  margin-top: 1rem;
  border-radius: 8px;
}

.case-slider-section {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;

}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slider-item {
  flex: 0 0 100%; /* 1枚ずつ表示 */
  box-sizing: border-box;
  text-align: center;
  width: 100%;
}

.slider img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.slider-caption {
  background-color: #f7fafc;
  padding: 1rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background-color: #cbd5e0;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active { background-color: #2b6cb0; }