@charset "utf-8";

/* requirements CSS
---------------------------------- */

/* ------------------------------------------
 .pagettl
------------------------------------------ */
.recruit-hero.vfot {
    height: min(53.5vw, 1100px);
    overflow: initial;

    /* min-height: clamp(373px, 32.37vw, 485px); */
}

.main-ttl {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.jdesc-title {
    top: 36.5%;
    transform: translateX(-50%);
}

.vfot .recruit-hero__page-title {
    top: clamp(60px, 12vw, 80px);
}

.vfot .recruit-hero__bg {
    top: clamp(98px, 15.53vw, 133px);
}

.vfot .recruit-hero__fig--left {
    top: clamp(181px, 22.87vw, 240px);
}

.vfot .recruit-hero__fig--right {
    top: clamp(67px, 14.13vw, 105px);
}

@media (max-width: 767px) {
    .recruit-hero.vfot {
        height: max(40vh, 300px);
    }
}

/* ------------------------------------------
 .sec-info
------------------------------------------ */
.sec-info .js-tab-section {
    gap: 9.352%;
}

.sec-info .tab-area {
    width: 25.9%;
    display: flex;
    justify-content: flex-start;
    gap: 10px 0;
    flex-flow: column;
}

.sec-info .tab-area .tab {
    width: 100%;
    position: relative;
    padding: 22px 40px 22px 0;
    box-sizing: border-box;
    cursor: pointer;
    text-align: right;
    opacity: 0.3;
    background-color: var(--wht);
    border: 1px solid var(--blu);
    border-radius: 0 10px 10px 0;
    transition: all 0.28s ease;
}

.sec-info .tab-area .tab::before,
.sec-info .tab-area .tab::after {
    content: "";
    position: absolute;
}

.sec-info .tab-area .tab::after {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--blu);
    background-image: url("../img/common/arrow-2.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 8px;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    top: 50%;
    left: calc(100% - 1px);
    transition: all 0.28s ease;
}

.sec-info .tab-area .tab .nav-txt {
    white-space: nowrap;
}

.sec-info .tab-area .tab.active {
    opacity: 1;
}
.sec-info .tab-area .tab.active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.sec-info .panel-area {
    width: 64.748%;
    flex: 1;
}

.sec-info .text-cessation {
    padding-left: 25px;
    padding-right: 25px;
    background-color: #fff;
}

.resp-tabs .resp-accordion {
    display: none;
    cursor: pointer;
    position: relative;
    width: 100%;
    padding: 20px 40px;
    cursor: pointer;
    background-color: var(--wht);
    border: 1px solid var(--blu);
    border-radius: 10px;
}

@media (min-width: 768px) {
    .sec-info .tab-area .tab:hover {
        opacity: 1;
    }
    .sec-info .tab-area .tab:hover::after {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* panel ------------------------- */
.sec-info .panel {
    display: none;
    opacity: 0;
}

.sec-info .panel.active {
    display: block;
    animation-name: tab-panel;
    animation-fill-mode: forwards;
    animation-duration: 0.5s;
    animation-delay: 0.3s;
}

@keyframes tab-panel {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .sec-info .tab-area {
        display: none;
    }

    .sec-info .panel-area {
        width: 100%;
    }

    .resp-tabs .resp-accordion {
        display: block;
        margin-bottom: var(--mp30);
    }

    .resp-tabs .resp-accordion .resp-arrow {
        position: absolute;
        display: block;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background-color: var(--blu);
        background-image: url("../img/common/arrow-2.svg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: auto 8px;
        transform: translate(-50%, -50%) rotate(90deg) scale(0.2);
        top: 50%;
        right: 0;
        transition: all ease-in-out 0.28s;
    }

    .resp-tabs .resp-accordion.resp-tab-active .resp-arrow {
        transform: translate(-50%, -50%) rotate(-90deg) scale(1);
    }

    .sec-info .panel {
        opacity: 1;
    }

    .sec-info .resp-tab-content {
        margin: var(--mp40) 0;
        padding: 10px;
    }
}
