/* デザイン専用CSS
--------------------------------------------------
・見た目の調整（色、余白、フォント、枠線、レスポンシブ）
・レイアウト変更（ブロックの幅、表示位置）
-------------------------------------------------- */

@media (min-width: 768px) {
    .p-entry-product__carts {
     margin-left: 0px;
    }
    .p-entry-product__cart select{
        min-width: 160px;
    }
    .product_meta > span{
    font-size: 12px;
    display: block;
}
}
@media (max-width: 991px) {
    .p-entry-product__cart {
        margin-top: 10px;
        padding: 10px 20px;
    }
    .variations{
        font-size: 13px;
    }
    form.variations_form table.variations tr{
        flex-direction: row;
    }
    .p-entry-product__cart-select-wrapper{
        margin-top: 0;
    }
    form.variations_form table.variations select{
        height: 34px !important;
    }
    .p-entry-product__cart .quantity .qty{
        height: 34px !important;
    }
    .product_meta > span{
    font-size: 12px;
    margin-left: 10px;
    font-weight: bold;
    line-height: 1.3em;
    white-space: nowrap;
}
}

.variations .p-entry-product__cart-select-wrapper{
    margin-bottom: 0 !important;
}
.p-entry-product__cart-select-wrapper::after{
    line-height: 40px;
}
.p-entry-product__cart .quantity .qty{
    height: 40px;
}

.p-entry-product__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.p-entry-product__images{
    margin-bottom: 0;
}
.p-entry-product__share{
    margin-top: 0;
}

.l-2columns .p-archive03__item {
        margin-right: 0;
     @media (min-width: 768px) {
        width: 20%;
     }
 }
 @media (max-width: 991px) {
    .product_meta {
        margin-top: 10px;
        line-height: 1.1em;
    }
    .sotoclub-estimate-widget .widget-title{
        display: none;
    }
}
.wcpay-express-checkout-wrapper{
        display: none;
    }
 .estimate-row .value{
      font-weight: bold;
      font-size: 18px;
    }
@media (max-width: 767px) {
    .p-archive03{
        gap: 10px;
    }
    .p-entry-product__related .p-archive03__item {
        border: none;
        padding: 0;
        width: 47%;
    }
}

@media (max-width: 991px) {
    .p-cb__item * + .p-cb__item-content {
        margin-top: 10px;
    }
    #cb_2 .p-cb__item-headline {
        font-size: 20px;
        margin-top: 20px;
    }
    .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
    height: 30vh;
    display: flex;
    align-items: center;
  }
  .wc-block-grid__products {
    margin: 0;
  }
  .wc-block-grid.has-4-columns .wc-block-grid__products {
        display: flex !important;
    }
    .wc-block-grid.has-4-columns .wc-block-grid__product {
        flex: 1 0 50% !important;
    }
    .wc-block-grid.has-4-columns .wc-block-grid__products{
        margin-left: 0 !important;
    }
}

/*TOP*/
#cb_6{
    padding-top: 0;
    margin-top: -34px;
}
/* 親要素の設定 */
.gallery_slide_wrap {
  width: 100%;
  overflow: hidden; /* 子要素がはみ出さないようにする */
}

/* スライダー部分の設定 */
.gallery_slide {
  display: flex; /* 横並びにする */
  width: 100%; /* 横幅いっぱいにする */
  /*animation: slide 34s linear infinite; */
  animation: scroll-left 34s infinite linear .5s both
}

/* 各アイテムの設定 */
.gallery_slide li {
  flex: 0 0 20%; /* 1つの画像が全体の5分の1の幅を取る */
  width: 100%; /* 幅を指定 */
  list-style-type: none;
  @media (max-width: 991px) {
    flex: 0 0 33.3%;
  }
}
.p-archive03__item-price.p-article__price{
  color: darkcyan;
}
/* アニメーション（スライド） 
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);  
  }
}*/
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@media (max-width: 991px) {
.soto-sp-lead{
    padding: 0 !important;
}
.soto-sp-logo img{
    padding: 0 !important;
    width: 200px !important;
}
#js-header .p-header__lower{
    height: 0 !important;
}
.p-archive03__item-title {
    font-size: 11px;
    font-family: 'Noto Sans JP';
  }
  .p-archive03__item-price.p-article__price{
  font-size: 11px;
}
}

@media (min-width: 992px) {
.p-archive03__item-title {
    font-size: 12.5px;
    font-family: 'Noto Sans JP';
  }
.soto-register-link{
    font-size: 12px;
    font-weight: 500;
}
.p-megamenu01__list{
  gap: 10px !important;
}
.p-megamenu01__list-item {
  width: 18% !important;
  min-width: auto;
}
.p-megamenu01__list-item__title{
    font-family: 'Noto Sans JP';
}
.p-megamenu01__inner{
    padding: 10px 0 !important;
}
.p-global-nav > li > a:hover {
     background-color: #444 !important; border-color: #444 !important; color: #fff;
 }
 .l-main__inner{
    padding-top: 20px;
 }
 .p-archive03__sort-filter__item-title{
    line-height: 45px;
    height: 45px;
 }
 .p-archive03__sort-filter{
    margin-bottom: 10px;
 }
     .l-secondary {
        padding-top: 60px;
    }
.p-widget-categories{ 
   border: none;
    li{
        &:first-child{
            border-top: none;
        }
     a{
    padding: 16px 22px;
    font-weight: bold;
    color: #333 !important;
    }
 }
 }
}
.youtube{
    gap:20px;
    justify-content: space-around;
    align-items: flex-end;
   & > div{
    @media (min-width: 992px) {
        width:calc(100% / 2 - 20px) ;
        iframe{
            width: 100%;
        }
    }
   } 
}
.p-entry__title {
    font-size: 180% !important;
    color:#50788f;
    &:before{
        content: "■ ";
    }
}
.p-entry-product__mainimage{
    box-shadow: -1px 1px 10px #ccc;
}
.p-body h2 {
    font-size: 130%;
    font-weight: bold;
    border-bottom: 1px solid #50788f;
    color: #50788f;
}
.p-body h3 {
    font-size: 110%;
}
.p-body h1, .p-body h2, .p-body h3, .p-body h4, .p-body h5, .p-body h6 {
    clear: both;
    line-height: 1.6;
    margin-bottom: 18px;
    margin-top: 20px;
}
.p-body p {
    margin-bottom: 1em;
    font-size: 0.97rem;
}
.p-widget__title{
    color: #50788f;
    &:before{
        content: "■ ";
    }
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-range,.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    background-color: #ae8e69;
}
.price_slider_amount{
    .button{
    float: none !important;
    color: #333 !important;
    background: #fff !important;
    padding: 5px 20px !important;
    border: 2px solid #333 !important;
    }
}
#tab-title-tab1 a{
    font-weight: bold ;
    color: #c33;
    background-color: #FFF2F2;
}
.construction-badge{
    top: 4px !important;
    right: 4px !important;
    font-size: 10px !important;
    font-family: 'Noto Sans JP';
    padding: 1px 6px !important;
    z-index: 5 !important;
}
.p-article__price > span:nth-child(3){
  display: none;
}
@media (min-width: 992px) {
.p-entry-product__content.summary{
    padding-bottom: 40px;
}
a.button.alt{
box-shadow: 1px 2px 1px #ccc;
margin-bottom: 20px;
  }
}
.sotoclub-estimate-widget {
    background: #fff; 
    border: 4px solid #50788f;
    .label{
        font-size: 93%;
    }
}
