/*************************************************************

基本レイアウト

*************************************************************/
.ec-productRole {
    max-width: 1300px;
    padding: 0;
}
.ec-productRole *{
    color: var(--MainFontColor);
}

.ec-productRole .ec-productRole__profile *{
    border: none;
}

#product_review_area .ec-role{
    max-width: calc(100% - 40px);
    padding: 0;
}

@media screen and (max-width:1300px) {
    #product_review_area .ec-role{
        max-width: none;
        padding: 0 15px;
    }
}

@media screen and (max-width:599px) {
    #product_review_area .ec-role{
        padding: 0 10px;
    }
}

.ec-grid2{
    flex-wrap: wrap;
    margin-bottom: 75px;
    justify-content: space-between;
}

.ec-grid2 .ec-grid2__cell{
    width: calc((100% - 320px) - 28%);
    flex: 0 1 calc((100% - 320px) - 28%);
}

@media screen and (max-width:1024px) {
    .ec-grid2{
        margin-bottom: 30px;
    }
    .ec-grid2 .ec-grid2__cell{
        width: 100%;
        flex: 0 1 100%;
    }
}

.ec-grid2__cell.itemSlide{
    flex: 0 1 28%;
    width: 28%;
}

@media screen and (max-width:1024px) {
    .ec-grid2__cell.itemSlide{
        max-width: 100%;
        width: 100%;
        margin: auto;
    }
}

@media screen and (max-width:599px) {
    .ec-grid2__cell.itemSlide{
        max-width: 100%;
    }
}

.ec-blockTopBtn{}

@media screen and (max-width:1024px) {
    .ec-blockTopBtn{
        bottom: 80px !important;
    }
}


/*----------------------------
回り込み設定
----------------------------*/
.detailFlexArea{
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width:1024px) {
    .detailFlexArea{
        flex-wrap: wrap;
    }
}

/*-----------
フレックスエリア
-----------*/

@media screen and (max-width:1024px) {
.detailFlexArea .ec-productRole{
        flex: 0 1 100%;
        width: 100%;
    }
}

/*---------
カートエリア
---------*/
.detailFlexArea .cartArea{
    width: 300px;
    flex: 0 1 300px;
    margin-left: 20px;
}
.detailFlexArea .cartArea .ec-productRole__btn{
    width: auto;
    min-width: auto;
}
.detailFlexArea .cartArea .ec-productRole__btn img{
    width: 1.5rem;
}
.guideIcon{
    width: 20px;
    height: 20px;
    display: inline-block;
    border: 1px solid #666;
    border-radius: 50%;
    position: relative;
    margin-left: 5px;
    vertical-align: bottom;  
}
.guideIcon::before {
    display: inline-block;
    content: "?";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-weight: bold;
}

@media screen and (max-width:1024px) {
    .detailFlexArea .cartArea{
        flex: 0 1 100%;
        width: 100%;
        margin: 30px 0;
    }
}

/*************************************************************

商品画像

*************************************************************/
.slick-slide img{
    object-fit: contain;
}
.ec-sliderItemRole{
    padding: 0;
}


@media screen and (max-width:1025px){
    .slick-slider, .ec-sliderItemRole{
        margin-bottom: 0;
    }
}

/*************************************************************

サブ画像

*************************************************************/
.subImage img{
    width: auto;
    margin: 10px 0;
}

/*************************************************************

商品情報エリア

*************************************************************/

/*----------------------------
メーカー
----------------------------*/
.ec-productRole .ec-productRole__profile #maker_area{
    font-size: 14px;
}

/*----------------------------
カテゴリ
----------------------------*/
.ec-productRole .ec-productRole__category{
    padding-top: 0;
    font-size: 14px;
}


/*----------------------------
商品名
----------------------------*/
.ec-productRole__title h1{
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 0;
}
.spOnly .ec-productRole__title h1{
    margin-bottom: 10px;
}

/*----------------------------
商品コード
----------------------------*/
.ec-productRole .ec-productRole__code{
    font-size: 14px;
}

/*----------------------------
タグ
----------------------------*/

.tagList ul{
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    margin: 0 -5px 0;
    padding: 0;
}

.tagList ul>li {
    flex: 0 1 auto;
    margin-right: 5px;
    margin-bottom: 5px;
}

.tagList ul>li span {
    background: #FAF0F1;
    color: #840610;
    padding: 5px 10px;
    font-size: 14px;
}


/*----------------------------
価格
----------------------------*/
.normalPrice{
    color: #8C8C8C;
    margin-bottom: 5px;
}

.normalPrice .ec-productRole__priceRegularPrice{
    text-decoration: line-through;
}

.ec-productRole .ec-productRole__price{
    padding-top: 0;
    font-size: inherit;
}

.ec-productRole .ec-productRole__price{
    border-bottom: none;
    padding: 0;
    margin-bottom: 5px;
}

.ec-productRole .ec-price{
    color: var(--DenkichiRed);
}

.ec-productRole .price .price02-default span {
    padding-left: 0;
    font-size: 30px;
    color: var(--DenkichiRed);
    font-weight: 600;
}

.ec-productRole .price .point{
    font-weight: 600;
    color: var(--DenkichiRed);
}

.discount-rate{
    color: #ff2712;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
}

/*----------------------------
合わせ買い
----------------------------*/
#combined .bg-danger{
    background: #fff349 !important;
    padding: 0;
    position: relative;
    position: relative;
    padding: 20px 35px !important;
}
#combined .bg-danger::before{
    width: 2rem;
    height: 2rem;
    display: block;
    content: "";
    background: #333;
    border-radius: 50%;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
#combined .bg-danger::after{
    display: inline-block;
    content: "";
    border-right: 2px solid;
    border-top: 2px solid;
    width: 0.5rem;
    height: 0.5rem;
    display: block;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    right: calc(1rem + 10px);
    top: 50%;
}
#combined .bg-danger a{
    display: flex;
    flex-direction: column;
}
#combined .bg-danger a span{
    color: var(--MainFontColor);
    font-size: 14px;
}
#combined .bg-danger a .title{
    color: var(--DenkichiRed);
    font-weight: 600;
    font-size: 16px;
}
#combined .bg-danger a .bulkDiscount_name{
    font-weight: 600;
    font-size: 16px;
    margin: 3px;
}

/*----------------------------
レビュー＋お気に入り　回り込み
----------------------------*/
.review_and_favorite{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}


@media screen and (max-width:1300px) {
.review_and_favorite{
    display: block;
}
}

@media screen and (max-width:599px) {
.review_and_favorite{
    display: block;
}
}

/*----------------------------
レビュースター＋レビューへのアンカーエリア
----------------------------*/
.reviewStar {
    display: flex;
}

@media screen and (max-width:599px) {
    .reviewStar {
        margin-bottom: 10px;
    }
}

.reviewStar .stars{
    color: #FF7C2B;
    margin-right: 5px;
}

.reviewStar p a{
    position: relative;
    padding-right: 1.5em;
}

.reviewStar p a::before{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0,-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: solid 2px #333;
    border-bottom: solid 2px #333;
}

#product_review_area .review_list .recommend_level{
    color: #FF7C2B !important;
}

#product_review_area .ec-inlineBtn--action{
    max-width: 400px;
}
@media screen and (max-width:767px){
    #product_review_area .ec-inlineBtn--action{
        max-width: none;
    }
}


/*----------------------------
お気に入り追加
----------------------------*/

.ec-productRole__profile .favorite button{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--DenkichiRed);
    padding: 5px 10px;
    border-radius: 50px;
    transition: .3s;
}

.ec-productRole__profile .favorite button:hover{
    opacity: .5;
}

.ec-productRole__profile .favorite button.added{
    background: var(--DenkichiRed);
    color: #fff;
}

.ec-productRole__profile .favorite button img{
    max-width: 24px;
    margin-right: 5px;
}

@media screen and (max-width:1025px){
    .ec-productRole__profile .favorite button{
        padding: 0;
    }
}

/*----------------------------
バナーエリア＋クーポンエリア
----------------------------*/
.banner_and_coupon{
    margin-bottom: 20px;
}

.banner_and_coupon .bannerArea{
    margin-bottom: 20px;
    overflow: hidden;
}

.banner_and_coupon .bannerArea ul{
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    overflow: hidden;
}

.banner_and_coupon .bannerArea ul>li{
    flex: 0 1 auto;
    margin-right: 20px;
}

.banner_and_coupon .couponArea{
    overflow: hidden;
}

.banner_and_coupon .couponArea p{
    font-weight: 700;
    margin-bottom: 10px;
}

.banner_and_coupon .couponArea ul{
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
    overflow: hidden;
}

.banner_and_coupon .couponArea ul>li{
    flex: 0 1 auto;
    margin-right: 20px;
    margin-bottom: 20px;
}






/*************************************************************

フリーエリア
タブエリア

*************************************************************/

/*-----
タブ設定
-----*/
.freeArea .freeAreaTab {
    display: flex;
    justify-content: center;
    border-bottom: dotted 2px #ccc;
    margin: 20px 0;
}

@media screen and (max-width:599px) {
    .freeArea .freeAreaTab {
        /* 
        justify-content: flex-start;
        overflow: hidden;
        overflow-x: auto;
        */
    }
}

.freeArea .freeAreaTab>li {
    flex: 0 0 calc(100%/3);
    position: relative;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.freeArea .freeAreaTab>li a{
    border-bottom: 3px solid transparent;
    width: 100%;
}
.freeArea .freeAreaTab>li a:hover{
    border-bottom: 3px solid var(--DenkichiRed);
}

@media screen and (max-width:1024px) {
    .freeArea .freeAreaTab>li {
        font-size: 16px;
    }
}

@media screen and (max-width:599px) {
    .freeArea .freeAreaTab>li {
        font-size: 14px;
    }
}

.freeArea .freeAreaTab>li.active::before {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: 3px;
    background: var(--DenkichiRed);
}

.freeArea .freeAreaTab>li:nth-child(3){}

.freeArea .freeAreaTab>li:nth-child(3) br{
    display: none;
}

@media screen and (max-width:599px) {
.freeArea .freeAreaTab>li:nth-child(3) br{
    display: block;
}

.freeArea .freeAreaTab>li:nth-child(3) span{
    display: none;
}
}

.freeArea .freeAreaTab>li a{
    display: block;
    padding-bottom: 20px;
}


.freeArea #summary img{
    width: auto;
    display: block;
    aspect-ratio: auto;
}

/* ----------
サブ画像
-------------*/
.freeArea .sub_image{
    margin: 0 0 20px 0;
}
.freeArea .sub_image img{
    margin: 10px 0;
}


/*-----
表示エリア設定
-----*/
.freeArea .freeAreaTabContents .ec-productRole__description{
    padding-bottom: 20px;
}

.freeArea .freeAreaTabContents{
    margin-bottom: 30px;
}

.freeArea .title{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

@media screen and (max-width:599px){
    .freeArea .title{
        font-size: 16px;
    }
}

/*-----
仕様・サイズ
-----*/
#method .dlTable{
    border-top: solid 1px #ccc;
    border-left: solid 1px #ccc;
    border-right: solid 1px #ccc;
}

#method .dlTable>div{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#method .dlTable>div dt{
    flex: 0 1 250px;
    background: #F7F7F7;
    padding: 15px 10px;
    border-bottom: solid 1px #ccc;
    font-weight: 700;
}

@media screen and (max-width:599px) {
#method .dlTable>div dt{
    flex: 0 1 100%;
}
}

#method .dlTable>div dd{
    flex: 0 1 calc(100% - 250px);
    padding: 15px 10px;
    border-bottom: solid 1px #ccc;
    margin: 0;
}

@media screen and (max-width:599px) {
#method .dlTable>div dd{
    flex: 0 1 100%;
}
}

/* ----------
サブコメント
-------------*/
.subComment img{
    width: auto;
    display: block;
}



/*************************************************************

レビューエリア

*************************************************************/
#product_review_area{
    border-top: none !important;
    margin-bottom: 75px !important;
}

#product_review_area .recommend_average{
    color: #FF7C2B !important;
}

#product_review_area .ec-inlineBtn--action{
    background: var(--DenkichiRed);
}

#product_review_area .ec-rectHeading h4{
    font-size: 24px;
    font-weight: 700;
    padding-left: 25px;
    padding-bottom: 10px;
    padding-top: 0;
    position: relative;
    margin-bottom: 20px;
    border-bottom: solid 1px #8C8C8C;
    background: none;
}

@media screen and (max-width:599px) {
    #product_review_area .ec-rectHeading h4{
        font-size: 20px;
    }
}

@media screen and (max-width:400px) {
    #product_review_area .ec-rectHeading h4{
        font-size: 16px;
    }
}

#product_review_area .ec-rectHeading h4::before {
    content: "";
    width: 20px;
    height: 20px;
    background: url(/html/user_data/assets/img/common/ICO_h2.svg) no-repeat left top;
    position: absolute;
    left: 0;
    top: 6px;
}

@media screen and (max-width:400px) {
    #product_review_area .ec-rectHeading h4::before {
        top: 0;
    }
}

#product_review_area #reviewContent{
    margin-bottom: 20px;
}

/*************************************************************

カートエリア

*************************************************************/
.cartArea.sec>.inner{
    position: sticky;
    top: 160px;
    left: 0;
    width: 100%;
    background: #F7F7F7;
    padding: 20px;
    border-radius: 5px;
    margin: 0;
    max-width: none;
}
.ec-productRole .ec-productRole__actions .ec-select select{
    min-width: auto;
    height: auto;
}
.ec-productRole .ec-productRole__actions{
    padding: 0;
}
.cop label{
    margin-bottom: 0;
}

@media screen and (max-width:1024px) {
.cartArea.sec>.inner{
        position: static;
    }
}

.cartArea select{
    background: #fff;
    width: 100%;
}

@media screen and (max-width:1024px) {
    .cartArea select{
        width: 100%;
    }
}

@media screen and (max-width:599px) {
    .cartArea select{
        width: 100%;
    }
}

.cartArea .cartBT{
    text-align: center;
    background: var(--DenkichiRed);
    color: #fff;
    width: 100%;
    padding: 20px;
    transition: .3s;
    border-radius: 5px;
    font-weight: 700;
}
.cartArea .cartBT>div{
    color: #fff;
}

.cartArea .cartBT:hover{
    opacity: .5;
}



/*************************************************************

こんな商品もチェックされています

*************************************************************/
#RelatedProduct-product_area{
    max-width: calc(100% - 40px);
    padding: 0;
}

@media screen and (max-width:1300px) {
    #RelatedProduct-product_area{
        max-width: none;
        padding: 0 15px;
    }
}

@media screen and (max-width:599px) {
    #RelatedProduct-product_area{
    padding: 0 10px;
}
}

#RelatedProduct-product_area.ec-shelfRole{
}




/*************************************************************

SP追従カートボタン

*************************************************************/
@media screen and (max-width:1025px){
    .ec-productRole__btn,
    .cartBT.cartBT_fixed{
        display: none;
    }
}


.cartBT.cartBT_fixed{
    position: fixed;
    bottom: 0;
    right: 10px;
    left: auto;
    bottom: 10px;
    z-index: 100;
    margin: 0 auto;
    transition: 0.3s;
    opacity: 0;
    pointer-events: none;
    border: 2px solid #fff;
    padding: 10px;
    font-size: 14px;
    max-width: 50%;
}

.cartBT.cartBT_fixed.visivle{
    display: block;
    transition: 0.3s;
    opacity: 1;
    pointer-events: auto;
}


.cartBT.cartBT_fixed>a{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--DenkichiRed);
    padding: 20px 10px;
    position: relative;
    font-weight: 700;
}

.cartBT.cartBT_fixed>a::before{
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0,-50%) rotate(45deg);
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    width: 8px;
    height: 8px;
}

.cartBT.cartBT_fixed>a img{
    margin-right: 5px;
}

.ec-productRole__btn.visivle {
    display: block;
    position: fixed;
    background: #fff;
    width: 100vw !important;
    z-index: 1;
    margin: 0 calc(50vw - 50%);
    left: 0;
    bottom: 0;
    padding: 10px;
    filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.3));
}
.ec-productRole__btn.visivle .price{
    max-width: 50%;
}

.ec-productRole__btn.visivle .price02-default span{
    font-size: 18px;
}
.ec-productRole__btn.visivle .price .point{
    font-size: 14px;
}
.add-cart img{
    width: 1.2rem !important;
}

.cartBT.cartBT_fixed .ec-cartNavi__badge{
    background: var(--MainFontColor);
    font-size: 12px;
}

/* ------------
    クーポン
----------------*/
.product-detail-coupon-wrap {
    display: flex;
    flex-wrap: wrap;
    flex: 0 1;
}
.product-detail-coupon-wrap *{
    color: var(--DenkichiRed);
    text-align: center;
}
.product-detail-coupon-wrap .product-detail-coupon-box{
    border: 2px solid var(--DenkichiRed) !important;
    padding: 10px;
    border-radius: 3px;
    background: #fff;
    width: calc(100% / 2 - 10px);
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}
.product-detail-coupon-wrap .product-detail-coupon-box:not(:last-of-type){
    margin-right: 10px;
}
.product-detail-coupon-wrap .coupon-main{
    border-bottom: 1px solid var(--DenkichiRed);
    margin-bottom: 5px;
    padding-bottom: 5px;
}
.product-detail-coupon-wrap .coupon-conditions{
    font-weight: 600;
    color: var(--DenkichiHeaderColor);
}
.product-detail-coupon-wrap .coupon-name{
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    color: var(--DenkichiHeaderColor);
}
.product-detail-coupon-wrap .coupon-price span{
    font-size: 22px;
    font-weight: 600;
}
.product-detail-coupon-wrap .coupon-limit{
    font-weight: 600;
}

@media screen and (max-width:1090px) and (min-width:1025px){
    .product-detail-coupon-wrap .product-detail-coupon-box{
        width: 100%;
    }
    .product-detail-coupon-wrap .product-detail-coupon-box:not(:last-of-type){
        margin-right: 0;
    }
}
@media screen and (max-width:599px){
    .product-detail-coupon-wrap .product-detail-coupon-box{
        width: 100%;
        min-width: auto;
    }
    .product-detail-coupon-wrap .product-detail-coupon-box:not(:last-of-type){
        margin-right: 0;
    }
    .product-detail-coupon-wrap .coupon-price span{
        font-size: 20px;
    }
}
/*************************************************************

関連商品

*************************************************************/
#RelatedProduct-product_area .detail_box{
    border-bottom: dotted 2px #ccc;
    padding-bottom: 10px;
}
#RelatedProduct-product_area .review_and_favorite{
    justify-content: start;
}
#RelatedProduct-product_area .review_and_favorite .review{
    color: #FF7C2B;
}
@media screen and (max-width:767px){
    #RelatedProduct-product_area .ec-shelfGrid__item{
        width: 100%;
        flex-direction: row;
        gap: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        display: flex !important;
    }
    #RelatedProduct-product_area .ec-shelfGrid .image{
        width: 40%;
    }
    #RelatedProduct-product_area .ec-shelfGrid .image>p{
        aspect-ratio: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    #RelatedProduct-product_area .ec-shelfGrid .detail_box{
        width: 60%;
    }
}
/*************************************************************

動画

*************************************************************/
.apg_video_youtube{
    margin: 20px 0;
}