/* 全体のスタイル */
/* 商品詳細エリア */
.product-detail {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 商品タイトル */
.product-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    text-align: left;
}

/* 区切り線 */
.product-divider {
    border: 0;
    border-bottom: 2px solid #333;
    margin-bottom: 20px;
    width: 50px;
}

/* 商品画像 */
.product-image {
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 5px;
}

.product-caption {
    margin-top: 10px;
    font-size: 16px;
    color: #c0392b;
    text-align: center;
}

/* 商品説明 */
.product-description {
    font-size: 16px;
    color: #666;
    margin-top: 20px;
    line-height: 2.0;
}

.hover-opacity {
  transition-property: opacity;
  transition-duration: 0.5s;
}
.hover-opacity:hover {
  opacity: 0.7;
}


.ec-shopping-cart {
    border: 1px solid #E0E0E0;
    padding-right: 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: normal;
    margin-top: -1px;
}

.free-shipping {
    font-weight: bold;
    display: inline-block;
    font-size: 14px;
    color: #333;
    line-height: 2;
    margin: -2px 5px 0 0;
    letter-spacing: 0.02em;
}

.ec-shopping-cart {
    border: 1px solid #E0E0E0;
    padding-right: 15px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: normal;
    margin-top: -1px;
}

.ec-bd-cart {
    background-color: #f5f5f5;
    padding: 10px 14px 9px;
    margin-top: 4px !important;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.ec-Cart_total_quantity {
    position: absolute;
    background: rgb(177, 39, 4);
    color: white;
    font-size: 10px;
    padding: 2px;
    border-radius: 4px;
    text-align: center;
    width: 21px;
    transition: transform .2s;
    right: 10%;
    top: 6px;
    font-weight: bold;
}

.search-name {
    font-weight: bold;
}
.ec-headerSearch .ec-headerSearch__keyword input[type=search]{
    font-size: 14px;
    font-weight: 500;
}

/* 追従カート モバイル */
@media screen and (min-width: 768px){
    .ec-Modalfooter__cart{
        display: none;
    }
}

/* PCヘッダへのカートアイコン表示　ここから */
.ec-Cart_total_quantity_header {
    position: absolute;
    background: rgb(177, 39, 4);
    color: white;
    font-size: 10px;
    padding: 2px 0;
    border-radius: 20px;
    text-align: center;
    min-width: 19px;
    height: 19px;
    transition: transform .2s;
    right: -4px;
    top: 2px;
    font-weight: bold;
}

.ec-login-cart-con {
    position: relative;
    width: 25px;
    display: inline-block;
}

.ec-login-cart-con img {
    width: 25px;
}
/* PCヘッダへのカートアイコン表示　ここまで */

/* 検索ボックスの虫メガネ領域のデザイン　ここから */
.ec-headerSearch__keywordBtn_outer{
    background: #525263;
    border: 0;
    position: absolute;
    right: 0px;
    top: 19px;
    transform: translateY(-55%);
    display: block;
    white-space: nowrap;
    z-index: 1;
    width: 45px;
    height: 35px;
    border-radius: 0px 5px 5px 0px;
}
/* 検索ボックスの虫メガネ領域のデザイン */

/* PCスクロール時にヘッダを追従させる ここから*/
#search_header_sticky_top_pc {
    display: block;
    background: white;
    z-index: 500;
    position: fixed;
    top: 0px;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.12)
}
/* PCスクロール時にヘッダを追従指せる ここまで */

@media screen and (max-width: 767px){

    .ec-topicpath{
        padding: 12px 0px 12px 20px;
        background-color: #f5f5f5;
        margin: 16px 0 0;
        border-top: 1px solid #ddd;
        border-bottom: none;
    }

    .ec-boxCart__no-login {
        padding-left: 30px;
        font-size: 14px;
        position: fixed;
        align-items: center;
        z-index: 100;
        bottom: 10px !important;
        right: 10px;
    }

    .ec-boxCart__no-login .iconNav {
        background-color: #C3B3A1;
        border-radius: 5px;
        padding: 12px 15px 10px 13px;
        width: 50px;
        height: 50px;
    }

    .ec-boxCart__no-login .iconNav span {
        height: 3px;
        background-color: #fff;
        width: 24px;
        border-radius: 30px;
        display: block;
        margin-bottom: 7px;
    }

    .ec-boxCart {
        border-top: 0.2667vw solid #BEBEBE;
        display: flex;
        padding-left: 4vw;
        font-size: 3.7333vw;
        position: fixed;
        background-color: #fff;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        z-index: 100;
        bottom: 0 !important;
    }

    .ec-boxCart .text-price {
        font-size: 5.0667vw;
        font-weight: bold;
        padding-left: 0.5333vw;
    }

    .ec-boxCart .text01 {
        font-size: 4vw;
        font-weight: bold;
        position: relative;
        color: black;
        margin: 1.0667vw 0vw 0vw 0.8vw;
        top: 0.8vw;
    }

    .ec-boxCart .iconNav {
        background-color: #C3B3A1;
        padding: 3vw;
    }

    .ec-boxCart .iconNav span {
        height: 0.85vw;
        background-color: #fff;
        border-radius: 30px;
        display: block;
        margin-bottom: 10px;
        width: 9vw;
    }

    .ec-boxCart .iconNav span:last-child {
        margin-bottom: 0;
    }

    #search_header_sticky_top {
        display: block;
        background: white;
        z-index: 500;
        position: fixed;
        top: 0px;
        width: 100%;
        padding: 16px 0;
        box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.12);
    }

    .ec-searchnavRole .cu-ec-searchnavRole__infos {
        margin: 0 auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
        font-size: 16px;
        line-height: 1.4;
        color: #525263;
        -webkit-text-size-adjust: 100%;
        width: 100%;
        max-width: 1130px;
        display: flex ;
        border-top: 0;
        margin-bottom: 16px;
        padding-top: 5px;
        flex-direction: column;
    }
    @media screen and (max-width: 767px) {
      .ec-searchnavRole .cu-ec-searchnavRole__infos {
        padding-left: 16px;
        padding-right: 20px;
      }
    }

    .ec-Cart_total_quantity_header {
        position: absolute;
        background: rgb(177, 39, 4);
        color: white;
        font-size: 10px;
        padding: 3px;
        border-radius: 20px;
        text-align: center;
        min-width: 18px;
        box-sizing: border-box;
        height: 18px;
        transition: transform .2s;
        right: 0px;
        top: 4px;
        font-weight: bold;
    }

    .ec-Cart_total_quantity {
        position: absolute;
        background: rgb(177, 39, 4);
        color: white;
        font-size: 2.6667vw;
        padding: 0.5333vw;
        border-radius: 1.0667vw;
        text-align: center;
        width: 5.3333vw;
        transition: transform .2s;
        right: 61%;
        top: -1vw;
        font-weight: bold;
    }

    .ec-shopping-cart {
        border: 1px solid #E0E0E0;
        padding-right: 15px;
        border-radius: 5px;
        font-size: 14px;
        font-weight: normal;
    }

    .ec-shopping-cart .text_price {
        font-size: 16px;
        font-weight: bold;
    }

    .ec-login-cart-con {
        position: relative;
        /*width: 32px;*/
        display: inline-block;
        margin-left: 15px;
    }

    .ec-login-cart-con img {
        width: 28px;
        height: auto;
    }
}

/*
* 商品別カテゴリエリア
*/
.cate-searchlist {
    margin-bottom: 0;
}

.cate-searchlist h1 {
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 10px;
    font-size: 22px;
    font-weight: bold;
    border-top: none;
    padding-top: 0;
}

.block_content .searchFlow ul {
    display: flex;
    align-items: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
}

.block_content .searchFlow ul li {
    list-style: none;
    padding: 0;
    width: 19.2%;
    border: 1px solid #D8D8D8;
    height: 55px;
    margin-bottom: 11px;
    margin-right: 1%;
}

.block_content .searchFlow ul li a {
    display: flex;
    padding: 0px 10px 0px;
    position: relative;
    overflow: hidden;
    align-items: center;
    height: 53px;
}

.block_content .searchFlow ul li a:hover {
    background-color: #F5F5F5;
    color: #333;
    text-decoration: none;
}

.block_content .searchFlow ul li span {
    font-size: 13px;
    color: #333;
    font-weight: 800;
    position: relative;
    width: 70%;
    line-height: 1.35;
}

.block_content .searchFlow ul li span.images {
    width: 55%;
    margin: 0 0 0 10px;
    position: relative;
    height: 75%;
    text-align: right;
}

.block_content .searchFlow ul li img {
    transition: all .3s ease;
    height: 100%;
}

.block_content h2 {
    border-top: 2px solid #E0E0E0;
    padding-top: 10px;
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: none;
    letter-spacing: 0.06em;
}

@media screen and (max-width: 767px){
    .block_content .searchFlow ul li {
        width: 49%;
    }
}

@media screen and (min-width: 768px){
    .block_content .searchFlow ul li:nth-of-type(5n) {
        margin-right: 0;
    }
}

/*
* PCサイドバー
*/
.ec-SideLeftListCategoryHeader {
    text-align: center;
    font-size: 18px;
    margin: 2px 0 8px;
    letter-spacing: .05em;
    font-weight: bold;
}

.accordion .card-header .btn {
    font-size: 15px;
    color: #333;
    font-weight: 800;
    position: relative;
    line-height: 1.35;
    padding: 10px 10px 10px 10px;
    background-color: #fff;
    border-radius: 0;
}

.accordion .card-header .text {
    font-size: 15px;
    color: #333;
    font-weight: 800;
    position: relative;
    line-height: 1.35;
}

.accordion .card-header .right-arrow {
    position: absolute;
    right: 10px;
}

.ec-SideLeftListCategory {
    background-color: #f0e8df;
    margin: 15px 0;
    padding: 10px !important;
}

/*
* SPのログインボタン
*/
.ec-headerTop .sign-in,
.ec-headerTop .headerSpLoginTop {
    text-align: center;
    color: #fff;
    font-size: 3vw;
    border-radius: 1.2vw;
    padding: 2.5vw 0 2.3vw;
    width: 90px;
    display: block;
    font-weight: bold;
    letter-spacing: .09em;
    border: none;
}
.ec-headerTop .headerSpLoginTop {
    line-height: 1;
    margin-right: 1.6vw;
}
.ec-headerTop .sign-in {
    background-color: #c43030;
}
.btn-primary-common {
    background-color: rgba(0, 176, 236, 1);
}


/*
* 特集バナーエリア
*/

.featureBox {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 1130px;
    margin: auto;
}

.block_content {
    margin-bottom: 40px;
    overflow: hidden;
}

/* tuan anh - product list*/
.title_feature_list {
    font-size: 22px;
    border-bottom: 2px solid #E0E0E0;
    padding-bottom: 10px;
    font-weight: bold;
}
.block_content .feature {
    display: flex;
    flex-wrap: wrap;
}

.block_content .feature dl {
    width: 32%;
    border: 1px solid #D8D8D8;
    margin-bottom: 15px;
    background-color: #F5F5F5;
    margin-right: 2%;
    display: flex;
    flex-direction: column;
}

.block_content .feature dl dt a {
    display: block;
}

.block_content .feature dl dd {
    color: #333;
    padding: 12px 10px 10px;
    line-height: 20px;
    margin-bottom: 0;
}

.block_content .feature dl dd a {
    text-decoration: none;
    color: #333;
}

.block_content .feature dl dd a span {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.block_content .feature dl dd .text01 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 4px;
    letter-spacing: .04em;
}

.block_content .feature dl dd .text02 {
    font-size: 14px;
}

/* feature list */
.block_content .otherFeature dl a {
    text-decoration: none;
}

.block_content .otherFeature dl a dd {
    font-size: 14px;
    color: #000;
    font-weight: bold;
}

@media screen and (min-width: 768px){
    .block_content .feature dl:nth-of-type(3n) {
        margin-right: 0;
    }
}

@media screen and (max-width: 767px){
    .block_content .feature dl {
        width: 48%;
    }
    .block_content .feature dl:nth-of-type(2n) {
        margin-right: 0;
    }
    .block_content .feature dl dd .text01 {
        font-size: 12px;
    }
}

/* 商品一覧 */
@media screen and (max-width: 767px){
  .product_li {
    width: 100%;
  }
  .product_page .ec-shelfRole img.product_image {
    max-width: 200px;
    height: 130px;
    object-fit: cover;
  }
  .product_info {
    padding-left: 10px;
    float: left;
  }
  .product_hr {
    margin: 18px 0;
    opacity: 1;
  }
}
.ec-headerSearch__keywordBtn {
  right: 0!important;
  transform: translateY(-50%)!important;
  position: relative!important;
  margin: 0 auto;
}
.ec-headerSearch__keywordBtn .ec-icon img {
  width: 18px;
  height: 18px;
}
.product_li:hover .product_image {
  opacity: 0.7;
}
.product_page .product_info p.product_info__name {
  font-weight: bold;
  font-size: 15px;
  color: #000000;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 22px;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.product_page .product_info .product_info__description {
  font-size: 12px;
  color: #000000;
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.7;
  letter-spacing: 0.5px;
  max-height: 40px;
  margin-bottom: 4px;
}
.product_page .product_info .product_info__unitCost {
  font-size: 15px;
  color: #000000;
  font-weight: bold;
  margin: 2px 0;
}
@media screen and (min-width: 768px) {
  .product_page .product_info .product_info__unitCost {
    font-size: 18px;
  }
}
.product_page .product_info .product_info__gramCost {
  font-size: 12px;
  color: #000000;
  font-weight: 400;
  margin: 2px 0;
}
.product_page .ec-productRole__btn {
  margin-top: 8px;
  max-width: 240px;
}
.ec-select select {
  background-color: #ffffff;
  border: 1px solid #DDDDDD;
  border-radius: 6px;
  height: 34px;
  width: 120px;
  box-sizing: border-box;
}
@media screen and (min-width: 768px) {
  .ec-select {
    margin-bottom: 12px;
  }
  .product_page .ec-shelfGrid {
    justify-content: flex-start;
  }
  .product_page .product_li:nth-of-type(4n + 1) {
    padding: 0;
  }
  .product_page .product_li:nth-of-type(4n + 2) {
    padding: 0;
  }
  .product_page .product_li:nth-of-type(4n + 3) {
    padding: 0;
  }
  .product_page .product_li:nth-of-type(4n + 4) {
    padding: 0;
  }
  .product_page .product_li {
    max-width: 248px;
    width: 23%;
    margin: 0 1% 40px;
  }
  .product_page .ec-shelfRole img.product_image {
    max-width: 248px;
    height: 160px;
    object-fit: cover;
  }
  .product_page .product_info {
    margin-top: 8px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1125px) {
  .ec-headerNaviRole__left {
    width: 55%!important;
  }
  .ec-headerNaviRole__left .ec-headerTitle__title {
    width: 30%;
  }
  .ec-headerNaviRole__left .ec-headerNaviRole__search {
    width: 70%!important;
  }
  #search_header_sticky_top_pc .ec-headerNaviRole__search {
    width: 100%!important;
  }
  .ec-headerNaviRole__right {
    width: 45%!important;
  }
}

/* フォーム（会員登録など） */
/* プレースホルダー色調整 */
.ec-input input::-moz-placeholder, .ec-birth input::-moz-placeholder, .ec-select input::-moz-placeholder, .ec-telInput input::-moz-placeholder, .ec-zipInput input::-moz-placeholder, .ec-numberInput input::-moz-placeholder, .ec-halfInput input::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.ec-input input:-ms-input-placeholder, .ec-birth input:-ms-input-placeholder, .ec-select input:-ms-input-placeholder, .ec-telInput input:-ms-input-placeholder, .ec-zipInput input:-ms-input-placeholder, .ec-numberInput input:-ms-input-placeholder, .ec-halfInput input:-ms-input-placeholder {
  color: #ccc;
}
.ec-input input::-webkit-input-placeholder, .ec-birth input::-webkit-input-placeholder, .ec-select input::-webkit-input-placeholder, .ec-telInput input::-webkit-input-placeholder, .ec-zipInput input::-webkit-input-placeholder, .ec-numberInput input::-webkit-input-placeholder, .ec-halfInput input::-webkit-input-placeholder {
  color: #ccc;
}
.ec-input select::-moz-placeholder, .ec-birth select::-moz-placeholder, .ec-select select::-moz-placeholder, .ec-telInput select::-moz-placeholder, .ec-zipInput select::-moz-placeholder, .ec-numberInput select::-moz-placeholder, .ec-halfInput select::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.ec-input select:-ms-input-placeholder, .ec-birth select:-ms-input-placeholder, .ec-select select:-ms-input-placeholder, .ec-telInput select:-ms-input-placeholder, .ec-zipInput select:-ms-input-placeholder, .ec-numberInput select:-ms-input-placeholder, .ec-halfInput select:-ms-input-placeholder {
  color: #ccc;
}
.ec-input select::-webkit-input-placeholder, .ec-birth select::-webkit-input-placeholder, .ec-select select::-webkit-input-placeholder, .ec-telInput select::-webkit-input-placeholder, .ec-zipInput select::-webkit-input-placeholder, .ec-numberInput select::-webkit-input-placeholder, .ec-halfInput select::-webkit-input-placeholder {
  color: #ccc;
}
.ec-input textarea::-moz-placeholder, .ec-birth textarea::-moz-placeholder, .ec-select textarea::-moz-placeholder, .ec-telInput textarea::-moz-placeholder, .ec-zipInput textarea::-moz-placeholder, .ec-numberInput textarea::-moz-placeholder, .ec-halfInput textarea::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.ec-input textarea:-ms-input-placeholder, .ec-birth textarea:-ms-input-placeholder, .ec-select textarea:-ms-input-placeholder, .ec-telInput textarea:-ms-input-placeholder, .ec-zipInput textarea:-ms-input-placeholder, .ec-numberInput textarea:-ms-input-placeholder, .ec-halfInput textarea:-ms-input-placeholder {
  color: #ccc;
}
.ec-input textarea::-webkit-input-placeholder, .ec-birth textarea::-webkit-input-placeholder, .ec-select textarea::-webkit-input-placeholder, .ec-telInput textarea::-webkit-input-placeholder, .ec-zipInput textarea::-webkit-input-placeholder, .ec-numberInput textarea::-webkit-input-placeholder, .ec-halfInput textarea::-webkit-input-placeholder {
  color: #ccc;
}
/* ボタンのディスエイブル調整 */
.ec-blockBtn--action:disabled, .ec-blockBtn--action.disabled {
  color: #fff;
  background-color: #D9D9D9;
  border-color: #D9D9D9;
}
/* 横並びフォームの段ズレ解消 */
.ec-halfInput {
  display: flex;
  justify-content: left;
  align-items: center;
}
/* 戻るリンクボタン調整 */
button.link-style {
  font-size: 14px;
}

/* カートエラー表示調整 */
.ec-alert-warning .ec-alert-warning__icon {
  margin-right: 4px;
}

/* カート画面だけおすすめ商品の仕切りの調整 */
#page_cart .block_content h2 {
  border-top: 8px solid #f5f5f5;
  padding-top: 24px;
}
@media screen and (min-width: 767px){
  #page_cart .block_content h2 {
    border-top: none;
  }
}
