/*----------------------------------------------------------*/
/* フロント　スライド
/*----------------------------------------------------------*/

/* アニメーション */
@keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(calc(-100% - 30px));
    }
}

@keyframes infinity-scroll-left_sp {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(calc(-100% - 15px));
    }
}

.main-visual{
    position: relative;
    height: calc(100vw * 0.488);
    width: 100%;
    margin-top: 60px;
    max-height: 620px;
}

@media screen and (max-width: 780px) {
    .main-visual{
        height: auto;
        margin-top: 60px;
        max-height: none;
        display: flex;
        flex-direction: column-reverse;
    }
}

.main-visual-bg{
    width: 100%;
    pointer-events: none;
}

.main-visual-bg img{
    position: absolute;
    top: 0;
    /* width: 100%; */
    height: 1120px;
    opacity: 1;
}
@media screen and (max-width: 780px) {
    .main-visual-bg img{
        width: 100%;
        height: auto;
    }
}

/* .main-visual-bg .line{
    z-index: 100;
} */

.slide-wrapper{
    -webkit-mask: url("#customMask");
    mask: url("#customMask");
    -webkit-mask-composite: add;
    mask-composite: add;
    height: 100%;

    /* 上がうまく効かない時の保険 */
    /* clip-path: polygon(0% 0%, 0% 100%, 25% 100%, 25% 0, 50% 0, 50% 100%, 75% 100%, 75% 100%, 100% 100%, 100% 0); */
}

@media screen and (max-width: 780px) {
    .slide-wrapper{
        -webkit-mask: none;
        mask: none;
        margin-top: 45px;
    }
}

.slide-block{
    display: flex;
    overflow: hidden;
    gap: 30px;
    height: 100%;
}

.slide-container{
    display: flex;
    gap: 30px;
    animation: infinity-scroll-left 40s infinite linear 0.5s both;
}
@media screen and (max-width: 780px) {
    .slide-container{
        gap: 15px;
        animation: infinity-scroll-left_sp 40s infinite linear 0.5s both;
        margin-left: -15px;
    }
}

.slide-item{
    /* 画面に映り込む枚数 */
    width: calc(100vw / 4);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
@media screen and (max-width: 780px) {
    .slide-item{
        border-radius: 10px;
        width: calc(100vw / 3);
    }
}

.slide-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.text-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
}
@media screen and (max-width: 780px) {
    .text-wrapper{
        position: relative;
        padding: 0 6.25%;
    }
}

.text-container{
    display: flex;
    width: 100%;
    height: 100%;
    gap: 30px;
}

@media screen and (max-width: 780px) {
    .text-container{
        display: block;
        width: auto;
        height: auto;
    }
}

.text-item{
    /* 画面に映り込む枚数と位置合わせ */
    width: calc(100vw / 4);
}

@media screen and (max-width: 780px) {
    .text-item{
        width: 100%;
    }
}

.text-item:nth-of-type(2){
    /* text-align: center;
    text-align: -webkit-center;
    display: inline-block; */
    position: relative;
}

.text-item:nth-of-type(2) p{
    color: var(--dark-gray);
    font-family: 'Noto_Sans_JP';
    font-weight: 900;
}

.text-item:nth-of-type(2) p:first-of-type{
    font-size: 5.8rem;
    writing-mode: vertical-rl;
    position: absolute;
    top: 35%;
    left: calc(50% + 10px);
    transform: translate(-50%, -50%);
    letter-spacing: 0.05em;
    line-height: 1.3;
    white-space: nowrap;
    /* text-align: left; */
}

@media screen and (max-width: 780px) {
    .text-item:nth-of-type(2) p:first-of-type{
        position: static;
        transform: none;
        writing-mode: horizontal-tb;
        line-height: 1.20;
        font-size: 11.5vw;
        letter-spacing: 0;
    }
}

.text-item:nth-of-type(2) p:first-of-type span{
    color: var(--primary-green);
}

/* .text-item:nth-of-type(2) p:last-of-type{
    line-height: 1.6;
    font-size: 2rem;
    font-weight: 500;
    position: absolute;
    transform: translateX(-50%);
    left: calc(50% + 10px);
    bottom: 8%;
    white-space: nowrap;
} */

/* @media screen and (max-width: 780px) {
    .text-item:nth-of-type(2) p:last-of-type{
        position: static;
        transform: none;
        margin-top: 20px;
        font-weight: 600;
        padding-left: 5px;
    }
} */

.text-item:nth-of-type(2) img{
    position: absolute;
    transform: translateX(-50%);
    left: calc(50% + 10px);
    bottom: 8%;
}

@media screen and (max-width: 780px) {
    .text-item:nth-of-type(2) img{
        position: static;
        transform: none;
        margin-top: 30px;
        font-weight: 600;
        padding-left: 5px;
        width: 45%;
    }
}

/*----------------------------------------------------------*/
/* セクション１　アーカイブ
/*----------------------------------------------------------*/

.archive-section{
    margin-top: 150px;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 6.25%;
    position: relative;
}

@media screen and (max-width: 780px) {
    .archive-section{
        flex-wrap: wrap;
        gap: 30px;
        padding-bottom: 80px;
    }
}

.archive-section .archive_title{
    font-size: 4rem;
    font-family: 'Noto_Sans_JP'; 
    font-weight: 700;
    margin-bottom: 40px;
}

@media screen and (max-width: 780px) {
    .archive-section .archive_title{
        font-size: 3.5rem;
        margin-bottom: 0;
    }
}

.archive-section .archive_title span{
    font-size: 2.5rem;
    color: var(--primary-green);
    display: block;
    font-family: 'Overpass';
    font-weight: 700;
    margin-bottom: 10px;
}

@media screen and (max-width: 780px) {
    .archive-section .archive_title span{
        font-size: 2.0rem;
    }
}

.archive-section button{
    font-size: 1.6rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    background-color: #fff;
    border: solid 1px var(--light-gray);
    padding: 15px 25px;
    border-radius: 10px;
}

@media screen and (max-width: 780px) {
    .archive-section button{
        position: absolute;
        bottom: 0;
        right: 6.25%;
    }
}

.archive-section button a{
    display: flex;
    gap: 20px;
}

.archive-section button a img{
    display: block;
}

.archive-section .right-area{
    width: 63%;
}

@media screen and (max-width: 780px) {
    .archive-section .right-area{
        width: 100%;
    }
}

.archive-section .right-area article{
    border-top: solid 1px var(--light-gray);
    padding: 20px 0;
    position: relative;
}

.archive-section .right-area article:last-of-type{
    border-bottom: solid 1px var(--light-gray);
}

.archive-section .right-area article .linkarea{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.archive-section .right-area-head{
    font-size: 1.6rem;
    font-family: 'Overpass';
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

@media screen and (max-width: 780px) {
    .archive-section .right-area-head{
        margin-bottom: 15px;
    }
}

.archive-section .right-area-head a{
    font-size: 1.4rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    border: solid 1px var(--bright-green);
    color: var(--primary-green);
    padding: 5px 10px;
    border-radius: 20px;
    display: inline-block;
}

@media screen and (max-width: 780px) {
    .archive-section .right-area-head a+p{
        padding-top: 4px;
    }
}

.archive-section .right-area h3 a{
    display: block;
    font-size: 2rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    margin-bottom: 20px;
}

@media screen and (max-width: 780px) {
    .archive-section .right-area h3 a{
        margin-bottom: 15px;
        line-height: 1.25;
        font-size: 1.8rem;
    } 
}

.archive-section .right-area .right-area-bottom{
    font-size: 1.6rem;
    font-family: 'Noto_Sans_JP';
    line-height: 1.6;
}

/*----------------------------------------------------------*/
/* セクション2　サービス
/*----------------------------------------------------------*/

.service-section{
    margin-top: 140px;
}

@media screen and (max-width: 780px) {
    .service-section{
        margin-top: 80px;
    }
}

.service-section-top {
    display: flex;
    gap: 8.75%;
    align-items: center;
    justify-content: space-between;
    padding: 0 6.25% 0 0;
}

@media screen and (max-width: 780px) {
    .service-section-top {
        flex-wrap: wrap;
        padding: 0 6.25% 0;
    }
}

.service-section .left-area{
    width: 50%;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
}

@media screen and (max-width: 780px) {
    .service-section .left-area{
        width: 100%;
        border-radius: 10px;
    }
}

.service-section .left-area img{
    width: 100%;
}

.service-section .right-area{
    width: 50%;
}

@media screen and (max-width: 780px) {
    .service-section .right-area{
        width: 100%;
        margin-top: 40px;
    }
}

.service-section .right-area h2{
    font-family: 'Noto_Sans_JP';
    font-weight: 900;
    /* font-size: 4.6rem; */
    font-size: clamp(2.8rem, 2.875vw, 4.6rem);
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: 40px;
}

@media screen and (max-width: 780px) {
    .service-section .right-area h2{
        margin-bottom: 25px;
        line-height: 1.5;
    }
}

.service-section .right-area h2 span{
    color: var(--primary-green);
}

.service-section .right-area p{
    font-family: 'Noto_Sans_JP';
    font-size: 1.8rem;
    color: var(--dark-gray);
    line-height: 2;
    color: var(--dark-gray);
}

.service-section-bottom{
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 120px;
}

@media screen and (max-width: 780px) {
    .service-section-bottom{
        flex-wrap: wrap;
        margin-top: 50px;
    }
}

.service-section-bottom .item-top h3{
    /* font-size: 2.8rem; */
    font-size: clamp(2.2rem, 1.75vw, 2.8rem);
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.25;
}

@media screen and (max-width: 780px) {
    .service-section-bottom .item-top h3{
        font-weight: 800;
    }
}

.service-section-bottom .item-top h3 + span{
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--white);
    display: block;
}

.service-section-bottom .item:first-of-type .item-top h3{
    color: var(--dark-gray);
}

.service-section-bottom .item:first-of-type .item-top p{
    color: var(--dark-gray);
}

.service-section-bottom .item-top p{
    font-size: 1.6rem;
    font-family: 'Noto_Sans_JP';
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-section-bottom{
    display: flex;
    padding: 0 6.25%;
}

.service-section-bottom .item{
    padding: 40px 40px 30px;
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    width: calc(100% / 3);
}

@media screen and (max-width: 780px) {
    .service-section-bottom .item{
        padding: 30px 30px 20px;
        width: 100%;
    }
}

.service-section-bottom .item:nth-of-type(1){
    background-color: #FADA6B;
}

.service-section-bottom .item:nth-of-type(2){
    background-color: var(--primary-green);
}

.service-section-bottom .item:nth-of-type(3){
    background-color: #417CC0;
}

.service-section-bottom .item-bottom{
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
}

.item-bottom>img{
    height: 9.5vw;
    width: auto;
}

@media screen and (max-width: 780px) {
    .item-bottom>img{
        height: 22.5vw;
    }
}

.item-bottom>button{
    
}

.item-bottom>button img{
    
}

/*----------------------------------------------------------*/
/* セクション3　カレンダー
/*----------------------------------------------------------*/

.calendar-section{
    margin-top: 120px;
    padding: 0 6.25%;
    margin-bottom: 150px;
}

@media screen and (max-width: 780px) {
    .calendar-section{
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

/* カレンダー見た目調整 */

.calendar-section .tribe-common--breakpoint-medium.tribe-common .tribe-common-h6{
    display: none;
}

.tribe-events-widget-events-list__header-title.tribe-common-h6.tribe-common-h--alt{
    display: none;
}

@media screen and (max-width: 780px) {
    .tribe-compatibility-container{
        border-top: 1px solid var(--light-gray);
        border-bottom: 1px solid var(--light-gray);
        padding: 0;
        margin: 20px 0;
    }
    .tribe-events-widget{
        margin-bottom: 0!important;
    }
    .tribe-events-widget-events-list__event-title-link.tribe-common-anchor-thin{
        font-size: 1.8rem;
        padding-top: 5px;
        display: inline-block;
        line-height: 1.25;
    }
}

.calendar-section .tribe-common-h6.original{
    font-family: 'Noto_Sans_JP';
    font-size: 3rem;
    font-weight: 500;
    display: block;
}

@media screen and (max-width: 780px) {
    .calendar-section .tribe-common-h6.original{
        font-weight: 700;
        font-size: 2.6rem;
    }
}

.calendar-section .tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-row{
    border-top: 1px solid var(--medium-gray);
    padding: 35px 0 30px;
    gap: 90px;
    margin-bottom: 0;
}

.calendar-section .tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-row:last-of-type{
    border-bottom: 1px solid var(--medium-gray);
}

.calendar-section .tribe-common--breakpoint-medium.tribe-common .tribe-common-b3--min-medium{
    color: var(--brown);
    font-family: 'Overpass';
    font-size: 1.2rem;
}

.calendar-section .tribe-common--breakpoint-medium.tribe-events-widget .tribe-events-widget-events-list__event-title{
    color: var(--brown);
    font-size: 2.4rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    margin-top: 10px;
}

.calendar-section .tribe-common--breakpoint-xsmall.tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month{
    font-family: 'Noto_Sans_JP';
    font-size: 1.2rem;
}

.calendar-section .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium{
    font-family: 'Overpass';
    font-weight: 700;
    font-size: 2.8rem;
    margin-top: 5px;
    color: var(--primary-green);
}

.tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin {
    display: none;
}

.tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin.original {
    font-size: 1.6rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    background-color: #fff;
    border: solid 1px var(--light-gray)!important;
    padding: 15px 25px;
    border-radius: 10px;
    position: relative;
    padding-left: 65px;
    display: inline-block;
}

@media screen and (max-width: 780px) {
    .tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin.original {
        margin-left: auto;
        display: table;
    }
}

.tribe-events-widget-events-list__view-more-link.tribe-common-anchor-thin.original:before {
    content: "";
    display: block;
    width: 34px;
    height: 17px;
    background-image: url(../image/common/arrow_gr_cir.svg);
    background-size: cover;
    position: absolute;
    left: 20px;
}

.calendar-section .notice {
    color: #D30C1B;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 20px;
}

/*----------------------------------------------------------*/
/* セクション4　お問い合わせ
/*----------------------------------------------------------*/

.contact-section{
    margin-top: 120px;
    padding: 0 6.25%;
    position: relative;
}

@media screen and (max-width: 780px) {
    .contact-section{
        padding: 0;
        margin-top: 80px;
    }
}

.contact-section:before{
    content: "";
    display: block;
    width: 38.5%;
    height: 34vw;
    background-image: url(../image/front/texture.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 17vw;
    left: -11vw;
}

@media screen and (max-width: 780px) {
    .contact-section:before{
        top: 27vw;
        left: auto;
        right: 0;
    }
}

.contact-section .image-wrapper{
    display: flex;
    position: relative;
}

.contact-section .image-wrapper img{
    display: block;
    width: calc(100% / 3);
}

.contact-section .image-wrapper img:first-of-type{
    border-radius: 20px 0 0 20px;
}

@media screen and (max-width: 780px) {
    .contact-section .image-wrapper img:first-of-type{
        border-radius: 0;
    }
}

.contact-section .image-wrapper img:last-of-type{
    border-radius: 0 20px 20px 0;
}

@media screen and (max-width: 780px) {
    .contact-section .image-wrapper img:last-of-type{
        border-radius: 0;
    }
}

.contact-wrapper{
    display: flex;
    justify-content: space-between;
    /* gap: 90px; */
    /* padding-top: 80px; */
    /* padding-left: 90px; */
    padding-top: 6.5%;
    padding-left: 7.0%;
    background-color: var(--off-white);
    position: relative;
    z-index: 10;
    margin-right: 0;
    margin-left: auto;
    margin-top: -140px;
    width: 76%;
    border-radius: 20px 0 0 0;
    margin-bottom: 120px;
}

@media screen and (max-width: 780px) {
    .contact-wrapper{
        flex-wrap: wrap;
        padding: 0 6.25%;
        margin-top: 40px;;
        width: 100%;
        border-radius: 0;
        background: none;
        margin-bottom: 80px;
    }
}

.contact-wrapper .left-area{
    width: 43%;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .left-area{
        width: 100%;
    }
}

.contact-wrapper .left-area h3{
    font-size: 4rem;
    color: var(--dark-gray);
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .left-area h3{
        font-size: 3.5rem;
    }
}

.contact-wrapper .left-area h3 span{
    font-size: 2.5rem;
    display: block;
    color: var(--primary-green);
    font-family: 'Overpass';
    font-weight: 700;
    margin-bottom: 15px;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .left-area h3 span{
        font-size: 2.0rem;
        margin-bottom: 10px;
    }
}

.contact-wrapper .left-area p{
    margin-top: 40px;
    font-size: 1.6rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 500;
    color: var(--dark-gray);
    line-height: 1.75;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .left-area p{
        margin-top: 25px;
    }
}

.contact-wrapper .right-area{
    width: 50.75%;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .right-area{
        width: 100%;
        margin-top: 30px;
    }
}

.contact-wrapper .right-area .item-top{
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-wrapper .right-area .item-top>img{
    width: 100%;
}

.contact-wrapper .right-area .item-top>p{
    font-size: 1.8rem;
    text-align: center;
    display: inline-block;
    padding: 14.5px 16px;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
    line-height: 1.33333;
    border-top: dashed 1px var(--gray);
    border-bottom: dashed 1px var(--gray);
}

.contact-wrapper .right-area .item-top .tel{
        background-color: unset;
        color: var(--brown);
        font-family: 'Overpass';
        font-weight: 700;
        display: block;
        padding: 0;
        border-radius: unset;
        align-items: unset;
}

.contact-wrapper .right-area .item-top .tel>div{
    display: flex;
    align-items: center;
    gap: 7px;
}

.contact-wrapper .right-area .item-top .tel>p{
    font-size: 1.6rem;
    text-align: center;
    background-color: var(--light-beige);
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 8px;
    padding-bottom: 3px;
    border-radius: 50px;
}

.contact-wrapper .right-area .item-top .tel div>p{
    font-size: 4.2rem;
    font-weight: 900;
}

.contact-wrapper .right-area .item-bottom div{
    display: flex;
    justify-content: space-between;
    padding: 29.5px 20px 29.5px 30px;
    border-radius: 10px;
    color: var(--white);
    font-size: 1.8rem;
    font-family: 'Noto_Sans_JP';
    font-weight: 700;
}

@media screen and (max-width: 780px) {
    .contact-wrapper .right-area .item-bottom div{
        font-size: 1.6rem;
    }
}

.contact-wrapper .right-area .item-bottom div:first-of-type{
    background-color: var(--bright-green);
    margin-bottom: 5px;
}

.contact-wrapper .right-area .item-bottom div:last-of-type{
    background-color: var(--brown);
}