@charset "UTF-8";

main {
    margin: 0 auto;
    text-align: center;
}

.look-book-container {
    max-width: 1200px;
    margin: 200px auto ;
}

.look-book__title {
    font-size: 50px;
    margin-top: 50px;
    padding-bottom: 5px;
    text-align: center;
    display: inline-block;
    border-bottom: 2px solid #d3aa7d;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s;
}

.look-book__title.show {
    transform: none;
    opacity: 1;
}

.look-book__date {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s;
}

.look-book__date.show {
    transform: none;
    opacity: 1;
}

.imageItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 100px;
}

.imageItem img {
    max-width: 600px;
    height: 400px;
    object-fit: contain;
    cursor: pointer;
}

.imageItem img:hover {
    cursor: pointer
}

.boxs {
    margin: 0;
}

.box1 {
    text-align: center;
    margin-top: 300px;
    transform: translateX(100px);
    opacity: 0;
    transition: all 1.5s;
}

.box1.show {
    opacity: 1;
    transform: none;
}

.box2 {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1.5s;
}

.box2.show {
    transform: none;
    opacity: 1;
}

.box3 {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1.5s;
}

.box3.show {
    transform: none;
    opacity: 1;
}

.box4 {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1.5s;
}

.box4.show {
    transform: none;
    opacity: 1;
}

.box5 {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1.5s;
}

.box5.show {
    transform: none;
    opacity: 1;
}

.box6 {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1.5s;
}

.box6.show {
    transform: none;
    opacity: 1;
}

.box7 {
    transform: translateX(100px);
    opacity: 0;
    transition: all 1.5s;
}

.box7.show {
    transform: none;
    opacity: 1;
}

.box8 {
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1.5s;
}

.box8.show {
    transform: none;
    opacity: 1;
}

/* ---------------------------------
画像をクリックすると拡大する
----------------------------------- */
.modal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
}

.modal img {
    display: inline-block;
    vertical-align: bottom;
    width: 70vw;
    height: 50vw;
    object-fit: contain;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;

}

.modal-description {
    width: 50%;
    height: 1.5rem;
    margin-top: 20px;
    background-color: #fff;
    border: 1px solid #171717;
    font-size: 1.0rem;
    color: #171717;
    z-index: 9999;
    border-radius: 5px;

    opacity: 0;
    visibility: hidden;
}

#close-btn {
    width: 200px;
    background: #aaa;
    color: #171717;
    font-size: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

/* ----------------画面スマホ幅(425px)以下の場合----------- */
@media screen and (max-width:425px) {
    .look-book-container {
        max-width: 300px;
        margin-top: 150px
    }

    .look-book__title {
        font-size: 1.5rem;
    }

    .imageItem img {
        width: 300px;
        height: 200px;
    }

    .box1 {
        margin-top: 100px
    }

    .modal {
        width: 100vw;
        padding: 0;
    }

    .modal-image img{
        width: 100vw;
    }

    .modal-description {
        display: inline-block;
        width: 300px;
        font-size: 0.75rem;
        padding: 0;
    }

    #close-btn {
        width: 50px;
        background: #aaa;
        color: #171717;
        font-size: 0.75rem;
        border-radius: 5px;
        cursor: pointer;

    }
}