@charset "utf-8";

#items {
    width: 80%;
    margin: 0 auto;
    padding-top: 100px;
    text-align: center;
}


#items h2 {
    font-size: 28px;
}

#items p {
    margin-top: 10px;
}

/* パララックスエリア */

.parallax {
    height: 300px;
    width: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    -webkit-overflow-scrolling: touch;
    background-image: url(../img/itemtop.jpg);
    margin-top: 50px;
}

#item-info {
    width: 80%;
    margin: 0 auto;
    margin-top: 100px;
    text-align: center;
    opacity: 0;
    transition: 1.5s;

}
#item-info.is-show {
    opacity: 1;
}

#item-info p:last-child {
    margin-top: 30px;
}

/* アイテムエリア */
.flex-items {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.inner-flex {
    display: flex;
    width: 40%;
    margin-top: 50px;
    justify-content: space-between;
    align-items: center;

}

.inner-flex img {
    width: 50%;
    height: 100%;
}

.items-inner {
    width: 45%;
}

.items-inner img {
    width: 70%;
    min-width: 85px;
    height: 100%;
    padding: 10px 0;
}

img.mod-img {
    width: 30%;
    height: 100%;
}

.remodal {
    line-height: 2.5;
}

.remodal p {
    text-align: left;
}

img.item-img:hover {
    opacity: 0.8;
}

@media (max-width:600px){
    .parallax {
        height: 150px;
        width: auto;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        background-size: cover;
        /* -webkit-overflow-scrolling: touch; */
        margin-top: 100px;

    }    
    #item-info {
        width: 80%;
        margin: 0 auto;
        margin-top: 50px;
    }
    #item-info p:last-child {
        margin-top: 15px;
    }
    .flex-items {
        width: 90%;
        margin-top: 20px;
    }
    .inner-flex {
        flex-direction: column;
        margin-top: 10px;
        width: 50%;
        padding: 0 10px;

    }
    .inner-flex img {
        width: 100%;
        height: auto;
    }
    .items-inner {
        width: 100%;

    }
    img.more {
        padding: 0;
    }
    
    .remodal {
        line-height: 2;
    }
}