@media screen and (min-width: 990px) {
  .product--large:not(.product--no-media) .product__info-wrapper {
    padding-left: 5rem !important;
  }
}

.button-white {
  background-color: #fff;
  color: #000;
}

/********タブ切り替え****************/
.product_tabs {
  margin-top: 50px;
  /*width: 460px;*/
  margin: 0 auto;
  margin-top: 120px;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/3);
  height: 50px;
  border-bottom: 2px solid #ccc;
  line-height: 50px;
  font-size: 16px;
  text-align: center;
  color: #565656;
  display: block;
  float: left;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab_item:hover {
  opacity: 0.75;
}

input[name="tab_item"] {
  display: none;
}

.tab_content {
  display: none;
  padding: 30px 0 30px 0;
  clear: both;
  overflow: hidden;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 989px) {
  .tab_content {
    padding: 20px 15px 20px 15px;
  }

  .tab_item {
    height: 40px;
    line-height: 40px;
    font-size: 14px;
  }
}


#size:checked~#size_content,
#review:checked~#review_content {
  display: block;
}

#setsumei:checked~#setsumei_content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product_tabs input:checked+.tab_item {
  background-color: #fff;
  color: #565656;
  border-bottom: 2px solid #565656;
}


/********下から出てくるリンクエリア****************/

.floatinglink {
  position: fixed;
  display: flex;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 80px;
  /* 1. メニューを画面下へ隠す */
  transform: translateY(100%);
  /* 2. 0.3秒かけて表示する */
  transition: .3s;
  z-index: 99;
  background: #f6f6f6;
  justify-content: center;
}

.floatinglink.active {
  /* 3. メニューを定位置へ戻す */
  transform: translate(0);
}

.c_link_top_button {
  z-index: 100 !important;
}

.floatinglink .l_container {
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.floatinglink-left {
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: 1;
  gap: 10px;
}

.floatinglink-left img {
  width: 50px;
  height: auto;
  overflow: hidden;
}

.floatinglink-left p {
  flex: 1;
  font-size: 16px;
  line-height: 100%;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.floatinglink-right {
  width: 45%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.floatinglink-right .price-item {
  font-size: 20px;
  margin-right: 15px;
  margin-bottom: 10px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  text-decoration: none;
}

.floatinglink s.price-item.price-item--regular {
  position: relative;
}

.floatinglink s.price-item.price-item--regular::before {
  content: "";
  width: 110%;
  height: 2px;
  background: #000;
  position: absolute;
  top: 50%;
  left: -3px;
}

.floatinglink span.price-item.price-item--sale.price-item--last {
  margin: 0;
  font-size: 24px;
}

.floatinglink-right .price-item small {
  font-size: 14px;
}

.floatinglink .price__sale {
  max-width: 200px;
  flex-wrap: wrap;
}

.floatinglink .price-item--sale {
  position: relative;
}

.floatinglink .price__badge-sale {
  padding: 0 3px 0;
  font-size: 11px;
}

.floatinglink .price__container {
  margin-right: 20px;
}

.floatinglink .button-modal-open {
  width: 260px;
  line-height: normal;
  font-size: 17px;
  letter-spacing: 0;
}

.floatinglink .button-modal-open.button-white {
  width: 260px;
  line-height: normal;
  font-size: 16px;
  letter-spacing: 0;
}

.floatinglink .price__saleItem {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-content .add-cart {
  margin: 0px 0 40px;
  padding-top: 16px;
}

body.modal-itemList {
  overflow: hidden;
  touch-action: none;
}

@media (max-width: 989px) {

  .floatinglink {
    display: block;
  }

  .floatinglink .l_container {
    max-width: 100%;
    padding-right: 0;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
  }

  .floatinglink-left {
    padding-left: 10px;
  }

  .floatinglink-left p {
    font-size: 13px;
  }

  .floatinglink-left img {
    height: auto;
    padding-left: 10px;
  }

  .floatinglink .button-modal-open {
    width: 90%;
    margin: 20px auto 0 !important;
    font-size: clamp(12px, 3.85vw, 16px);
  }

  .floatinglink .price__container {
    width: min(35.9vw, 150px);
    margin-bottom: 0 !important;
    margin-right: 2.56vw;
    padding-top: 0;
  }

  .floatinglink-right .price-item {
    margin-right: 3px;
    margin-bottom: 0;
    font-size: min(4.1vw, 16px);
  }

  .floatinglink-right {
    padding-top: 0px;
    padding-left: 10px;
  }

  .floatinglink .price__badge-sale {
    position: static;
  }

  .floatinglink .price__sale {
    flex-direction: initial;
    flex-wrap: wrap;
  }

  .floatinglink .button-modal-open {
    margin-top: 0px;
  }
  
}

/********モーダルウィンドウ****************/
/* モーダルを開くボタン */
.button-modal-open {
  height: 44px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  padding: 0 3rem;
  cursor: pointer;
  font: inherit;
  font-size: 1.5rem;
  line-height: 120%;
  text-decoration: none;
  transition: box-shadow var(--duration-short) ease;
  -webkit-appearance: none;
  appearance: none;
}

/* モーダルと背景の指定 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  box-sizing: border-box;
  z-index: 999999;
}

/* モーダルの擬似要素の指定 */
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /*max-width: 600px;
  width: 90%;*/
}

/* モーダルを閉じるボタンの指定 */
.button-modal-close {
  font-size: 20px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 7px;
  right: 17%;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

.button-modal-close img {
  display: block;
  width: 12px;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content {
  width: 70%;
  margin: 0 auto;
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 0;
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p {
  margin: 1em 0;
}

#review_content .revtitle {
  margin: 0 0 30px 0;
  font-size: 18px;
  font-weight: bold;
}

#review_content .revlist {
  margin: 0 0 35px 0;
  font-size: 12px;
}

#review_content .revlist a {
  text-decoration: underline;
}

.review_content .name {
  margin: 0 0 5px 0;
  font-size: 14px;
}

.review_content .star {
  margin: 0 0 20px 0;
  font-size: 14px;
}

.review_content .date {
  margin: 0 0 8px 0;
  font-size: 12px;
  color: #999;
}

.review_content .text {
  margin: 0;
  font-size: 14px;
}


.disp-pc {}

.disp-sp {
  display: none;
}

@media (max-width: 749px) {
  .disp-pc {
    display: none;
  }

  .disp-sp {
    display: inherit;
  }
}

footer {
  margin-bottom: 80px !important;
}


table.sku {
  width: 100%;
  margin-top: 30px;
  margin-left: 160px;
}

table.sku tr {
  display: flex;
  position: relative;
}

td.sku-img {
  position: absolute;
  left: -160px;
}

tr.skuborder {
  position: relative;
  border-top: 30px solid #fff;
}

tr.skuborder:before {
  content: "";
  position: absolute;
  border-top: 1px solid #ccc;
  padding: 15px 0;
  width: calc(100% + 110px);
  top: -43px;
  left: -110px;
}

table .sku-cart {
  display: block;
  margin-left: 20px;
}

td.sku-img img {
  width: 100px;
  max-width: 100px;
  height: auto;
  margin-bottom: 5px;
  padding-right: 0;
  cursor: default;
}

td.sku-img img:hover {
  cursor: default !important;
}

table .favorite-wrap {
  gap: 20px;
}

.product__info-wrapper .modal-open {
  gap: 20px;
}

.modal-content .sku {
  margin-top: 0;
  margin-left: 0;
}

.modal-content .sku tr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 0 20px;
}

.modal-content .sku .sku-option-name {
  font-size: 12px;
  text-align: left;
  padding: 0;
  vertical-align: middle;
}

.modal-content .sku tr .modal-open {
  align-items: center;
}

.sku-img .sku-option-name {
  width: auto;
}

.sku-option-name {
  width: 70px;
  padding: 0 0 20px;
  text-align: center !important;
}

.modal-content .sku .sku-option-name div {
  margin-right: 0;
}

.modal-content .sku .sku-option-name p {
  margin-top: 0px;
}

.sku-option-name p {
  margin-right: 0 !important;
  margin-bottom: 0;
  font-size: 13px !important;
}

.sku-option-name div {
  margin-top: 0;
  font-size: 14px;
}

.modal-content .sku-img img {
  width: 70px;
  overflow: hidden;
  display: block;
  object-fit: cover;
}

.modal-content .sku .sku-modal-name {
  margin-top: 5px;
  font-size: 20px;
  font-weight: bold;
}

.modal-content .sku .sku-cart {
  padding: 20px 0;
}

.modal-content .sku .product-form__submit {
  margin-bottom: 0;
  padding-top: 8px;
}

a.product-form__submit.button.button--primary:hover {
  color: #fff;
}

a.product-form__submit.button.button-white.button--primary:hover {
  color: #000;
}

.modal-content table .favorite-wrap {
  gap: 0;
}

.button-footer-modal-close {
  width: 100%;
  margin: 15px 0;
  padding: 15px 0 8px 0;
  border: 1px solid #ccc;
  border-radius: 20px;
  text-align: center;
  font-size: 18px;
  line-height: 100%;
  display: none;
}

.modal-content td.sku-img {
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 18px;
  gap: 10px;
  position: static;
}

.modal-content td .sku-cont .sku-option-name {
  text-align: left !important;
  font-size: 14px;
}


@media (min-width: 750px) and (max-width: 1199px) {
  .floatinglink-left p {
    font-size: 14px;
  }

  .floatinglink-right .price-item {
    width: 130px;
  }

}

@media (max-width: 989px) {
  .button-modal-open {
    margin-top: -8px;
    width: 85px;
    height: 44px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    padding: 0 10px;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    line-height: 120%;
  }

  .floatinglink-right .favorite {
    margin-top: -8px;
    margin-left: -4px;
  }

  .c_link_top_button {
    bottom: 82px !important;
  }

}

/* 関連商品 */
.product-viewed {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

.product-viewed__item {
  width: calc(100% / 8 - 20px);
  box-sizing: border-box;
}

.product-viewed__item__img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.product-viewed__item h4,
.product-viewed__item .h4 {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12px;
  line-height: 160%;
}

.item-category {
  margin-bottom: 5px;
}

@media (max-width: 989px) {
  .product-viewed {
    padding: 0 10px;
  }

  .product-viewed {
    gap: 15px;
  }

  .product-viewed__item {
    width: calc(100% / 3 - 10px);
  }
}

footer {
  border-top: none;
}


/* 商品詳細 */
.product__info-wrapper .o_product-main__tags {
  margin-bottom: 10px;
}

.product__info-wrapper .price__badge-sale {
  padding: 0 8px;
  line-height: normal;
}

.product__info-wrapper .product-form__submit {
  width: 200px;
  margin-bottom: 0;
}

.product__info-wrapper .modal-open {
  align-items: center;
}

.product__info-wrapper .product-form__submit {
  padding-top: 7px;
}

.product__info-wrapper .tab_content a {
  text-decoration: underline;
}

.product__info-wrapper .tab_content .review_content {
  margin-bottom: 25px;
}

.product__info-wrapper .tab_content .star-score {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}

.product__info-wrapper .tab_content .review-score {
  line-height: 100%;
  font-size: 15px;
}

.product__info-wrapper .add-cart {
  padding-top: 30px;
  border-top: 1px solid #ccc;
}

.product__info-wrapper .add-cart .table.sku {
  margin-top: 0;
}

.product__media-wrapper .c_headline {
  margin: 50px 0 20px;
}

.product__info-wrapper .item-review {
  display: flex;
  align-items: center;
}

.product__info-wrapper .item-review .item-review-count {
  margin-top: 4px;
}


@media (max-width: 989px) {
  .product .c_blog_wrap {
    padding: 0px 10px;
  }

  .product .c_blog_wrap .c_blog_item {
    padding: 9px 0;
  }

  .product__info-container {
    padding: 0 10px;
  }

  .product__info-wrapper .add-cart .product-form__submit {
    padding: 7px 13px 0;
  }
}

.pickupArea .c_headline h2 {
  font-family: Libre Baskerville, "Noto Serif JP", serif;
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (max-width: 989px) {
  .pickupArea .c_headline h2 {
    font-size: 17px;
  }
}

.favorite a:after {
  color: #dbdbdb;
}

.favorite.active a:after {
  color: #ff7683;
}

.o_product-main__table a:empty {
    display: block !important;
}

.o_product-main__table .o_product-main__table__content:empty {
  display: block !important;
}

.favorite a:empty{
  display: block;
}

#ss-snapBlockDetail [class*="SnapList"] {
  --grid-column-count: 4;
}

#ss-snapBlockDetail > div:nth-of-type(1) > div:nth-of-type(2) > div > a > img {
  border-radius: 0 !important;
}

#ss-snapBlockDetail > div > div:nth-of-type(1) {
  display: none !important;
}

#ss-snapBlockDetail div a  span {
  display: block;
  font-weight: 700;
}

@media (max-width: 989px) {
  #ss-snapBlockDetail-sp div a  span {
    width: 100%;
    font-weight: 700;
  }
}

.product-title {
  width: 100%;
  border-bottom: 1px solid #ccc;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  padding: 0 40px 2px 20px;
}

.modal-cart-btn li a.button-white {
  color: #121212;
}

.modal-cart-btn li a {
  line-height: normal;
}

.modal-order {
  background: #FFF;
}

.modal-cart-btn li {
  background: #FFF;
}

@media (max-width: 989px) {
  .modal-container {
    position: absolute;
    width: 90%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .modal-content .sku .product-form__submit {
    height: 40px;
    min-height: 40px;
    width: 39.03vw;
    font-size: 12px;
    padding: 5px 0 0;
  }

  .modal-content .sku {
    width: 100%;
    margin-top: 0;
  }

  .modal-content .sku .sku-option-name div {
    margin-top: 0;
    line-height: normal;
  }

  #ss-snapBlockDetail {
    padding: 40px 10px 0;
  }

  #prod_det_snap_sp .c_headline {
    margin-bottom: 0;
  }

  #ss-snapBlockDetail-sp > div:nth-of-type(1) > div:nth-of-type(2) > div > a > img {
    border-radius: 0 !important;
  }

  #ss-snapBlockDetail-sp > div > div:nth-of-type(1) {
    display: none !important;
  }

  #ss-snapBlockDetail-sp {
    padding: 0 10px;
  }

  .item-point {
    margin-left: 15px;
  }

  .add-cart.disp-sp {
    margin-left: 0;
  }

  .modal .add-cart {
    overflow: scroll;
    height: 550px;
  }

  .modal .button-modal-close {
    width: 25px;
    height: 25px;
    top: 7px;
    right: 10px;
    z-index: 99;
  }

  .button-modal-close img {
    width: 11px;
  }

  .modal-content {
    width: 100%;
    padding: 0 0 20px;
  }

  .modal-content .sku .sku-option-name {
    width: 80px;
    padding: 0;
  }

  .modal-content .sku .sku-cont .sku-option-name {
    width: auto;
    position: static;
    text-align: left !important;
    font-size: 14px;
    line-height: normal;
  }

  table .favorite-wrap {
    gap: 0;
    align-items: center;
  }

  table .sku-cart {
    margin-left: 0;
  }

  button.button--primary.button-modal-open {
    font-size: 16px;
    margin: 0 auto;
    display: block;
    width: 88%;
    padding: 9px 10px 0;
  }

  .modal-content .sku .sku-option-name p {
    margin-bottom: 0;
    line-height: normal;
  }

  .modal-content .sku .sku-cart {
    padding: 20px 0;
  }

  .sku-option-name p {
    font-size: 12px !important;
  }
}

.sale-discount-price {
  color: #d94d4d;
}

#prod_det_snap div a span {
  width: 100%;
}

.reco_title {
  display: none !important;
}

#recommend-products #recommend {
  margin-top: 0 !important;
}

#recommend-products > div {
  width: 100%;
}

#recommend-products .reco_wrap {
  gap: 20px;
}

#recommend-products div.reco_layout {
  width: calc(100% / 8 - 20px) !important;
  text-align: left !important;
}

#recommend-products .reco_item img.reco_img {
  width: 100% !important;
  margin-bottom: 15px;
}

#recommend-products div.reco_goods {
  padding: 0 !important;
  margin-top: 0 !important;
}

#recommend-products div.reco_goods a {
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 160%;
}

#recommend-products div.reco_price {
  padding: 0 !important;
  color: #000000 !important;
  line-height: 10px !important;
}

@media (max-width: 989px) {
  #recommend-products .reco_wrap {
    gap: 15px;
  }

  #recommend-products div.reco_layout {
    width: calc(100% / 3 - 10px) !important;
  }
}

