@charset "UTF-8";

#kv {
    border-top: 3px solid var(--bk);
}

@media screen and (max-width: 768px) {
    #contents {
        padding-top: 0;
    }

    #contents>.inner {
        border-top: none;
    }
}

#about {
    border-bottom: 3px solid var(--bk);
}

#about>.inner {
    padding-top: min(58px, 100vw*(58/750));
    padding-bottom: min(110px, 100vw*(110/750));
}

.about-title {
    display: flex;
    align-items: center;
    width: min(616px, 100vw*(616/750));
    height: min(98px, 100vw*(98/750));
    margin-bottom: max(-54px, -100vw*(54/750));
    position: relative;
    z-index: 1;
}

.about-title figure {
    width: min(546px, 100vw*(546/750));
    padding-left: min(40px, 100vw*(40/750));
    position: relative;
    z-index: 2;
}

.about-lead {
    width: min(664px, 100vw*(664/750));
    margin: 0 auto;
    padding: min(90px, 100vw*(90/750)) min(25px, 100vw*(25/750)) min(45px, 100vw*(45/750));
    background-color: #fff;
    border: 2px solid var(--bk);
    position: relative;
    z-index: 0;
}

.about-lead:after {
    content: "";
    display: block;
    width: min(630px, 100vw*(630/750));
    height: min(30px, 100vw*(30/750));
    background: url("../img/bg-about.png") repeat center;
    border: 2px solid var(--bk);
    position: absolute;
    bottom: max(-30px, -100vw*(30/750));
    left: min(12px, 100vw*(12/750));
    z-index: -1;
}

.about-lead p:not(:last-child) {
    margin-bottom: 1.0em;
}

.about-stage {
    margin-top: min(60px, 100vw*(60/750));
    padding: min(25px, 100vw*(25/750));
    background-color: #fde6eb;
    position: relative;
}

.about-stage-title {
    width: min(160px, 100vw*(160/750));
    height: min(60px, 100vw*(60/750));
    padding-top: 0.2em;
    color: #fff;
    font-size: min(33px, 100vw*(33/750));
    font-weight: 500;
    line-height: 1;
    text-align: center;
    background: url("../img/about-stage.png") no-repeat center top/100% auto;
    position: absolute;
    top: max(-40px, -100vw*(40/750));
    left: min(20px, 100vw*(20/750));
}

@media screen and (min-width: 769px) {
    .about-title {
        display: flex;
        align-items: center;
        width: 616px;
        height: 98px;
        /*background: url("../img/bg-about-title.png") repeat left top/contain;*/
        position: relative;
        z-index: 1;
    }

    .about-title figure {
        padding-left: 40px;
        position: relative;
        z-index: 2;
    }

    .about-lead {
        width: 820px;
        font-size: 2.5rem;
        line-height: calc(40/25);
    }

    .about-lead:after {
        width: 780px;
        left: 20px;
    }

    .about-stage {
        font-size: 2.2rem;
        line-height: calc(34/22);
    }

    .about-stage-title {
        width: 140px;
        height: 52px;
        padding-top: 0.3em;
        font-size: 2.5rem;
        top: -34px;
        left: 20px;
    }
}

.performance {
    padding-top: min(80px, 100vw*(80/750));
    padding-bottom: min(80px, 100vw*(80/750));
}

#performance-a {
    background-color: #fce36f;
}

#performance-b {
    background-color: #94e8e1;
}

#performance-c {
    background-color: #cfcfba;
}
#performance-d {
    background-color: #a6f4e2;
}

.performance-title {
    width: min(679px, 100vw*(679/750));
    height: min(120px, 100vw*(120/750));
    margin-bottom: min(30px, 100vw*(30/750));
    padding-top: 0.5em;
    padding-left: 1.8rem;
    color: #fff;
    font-size: 4.6rem;
    position: relative;
    z-index: 1;
}

.performance-title a,
.performance-title span {
    display: inline-block;
    color: #fff;
}

.performance-title a:hover {
    text-decoration: none;
}

.performance-title::before {
    background-position: right top;
    background-size: auto 100%;
}

#performance-a .performance-title::before {
    background-image: url("../img/performance-a-ribbon.png");
}

#performance-b .performance-title::before {
    background-image: url("../img/performance-b-ribbon.png");
}

#performance-c .performance-title::before {
    background-image: url("../img/performance-c-ribbon.png");
}

#performance-d .performance-title::before {
    background-image: url("../img/performance-d-ribbon.png");
}

.performance-kv {
    padding-top: min(40px, 100vw*(40/750));
}

.performance-kv a,
.performance-kv span {
    display: block;
    width: max-content;
    margin: auto;
    background-color: #fff;
}

.performance-kv a:hover {
    opacity: 1;
}

.performance-kv a:hover figure {
    opacity: 0.7;
}

.performance-kv figure {
    width: min(606px, 100vw*(606/750));
    margin: 0 auto;
    border: 3px solid var(--bk);
    transition: 0.5s ease;
}

.performance-wrap {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

@media screen and (max-width: 768px) {
    #performance-a .performance-wrap {
        min-height: min(1875px, 100vw*(1875/750));
        background-image: url("../img/bg-performance-a_sp.png");
    }

    #performance-b .performance-wrap {
        min-height: min(1875px, 100vw*(1875/750));
        background-image: url("../img/bg-performance-b_sp.png");
    }

    #performance-c .performance-wrap {
        min-height: min(1335px, 100vw*(1335/750));
        background-image: url("../img/bg-performance-c_sp.png");
    }

    #performance-d .performance-wrap {
        min-height: min(1335px, 100vw*(1335/750));
        background-image: url("../img/bg-performance-d_sp.png");
    }
}

@media screen and (min-width: 769px) {
    #performance-a .performance-wrap {
        min-height: 1365px;
        background-image: url("../img/bg-performance-a.png");
    }

    #performance-b .performance-wrap {
        min-height: 1365px;
        background-image: url("../img/bg-performance-b.png");
    }

    #performance-c .performance-wrap {
        min-height: 1015px;
        background-image: url("../img/bg-performance-c.png");
    }

    #performance-d .performance-wrap {
        min-height: 1015px;
        background-image: url("../img/bg-performance-d.png");
    }

    .performance-title {
        width: 825px;
        margin-bottom: 50px;
        margin-left: -35px;
        padding-top: 0.425em;
        padding-left: 60px;
    }

    .performance-kv {
        padding-top: 60px;
    }

    .performance-kv figure {
        width: 740px;
    }
}

.performance-detail {
    margin-top: min(140px, 100vw*(140/750));
    font-weight: 500;
}

.performance-detail dt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(198px, 100vw*(198/750));
    height: min(64px, 100vw*(64/750));
    background-color: #fff;
    border-top: 2px solid var(--bk);
    border-bottom: 2px solid var(--bk);
    border-right: 2px solid var(--bk);
}

.performance-detail dd {
    width: min(580px, 100vw*(580/750));
    margin: auto;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

.performance-detail dd:not(:last-child) {
    background: url("../img/line2.png") repeat-x bottom left;
}

.performance-detail dd+dt {
    margin-top: 1.25em;
}

@media screen and (min-width: 769px) {
    .performance-detail dt {
        width: 220px;
        height: 64px;
        margin-bottom: -64px;
        font-size: 3.0rem;
    }

    .performance-detail dd {
        width: 550px;
        margin-left: auto;
        margin-right: 90px;
        padding: 0.5em;
        font-size: 2.4rem;
    }

    .performance-detail dd+dt {
        margin-top: 20px;
    }
}

/* Animation */

.about-title.is-animated::before {
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: url("../img/bg-about-title.png");
    border-top: 2px solid var(--bk);
    border-right: 2px solid var(--bk);
    border-bottom: 2px solid var(--bk);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

.performance-title.is-animated::before {
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

@keyframes bg {
    0% {
        opacity: 0;
        transform: scaleX(0) translateX(-5%);
    }

    30% {
        transform: scaleX(1) translateX(0);
    }

    100% {
        transform: scaleX(1) translateX(0);
    }

    30%,
    100% {
        opacity: 1;
    }
}

.performance-kv .js-scroll-trigger {
    transform: scale(0.5);
    opacity: 0;
}

.performance-kv .is-animated {
    animation: poyopoyo 1.2s ease-out forwards;
}

@keyframes poyopoyo {

    0%,
    10% {
        transform: scale(0.5);
        opacity: 0;
    }

    40%,
    70% {
        transform: scale(1.05);
        opacity: 1;
    }

    55% {
        transform: scale(0.9);
        opacity: 1;
    }

    85%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.fadeup.is-animated {
    animation-delay: 0.7s;
}