* {
    margin: 0rem;
    padding: 0rem;
}

html {
    font-size: 0.0667vw;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    margin: 0rem;
    padding: 0rem;
    font-size: 16rem;
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo a {
    color: #3F775E;
    text-decoration: none;
    font-size: 50rem;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    margin-left: 25rem;
}

.logo a span {
    color: #D6D586;
    font-size: 75rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10vh;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    background-color: rgba(185, 185, 185, 0.9);
    position: fixed;
    width: 100%;
    top: 0rem;
    opacity: 0;
    z-index: 2;
}

header nav {
    display: inline-block;
    text-align: right;
    padding: 0rem;
    margin-right: 50rem;
    margin-left: auto;
}

header nav a {
    text-decoration: none;
    color: black;
}

header nav li {
    display: inline-block;
    font-size: 25rem;
    font-weight: bold;
    line-height: 120rem;
    text-align: center;
}

header nav li:not(:first-child) {
    margin-left: 50rem;
}

.heading {
    text-align: center;
    margin: 10rem 0 0 0rem;
    font-size: 50rem;
    font-family: "ReggaeOne-Regular", "メイリオ", "sans-serif";
    font-weight: bold;
    color: #D6D586;
}

.sub-heading {
    text-align: center;
    margin: 0 0 30rem 0;
    font-size: 35rem;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    color: #D6D586;
    line-height: 0.5;
}

.logo a {
    color: #3F775E;
    text-decoration: none;
    font-size: 50rem;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    margin-left: 25rem;
}

.logo a span {
    color: #D6D586;
    font-size: 75rem;
}

header nav {
    display: inline-block;
    text-align: right;
    padding: 0rem;
    margin-right: 50rem;
}

header nav a {
    text-decoration: none;
    color: black;
}

header nav li {
    display: inline-block;
    font-size: 25rem;
    line-height: 120rem;
    font-weight: bold;
    text-align: center;
}

header nav li:not(:first-child) {
    margin-left: 50rem;
}

.bg {
    position: absolute;
    width: 100%;
    height: 100vh;
    background-color: #3F775E;
    top: 0;
    animation: slide 0.2s ease-in 2s forwards;
    /* animation: slide 0.2s ease-in ;
    animation-delay: 2s;
    animation-fill-mode: forwards; */
}

#Home {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#Home h1 {
    font-size: 300rem;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    font-weight: lighter;
    color: #3F775E;
}

#Home h1 span {
    color: #D6D586;
    font-size: 450rem;
    opacity: 0;
    animation: appear 2s ease-in-out forwards;
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slide {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

#LINE {
    display: block;
    background-color: rgba(255, 217, 0, 0.5);
    border-radius: 10%;
    width: 13vw;
    height: 15vw;
    position: fixed;
    right: 0rem;
    top: 150rem;
    z-index: 2;
    transition: 0.2s;
    opacity: 0;
}

#LINE .LINE_container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0rem;
}

#LINE .LINE_container h2,
#LINE .LINE_container p {
    font-size: 1vw;
    text-align: center;
    margin: 0rem;
}

#LINE .LINE_container img {
    display: block;
    width: 6vw;
    height: auto;
    margin: auto;
    margin-top: 20rem;
}

#event {
    top: 100vh;
}

#event .over-heading {
    margin: 0rem;
    padding: 10rem;
    background-color: #3F775E;
}

.event_img-container {
    width: 100%;
    margin: auto;
    padding-top: 100rem;
}

.event_img-container img {
    width: 100%;
    height: auto;
    /* アスペクト比を維持 */
    opacity: .5;
    transform: scale(.8);
    transition: opacity .5s, transform .5s;
}

.event_img-container .slick-center img {
    opacity: 1;
    transform: scale(1);
}

#event .g-event {
    display: flex;
    justify-content: center;
    /*左右中央揃え*/
    align-items: center;
    /*上下中央揃え*/
    display: block;
    text-align: center;
    font-size: 40rem;
    font-weight: lighter;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
    margin: 100rem auto 50rem auto;
    width: 100%;
    height: auto;
    text-decoration: underline;
    color: rgb(81, 81, 81);
}

.event-list {
    flex-wrap: wrap;
    padding-bottom: 30rem;
    text-align: center;
    margin: 0 auto;
}

.event-item {
    display: flex;
    display: inline-block;
    margin: 10rem;
    width: 40vw;
    height: 600rem;
    padding: 0;
    box-sizing: border-box;
    background-color: rgb(252, 252, 252);
    box-shadow: 0 3rem 4rem rgba(0, 0, 0, 0.32);

}

.event-item a {
    text-decoration: none;
    color: black;
}

.event-item h3 {
    display: block;
    font-size: 20rem;
    color: #FFF;
    margin: 20rem 0;
    padding: 0 auto 0 50rem;
    height: 50rem;
    width: 250rem;
    line-height: 50rem;
    background-color: #ff4213;
}

.event-item img {
    display: block;
    width: 100%;
    height: 350rem;
    object-fit: cover;
    margin: 0 auto;
}

.event-item p {
    display: block;
    align-items: center;
    /*上下中央揃え*/
    font-size: 30rem;
    margin: 30rem;
    width: 90%;
}

#concept {
    padding-top: 0;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
    font-size: 40rem;
}

#nazo {
    padding: 0;
    /* maintain as is, no top padding */
    margin: 0;
    /* maintain as is, no top margin */
    background-color: #ffffff;
    box-sizing: border-box;
    text-align: center;
    font-size: 40rem;
}

#nazo .over-heading {
    margin: 0rem;
    padding: 10rem;
    background-color: #3F775E;
}

.nazo-container {
    width: 80%;
    height: auto;
    margin: auto;
    display: flex;
    flex-direction: column;
}

#nazo .nazo-text {
    font-size: 30rem;
    margin: 50rem;
}

.nazo-list {
    display: flex;
    width: 80%;
    height: auto;
    margin: 20rem auto;
    padding: 0;
    box-sizing: border-box;
}

.nazo-list a {
    display: flex;
    width: 100%;
    text-decoration: none;
}

.nazo-list img {
    width: 25%;
    height: auto;
    margin: 0;
    padding: 0 50rem 0 0;
    display: block;
    border-radius: 20rem;
}

.nazo-list .nazo-contents {
    border-left: 5rem solid #333;
}

.nazo-list .nazo-contents h4 {
    text-align: left;
    padding-top: 0rem;
    padding-bottom: 10rem;
    padding-left: 60rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    font-size: 20rem;
}

.nazo-list .nazo-contents p {
    text-align: left;
    padding-top: 0rem;
    padding-bottom: 0rem;
    padding-left: 60rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    font-size: 20rem;
}

/*News*/
#news {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.news-list {
    list-style: none outside;
    margin: 0 0 40rem 0;
    padding: 0;
}

.news-list .item a {
    display: flex;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1rem solid #CCC;
    padding: 20rem 20rem;
    pointer-events: none;
}

.news-list .item:first-child a {
    border-top: 1rem solid #CCC;
}

.news-list .item .date {
    margin: 0;
    min-width: 140rem;
    font-size: 16rem;
    color: #999;
    padding: 0 20rem 0 0;
}

.news-list .item .category {
    margin: 0;
    min-width: 140rem;
    padding: 0 20rem 0 0;
}

.news-list .item .category span {
    background: #999;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5rem 20rem;
    font-size: 12rem;
    line-height: 1;
}

.news-list .item .title {
    margin: 0;
    width: 100%;
}

.news-list .item a:hover .title {
    color: #00F;
}

#news h2,
#news p {
    color: black;
}

#request {
    margin: 30rem 0 0 0;
    padding: 10rem;
    font-size: 40rem;
    height: 300rem;
    background-color: #2c9ebb;
    text-align: center;
    font-size: 40rem;
}

#request a {
    text-decoration: none;
}

#request button {
    font-size: 50rem;
    font-weight: 700;
    line-height: 1.5;
    display: inline-block;
    margin: 30rem 0 20rem 0;
    padding: 10rem 40rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: #212529;
    border-radius: 10rem;
}

#request button:hover {
    color: #fff;
    background: #00fffb;
}

#inquiry {
    margin: 30rem 0;
    background-color: #ff9900;
    text-align: center;

}

footer {
    width: 100%;
    height: 10vh;
    display: flex;
    background-color: #3e3e3e;
    display: flex;
    flex-direction: column;
    /* 垂直方向の中央揃え */
}

footer .footer-contents {
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3e3e3e;
    /* 垂直方向の中央揃え */
}

footer .member {
    background-color: #3e3e3e;
    color: #fff;
    padding: 10px 20px;
}

footer .footer-contents a {
    text-decoration: none;
    font-family: 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', sans-serif;
}

footer .footer-contents .top a {
    font-size: 30rem;
}

footer .footer-contents .logo a {
    font-size: 30rem;
}

footer .footer-contents .logo a span {
    font-size: 40rem;
}

.footer-contents .top a {
    color: #ffffff;
    line-height: 10vh;
    padding: 0 100rem;
    text-decoration: none;
}

.slick-slide {
    margin: 0rem;
}

.slick-slide img {
    display: block;
    margin: auto;
    border-radius: 30rem;
    width: 100%;
    margin-bottom: 30rem;
}

.slick-prev:before,
.slick-next:before {
    color: rgb(5, 217, 132);
    font-size: 30rem;
}

.slick-prev {
    left: 300rem;
    z-index: 1;
}

.slick-next {
    right: 300rem;
}

@media screen and (max-width:800px) {
    body {
        width: 100%;
    }

    header {
        width: 100%;
        height: 10vh;
    }

    header nav li {
        font-size: 35rem;
    }

    #Home h1 {
        font-weight: normal;
    }

    .event-item h3 {
        width: 300rem;
        height: 60rem;
        line-height: 60rem;
    }

    footer {
        display: none;
    }

    #LINE {
        width: 17vw;
        height: 18vw;
    }

    #LINE .LINE_container h2,
    #LINE .LINE_container p {
        font-size: 1.5vw;
    }

    #LINE .LINE_container img {
        display: block;
        width: 6vw;
        height: auto;
        margin: auto;
        margin-top: 20rem;
    }

}