/*!
Theme Name: gatewing-recruit
*/

body {
    margin: 0;
    font-family: "Noto Sans JP",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "TazuganeGothicStdN-Bold", sans-serif;

}

/*add*/
a {
    outline: none;
}

a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    cursor: pointer;
}


.txt-gothic {
    font-family: a-otf-ud-shin-go-pr6n, sans-serif;
    font-style: normal;
    font-weight: 300;
}

.txt-gothic2 {
    font-family: FOT-ロダン Pro EB, sans-serif;
    font-style: normal;
    /*font-weight: 400;/*400 700*/
}

.txt-gothic3 {
    font-family: FOT-ロダン Pro DB, sans-serif;
    font-style: normal;
    /*font-weight: 400;/*400 700*/
}

.txt-mincho {
    font-family: "Noto Sans JP", sans-serif;
    font-style: normal;
    /*font-weight: 700;/*400 700*/
}

.slider_over::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
}

table {
    margin: 0 0 1.5em;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    word-break: break-all !important;
}

.table-style01 th {
    /*    background: #F5F5F5;*/
    width: 20%;
    border-bottom: 1px solid #ed6c00;
}

.table-style01 td {
    border-bottom: 1px solid #dddddd;
}

.table.table-style01>tbody>tr>td,
.table.table-style01>tbody>tr>th {
    padding: 15px;
    vertical-align: middle;
    /*    border-top: 1px solid #ddd;*/
    font-family: noto sans jp;
    font-weight: 500;
    font-size: 15px;
}

.bdt-timeline.bdt-timeline-skin-default .bdt-timeline-arrow {
    z-index: -1 !important;
    border: 1px double var(--e-global-color-accent);

}

.frame1::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 80px;
    background-color: #fff;
    z-index: 1;
    top: 40px;
    left: 10px;
}

.frame2::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 80px;
    background-color: #fff;
    z-index: 1;
    top: 40px;
    right: 10px;
}



/* ipad pc -----------------------*/
@media screen and (min-width:768px) {
    .sp_only {
        display: none !important;
    }

    body.home .main_header {
        background-color: #02738000 !important;
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 0%) !important;
    }

    body.home .main_header.change-color {
        background-color: var(--e-global-color-primary) !important;
        box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 31%) !important;
    }
}

/* sp ---------------------------*/
@media (max-width:767px) {
    .pc_only {
        display: none !important;
    }

    .table-style01 th {
        background: #F5F5F5;
        width: 30%;
    }

    .table-style01 td {
        width: 70%;
    }

    .table.table-style01>tbody>tr>td,
    .table.table-style01>tbody>tr>th {
        padding: 15px 5px;
        vertical-align: middle;
        /*    border-top: 1px solid #ddd;*/
        text-align: left;
        font-family: noto sans jp;
        font-weight: 500;
        font-size: 12.5px;
        text-align: left;
        /*width: 100%;
    display: block;*/
    }

    .frame1::before,
    .frame2::before {
        width: 0;
        height: 0;
    }
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

.box {
    background-color: #fff;

    padding: 20px;
    margin: 10px;
    text-align: center;
    box-sizing: border-box;
}

.box h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: bold;
}

.box p {
    margin: 10px 0 0;
    font-size: 1em;
    font-weight: bold;
}

/* PC: 3列レイアウト */
@media (min-width: 1024px) {
    .box {
        flex: 1 1 calc(33.333% - 40px);
        border-radius: 10px;
        box-shadow: #dbdbdb 0.1pc 2.5px 7px 2px;
        height: 157px;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: column;

    }
}

@media (max-width: 1023px) and (min-width: 768px) {
    .box {
        width: calc(50% - 20px);
        border-radius: 10px;
        box-shadow: #dbdbdb 0.1pc 2.5px 7px 2px;
        height: 149px;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: column;
    }

    .box:nth-child(9) {
        flex: 1 1 100%;
    }
}

/* スマホ: 2列レイアウト */
@media (max-width: 768px) {
    .box {
        flex: 1 1 calc(50% - 20px);
        border-radius: 10px;
        box-shadow: #dbdbdb 0.1pc 2.5px 7px 2px;
        height: 123px;
        display: flex;
        align-content: center;
        justify-content: center;
        flex-direction: column;
        margin: 3px;
        padding: 12px;

    }

    /* 9番目のボックスだけ1列にする */
    .box:nth-child(9) {
        flex: 1 1 100%;
    }

    .box h2 {
        margin: 0;
        font-size: 1.1em;
    }

    .box p {
        margin: 0px 0 0;
        font-size: 0.8em;
    }
}

.rec_hover:hover {
    opacity: 0.8;
    transition: all 0.3s ease 0s;
    color: #ED6C00;
}

/* popup */
:focus {
    outline: none;
}

.dialog-close-button.dialog-lightbox-close-button {
    text-decoration: none !important;
}