@charset "utf-8";

.products__wrapper {
    padding: 0 var(--contentPadding);
}

.article--productsUsed .products__group {
    margin-top: 200px;
    padding: 0;
}

.products__list {
    display: flex;
    justify-content: center;
}

/* 初期：両方とも薄い線 */
.products__link {
    width: 50%;
    border-bottom: solid 1px #DAD1C8;
}

/* 選択中（used.html または dress.html の対応）だけ濃く */
.products__link.active {
    border-color: var(--primary-darkbrown);
}

.products__link a {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}

/* 文字色の変更 */
.products__link.active a .products__deco,
.products__link.active a .products__topic,
.products__link:not(.active):hover a .products__deco,
.products__link:not(.active):hover a .products__topic {
    color: var(--primary-darkbrown);
}

.products__deco {
    color: #DAD1C8;
    text-align: center;
    font-family: "EB Garamond";
    font-size: 1.3rem;
}

.products__topic {
    color: #DAD1C8;
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 1.8rem;
}

.products__deco,
.products__topic{
    transition: 0.3s;
}

.products__mainGroup {
    margin-top: 70px;
}

.products__fr {
    color: var(--primary-exlightbrown);
    text-align: center;
    font-family: "EB Garamond";
    font-size: 1.1rem;
}

.products__mainTopic {
    margin-top: 5px;
    color: var(--primary-darkbrown);
    text-align: center;
    font-family: "Shippori Mincho";
    font-size: 2rem;
}

.products__explain {
    margin-top: 40px;
}

.products__inner {
    margin-top: 30px;
    color: var(--primary-darkbrown);
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.3rem;
    line-height: 2.6rem;
}

.products__inner:first-of-type {
    margin-top: 0;
}

.products__question {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.questionLink {
    color: var(--primary-darkbrown);
    text-align: center;
    font-family: "Zen Kaku Gothic New";
    font-size: 1.3rem;
    transition: 0.3s;
}

.questionLink:hover {
    color: var(--primary-exlightbrown);
}

.products__border {
    display: block;
    margin: 5px auto 0;
    border-bottom: solid 1px var(--primary-exlightbrown);
    width: 135px;
}

.products__photo {
    margin-top: 50px;
}

/* li 100%に対して画像の比率を決める　margin-light autoで右寄せ */
.products__photo img {
    display: block;
}

.products__photo1 {
    width: 78.85%;
    margin-left: auto;
}

.products__photo2 {
    margin-top: 100px;
    width: 53.7%;
}

.products__photo3 {
    width: 46.28%;
    margin-left: auto;
}

.products__photo4 {
    margin-top: 100px;
    width: 79.14%;
}

.products__photo5 {
    margin: 100px 0 0 auto;
    width: 78.57%;
}

.products__photo6 {
    margin: 100px auto 0;
    width: 63.42%;
}

.products__photo7 {
    margin-top: 100px;
    width: 63.14%;
}

.products__photo8 {
    margin: 100px 0 0 auto;
    width: 63.42%;
}

.products__photo9 {
    width: 36.85%;
}

/* products pc */

@media screen and (min-width: 769px) {
    .products__wrapper {
        padding: 0 var(--contentPaddingPc);
    }

    .spBr {
        display: none;
    }

    .article--productsUsed .products__group {
        margin-top: 300px;
        padding: 0;
    }

    .products__list {
        display: flex;
        justify-content: space-around;
    }

    .products__deco {
        font-size: 1.6rem;
    }

    .products__topic {
        font-size: 2.4rem;
    }

    .products__mainGroup {
        margin-top: 120px;
    }

    .products__fr {
        font-size: 1.3rem;
    }

    .products__mainTopic {
        margin-top: 20px;
        font-size: 2.8rem;
    }

    .products__explain {
        margin-top: 60px;
    }

    .products__inner {
        font-size: 1.6rem;
        line-height: 3.2rem;
    }

    .products__question {
        margin-top: 60px;
    }

    .questionLink {
        font-size: 1.6rem;
    }

    .products__border {
        width: 166px;
    }

    .products__photo {
        margin-top: 120px;
    }

    .products__photo1 {
        width: 42.63%;
    }

    .products__photo2 {
        width: 40.17%;
        margin-top: -20vw;
    }

    .products__photo3 {
        width: 34.82%;
        margin-left: 40%;
    }

    .products__photo4{
        width: 42.8%;
        margin-top: 14.5vw;
    }

    .products__photo5 {
        width: 42.45%;
        margin: -48vw 0 0 auto;
    }

    .products__photo6 {
        width: 34.03%;
        margin: 39vw 0 0 0;
    }

    .products__photo7 {
        width: 34.29%;
        margin: -50vw 0 0 51.04%;
    }

    .products__photo8 {
        width: 48.77%;
        margin: 18.5vw 0 0 auto;
    }

    .products__photo9 {
        width: 28.33%;
        margin-left: 23%;
    }
}

