/* 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.size40 {
    width: 40%;
}

/* テキストサイズ */
article h2 {
    font-weight: 500;
    overflow: hidden;
    text-align: center;
    margin: 4rem 0;
}

article p {
    font-weight: 400;

    text-align: center;
    margin: 2rem 0;
}

/* 2つ項目を表示しているアレの表示 */
.twoItem {
    width: 100%;
    display: flex;
    background-color: white;
}

.twoItem>div {
    width: 50%;
}

.twoItem img {
    width: 100%;
    height: 100%;
}

.twoItem div.uText {
    display: grid;
    justify-items: center;
    align-content: center;

    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 {

    margin: 20px 20px 0 20px;
    padding: 5px 0;
}

.productContainer li>img {
    padding: 0 20px 20px 20px;
}

.productContainer li>.brand {

    margin: 0 20px;
}

.productContainer li>.name {

    font-weight: bold;
    margin: 20px;
    height: 3em;
}

.productContainer li>.price {

    margin: 20px;
}

.productContainer li>a {
    display: block;
    font-weight: bold;
    text-align: center;

    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>img {
        margin-bottom: 0;
    }

    .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;
    }
}

/* 商品表示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 {
    margin: 0 20px;
}

.PJcontainer>ul>li .name {
    font-weight: bold;
    margin: 10px 20px;
    height: 6em;
}

.PJcontainer>ul>li .price {
    margin: 20px;
}

.PJcontainer>ul>li a {
    display: block;
    font-weight: bold;
    text-align: center;
    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;
    }
}