@charset "utf-8";
html,body{
    overflow-x:hidden;
}
/* _____________HEADER_____________ */
#recruit_top {
    height: 630px;
}

#recruit_top h1 {
    font-size: 100px;
    font-weight: bold;
    color: var(--red);
}

#recruit_top h1 span {
    color: var(--black);
}

#recruit_top .recruit_top_title {
    width: 100%;
    max-width: 400px;
}

#recruit_top .recruit_top_image {
    background: url("../images/recruit/recruit_top.png?v=1");
    background-position: left center;
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    border-bottom-left-radius: 60px;
    overflow: hidden;
    background-size: cover;
}

.lowerpage_firstsection {
    position: static;
}

#message {
    margin-bottom: 150px;
}
#message h2{
    margin-bottom: 155px
}
/*#about_KNOX .inner .flex::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 10px;
    bottom: 0px;
    left: 0;
    background-color: var(--red);
    visibility: hidden;
    transition: all 0.3s ease-in-out 0s;
}
#about_KNOX .inner .flex:hover::before {
    visibility: visible;
    width: 100%;
}*/
#about_KNOX .inner .flex:hover {
    
}
/* _____________MESSAGE_____________ */
.message_right {
    background: var(--recruit_gray);
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    margin-top: 20px;
    margin-bottom: 50px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}

/*.message_left {
    background: var(--recruit_gray);
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    margin-top: 20px;
    margin-bottom: 50px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}*/

.message_left {
    background: var(--recruit_gray);
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    margin-top: 20px;
    margin-bottom: 50px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
}
.hopthut_left {
    margin: 0 0 0 auto;
    background: var(--white);
    position: relative;
    max-width: 800px
}
.hopthut_right{
    margin: 0 auto 0 0;
    background: var(--white);
    position: relative;
    max-width: 800px
}
p.title{
    font-size: 28px;
    font-weight: 700;
}
p.title_right{
    text-align: right;
}
.message_left .inner {
    padding: 50px 50px 50px 0;
    margin: 0 0 0 auto;
    max-width: 800px
}

.message_right .inner {
    padding: 50px;
    margin: 0 auto 0 0;
    max-width: 850px
}

#message .photo01 {
    background: url(../images/recruit/recruit_message_photo01.png), no-repeat;
    background-position: right 35% bottom 65%;
    ;
    height: 360px;
    border-radius: 20px;
    background-size: cover;
    margin-bottom: 50px;
}

#message .photo02 {
    background: url("../images/recruit/recruit_message_photo02.png?v=1"), no-repeat;
    background-position: right 70% bottom 65%;
    ;
    height: 360px;
    border-radius: 20px;
    background-size: cover;
    margin-bottom: 50px;
}


/* _____________ABOUT_KNOX_____________ */
#about_KNOX h2 {
    width: 100%;
}

#about_KNOX .inner {
    flex-wrap: wrap;
    gap: 50px 0;
}

#about_KNOX .inner .flex {
    width: 30%;
    flex-wrap: wrap;
    background: var(--white);
    position: relative;
}

#about_KNOX .inner .flex .title {
    width: 100%;
    background: #9D9D9D;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    height: 80px;
    font-size: 18px;
    font-weight: bold;
}

#about_KNOX .inner .flex img {
    max-width: 100px;
    width: 100%;
    height: auto;
    margin: auto;
}

#about_KNOX .inner .flex .text {
    text-align: center;
    display: flex;
    flex-basis: 60%;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: auto;
    height: 250px;
    font-size: clamp(24px, 3vw, 36px);
}

#about_KNOX .inner .flex .text span {
    display: block;
    font-size: 14px;
}

/* _____________RECRUIT_BANNER_01_____________ */
.recruit_padding {
    padding: 80px 0px;
}
#recruit_banner_01 .inner {
    gap: 0 30px;
}

#recruit_banner_01 .new {
    background: linear-gradient(90deg, rgb(241, 103, 103), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_new.png);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    height: 250px;
    position: relative;
}

#recruit_banner_01 .career {
    background: linear-gradient(90deg, rgb(241, 103, 103), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_career.png);
    border-radius: 20px;
    max-width: 520px;
    width: 100%;
    height: 250px;
    position: relative;
}

#recruit_banner_01 .new p,
#recruit_banner_01 .career p {
    line-height: 250px;
    padding-left: 30px;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: bold;
    color: var(--white);
}

#recruit_banner_01 .new::before,
#recruit_banner_01 .career::before {
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 35px;
    width: 60px;
    /* 横幅 */
    height: 60px;
    /* 高さ */
    border-radius: 50%;
    /* 角の丸み */
    background: var(--white);
}

#recruit_banner_01 .new::after,
#recruit_banner_01 .career::after {
    content: "";
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    right: 58px;
    width: 20px;
    height: 20px;
    border-top: 5px solid var(--red);
    border-right: 5px solid var(--red);
    transform: rotate(45deg);
}

#recruit_banner_01 .new:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_new.png);
}

#recruit_banner_01 .career:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_career.png);
}

#recruit_banner_01 .new p:hover,
#recruit_banner_01 .career p:hover {
    color: var(--red);
    text-shadow: 0 0 20px var(--white), 0 0 20px var(--white);
}

#recruit_banner_01 .new:hover:before,
#recruit_banner_01 .career:hover:before {
    background: var(--red);
}

#recruit_banner_01 .new:hover:after,
#recruit_banner_01 .career:hover:after {
    border-top: 5px solid var(--white);
    border-right: 5px solid var(--white);
}



/* _____________VOICES_____________ */
#voices .voices_banner {
    background-image:url(../images/recruit/recruit_voices.png);
    background-size: cover;
    background-position: right;
    width: calc(50vw + 50%);
    margin-left: calc(50% - 50vw);
    height: 360px;
    border-top-right-radius: 200px;
    border-bottom-right-radius: 200px;
    background-repeat: no-repeat;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#voices a:hover{
    opacity: 0.8
}

/* _____________OFFICE TOUR____________ */
#officetour .office_banner {
    background-image: url(../images/recruit/office_banner.png);
    background-size: cover;
    background-position: right!important;
    width: calc(50vw + 50%);
    margin-right: calc(50% - 50vw);
    height: 360px;
    border-top-left-radius: 200px;
    border-bottom-left-radius: 200px;
    background-repeat: no-repeat;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.office_banners a:hover{
    opacity: 0.8
}


.office_banner p span {
    font-size: 18px;
    color: var(--black);
    background-color: rgba(196, 0, 24, 0.8);
    position: relative;
    width: 480px;
    height: 100px;
    display: inline-block;
    line-height: 100px;
    font-weight: bold;
    color: #fff;
    float: right;
}

.office_banner p span a {
    color: #fff;
    display: block;
    padding-left: 30px;
}

.office_banner p span::after {
    position: absolute;
    right: 30px;
    bottom: 40px;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(45deg);
}
.office_banner p span a:hover {
    opacity: 0.8;
    background-color: rgba(196, 0, 24, 0.9);
    color: #fff;
}

.voices_banner p span,.office_banner p span{
    top:115px;
}
/* _____________ENVIRONMENT_____________ */
#environment .flex {
    margin-top: 50px;
    gap: 0 30px;
}

#environment .benefit div {
    width: 450px;
    height: 300px;
    border-radius: 20px;
}

#environment .education div {
    width: 450px;
    height: 300px;
    border-radius: 20px;
    margin-right: 50px;
}

#environment .benefit .btn,
#environment .education .btn {
    position: relative;
    bottom: 35px;
    left: 265px;
}
#environment a.img_link{
    display: block;
}
#environment a.img_link:hover{
    opacity: 0.8
}
#environment .btn {
    background: var(--white);
    padding: 0;
    display: inline-block;
    border: 1px solid var(--red);
    border: none;
}

#environment .btn a {
    display: block;
    text-align: center;
    color: var(--red);
}

#environment .btn a:hover {
    color: var(--white);
}

/* _____________RECRUIT_TOPICS_____________ */
#recruit_topics .inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#recruit_topics .newsWrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

#recruit_topics .newsWrap ul {
    margin-top: 20px;
    flex-basis: 70%;
}

#recruit_topics .newsWrap .btn {
    padding-left: 0;
    flex-basis: 30%;
    height: 100%;
}

#recruit_topics .newsWrap .btn a {
    display: block;
    height: fit-content;
}
.recruit_section ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#recruit_topics ul li {
    border-bottom: 1px solid #D9D9D9;
    padding: 15px 0;
    position: relative;
    display: flex;
    align-items: center;
}
.recruit_section ul li a{
    max-width: 480px;
    display: flex;
    justify-content: space-between;
    background-color: #fff
}
.recruit_section ul li a div{
  overflow: hidden;
}
.recruit_section ul li a img{
  transition: all 1s;
  -webkit-transform: scale(1);
            transform: scale(1);
}
.recruit_section ul li a:hover img{
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.recruit_section ul li .text{
    padding: 25px
}
.recruit_section ul li .text a{
    width: 100%;
    display: block;
    font-weight: bold;
    background-image:url(../images/senior/arrow.png);
    background-repeat: no-repeat;
    background-position: right;
    padding-right: 25px;
    background-size: 10px 20px
}
#recruit_topics ul li::after {
    position: absolute;
    right: 10px;
    bottom: 22px;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--black);
    border-right: 2px solid var(--black);
    transform: rotate(45deg);
}

#recruit_topics ul li:first-child {
    padding-top: 0;
}

#recruit_topics ul li:hover::after {
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
}

#recruit_topics li .category{
    font-weight: bold;
    font-size: 14px;
    border: 1px solid var(--black);
    border-radius: 15px;
    padding: 2px;
    display: block;
    text-align: center;
    min-width: 125px;
    width: max-content
}

#recruit_topics li a.category:hover{
    background-color: var(--red);
    color: #fff;
    border: 1px solid var(--red);
}

#recruit_topics li time{
   width: 100px;
   text-align: center;
}

#recruit_topics li .newscontent {
    flex-basis: 70%;
    display: flex;
}

#recruit_topics li .newscontent time {
    flex-basis: 20%;
}

#recruit_topics li .newscontent p {
    padding-right: 20px
}

.voices_banner p span {
    font-size: 18px;
    color: var(--black);
    background-color: rgba(196, 0, 24, 0.8);
    position: relative;
    width: 480px;
    height: 100px;
    display: block;
    line-height: 100px;
    font-weight: bold;
    color: #fff;
}

.voices_banner p span a {
    color: #fff;
    display: block;
    padding-left: 30px;
}

.voices_banner p span::after {
    position: absolute;
    right: 20px;
    bottom: 40px;
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid var(--white);
    border-right: 3px solid var(--white);
    transform: rotate(45deg);
}
.voices_banner p span a:hover {
    opacity: 0.8;
    background-color: rgba(196, 0, 24, 0.9);
    color: #fff;
}

@media screen and (min-width: 768px) and (max-width: 1170px) {

    /* _____________ABOUT_KNOX_____________ */
    #about_KNOX h2 {
        width: 100%;
    }

    #about_KNOX .inner {
        flex-wrap: wrap;
        gap: 50px 0;
    }

    #about_KNOX .inner .flex {
        width: 30%;
        flex-wrap: wrap;
        background: var(--white);
    }

    #about_KNOX .inner .flex .title {
        width: 100%;
        background: #9D9D9D;
        color: var(--white);
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: 80px;
    }

    #about_KNOX .inner .flex img {
        max-width: 70px;
        width: 100%;
        height: auto;
        margin: auto;
    }

    #about_KNOX .inner .flex .text {
        text-align: center;
        display: flex;
        flex-basis: 60%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin: auto;
        height: 250px;
        font-size: clamp(24px, 3vw, 36px);
    }

    #about_KNOX .inner .flex .text span {
        display: block;
        font-size: 14px;
    }


    /* _____________ENVIRONMENT_____________ */
    #environment .flex {
        margin-top: 30px;
        display: block;
    }

    #environment .benefit div {
        width: 100%;
    }

    #environment .education div {
        width: 100%;
    }
    #environment .benefit{
        margin-bottom:80px;
    }
    #environment .benefit .btn,
    #environment .education .btn {
        /* position: static;
        margin: 30px auto 80px auto; */
        left: 50%;
        transform: translateX(-50%);
        display: block;
        max-width: 230px;
    }

    #environment .education .btn {
        margin-bottom: 0;
    }

}
@media screen and (min-width: 768px) and (max-width: 1170px) {
    #environment p{
        text-align: center;
    }
    .benefit img,.education img{
        display: block;
        margin: 0px auto
    }
    .message_left .inner{
        padding: 50px
    }
}

@media screen and (max-width: 768px) {
    /* .office_banner p span{
        margin-right: 20px
    } */
    .voices_banner p span::after,.office_banner p span::after {
        bottom: 25px;
    }
    .voices_banner p span,.office_banner p span {
        width: 300px;
        height: 65px;
        line-height: 65px;
        top:58px;
    }
    #message h2{
        margin-bottom: 20px
    }
    #environment p{
        text-align: center;
    }
    .benefit img,.education img{
        display: block;
        margin: 0px auto
    }
    p.title {
        font-size: 18px;
    }
    #recruit_topics ul li{
        text-align: left;
        display: block;
    }
    .recruit_section ul{
      display: block;
    }
    .job_row .content{
      width: 100%;
      border-left: 0px solid #ccc;
      padding: 10px 0px 
    }
    .recruit_section ul li a{
      width: 100%;
      margin-bottom: 25px;
      max-width: 100%
    }
    .recruit_section ul li .text{
      width: 100%;
      padding: 15px;
    }

    .recruit_section ul{
      display: block;
    }
    .job_row .content{
      width: 100%;
      border-left: 0px solid #ccc;
      padding: 10px 0px;
    }
    .recruit_section ul li a{
      width: 100%;
      margin-bottom: 25px;
      max-width: 100%;
    }
    .recruit_section ul li .text{
      width: 100%;
      padding: 15px;
    }

    /* _____________HEADER_____________ */
    #recruit_top {
        height: 500px;
        overflow-x: hidden;
    }

    #recruit_top h1 {
        font-size: 26px;
        font-weight: bold;
        color: var(--red);
    }

    #recruit_top h1 span {
        color: var(--black);
        font-size: 16px;
        font-weight: bold;
    }

    #recruit_top .recruit_top_title {
        width: 100%;
        max-width: 400px;
    }

    #recruit_top {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 1)), url(../images/recruit/recruit_top.jpg)no-repeat top center/100%;
        background-position: left center;
        height: auto;
    }

    #recruit_top .recruit_top_image {
        height: 350px;
        width: 100%;
        margin-top: 25px;
        background-position: center center;
        margin-bottom: 35px
    }
    #message .photo01{
        background-position: center center;
        height: 220px
    }

    /* _____________MESSAGE_____________ */
    .message_right {
        background: var(--recruit_gray);
        width: 100%;
        margin-top: 20px;
        margin-bottom: 30px;
        border-radius: 20px;
    }

    .message_left {
        background: var(--recruit_gray);
        width: 100%;
        border-radius: 20px;
        display: block;
        margin: 20px auto 30px auto;
    }

    .message_left .inner {
        padding: 20px;
    }

    .message_right .inner {
        padding: 20px;
        margin: 0 auto;
    }

    #message .lead {
        margin: 50px 0 30px 0;
    }

    /* _____________ABOUT_KNOX_____________ */
    #about_KNOX .inner .flex {
        width: 100%;
        margin-bottom: 20px;
        box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
    }

    #about_KNOX .inner .flex img {
        max-width: 80px;
        display: block;
        margin-top: 20px;
    }

    #about_KNOX .inner .flex .text {
        min-height: 100px;
        padding-bottom: 20px;
        height: auto;
    }

    /* _____________RECRUIT_BANNER_01_____________ */
    #recruit_banner_01 .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 50px;
        gap: 30px 0;
    }

    #recruit_banner_01 .new {
        background: linear-gradient(90deg, rgb(241, 103, 103), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_new.png);
        border-radius: 20px;
        max-width: 520px;
        width: 100%;
        height: 150px;
        position: relative;
    }

    #recruit_banner_01 .career {
        background: linear-gradient(90deg, rgb(241, 103, 103), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_career.png);
        border-radius: 20px;
        max-width: 520px;
        width: 100%;
        height: 150px;
        position: relative;
    }

    #recruit_banner_01 .new p,
    #recruit_banner_01 .career p {
        line-height: 150px;
        padding-left: 30px;
        font-size: clamp(24px, 3vw, 36px);
        font-weight: bold;
        color: var(--white);
    }

    #recruit_banner_01 .new::before,
    #recruit_banner_01 .career::before {
        content: "";
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 35px;
        width: 60px;
        /* 横幅 */
        height: 60px;
        /* 高さ */
        border-radius: 50%;
        /* 角の丸み */
        background: var(--white);
    }

    #recruit_banner_01 .new::after,
    #recruit_banner_01 .career::after {
        content: "";
        position: absolute;
        margin: auto;
        top: 0;
        bottom: 0;
        right: 58px;
        width: 20px;
        height: 20px;
        border-top: 5px solid var(--red);
        border-right: 5px solid var(--red);
        transform: rotate(45deg);
    }

    #recruit_banner_01 .new:hover {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_new.png);
    }

    #recruit_banner_01 .career:hover {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0)), url(../images/recruit/recruit_recruit_banner_01_career.png);
    }

    #recruit_banner_01 .new p:hover,
    #recruit_banner_01 .career p:hover {
        color: var(--red);
        text-shadow: 0 0 20px var(--white), 0 0 20px var(--white);
    }

    #recruit_banner_01 .new:hover:before,
    #recruit_banner_01 .career:hover:before {
        background: var(--red);
    }

    #recruit_banner_01 .new:hover:after,
    #recruit_banner_01 .career:hover:after {
        border-top: 5px solid var(--white);
        border-right: 5px solid var(--white);
    }


    /* _____________VOICES_____________ */
    #voices .voices_banner ,#officetour .office_banner {
        /* width: 100vw; */
        height: 150px;
        border-radius: 0;
        background-position: left;
        background-size: contain;
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2)
    }
    #message .photo02{
        height: 220px
    }
    /* _____________ENVIRONMENT_____________ */
    #environment .flex {
        margin-top: 30px;
    }
    #environment .benefit{
        margin-bottom:80px;
    }
    #environment .benefit div,
    #environment .education div { 
        width: 100%;
        height:auto;
    }

    #environment .benefit .btn,
    #environment .education .btn {
        /* position: static;
        margin: -5px auto 40px ; */
        display: block;
        max-width: 230px;
        left: 50%;
        transform: translateX(-50%);

    }

    #environment .education .btn {
        margin-bottom: 0;
    }

    /* _____________RECRUIT_TOPICS_____________ */
    #recruit_topics .inner {
        display: block;
    }

    #recruit_topics .newsWrap {
        flex-direction: column-reverse;
    }

    #recruit_topics .newsWrap>.btn {
        margin: 0;
        display: flex;
        flex-basis: auto;
        padding: 20px 0 0 0;
    }

    #recruit_topics .newsWrap>.btn a {
        display: block;
        margin: 0 auto;
    }

    #recruit_topics li .category {
        display: inline-block;
        margin: 0px auto
    }
    #recruit_topics li time{
        display: inline-block;
    }
    #recruit_topics li .category a {
        font-size: 12px;
        border: 1px solid var(--black);
        border-radius: 15px;
        padding: 3px 15px;
        margin-right: 20px;
        display: block;
    }

    #recruit_topics ul li::after {
        display: none;
    }

    #recruit_topics li time.sp {
        display: block;
        flex-grow: 1;
        text-align: right;
    }

    #recruit_topics li .newscontent {
        margin-top: 5px;
        display: block;
    }

    #recruit_topics li .newscontent time {
        display: none;
    }

    #recruit_topics li .newscontent a {
        display: block;
    }

    #recruit_topics li .newscontent p {
        flex-basis: 100%;
    }
    
}