:root {
    --primary: #36355A;
    --secondary: #F8AC2C;
}

footer {
    margin-top: 0;
}

main img {
    filter: blur(2px);
}

@media screen and (max-width: 992px) {
    main {
        width: 100%;
        margin: 0;
    }

    footer {
        margin-top: 0;
    }
}

/* 共通 */
.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.fadeUp {
    animation-duration: 1.5s;
}

/* 矢印 */
.arrow {
    justify-self: center;
    margin: 32px 0;
    height: 20px;
    width: 20px;
    border: 1px solid rgba(200, 200, 200, 0.6);
    border-width: 3px 3px 0 0;
    transform: rotate(135deg);
}

.arrow:before,
.arrow:after {
    content: '';
    position: absolute;
    display: block;
    height: 20px;
    width: 20px;
    border-width: 3px 3px 0 0;
}

.arrow:before {
    border: 1px solid rgba(200, 200, 200, 0.3);
    border-width: 3px 3px 0 0;
    top: 7px;
    left: -10px;
}

.arrow:after {
    border: 1px solid rgba(200, 200, 200, 1);
    border-width: 3px 3px 0 0;
    top: -13px;
    left: 10px;
}

@media screen and (max-width: 992px) {
    .arrow {
        transform: rotate(45deg);
        margin: auto 24px;
        height: 10px;
        width: 10px;
    }

    .arrow:before,
    .arrow:after {
        height: 10px;
        width: 10px;
    }
}

/* BG */
.main-bg {
    position: fixed;
    height: 100%;
    width: 100%;
    left:0;
    z-index: -1;
    opacity: 0;
}

/* FV */
.fv-header {
    color: var(--primary);
    padding: 36px 0 0 36px;
}

.fv-header h1 {
    margin: 0;
    font-size: 42rem;
    text-align: start;
    line-height: 48px;
}

.fv-header h1 span {
    font-size: 24rem;
    color: #7C7C7C;
}

.fv-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

.fv-title-wrapper {
    background-color: #FFF;
    border-radius: 30px;
    margin: 36px;
    padding: 24px 16px;
    max-width: 500px;
    height: fit-content;
    align-self: center;
    box-shadow: 3px 3px 0px var(--secondary),
        4px 4px 0px var(--secondary),
        5px 5px 0px var(--secondary),
        6px 6px 0px var(--secondary),
        7px 7px 0px var(--secondary),
        8px 8px 0px var(--secondary);
    opacity: 0;
}

.fv-title h2 {
    margin: 0;
}

.fv-title h2 span:nth-child(1),
.fv-title h2 span:nth-child(3) {
    font-size: 16rem;
}

.fv-title h2 span:nth-child(2),
.fv-title h2 span:nth-child(4) {
    font-size: 28rem;
}

.fv-title h3 {
    font-size: 28rem;
    word-break: keep-all;
    color: var(--secondary);
}

.fv-image {
    padding: 36px;
    opacity: 0;
}

.fv-image img {
    height: max-content;
    border-radius: 15px;
}

.fv-title-wrapper {
    animation: fadeIn 0.75s .2s forwards ease-out;
}

.fv-image {
    animation: fadeIn 0.75s .6s forwards ease-out;
}

.main-bg {
    animation: fadeIn 0.75s 1s forwards ease-out;
}

@keyframes fadeIn {
    0% {
        transform: translateY(25px);
        opacity: 0;
    }

    30% {
        opacity: .5;
    }

    60% {
        opacity: .8;
    }

    100% {
        transform: none;
        opacity: 1;
    }
}

@media screen and (max-width: 992px) {
    .fv-section {
        width: 89.87vw;
        margin: 0 auto;
    }

    .fv-header {
        padding: 24px 0 18px 0;
    }

    .fv-header h1 {
        font-size: 36rem;
        text-align: center;
    }

    .fv-header h1 span {
        font-size: 18rem;
    }

    .fv-container {
        grid-template-columns: 1fr;
        margin-bottom: 48px;
    }

    .fv-image {
        padding: 0;
    }

    .fv-title-wrapper {
        padding: 18px 20px;
        margin: 0 auto;
        margin-bottom: 48px;
        width: 100%;
        max-width: 450px;
    }

    .fv-title {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .fv-title h2 span:nth-child(1),
    .fv-title h2 span:nth-child(3) {
        font-size: 14rem;
    }

    .fv-title h2 span:nth-child(2) {
        font-size: 18rem;
    }

    .fv-title h3 {
        font-size: 16rem;
    }
}

/* イベント内容 */
.about-container {
    background: #FFF;
    border-radius: 96px 96px 0 0;
    padding: 36px 0;
}

.about-title h2 span {
    font-size: 36rem;
}

.about-description {
    border-left: solid 50px var(--secondary);
    border-right: solid 50px var(--primary);
    padding: 32px 16px;
    color: #373737;
    font-size: 18rem;
}

@media screen and (max-width: 992px) {
    .about-container {
        border-radius: 64px 64px 0 0;
        padding: 36px 0 18px 0;
    }

    .about-title {
        padding: 16px;
        word-break: keep-all; 
        overflow-wrap: anywhere;
    }

    .about-title h2 span {
        font-size: 22rem;
    }

    .about-description {
        border-left: solid 12px var(--secondary);
        border-right: solid 12px var(--primary);
        font-size: 16rem;
    }
}

/* イベント画像 */
.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 64px;
    overflow-x: hidden;
}

.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
    position: relative;
}

.swiper-slide {
    margin: 0 32px;
}

.swiper-slide img {
    height: 400px;
    object-fit: cover;
}

@media screen and (max-width: 992px) {
    .swiper-container {
        margin: 24px 0;
    }

    .swiper-slide {
        margin: 0;
    }

    .swiper-slide img {
        height: 250px;
    }
}