@charset "UTF-8";

/* 求める人物像 */

.recruit-fv .fv-title2 {
    z-index: 4;
}

#persona {
    position: relative;
}
#persona.section {
    padding: 10vw 0 0 0;
}

.p-deco {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    margin-left: calc(50% - 50vw);
}

.p-deco .p-deco-inner {
    position: relative;
    width: 100%;
    height: 100%;
}


.deco img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-deco .deco-item.deco-item1 {
    transform: translate(-5% , 30%);
    aspect-ratio: 10 / 7;
    width: min(20vw , 20em);
    animation: re-tree 10s ease-in-out infinite;
}
@keyframes re-tree {

  0%, 85%, 100% {
    transform: translate(-5% , 30%) rotate(0);
  }
  90% {
    transform: translate(-5% , 30%) rotate(5deg);
  }
  96% {
    transform: translate(-5% , 30%) rotate(0);
  }
  
}

#persona .flex {
    position: relative;
    align-items: start;
    gap: 2em;
    aspect-ratio: 10 / 3.8;
    width: 100%;
    height: auto;
}


#persona .flex .text-box {
    display: grid;
    align-content: center;
    aspect-ratio: 5 / 4;
    width: calc(100% / 3);
    height: auto;
    margin-top: auto;
    text-align: center;
    background-color: #ccc;
    opacity: 0;
    transform: scale(.8);
    transition: .5s .5s ease;
}

#persona .flex .text-box.text-box2 {
    transition: .5s .7s ease;
}
#persona .flex .text-box.text-box3 {
    transition: .5s .9s ease;
}

#persona .active .flex .text-box {
    opacity: 1;
    transform: scale(1);
} 

#persona .flex .text-box.text-box1,
#persona .flex .text-box.text-box3 {
    margin-top: 0;
    background: url(../images/recruit/recruit_bg2.webp) no-repeat center / contain;
}

#persona .flex .text-box.text-box2 {
    background: url(../images/recruit/recruit_bg1.webp) no-repeat center / contain;

}

#persona .flex .text-box p {
    font-size: 1.25em;
    font-weight: 600;
    color: #58280F;
}


/* 装飾 */

.p-deco2 {
    position: absolute;
    top: 0;
    left: 0;
}

.p-deco2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-deco2.p-item1 {
    left: 75%;
    width: 2.5vw;
    max-width: 1.5em;
    opacity: 0;
}
.active .p-deco2.p-item1 {
    animation: re-leaf 5s ease-in-out forwards; 

}
@keyframes re-leaf {
  0% {
    opacity: 0;
    transform: translate(0%, -100%) rotate(0deg);
  }
  10% {
    opacity: 1;
  }

  25% {
    transform: translate(20%, 100%) rotate(15deg);
  }

  50% {
    transform: translate(-20%, 200%) rotate(-10deg);
  }

  75% {
    transform: translate(15%, 300%) rotate(20deg);
  }

  100% {
    opacity: 0;
    transform: translate(-10%, 400%) rotate(30deg);
  }
  
}

.p-deco2.p-item2 {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    transform: translate(-100% , 0);
    width: 4vw;
    max-width: 3em;
}

.p-deco2.p-item3 {
    top: auto;
    bottom: 0;
    transform: translateY(50%);
    aspect-ratio: 5 / 2;
    width: 10vw;
    max-width: 6em;
    height: auto;
    text-align: center;

}

.deco-flex {
    position: absolute;
    top: 70%;
    transform: translate(4% , -30%);
    display: flex;
    gap: 2em;
    height: auto;
}

.p-deco2.p-item3 img {
    width: calc(100% / 2 - 1em);
    height: auto;
    animation: about-deco 15s ease-in-out infinite;
}

.p-deco2.p-item3 img.img_2 {
  animation-delay: .3s;
}
.p-deco2.p-item3 img.img_3 {
  animation-delay: .6s;
}

/* 先輩たちの声 */
#voice .flex {
    position: relative;
    align-items: center;
    gap: 2em;
    width: 95%;
    margin: 0 auto;
    margin-bottom: 5em;
}

#voice .flex.reverse {
    flex-direction: row-reverse;
}

#voice .title {
    margin-bottom: 10vw;
}
#voice .title_3 {
    margin-bottom: 8em;
}


.flex-img {
    width: 35%;
}

.sub-title {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    max-height: 20em;
}
.sub-title .text {
    position: absolute;
    right: 0;
    top: 0;
    transform: translate(0 , -50%);
    display: inline-block;
    align-content: center;
    padding: 1.5em;
    border-radius: 50vw;
}

.reverse .sub-title .text {
    right: auto;
    left: 0;
}

.sub-title .text::before,
.sub-title .text::after  {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 50vw;
    background-color: #fff;
}
.sub-title .text::after {
    z-index: 1;
    background-color: #F7D061;
    transform: translate(.3em , -.2em);
}

.reverse .sub-title .text::after {
    transform: translate(-.3em , -.2em);
}

.sub-title .text p {
    position: relative;
    z-index: 3;
    line-height: 1.6;
    font-weight: 700;
    text-align: center;
    color: #58280F;
}
.sub-title .text p:nth-child(2) {
    font-size: .8em;
}


.voice_1 .sub-title {
    background: url(../images/recruit/teacher_1.webp) no-repeat center / contain;
}
.voice_2 .sub-title {
    background: url(../images/recruit/teacher_2.webp) no-repeat center / contain;
}
.voice_3 .sub-title {
    background: url(../images/recruit/teacher_3.webp) no-repeat center / contain;
}
.voice_4 .sub-title {
    background: url(../images/recruit/teacher_4.webp) no-repeat center / contain;
}

.flex-text {
    width: 65%;
}


.flex-text h4 {
    margin-bottom: 1rem;
    font-size: 1.5em;
    border-bottom: .1em #F24D2C dashed;
    color: #58280F;
}

.voice-t {
    margin-bottom: 1em;
}

.voice-l {
    margin-bottom: 1em;
}

.list-q::before {
    content: '';
    transform: translateY(.15em);
    display: inline-block;
    aspect-ratio: 1 / 1;
    width: 1em;
    height: auto;
    border-radius: 50vw;
    margin-right: .5em;
    background: url(../images/recruit/r_icon_1.webp) no-repeat center / contain;
}


.voice-mama .list-q::before {
    background: url(../images/recruit/r_icon_2.webp) no-repeat center / contain;
}

#voice .voice-mama .flex.reverse {
    margin-bottom: 0;
}


/* 装飾 */
.v-deco {
    position: absolute;
    top: 0;
    left: 0;
}

.v-deco.v-item1 {
    width: 5vw;
    max-width: 4em;
}

.v-deco.v-item2,
.v-deco.v-item3 {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    transform: translate(-50% , 100%);
    width: 3.5vw;
}

.v-deco.v-item3 {
    transform: translate(100% , 0);
    width: 2vw;
}


.v-deco.v-item4 {
    top: auto;
    bottom: 0;
    transform: translate(-100% , 100%);
    width: 5vw;
}

.v-deco.v-item5 {
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    width: 7vw;
}


/* 募集職種 */

#recruit.section {
    margin-top: 20vw;
    padding: 0 0 15vw 0;
}

#recruit .section-inner {
    width: 90%;
}

.q-1 {
    overflow: hidden;
    width: 90%;
    margin: 0 auto 1em auto;
    border-radius: 1em;
    background-color: #fff;
    transition: .2s ease;
}

.q-1:last-child {
    margin: 0 auto;
}


.q-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1em 2em 1em 2em;
    background: #fff;
    transition: .2s ease;
}

.q-header h4 {
    font-size: 1.6em;
    color: #58280F;
}

.open {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    width: 2em;
    height: auto;
    border-radius: 50vw;
    background-color: #F7D061;
}
.open::before,
.open::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% ,-50%);
    width: 50%;
    height: 2px;
    background-color: #fff;
}
.open::after {
    transform: translate(-50% ,-50%) rotate(90deg);
    transition: .2s all ease;
}

#recruit .q-1.q-1_1 .open::after {
    transform: translate(-50% ,-50%) rotate(0);
}
#recruit .q-1.q-1_1.active .open::after {
    transform: translate(-50% ,-50%) rotate(90deg);
}

.active .open::after {
    transform: translate(-50% ,-50%) rotate(0);
}

.q-cnt {
    overflow: hidden;
    height: 0;
    color: #58280F;
    transition: height 0.3s ease-out;
}

.q-cnt.active {
    height: auto;
}

.q-body {
    width: 90%;
    margin: 0 auto;
    background-color: #fff;
}

.q-body tbody {
    display: table-row-group;
}


table.q-body:not(.has-border-color) :where(th, td) {
    padding-top: 1em;
    border-bottom: .15em solid #D9D9D9;
}
table.q-body:not(.has-border-color) :where(th) {
    width: 8em;
}

table.q-body:not(.has-border-color) tr:last-child :where(th, td) {
    padding-bottom: 2em;
    border: 0;
}

.q-body th::before {
    content: '';
    transform: translateY(.2em);
    display: inline-block;
    aspect-ratio: 1 / 1;
    width: 1em;
    height: auto;
    margin-right: .2em;
    border-radius: 50vw;
    background-color: #F7D061;
}

#contact.section {
    padding: 15vw 0 0 0 !important;

}

.r-contct {
    margin-top: 3em;
    text-align: center;
}

.r-contct p {
    margin-bottom: 1em;
}

.r-contct .btn::before {
    background-color: #F24D2C;
}
.r-contct .btn a {
    color: #fff;
}
.r-contct .btn-arrow::after {
    background: url(../images/arrow_3.webp) no-repeat center / contain;
}

.r-contct .btn-arrow {
    background-color: #fff;
}

.r-contct .btn::after {
    transform: translate(0 , .2em);
    width: calc(100% + .2em);
    border: .2em solid #F7D061;
    background-color: #F7D061;
}


/* 装飾 */
.food_leaf {
    position: absolute;
    right: 0%;
    width: 100vw;
    height: 30vw;
    bottom: 99.5%;
    background: url(../images/bg.webp) repeat-x center bottom / contain;
}

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

.food_leaf1 {
    position: absolute;
    z-index: -1;
    bottom: 48%;
    left: 10%;
    transform: translate(0%, 0%);
    width: 6em;
    height: auto;
}

.food_leaf2 {
    position: absolute;
    z-index: -1;
    bottom: 50%;
    left: 10%;
    transform: translate(125%,0%);
    width: 5em;
    height: auto;
}

.r-deco {
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-100% , -50%);
    width: 6vw;
}

.r-deco.r-item2 {
    right: auto;
    left: 10%;
    transform: translate(0 , -100%);
    display: flex;
    align-items: baseline;
    width: 18vw;
    max-width: 13em;
}
.r-deco.r-item2 img {
    width: calc(100% / 6);
    height: auto;
    object-fit: contain;
    animation: blog-deco 5s ease-in-out infinite;
}

.r-deco.r-item2 img:nth-child(2) {
  animation-delay: .2s;
}
.r-deco.r-item2 img:nth-child(3) {
  animation-delay: .4s;
}
.r-deco.r-item2 img:nth-child(4) {
  animation-delay: .6s;
}
.r-deco.r-item2 img:nth-child(5) {
  animation-delay: .8s;
}
.r-deco.r-item2 img:nth-child(6) {
  animation-delay: 1s;
}








@media screen and (max-width: 1200px){


    #voice .flex,
    #voice .flex.reverse {
        flex-direction: column;
        width: 95%;
    }
    
    .flex-text {
        width: 100%;
    }

    .flex-img {
        width: 100%;
        height: auto;
    }

    .sub-title .text {
        right: auto;
        left: 0;
    }

    .sub-title .text::after {
        transform: translate(-.3em, -.2em);    
    }

    /* 装飾 */

    .v-deco.v-item1 {
       left: auto;
       right: 0;
       transform: translate(0 , -150%);
    }

    .v-deco.v-item2,
    .v-deco.v-item3 {
        transform: translate(-50% , 0);
        width: 6vw;
    }

    .v-deco.v-item3 {
        transform: translate(100% , -50%);
        width: 3vw;
    }


    .v-deco.v-item4 {
        transform: translate(0 , 100%);
        width: 8vw;
    }

    .v-deco.v-item5 {
        width: 8.5vw;
    }


}

@media screen and (min-width: 769px) {
    .r-contct .btn:hover::before {
        background-color: #fff;
    }
    .r-contct .btn:hover a {
        color: #F24D2C;
    }

    .r-contct .btn:hover .btn-arrow {
        background-color: #F24D2C;
    }

    .r-contct .btn:hover .btn-arrow::after {
        background: url(../images/arrow_1.webp) no-repeat center / contain;
    }

}


@media screen and (max-width: 768px) {

    /* 求める人物 */

    #persona.section {
        padding: 30vw 0 10vw 0;
    }

    #persona .flex {
        display: block;
        gap: 0;
        aspect-ratio: 2.2 / 3;
        max-height: 700px;

    }

    #persona .flex .text-box {
        position: absolute;
        justify-content: center;
        width: 90%;
        max-width: 350px;
    }
    #persona .flex .text-box.text-box1 {
        top: 0;
        right: 0;
    }
    #persona .flex .text-box.text-box2 {
        top: 50%;
        transform: translateY(-50%);
    }
    #persona .flex .text-box.text-box3 {
        bottom: 0;
        right: 0;
    }

    .p-deco .deco-item.deco-item1 {
        width: 7em;
    }

    .p-deco2.p-item1 {
        left: auto;
        right: 0;
        transform: translate(0 , -100%) rotate(-32deg);
        width: 1.5em;
        max-width: initial;
    }

    .p-deco2.p-item2 {
        z-index: 3;
        transform: translate(0 , 0);
        width: 2.5em;
    }

    .p-deco2.p-item3 {
        width: 4em;
    }

    /* 先輩からの声 */

    #voice .title {
        margin-bottom: 20vw;
    }

    .flex-text h4 {
        font-size: 1.25em;
    }

    .v-deco.v-item1 {
        width: 3em;
    }

    .v-deco.v-item2 {
        transform: translate(-50%, 30%);
        width: 3em;
    }
    .v-deco.v-item3 {
        width: 1.5em;
    }

    .v-deco.v-item4 {
        width: 4em;
    }

    .v-deco.v-item5 {
        transform: translateY(50%);
        width: 3em;
    }

    .food_leaf1 {
        width: 3em;
    }

    .food_leaf2 {
        transform: translate(150% , 0);
        width: 2.5em;
    }

    .r-deco {
        transform: translate(-100% , 0);
        width: 2.5em;

    }

    #voice .flex, #voice .flex.reverse {
        max-width: 600px;
        margin: 0 auto 5em auto;
    }

    /* 募集要項 */

    .q-1 {
        width: 100%;
    }

    table.q-body:not(.has-border-color) :where(th, td) {
        display: block;
        border-bottom: 0;
    }

    table.q-body:not(.has-border-color) :where(th) {
        padding-bottom: 0;
    } 

    table.q-body:not(.has-border-color) :where(td) {
        border-bottom: .15em solid #D9D9D9;
        padding-top: 0;
    }

    .q-header h4 {
        font-size: 1.25em;
    }

    #recruit.section {
        padding: 0 0 30vw 0;
    }

    .r-deco.r-item2 {
        width: 7em;
    }

    .r-contct p {
        text-align: center;
    }


    table.q-body:not(.has-border-color) tr:last-child :where(th) {
        width: 100%;
        padding-bottom: 0;
    }
}


@media screen and (max-width: 480px) {
    
    #persona .flex .text-box {
        position: initial;
        margin: 0 auto;
    }
    #persona .flex {
        aspect-ratio: initial;
        max-height: initial;
    }

    #persona .flex .text-box.text-box2 {
        transform: translateY(0);
    }
    
}

