/* Common CSS */
/* _setting CSS */
/* Desktops and laptops */
@media print, screen and (min-width: 781px) {
  main {
    overflow-x: hidden;
  }

  #content {
    background-color: #FCF7F0;
    padding-top: 170px;
  }
  #content .workstyle_inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }
  #content .head_mini {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    font-family: "Lato", serif;
    letter-spacing: 0.05em;
    color: #F24E35;
  }
  #content .head_m {
    font-size: 4.8rem;
    line-height: 1;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 40px;
  }
  #content .style_list {
    margin-top: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 15px;
  }
  #content .style_list .style_item {
    border-bottom: 1px solid #F24E35;
  }
  #content .style_list .style_item a {
    display: block;
    color: #F24E35;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.1em;
    padding: 15px 16px;
    min-width: 200px;
    position: relative;
  }
  #content .style_list .style_item a::after {
    content: "";
    background-image: url(../img/common/icon_arrow_red.svg);
    display: inline-block;
    width: 14px;
    height: 7px;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  #content .sec_cont .sec_head {
    font-weight: 700;
    font-size: 3.6rem;
    letter-spacing: 0.1em;
  }
  #content .sec_cont .sec_head::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #F24E35;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 12.5px;
  }
  #content .sec_cont .environment_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 80px;
  }
  #content .sec_cont .environment_wrap .environment_head {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-top: 20px;
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1;
    color: #F24E35;
  }
  #content .sec_cont .environment_wrap .environment_img_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    gap: 20px 2%;
  }
  #content .sec_cont .environment_wrap .environment_img_list .flex_max {
    width: 100%;
  }
  #content .sec_cont .environment_wrap .environment_text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin-top: 10px;
  }
  #content .sec_cont .environment_wrap.environment01 .environment_img_list li:nth-of-type(2) {
    width: 48%;
  }
  #content .sec_cont .environment_wrap.environment01 .environment_img_list li:nth-of-type(3),
  #content .sec_cont .environment_wrap.environment01 .environment_img_list li:nth-of-type(4) {
    width: 24%;
  }
  #content .sec_cont .environment_wrap.environment02 .environment_img_list li:nth-of-type(1),
  #content .sec_cont .environment_wrap.environment02 .environment_img_list li:nth-of-type(2) {
    width: 36%;
  }
  #content .sec_cont .environment_wrap.environment02 .environment_img_list li:nth-of-type(3) {
    width: 24%;
  }

  #environment {
    padding-top: 120px;
    padding-bottom: 180px;
  }

  #ojt {
    background-color: #F24E35;
    border-radius: 80px 80px 0 0;
    margin-top: -80px;
    padding-top: 150px;
    padding-bottom: 180px;
  }
  #ojt .head_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 40px;
  }
  #ojt .head_wrap .sec_head {
    width: 193px;
    color: #fff;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  #ojt .head_wrap .sec_head::before {
    background-color: #fff;
  }
  #ojt .head_wrap .sec_lead {
    font-size: 1.4rem;
    line-height: 1.75;
    color: #fff;
    margin-left: 60px;
  }
  #ojt .ojt_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
    padding: 40px 0;
  }
  #ojt .ojt_wrap .ojt_img {
    width: 30%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -ms-flex-item-align: center;
        align-self: center;
  }
  #ojt .ojt_wrap .text_wrap h4 {
    font-size: 2.4rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #fff;
  }
  #ojt .ojt_wrap .text_wrap p {
    font-size: 1.6rem;
    line-height: 1.75;
    color: #fff;
    margin-top: 20px;
  }
  #ojt .ojt_wrap.newcomer {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  #ojt .ojt_wrap.leader {
    border: 1px solid #F59586;
    border-left: none;
    border-right: none;
  }
  #ojt .ojt_wrap.theme {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }

  #welfare {
    border-radius: 80px;
    background-color: #FCF7F0;
    margin-top: -80px !important;
    padding-top: 120px;
    padding-bottom: 160px;
  }
  #welfare .head_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 40px;
  }
  #welfare .head_wrap .sec_head {
    width: 193px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  #welfare .head_wrap .sec_head::before {
    background-color: #F24E35;
  }
  #welfare .head_wrap .sec_lead {
    font-size: 1.4rem;
    line-height: 1.75;
    margin-left: 60px;
  }
  #welfare .welfare_wrap {
    background-color: #fff;
    border: 1px solid #ECEBEA;
    border-radius: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 50px;
    padding: 50px 0 50px 60px;
  }
  #welfare .welfare_wrap .text_wrap h4 {
    font-size: 2.2rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F24E35;
  }
  #welfare .welfare_wrap .img_wrap {
    width: 31.6%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    position: relative;
  }
  #welfare .welfare_wrap .img_wrap img {
    width: 100%;
    height: auto;
    position: absolute;
  }
  #welfare .welfare_wrap.welfare01 .img_wrap img {
    top: -80px;
    right: -34px;
  }
  #welfare .welfare_wrap.welfare02 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    padding: 50px 60px 50px 0;
  }
  #welfare .welfare_wrap.welfare02 .img_wrap img {
    top: -70px;
    left: -34px;
  }
  #welfare .welfare_wrap.welfare03 .img_wrap img.img01 {
    top: -82px;
    right: 17px;
    width: 95.5%;
  }
  #welfare .welfare_wrap.welfare03 .img_wrap img.img02 {
    top: 109px;
    right: -49px;
    width: 84.7%;
  }
  #welfare .welfare_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 25px 3%;
  }
  #welfare .welfare_list .welfare_item {
    width: 31.3%;
    background-color: #fff;
    border: 1px solid #ECEBEA;
    border-radius: 20px;
    min-height: 170px;
    padding: 30px;
  }
  #welfare .welfare_list .welfare_item h4 {
    font-size: 2.2rem;
    line-height: 1.3;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #F24E35;
    margin-bottom: 10px;
  }
  #welfare .welfare_list .welfare_item h4 span {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
  }
  #welfare .welfare_list .welfare_item p {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: 0.1em;
  }
}
/* Smartphones (portrait and landscape) */
@media screen and (max-width: 780px) {
  main {
    overflow-x: hidden;
  }

  #content {
    background-color: #FCF7F0;
    padding-top: 28.20513vw;
  }
  #content .workstyle_inner {
    width: 89.74359vw;
    margin: 0 auto;
  }
  #content .head_mini {
    font-size: 3.58974vw;
    font-weight: 700;
    line-height: 1;
    font-family: "Lato", serif;
    letter-spacing: 0.05em;
    color: #F24E35;
  }
  #content .head_m {
    font-size: 7.69231vw;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 2.5641vw;
    margin-bottom: 5.12821vw;
  }
  #content .style_list {
    margin-top: 7.69231vw;
  }
  #content .style_list .style_item {
    border-bottom: 1px solid #F24E35;
    margin-bottom: 2.05128vw;
  }
  #content .style_list .style_item:last-of-type {
    margin-bottom: 0;
  }
  #content .style_list .style_item a {
    display: block;
    color: #F24E35;
    font-weight: 700;
    font-size: 4.61538vw;
    line-height: 1;
    letter-spacing: 0.1em;
    padding: 4.10256vw 4.87179vw;
    width: 100%;
    position: relative;
  }
  #content .style_list .style_item a::after {
    content: "";
    background-image: url(../img/common/icon_arrow_red.svg);
    display: inline-block;
    width: 3.58974vw;
    height: 1.79487vw;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: 4.10256vw;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  #content .sec_cont .sec_head {
    font-weight: 700;
    font-size: 7.17949vw;
    letter-spacing: 0.1em;
  }
  #content .sec_cont .sec_head::before {
    content: "";
    display: inline-block;
    width: 3.07692vw;
    height: 3.07692vw;
    background-color: #F24E35;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 2.82051vw;
  }
  #content .sec_cont .environment_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-top: 10.25641vw;
  }
  #content .sec_cont .environment_wrap .environment_head {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    margin-top: 5.12821vw;
    font-weight: 700;
    font-size: 5.12821vw;
    line-height: 1;
    color: #F24E35;
  }
  #content .sec_cont .environment_wrap .environment_img_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    gap: 2.5641vw;
  }
  #content .sec_cont .environment_wrap .environment_img_list .flex_max {
    width: 100%;
  }
  #content .sec_cont .environment_wrap .environment_img_list .flex_max_sp {
    width: 100%;
  }
  #content .sec_cont .environment_wrap .environment_text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin-top: 2.5641vw;
  }
  #content .sec_cont .environment_wrap.environment01 .environment_img_list li:nth-of-type(3),
  #content .sec_cont .environment_wrap.environment01 .environment_img_list li:nth-of-type(4) {
    width: 43.58974vw;
  }
  #content .sec_cont .environment_wrap.environment02 .environment_img_list li:nth-of-type(2),
  #content .sec_cont .environment_wrap.environment02 .environment_img_list li:nth-of-type(3) {
    width: 43.58974vw;
  }

  #environment {
    padding-top: 20.51282vw;
    margin-top: -5.12821vw;
    margin-bottom: 23.07692vw;
  }

  #ojt {
    background-color: #F24E35;
    border-radius: 10.25641vw 10.25641vw 0 0;
    margin-top: -15.38462vw;
    padding-top: 20.51282vw;
    padding-bottom: 25.64103vw;
  }
  #ojt .head_wrap {
    margin-bottom: 10.25641vw;
  }
  #ojt .head_wrap .sec_head {
    color: #fff;
  }
  #ojt .head_wrap .sec_head::before {
    background-color: #fff;
  }
  #ojt .head_wrap .sec_lead {
    font-size: 3.58974vw;
    line-height: 1.75;
    color: #fff;
    margin-top: 5.12821vw;
  }
  #ojt .ojt_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 5.12821vw;
    padding: 7.69231vw 0;
  }
  #ojt .ojt_wrap .ojt_img {
    width: 100%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    -ms-flex-item-align: center;
        align-self: center;
  }
  #ojt .ojt_wrap .text_wrap h4 {
    font-size: 5.12821vw;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #fff;
  }
  #ojt .ojt_wrap .text_wrap p {
    font-size: 3.84615vw;
    line-height: 1.8;
    color: #fff;
    margin-top: 2.5641vw;
  }
  #ojt .ojt_wrap.leader {
    border: 1px solid #F59586;
    border-left: none;
    border-right: none;
  }

  #welfare {
    border-radius: 10.25641vw;
    background-color: #FCF7F0;
    margin-top: -15.38462vw !important;
    padding-top: 20.51282vw;
    padding-bottom: 38.46154vw;
  }
  #welfare .head_wrap {
    margin-bottom: 10.25641vw;
  }
  #welfare .head_wrap .sec_head::before {
    background-color: #F24E35;
  }
  #welfare .head_wrap .sec_lead {
    font-size: 3.58974vw;
    line-height: 1.75;
    margin-top: 5.12821vw;
  }
  #welfare .welfare_wrap {
    background-color: #fff;
    border: 1px solid #ECEBEA;
    border-radius: 5.12821vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 20.51282vw;
    padding: 7.69231vw 7.69231vw 25.64103vw;
    position: relative;
  }
  #welfare .welfare_wrap .text_wrap h4 {
    font-size: 5.12821vw;
    line-height: 1.5;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 2.5641vw;
    color: #F24E35;
  }
  #welfare .welfare_wrap .img_wrap {
    width: 100%;
    -ms-flex-negative: 0;
        flex-shrink: 0;
  }
  #welfare .welfare_wrap .img_wrap img {
    width: 47.94872vw;
    height: auto;
    position: absolute;
  }
  #welfare .welfare_wrap.welfare01 .img_wrap img {
    bottom: -12.82051vw;
    right: 5.12821vw;
  }
  #welfare .welfare_wrap.welfare02 .img_wrap img {
    bottom: -12.82051vw;
    right: 5.12821vw;
  }
  #welfare .welfare_wrap.welfare03 .img_wrap img.img01 {
    bottom: -10.25641vw;
    left: 12.82051vw;
    width: 42.5641vw;
    z-index: 2;
  }
  #welfare .welfare_wrap.welfare03 .img_wrap img.img02 {
    bottom: -18.46154vw;
    right: -2.5641vw;
    width: 42.5641vw;
    z-index: 1;
  }
  #welfare .welfare_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 5.12821vw;
  }
  #welfare .welfare_list .welfare_item {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ECEBEA;
    border-radius: 5.12821vw;
    padding: 7.69231vw;
  }
  #welfare .welfare_list .welfare_item h4 {
    font-size: 5.12821vw;
    line-height: 1.6;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #F24E35;
    margin-bottom: 2.5641vw;
  }
  #welfare .welfare_list .welfare_item h4 span {
    display: block;
    font-size: 3.58974vw;
    font-weight: 700;
  }
  #welfare .welfare_list .welfare_item p {
    font-size: 3.84615vw;
    line-height: 1.6;
    letter-spacing: 0.1em;
  }
}
