@media screen and (max-width: 767px) {
    .row-greeting .title {
        color: #1c3c68;
        font-size: 21px;
        font-weight: 400;
        border-bottom: 1px solid #dbdbdb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .id-area a:nth-child(2) {
        margin-top: 10px;
        margin-bottom: 10px;
        display: block;
    }

    .id-area {
        padding: 20px;
        border-left: 2px solid;
        background-color: #f2f2f2;
    }

    .row-greeting .item-text .metabox {
        margin-top: 20px;
    }

    .tab-btn-area {
        display: block !important;
    }

    .tab-btn-area .tab_btn:nth-child(2),
    .tab-btn-area .tab_btn:nth-child(3) {
        margin-top: 15px;
    }

    .row-interview .image {
        margin: auto;
    }

    .position-title {
        text-align: center;
        margin-top: 20px;
    }

    .row-interview .all {

        padding: 20px;
        background-color: #f3f8ff;
        box-shadow: 1px 6px 10px 5px rgb(232 234 231);
    }

    .row-greeting .item-text .cont {
        background-color: #fff;
        box-shadow: 1px 6px 10px 5px rgb(232 234 231);
        margin-top: 15px;
        /* margin-right: -30px; */
    }

    h2 {
        border-top: 2px solid #dbdbdb;
        padding-top: 30px;
        padding-bottom: 0px;
        position: relative;
    }

}

@media screen and (min-width: 768px) {

    .company-name {
        margin-right: 9px;
        margin-bottom: 10px;
    }

    .president-name {
        font-size: 24px;
        font-weight: 400;
    }


    h2 {
        border-top: 2px solid #dbdbdb;
        padding-top: 30px;
        padding-bottom: 30px;
        position: relative;
    }

    .id-area a svg {
        margin-left: 5px;
        fill: #1c3c68;
    }

    .id-area a {
        display: flex;
        margin-right: 25px;
        color: #1c3c68;
        align-items: center;
    }

    .row-greeting .title {
        color: #1c3c68;
        font-size: 24px;
        font-weight: 400;
        border-bottom: 1px solid #dbdbdb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

main svg {
    height: 20px;
    width: 20px;
}


@media screen and (min-width: 768px) {
    .row-interview .all {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background-color: #f3f8ff;
        box-shadow: 1px 6px 10px 5px rgb(232 234 231);
    }

    .row-greeting .item-text .cont {
        background-color: #fff;
        box-shadow: 1px 6px 10px 5px rgb(232 234 231);
        margin-top: 35px;
        margin-right: -30px;
    }

    .id-area {
        display: flex;
    }
}

.row-greeting .title::before {
    content: "";
    position: absolute;
    border-bottom: 1px solid #1c3c68;
    width: 70px;
    right: 15px;
    left: 0;
    z-index: 1;
    bottom: -1px;
}

.row-greeting .title {
    position: relative;
}

.president-area {
    text-align: end;
}


.row-greeting .item-image .cont {
    margin-left: -30px;
    box-shadow: 1px 6px 10px 5px rgb(232 234 231);
}

.row-interview .image {
    max-width: 200px;
    flex: 0 0 200px;
    text-align: center;
}


.position-title {
    color: #1c3c68;
    margin-bottom: 20px;
    border-bottom: 1px solid;
    padding-bottom: 20px;
}

.right-text-all .metabox {
    line-height: 28px;
    color: #000;
}


/* 最低限タブが機能するのに必要なスタイル*/
.tab_item {}

.tab_item>.cont-main {
    opacity: 0;
    transition: .5s ease all;
    position: relative;
    top: 120px;
    height: 0;
    pointer-events: none
}

.tab_item.is-active-item>.cont-main {
    opacity: 1;
    transition: .5s ease all;
    position: relative;
    top: 0;
    height: auto;
    pointer-events: all;
}

.tab-item-area {
    position: relative;
}

/* ******* 主要修改部分 ******** */
#tab-recruit-information .tab-item-area .tab_item {
    padding-top: 0;
    position: absolute;
    top: 0;
    /* 必须要设定宽度 */
    width: 100%;
}

#tab-recruit-information .tab-item-area .tab_item.is-active-item {
    /* 其实最好使用下面两行padding+margin来取消页头的遮蔽，但在这里无法正常运作，只能使用下面的scroll-margin-top */
    /*     padding-top: 130px; */
    /*     margin-top: -130px; */
    position: relative;
    top: 0;
    /* 这是最主要的，跳转到指定位置后，因为会被页头遮住一部分，所以使用此命令再滑动一部分，此处的150px为最小的手机版的滑动距离 */
    scroll-margin-top: 150px;
}

/* 平板的滑动距离 */
@media (min-width: 768px) {
    #tab-recruit-information .tab-item-area .tab_item.is-active-item {
        scroll-margin-top: 200px;
    }
}

/* 电脑的滑动距离 */
@media (min-width: 992px) {
    #tab-recruit-information .tab-item-area .tab_item.is-active-item {
        scroll-margin-top: 250px;
    }
}

/* ******* 这里为止 ******** */

.tab-menu .tab_btn {
    cursor: pointer;
}

/* おわり */
@media (min-width: 768px) {
    #tab-recruit-information.tab-recruit .tab-btn-area .tab_btn {
        color: #1c3c68;
        background: #fff;
        border: 1px solid hsl(215, 58%, 26%);
        overflow: hidden;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 15px;
    }
}

@media (max-width: 767px) {

    .company-name {
        margin-bottom: 10px;
    }

    .company-name {
        font-size: 14px;
    }

    .president-name {
        font-size: 18px;
        font-weight: 400;
    }


    #tab-recruit-information.tab-recruit .tab-btn-area .tab_btn {
        color: #1c3c68;
        background: #fff;
        border: 1px solid hsl(215, 58%, 26%);
        overflow: hidden;
        padding: 15px;
        width: 100%;
    }
}


#tab-recruit-information.tab-recruit .tab-btn-area .tab_btn:hover,
#tab-recruit-information.tab-recruit .tab-btn-area .tab_btn.is-active-btn {
    color: #fff;
    background: #1c3c68;
}

.table-base dl dt {
    background-color: #1c3c68;
    color: #fff;
}

.button-center a {
    border: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s ease all;
}

.button-center .icon {
    border: 1px solid #1c3c68;
    margin-left: 40px;
    border-radius: 50px;
    padding: 15px;
    width: 50px;
    display: flex;
    height: 50px;
    align-items: center;
    justify-content: center;
}

.button-center a:hover .icon {
    background-color: #1c3c68;
    color: #fff;
    transition: .5s ease all;
}

h2::before {
    content: "";
    position: absolute;
    border-top: 2px solid #1c3c68;
    width: 120px;
    right: 15px;
    left: 0;
    z-index: 1;
    top: -2px;
}



.middle-slider img {
    width: 100%;
}

.middle-slider .swiper-wrapper {
    transition-timing-function: linear;
}