@charset "UTF-8";
/*=====================================================================
　PC
 ※1rem = 16px
=====================================================================*/
body{
    
}

/* 共通
----------------------------------------------*/
#items main{
    margin: 0 auto;
    max-width: var(--inner-1200);
    padding: 3rem;
}

#items .el_humburger span.el_humburger_bar {
    background: #333;
}


/* 実質header
----------------------------------------------*/
#area-pankuzu{
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

/* パンくず */
.pankuzu{
    font-size: calc(var(--font-size) * 0.8);
}

/* 商品区分*/
.tag{
    align-items: center;
    background: var(--gradation-color);
    border-radius: 500px;
    color: var(--secondary-color);
    display: flex;
    font-size: calc(var(--font-size) * 0.8);
    padding: 0.25rem 1rem;
}

.tag .icon {
    height: auto;
    width: 0.5rem;
}
.icon.icon-left {
    margin-right: 0.5rem;
}
.icon.icon-right {
    margin-left: 0.5rem;
}

/* 商品詳細
----------------------------------------------*/
#area-item{
    background: var(--secondary-color);
    border-radius: 1rem;
    padding: 2rem;
}

.box-item{
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

/* img
------------------*/
.img{
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /*gap: 1rem;*/
    width: 100%;
}


/* スライド
----------*/
.swiper {
    height: 100%;
    height: 300px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.swiper-slide {
    align-items: center;
    aspect-ratio: 4 / 3;
    background-position: center;
    background-size: cover;
    display: flex;
    height: auto;
    justify-content: center;
    text-align: center;
}
.swiper-slide img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.mySwiper {
    box-sizing: border-box;
    height: 100%;    
    padding-top: 1rem;
}
.mySwiper .swiper-slide {
    aspect-ratio: 4 / 3;
    height: 100%;
    opacity: 0.4;
    opacity: 0.4;
    width: 100% !important;
}

/* 矢印 */
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after,
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
    color: #f7beb9;
    font-size: 2rem !important;
}

/* サムネイル */
.swiper-free-mode>.swiper-wrapper {
    box-sizing: border-box!important;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}
.mySwiper2 {
    border: 1px solid #2d2d2d12;
    height: 80%;
    height: auto;
    width: 100%;
}

.mySwiper .swiper-slide-thumb-active {
    border: 2px solid #fddcd6;
    opacity: 1!important;
}


/* txt
------------------*/
.txt{}
.txt .box{
    margin-bottom: 1.5rem;
}
.txt .box:first-of-type{
    margin-bottom: 2.5rem;
}
.txt .box:last-of-type{
    margin-bottom: 0;
}

.txt h3{
    font-size: calc(var(--font-size) * 1.35);
    margin-bottom: 1.5rem;
}

.txt .notes{
    margin-top: 0.5rem;
}

/* 下線 */
.js-marker {
    display: inline;
    position: relative;
    background-image: linear-gradient(90deg, #a6d1f08f, #d3cce69e, #f7beb999); /* 単色の場合は同じ色、グラデーションさせる場合は別々の色 */
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: 0 50%;
    transition: all 1s ease-in-out;
}

/* アニメーション発火時 */
.js-marker.inview {
    background-size: 100% 50%;/* '30%'の部分は上で設定した太さに合わせる */
}

/* 販売日 */
.tag-release{
    border: 2px solid;
    color: #f7beb9;
    display: inline-block;
    font-size: calc(var(--font-size) * 0.8);
    font-weight: bold;
    padding: 0 0.5rem;
}

/* テーブル
------------------*/
.product-table {
    border-collapse: collapse;
    font-family: sans-serif;
    font-size: calc(var(--font-size) * 0.8);
    width: 100%;
}

.product-table th,
.product-table td {
    border-bottom: 1px solid #fddcd6;
    line-height: 1.5;
    padding: 0.3rem 0.5rem 0.3rem;
    text-align: left;
}

.product-table thead tr:first-child th {
    background-color: #fddcd6;
    font-weight: bold;
    padding-left: 1em;
    text-align: left;
}

.product-table thead tr:nth-child(1) th {
    border-bottom: none;
}

/*
.product-table tbody tr:last-child td {
  border-bottom: none;
}
*/

/*=====================================================================
　850px以下
=====================================================================*/
@media screen and (max-width: 850px) {
    #items main {
        padding: 2rem 1.5rem;
    }
    
    /* 商品詳細
    ----------------------------------------------*/
    #area-item {
        border-radius: 0.4rem;
        padding: 1rem;
    }
    
    .box-item{
        grid-template-columns: 1fr;
    }
    
    /* img
    ------------------*/
    .img {
        grid-template-columns: auto;
    }
    
    /* サムネイル */
    .mySwiper{
        display: none;
    }
    
    /* txt
    ------------------*/
    .txt h3 {
        margin-bottom: 0.5rem;
    }
    
    /* テーブル
    ------------------*/
    .product-table td {
    display: block;
    width: 100%;
        padding: 0;
    position: relative;
  }

  .product-table td:first-child::before {
    content: "JANコード：";
    font-weight: bold;
  }

  .product-table td:last-child::before {
    content: "商品名：";
    font-weight: bold;
  }
    .product-table thead tr:nth-child(1) th{
        display: block;
        padding: 1rem 0.5rem;
    }
  .product-table thead tr:nth-child(2) {
    display: none;
  }
    .product-table th, .product-table td{
        border-bottom: none;
    }
  .product-table tr {
    display: block;
    margin-bottom: 0;
    border-bottom: 1px solid #fddcd6;
  }
    
    
    
    .product-table tbody tr{
        border-bottom: 1px solid #fddcd6;
        padding: 0.5rem;
    }
    
}

/*=====================================================================
　580px以下
=====================================================================*/
@media screen and (max-width: 580px) {
    #items main{
        padding: 1rem;
    }
    
    /* 実質header
    ----------------------------------------------*/
    #area-pankuzu{
        align-items: flex-start;
        flex-direction: column;
    }

    /* パンくず */
    .pankuzu{
        margin-bottom: 0.25rem;
    }

    /* 商品区分*/
    .tag{
        padding: 0rem 1rem;
    }
    
    /* 商品詳細
    ----------------------------------------------*/
    /* テーブル
    ------------------*/
    .product-table thead tr:nth-child(1) th{
        padding: 0.5rem;
    }
    
    /* txt
    ------------------*/
    .txt .box:first-of-type{
        margin-bottom: 1.5rem;
    }
    
}







