/* カスタマイズ用CSS */

/* --------------------
共通
----------------------- */
.fwb {
    font-weight: 700;
}

.item_maker,
.item_name {
    font-size: clamp(10px, 2.5vw, 12px); 
    overflow: hidden;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #303030;
}

.item_price,
#page_homepage .topNewItem .item_list .Shop_new_item__list li a .price02-default,
#page_homepage .topBrandList .ec-shelfGrid__item a .price02-default {
    font-size: clamp(14px, 2.5vw, 18px);
    color: #ed1c24;
}

.item_tag {
    font-size: clamp(10px, 2.5vw, 12px);
}

#page_homepage .topNewItem .item_list .Shop_new_item__list li .ec-shelfRole__tags li,
#page_homepage .topBrandList .ec-shelfRole__tags li {
    font-size: clamp(10px, 2.5vw, 12px); 
}

/* --------------------
トップページ
----------------------- */
#page_homepage .topCampaign,
#page_homepage .topRanking {
    max-width: 1230px;
    padding: 0 5%;
}

@media only screen and (max-width: 781px) {
    #page_homepage .topCampaign div {
        margin: 1em 0;
    }
}

@media only screen and (min-width: 1300px) {
    #page_homepage .topCampaign,
    #page_homepage .topRanking {
        padding: 0 20px;
    }
    
    #page_homepage .topCampaign div {
        padding: .5em;
    }
}

#page_homepage .topCampaign div a {
    font-size: clamp(12px, 2.5vw, 25px);
    font-weight: 500;
}

#page_homepage .ec-searchRole .ec-searchDetailRole {
    max-width: 1190px;
}

/* ---------------------------------
トップページ 新着商品
------------------------------------ */
#page_homepage .topNewItem .item_list .Shop_new_item__list li .ec-shelfRole__tags li {
    width: 100%;
    margin-bottom: 0;
}

/* ---------------------------------
トップページ ランキングタブ
------------------------------------ */
.topRanking {
    margin-top: 5em;
    margin-bottom: 7em;
}

.tabRank-group{
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -webkit-justify-content: space-evenly;
    -moz-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    margin-bottom: 2em;
}

.tabRank{
    text-align:center;
    cursor:pointer;
}

.Rankpanel{
    display:none;
}

.Rankpanel.show{
    display:block;
}

.topRanking .tabRank-group .tabRank {
    position: relative;
}

.topRanking .tabRank-group .tabRank.active:after {
    display: inline-block;
    content: "";
    width: 50px;
    position: absolute;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.topRanking .tabRank-group .tab-C.active::after {
    border-bottom: 2px solid #cc1f1f;
}

.topRanking .tabRank-group .tab-D.active::after {
    border-bottom: 2px solid #1a7a99;
}

.ranking_item__list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
     -ms-flex-pack: distribute;
    justify-content: space-between;
}

.ranking_item__list {
    gap: 10vw 4vw;
}

.ranking_item__list::before {
    content:"";
    display: block;
    width:20%;
    order:1;
}

.ranking_item__list::after {
    content:"";
    display: block;
    width:20%;
}

.ranking_item__list .ec-shelfGrid__item {
    width: 30%;
    counter-increment: num 1;
}

@media only screen and (min-width: 482px) {
    .ranking_item__list .ec-shelfGrid__item {
        /*width: calc((100% - 6vw) / 3 );*/
        width: 30%;
    }
    
    .ranking_item__list {
        gap: 5vw 2vw;
    }
}

@media only screen and (min-width: 768px) {
    .ranking_item__list .ec-shelfGrid__item {
        width: 20%;
    }
}

.badge-ranking::before {
    content: counter(num);
}

.ranking_item__list .ec-shelfGrid__item a,
.ranking_item__list .ec-shelfGrid__item a .product_listItem__image {
    display: block;
}

.ranking_item__list .ec-shelfGrid__item a .product_listItem__image {
    position: relative;
}

.ranking_item__list .badge-ranking {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    font-size: clamp(11px, 2.5vw, 15px); 
    line-height: 1;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #808080;
    background-color: #e6e6e6;
}

.ec-shelfGrid__item:nth-child(1) .badge-ranking { 
    background: url(/shop/html/template/granMaykies/assets/images/icon_rank_one.svg) no-repeat;
    background-size: contain;
    color: #fff;
    width: 30px;
    height: 30px;
    padding-top: .4em;
}

.ec-shelfGrid__item:nth-child(2) .badge-ranking { 
    background: url(/shop/html/template/granMaykies/assets/images/icon_rank_two.svg) no-repeat;
    background-size: contain;
    color: #fff;
    width: 30px;
    height: 30px;
    padding-top: .4em;
}

.ec-shelfGrid__item:nth-child(3) .badge-ranking { 
    background: url(/shop/html/template/granMaykies/assets/images/icon_rank_three.svg) no-repeat;
    background-size: contain;
    color: #fff;
    width: 30px;
    height: 30px;
    padding-top: .4em;
}

@media only screen and (min-width: 482px) {
    .ranking_item__list .badge-ranking {
        width: 30px;
        height: 30px;
    }
    
    .ec-shelfGrid__item:nth-child(1) .badge-ranking,
    .ec-shelfGrid__item:nth-child(2) .badge-ranking,
    .ec-shelfGrid__item:nth-child(3) .badge-ranking{
        width: 40px;
        height: 40px;
        padding-top: .5em;
    }
}

.ranking_item__list .tags {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

#page_homepage .topRanking .link  {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

/* ---------------------------------
トップページ ブランドピックアップ
------------------------------------ */
#page_homepage .topBrandList {
    max-width: 1230px;
    padding: 0 5%;
}

#page_homepage .topBrandList .ec-shelfGrid__item {
    max-width: 200px;
}

#page_homepage .brand__sp__link {
    position: relative;
}

#page_homepage .brand__sp__link::before {
    background-color: #303030;
    bottom: 0;
    clip-path: polygon(0 0, 0 100%, 100% 50%);
    content: "";
    height: 12px;
    margin: auto;
    position: absolute;
    right: -20px;
    top: 0;
    width: 10px;
}

#page_homepage .brand__sp__link::after {
    content: "";
    display: block;
    width: 110%;
    height: 1px;
    background-color: #303030;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media only screen and (max-width: 481px) {
    #page_homepage .brand__sp__link {
       display: inline-block;
       margin: .3em 0;
    }
}

#page_homepage .topBrandList__wrap .brand__Heading .brand__sp__link a {
    font-size: clamp(12px, 2.5vw, 14px); 
}

/* --------------------
トップページここ迄
----------------------- */
/* --------------------
下層ページ
----------------------- */
/* ---------------------------------
下層キャンペーン
------------------------------------ */
.productCampaign .brown {
    background-color: #998675;
}

/* --------------------
商品一覧ページ
----------------------- */
/*#page_product_list .product_listItem__image {*/
/*    position: relative;*/
/*}*/

#page_product_list .ec-shelfRole__tags {
    /*position: relative;*/
    /*bottom: 10%;*/
    /*margin-bottom: -10%;*/
    padding-bottom: 0;
    
}

.ec-shelfRole .ec-shelfRole__tag {
    border-radius: 0;
}

.ec-shelfGrid .ec-shelfGrid__item .price02-default {
    color: #ed1c24;
}

/* --------------------
商品詳細ページ
----------------------- */
.productCampaign,
.breadcrumb {
    width: 100%;
    max-width: 1130px;
    margin-left: auto;
    margin-right: auto;
} 

.breadcrumb a {
    color: #00a99d;
}

.ec-productRole .ec-productRole__profile .ec-productRole__maker a {
    color: #303030;
    text-decoration: none !important;
    font-weight: 400;
}

.ec-productRole .ec-productRole__title .ec-headingTitle {
    font-size: clamp(20px, 2.5vw, 28px); 
}

@media only screen and (min-width: 768px) {
.ec-productRole .ec-productRole__price {
    padding: 0 0 .5em 0;
    }
}

.ec-price .ec-price__price {
    font-size: clamp(20px, 5vw, 40px);
    font-weight: 500;
    padding: 0;
}

.ec-price .ec-price__price,
.ec-price .ec-price__tax {
    color: #ed1c24;
}

.ec-point__point point-default {
    padding-right: .2em;
}

.ec-productRole .add-cart {
    border-radius: 10px;
}

#page_product_detail .hsd-badge {
    font-size: 15px !important;
    font-weight: 400 !important;
    padding: .5em 2em !important;
    margin-right: 1.5em;
}

.loupeImage {
    position: absolute;
    padding: 0;
    bottom: 0;
    right: 0;
    width: 60px;
}

/*.xzoom:hover　~ .loupeImage {*/
/*    opacity: 0;*/
/*}*/

.ec-productRole .ec-productRole__tag {
    font-size: 18px;
    font-weight: 400;
}

/*.favIcon {*/
/*    width: 20%;*/
/*}*/

/*.favIcon form {*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*}*/


@media only screen and (min-width: 482px) {
    .ec-productRole .ec-productRole__content .middleInfo .right {
        margin: 0 0 0 2%;
    }
}

@media only screen and (min-width: 768px) {
    .ec-productRole .ec-productRole__btn {
        width: 100%;
    }
}

#page_product_detail .ec-blockBtn--action {
    height: 68px;
    line-height: 68px;
    font-size: clamp(14px, 2.5vw, 20px);
}

.ec-productRole .ec-productRole__content {
    max-width: 100%;
}

@media only screen and (min-width: 768px) {
    .ec-productRole .ec-productRole__content {
        max-width: 450px;
    }
}

/*#page_product_detail .ec-productRole__description .descriptionTitle {*/
/*    color: #FFFFFF;*/
/*    background: #333333;*/
/*    -webkit-border-radius: 6px 6px 0 0;*/
/*    -moz-border-radius: 6px 6px 0 0;*/
/*    border-radius: 6px 6px 0 0;*/
/*    text-align: center;*/
/*    font-size: clamp(14px, 3.5vw, 16px);*/
/*}*/

/*#page_product_detail .ec-productRole__description {*/
/*    position: relative;*/
/*    border: none;*/
/*}*/

/*#page_product_detail .ec-productRole__description::before {*/
/*    content: "";*/
/*    display: block;*/
/*    -webkit-box-sizing: border-box;*/
/*    box-sizing: border-box;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border: 1px solid #707070;*/
/*    border-radius: 6px;*/
/*}*/



/* タブの切り替え*/
/* タブの表示・非表示 */
[data-tab-content]{
  display: none
}

[data-tab-content].active{
  display: block;
}

/* タブの見出し */
.someTabs nav.tabs__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    /*box-shadow: 0 7px 34px rgb(50 50 93 / 10%), 0 3px 6px rgb(0 0 0 / 8%);*/
}

.someTabs a.tabs__item {
    font-size: clamp(12px, 2.5vw, 14px);
    display: inline-block;
    width: 48%;
    text-align: center;
    transition: all 0.2s ease;
    padding: .5em;
    text-decoration: none;
    background: #fff;
    color: #333;
    border-radius: 10px 10px 0 0;
    border: 1px solid #333;
    border-bottom: none;
}

.someTabs a.tabs__item.active {
    background: #333;
    color: #fff;
}

.someTabs .tabs__body {
    border: 1px solid #333;
}


/*サイズ表テーブル*/
.tg {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}

.tg td {
font-family: Arial, sans-serif;
font-size: clamp(12px, 2.5vw, 14px);
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}

.tg th {
font-family: Arial, sans-serif;
font-size: clamp(12px, 2.5vw, 14px);
font-weight: normal;
overflow: hidden;
padding: 10px 5px;
word-break: normal;
}

.tg .r_size_th {
font-weight: bold;
text-align: left;
vertical-align: top;
color: #656565;
border: 1px solid #f3f3f3;
}

.tg .r_size_td.bg {
background-color: #efefef;
text-align: left;
vertical-align: top;
color: #656565;
border: 1px solid #f3f3f3;
}

.tg .r_size_td {
text-align: left;
vertical-align: top;
border: 1px solid #f3f3f3;
}

.tg-wrap {
  padding: 3px;
  line-height: 1.6;
  height: 400px;
  overflow-y: auto;
  vertical-align: top;
}

@media screen and (max-width: 767px) {
    .tg {
      width: auto !important;
    }
    
    .tg col {
      width: auto !important;
    }
    
    .tg-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
    }
}