/* Swiper slide */
.product-image{
  width:100%;
  font-family: Helvetica, Arial, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif;
  position: relative
}
@media (min-width:48em){
  .product-image{
    width:60%
  }
}
.product-image-main{
  overflow: hidden
}
/* Swiper完了までのスタイル*/ 
.product-image-main:not(.swiper-initialized) .swiper-wrapper{
  display:flex;
  flex-wrap: wrap
}
.product-image-main:not(.swiper-initialized) .swiper-slide{
  min-width:100%;
}
.product-image-main:not(.swiper-initialized) .swiper-slide:not(:first-child) {
  visibility: hidden;
}
/* 商品画像共通 */
:is(.main-image , .thumb) {
  display:block;
  width:min(100%,800px);
  height:min(100%,800px);
  max-width:800px;
  aspect-ratio: 1/1;
  object-fit: contain;
}
/* メイン商品画像 */
.product-image-main .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* サムネイル */
.product-image-sub{
  display:none
}
@media(min-width: 768px){
  .product-image-sub {
    display: grid;
    grid-template-columns: repeat(8,1fr);
    gap: 2px;
    margin-block: 5px 20px;
    padding-inline: 0px
  }
}
.thumb.active {
  box-shadow: 0 0 4px 6px rgb(220, 220, 180);
}
/* 前へ次へボタン */
.product-image-btn[hidden]{
  display: none
}
.product-image-btn {
  position: absolute;
  top: 45%;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.32);
  z-index: 1;
}
.product-image-btn.next {
  right: 0;
}
.product-image-btn svg{
  width:16px;
  height: 16px;
  fill: #fff
}
/* Swiper ページネーション*/
.product-image-pagination {
  display: flex;
  justify-content: center;
  column-gap: 1em;
}
@media(min-width:768px){
  .product-image-pagination {
    display: none;
  }
}
/* .pure-g の文字詰めを上書き*/
.swiper-pagination-current,
.swiper-pagination-total {
	letter-spacing: 0;
}

/* 商品画像　フル画面表示 */
.product-image.full {
  position: fixed;
  inset: 0;
  z-index: 99;
  display:flex;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 /.6);
  padding: 2vw;
  overflow-y: scroll;
  overscroll-behavior: contain;      
}
.product-image.full::after{
  content: "";
  display: block;
  width: 1px;
  height:calc(100vh + .5px)
}
.product-image.full .product-image-sub {
  display: none;
}
.product-image.full .product-image-btn.next {
  right: 2vw;
}
/* フル画面表示を閉じるボタン */
.modal-close[hidden]{
  display:none;
}
.modal-close {
  padding:clamp(4px,1.2vw,12px);
  border:none;
  background:rgb(0 0 0 /.6);
  position: absolute;
  top: 2vw;
  right: 2vw;
  z-index: 100
}
.modal-close svg{
  width:24px;
  height:24px;
  fill:#fff
}

/* 固定フッターエリア */
body {
  position: relative;
}

.footer-above-inner {
  display: flex; 
  justify-content: space-evenly;  
}

.footer-above-btn {
  width: 100%;
  margin: 13px;
}

.footer-above-btn button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-above-btn svg {
  vertical-align: top;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-above-btn button span {
  margin-left: 5px;
}

#product .footer-above-btn .pure-button {
  margin: 0; 
}

#product .footer-above-btn button.is-added svg {
  fill: #f5504b;
}

.product#pagetop {
  bottom: 90px; 
}


.opt_error {
  color: #f00;
}

/* オプションラベル */
.label-name {
  line-height: 1.5;  
}

.label-color .label-name:before {
  display: inline-block;
  position: relative;
  content: "";
  width: 10px;
  height: 10px;
  top: 1px;
  right: 3px;
}
.label-color.Red .label-name:before {
  background: #f66;
}
.label-color.Blue .label-name:before {
  background: #66f;
}

/* 打消し線*/
.soldout-slash {
  position: relative;  
  border: 1px solid black;
  opacity:0.3;
}
.soldout-slash:after {
  position: absolute;
  content: "";
  border-bottom: 1px solid #000;
  height: 0;
  display: inline-block;
  top: 13px;
  left: calc(50% - 20px);
  width: 40px;
  transform: rotate(135deg);
}


/*オプション項目のラジオボタン*/

.c-form__unit {
  margin-bottom: 0.5em; 
}  
.c-form__unit-label {
  font-weight: bold;
  margin-bottom: 0.4em;
}  
.c-form__option input[type="radio"] {
    display: none;
}
.c-form__option input[type="radio"]:checked + label {
    color: #f6f6f6;
    background-color: #333;
}
.c-form__option label {
    display: inline-block;
    box-sizing: border-box;
    margin-bottom: 8px;
    padding: 0.5em 1em;
    transition: background-color .2s linear;
    position: relative;
    cursor: pointer;
    /*text-align: center;*/
    line-height: 1;
    font-weight: 300;
    border: 1px solid #ccc;
}
/*.c-form__option label:hover {
    background-color: #a69c68;
    border-color: #a69c68;
    color: #fff;
}*/


/* マージン調整 */ 
.mgt1m {
  margin-top: 1em;
}
.mgb1b {
  margin-bottom: 1em;
}
.mgl1m {
  margin-left: 1em;
}
.mg100 {
  margin: 100px 0; 
}
.mg30 {
  margin: 30px 0; 
}

.pd-fav-item button span {
  margin-left: 2px;
}

form {
  margin: 0; 
}

h2.pd-name {
  font-size: 1.7em;
  margin: 10px 0;
}

.pd-price {
  font-size: 1.5em;
  margin: 0.5em 0;
}

.pd-price .font-m {
  font-size: 0.6em;  
}
.pd-naire {
  width: 100%;
}

/* オプション1で表形式縦並びの場合 */
.o12 .table-bordered {
  border-top: none;
}

.product-order-exp {
  margin: 30px 0; 
}

.together-items {
  margin-top: 30px;
}

.together-items .product-item-card {
  margin-bottom: 0;
}

.pd-fav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-fav-item button {
  border: 1px solid #eee;
  background-color: transparent;
}

.pd-fav-item button.is-added {
  color: #f5504b;
}

.pd-fav-item svg {
  vertical-align: top;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* レビューの星 */
.fa-star,
.fa-star-half-alt {
  color: #ffdc00;
}

.fa-star.star-gray {
  color: #eee; 
}

.p-posted-review__star.is-color {
  fill: #ffdc00;
}

svg:not(:root) {
  overflow: hidden;
}

.p-posted-review__star {
  width: 18px;
  height: 18px;
  vertical-align: -.3em;
  fill: currentColor;
  fill: #ddd;
}

.pd-model {
  font-family: oswald, san-serif;
  margin: 10px 0;
}

/* グループ（タグ化）  */
.caption_box {
  position: relative;
  margin-top: 1em;
  padding: 0.5em 0;
  border-bottom: 1px solid black;
  z-index: -1;
}

.caption_box .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 1em;
  padding: 0 1em;
  margin: 0;
  background-color:
    white;
  transform: translateY(50%) translateX(1em);
}

.product_belong_lists {
  display: inline-block;
  margin: 0;
  list-style: none;
}

.product_belong_lists li.product_belong_list {
  padding: 1px 10px;
  margin-right: 2.5px;
  margin-bottom: 5px;
  border-radius: 2px;
  background-color: #eee;

}

/* 商品情報 */
input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 0;
  -webkit-appearance: none;
  padding: 4px 6px;
  height: 30px;
}

#product select {
  border-radius: 0;
  height: 30px;
}

input.product-order-form {
  width: calc(100% - 14px);
}

input.product-cart-init-num {
  float: left;
  width: 3em;
}
/* 数量 */
.product-qty {
  display: flex;
  align-items: center;
  margin: 1em 0;
}

.product-qty-name {
  padding: 5px 5px 5px 0;
}

/* 商品単位 */
.product-unit {
  float: left;
  padding: 5px;
}

#product .pure-button {
  font-size: 1.2em;
  margin: 0.5em 0 1em;
  padding: 15px 0;
  width: 100%;
}

#product .btn-addcart {
  background-color: #f5504b;
  color: #fff;
  border: 1px solid #f5504b;  
}
#product .btn-fav {
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
}

/* お気に入りボタン */
.pd-fav-item button {
  padding: 1em 0;
  cursor: pointer;
  transition: .3s;
  color: #999;
  border: 0;
  outline: none;
}

.favorite-button i {
  margin-right: 5px;
}

#product .pure-button-gray {
  background-color: #eee;
  color: #666;
}



.product-image-sub img {
  transition: 0.3s;
}
.product-image-sub img:hover {
  cursor: pointer; 
  opacity: 0.75;
}

.product-image-sub {
  margin-top: 5px;
  padding: 0 40px;
}

  
.footer-above {
  position: fixed;
  z-index: 9990;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  background: #fff;
}

/* md */
@media (min-width: 768px) {
  .product-info-wrapper {
    padding-left: 50px;
  }
  .pd-model, h2.pd-name {
    margin-top: 0;
  }
  
  .footer-above {
    display: none;
  }
  
  .product#pagetop {
    bottom: 3%; 
  }
}