@charset "UTF-8";

/*====================
fadein
======================  */
.fadeIn {
    transform: translate(0, 30px);
    opacity: 0;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fadeIn.animated {
    transform: translate(0, 0);
    opacity: 1;
}

/*====================
recruit
======================  */
.section-recruit-page {
    padding: 60px 5.3%;
}

.mainImg__pc {
    display: none;
}

.mainImg__sp {
    opacity: 0.5;
    width: 100%;
}

.mainvisual__title {
    display: grid;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
}

.mainvisual__group {
    position: relative
}

.recruit__topic {
    font-size: 1.8rem;
    font-weight: 400;
    text-align: center;
}

.recruit__txt {
    display: table;
    margin: 20px auto 0;
}

.spBr {
    display: none;
}

.recruit__img {
    margin: 40px auto 0;
    display: block;
}

/* recruit pc */
@media screen and (min-width: 769px) {
    .mainImg__pc {
        display: block;
        opacity: 0.5;
        width: 100%;
    }

    .mainImg__sp {
        display: none;
    }

    .spBr {
        display: block;
    }
    
}

@media screen and (min-width: 1024px) {
    .section-recruit-page {
        padding: 130px 80px;
    }

    .recruit__topic {
        font-size: 2.2rem;
    }

    .recruit__txt {
        margin: 40px auto 0;
        width: 70%;
    }

    .recruit__img {
        margin: 80px auto 0;
        width: 70%;
    }
    
}

@media screen and (min-width: 1440px) {
     .section-recruit-page {
        padding: 130px 120px;
    }

      .recruit__topic {
        font-size: 2.4rem;
    }

    .recruit__txt {
        max-width: 1200px;
        width: 60%;
    }

    .recruit__img {
        max-width: 1200px;
        width: 60%;
    }

}

/*====================
recruit__contact
======================  */
.section-recruit__contact {
    padding: 60px 5.3%;
    background-color: var(--primary--whiteLow);
}

body.page-template-page-recruit .recruit__content {
    background-color: transparent !important;
    padding: 0;
}

.recruit__content {
    margin: 50px auto 0;
}

.recruit__name {
    color: var(--primary-darkgreen);
    font-weight: 700;
}

.recruit__answer {
    margin-top: 10px;
    position: relative;
}

.recruit__answer::after {
    content: '';
    width: 100%;
    position: absolute;
    bottom: -15px; 
    left: 0;
    height: 1px;
    background-color: var(--primary-black);
    background-color: rgba(0, 0, 0, 0.3);
}

.btn__group-03 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 263px;
    height: 45px;
    box-sizing: border-box;
    border-radius: 0;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
    background-color: var(--primary-white);
    color: var(--primary-darkgreen);
    border: 1px solid #6E7C62;
    margin: 50px auto 0;
}

.btn__txt {
    text-decoration: none;  
    color: var(--primary-darkgreen);  
    font-weight: 400;
}

/* aタグは親の色を継承 */
.btn__group-03 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

/* 矢印のアニメーション準備 */
.btn__group-03 .arrow {
    transition: filter 0.3s;
}

/* hover時 */
.btn__group-03:hover {
    background-color: #6E7C62; /* border色 */
    color: #fff;
}

/* hover時：矢印を白に */
.btn__group-03:hover .arrow {
    filter: brightness(0) invert(1);
}

/* recruit__contact pc */
@media screen and (min-width: 1024px) {
    .section-recruit__contact {
        padding: 130px 80px;
    }

    .section-recruit__contact .sub__title {
        margin-bottom: 80px;
    }

    body.page-template-page-recruit-php .recruit__content {
        width: 70%;
    }

    .btn__group-03 {
        margin: 80px auto 0;
    }

}

@media screen and (min-width: 1440px) {
    body.page-template-page-recruit-php .recruit__content {
        width: 60%;
    }
}

body.page-template-page-recruit-php .recruit__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* 左寄せ */
    background-color: transparent; /* 背景色消す */
}

.recruit__answer {
    position: relative;
    display: block;   /* ← 超重要 */
    width: 100%;
}

.recruit__answer::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;      /* 親幅いっぱい */
    height: 1px;
    background-color: rgba(0, 0, 0, 0.3);
}
