@charset "UTF-8";
/* CSS Document */

@import "common.css";

/* PRESS */

.contents-header {
    background: url("../collection/images/header-img.jpg") center/cover no-repeat;
    height: 280px;
}
#contents {
    background-color: var(--main-color);
    color: var(--sub-color);
}
#contents p {
    color: var(--sub-color);
    line-height: 1.8;
    margin-bottom: 20px;
}
#collection-list {
    width: 86%;
    max-width: 1000px;
    margin: 60px auto 0;
}
figure {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 100px auto;
}
figure img {
    width: 50%;
}
figcaption {
    font-size: 1.2rem;
    color: var(--sub-color);
    border-bottom: 1px solid var(--sub-color);
    padding-bottom: 40px;
    line-height: 1.8;
    width: 45%;
}
figcaption .item-name {
    font-weight: 500;
    display: block;
    font-size: 1.4rem;
}
.reverse {
    flex-direction: row-reverse;
}

@media screen and (max-width: 1200px) {
    
    figure:last-child {
        margin: 100px auto 0;
    }
}
@media screen and (max-width: 767px) {
    
    .contents-header h2 {
        margin-bottom: 0;
    }
    figure {
        margin: 80px auto;
        flex-direction: column;
    }
    figure img {
        width: 100%;
        margin-bottom: 20px;
    }
    figcaption {
        width: 100%;
    }
    .reverse {
        flex-direction: column;
    }
}