      body {
      font-family: "Helvetica Neue", sans-serif;
      margin: 0;
      background: #f0f8ff;
      color: #2c3e50;
        font-size: 1.1rem;
    }

    /* 共通：ヘッダー */
header {
  background: #00008b;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ロゴ */
.logo {
  flex-shrink: 0;
}
.logo img {
  height: 40px;
  display: block;
}

/* メニューアイコン（三本線） */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: white;
  margin: 4px 0;
}

/* ナビゲーション（PC） */
nav {
  display: flex;
  flex-wrap: wrap;
}
nav a {
  color: white;
  margin-left: 1.5rem;
  text-decoration: none;
}

/* スマホ時 */
@media (max-width: 768px) {
  header {
    flex-direction: row;             /* ← 横並びのままにする */
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    order: 1;
  }

  .logo img {
    height: 28px;
  }

  .menu-toggle {
    display: flex;
    order: 2;
  }

  nav {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    background-color: #00008b;
    position: absolute;
    top: 60px; /* ← headerの下に展開されるように */
    left: 0;
    z-index: 999;
    padding: 1rem 0;
  }

  nav.active {
    display: flex;
  }

  nav a {
    margin: 0.5rem 0; /* ← メニュー間隔を詰める */
    font-size: 1rem;
  }
}
    .hero {
      background: url('images/old_mainimg2.jpg') center/cover no-repeat;
      height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: white;
  text-align: left;
  padding: 0 5%;
  position: relative;
}

.hero-text {
  max-width: 800px;
  padding: 2rem;
  border-radius: 8px;
  /* background: rgba(0, 0, 0, 0.5); ← 削除 or コメントアウト */
}

.hero h1 {
  font-size: 2.8rem;  /* 元は 2.2rem → 大きく */
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;  /* 元は 1.2rem → 一回り大きく */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
    .section {
      padding: 3rem 2rem;
      background: #ffffff;
      margin: 1rem 10px;
    }
    .section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #00008b;
  font-size: 2rem;
}
    .section p {
      max-width: 800px;
      margin: 0 auto 2rem;
      line-height: 1.8;
    }
    .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
    .card {
      background: #fffacd;
      padding: 1.5rem;
      border-radius: 8px;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
    }
       .card2 {
      background: #e6e6fa;
      padding: 1.5rem;
      border-radius: 8px;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
    }
    .card3 {
      background: #00008b;
      padding: 1.5rem;
      border-radius: 8px;
      color: white;
      flex: 1;
      min-width: 250px;
      max-width: 300px;
    }
      .card-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 1rem;
}
    .prefecture-search {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
      gap: 0.5rem;
      max-width: 800px;
      margin: 0 auto;
    }
    .prefecture-search a {
      background: #afdcff;
      padding: 0.5rem;
      text-align: center;
      display: block;
      text-decoration: none;
      color: #4169e1;
      border-radius: 4px;
    }
    .prefecture-search a:hover {
  background: #4169e1;
  color: white;
  transform: scale(1.05);
  transition: all 0.2s ease-in-out;
}
    .news {
      max-width: 800px;
      margin: 0 auto;
    }
    .news-item {
      border-bottom: 1px solid #ccc;
      padding: 0.8rem 0;
    }
    .news-item time {
      color: #666;
      font-size: 0.9rem;
      display: block;
    }
    .cta {
      background: #00008b;
      color: white;
      padding: 2rem;
      text-align: center;
      margin: 1rem 10px;
    }
    .cta a {
      background: #ff8c00;
      color: #ffffff;
      padding: 1rem 2rem;
      text-decoration: none;
      font-weight: bold;
      border-radius: 5px;
    }
    footer {
      background: #00008b;
      color: white;
      padding: 1rem 2rem;
      text-align: center;
      margin: 0 10px;
    }
    #back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #4169e1;
      color: white;
      padding: 0.8rem 1rem;
      border-radius: 50%;
      font-size: 1.2rem;
      text-align: center;
      cursor: pointer;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
      display: none;
      z-index: 1000;
    }
    .banner-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.5rem;
      max-width: 1000px;
      margin: 0 auto;
      padding: 1rem;
    }
    .banner-grid img {
      width: 100%;
      height: auto;
      object-fit: contain;
      border: 1px solid #ccc;
      border-radius: 8px;
      background: white;
      padding: 0.5rem;
    }
    .slider {
  overflow: hidden;
  background: #ffffff;
  padding: 1rem 0;
}

.slider-track {
  display: flex;
  animation: scroll 50s linear infinite;
  width: calc(250px * 16); /* 画像8枚×2周分 */
}

.slider img {
  width: 250px;
  height: auto;
  margin-right: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
      .banner-single {
  max-width: 1000px;  /* 他のセクションの幅に合わせて調整 */
  margin: 2rem auto;  /* 上下余白と中央寄せ */
  padding: 0 1rem;    /* スマホ対策の横パディング */
  text-align: center;
}

.banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
      .column-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 2rem auto;
}

.column-item {
  background: #f8faff;
  padding: 1rem;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: left;
}

.column-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.column-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #00008b;
}

.column-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.5rem;
}

.column-item a {
  color: #4169e1;
  text-decoration: underline;
  font-weight: bold;
  font-size: 0.95rem;
}
      .column-button {
  max-width: 1200px;
  margin: 1rem auto 0;
  text-align: right;
  padding-right: 1rem;
}

.column-button a {
  display: inline-block;
  background-color: #00008b;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.column-button a:hover {
  background-color: #4169e1;
}
      @media (max-width: 768px) {
  .hero h1 {
    font-size: 1.6rem; /* 修正前と同程度 */
  }

  .hero-subtitle {
    font-size: 1.1rem; /* 修正前と同程度 */
  }
}
      .responsive-mainimg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    height: 35vh;  /* ← 例：スマホ時は高さを35%に */
  }
}
    #contact-button {
  position: fixed;
  bottom: 20px;
  left: 20px;  /* ← 左下に変更 */
  background: #ff8c00;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 1000;
}

#contact-button.show {
  opacity: 1;
  visibility: visible;
}
    @media (min-width: 769px) {
  #benefits li h3 {
    font-size: 1.8rem; /* お好みで 1.6rem や 1.8rem に調整可 */
  }
}
    @media (min-width: 769px) {
  nav a {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  nav a {
    font-size: 1.2rem; /* モバイルでは読みやすさ重視でやや大きめに */
  }
}
    @media (max-width: 768px) {
  nav a {
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
  }
}

    .company-profile {
      max-width: 1000px;
      margin: 2rem auto;
      padding: 0 1rem;
    }

    .company-profile h2 {
      text-align: center;
      color: #00008b;
      font-size: 2rem;
      margin-bottom: 1.5rem;
    }

    .company-info {
      background: #f8faff;
      padding: 2rem;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

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

    .company-info th, .company-info td {
      text-align: left;
      padding: 0.6rem 0.8rem;
      border-bottom: 1px solid #ccc;
      vertical-align: top;
    }

    .company-intro {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      margin-top: 2rem;
      align-items: flex-start;
    }

    .company-intro img {
      max-width: 300px;
      width: 100%;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .company-text {
      flex: 1;
    }

    @media (max-width: 768px) {
      .company-intro {
        flex-direction: column;
        align-items: center;
      }

      .company-text {
        text-align: left;
      }
    }
      .works-list {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.works-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
  background: #f8faff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.works-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.works-item p {
  font-size: 0.95rem;
  color: #333;
}
    .dealer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .dealer-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .dealer-card img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
  }

  .dealer-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #00008b;
  }

  .dealer-card p {
    margin: 0.2rem 0;
    font-size: 0.95rem;
    color: #333;
  }

  .dealer-card a {
    word-break: break-word;
  }

  .profile-btn {
    margin-top: auto;
    background: #0077cc;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
  }

  .profile-btn:hover {
    background: #005fa3;
  }