/* contentに表示するcss */
body{
    overflow-x: hidden;
    --TTT:calc(24px + 24 * ((100vw - 576px) / 1104));
}
main {
    max-width: 1680px;
    margin: auto;
}
/* 枠の横幅のサイズ */
article{
    margin: 0 auto;
    text-align: center;
}
article.size100{
    width: 100%;
}
article.size90{
    width: 90%;
}
article.size80{
    width: 80%;
}
article.size76{
    width: 76%;
}
article.size70{
    width: 70%;
}

article.size60{
    width: 60%;
}
article.size55{
    width: 55%;
}

/* テキストサイズ */
article h2{
    font-family: "p22-underground", Helvetica, Arial, Meiryo, "游ゴシック", YuGothic, "游ゴシック体", "Hiragino Kaku Gothic ProN", sans-serif;
    font-weight: 500;
    /*font-size: var(--TTT);*/
    font-size: calc(3.8rem - 1px);
    overflow: hidden;
    text-align: center;
    margin: 4rem 0;
}

article p{
    font-weight: 400;
    font-size: 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

/* 2つ項目を表示しているアレの表示 */
.twoItem{
    width: 100%;
    display: flex;
    background-color: #f5f6f7;
}
.twoItem > div{
    width: 50%;
}
.twoItem img{
    width: 100%;
    height: 100%;
}
.twoItem div.uText{
    display: grid;
    justify-items: center;
    align-content: center;
    font-size: var(--TTT);
    padding: 4rem;
}
.twoItem > div.uText.sp{
    display: none;
}

/* ----------- 商品の表示 ----------- */
.productContainer{
    position: relative;
    overflow: visible;
    margin: 1px;
}

/* 戻る・進むボタン */
.productContainer button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.productContainer button::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 1px solid black;
    border-right: 1px solid black;
    position: absolute;
    top: 50%;
    left: 50%;
}
.productContainer button:hover {
    width: 36px;
    height: 36px;
    border: 1px solid black;
    border-radius: 50%;
}
.productContainer button.prev{
    left: -30px;
}
.productContainer button.prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}
.productContainer button.next{
    right: -30px;
}
.productContainer button.next::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* 商品表示 */
.productContainer ul{
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    justify-content: space-between;
    padding: 0;
    margin: 0 1px;
    text-align: start;
}

.productContainer li{
    background: #f5f6f7;
    list-style: none;
    margin: 10px;
    flex: 0 0 calc(25% - 20px);
}
.productContainer li > .tag {
    font-size: 12px;
    margin: 20px 20px 0 20px;
    padding: 5px 0;
}
.productContainer li > img {
    padding: 0 20px 20px 20px;
}
.productContainer li > .brand {
    font-size: 12px;
    margin: 0 20px;
}
.productContainer li > .name {
    font-size: 16px;
    font-weight: bold;
    margin: 20px;
    height: 3em;
}
.productContainer li > .price {
    font-size: 14px;
    margin: 20px;
}
.productContainer li > a {
    display: block;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: #111;
    padding: 20px 0;
    margin: 20px;
}

.productContainer li.blank {
    background-color: transparent;
}

@media screen and (max-width: 768px) {
    .productContainer button{
        display: none;
    }

    div.productContainer li{
        flex: 0 0 calc(50% - 2px);
        margin: 1px;
    }
    .productContainer li > .tag,
    .productContainer li > .brand {
        font-size: 10px;
    }
    .productContainer li > img {
        margin-bottom: 0;
    }
    .productContainer li > .name ,
    .productContainer li > .price {
        font-size: 12px;
    }
    .productContainer li > a {
        padding: 10px;
        margin: 10px 10px 10px 10px;
    }

    .product-slider-pagination {
        width: 80%;
        display: flex;
        justify-content: center;
        margin: 10px auto;
    }
    
    .product-slider-pagination span {
        display: inline-block;
        width: 100%;
        height: 4px;
        margin: 0 5px;
        background-color: #b8bec4;
        cursor: pointer;
    }
    
    .product-slider-pagination .active {
        background-color: #000;
    }
}

@media (max-width: 992px) {
    .twoItem{
        display: grid;
    }
    .twoItem > div.uText.pc{
        display: none;
    }
    .twoItem > div.uText.sp{
        display: grid;
    }
    .twoItem > div{
        width: 100%;
    }
    
    .productContainer li {
        flex: 0 0 calc(25% - 2px);
        margin: 1px;
    }
}

/*
.Item4{
    display:flex;
}
.Item4 > div{
    background: #f5f6f7;
    margin: 1rem;
    width: 25%;
    display: grid;
    justify-items: center;
}
.Item4 > div > a{
    font-size: 1.125em;
    display: block;
    background-color: black;
    color: white;
    text-align: center;
    width: 90%;
    font-weight: 800;
    padding: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.Item4 > div > p{
    width: 90%;
    margin-bottom: 1rem;
}
.Item4 > div > p.title {
    font-size: 1.38rem;
    font-weight: bold;
}
.Item4 img{
    max-width: 80%;
    margin-top: 2rem;
}
iframe {
    width: 100%;
    height: 40vw;
}
*/

/* 商品表示Ver2 */
.PJItems{
    position: relative;
}

.PJcontainer{
    overflow: hidden;
}

.PJcontainer > ul{
    display: flex;
    scroll-behavior: smooth;
    justify-content: space-between;
    padding: 0;
    margin: 0 1px;
    text-align: start;
}
.PJcontainer > ul > li{
    /*border: 1px solid black;*/
    padding: 0;
    background: #f5f6f7;
    list-style: none;
}

.PJcontainer > ul > li img {
    padding: 20px 20px 20px 20px;
}
.PJcontainer > ul > li .brand {
    font-size: 12px;
    margin: 0 20px;
}
.PJcontainer > ul > li .name {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 20px;
    height: 6em;
}
.PJcontainer > ul > li .price {
    font-size: 14px;
    margin: 20px;
}

.PJcontainer > ul > li a{
    display: block;
    font-weight: bold;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background: #111;
    padding: 20px 0;
    margin: 20px;
}

.PJItems > div.button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.PJItems > div.button::before{
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-top: 1px solid black;
    border-right: 1px solid black;
    position: absolute;
    top: 50%;
    left: 50%;
}

.PJItems div.button:hover {
    width: 36px;
    height: 36px;
    border: 1px solid black;
    border-radius: 50%;
}

.PJItems .prev {
    left: -30px;
}
.PJItems div.prev::before {
    transform: translate(-50%, -50%) rotate(-135deg);
}

.PJItems .next {
    right: -30px;
}
.PJItems div.next::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.PJcontainer .page {
    display:none;
}

@media screen and (max-width: 768px) {
    .PJcontainer .page {
        width: 80%;
        display: flex;
        justify-content: center;
        margin: 2rem auto;
    }

    .PJcontainer .page span {
        display: inline-block;
        width: 100%;
        height: 4px;
        margin: 0 5px;
        background-color: #b8bec4;
        cursor: pointer;
        border-radius: 0;
    }

    .PJcontainer .page .active {
        background-color: #000;
    }
}

/* MA用 */
.MA_NextButton{
    text-decoration: none;
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: 10000px;
    padding: 0.75em 1.5em;
    font-size: 1.6em;
}

.MA_NextButton:hover{
    background: black!important;
    color: white!important;
}

@media screen and (max-width: 768px) {
    .MA_NextButton{
        font-size: 1.2em;
    }
}