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

#event .content_wrap_inner {
    max-width: 1000px;
    margin: 0 auto;
}

#event .content_wrap_inner hr.border {
    height: 2px;
    background-color: #000;
    display: block;
    position: relative;
    box-sizing: border-box;
    margin: 4rem 0;
    width: 100%;
    height: 2px;
    overflow: visible;
}

#event .content_wrap_inner hr.border::before, #event .content_wrap_inner hr.border::after {
    content: '';
    display: block;
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    box-sizing: border-box;
    border: 2px solid #000;
    background-color: #fff;
    top: -0.5rem;
    left: 0;
    z-index: 1;
    border-radius: 0.6rem;
}

#event .content_wrap_inner hr.border::after {
    left: auto;
    right: 0;
}

#event .content_wrap_inner h1 {
    width: 294px;
    margin: 8rem auto;
}

#event .content_wrap_inner h2 {
    margin: 5rem auto;
}

#event .content_wrap_inner h2 span {
    display: block;
    margin: auto;
}

#event .content_wrap_inner h2 span.title-01 {
    width: 260px;
}

#event .content_wrap_inner h2 span.title-02 {
    width: 232px;
}

#event .content_wrap_inner h2 span.title-03 {
    width: 188px;
}

#event .content_wrap_inner .img_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    max-width: 860px;
    height: 388px;
    overflow: hidden;
    transition: all 1s;
}

#event .content_wrap_inner .img_wrap.open {
    height: 776px;
    transition: all 0.8s;
}

#event .content_wrap_inner .img_wrap .img {
    width: 205px;
    margin: 5px;
}

#event .content_wrap_inner .img_wrap .img:nth-child(n+9) {
    visibility: hidden;
    opacity: 0;
    transition: ease-in-out 1000ms;
}

#event .content_wrap_inner .img_wrap.open .img:nth-child(n+9) {
    visibility: visible;
    opacity: 1;
    transition: ease-in-out 1000ms;
}

#event .more {
    margin: 4rem auto;
    width: 8em;
    padding: 1em;
    font-size: 1.6rem;
    text-align: center;
    cursor: pointer;
    color: #666;
    position: relative;
}

#event .more::before {
    content: 'もっと見る';
    letter-spacing: 0.1em;
}

#event .more.onclick::before {
    content: '閉じる';
}

#event .more::after {
    display: block;
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
    transform: rotate(45deg);
    top: -1em;
    left: 0;
    right: 0;
    margin: auto;
    transition: ease-in-out 500ms;
}

#event .more.onclick::after {
    transform: rotate(225deg);
}

@media screen and (max-width:480px) {
    #event .content_wrap_inner {
        width: 90vw;
        margin: 0 auto;
    }
    #event .content_wrap_inner h1 {
        width: 70%;
        margin: 6rem auto;
    }
    #event .content_wrap_inner .img_wrap .img {
        width: 43vw;
        margin: 1vw;
    }
    #event .content_wrap_inner .img_wrap {
        height: 81.2vw;
    }
    #event .content_wrap_inner .img_wrap.open {
        height: 324.761vw;
        transition: all 0.8s;
    }
    #event .content_wrap_inner .img_wrap .img:nth-child(n+5) {
        visibility: hidden;
        opacity: 0;
        transition: ease-in-out 1000ms;
    }
    #event .content_wrap_inner .img_wrap.open .img:nth-child(n+5) {
        visibility: visible;
        opacity: 1;
        transition: ease-in-out 1000ms;
    }
    #event .content_wrap_inner h2 {
        margin: 3rem auto;
    }
    #event .content_wrap_inner h2 span.title-01 {
        width: 67%;
    }
    #event .content_wrap_inner h2 span.title-02 {
        width: 60%;
    }
    #event .content_wrap_inner h2 span.title-03 {
        width: 49%;
    }
}

/*ボタン*/

#event .button_list {
    margin: 8rem auto;
}

#event .button_list .instagram {
    width: 20rem;
    background: rgb(0, 88, 170);
    background: linear-gradient(45deg, rgba(0, 88, 170, 1) 0%, rgba(120, 47, 140, 1) 20%, rgba(227, 45, 137, 1) 40%, rgba(190, 46, 137, 1) 60%, rgba(228, 52, 95, 1) 80%, rgba(247, 173, 0, 1) 100%);
    overflow: hidden;
    border-radius: 4rem;
    text-align: center;
    padding: 1rem;
}

#event .button_list .instagram img {
    width: 4rem;
}

@media screen and (max-width:480px) {
    #event .button_list {
        margin-top: 4rem;
    }
}