html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

main {
    position: relative
}

#up-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding:10px;
    padding-left:15px;
    padding-right:15px;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
    border: none;
    outline: none;
    z-index: 10
}

img {
    width: 100%;
}

span.other-staff {
    font-size: 1.5em;
}

section {
    width: 100%;
    position: relative
}

.pos-abs {
    position: absolute
}

.accent-line {
    position: absolute;
    top: 34%;
    z-index: 0;
}

span.job-type {
    font-size: 15px;
}

    .section3 .swiper-slide img {
        width: 50%;
        margin: auto;
        margin-bottom: 0%;
    }

@media only screen and (max-width: 1447px) {
    .section3 .swiper-slide img {
        width: 77%;
        margin: auto;
        margin-bottom: 12%;
    }
}


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

    /* ----------------- common  ------------------ */

    .pc {
        display: none
    }

    .sp {
        display: block
    }

    body {
        margin-top: 70px;
    }
    /* ------------------ */


    /* header */
    header {
        width: 100%;
        top: 0;
        position: fixed;
        z-index: 100;
        background-color: rgb(255, 255, 255);
    }

    header .logo-img-div {
        width: 200px;
        position: absolute;
        top: 50%;
        left:50%;
        transform: translate(-50%, -50%);
    }

    header .header {
        width: 100%;
        height: 70px;
        position: absolute;
        background-color: rgb(255, 255, 255);
    }

    /* header */


    /* banner-section */

    .banner-section {
        margin-bottom: 30px
    }

    .banner-section .swiper-pagination {
        bottom: -5px
    }

    .banner-section .swiper-button-next, .banner-section .swiper-button-prev {
        color: white;
    }

    /* ------------------ */

    /* section1  */
    .section1 .pos-abs1 {
        width: 95%;
        top:50%;
        left: 50%;
        transform: translate(-50% , -50%)
    }

    .section1 .pos-abs1 div.sp {
        color: #ffffff;
        padding: 10vw 0 25vw;
    }

    .section1 .pos-abs1 div.sp:before {
        transform: skewY(-10deg);
        content: "";
        position: absolute;
        top: 0; bottom: 0; left: 0; right: 0;
        z-index: -1;
        background-color: #000000;
    }

    .section1 .pos-abs1 div.sp h4 {
        font-size: 7vw;
        text-align: center;
        line-height: 1.4;
    }

    .section1 .pos-abs1 div.sp h4:before {
        position: absolute;
        left: 10vw;
        top: 14vw;
        content: "";
        display: inline-block;
        width: 12vw;
        height: 12vw;
        background: url(/img/group/title_before.png) no-repeat;
        background-size: contain;
    }

    .section1 .pos-abs1 div.sp h4:after {
        position: absolute;
        right: 10vw;
        top: 14vw;
        content: "";
        display: inline-block;
        width: 12vw;
        height: 12vw;
        background: url(/img/group/title_before.png) no-repeat;
        background-size: contain;
    }

    .section1 .pos-abs1 div.sp p {
        font-size: 4.5vw;
        margin: 2rem 2.5rem 0;
    }

    .section1 .pos-abs2 {
        display: block;
        bottom:13%;
        left: 50%;
        transform: translateX(-50%);
    }

    .section1 .pos-abs2 a {
        color: white;
        font-weight: bold;
        padding: 10px;
        position: relative;
        width: 220px;
        display: flex;
        justify-content: center;
        border: 2px solid white;
        text-decoration: none;
        transition: all .5s
    }

    .section1 .pos-abs2 a:hover {
        color: black;
        background-color: white
    }

    .section1 .pos-abs2 a img {
        position: absolute;
        right: 10px
    }
    /* ---------------- */

    /* section2 */
    .section2 .tittle-lage {
        top: 3%;
        left: 50%;
        width: 80%;
        transform: translateX(-50%)
    }

    .section2 .group {
        width: 95%;
        transform: translateX(-50%);
        left: 50%;
    }

    .section2 .group1 {
        top: 8%;
    }

    .section2 .group2 {
        top: 26%;
    }

    .section2 .group3 {
        top: 44%;
    }

    .section2 .group4 {
        top: 62%;
    }

    .section2 .group5 {
        top: 80%;
    }

    .section2 .button-select {
        bottom: 10%;
        width: 80%;
        left: 50%;
        transform: translateX(-50%) ;
        display: block;
    }

    .section2 .group3 .button-select {
        bottom: 9%;
    }

    /* section3 */

    .section3 {
        background-color: #F7F3F0;
        padding-top: 50px
    }

    .section3 .swiper-button-next, .section3 .swiper-button-prev {

    }

    .section3 .tittle-lage {
        width: 80%;
        margin: auto;
    }

    .section3 .swiper-slide img {
        width: 90%;
        margin: auto;
        margin-bottom: 90px;
    }

    .section3 .swiper-container {
        margin-top: 60px
    }

    .section3 .swiper-container span {
        display: block;
        font-size: 16px
    }

    .section3 .swiper-container span.bold {
        font-weight: bold;
        margin-top: 7px;
    }

    .btn-container a {
        color: #191919;
        font-weight: bold;
        padding: 10px;
        position: relative;
        width: 220px;
        display: flex;
        justify-content: center;
        border: 2px solid #191919;
        text-decoration: none;
        transition: all .5s;
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px
    }

    .btn-container a:hover {
        color: white;
        background-color: #191919
    }

    .btn-container a img {
        position: absolute;
        right: 10px
    }
    /* -------- */

    /* section4 */

    .section4  {
        padding-bottom: 30px;
        background: url(../../img/top/section4-bg.png);
        z-index: 2
    }

    .section4 .row  {
        flex-direction: column;
    }

    .section4 .tittle-lage {
        width: 80%;
        margin: auto;
        margin-top: 40px;
    }

    .section4 .container {
        width: 95%;
        margin-top:40px
    }

    .section4 .container span {
        display: block;
        width: calc(100% - 30px);
        height: 50px;
        line-height: 50px;
        text-align: center;
        position: absolute;
        transform: translate(0%, -100%);
        font-weight: bold;
        color: White;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .section4 .container .imgBox { /* now a container for the image */
        display: inline-block; /* shrink wrap to image */
        overflow: hidden; /* hide the excess */
        margin-bottom: 20px;
    }
    .section4 .container .imgBox img {
        display: block; /* no whitespace */
        transition: .5s ease-in-out;
        cursor: pointer
    }
    .section4 .container .imgBox:hover img {
        transform: scale(1.3);
        opacity: .5
    }
    /* -------- */

    /* footer */

    footer .text {
        font-size: 15px;
        margin-top: 40px;
        margin-bottom: 50px;
        line-height: 30px;
        text-align: center
    }

    footer .second-col .link-wrapper span {
        color: white;
        display: block;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    footer .second-col .link-wrapper a {
        color: white;
        display: block;
        font-size: 12px;
        margin-left: 10px;
        margin-bottom: 5px;
    }

    footer .second-col .divider {
        height: 100%;
        width: 3px;
        background: white;
        margin: 0px 20px
    }

    .copyright {
        font-size: 12px;
        margin-bottom: 30px;
        text-align: center;
    }

    footer .line-height span {
        margin-bottom: 30px !important;
    }
    .section4 .container .gender-label {
        position: relative;
        top: unset;
        left: unset;
        background-color: #a2a2a2c2;
        padding: 1% 3% 1% 3%;
    }
}


@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
    /* .section1 .pos-abs2 a {
        display: inline-flex;
    } */
    .section1 .pos-abs2 a img {
        width: 100% !important;
        max-width: 20px;
    }
    .align-items-center span img {
        width: 100% !important;
        max-width: 20px;
    }
    .arrow-img {
        position: relative !important;
        right: -10px !important;
        max-width: 20px;
    }
    .other-employee-btn {
        padding: 10px;
    }
}

@media only screen and (min-width: 768px) {

    /* ----------------- common  ------------------ */

    .pc {
        display: block
    }

    .sp {
        display: none
    }
    /* -------------------- */

    /* header */
    header {
        width: 100%;
        top: 0;
        position: fixed;
        z-index: 100;
        background-color: rgba(255, 255, 255 , 0.8);
    }

    header .logo-img-div {
        width: 200px;
        border-left: 50px solid white;
        height: 50px;
        display: flex;
        align-items: center;
    }

    header .header {
        display: flex;
        align-items: center;
        justify-content:space-between;
    }

    header .header .menu {
        width:40%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header .header .menu a {
        color: #191919;
        display:flex;
        justify-content: center;
        align-items: center;
        height: 50px;
        padding: 0 10px;
        font-size: 14px;
        text-decoration: none;
    }

    header .header .menu a.black {
        background-color: #191919;
        color: white;
    }
    /* header */


    /* banner-section */

    .banner-section {
        margin-bottom: 30px;
        margin-top: 100px;
    }
    
    .banner-section .swiper-slide .wrapper {
        width: 80%;
        margin:auto;
    }

    .banner-section .bg {
        height: 96%;
        position: absolute;
        width: 50px;
        z-index: 10;
        top:0;
    }

    .banner-section .button-prev-bg   {
        left: 0;
        background: #24B377;
    }

    .banner-section .button-next-bg   {
        right: 0;
        background: #4F81F0;
    }

    .banner-section .swiper-pagination {
        bottom: -5px
    }

    .banner-section .swiper-button-next, .banner-section .swiper-button-prev {
        color: white;  
    }

    /* ------------------ */

    /* section1  */
    .section1 .pos-abs1 {
        width: 60%;
        top:-7%;
        left: 50%;
        transform: translateX(-50%)
    }

    .section1 .pos-abs2 {
        display: block;
        bottom:18%;
        left: 50%;
        transform: translateX(-50%);
    }

    .section1 .pos-abs2 a {
        color: white;
        font-weight: bold;
        padding: 10px;
        position: relative;
        width: 220px;
        display: flex;
        justify-content: center;
        border: 2px solid white;
        text-decoration: none;
        transition: all .5s
        font-size: 2.3em;
    }
    @media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {  
        .section1 .pos-abs2 a {
            width: 500px !important;
        }
    }

    .section1 .pos-abs2 a:hover {
        color: black;
        background-color: white
    }

    .section1 .pos-abs2 a img {
        position: absolute;
        right: 10px;
        margin: auto;
    }
    /* ---------------- */

    /* section2 */
    .section2 .tittle-lage {
        top: 10%;
        left: 50%;
        width: 30%;
        transform: translateX(-50%)
    }

    .section2 .group {
        width: 19%;
    }

    .section2 .first-row {
        top:18%;
    }

    .section2 .second-row {
        top:57%;
    }

    .section2 .group1 {
        left: 20%;
    }

    .section2 .group2 {
        right: 20%;
    }

    .section2 .group3 {
        left: 50%;
        transform: translateX(-50%);
    }

    .section2 .group4 {
        left: 30%;
    }

    .section2 .group5 {
        right: 30%;
    }

    .section2 .button-select {
        bottom: 10%;
        width: 90%;
        left: 50%;
        transform: translateX(-50%) ;
        display: block;
    }

    .section2 .group3 .button-select {
        bottom: 9%;
    }

    /* section3 */

    .section3 {
        background-color: #F7F3F0;
        padding-top: 50px
    }

    .section3 .tittle-lage {
        width: 30%;
        margin: auto;
    }



    .section3 .swiper-container {
        margin-top: 60px
    }

    .section3 .swiper-container span {
        display: block;
        font-size: 16px
    }

    .section3 .swiper-container span.bold {
        font-weight: bold;
        margin-top: 7px;
    }

    .btn-container a {
        color: #191919;
        font-weight: bold;
        padding: 10px;
        position: relative;
        width: 220px;
        display: flex;
        justify-content: center;
        border: 2px solid #191919;
        text-decoration: none;
        transition: all .5s;
        margin: auto;
        margin-top: 113px;
        margin-bottom: 30px;
    }

    .btn-container a:hover {
        color: white;
        background-color: #191919
    }

    .btn-container a img {
        position: absolute;
        right: 10px
    }
    /* -------- */

    /* section4 */

    .section4  {
        padding-bottom: 70px;
        background: url(../../img/top/section4-bg.png);
        z-index: 2
    }

    .section4 .container {
        width: 90%;
        max-width: 960px;
    }

    .section4 .tittle-lage {
        width: 23%;
        margin: auto;
        padding: 50px 0 25px;
    }

    .section4 .container span {
        display: block;
        width: calc(100% - 30px);
        height: 50px;
        line-height: 50px;
        text-align: center;
        position: absolute;
        transform: translate(0%, -100%);
        font-weight: bold;
        color: White;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .section4 .container .imgBox { /* now a container for the image */
        display: inline-block; /* shrink wrap to image */
        overflow: hidden; /* hide the excess */
    }
    .section4 .container .imgBox img {
        display: block; /* no whitespace */
        transition: .5s ease-in-out;
        cursor: pointer
    }
    .section4 .container .imgBox:hover img {
        transform: scale(1.3);
        opacity: .5
    }
    /* -------- */

    /* footer */

    footer {
        width: 100%;
        padding: 0;
        z-index:3;
        position: relative;
    }

    footer  img {
        width: 70%
    }

    footer .text {
        font-size: 15px;
        margin-top: 40px;
        margin-bottom: 50px;
        line-height: 30px
    }

    footer .wrapper {
        display: flex;
        margin-top: -13px;
    }

    footer .first-col {
        width: 35%;
        display: flex;
        padding-top: 70px;
        margin-top: -15px;
    }

    footer .div {
        padding-left: 20%
    }

    footer .second-col {
        width: 65%;
        display: flex;
        background: black;
        padding: 70px;
    }

    footer .second-col .link-wrapper span {
        color: white;
        display: block;
        font-size: 13px;
        font-weight: bold;
        margin-bottom: 10px;
    }

    footer .second-col .link-wrapper a {
        color: white;
        display: block;
        font-size: 12px;
        margin-left: 10px;
        margin-bottom: 5px;
    }

    footer .second-col .divider {
        height: 100%;
        width: 3px;
        background: white;
        margin: 0px 20px
    }

    .copyright {
        font-size: 12px;
        margin-bottom: 30px;
    }

    footer .line-height span {
        margin-bottom: 30px !important;
    }

    .sign-up-btn:hover {
        color: white;
        opacity: 0.75;
        background-color: #191919 !important;
    }

    .sign-up-btn {
        transition: all 0.5s;
    }
}

