body {
    background: #cfcfcb
}

header h1 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200
}

main {
    padding-top: 115px;
    color: #fff
}

@media screen and (max-width: 428px) {
    main {
        padding-top: 73px
    }
}

main a {
    color: #fff
}

footer p {
    color: #fff
}

.js-fadeUp {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity .8s, transform .8s
}

.js-fadeUp.is-inview {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .5s
}

@keyframes hover {
    0% {
        opacity: 1
    }
    50% {
        opacity: .8
    }
    100% {
        opacity: 1
    }
}

#items {
    width: 100%;
    max-width: 1110px;
    padding-bottom: 200px;
    margin: 190px auto 0
}

@media screen and (max-width: 428px) {
    #items {
        margin-top: 70px;
        padding-bottom: 120px
    }
}

#items h2 {
    padding: 0 10px;
    font-family: "Inter", "Roboto", "Helvetica Neue", "Arial Nova", "Nimbus Sans", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2.5
}

#items div.photos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 5px
}

#items div.item {
    width: 100%
}

#items div.item.half {
    width: calc((100% - 5px) * .5)
}

#items div.item p.js-open-modal {
    position: relative;
    cursor: pointer
}

#items div.item p.js-open-modal::before, #items div.item p.js-open-modal::after {
    content: "";
    width: 24px;
    height: 1px;
    border-radius: .5px;
    position: absolute;
    bottom: 30px;
    right: 18px;
    background: #fff
}

#items div.item p.js-open-modal::after {
    transform: rotate(90deg)
}

#items div.item p.js-open-modal:hover {
    animation: hover .5s ease-in forwards
}

#items div.credits {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    margin-top: 100px
}

#items div.credits li {
    font-family: "Inter", "Roboto", "Helvetica Neue", "Arial Nova", "Nimbus Sans", "Arial", sans-serif;
    letter-spacing: .05em;
    line-height: 1.5
}

#items div.credits li:not(:last-child) {
    padding-bottom: 20px
}

#items div.credits li a {
    border-bottom: 1px solid #fff;
    text-decoration: none;
    transition: border-bottom-color, .3s
}

#items div.credits li a:hover {
    border-bottom-color: hsla(0, 0%, 100%, 0)
}

#lead {
    width: 100%;
    position: relative
}

#lead div.bg {
    width: 100%
}

#lead div.content {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding-top: 10%;
    position: absolute;
    top: 0;
    left: 0
}

#lead div.content h2, #lead div.content p {
    text-align: center;
    line-height: 1.8
}

#lead div.content h2 {
    margin-bottom: 1em;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .08em
}

#lead div.content p {
    letter-spacing: .09em;
    font-weight: 300
}

@media screen and (max-width: 428px) {
    #lead div.content {
        align-items: flex-start;
        height: 50%;
        padding-top: 0;
        top: auto;
        bottom: 0
    }

    #lead div.content h2, #lead div.content p {
        font-size: 14px;
        line-height: 1.6
    }

    #lead div.content h2 {
        margin-bottom: 2em
    }
}

#modal {
    width: 100%;
    height: 100svh;
    overflow-y: auto;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 900
}

#modal.close {
    display: none
}

#modal div.modalArea {
    position: relative
}

#modal div.closeArea {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    cursor: pointer
}

#modal .modalBoxes {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - 100px);
    max-width: 900px;
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    margin: 0 auto;
    pointer-events: none
}

@media screen and (max-width: 767px) {
    #modal .modalBoxes {
        max-width: 500px
    }
}

@media screen and (max-width: 428px) {
    #modal .modalBoxes {
        width: calc(100% - 40px);
        padding: 50px 0
    }
}

#modal div.modalBox {
    display: none;
    width: 100%;
    position: relative;
    background: #fff;
    pointer-events: all
}

#modal div.modalBox.view {
    display: block
}

#modal div.modalBox div.closeBtn {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 12px;
    right: 12px;
    cursor: pointer
}

#modal div.modalBox div.closeBtn::before, #modal div.modalBox div.closeBtn::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 20px;
    left: 0;
    background: #000
}

#modal div.modalBox div.closeBtn::before {
    transform: rotate(45deg)
}

#modal div.modalBox div.closeBtn::after {
    transform: rotate(-45deg)
}

@media screen and (max-width: 428px) {
    #modal div.modalBox div.closeBtn {
        width: 34px;
        height: 34px;
        top: 8px;
        right: 8px
    }
}

#modal div.modalBox div.contents {
    display: flex;
    flex-wrap: nowrap;
    align-items: end;
    gap: 40px;
    padding: 40px
}

@media screen and (max-width: 767px) {
    #modal div.modalBox div.contents {
        flex-direction: column;
        align-items: center;
        max-width: 400px;
        padding-top: 64px;
        margin: 0 auto
    }
}

@media screen and (max-width: 428px) {
    #modal div.modalBox div.contents {
        padding: 50px 20px
    }
}

#modal div.modalBox p.photo {
    width: 50%
}

@media screen and (max-width: 767px) {
    #modal div.modalBox p.photo {
        width: 100%
    }
}

@media screen and (max-width: 428px) {
    #modal div.modalBox p.photo {
        padding: 0 30px
    }
}

#modal div.modalBox ul {
    padding-top: 64px
}

@media screen and (max-width: 767px) {
    #modal div.modalBox ul {
        padding-top: 0
    }
}

@media screen and (max-width: 428px) {
    #modal div.modalBox ul {
        font-size: 14px
    }
}

#modal div.modalBox li:not(:last-child) {
    margin-bottom: 20px
}

#modal div.modalBox div.shops {
    display: flex;
    gap: 15px
}

#modal div.modalBox div.shops p.link > a, #modal div.modalBox div.shops p.link span.nolink {
    display: block;
    padding: .3em 1em;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5
}

#modal div.modalBox div.shops p.link > a {
    background: gray;
    transition: background-color .3s;
    text-decoration: none
}

#modal div.modalBox div.shops p.link > a:hover {
    background: #001543
}

#modal div.modalBox div.shops p.link span.nolink {
    background: #ddd
}

#modal div.modalBox p.cmgsn {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
    text-align: center;
    line-height: 1
}