@charset "utf-8";

.mainVisual {
    margin-bottom: 1.6rem;
}

.mainVisual__bg {
    position: relative;
    min-height: 200px;
    height: 53.334vw;
    background-image: url(../img/recruit/mv.jpg);
}

.post-recruit .recruit-title {
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.8rem;
    text-align: center;
    line-height: 2;
}

/* 仕事概要 */
.job-summary__container {
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
    padding-bottom: 5rem;
}

.job-summary__title {
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 2;
}

.recruit-info__table {
    width: 100%;
    margin-bottom: 1.5em;
    border-bottom: 2px solid #ddd;
    border-collapse: collapse;
}

.recruit-info__table th,
.recruit-info__table td {
    display: block;
    width: 100%;
    padding: 5px 16px;
    font-size: 1.4rem;
}

.recruit-info__table th {
    margin-bottom: 0.5em;
    border-top: 2px solid #ddd;
    background-color: #F0F0F0;
}

.recruit-info__table td {
    margin-bottom: 1em;
    line-height: 1.85;
}

.job-section {
    width: 100%;
    background-color: #F0F0F0;
    font-family: var(--ff-noto-sans);
}

.job-section:not(:last-child) {
    margin-bottom: 1.2em;
}

.job-name {
    width: 100%;
    cursor: pointer;
    position: relative;
    padding: 10px 30px 10px 15px;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1.6;
    border-left: 6px solid #AFA285;
}

.toggle-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: #AFA285;
    transition: all 0.3s ease;
}

.toggle-icon:before,
.toggle-icon:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 2px;
    background-color: #fff;
    left: 6px;
    top: 11px;
    transition: all 0.3s ease;
}

.toggle-icon:before {
    transform: rotate(0deg);
    /* 元の状態に戻す */
}

.toggle-icon:after {
    transform: rotate(90deg);
    /* 90度回転させて十字にする */
}

.toggle-icon.is-active:before {
    top: 11px;
    transform: rotate(0deg);
    /* 0度に戻す */
}

.toggle-icon.is-active:after {
    top: 11px;
    transform: rotate(0deg);
    /* 0度に戻す */
}

.job-content {
    padding-top: 1.8em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 1.6em;
}

.job-section__title {
    margin-bottom: .8em;
    padding: 2px 1em 2px 10px;
    font-size: 1.4rem;
    line-height: 1.6;
    border-left: 4px solid #AFA285;
}

.job-section__text {
    font-weight: 400;
    font-size: 1.3rem;
    line-height: 2;
}

.job-section__text:not(:last-child) {
    margin-bottom: 1.6em;
}

/* 企業情報 */
.company-info {
    background-color: var(--tertiary-brown);
}

.company-info__container {
    padding-top: 5rem;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
    padding-bottom: 5rem;
}

.company-info__title {
    position: relative;
    margin-bottom: 4.5rem;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
}

.company-info__title::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #333;
}

.company-info-table table {
    width: 100%;
}

.company-info-table th,
.company-info-table td {
    display: block;
    padding: .5rem 0;
    font-family: var(--ff-noto-sans);
    font-size: 1.4rem;
    line-height: 1.85;
}

.company-info-table th {
    font-weight: 700;
    border-bottom: 2px solid var(--primary-brown);
}

.company-info-table td {
    margin-bottom: 1.2rem;
    font-weight: 400;
}

/* 応募フォーム */

/* 確認フォーム */
.confirm__container {
    padding-top: 3.4rem;
}

.recruit-confirm .confirm__headline {
    position: relative;
    margin-bottom: 4.5rem;
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    text-align: center;
}

.recruit-confirm .confirm__headline::after {
    display: block;
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background-color: #333;
}

.recruit-confirm .confirm__text-wrap {
    margin-bottom: 3rem;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
}


/* 完了ページ */
.form-thx {
    margin-bottom: 17rem;
}

.form-thx .confirm__container {
    padding-top: 6rem;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
}

.cat-thx__text-wrap {
    padding-top: 3rem;
    padding-left: var(--padding--container);
    padding-right: var(--padding--container);
    padding-bottom: 3rem;
    background-color: var(--tertiary-brown);
}

.cat-thx__text-wrap .confirm__text {
    font-family: var(--ff-noto-sans);
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.85;
}

#i-1,
#i-2,
#i-3,
#i-4,
#i-5,
#i-6,
#i-7,
#i-8,
#company-info,
#form-bloack {
    scroll-margin-top: 100px;
}


@media (min-width: 1000px) {

    /* header */
    .header .form-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 90px;
    }

    .header .site-logo {
        display: flex;
    }

    .header .company-name {
        margin-left: 2.2rem;
        font-weight: 500;
        font-size: 2.2rem;
    }

    .header .form-link-button a {
        width: 242px;
        padding: .3rem 0;
        color: #fff;
        font-family: var(--ff-noto-sans);
        font-weight: 400;
        font-size: 1.5rem;
        background-color: var(--primary-brown);
        border-radius: 4px;
        text-align: center;
    }

    .p-breadcrumb {
        top: 95px;
    }

    .p-breadcrumb__item,
    .p-breadcrumb__item:not(:last-child)::after {
        color: var(--primary-brown);
    }

    .main {
        padding-top: 125px;
    }

    .mainVisual {
        margin-bottom: 6.4rem;
    }

    .mainVisual__bg {
        position: relative;
        height: 32.3vw;
        background-image: url(../img/recruit/mv_pc.jpg);
    }

    .main-contents {
        display: block;
        margin: auto;
    }

    .post-recruit .recruit-title {
        font-size: 2rem;
    }

    .job-summary__container {
        padding-left: 0;
        padding-right: 0;
    }

    .job-summary__title {
        font-size: 1.9rem;
    }


    .recruit-info__table {
        margin-bottom: 56px;
        border-top: 1px solid #333;
        border-bottom: none;
    }

    .recruit-info__table th,
    .recruit-info__table td {
        display: table-cell;
        padding-top: 1.4em;
        padding-left: 4em;
        padding-right: 4em;
        padding-bottom: 1.4em;
        border-bottom: 1px solid #333;
    }

    .recruit-info__table th {
        width: 38%;
        border-top: none;
    }

    .job-section:not(:last-child) {
        margin-bottom: 2em;
    }

    .job-name {
        padding: 14px 46px 14px 20px;
        font-size: 1.6rem;
        line-height: 1.8;
        border-left: 8px solid #AFA285;
    }

    .toggle-icon {
        width: 28px;
        height: 28px;
        right: 16px;
    }

    .toggle-icon:before,
    .toggle-icon:after {
        width: 16px;
        left: 6px;
        top: 13px;
    }

    .toggle-icon.is-active:before {
        top: 13px;
    }

    .toggle-icon.is-active:after {
        top: 13px;
    }

    .job-content {
        padding-top: 2.8em;
        padding-left: 3.4em;
        padding-right: 3.4em;
        padding-bottom: 2.4em;
    }

    .job-section__title {
        margin-bottom: 0.4em;
        font-size: 1.5rem;
    }

    .job-section__text {
        font-size: 1.4rem;
    }

    .job-section__text:not(:last-child) {
        margin-bottom: 2.2em;
    }

    .company-info__container {
        max-width: var(--width--container);
        margin: 0 auto;
        padding-top: 7rem;
        padding-bottom: 10rem;
    }

    .company-info__title {
        margin-bottom: 6rem;
        font-size: 2.6rem;
    }

    .company-info__title::after {
        bottom: -16px;
        width: 100px;
    }

    .company-info-table table {
        width: 100%;
    }

    .company-info-table th,
    .company-info-table td {
        display: revert;
        padding: 1rem 0 1rem 2rem;
    }

    .company-info-table th {
        width: 25%;
    }

    .company-info-table td {
        width: 75%;
        margin-bottom: 2rem;
        padding-left: 3rem;
        border-bottom: 1px solid var(--primary-brown);
    }

    .side-list__item a {
        height: 100%;
        padding: 0 0 0 1.6rem;
    }

    /* 応募フォーム */

    .submit-button {
        width: 600px;
        margin: auto;
        transition: opacity .4s ease;
    }

    /* 確認フォーム */
    .recruit-confirm .main-contents {
        display: block;
    }

    .recruit-confirm .confirm__headline {
        margin-bottom: 6rem;
        font-size: 2.6rem;
    }

    .recruit-confirm .confirm__headline::after {
        bottom: -16px;
        width: 100px;
    }

    .recruit-confirm .confirm__text-wrap {
        text-align: center;
    }

    .previous-button {
        width: 600px;
        margin: 0 auto;
        transition: opacity .4s ease;
    }

    .submit-button+.previous-button {
        margin-top: 1.4rem;
    }

    .submit-button:hover,
    .previous-button:hover {
        opacity: 0.85;
    }

    #confirm .p-breadcrumb__item,
    #confirm .p-breadcrumb__item:not(:last-child)::after,
    #cat_thx .p-breadcrumb__item,
    #cat_thx .p-breadcrumb__item:not(:last-child)::after {
        color: var(--primary-brown);
    }

    /* 完了 */
    .cat-thx__text-wrap {
        padding: 2.8rem 8.5rem;
    }
}