/*================================================
  mainvisual
================================================*/

.page-mainvisual {
    background-image: url(../../image/recruit/page-mainvisual-bg.jpg);
}

/*================================================
  product-lead
================================================*/

.page-lead {
    z-index: 2;
}

.page-lead::after {
    right: 0;
    background-image: url(../../image/recruit/page-lead-bg.jpg);
}

@media print,
screen and (min-width: 1200px) {
    .page-lead {
        margin-block: calc(var(--layout-gap) * 2.5);
    }

    .page-lead::after {
        border-top-left-radius: 558px;
        border-bottom-left-radius: 558px;
        max-width: calc(1200px + 180px + calc(50% - 600px));
    }
}

/*================================================
  staff-voice
================================================*/

.staff-voice {
    text-align: center;
    position: relative;
    padding-bottom: calc(var(--layout-gap) * 2);
}

.staff-voice::after {
    content: '';
    width: 100%;
    height: 110%;
    background-color: #F8F8F8;
    position: absolute;
    left: 0;
    top: -200px;
    z-index: -1;
}

.staff-voice-item {
    margin-top: calc(var(--layout-gap) * 2);
}

.staff-voice-item-text {
    background-color: var(--color-white);
    padding-inline: calc(var(--layout-gap) / 2);
    padding-block: var(--layout-gap) calc(var(--layout-gap)*2);
    position: relative;
    border: 1px solid #707070;
}

.staff-voice-item-text::before {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(50% - 15px);
    /* top: 0%;
    left: 50%; */
    width: 50px;
    transform: translate(-50%, -50%);
    aspect-ratio: 98.19 / 178.92;
    background-image: url(../../image/recruit/staff-voice-decoration.png);
    background-size: contain;
}

.staff-voice-item-text p {
    text-align: left;
}

.staff-voice-item-text h4 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    margin-block: calc(var(--layout-gap) / 1);
    z-index: 1;
}

.staff-voice-item-text h4::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    transform: translate(-50%, -50%);
    aspect-ratio: 908.23 / 165.78;
    background-size: contain;
    background-position: center;
    z-index: -1;
}

.staff-voice-item:nth-of-type(1) .staff-voice-item-text h4::after {
    background-image: url(../../image/recruit/staff-voice-title-decoration1.png);
}

.staff-voice-item:nth-of-type(2) .staff-voice-item-text h4::after {
    background-image: url(../../image/recruit/staff-voice-title-decoration2.png);
}

.staff-voice-item:nth-of-type(3) .staff-voice-item-text h4::after {
    background-image: url(../../image/recruit/staff-voice-title-decoration3.png);
}

.staff-voice-item:nth-of-type(4) .staff-voice-item-text h4::after {
    background-image: url(../../image/recruit/staff-voice-title-decoration4.png);
}

.staff-voice-name {
    width: 90%;
    position: relative;
}

.staff-voice-item:nth-child(even) .staff-voice-name {
    text-align: right;
    padding-right: calc(var(--layout-gap) * 2);
}

.staff-voice-item:nth-child(odd) .staff-voice-name {
    text-align: left;
    padding-left: calc(var(--layout-gap) * 2);
    margin-left: auto;
}

.staff-voice-name::after {
    content: '';
    position: absolute;
    background-size: contain;
    background-position: center;
    /* width: 25%; */
    width: 40%;
    max-width: 110px;
    aspect-ratio: 215.28 / 366.13;
}

.staff-voice-item:nth-child(even) .staff-voice-name::after {
    bottom: 0;
    right: 0;
    transform: translateX(50%);
}

.staff-voice-item:nth-child(odd) .staff-voice-name::after {
    bottom: 0;
    left: 0;
    transform: translateX(-50%);
}

.staff-voice-item:nth-of-type(1) .staff-voice-name::after {
    background-image: url(../../image/recruit/staff-voice-img1.png);
}

.staff-voice-item:nth-of-type(2) .staff-voice-name::after {
    background-image: url(../../image/recruit/staff-voice-img2.png);
}

.staff-voice-item:nth-of-type(3) .staff-voice-name::after {
    background-image: url(../../image/recruit/staff-voice-img3.png);
}

.staff-voice-item:nth-of-type(4) .staff-voice-name::after {
    background-image: url(../../image/recruit/staff-voice-img4.png);
}

.staff-voice-name-wrapper {
    display: inline-block;
    text-align: left;
    border-left: 15px solid var(--color-text-blue);
    padding-left: 20px;
    margin-block: calc(var(--layout-gap) / 4);
}

.post {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 500;
}

.name {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
}

/* @media print,
screen and (min-width: 550px) {
    .staff-voice-name::after {
        width: 20%;
    }
} */

@media print,
screen and (min-width: 769px) {
    .staff-voice {
        padding-bottom: calc(var(--layout-gap) * 3);
    }

    .staff-voice-item-text h4 {
        font-size: 3rem;
    }

    .staff-voice-item-text::before {
        width: 60px;
    }

    .staff-voice-item-text {
        width: 89%;
        padding: var(--layout-gap) calc(var(--layout-gap)*1.5);
    }


    .staff-voice-item:nth-child(odd) .staff-voice-item-text {
        margin-left: auto;
    }

    .post {
        font-size: 2.1rem;
    }

    .name {
        font-size: 3rem;
    }
    .staff-voice-item:nth-child(even) .staff-voice-name {
        padding-right: calc(var(--layout-gap) * 3);
    }
    .staff-voice-item:nth-child(odd) .staff-voice-name {
        padding-left: calc(var(--layout-gap) * 3);
    }
    .staff-voice-name::after {
        width: 20%;
        max-width: inherit;
    }
    .staff-voice-item:nth-child(even) .staff-voice-name::after {
        right: -1%;
    }
    .staff-voice-item:nth-child(odd) .staff-voice-name::after {
        left: -1%;
    }
}

@media print,
screen and (min-width: 1200px) {

    .staff-voice-item {
        margin-top: calc(var(--layout-gap) * 3);
    }
    .staff-voice-item-text {
        width: 90%;
        /* padding: var(--layout-gap) calc(var(--layout-gap) * 2); */
        padding: 40px 70px 50px 80px;
    }
    .staff-voice-item-text h4 {
        font-size: 4rem;
    }

    .staff-voice-item-text::before {
        width: 90px;
        top: 40px;
        left: calc(50% - 40px);
    }
    .post {
        font-size: 2.5rem;
    }
    .name {
        font-size: 4rem;
    }
}


/*================================================
  training-system
================================================*/
.training-system {
    padding-block: calc(var(--layout-gap) * 2);
    position: relative;
    z-index: 1;
    background-color: var(--color-white);
    text-align: center;
}

.training-system::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(../../image/recruit/training-system-bg.png);
    background-size: cover;
    background-position: center;
    width: 95%;
    aspect-ratio: 1913.17 / 1275.45;
    z-index: -2;
}

.training-system-content {
    margin-top: calc(var(--layout-gap) * 1);
}

.training-system-item-wrapper {
    text-align: left;
    max-width: 1100px;
    background-color: rgba(var(--color-white-rgb), .75);
    padding: calc(var(--layout-gap) / 2);
}

.training-system-item {
    margin-bottom: calc(var(--layout-gap) / 2);
    color: var(--color-text-blue);
}

.training-system-item h4 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: var(--layout-gap);
}

.training-system-item p {
    font-size: 1.6rem;
}

.training-system-img {
    width: 50%;
    transform: translateY(-50px);
    position: relative;
    z-index: -1;
    aspect-ratio: 777 / 889;
}

.training-system-item:nth-of-type(1) .training-system-img {
    margin-left: auto;
}

.training-system-item:nth-of-type(2) .training-system-img {
    margin-right: auto;
}

.training-system-img img {
    opacity: .5;
    object-fit: cover;
    object-position: center bottom;
    width: 100%;
    height: 100%;
}

@media print,
screen and (min-width: 769px) {
    .training-system-item h4 {
        font-size: 3rem;
    }

    .training-system-item p {
        font-size: 2rem;
    }
}

@media print,
screen and (min-width: 1200px) {
    .training-system {
        padding-block: calc(var(--layout-gap) * 4);
    }

    .training-system-content {
        margin-top: calc(var(--layout-gap) * 3);
    }

    .training-system-img {
        aspect-ratio: auto;
        width: 40%;
    }

    .training-system-item:nth-of-type(1) .training-system-img {
        height: 120%;
        transform: translateY(0);
    }

    .training-system-item:nth-of-type(2) .training-system-img {
        height: 160%;
        transform: translateY(-80px);
    }

    .training-system-item {
        position: relative;
        margin-bottom: calc(var(--layout-gap) * 4);
    }
    .training-system-item-wrapper {
        padding: 60px;
    }
    .training-system-item:nth-of-type(2) .training-system-item-wrapper {
        margin-left: auto;
    }

    .training-system-item:nth-of-type(1) .training-system-img {
        position: absolute;
        right: 0;
        top: -10%;
    }

    .training-system-item:nth-of-type(2) .training-system-img {
        position: absolute;
        left: 0;
        top: -10%;
    }

    .training-system-item h4 {
        font-size: 4rem;
    }

    .training-system-item p {
        font-size: 2.5rem;
    }

}

/*================================================
  employee-benefits
================================================*/

.employee-benefits {
    text-align: center;
    color: var(--color-text-blue);
}

.employee-benefits-sub-title {
    font-size: 2rem;
    font-weight: bold;
    margin-block: calc(var(--layout-gap));
    padding-inline: calc(var(--layout-gap) / 1.5);
}

.employee-benefits-item {
    text-align: left;
    margin-bottom: var(--layout-gap);
}



.employee-benefits .section-sub-title {
    margin-top: calc(var(--layout-gap) * 1);
}

.employee-benefits-item-img {
    width: 50%;
    opacity: 0.5;
    height: 100%;
}

.employee-benefits-item:nth-of-type(1) .employee-benefits-item-img {
    margin-left: auto;
}

.employee-benefits-item:nth-of-type(2) .employee-benefits-item-img {
    height: 150%;
}

.employee-benefits-item img {
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

    .employee-benefits-text p {
        margin-top: 1em;
    }

@media print,
screen and (min-width: 769px) {
    .employee-benefits-sub-title {
        font-size: 3rem;
    }
}

@media print,
screen and (min-width: 1200px) {
    .employee-benefits-sub-title {
        font-size: 4rem;
    }

    .employee-benefits-text {
        /* width: 80%; */
        width: 69%;
    }
    .employee-benefits-text p {
        /* margin: 1em ; */
        margin: 1em 0 1em 2em;
    }
    .employee-benefits-item-img {
        width: 30%;
    }

    .employee-benefits-item {
        position: relative;
        margin-bottom: calc(var(--layout-gap) * 4);
    }

    .employee-benefits-item:nth-of-type(1) .employee-benefits-item-img {
        position: absolute;
        right: 0;
        top: -20%;
    }

    .employee-benefits-item:nth-of-type(2) .employee-benefits-item-img {
        position: absolute;
        left: 0;
        top: -20%;
        z-index: -1;
    }

    .employee-benefits-item:nth-of-type(2) .employee-benefits-text {
        margin-left: auto;
    }

    .employee-benefits .section-sub-title {
        margin-top: calc(var(--layout-gap) * 2);
    }
}


@media print,
screen and (min-width: 1600px) {
    .employee-benefits-text {
        width: 78%;
    }
    .employee-benefits-text p {
        max-width: 890px;
        font-size: 2.5rem;
    }
}

/*================================================
  recruitment
================================================*/

.recruitment {
    padding-block: calc(var(--layout-gap) * 2);
    background-color: #F8F8F8;
    text-align: center;
    color: var(--color-text-blue);
}

.recruitment-item {
    background-color: var(--color-white);
    text-align: left;
    padding: calc(var(--layout-gap) / 2);
    border: 1px solid #707070;
    box-shadow: 5px 5px 10px rgba(var(--color-black-rgb), .16);
    margin-top: calc(var(--layout-gap) * 1);
}

.recruitment .section-sub-title {
    /* margin-bottom: calc(var(--layout-gap) / 2); */
    margin-bottom: 0.5em;
}

.recruitment p {
    font-size: 1.6rem;
    margin-bottom: 1em;
}

.recruitment-list {
    text-align: left;
    background-color: var(--color-white);
    margin-top: calc(var(--layout-gap) * 2);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #DBDBDB;
    line-height: 1.3;
}

.recruitment-list dt {
    text-align: center;
    padding: calc(var(--layout-gap) / 4);
    width: 30%;
    border-bottom: 1px solid #DBDBDB;
    border-right: 1px solid #DBDBDB;
    font-size: 1.6rem;
    font-weight: 500;
}

.recruitment-list dd {
    width: 70%;
    padding: calc(var(--layout-gap) / 4);
    border-bottom: 1px solid #DBDBDB;
    font-size: 1.6rem;
    font-weight: 500;
}

.recruitment-list dd:nth-of-type(3) {
    font-size: 1.8rem;
    font-weight: bold;
}

.recruitment-list dd:nth-of-type(3) span {
    font-size: 1.6rem;
}

@media print,
screen and (min-width: 1200px) {
    .recruitment p {
        /* font-size: 2.1rem; */
        margin: 1em 0 1em 1.5em;
        font-size: 2.5rem;
        max-width: 700px;
    }

    .recruitment-list {
        margin-top: calc(var(--layout-gap) * 2);
        width: 95%;
        margin-inline: auto;
    }

    .recruitment-list dt {
        width: 20%;
        font-size: 2.1rem;
    }

    .recruitment-list dd {
        width: 80%;
        font-size: 2.1rem;
    }

    .recruitment-list dd:nth-of-type(3) {
        font-size: 2.8rem;
    }

    .recruitment-list dd:nth-of-type(3) span {
        font-size: 2rem;
    }

    .recruitment {
        padding-block: calc(var(--layout-gap) * 4);
    }

    .recruitment-item {
        padding: calc(var(--layout-gap) / 1);
        display: flex;
        justify-content: space-between;
        margin-top: calc(var(--layout-gap) * 2);
    }

    .recruitment-item-text {
        width: 75%;
    }

    .recruitment-item img {
        /* aspect-ratio: 1/1; */
        /* width: 20%; */
        aspect-ratio: 314 / 273;
        width: 25%;
    }

}
@media print,
screen and (min-width: 1600px) {
}
