/* common on top*/
.section{
    position: relative;
    display: grid;
    gap: 30px;
    width: 90%;
    max-width: 1093px;
    margin: 3.5rem auto 1rem auto;
    color: #000;
}

.section-title{
    color: #3db134;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0 auto;
}
.section-subtitle{
    color: #3db134;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: 8px auto 0 auto;
    letter-spacing: 1px;
    font-family: "hiragino-kaku-gothic-pron", sans-serif;
}

.section-text{
    font-size: 18px;
    line-height: 1.6;
}

.hero img{
    width: 100%;
    height: auto;
}

.more-btn-wrapper{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.more-btn-wrapper > div{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    border: 1px solid;
    line-height: normal;
}
.more-btn-wrapper a{
    color: #3db134;
}
.more-btn-wrapper div{
    border-color: #3db134;
}

@media (min-width: 769px) {
    .section{
        gap: 40px;
        margin: 5.5rem auto 1rem auto;
    }
    .section-title{
        font-size: 32px;
        letter-spacing: 4px;
    }
    .section-subtitle{
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    .more-btn-wrapper > div{
        width: 300px;
        height: 40px;
        border-radius: 50px;
    }
    .section-text{
        letter-spacing: 3px;
        line-height: 1.7;
    }
}

/* top-message */
.top-message-section{
}
.top-message-section .section-title{
    letter-spacing: 2.8px;
    font-size: 22px;
}
.top-message-contents-wrapper{
    display: grid;
    gap: 30px;
}
.top-message-img{
    display: flex;
    justify-content: center;
    align-items: center;
}
.top-message-img > img{
    width: 50vw;
    left: 12px;
    position: relative;
    max-width: 250px;
}

@media (min-width: 769px) {
    .top-message-contents-wrapper{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
    }
    .top-message-contents-wrapper > * {
        order: 999; /* 一旦すべてに大きな order をつける */
    }
    .top-message-contents-wrapper > *:nth-child(1) { order: 3; }
    .top-message-contents-wrapper > *:nth-child(2) { order: 2; }

    .top-message-img{
        position: relative;
    }
    .top-message-img > img{
        position: absolute;
        max-width: 340px;
        z-index: -1;
        left: unset;
        right: -35px;
        bottom: -140px;
        width: 30vw;
    }

    .top-message-section .section-title{
        letter-spacing: 3px;
        font-size: 30px;
        text-align: left;
        width: 100%;
    }
}

/* page-link */
.page-link-section{
    display: grid;
    gap: 0;
    grid-template-areas: 
        "grid1"
        "grid2"
        "grid3"
        "grid4"
        "grid5"
        ;
    grid-template-columns: 1fr;
}
.page-link-wrapper{
    position: relative;
    width: 100%;
}
.page-link-wrapper img{
    position: relative;
    width: 100%;
}

.grid1{
    grid-area: grid1;
}
.grid2{
    grid-area: grid2;
}
.grid3{
    grid-area: grid3;
}
.grid4{
    grid-area: grid4;
}
.grid5{
    grid-area: grid5;
}

@media (min-width: 769px) {
    .page-link-section{
        grid-template-columns: repeat(6, 1fr);
        grid-template-areas: 
            "grid1 grid1 grid1 grid2 grid2 grid2"
            "grid3 grid3 grid4 grid4 grid5 grid5"
            ;
    }
}

/* event */
.event-section{

}
.event-section a:hover{
    text-decoration: none;
}
.event-wrapper{
    display: grid;
    gap: 20px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
.event-item{
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
}
.event-type-label{
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    border-radius: 40px;
    padding: 3px 15px;
}
.event-type-label.green{
    background-color: #3db134;
}
.event-type-label.blue{
    background-color: #00b4d2;
}
.event-type-label.pink{
    background-color: #d975a6;
}
.event-type-label.brown{
    background-color: #963f00;
}
.event-datetime{
    font-size: 14px;
    color: #231815;
    font-weight: 600;
    letter-spacing: 1px;
}
.event-item-wrapper{
    word-break: break-all;
}
.event-thumbnail{
    position: relative;
    max-width: 41vw;
    width: 100%;
}
.event-image{
    position: relative;
    overflow: hidden;
}
.event-image > img{
    width: 100%;            /* 幅をコンテナに合わせる */
    aspect-ratio: 3 / 2;
    object-fit: cover;          /* 埋めるように拡大 or 切り取り */
    object-position: center;    /* 中央に揃える */
    position: relative;
}
@media (min-width: 769px) {
    .event-wrapper{
        display: grid;
        gap: 40px;
        grid-template-rows: 1fr 0;
        grid-template-columns: 1fr 1fr 1fr;
        overflow: hidden;
        margin-bottom: -40px;
    }
}

/* news */
.news-section .section-title{
    font-size: 32px;
}
.news-section a:hover{
    text-decoration: none;
}
.news-wrapper{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-item{
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-header{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-end;
}
.news-date{
    font-size: 14px;
    color: #231815;
    font-weight: 600;
    letter-spacing: 1px;
}
.news-category{
    display: flex;
    flex-direction: row;
    gap: 2px;
}
.news-label{
    width: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 12px;
    border-radius: 40px;
    padding: 3px 15px;
}
.news-label.green{
    background-color: #3db134;
}
.news-label.orange{
    background-color: #de8f06;
}
.news-label.blue{
    background-color: #0066CC;
}
.news-title{
    font-size: 16px;
    color: #000000;
    font-weight: 300;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

@media (min-width: 769px) {
    .news-section .section-title {
        font-size: 40px;
        letter-spacing: 0.5vw;
    }
    .news-wrapper{
        position: relative;
        align-items: center;
    }
    .news-wrapper > a{
        position: relative;
        width: 74%;
    }
    .news-item{
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
    .news-header{
        align-items: center;
    }
    .news-category{
        flex-direction: column;
        min-width: 85px;
    }
}

/* company */
.company-section{
    
}
.company-section a:hover{
    text-decoration: none;
}
.company-section .section-title-wrapper{
    position: relative;
    margin-top: 1rem;
}
.company-section .section-title-image{
    z-index: -5;
    position: absolute;
    right: -9px;
    bottom: 4px;
    width: 105px;
}
.company-wrapper{
    display: grid;
    gap: 20px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
.company-item{
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
    height: 100%;
}
.company-thumbnail{
    position: relative;
    max-width: 41vw;
    width: 100%;
}
.company-image{
    position: relative;
    overflow: hidden;
}
.company-image > img{
    width: 100%;            /* 幅をコンテナに合わせる */
    aspect-ratio: 3 / 2;
    object-fit: cover;          /* 埋めるように拡大 or 切り取り */
    object-position: center;    /* 中央に揃える */
    position: relative;
}
.company-catch-copy{
    font-size: 14px;
    color: #3eb134;
}
.company-name{
    font-size: 16px;
    color: #000000;
    font-weight: 300;
    letter-spacing: 1px;
}
.company-item-wrapper{
    word-break: break-all;
}
@media (min-width: 769px) {
    .company-wrapper{
        display: grid;
        gap: 20px;
        grid-template-rows: 1fr 0;
        grid-template-columns: 1fr 1fr 1fr;
        overflow: hidden;
    }
    .company-section .section-title-wrapper{
        margin-top: 2rem;
        margin-bottom: 0.3rem;
    }
    .company-section .section-title-image{
        right: 0;
        bottom: -20px;
        width: 200px;
        max-width: 20vw;
    }
}

/* staff */
.staff-section{
    
}
.staff-section a:hover{
    text-decoration: none;
}
.staff-section .section-title-wrapper{
    position: relative;
    margin-top: 1rem;
}
.staff-section .section-title-image{
    z-index: -5;
    position: absolute;
    right: -9px;
    bottom: 4px;
    width: 95px;
}
.staff-wrapper{
    display: grid;
    gap: 20px;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
}
.staff-item{
    position: relative;
    width: 100%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
    height: 100%;
}
.staff-thumbnail{
    position: relative;
    max-width: 41vw;
    width: 100%;
}
.staff-image{
    position: relative;
    overflow: hidden;
}
.staff-image > img{
    width: 100%;            /* 幅をコンテナに合わせる */
    aspect-ratio: 3 / 2;
    object-fit: cover;          /* 埋めるように拡大 or 切り取り */
    object-position: center;    /* 中央に揃える */
    position: relative;
}
.staff-catch-copy{
    font-size: 16px;
    color: #3eb134;
}
.staff-name{
    font-size: 14px;
    color: #000000;
    font-weight: 300;
    letter-spacing: 1px;
}
.staff-item-wrapper{
    word-break: break-all;
}
@media (min-width: 769px) {
    .staff-wrapper{
        display: grid;
        gap: 20px;
        grid-template-rows: 1fr 0;
        grid-template-columns: 1fr 1fr 1fr;
        overflow: hidden;
    }
    .staff-section .section-title-wrapper{
        margin-top: 3rem;
        margin-bottom: 0.3rem;
    }
    .staff-section .section-title-image{
        right: 24px;
        bottom: -30px;
        width: 230px;
        max-width: 20vw;
    }
}

/* howto */
.howto-section{
}
.howto-contents-wrapper{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
}
.howto-img{
    position: relative;
}
.howto-img > img{
    position: relative;
    width: 92px;
    top: 5px;
}

@media (min-width: 769px) {
    .howto-section{
        margin-bottom: 8rem;
    }
    .howto-contents-wrapper {
        grid-template-columns: 5fr 2fr;
    }
    .howto-img > img {
        position: absolute;
        width: 175px;
        top: -105px;
        left: 5vw;
    }
}

/* about */
.about-section{

}
.about-section .section-title{
    letter-spacing: 2.8px;
    font-size: 22px;
}
.about-images-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}
.meets-logo{
    width: 125%;
    display: flex;
    justify-content: center;
}
.about-img{
    position: relative;
    width: 100%;
}
.about-img > img{
    position: absolute;
    top: -90px;
    left: 0px;
    width: 150px;
}
.about-movie-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0.5px;
}
.about-movie{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.about-movie > iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (min-width: 769px) {
    .about-section{
        gap: 30px;
    }
    .about-section .section-title {
        letter-spacing: 6px;
        font-size: 32px;
    }
    .about-images-wrapper{
        position: relative;
    }
    .meets-logo > img{
        width: 230px;
    }
    .about-img{
        position: absolute;
        width: 200px;
        top: 0;
        left: unset;
        right: 0;
    }
    .about-img > img {
        top: -80px;
        left: unset;
        right: -30px;
        width: 320px;
        max-width: unset;
    }
    .about-contents-wrapper{
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 1rem;
    }
    .about-movie-wrapper{
        max-height: 530px;
        margin: 2rem 0.5px 3rem 0.5px;
    }
    .about-movie > iframe{
        top: 50%;
        left: 50%;
        max-width: 946px;
        max-height: 530px;
        transform: translate(-50%, -50%);
    }
}

/* volunteer */
.volunteer-section .section-title-wrapper{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 2rem 0 1rem 0;
}
.volunteer-section .section-title{
    position: relative;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 2px;
    text-align: left;
    margin: 0;
}
.volunteer-img-wrapper{
    position: relative;
    width: 136px;
}
.volunteer-img-wrapper > img{
    position: absolute;
    top: -58px;
    right: 0;
    height: auto;
    width: 136px;
}
.volunteer-section .section-text{
    font-size: 17px;
    letter-spacing: 1px;
}
.volunteer-section .more-btn-wrapper .more-btn{
    letter-spacing: 1px;
}

@media (min-width: 769px) {
    .volunteer-section{
        margin-bottom: 6rem;
    }
    .volunteer-section .section-title-wrapper{
        justify-content: center;
    }
    .volunteer-section .section-title{
        font-size: 32px;
        letter-spacing: 3px;
    }
    .volunteer-contents-wrapper{
        display: grid;
        grid-template-columns: 5fr 2fr;
        gap: 1rem;
    }
    .volunteer-img-wrapper{
        position: relative;
    }
    .volunteer-img-wrapper > img{
        top: -36px;
        right: -110px;
        width: 200px;
        max-width: unset;
    }
    .volunteer-section .section-text{
        font-size: 18px;
        letter-spacing: 3px;
    }
}


/* slick-slider for pc */
.company-wrapper.slick-slider, .staff-wrapper.slick-slider{
    display: flex;
    justify-content: center;
    align-items: center;
}
.slick-slider{
    
}
.slick-slider .slick-list{
    
}
.slick-slider .slick-track{
    display: flex;
    gap: 30px;
    align-items: flex-start !important;
}
.slick-slider .slick-track > .company-item-wrapper, .slick-slider .slick-track > .staff-item-wrapper{
    width: calc((90vw - 69px) / 3);
}

.slider-allow-box{
    display: none;
}
@media (min-width: 769px) {
    .slider-allow-box{
        display: flex;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        justify-content: space-between;
        align-items: center;
        z-index: -1;
    }
}
@media (min-width: 1200px) {
    .slick-slider .slick-track > .company-item-wrapper, .slick-slider .slick-track > .staff-item-wrapper{
        width: calc((1093px - 69px) / 3);
    }
}
.slick-arrow{
    position: absolute;
    display: block;
    width: min-content;
    height: min-content;
}
.slick-arrow.prev-arrow{
    left: -20px;
    transform: rotate(180deg);
}
.slick-arrow.next-arrow{
    right: -20px;
}
.prev-arrow::before,
.next-arrow::before{
    position:absolute;
    content: "";
    width: 25px;
    height: 25px;
    border-right: 1.5px solid #3db134;
    border-top: 1.5px solid #3db134;
    top:0;
    bottom:0;
    left:0;
    right:0;
    margin:auto;
    transform:rotate(45deg);
}

@media (max-width: 1200px) {
    .slider-allow-box{
        max-width: calc(100vw - 160px);
        transform: translateX(2.5vw);
        min-width: 95%;
    }
}
@media (min-width: 1333px) {
    .slick-slider .slick-track > .company-item-wrapper, .slick-slider .slick-track > .staff-item-wrapper{
        width: calc((1093px - 60px) / 3);
    }
}