/* スマホ表示での商品タイトルサイズ調整 */

/* 基本的なスマホサイズ (768px以下) */
@media screen and (max-width: 768px) {
  .product__name {
    font-size: 1.2rem !important; /* 通常より小さく */
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
  }
  
  .section__title-h2 {
    font-size: 1.2rem !important;
    line-height: 1.4 !important;
  }
}

/* より小さなスマホサイズ (480px以下) */
@media screen and (max-width: 480px) {
  .product__name {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    word-wrap: break-word; /* 長いタイトルの改行 */
    word-break: break-all; /* 日本語の改行対応 */
  }
  
  .section__title-h2 {
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
  }
  
  /* 商品モデル名も調整 */
  .product__model {
    font-size: 0.9rem !important;
    display: block; /* 改行して表示 */
    margin-top: 5px;
    color: #666;
  }
}

/* 非常に小さな画面 (360px以下) */
@media screen and (max-width: 360px) {
  .product__name {
    font-size: 1rem !important;
    line-height: 1.2 !important;
  }
  
  .section__title-h2 {
    font-size: 1rem !important;
  }
  
  .product__model {
    font-size: 0.85rem !important;
  }
}

/* 250718 */
.product__image-main.js-images-slider.slick-initialized.slick-slider {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

button.slick-prev.slick-arrow{
    left: 15px;
}

button.slick-prev.slick-arrow, button.slick-next.slick-arrow {
	font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;

    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    transition: all 0.4s ease;
    z-index: 1;
}

button.slick-next.slick-arrow {
    right: 15px;
}

button.slick-prev.slick-arrow:before, button.slick-next.slick-arrow:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 10px;
    width: 25px;
    height: 25px;
    border-left: 1px solid #000000;
    border-top: 1px solid #000000;
    transition: all 0.4s ease;
    z-index: 1;
}

button.slick-next.slick-arrow:before {
    left: 0px;
    transform: rotate(135deg);
}

button.slick-prev.slick-arrow:before {
    transform: rotate(-45deg);
}

.product__image-thumb ul{
    justify-content: flex-start;
    flex-wrap: wrap;
}

.product__image-thumb ul li + li{
    margin-left: 10px;
}
.product__image-thumb ul li:nth-of-type(10){
	margin-left: 0;
}
.product__image-thumb ul li{
    width: calc(11.11% - 8.88888px);
	margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
	.product__image-thumb{
		margin-top: 10px;
	}
	.product__image-thumb ul li{
	    width: calc(25% - 7.5px);
    	margin-bottom: 10px;
	}
	.product__image-thumb ul li + li,.product__image-thumb ul li:nth-of-type(10){
		margin-left: 10px;
	}
	.product__image-thumb ul li:nth-of-type(4n+1){
		margin-left: 0;
	}
    button.slick-prev.slick-arrow:before, button.slick-next.slick-arrow:before {
        width: 15px;
        height: 15px;
    }
        button.slick-next.slick-arrow:before {
        left: 11px;
    }
    button.slick-prev.slick-arrow:before {
        left: 3px;
    }
}
/* /250718 */