/* 全体****************************************************** */
.welfare_page {
    background-image: url(../img/welfare/welfare_top_backimg.png);
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
}

@media screen and (max-width:768px) {
    .welfare_page {
        background-image: url(../img/welfare/welfare_top_backimg_sp.png);
    }
}

/* welfare_sec01****************************************************** */
.welfare_sec01 {
    width: 100vw;
    height: 56.25vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welfare_top_subttl {
    margin-top: 6.5vw;
    font-weight: 600;
}

.welfare_top_ttl {
    margin-top: 2.8vw;
    font-weight: 700;
}

.welfare_sec01 .recruit_breadcrumb {
    margin-top: 3vw;
}

@media screen and (max-width:768px) {
    .welfare_top_subttl {
        margin-top: 22.4vw;
    }

    .welfare_top_ttl {
        margin-top: 8vw;
    }

    .welfare_top_txt {
        margin-top: 14vw;
    }

    .welfare_top_annotation {
        margin-top: 8vw;
    }
}


/* PC-only*********************************************************** */
.welfare_link_btns {
    width: 62.5vw;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.8vw;
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(3, 1fr);
    place-items: center;
    justify-content: space-between;
    row-gap: 2.5vw;
}

.welfare_link_btn_img {
    width: 6.5vw;
    max-width: 125vw;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.25vw;
}

.welfare_link_btn_arrow {
    width: 1.3vw;
    max-width: 25vw;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1.25vw;
}

.welfare_link_btn {
    width: 20vw;
    max-width:384px;
    height: 13vw;
    max-height:250px;
    display: flex;
    flex-direction: column;
    background-color: #262e40;
    text-align: center;
    justify-content: space-between;
    border-radius: 1.8vw;
    transition: all 0.3s;
    font-weight: 600;
}

.welfare_link_btn:hover {
    background-color: #2fbce1;
}


/* welfare_sec02 ****************************************************** */
.welfare_sec02 {
    width: 62.5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.welfare_sec_inn {
    margin-top: 4.8vw;
    margin-bottom: 4.8vw;
    padding-bottom: 4.8vw;
}

@media screen and (max-width:768px) {
    .welfare_sec02 {
        width: 90vw;
    }

    .welfare_sec_inn {
        margin-top: 9.6vw;
        margin-bottom: 9.6vw;
        padding-bottom: 9.6vw;
    }
}

.welfare_sec_box .welfare_units {
    border-bottom-right-radius: 2.6vw;
    border-bottom-left-radius: 2.6vw;
}

.welfare_unit {
    width: 60.5vw;
    max-width:1162px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 0.5vw;
    row-gap: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

@media screen and (min-width:769px) {
    #welfare03 .welfare_unit {
        flex-direction: column;
    }
}

.welfare_unit .welfare_single {
    width: 30vw;
    max-width:570px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2vw;
    row-gap: 2vw;
}

@media screen and (min-width:769px) {
    #welfare03 .welfare_unit .welfare_single {
        width: 60.5vw;
        max-width:1161.6px;
        flex-direction: row;
        align-items: left;
    }
}

.welfare_single_ttl {
    text-align: center;
    line-height: 1.5;
    font-weight:600;
}

@media screen and (min-width:769px) {
    #welfare03 .welfare_single_ttl {
        text-align: left;
        margin-bottom: 2vw;
    }
}

.welfare_unit .welfare_single .welfare_single_img {
    width: 13vw;
    max-width:249.6px;
}

.welfare_sec_box .welfare_unit_top_img {
    position: absolute;
    width: 18vw;
    max-width:345.6px;
    top: calc(-10vw + 200px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.welfare_unit .welfare_single .welfare_single_txt {
    width: 25.5vw;
    max-width:489px;
}

#welfare03 .welfare_unit .welfare_single .welfare_single_txt_box {
    display:flex;
    flex-direction:column;
}
@media screen and (min-width:769px) {
    #welfare03 .welfare_unit .welfare_single .welfare_single_txt {
        width: 43vw;
        max-width:825.6px;
    }
}

.welfare_unit .welfare_single .welfare_single_btn {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top:1vw;
}

.welfare_unit .welfare_single .welfare_single_btn a {
    width: 20vw;
    max-width:384px;
    text-align: center;
    background-color: white;
    border: 1px solid #2fbce1;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    position: relative;
    box-shadow: 3px 3px #2fbce1;
    transition:all 0.3s;
    top:0;
    left:0;
}
.welfare_unit .welfare_single .welfare_single_btn a:hover{
    box-shadow: 0px 0px #2fbce1;
    top:3px;
    left:3px;
}

.welfare_unit .welfare_single .welfare_single_btn a::after {
    content: '';
    background-image: url(../img/welfare/welfare_single_txt_link_btn.png);
    position: absolute;
    width: 0.9vw;
    height: 0.7vw;
    background-size: cover;
    top: 50%;
    right:10%;
    transform: translateY(-50%);
}
@media screen and (max-width:768px) {
    .welfare_unit .welfare_single .welfare_single_btn {
        flex-direction:column;
        gap:3vw;
    }
    .welfare_unit .welfare_single .welfare_single_btn a {
        width:68.5vw;
    }
    .welfare_unit .welfare_single .welfare_single_btn a::after {
        width:2.7vw;
        height:2.1vw;
    }
}

.welfare_sec_box .welfare_unit_ex {
    padding: 1.8vw;
    display: flex;
    justify-content: center;
}

.welfare_sec_box .welfare_unit_ex_sub {
    margin-top: 1.8vw;
    margin-bottom: 1vw;
    padding-top: 1.8vw;
    padding-bottom: 1.8vw;
    text-align: center;
}

.welfare_unit .welfare_single .welfare_single_txt table {
    border-collapse: separate;
    border-spacing: 5px;
}

.welfare_unit .welfare_single .welfare_single_txt table th {
    vertical-align: middle;
    width: 6vw;
    text-align: center;
}
.welfare_unit .welfare_single .welfare_single_txt table td {
    padding-left:1vw;
}

@media screen and (max-width:768px) {
    .welfare_sec_box .welfare_units {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .welfare_unit {
        width: 80vw;
        flex-direction: column;
        gap: 10px;
    }

    .welfare_unit .welfare_single {
        width: 80vw;
        row-gap:4vw !important;
    }
    #welfare03 .welfare_unit .welfare_single .welfare_single_txt_box {
        row-gap:4vw !important;
    }

    .welfare_unit .welfare_single .welfare_single_img {
        width: 26.5vw;
    }

    .welfare_unit .welfare_single .welfare_single_txt {
        width: 68.5vw;
    }

    .welfare_unit .welfare_single .welfare_single_txt table th,
    .welfare_unit .welfare_single .welfare_single_txt table td {
        display: block;
    }

    .welfare_unit .welfare_single .welfare_single_txt table th {
        width: 40vw;
    }
    .welfare_unit .welfare_single .welfare_single_txt table td {
        padding-left:0;
    }

}

.welfare_bottom_btns {
    border-bottom-right-radius: 2.6vw;
    border-bottom-left-radius: 2.6vw;
}

.welfare_unit_top_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.welfare_unit_top_btn .welfare_unit_top_btn_img {
    margin-left: auto;
    margin-right: auto;
    width: 24px;
}

@media screen and (max-width:768px) {
    .welfare_bottom_btns {
        border-bottom-right-radius: 5.2vw;
        border-bottom-left-radius: 5.2vw;
    }

    .welfare_unit_top_btn {
        display: none;
    }

    .welfare_unit_close_btn {
        padding-top: 9.6vw;
        padding-bottom: 9.6vw;
        display: flex;
        flex-direction: row;
        column-gap: 5vw;
        justify-content: center;
        border-bottom-right-radius: 5.2vw;
        border-bottom-left-radius: 5.2vw;
    }

    .welfare_unit_close_btn p {
        display: block;
    }

    .welfare_unit_close_btn .welfare_unit_close_btn_img {
        width: 16px;
    }
}

/*アコーディオン全体************************************************************** */
.accordion-area {
    list-style: none;
    width: 62.5vw;
    max-width: 1200px;
    margin: 0 auto;
}

@media screen and (max-width:768px) {
    .accordion-area {
        width: 90vw;
    }
}

.accordion-area li:first-child {
    margin: 7.5vw 0;
}

.accordion-area li {
    margin: 17.5vw 0;
}

@media screen and (max-width:768px) {
    .accordion-area li:first-child {
        margin: 3vw 0;
    }

    .accordion-area li {
        margin: 3vw 0;
    }
}

.accordion-area .welfare_sec_box {
    position: relative;
}

@media screen and (max-width:768px) {
    .accordion-area .welfare_sec_box {
        border-radius: 5.2vw;
        background-color: #262e40;
    }

    .accordion-area .welfare_sec_box.anchor {
        padding-top: 0;
        margin-top: 0;
    }
}

/*アコーディオンタイトル*/
.q_box {
    position: relative;
    /*+マークの位置基準とするためrelative指定*/
    font-weight: 600;
    padding: 3.5vw;
    transition: all .5s ease;
    line-height: 1.5;
    text-align: center;
    /* border-radius: 2.6vw; */
    border-top-left-radius: 2.6vw;
    border-top-right-radius: 2.6vw;
}

@media screen and (max-width:768px) {
    .q_box {
        cursor: pointer;
        text-align: unset;
        color: white;
        background-color: #262e4000;
    }

    /*アイコンの＋と×*/
    .q_box::before,
    .q_box::after {
        position: absolute;
        content: '';
        width: 30px;
        height: 2px;
        background-color: white;

    }

    .q_box::before {
        top: 48%;
        right: 45px;
        transform: rotate(45deg);

    }

    .q_box::after {
        top: 48%;
        right: 45px;
        transform: rotate(-45deg);

    }

    /*　closeというクラスがついたら形状変化　*/

    .q_box.close::before {
        transform: rotate(45deg);
        width: 20px;
        right: 30px;
    }

    .q_box.close::after {
        transform: rotate(-45deg);
        width: 20px;
        right: 30px;
    }
}

/*アコーディオンで現れるエリア*/
.a_box {
    padding: 0;
    line-height: 2;
    border-bottom-left-radius: 2.6vw;
    border-bottom-right-radius: 2.6vw;
}

@media screen and (max-width:768px) {
    .q_box {
        padding: 7vw 18vw 7vw 15vw;
    }

    .q_box::before,
    .q_box::after {
        height: 2px;
        width: 15px;
    }

    .q_box::before {
        top: 50%;
        right: 40px;
    }

    .q_box::after {
        top: 50%;
        right: 30px;
    }

    .a_box {
        display: none;
        /*スマホの時はじめは非表示*/
    }
}