.section-banner {
    position: relative;
}

.banner-background {
    height: 22.9vw;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #E36F1CCC;
    width: 28.125vw;
    height: 10.42vw;
    border-radius: 1.042vw;
    text-align: center;
}

.banner-sub {
    margin-top: 1.5625vw;
    color: #3B3B3B;
    font-size: 1.667vw;
    font-weight: 700;
}

.banner-title {
    font-size: 2.5vw;
    line-height: 4.1667vw;
    color: #ffffff;
    font-weight: 600;
}

.block-content-subtitle {
    font-size: 1.46vw;
    line-height: 1.5vw;
    display: inline-block;
    border-bottom: 5px solid #E36F1C;
    padding-bottom: 6px;
    font-weight: 700;
    margin-bottom: 1.5625vw;
}

.block-content-desc {
    white-space: pre-line;
    font-weight: 400;
    font-size: 0.9375vw;
    line-height: 1.875vw;
    letter-spacing: 0.075vw;
    margin-bottom: 2.6vw;
}

.recruit-list-image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 11.72vw;
    gap: 5px;
}
.recruit-image {
    width: 100%;
    object-fit: cover;
    border-radius: 0.52vw;
}

.recruit-list-image .recruit-image:nth-child(2) {
    grid-column-start: 2;
    grid-column-end: 4;
}

.recruit-list-image .recruit-image:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 3;
}

.essentials-block .block-container {
    width: 100vw;
}

.list-tab-button {
    margin: 0 auto;
    width: 57.3vw;
    display: flex;
    justify-content: space-between;
    gap: 1.5625vw;
    margin-bottom: 4.0625vw;
}

.recruit-page-block .list-tab-button {
    background: none;
    box-shadow: none;
}

.tab-button {
    width: 100%;
    height: 2.92vw;
    box-sizing: border-box;
    border: 2px solid #E36F1C;
    border-radius: 1vw;
    background: #ffffff;
    cursor: pointer;
}

.tab-button-span {
    font-weight: 700;
    font-size: 1.25vw;
}

.tab-button.button-active {
    background: #E36F1C;
}

.tab-button:hover .tab-button-span {
    color: #E36F1C;
}

.tab-button.button-active .tab-button-span {
    color: #ffffff;
}

.block-essentials-tab {
    overflow: hidden;
    width: 100vw;
    height: 80vw;
    position: relative;
}

.essentials-tab {
    background: url("../../images/recruit/background1.png") #ffffff;
    background-size: contain;
    background-repeat: no-repeat;
    padding: 4.17vw 0 3.65vw;
    position: absolute;
    inset: 0;
    transition: transform 1s ease, opacity 1s ease;
    z-index: 0;
}

.essentials-tab.tab-active {
    z-index: 2;
    transition: none;
}

.essentials-tab.slide-out {
  transform: translateX(-100%);
  z-index: 3;
}

.essentials-tab.tab-account {
    background: url("../../images/recruit/background2.png") #ffffff;
    background-size: contain;
    background-repeat: no-repeat;
}

.essentials-tab.tab-sale {
    background: url("../../images/recruit/background3.png") #ffffff;
    background-size: contain;
    background-repeat: no-repeat;
}

.essentials-tab-title {
    color: #ffffff;
    font-size: 1.46vw;
    line-height: 1.5vw;
    margin-bottom: 3.65vw;
    text-align: center;
}

.essentials-tab-table {
    background: #FFFFFFD9;
    border-radius: 1.042vw;
    display: block;
    box-sizing: border-box;
    width: 64vw;
    margin: 0 auto;
    padding: 3.90625vw 5.46875vw 4.167vw;
}

.table-item {
    display: flex;
    border-bottom: 1px dashed #3B3B3B;
    padding: 1.015625vw;
}

.table-item p {
    font-size: 0.9375vw;
    line-height: 1.042vw;
    letter-spacing: 0.075vw;
}

.table-item p.multi-line {
    line-height: 1.875vw;
}

.table-item.wrap-line-2 {
    padding: 0.7vw 1.015625vw;
}

.table-item-left {
    width: 11.5625vw;
    min-width: 11.5625vw;
}

.table-item-right {
    white-space: pre-line;
}

.essentials-tab-link {
    display: flex;
    margin: auto;
    justify-content: center;
    margin-top: 4.167vw;
    width: fit-content;
}

.essentials-tab-link-text {
    font-size: 1.46vw;
    line-height: 1.5vw;
    color: #ffffff;
    font-weight: 700;
}

.essentials-link-image {
    width: 1.667vw;
    height: 1.667vw;
}

@media only screen and (min-width: 600px) and (max-width: 820px) {
    .block-content-subtitle {
        font-size: 1.8vw;
    }
    
    .block-content-desc {
        font-size: 1.5vw;
        line-height: 3vw;
    }

    .recruit-list-image {
        grid-auto-rows: 15vw;
    }

    .tab-button {
        height: 4vw;
    }

    .tab-button-span {
        font-size: 1.5vw;
        line-height: 3vw;
    }

    .essentials-tab-title {
        font-size: 1.8vw;
        line-height: 3vw;
    }

    .table-item p {
        font-size: 1.5vw;
        line-height: 3vw;
    }

    .block-essentials-tab {
        height: 110vw;
    }

    .essentials-tab {
        background-size: cover !important;
    }

    .essentials-tab-link-text {
        font-size: 1.8vw;
        line-height: 2vw;
    }

    .essentials-link-image {
        width: 2vw;
        height: 2vw;
        padding-left: 0.5vw;
    }
}

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

    .link-more {
        border-radius: 25.44vw;
    }

    .link-more span::after {
        right: 5.09vw;
        width: 5.09vw;
        height: 5.09vw;
    }

    .section-banner {
        height: 45.8vw;
    }

    .banner-background {
        height: 100%;
    }

    .banner-content {
        width: 81.42vw;;
        height: 31.3vw;
        border-radius: 5.089vw;
    }

    .banner-sub {
        font-size: 6.1vw;
        margin-top: 6.87vw;
    }

    .banner-title {
        line-height: 10.2vw;
        font-size: 7.1vw;
    }

    .block-title {
        margin-bottom: 4vw;
    }

    .block-content-subtitle {
        font-size: 5vw;
        text-align: center;
        width: 100%;
        letter-spacing: 0.5089vw;
        padding-bottom: 2.6vw;
        margin-bottom: 7.634vw;
    }

    .block-content-desc {
        font-size: 4.07125vw;
        line-height: 7.634vw;
        letter-spacing: 0.285vw;
        margin-bottom: 12.723vw;
    }

    .service-recruit-block .block-container {
        width: 94.91vw;
    }

    .recruit-list-image {
        grid-auto-rows: 57.252vw;
        gap: 1.272vw;
    }

    .recruit-image {
        height: 100%;
        border-radius: 2.545vw;
    }

    .list-tab-button {
        flex-direction: column;
        width: 83.97vw;
        gap: 7.634vw;
    }

    .tab-button {
        height: 10.17vw;
        border-radius: 2.545vw;
    }

    .tab-button-span {
        font-size: 4.58vw;
    }

    .block-essentials-tab {
        height: 452.4vw;
    }

    .essentials-tab {
        background-size: cover !important;
        padding: 7.634vw 0;
    }
    
    .essentials-tab-title {
        font-size: 5.089vw;
        line-height: 7.634vw;
        margin-bottom: 7.634vw;
    }

    .essentials-tab-table {
        width: 100vw;
        border-radius: 0;
        padding: 5.089vw 6.631vw 10.17vw;
    }

    .table-item {
        display: block;
        padding: 5.089vw 0;
    }

    .table-item p {
        font-size: 4.326vw;
        line-height: 5.089vw;
    }

    .table-item-left {
        width: 100%;
        padding-bottom: 2.5vw;
    }

    .table-item.wrap-line-2 {
        padding: 5.089vw 0;
    }

    .table-item p.multi-line {
        line-height: 7.634vw;
    }

    .essentials-tab-link {
        margin-top: 10.18vw;
    }

    .essentials-tab-link-text {
        font-size: 5.089vw;
        line-height: 7.634vw;
    }

    .essentials-link-image {
        height: 6.361vw;
        width: 6.361vw;
    }

    .tab-department-active {
        height: 452.4vw;
    }

    .tab-account-active {
        height: 435vw;
    }

    .tab-sale-active {
        height: 430vw;
    }
}

