/**=================
title css
==================**/



/**=================
main img
==================**/
.main_img_zone {
    position: relative;
}
.main_img_zone .main_title {
    display: inline-block;
    position: absolute;
    /**width: 33rem;**/
    height: fit-content;
    left: 15rem;
    top: 0;
    bottom: 0;
    margin: auto;
}

.text_top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    color: rgba(255,255,255,0.7);
    font-family: "impact", sans-serif;
    font-size: 13rem;
    line-height: 1;
    text-transform: uppercase;
    text-align: left;
    margin: auto;
    position: relative;
}
.main_img_zone .text_top span:nth-child(4) {
    position: absolute;
    top:45%;
    left: 2rem;
    line-height: 2;
    font-size: 0.9rem;
    color: #fff;
}
.text_top.is-active {
  --x: 0;
}

.char {
    overflow: hidden;
}

.char-text {
  display: inline-block;
  transform: translateX(var(--x, -101%));
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: calc(0.05s * var(--char-index));
  text-shadow: 0 6px 20px rgba(0,0,0,0.6);

}
.text_top.is-active .char-text {
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
  transition:
    /*transform 0.9s cubic-bezier(0.77, 0, 0.175, 1),*/
    transform 0.9s cubic-bezier(0.1, 0, 0.175, 1),
    text-shadow 0.9s ease;
  transition-delay: calc(0.3s * var(--char-index));
}




@media screen and (max-width:991px) {
    .text_top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        color: rgba(255,255,255,0.7);
        font-family: "impact", sans-serif;
        font-size: 10rem;
        line-height: 1;
        text-transform: uppercase;
        text-align: left;
        margin: auto;
        position: relative;
    }
    .main_img_zone .main_title {
        display: inline-block;
        position: absolute;
        width: auto;
        height: fit-content;
        right: initial;
        top: -5rem;
        left: 9rem;
        bottom: 0;
        margin: auto;
    }
}
@media screen and (max-width:540px) {
    .text_top {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        color: rgba(255,255,255,0.8);
        font-family: "impact", sans-serif;
        font-size: 8rem;
        line-height: 1;
        text-transform: uppercase;
        text-align: left;
        margin: auto;
        position: relative;
    }
    .main_img_zone .main_title {
        display: inline-block;
        position: absolute;
        width: 80%;
        height: fit-content;
        top: 0;
        bottom: 0;
        margin: auto;
        margin-top: 5rem;
    }
    .main_img_zone .main_title {
        display: inline-block;
        position: absolute;
        width: auto;
        height: fit-content;
        right: initial;
        top: -13rem;
        left: 2rem;
        bottom: 0;
        margin: auto;
    }
    .main_img_zone .text_top span:nth-child(4) {
        position: initial;
        margin-left: 1rem;
        line-height: 2;
        font-size: 0.9rem;
        color: #fff;
    }
}

/**=================
index
==================**/
#index .relative {
    position: relative;
}
#index .intro_absolute {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
#index .title_zone {
    box-shadow: none !important;
}
#index .intro {
    justify-content: space-around;
}
#index .intro .img_zone {
   margin-top: 8.5rem;
}
#index .intro .intro_title {
    width: 13rem;
    height: auto;
}
#index .intro .text_zone {
    text-align: center;

}
#index .intro .text_zone p {
    font-size: 1rem;
}
#index .title_zone {
    text-align: left;
}
#index .text_zone p.comment {
    font-size: 1.2rem;
}
#index .text_zone p.comment span {
   border-bottom: 1px solid #707070;
}
#index .top_service img.service_title,
#index .top_recruit img.recruit_title {
    height: 7.5rem;
    width: auto;
}
#index .service_info{
    justify-content: space-between;
    margin-right: 0;
}


#index .service_info .service_zone {
    display: flex;
    justify-content: space-between;
}
#index .service_info .service_zone .left,
#index .service_info .service_zone .right {
    width: 48%;
}
#index .service_info .service_zone h2 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

#index .top_recruit .recruit_info {
    margin: auto;
    margin-right: 0;
    justify-content: space-between;
}
#index .top_recruit .recruit_info .img_margin {
    margin-top: 23rem;
}
#index .top_recruit .recruit_info .no-rabius {
    border-radius: 10px 0 0 10px;
}
#index .top_company {
    padding-top: 8rem;
    background-image: url("../img/top_company_bg.png");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 8rem;

}
#index .top_company .line-section {
    margin-top: -25rem;
}
#index .top_company .company_zone {
    margin-top: -25rem;
}
#index .top_company .title_zone img.company_title {
    height: 8.5rem;
    width: auto;
}
#index .top_company .company_info {
    justify-content: space-around;
}
#index .top_news .relative {
    position: relative;
}
#index .top_news .title_zone img.news_title {
    height: 7rem;
    width: auto;
}
#index .top_news .grade_link {
    position: absolute;
    right: 0;
    bottom: 0.5rem;
}
#index .top_news .news_list {
    display: flex;
    justify-content: space-between;
    padding: 2rem 2rem 2rem 7rem;
    border-bottom: 1px solid #D0D0D0;
}
#index .top_news .news_list .text_zone {
    margin: auto;
    margin-left: 0;
}
#index .top_news .news_list:first-child {
    border-top: 1px solid #D0D0D0;
}
#index .top_news .news_list .arrow img {
    width: 6rem;
    height: auto;
}


@media screen and (max-width:991px) {
    .main_img_zone  {
        margin-top: 7rem;
    }
    #index .intro_absolute {
        position: initial;
        top: 0;
        left: 0;
        right: 0;
    }
    #index .intro .text_zone {
        text-align: right;
        position: absolute;
        top: 5rem;
        left: 0;
        right: 0;
        margin: auto;
    }
    #index .intro .intro_title {
        width: 12rem;
        height: auto;
    }
    #index .intro_absolute p.add_text {
        position: absolute;
        bottom: 0;
        top: initial;
    }
    #index .top_service img.service_title,
    #index .top_recruit img.recruit_title {
        height: 5.5rem;
        width: auto;
    }
    #index .top_company .title_zone img.company_title {
        height: 6.5rem;
        width: auto;
    }
    #index .top_news .title_zone img.news_title {
        height: 5.5rem;
        width: auto;
    }
    #index .service_info .service_zone {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #index .service_info .service_zone .left,
    #index .service_info .service_zone .right {
        width: 100%;
    }
    #index .top_recruit .recruit_info {
        margin: auto;
    }
    #index .service_info .service_zone .right {
        margin-top: 3.5rem;
     }
    #index .top_recruit .recruit_info .img_margin {
        margin-top: 3.5rem;
    }
    #index .top_company .company_zone {
        margin-top: 0rem;
    }
    #index .top_company {
        padding-top: 5rem;
        background-image: url("../img/top_company_bg.png");
        background-position: top;
        background-repeat: no-repeat;
        background-size: cover;
        padding-bottom: 5rem;
    }
    #index .top_company .company_info .inner_margin {
        text-align: justify;
    }
    #index .top_news .news_list {
        display: flex;
        justify-content: space-between;
        padding: 2rem;
        border-bottom: 1px solid #D0D0D0;
    }
}


@media screen and (max-width:540px) {
    .index_footer .right_zone .link_zone a {
        width: auto;
    }
    #index .intro .intro_title {
        width: 10rem;
        height: auto;
    }
    #index .intro_absolute {
        display: flex;
    }
    #index .intro_absolute p.add_text {
        position: initial;
        bottom: 0;
        top: initial;
        text-align: left;
        margin-top: 5rem;
    }
    #index .title_zone {
        text-align: left;
        margin: auto;
    }
    #index .service_info .service_zone {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    #index .service_info .service_zone .left,
    #index .service_info .service_zone .right {
        width: 100%;
    }

    #index .top_service img.service_title,
    #index .top_recruit img.recruit_title {
        height: 3.8rem;
        width: auto;
    }
    #index .top_news .title_zone img.news_title {
        height: 4rem;
        width: auto;
    }
    #index .top_company .line-section {
        margin-top: -14rem;
    }
    #index .top_company .title_zone img.company_title {
        height: 4.8rem;
        width: auto;
    }
    #index .top_news .grade_link {
        position: initial;
        right: 0;
        bottom: 0.5rem;
    }
    #index .top_news .news_list {
        display: flex;
        justify-content: space-between;
        padding: 1.5rem 0rem;
        border-bottom: 1px solid #D0D0D0;
    }
    #index .top_news .news_list .text_zone {
        display: inline-block;
        margin: auto;
        margin-left: 0;
        margin-right: 1.5rem;
    }
    #index .top_news .news_list .arrow {
        border-left: 1px solid #D0D0D0;
        text-align: end;
        position: relative;
    }
    #index .top_news .news_list .arrow p {
        /*margin-top: 1.5rem;*/
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        height: fit-content;
    }
}





/**==================
header_info
===================**/
.header_info {
    margin-top: 3rem;
    margin-left: 3rem;
}

.header_info p {
    color: #B5B5B5;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 0.7rem;
    margin-bottom: 0.7rem;
    letter-spacing: 1px;
    line-height: 1.4;
}
@media screen and (max-width:991px) {
    #g-nav .header_info {
        margin: 2rem 0 0 5px ;
    }
    #g-nav .header_info p {
        color: #fff;
    }
}
@media screen and (max-width:540px) {
    #g-nav .contact_zone a span{
        font-size: 0.7rem;
        color:#707070;
        padding-left: 1rem;
        display: inline-block;
    }
    #g-nav .header_info {
        margin: 2rem 0 0 5px ;
    }
    #g-nav .header_info p {
        color: #4b4a4a;
    }
}

/**==================
page_link
====================**/
.page_main {
    margin-right: 0;
}
.page_main .page_title {
    margin-left: 6rem;
}
.page_link ul {
    padding-left: 0;
}
.page_link li {
    position: relative;
    display: inline-block;
}
.page_link li::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 80%;
    background-color: #000;
    transform: translateY(-50%) skewX(-20deg); /
  }

.page_link li:first-child::after {
    display: none;
}
.page_link li a {
    padding: 0 1.5rem;
}
#contents .page_link {
    text-align: right;
}
/**ここまでのpage_linkは全ページ共通**/

@media screen and (max-width:991px) {
    .page_main .page_title {
        margin-left: 0rem;
    }
    .page_link ul {
        padding-left: 0;
        text-align: center;
    }
}

@media screen and (max-width:540px) {
    .page_link li a {
        padding: 0 1rem;
    }
     .page_main .page_title {
        margin-left: 0rem;
        text-align: center;
    }
}

/**==================
about us
====================**/
#aboutus .page_link li:first-child  a{
    padding-left: 0;
}
#aboutus .page_main_img {
    margin-left: 0;
}
#aboutus .main_wrap {
    margin-left: 9rem;
}
#aboutus h3 {
    font-size: 1.2rem;
}

#aboutus #message .main_wrap,
#aboutus #company .main_wrap,
#aboutus #history .main_wrap {
    border-top: 1px solid #707070;
    padding-top: 2rem;
}
#aboutus #company .map_zone .sub_title p {
    font-size: 1.4rem;
    line-height: 1.3;
}
#aboutus #company .map_zone .sub_title p span.font_din {
    font-size: 0.8rem;
}
#aboutus #company iframe {
    height: 11rem;
}
#aboutus #company .map_zone .img_zone {
    margin: 2rem auto;
}
#aboutus #history .img_zone {
    margin-top: 1rem;
}
#aboutus #history figcaption {
    font-size: 0.7rem;
}
#aboutus #company table tr {
    display: block;
    padding: 1.5rem 6rem;
    vertical-align: sub;
    line-height: 2;
}
#aboutus #company table tr:nth-child(even) {
    background-color: #F6F6F6;
}
#aboutus #company  table tr td:first-child {
    /*width:20rem;*/
    width: 14rem;
}
#aboutus #company  table tr td:last-child {
    width: 60%;
}
#aboutus #company .text_zone {
    margin-right: 0;
}
#aboutus #history table td {
    padding: 1.5rem 0;
    padding-left: 6rem;
    border-bottom: 1px solid #D0D0D0;
}
#aboutus #history table tr:first-child {
    border-top: 1px solid #D0D0D0;
}
#aboutus .last_img_zone {
    margin-right: 0;
    justify-content: space-between;
}
#aboutus .last_img_zone .img_zone {
    height: 22rem;
    overflow: hidden;
}
#aboutus .last_img_zone .img_zone img {
    height: 100%;
    /*width: fit-content;*/
    width: auto;
}

@media screen and (max-width:1280px) {
    #aboutus .last_img_zone .img_zone img {
        width: 100%;
        height: auto;
    }
}

@media screen and (max-width:991px) {
    #aboutus .page_main {
      position:initial;
      /*margin: auto;*/
    }
    #aboutus .page_main .res_991 {
        margin-top: 5rem;
    }
    #aboutus .page_main .slickslide {
      position:initial;
      right: 8rem;
      top: 7rem;
    }
    #aboutus .main_wrap {
        margin: auto;
    }
    #aboutus #history figcaption {
        font-size: 0.8rem;
    }
    #aboutus .title_zone p {
        margin-top: 0;
    }
    #aboutus #message .text_zone {
        margin-top: 2rem;
    }
    #aboutus #company .sub_title,
    #aboutus #history .sub_title {
        margin-top: 0rem;
    }
    #aboutus #company .text_zone,
    #aboutus #history .text_zone {
        margin-top: 2rem;
    }
    
    #aboutus #company table tr {
        padding: 1.5rem 2rem;
    }
    #aboutus #company table tr td {
        display: block;
    }
    #aboutus #history table td {
        display: block;
        padding: 0;
        border: none;
    }
    #aboutus #company  table tr td:first-child {
        width:100%;
    }
    #aboutus #company  table tr td:last-child {
        width: 100%;
    }
    #aboutus #history table td:first-child {
        padding-bottom: 10px;
    }
    #aboutus #history table tr {
        display: block;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid #D0D0D0;
    }
    #aboutus .last_img_zone {
        margin: auto;
        margin-top: 5rem;
    }
    #aboutus .last_img_zone .img_zone {
       height: auto;
       padding: 5px;
    }
    #aboutus .last_img_zone .img_zone img {
        width: 100%;
        height: auto;
    }
  }

@media screen and (max-width:540px) {
    #aboutus #company table tr {
        padding: 0.8rem 1.6rem;
    }
    #aboutus .text_zone {
        text-align: justify;
    }
    #aboutus #history table tr {
        display: block;
        padding: 1.5rem 0.5rem;
        border-bottom: 1px solid #D0D0D0;
    }
}



/**==================
service
====================**/
#contents .page_intro {
    position: relative;
}
#contents .page_intro .intro_zone01 {
    justify-content: space-between;
    position: absolute;
    top: 0;
}

#contents .page_intro .intro_zone01 .text_zone {
    margin-left: 16rem;
}
#contents .page_intro .intro_zone01 .text_zone>p {
    line-height: 1.5;
}
#contents .page_intro .intro_zone02 .img_zone{
    margin: auto;
}
#contents .page_intro .intro_zone02 {
    padding-top: 20rem;
    margin-left: 2rem;
    justify-content: space-around;
}
#contents .page_intro .intro_zone02 .image-wrapper {
    margin-top: 6rem;
}
#contents .page_intro .grade_link {
    float: right;
}

#contents .title_img_zone .title_img {
   height: 6.9rem;
   width: auto;
}

#contents .main_wrap {
    margin-left: 9rem;
}

#contents .sub_title_zone p span.num {
    font-size: 1.5rem;
    color: #335BA6;
    margin-right: 1rem;
}
#contents .sub_title_zone p span.ja {
    font-size: 2rem;
}
#contents .sub_title_zone p span.instrument {
    font-size: 1rem;
    color: #7C7C7C;
    margin-left: 2rem;
}
#contents .sub_title_zone p {
    position: relative;
}
#contents .sub_title_zone p:after {
    content: "";
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 2.8rem;
    background: #707070;
}
#contents .section01 .sub_title_zone p:after {
    width: 40%;
}
#contents .section02 .sub_title_zone p:after {
    width: 44%;
}
#contents .section03 .sub_title_zone p:after {
    width: 53%;
}
#contents .bg_color {
    border-bottom: 1px dashed #707070;
}
#contents .bg_color .group {
    padding-bottom: 3.5rem;
}
#contents .bg_color .group .text_zone {
    margin-left: 2.5rem;
}
#contents .bg_color .group .inner_section {
    margin-top: 2rem;
    display: flex;
}
#contents .bg_color .section03 .inner_section {
    margin-top: 4rem;
}
#contents .bg_color .section03 .inner_section .img_zone {
    margin-right: 2rem;
}
#contents .bg_color .section02 .inner_section p {
    margin-left: 3rem;
}
#contents .bg_color .section03 .inner_section {
    margin-left: 3rem;
}
#contents .bg_color .section02 .section_img {
    width: 6rem;
    height: auto;
    height: fit-content;
}
#contents .bg_color .section03 .section_img {
    width: 10rem;
    height: auto;
}
/*
#contents .bg_color .section03 div {
    margin-right: 3rem;
}*/
#contents .bg_color .section03 figcaption {
    font-size: 0.65rem;
    text-align: center;
    letter-spacing: 0;
}
#contents .bg_last {
    border-bottom: none;
}

#contents .business .construction_info {
    justify-content: space-between;
}
#contents .business .construction_info table tr {
    display: block;
    padding: 2rem 5rem;
    line-height: 2;
}
#contents .business .construction_info table tr td {
    /*width: 60%;*/
    width: 65%;
}
#contents .business .construction_info table tr td:first-child {
    width:20rem;
}

#contents .business .construction_info table tr:nth-child(odd) {
    background-color: #F6F6F6;
}

#contents .achievements .img_wrap {
    justify-content: space-between;
}
#contents .achievements .img_wrap .img_zone {
    width: 20rem;
}
#contents .achievements .img_wrap figcaption {
    font-family: "Zen Kaku Gothic New", sans-serif;
    color: #484848;
    font-size: 0.9rem;
}
#contents .last_img_zone {
    position: relative;
}
#contents .last_img_zone .img_zone {
    position: absolute;
    top: 5rem;
    left: 0;
    right: 0;
    margin: auto;
}

@media screen and (max-width:1280px) {
    #contents .achievements .img_wrap .img_zone {
        width: 25rem;
    }

}

@media screen and (max-width:991px) {
    #contents .bg_color .group {
        padding-bottom: 2rem;
    }
    #contents .page_intro .intro_zone01 {
        justify-content: space-between;
        position: initial;
        margin: auto;
    }
    
    #contents .page_intro .intro_zone01 .text_zone {
        margin-left: 0rem;
        padding: 0;
    }
    #contents .page_intro .intro_zone02 {
        padding-top: 0rem;
        margin: auto;
        justify-content: space-around;
    }
    #contents .page_intro .intro_zone02 .text_zone {
        text-align: left;
        margin-top: 2rem;
    }
    #contents .main_wrap {
        margin: auto;
        margin-top: 5rem;
    }
    #contents .title_img_zone {
        text-align: left;
    }
    #contents .title_img_zone .title_img {
        /*height: 3.8rem;*/
        height: 4rem;
        width: auto;
    }
    #contents .sub_title_zone p {
        position: relative;
        text-align: left;
        padding-left: 2rem;
    }
    #contents .sub_title_zone p span.ja {
        font-size: 1.5rem;
    }
    #contents .sub_title_zone p span.instrument {
        font-size: 1rem;
        color: #7C7C7C;
        margin-left: 3rem;
        display: block;
        line-height: 1;
    }
    #contents .sub_title_zone p:after {
        display: none;
    }
    #contents .bg_color .group .text_zone {
        width: 85%;
        margin: auto;
        margin-top: 1rem;
        text-align: justify;
    }
    #contents .bg_color .section03 .inner_section {
        margin: auto;
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
    }
    #contents .bg_color .section02 .inner_section {
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
    }
    #contents .bg_color .section02 .inner_section p {
        margin-left: 0rem;
        margin-top: 1rem;
    }
    #contents .bg_color .section03 .section_img {
        width: 7rem;
        height: auto;
    }
    #contents .bg_color .section03 .inner_section .img_zone {
        margin-right: 0;
        padding-left: 2rem;
    }
    #contents .bg_color .section03 figcaption {
        font-size: 0.8rem;
        text-align:left;
        letter-spacing: 0;
        margin-top: 0;
        margin-bottom: 0.5rem;
    }
    #contents .business .construction_info .text_zone {
        padding: 0;
    }
    #contents .business .construction_info table tr td{
        width: 100%;
        text-align: justify;
    }
    #contents .business .construction_info table tr {
        display: block;
        padding: 2rem 1.5rem;
    }

    #contents .business .construction_info table tr td {
        display: block;
    }
    #contents .business .construction_info table tr td:first-child {
        padding-bottom: 1rem;
    }
    
    #contents .achievements .img_wrap {
        justify-content: space-between;
        margin-top: 0rem;
    }
    #contents .achievements .img_wrap .img_zone {
        width:48%;
    }
}

@media screen and (max-width:540px) {
    #contents .page_intro .intro_zone01 {
        justify-content: center;
        position: initial;
        margin: auto;
    }
    #contents .sub_title_zone p {
        position: relative;
        text-align: left;
        padding-left: 1.5rem;
    }
    #contents .sub_title_zone p span.instrument {
        font-size: 1rem;
        color: #7C7C7C;
        margin-left: 2.7rem;
        display: block;
        line-height: 1;
    }
    #contents .achievements .img_wrap .img_zone {
        width:100%;
    }
    #contents .business .construction_info table tr {
        display: block;
        padding:0rem;
    }
    #contents .business .construction_info table tr td:first-child {
        padding-bottom: 0rem;
    }
    #contents .business .construction_info table tr td {
        padding: 0.8rem 1.6rem;
    }
    #contents .title_img_zone .title_img {
        height: 3.5rem;
        width: auto;
    }


}

/**==================
facility
====================**/
/*#contents .page_intro .intro_zone02 .welfare_add_margin {
    margin-top: 6rem;
}*/
#contents .facility .up_zone {
    /*justify-content: left;*/
    justify-content: space-around;
}

#contents .facility .up_zone .img_zone {
    margin: auto;
    margin-top: 2rem;
}

#contents .facility .down_zone {
    justify-content: space-around;
    padding-bottom: 3.5rem;
}
#contents .facility .down_zone .text_zone p {
    margin-left: 7.5rem;
}
#contents .facility .down_zone iframe {
    width: 17rem;
    height: 11rem;
}
#contents .facility .down_zone .map_zone {
    display: flex;
    justify-content: space-between;
}
#contents .section .bg_color {
    border-bottom: none !important;
}
#contents #facility .sub_title p.font_din {
    color:#C53445;
    line-height: 1;
}
#contents #facility .sub_title p span.num {
    font-size: 3rem;
    margin-left: 0.5rem;
}
#contents #facility .sub_title p.title {
   font-size: 2rem;
   margin-bottom: 1rem;
}
#contents #facility .section .up_zone p span.some_big {
    font-size: 1rem;
}
#contents .section .link_zone {
    text-align: center;
    margin-top: 2rem;
}
#contents .section .link_zone .grade_red a span {
    padding: 0.5rem 1.6rem;
    font-size: 0.8rem;
}
#contents .section .link_zone .grade_red a span:last-child {
    border-right: none !important;
}

#contents .last_img_zone p {
    color: #7C7C7C;
    text-align: right;
    margin-top: 1rem;
} 

@media screen and (max-width:1600px) {
    #contents .section .link_zone .grade_red a span {
        padding: 0.5rem 1rem;
    }
}

@media screen and (max-width:991px) {
    #contents .facility .section01 {
        margin-top: -3rem;
    }
    #contents .facility .up_zone .text_zone {
        padding: 0;
    }
    #contents .facility .down_zone {
        justify-content: space-around;
        padding: 1.4rem;
        margin-top: 2.2rem;
    }
    #contents .facility .down_zone .text_zone p {
       margin: auto;
       margin-top: 1rem;
       text-align: justify;
    }
    #contents .facility .down_zone .map_zone {
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }
    #contents .facility .down_zone iframe {
        width: 100%;
        height: 11rem;
        margin-top: 2rem;
    }
    #contents #facility .sub_title p:nth-child(2) {
        font-size: 1.5rem;
    }
    #contents .section .link_zone .grade_link {
        width: 100%;
        margin-bottom: 10px;
    }
    #contents .section .link_zone a {
        display: flex;
        justify-content: space-around;
    }
    #contents .section .link_zone .link01 a span,
    #contents .section .link_zone .link01 a span,
    #contents .section .link_zone .link01 a span {
        padding: 0rem 4rem;
    }
    #contents .section .link_zone img.arrow_img{
        width: 1rem;
        height: auto;
        height: fit-content;
        height: auto;
        margin-left: 0.8rem;
        margin-right: 0.3rem;
        vertical-align: sub;
        margin: auto;
    }
    #contents .section .link_zone .link02 a span {
        padding: 0rem 2rem;
    }
}
@media screen and (max-width:540px) {
    #contents .facility .down_zone {
        justify-content: space-around;
        padding: 0.8rem;
        margin-top: 2.2rem;
    }
    #contents .welfare_page_link li:nth-child(1) {
        display: block;
    }
    #contents .section .link_zone .link01 a span{
        padding: 0rem 3rem;
    }
    #contents .section .link_zone .link02 a span {
        padding: 0rem 0.7rem;
    }
    #contents .facility .title_img_zone h3.res_540 img {
        height: 4.8rem;
    }
    #contents .facility .accordion-area .title {
        text-align: left;
    }
    #contents .facility .accordion-area .title p.font_din span.home {
        font-size: 1.2rem;
    }
    #contents .facility .accordion-area .title p.font_din span.num {
        font-size: 2rem !important;
    }
    #contents .facility .accordion-area .title p:nth-child(2) {
        font-size: 1.3rem;
    }
    #contents .facility .res_991 .bg_color {
        padding: 1rem;
    }

}

/**==================
recruit
====================**/
#recruit .page_intro {
    position: relative;
}
#recruit .page_intro .intro_zone01 {
    justify-content: space-between;
    position: absolute;
    top: 0;
}
#recruit .page_intro .intro_zone01 .text_zone {
    margin-left: 16rem;
}
#recruit .page_intro .intro_zone01 .text_zone>p {
    line-height: 1.5;
}
#recruit .page_intro .intro_zone02 .img_zone{
    margin: auto;
    margin-top: 0;
}
#recruit .page_intro .intro_zone02 {
    padding-top: 15rem;
    margin-left: 2rem;
    justify-content: space-around;
}
#recruit .page_intro .intro_zone02 .image-wrapper {
    margin-top: 6rem;
}
#recruit .page_intro .grade_link {
    float: right;
}
#recruit .main_wrap {
    margin-left: 9rem;
}
#recruit .title_img_zone .title_img {
    height: 6.9rem;
    width: auto;
} 
/*
#recruit #recruitment .sub_title {
    border-bottom: 1px solid #707070;
}
*/
#recruit #recruitment .text_zone p.comment {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #707070;
}
#recruit #recruitment .link_zone {
    padding: 2rem 5rem;
    border-radius: 1rem;
    margin-top: 1.5rem;
}


#recruit #recruitment .link_zone img {
    width: 1rem;
    height: auto;
    vertical-align: baseline;
    margin-left: 1rem;
}
#recruit #recruitment .link_zone p {
    margin-left: 6rem;
}


#recruit #recruitment .link_zone p span {
    font-size: 1.3rem;
}
#recruit #recruitment .link_zone a {
    position: relative;
    padding-bottom: 0.5rem;
    text-align: right;
    display: block;
}
#recruit #recruitment .bnr_link .link_zone a {
    color: #484848;
    font-size: 1.3rem;
}


#recruit #recruitment .link_zone a:after {
    content:"";
    position: absolute;
    height: 1px;
    right: 0;
    bottom: 0;
    width: 28%;
    background: #484848;
}
#recruit #recruitment .recruit_info .link_zone a:after {
    background: #484848;
}





#recruit #recruitment .bnr_link .link_zone {
    position: relative;
    transition: 0.5s;
}

#recruit #recruitment .bnr_link .link_zone:hover {
    transition: 0.5s;
    box-shadow: 0px 3px 6px #adadad;
}
#recruit #recruitment .bnr_link .link_zone:before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0.25turn,#D2D9EA, #F7CDD2);
    transition: opacity 0.5s ease;
    z-index: 2;
    border-radius: 10px;
}
#recruit #recruitment .bnr_link .link_zone:after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0.25turn,#5374B2, #E24857);
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 10px;
}

#recruit #recruitment .bnr_link .link_zone:hover::before {
    opacity: 0; /* 通常時を消す */
}
  
#recruit #recruitment .bnr_link .link_zone:hover::after {
    opacity: 1; /* ホバー後を表示する */
}
#recruit #recruitment .bnr_link .link_zone .text_zone {
    position: relative;
    z-index: 2;
}
#recruit #recruitment .bnr_link .link_zone:hover p {
    color: #fff;
    transition: 0.5s;
}/*
#recruit #recruitment .bnr_link .link_zone:hover  a {
    color: #fff;
}*/
#recruit #recruitment .bnr_link .link_zone:hover a:after {
    background: #fff;
}


#recruit #recruitment .bnr_link img.arrow_bk {
    width: 1rem;
    height: auto;
    vertical-align: baseline;
    margin-left: 1rem;
}/*
#recruit #recruitment .bnr_link_a {
    position: relative;
}*/
#recruit #recruitment .bnr_link_a .text_zone p.pc_540 {
    text-align: left;
}
#recruit #recruitment .bnr_link_a p.big_font {
    position: relative;
    padding-bottom: 0.5rem;
    text-align: right;
    display: block;
    font-size: 1.3rem;
}
#recruit #recruitment .bnr_link_a p.big_font:after {
    content: "";
    position: absolute;
    height: 1px;
    right: 0;
    bottom: 0;
    width: 32%;
    background: #484848;
}

#recruit #recruitment .bnr_link_a:hover p.big_font:after {
    background: #fff;
}



@media screen and (max-width:991px) {
    #recruit .title_img_zone .title_img {
        height: 3.8rem;
        width: auto;
    }
    #recruit .page_intro .intro_zone01 {
        position: initial;
        margin: auto;
    }
    #recruit .page_intro .intro_zone01 .text_zone {
        margin: auto;
    }
    #recruit .page_intro .intro_zone02 {
        padding: 0;
        margin: auto;
        justify-content: space-around;
    }
    #recruit .main_wrap {
        margin: auto;
        margin-top: 5rem;
    }
    #recruit #recruitment .link_zone {
        padding: 2rem;
        border-radius: 1rem;
        margin-top: 1.5rem;
    }
    #recruit #recruitment .link_zone p {
        margin: auto;
        text-align: center;
    }/*
    #recruit #recruitment .link_zone a {
        position: relative;
        padding-bottom: 0.5rem;
        text-align: center;
        display: block;
    }
    #recruit #recruitment .link_zone a:after {
        content:"";
        position: absolute;
        height: 1px;
        right: 0;
        left: 0;
        margin: auto;
        bottom: 0;
        width: 55%;
    }*/

    #recruit #recruitment .link_zone p span {
        font-size: 1rem;
    }
    #recruit #recruitment .brn_link .link_zone a {
        color: #484848;
        font-size: 1.3rem;
    }
    #recruit #recruitment .bnr_link_a .text_zone p,
    #recruit #recruitment .bnr_link_a .text_zone p.pc_540 {
        text-align: center;
    }
    #recruit #recruitment  .bnr_link_a p.big_font:after {
        content:"";
        position: absolute;
        height: 1px;
        right: 0;
        left: 0;
        margin: auto;
        bottom: 0;
        width: 55%;
    }
}

@media screen and (max-width:540px) {
    #recruit .page_intro .intro_zone01 {
        justify-content: center;
    }
    #recruit .page_intro .intro_zone01 .text_zone {
        margin: auto;
        padding: 0;
    }
    #recruit .page_intro .intro_zone02 p {
        text-align: justify;
    }
    #recruit #recruitment .link_zone {
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1.5rem;
    }
    #recruit #recruitment .text_zone p.comment {
        margin-top: 1rem;
        margin-bottom: 1rem;
        text-align: justify;
    }
    #recruit #recruitment .link_zone p span {
        font-size: 1rem;
    }
    #recruit #recruitment .text_zone .add_info {
        text-align: left;
    }/*
    #recruit #recruitment .bnr_link .link_zone a {
        color: #484848;
        font-size: 1.2rem;
    }*/
    #recruit #recruitment .bnr_link_a p.big_font {
        position: relative;
        padding-bottom: 0.5rem;
        display: block;
        font-size: 1.2rem;
    }
    #recruit #recruitment .bnr_link_a p.big_font:after {
        content:"";
        position: absolute;
        height: 1px;
        right: 0;
        left: 0;
        margin: auto;
        bottom: 0;
        width: 98%;
    }
}




/**==================
news
====================**/
#news .page_title {
    margin-left: 14rem;
}
#news .news_list .news_text:first-child {
    border-top: 1px solid #D0D0D0;
}
#news .news_list .news_text {
    display: flex;
    padding: 2rem 7rem;
    border-bottom: 1px solid #D0D0D0;
}
#news .news_list .news_text .text_zone {
    margin: auto;
    display: flex;
    justify-content: space-between;
}
#news .news_list .news_text .arrow img {
    width: 6rem;
    height: auto;
}
#news .news_list .list_title {
    margin: auto;
    margin-left: 0;
}
#news .news_title {
    padding-bottom: 2rem;
    border-bottom: 1px solid #D0D0D0;
}
#news .btn_zone .grade_btn a {
        display: block;
}
#news .btn_zone .grade_btn a {
    background: linear-gradient(0.25turn,#154499, #DB071B);
    color: #fff;
    transition: 0.5s;
    text-align: center;
    padding: 0.5rem 4rem;
    font-size: 0.8rem;
}
#news .btn_zone .grade_btn a:hover {
    box-shadow: 0px 3px 6px #adadad;
}
#news .btn_zone .prev,
#news .btn_zone .next {
    position: relative;
    margin: auto;
    text-align: center;
}
#news .btn_zone .prev:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 5rem;
    background: #1f1b1b;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
#news .btn_zone .next:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    background: #484848;
    height: 5rem;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (max-width:991px) {
    #news .page_title {
        margin: auto;
        text-align: center;
    }
    #news  p.big_font {
        font-size: 1.5rem;
    }
    #news .btn_zone {
        justify-content: space-between;
    }
    #news .btn_zone .prev {
        margin-left: 0;
    }
    #news .btn_zone .next {
        margin-right: 0;
    }
    #news .btn_zone .grade_btn a {
        background: linear-gradient(0.25turn,#154499, #DB071B);
        color: #fff;
        transition: 0.5s;
        text-align: center;
        padding: 1rem 0rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width:540px) {
    #news  p.big_font {
        font-size: 1.3rem;
    }
    #news .btn_zone .prev:after,
    #news .btn_zone .next:before {
        display: none;
    }
    #news .btn_zone div:nth-child(2) {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}



/**==================
Privacy Policy
====================**/

#privacypolicy .line {
   border-top: 1px solid #D0D0D0;
}
#privacypolicy .policy {
    margin-left: 14rem;
}
#privacypolicy .policy p {
    margin-bottom: 2rem;
}
#privacypolicy .policy p.date {
    text-align: right;
}

@media screen and (max-width:991px) {
    #privacypolicy .page_main {
        margin: auto;
    }
    #news .news_list .news_text {
        display: flex;
        flex-direction: column;
        padding: 2rem;
        border-bottom: 1px solid #D0D0D0;
    }
    #news .news_list .news_text .text_zone {
        margin-top: 2rem;
    }
    #privacypolicy .line {
        border-top: 1px solid #D0D0D0;
        margin-bottom: 2rem;
     }
    #privacypolicy .policy {
        margin: auto;
        text-align: justify;
    }
    #privacypolicy .policy p a {
        font-size: 1rem;
    }
}

@media screen and (max-width:540px) {
    #news .news_list .news_text {
        display: flex;
        flex-direction: column;
        padding: 2rem 0rem;
        border-bottom: 1px solid #D0D0D0;
    }
}


/**==================
From
====================**/
#form table tr th {
    font-weight: 400;
    width: 30%;
    vertical-align: top;
    padding-top: 10px;
}
#form table tr th.th {
    vertical-align: middle;
}
#form table tr td.input_text input,
#form table tr td textarea {
    background-color: #F5F3E7;
    border:none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    width: 100%;
    line-height: normal;
}
#form table tr td.radio {
    display: block;
    padding: 0.5rem 0;
}
#form table tr td label {
    vertical-align: top;
    margin-left: 1rem;
}
#form table tr td.radio input {
  accent-color: #707071;
  inline-size: 1.5rem;
  block-size: 1.5rem;
}
#form table tr td.input_text {
    padding: 0.5rem 0 ;
}
::placeholder {
    color: #7C7C7C;
    font-size: 0.8rem;
}
#form .text_area ,
#form .submitArea {
    margin: auto;
    margin-right: 0;
    margin-top: 5rem;
    width: 70%;
}
#form .text_area a {
    color: #FF0000;
    position: relative;
    transition: 0.5s;
}
#form .text_area a:hover {
    color: #164499;
    position: relative;
    transition: 0.5s;
}
#form .text_area a:after {
    position: absolute;
    content:"";
    height: 1px;
    width: 100%;
    bottom: -5px;
    right: 0;
    background: #707070;
}
#form .submitArea input {
    background: linear-gradient(0.25turn,#5374B2, #E24857);
    border: none;
    color: #fff;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 0.8rem;
    width: 100%;
    height: 4rem;
    transition: 0.5s;
}
#form .submitArea input:hover {
    box-shadow: 0px 3px 6px #adadad;
    background: linear-gradient(0.25turn,#154499, #DB071B);
    transition: 0.5s;
}
#form {
    margin-top: -20rem;
}
.sticky_address {
    display: inline-block;
    position: sticky;
    top: 65%;
    left: 9rem;
}

.sticky_address p.fix_tel {
    font-size: 2.5rem;
}

@media screen and (max-width:991px) {
    #form table tr th {
        font-weight: 400;
        width: 100%;
        vertical-align: top;
        padding-top: 10px;
        display: block;
    }
    #form table tr td.input_text {
        padding: 0.5rem 0 ;
        display: block;
    }
    #form .text_area ,
    #form .submitArea {
        margin: auto;
        margin-right: 0;
        margin-top: 3.5rem;
        width: 100%;
    }
}

@media screen and (max-width:540px) {
    #form .title_zone {
        margin: auto;
    }
    #form p {
        text-align: justify;
    }
}