/* 採用情報 */

.content_recruit {

    margin-bottom: 100px;

    p,
    h2,
    h3 {
        margin: 0;
        letter-spacing: 0.05em;
    }

    p {
        font-size: 16px;
        line-height: 1.5;
    }

    p+p {
        margin-top: 1em;
    }

    .content_recruit_title {
        line-height: 1;
        padding-top: 80px;
        padding-bottom: 60px;
        text-align: center;


        p {
            margin: 0;
            font-size: 36px;
            font-weight: 700;
            line-height: 1.2;
            text-transform: uppercase;
        }

        h2 {
            font-size: 16px;
            font-weight: 400;
            line-height: 1.5;
            letter-spacing: 0.1em;
        }
    }
}

.content_recruit.intro_section {
    .flex-container {
        display: flex;
        gap: 100px;
        align-items: center;
    }
}

.recruit-intro_contents {
    width: 48%;

    .recruit-intro_title {
        font-size: 28px;
        line-height: 1;
        padding-bottom: 24px;
        border-bottom: 1px dashed var(--c1);
        margin-bottom: 24px;
    }
}

.recruit-intro_image {
    flex: 1;
    margin-right: calc(50% - 50vw);
    width: 48%;

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

.recruit_page_menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 100px;

    .recruit_page_menu_element {
        background-color: #362D00;
        max-width: 276px;
        flex: 1;
        height: 70px;
    }

    .recruit_page_menu_element a {
        text-decoration: none;
        color: white;
        font-size: 16px;
        display: inline-block;
        width: 100%;
        height: 100%;
        text-align: center;
        align-content: center;
        position: relative;
    }

    .recruit_page_menu_element a:hover {
        background-color: #eee;
    }

    .recruit_page_menu_element a::after {
        content: "";
        display: inline-block;
        width: 1em;
        aspect-ratio: 1 / 1;
        background-image: url(../images/recruit/btn_arrow.png);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
    }
}

.content_recruit.about_section {
    background-color: var(--c2);
    padding-bottom: 80px;

    .about_contents {
        display: flex;
        flex-direction: column;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .about_content {
        .inner {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 72px;
        }

        .about_content_text {
            flex: 1;
            width: 50%;
            max-width: calc(476 / 1440 * 100vw);

            &>p {
                letter-spacing: 0.05em;
                line-height: 1.875;
            }

            .red {
                color: var(--c3);
                font-weight: 700;
            }

            ul {
                margin-top: 1em;
                margin-bottom: 1em;
                padding-left: 1.2em;
                list-style: disc;
            }

            li {
                margin-top: 0.25em;
                font-size: 16px;
            }
        }

        .about_content_title {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 30px;

            h3 {
                font-size: 28px;
                line-height: 1.8;
            }

            p {
                font-size: 28px;
                font-weight: 700;
                line-height: 1.2;
                text-align: center;
                width: 64px;
                aspect-ratio: 1;
                align-content: center;
                background-image: url(../images/recruit/about_num_bg.png);
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;

                &::before {
                    content: "point";
                    display: block;
                    font-size: 10px;
                    font-weight: 400;
                }
            }
        }

        .about_content_image {
            flex: 2.5;
            margin-right: calc(50% - 50vw);
            width: 50%;
            max-width: calc(720 / 1440 * 100vw);

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        &:nth-child(odd) {
            background-color: white;

            .inner {
                flex-direction: row-reverse;
            }

            .about_content_image {
                margin: 0;
                margin-left: calc(50% - 50vw);
            }
        }
    }
}

.content_recruit.listing_section {
    .intro_section {
        background-color: var(--c1);
        background-image: url(../images/recruit/listing_bg.jpg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding-bottom: 80px;
        color: white;
        position: relative;

        &::before {
            content: "";
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(40, 40, 40, 0.73);
            z-index: 0;
        }
    }

    .content_recruit_title,
    .listing_intro_text,
    hr {
        position: relative;
        z-index: 2;
    }

    .content_recruit_title {
        padding-bottom: 24px;
    }

    hr {
        border: none;
        border-top: 1px solid white;
        margin: 0 auto;
        width: 35px;
        margin-bottom: 24px;

    }

    .listing_intro_text {
        p {
            letter-spacing: 0.1em;
            line-height: 2;
        }
    }

    .main_section {
        padding-top: 80px;

        .content_recruit_gist {
            border: 1px solid var(--c1);
            border-bottom: none;

            &+.content_recruit_gist {
                margin-top: 24px;
            }

            &:has(.step_list) {
                border-bottom: 1px solid var(--c1);
            }
        }

        .content_recruit_gist .content_recruit_gist_title {
            background-color: var(--c1);
            color: white;
            padding: 28px;
            font-size: 28px;
            font-weight: 700;
            letter-spacing: 0.15em;
            text-align: center;
            display: block;
            position: relative;

            &::after {
                content: '';
                display: block;
                width: 24px;
                aspect-ratio: 1;
                background: url(../images/recruit/btn_arrow.png) no-repeat center / contain;
                position: absolute;
                right: 2em;
                top: 50%;
                transform: translateY(-50%);
                transition: transform 0.2s;
            }
        }

        .content_recruit_gist[open] .content_recruit_gist_title {
            &::after {
                transform: translateY(-50%) rotate(180deg);
            }
        }


        .content_recruit_gist .content_recruit_gist_about {
            display: flex;
            align-items: center;
            padding: 56px 60px;
            gap: 60px;
            border-bottom: 1px solid var(--c1);
        }

        .content_recruit_gist .content_recruit_gist_about .image {
            flex: 1.5;
            max-width: 312px;

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

        .content_recruit_gist .content_recruit_gist_about .text {
            flex: 2;

            p:nth-child(1) {
                background-color: #5D4740;
                width: fit-content;
                padding: 0 16px;
                color: white;
            }

            p:nth-child(2) {
                margin-top: 24px;
                font-size: 24px;
                font-weight: 700;
                color: #5D4740;
                line-height: 1.3;
            }

            p:nth-child(3) {
                margin-top: 1em;
            }
        }

        .content_recruit_gist .gist_table {
            margin: 0;
            display: grid;
            grid-template-columns: 220px 1fr;

            dt,
            dd {
                height: 120px;
                align-content: center;
                border-bottom: 1px solid var(--c1);
                padding-left: 3em;
                padding-right: 16px;
                font-size: 16px;
            }

            dt {
                background-color: var(--c2);
            }

            dd {
                background-color: white;
            }
        }

        .content_recruit_gist .step_title {
            background-color: #5D4740;
            color: white;
            padding: 16px 0;
            text-align: center;
            font-size: 20px;
            font-weight: 700;
            margin-top: 48px;
        }

        .content_recruit_gist .step_list {
            width: fit-content;
            margin: 40px auto;

            li {
                font-size: 16px;
                line-height: 1.875;
                margin-top: 0.5em;
            }
        }

        .content_recruit_apply {
            text-align: center;
            margin-top: 80px;
            height: 154px;
            display: flex;
            width: 100%;
            border: 1px solid var(--c1);

            h3 {
                background-color: #5D4740;
                color: white;
                align-content: center;
                flex: 1;
                font-size: 24px;
            }

            p {
                background-color: var(--c2);
                align-content: center;
                flex: 4;
            }
        }
    }
}

.content_recruit.form_section {
    .content_recruit_title {
        background-color: var(--c1);
        color: white;
        padding-bottom: 80px;
    }

    .form_wrapper {
        border: 1px solid var(--c1);
        background-color: white;
        margin-top: -40px;
        padding: 100px 16px;
    }

    .wpcf7-form {
        max-width: 900px;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 1em;

        input,
        textarea,
        select {
            box-sizing: border-box;
            font-size: 16px;
            padding: 20px 30px;
            border: 1px solid #B2B2B2;
        }

        label {
            font-size: 16px;
        }

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
        }

        .wpcf7-form-control-wrap[data-name="zip"] {
            width: 40%;
            display: inline-block;
            margin-bottom: 1em;
        }

        textarea[name="address"] {
            height: 5em;
        }

        .wpcf7-list-item.first {
            margin: 0;
        }

        .wpcf7-radio {
            display: block;
            margin-top: 18px;
        }

        dl {
            display: grid;
            grid-template-columns: 200px 1fr;
            align-items: flex-start;
            column-gap: 32px;
            row-gap: 40px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        dt {
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 1em;
            margin-top: 20px;
        }

        dt span {
            background-color: var(--c3);
            color: white;
            font-size: 14px;
            padding: 2px 4px;
        }

        dd {
            &.item-birth {
                display: flex;
                align-items: baseline;
                gap: 16px;
            }

            .zip-wrapper {
                display: flex;
                align-items: baseline;
                gap: 16px;
            }


            .note {
                display: block;
                font-size: 14px;
                line-height: 1.5;
                margin-top: 1em;
            }
        }

        .contact_form_privacy {
            text-align: center;
            margin-top: 40px;
        }

        .contact_form_privacy_title,
        .contact_form_privacy p {
            font-size: 16px;
        }

        .contact_form_privacy_title {
            margin-bottom: 24px;
        }

        .contact_form_submit {
            margin-inline: auto;
            margin-top: 80px;
            max-width: 460px;
            position: relative;
        }

        .wpcf7-spinner {
            position: absolute;
            top: 50%;
            left: 1em;
            transform: translate(-50%, -50%);
        }

        .contact_form_submit input[type="submit" i] {
            background: var(--c3);
            border: none;
            color: #fff;
            font-size: 1.2em;
            width: 100%;

            display: inline-block;
            padding: 13px;
            cursor: pointer;
        }

        .contact_form_submit input[type="submit" i]:hover {
            opacity: 0.8;
        }

        .wpcf7-not-valid-tip {
            font-size: 14px;
            margin-top: 8px;
        }
    }
}


@media (max-width: 768px) {

    .content_recruit {
        p {
            font-size: 14px;
        }

        .content_recruit_title {
            padding-top: 40px;
            padding-bottom: 40px;

            p {
                font-size: 24px;
                line-height: 1.5;
            }

            h2 {
                font-size: 14px;
            }
        }
    }

    .content_recruit.intro_section {
        margin-bottom: 40px;

        .flex-container {
            flex-direction: column;
            gap: 16px;
        }
    }

    .recruit-intro_contents {
        width: 100%;

        .recruit-intro_title {
            font-size: 20px;
            padding-bottom: 16px;
            margin-bottom: 16px;
        }
    }

    .recruit-intro_image {
        margin-right: 0;
        width: 100%;
    }

    .recruit_page_menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 80px;

        .recruit_page_menu_element {
            flex: none;
            width: 100%;
            height: 70px;
        }
    }

    .content_recruit.about_section {
        padding-bottom: 48px;

        .about_contents {
            .about_content {
                .inner {
                    flex-direction: column;
                    justify-content: flex-start;
                    gap: 24px;
                }

                .about_content_title {
                    flex-direction: row;
                    gap: 30px;
                    margin-bottom: 24px;

                    h3 {
                        font-size: 20px;
                        line-height: 1.5;
                    }
                }

                .about_content_text,
                .about_content_image {
                    width: 100%;
                    margin: 0;
                    max-width: none;
                }

                .about_content_text {
                    padding-top: 40px;

                    li {
                        margin-top: 0.75em;
                        font-size: 14px;
                        line-height: 1.8;
                    }
                }

                .about_content_image {
                    flex: none;
                    margin: 0 calc(50% - 50vw);
                    width: 100vw;

                    img {
                        aspect-ratio: 375 / 228;
                    }
                }

            }
        }
    }

    .content_recruit.listing_section {
        margin-bottom: 80px;

        .intro_section {
            padding-bottom: 40px;
            background-image: url(../images/recruit/listing_bg_sp.jpg);
        }

        .main_section {
            padding-top: 40px;

            .content_recruit_gist .content_recruit_gist_title {
                font-size: 20px;
                padding: 20px 24px;
                text-align-last: left;

                &::after {
                    width: 16px;
                    right: 1em;
                }
            }

            .content_recruit_gist .content_recruit_gist_about {
                flex-direction: column;
                padding: 16px;
                gap: 16px;
            }

            .content_recruit_gist .content_recruit_gist_about .image {
                max-width: 100%;
                width: 100%;
            }

            .content_recruit_gist .content_recruit_gist_about .text {
                p:nth-child(1) {
                    font-size: 14px;
                    width: 100%;
                    padding: 4px 12px;
                }

                p:nth-child(2) {
                    font-size: 20px;
                }
            }

            .content_recruit_gist .gist_table {
                grid-template-columns: 1fr;

                dt,
                dd {
                    height: auto;
                    padding: 16px;
                    font-size: 14px;
                }

                dt {
                    border-bottom: none;
                }
            }

            .content_recruit_gist .step_title {
                font-size: 18px;
                margin-top: 0;
            }

            .content_recruit_gist .step_list {
                margin: 24px auto;
                padding-left: 24px;

                li {
                    font-size: 14px;
                    line-height: 1.8;
                    margin-top: 0.5em;
                }
            }

            .content_recruit_apply {
                flex-direction: column;
                height: auto;
                margin-top: 48px;

                h3 {
                    width: 100%;
                    padding: 16px 0;

                }

                p {
                    text-align: left;
                    width: 100%;
                    padding: 16px 24px;
                }
            }
        }
    }

    .content_recruit.form_section {
        .content_recruit_title {
            font-size: 20px;
            padding-bottom: 80px;
        }

        .form_wrapper {
            padding: 40px 0;
            margin-top: -50px;
        }

        .wpcf7-form {
            margin-bottom: 0;

            input,
            textarea,
            select {
                font-size: 14px;
                padding: 12px;
            }

            label {
                font-size: 14px;
            }

            .wpcf7-form-control-wrap[data-name="zip"] {
                width: 100%;
                margin-bottom: 6px;
            }

            textarea[name="address"] {
                height: 4em;
            }

            textarea[name="your-message"] {
                height: 20em;
            }


            .wpcf7-radio {
                display: block;
                margin-top: 0;
            }

            dl {
                grid-template-columns: 1fr;
                row-gap: 16px;
            }

            dt {
                font-size: 14px;
                padding-left: 0;
                margin-top: 14px;
            }

            dt span {
                font-size: 12px;
                padding: 2px 4px;
            }

            dd {
                &.item-birth {
                    gap: 8px;
                }

                .zip-wrapper {
                    gap: 8px;

                    .note {
                        display: none;
                    }
                }

                .note {
                    font-size: 13px;
                    line-height: 1.5;
                    text-align: left;
                    margin-inline-start: auto;
                    margin-inline-end: 0;
                    width: fit-content;
                }
            }

            .contact_form_privacy {
                margin-top: 32px;
            }

            .contact_form_privacy_title,
            .contact_form_privacy p {
                font-size: 14px;
            }

            .contact_form_privacy_title {
                margin-bottom: 16px;
            }

            .contact_form_submit {
                margin-top: 32px;
            }
        }
    }
}