/** Shopify CDN: Minification failed

Line 197:20 Unexpected "{"
Line 197:29 Expected ":"
Line 197:36 Unexpected "{"
Line 198:21 Expected identifier but found whitespace
Line 198:23 Unexpected "{"
Line 198:32 Expected ":"
Line 199:23 Expected identifier but found whitespace
Line 199:25 Unexpected "{"
Line 199:34 Expected ":"
Line 200:24 Expected identifier but found whitespace
... and 7 more hidden warnings

**/
/* ファイル名: category-carousel.css */
/* カテゴリーカルーセルのスタイル定義 */

.category-carousel {
  --carousel-gap: 1rem;
  --item-size: 100px;
  --item-size-mobile: 80px;
  background-color: var(--section-bg-color, #ffffff);
  color: var(--section-text-color, #333333);
  padding-top: var(--section-padding-top, 40px);
  padding-bottom: var(--section-padding-bottom, 40px);
}

.category-carousel .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 見出し */
.category-carousel__heading {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

/* カルーセルラッパー */
.category-carousel__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* ナビゲーションボタン */
.category-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-carousel__nav:hover {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-carousel__nav--prev {
  left: -20px;
}

.category-carousel__nav--next {
  right: -20px;
}

.category-carousel__nav[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* トラック（スクロール領域） */
.category-carousel__track {
  overflow: hidden;
  width: 100%;
  margin: 0 2rem;

    padding: 10px 0px 0px 0px;
}

/* カテゴリーリスト */
.category-carousel__list {
  display: flex;
    justify-content: center;
  gap: var(--carousel-gap);
  transition: transform 0.3s ease;
}

/* カテゴリーアイテム */
.category-carousel__item {
  flex: 0 0 var(--item-size);
  text-align: center;
}

.category-carousel__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

.category-carousel__link:hover {
  transform: translateY(-4px);
}

/* 画像ラッパー */
.category-carousel__image-wrapper {
  width: var(--item-size);
  height: var(--item-size);
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-carousel__placeholder {
  width: 60%;
  height: 60%;
  opacity: 0.3;
}

/* カテゴリータイトル */
.category-carousel__title {
  font-size: 0.875rem;
  line-height: 1.2;
  display: block;
  margin-top: 0.5rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .category-carousel {
    --item-size: var(--item-size-mobile);
    --carousel-gap: 0.75rem;
  }
  
  .category-carousel__heading {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .category-carousel__nav {
    width: 32px;
    height: 32px;
  }
  
  .category-carousel__nav--prev {
    left: -16px;
  }
  
  .category-carousel__nav--next {
    right: -16px;
  }
  
  .category-carousel__track {
    margin: 0 1rem;
  }
  
  .category-carousel__title {
    font-size: 0.75rem;
  }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
  .category-carousel {
    --item-size: 90px;
  }
}

/* カスタムプロパティの適用 */
#category-carousel-{{ section.id }} {
  --section-bg-color: {{ section.settings.background_color }};
  --section-text-color: {{ section.settings.text_color }};
  --section-padding-top: {{ section.settings.padding_top }}px;
  --section-padding-bottom: {{ section.settings.padding_bottom }}px;
}
