@charset "utf-8";
    .carousel-wrapper {
      position: relative;
      width: 100%; 
      margin: 50px auto;
      max-width: 100%;
    }

    .carousel-window {
      width: 100%;
      overflow: hidden;
    }

    .carousel-track {
      display: flex;
      gap: 5px;
      transition: transform 0.5s ease-in-out;
    }

    .carousel-slide {
      flex: 0 0 calc((100% - (20px * 2)) / 3); 
      max-width: 100%;
    }

    .carousel-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 8px;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.6);
      color: #fff;
      border: none;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      transition: background-color 0.3s;
    }

    .carousel-btn:hover {
      background-color: rgba(0, 0, 0, 0.9);
    }

    .btn-prev { left: -60px; }
    .btn-next { right: -60px; }

    @media (max-width: 2500px) {
      .carousel-btn {
        background-color: rgba(0, 0, 0, 0.4);
      }
      .btn-prev { left: 10px; }
      .btn-next { right: 10px; }
    }


	
/* カテゴリー全体の枠 */
.category-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* タイトル部分（左側の青い縦線と下線） */
.category-title {
  font-size: 12px;
  font-weight: bold;
  padding-left: 10px;
  border-left: 5px solid #007bc8; /* 青い縦棒 */
  border-bottom: 2px solid #000;  /* 黒い下線 */
  padding-bottom: 5px;
  margin-bottom: 20px;
}

/* 横並びにするFlexboxの設定 */
.category-flex {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 各カテゴリーボックス（リンク） */
.category-item {
  flex: 1;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 15px 10px;
  text-decoration: none;
  color: #333;
  box-sizing: border-box;
  transition: background-color 0.2s;
}

.category-item:hover {
  background-color: #f9f9f9;
}

/* 画像を入れるエリア */
.item-img {
width: 50px;
  flex-shrink: 0;
  height: auto;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-img img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}

/* テキスト部分 */
.item-text {
font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
}

.text-wrap .item-text {
  white-space: normal;
}	
