@charset "UTF-8";
:root{
    --color-one: #014EA2;
    --color-two: #FDD000;
    --color-three: #E60112;
    --number-font: 'Smooch Sans', sans-serif;
}
html, body {
  margin: 0;
  padding: 0;
}
/* ▼▼ gallery ▼▼ */
#gallery{
    padding-bottom: 185px;
}

#gallery .top{
    background-image: url('../images/gallery_bg.jpg');
}
#list{
    margin-top: 130px;
}
#list .gallery-list{
    display: flex;
    flex-wrap: wrap;
    gap: 100px 40px;
}
#list .gallery-list a img{
    width: 100%;
}
#list .gallery-list .gallery-item{
    width: calc((100% - (40px * 2)) / 3);
    text-decoration: none;
}
#list .gallery-list .gallery-item p{
    font-size: 17px;
    font-weight: 500;
    color: #fff;
}
#list .gallery-list .gallery-item p.day{
    font-size: 29px;
    font-weight: 700;
    font-family: var(--number-font);
    white-space: pre;
    margin: 12px 0 5px;
}
#list .gallery-list .gallery-item p.day span{
    font-size: 19px;
}

@media (max-width: 768px) {
    #gallery{
        padding-bottom: 20vw;
    }

    #gallery .top{
        background-image: url('../images/sp_gallery_bg.jpg');
    }
    #list{
        margin-top: 13vw;
    }
    #list .gallery-list{
        gap: 12vw 4vw;
    }
    #list .gallery-list .gallery-item{
        width: calc((100% - (4vw * 1)) / 2);
    }
    #list .gallery-list .gallery-item p{
        font-size: clamp(12px, 3.0vw, 30px);
        font-weight: 500;
        color: #fff;
    }
    #list .gallery-list .gallery-item p.day{
        font-size: clamp(18px, 4.0vw, 30px);
        font-weight: 700;
        font-family: var(--number-font);
        white-space: pre;
        margin: 1vw 0 0;
    }
    #list .gallery-list .gallery-item p.day span{
        font-size: clamp(15px, 3.0vw, 30px);
    }
}
/* ▲▲ gallery ▲▲ */


/* ▼▼ edit ▼▼ */
#gallery #edit .column1,
#gallery #edit .column2,
#gallery #edit .column3{
    padding-top: 40px;
}
#gallery #edit .day{
    font-size: 48px;
    font-weight: 700;
    font-family: var(--number-font);
    white-space: pre;
}
#gallery #edit .day span{
    font-size: 30px;
}
#gallery #edit .img-wrap{
    margin-top: 30px;
}
#gallery #edit .img-wrap figure figcaption{
    margin-top: 18px;
    word-break: break-all;
}
#gallery #edit .img-wrap figure img{
   width: 100%;
   height: 100%;
   object-fit: contain;
}
#gallery #edit .column1{
    max-width: 760px;
    margin: 0 auto;
}
#gallery #edit .column2 .img-wrap,
#gallery #edit .column3 .img-wrap{
    display: grid;
    gap: 25px;
}
#gallery #edit .column2 .img-wrap{
    grid-template-columns: repeat(2, 1fr);
}
#gallery #edit .column3 .img-wrap{
    grid-template-columns: repeat(3, 1fr);
}
#gallery #edit .column2 .img-wrap figure,
#gallery #edit .column3 .img-wrap figure{
    width: 100%;
}

@media (max-width: 768px) {
    #gallery #edit .column1,
    #gallery #edit .column2,
    #gallery #edit .column3{
        padding-top: 5vw;
    }
    #gallery #edit .day{
        font-size: 9vw;
    }
    #gallery #edit .day span{
        font-size: 6vw;
    }
    #gallery #edit .title{
        font-size: 4vw;
    }
    #gallery #edit .img-wrap{
        margin-top: 7vw;
    }
    #gallery #edit .img-wrap figure figcaption{
        margin-top: 2vw;
        font-size: 3.2vw;
    }
    #gallery #edit .column2 .img-wrap,
    #gallery #edit .column3 .img-wrap{
        gap: 10px;
    }
    #gallery #edit .column3 .img-wrap{
        grid-template-columns: repeat(2, 1fr);
    }
}