@charset "utf-8";

.home-ttl{
  margin-bottom: 25px;
  color: #023893;
}

.home-ttl.white {
  color:#fff
}

.home-ttl.white .en>span {
  border-bottom: 2px solid #fff;
}

.home-ttl.center{
  text-align: center;
}

.home-ttl .en{
  display: block;
  font-size: 16px;
  margin-bottom: 23px;
}

.home-ttl .en > span{
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid #023893;
  font-weight: bold;
}

.home-ttl .jp{
  font-size: 28px;
  line-height: 42px;
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .home-ttl {
    margin-bottom: 14px;
  }

  .home-ttl .en {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .home-ttl .jp {
    font-size: 24px;
    line-height: 36px;
  }

  .home-ttl .en>span {
    display: inline-block;
    padding-bottom: 0px;
  }
}

/*
home-msg
*/
.home-msg {
  font-size: 16px;
  line-height: 28px;
}

.home-msg.white {
  color: #fff
}

@media only screen and (max-width: 768px) {
  .home-msg {
    font-size: 14px;
    line-height: 26px;
  }
}

/*
home top
*/
.home-main-section{
  position: relative;
}

.home-main-section .block{
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding-bottom: 100px;
}
.home-main-section .block::after{
  content:'';
  position: absolute;
  display: block;
  width: 100%;
  height: 289px;
  bottom:0;
  left:0;
  background: #023893;
  z-index: -1;
}
.home-main-section .block .box1{
  width: 63.89%;
  background: #fff;
}
.home-main-section .block .box1 img{
  object-fit: cover;
  height: 760px;
  width: 100%;
}

.home-main-section .txt-block{
  position: absolute;
  right:63.89%;
  top:0;
  width: 527px;
  height: 100%;
  z-index: 2;
  padding-top: 150px;
  padding-left: 0%;
  margin-right: -115px;
}

.home-main-section .txt-block .ttl{
  font-weight: bold;
  font-size: 40px;
  line-height: 64px;
  text-align: left;
  color: #023893;
  margin-bottom: 35px;
}
.home-main-section .txt-block .msg{
  font-size: 16px;
  line-height: 36px;
  color: #636C7E;
  font-weight: bold;
}

.home-main-section .txt-block .msg span{
  background-color: #fff;
  padding: 3px 0px 3px 6px;
}

.home-main-section .catch{
  position: absolute;
  bottom:55px;
  z-index: 10;
  left: 36.11%;
  margin-left: -440px;
  z-index: 1;
}
.home-main-section .catch img{
  width: 847px;
}

@media only screen and (max-width: 1440px) {
  .home-main-section .txt-block {
    position: absolute;
    right: auto;
    top: 0;
    left:0;
    width: auto;
    height: 100%;
    z-index: 2;
    padding-top: 150px;
    padding-left: 8.8%;
    margin-right: 0px;
  }

  .home-main-section .catch {
    position: absolute;
    bottom: 55px;
    z-index: 10;
    left: 6%;
    margin-left: 0px;
  }

  .home-main-section .catch img {
    width: 100%;
  }
}

@media only screen and (max-width: 1100px) {
  .home-main-section {
    position: relative;
  }

  .home-main-section .block {
    position: relative;
    display: block;
    padding-bottom: 0px;
  }

  .home-main-section .block::after {
    display: none;
  }

  .home-main-section .block .box1 {
    width: 100%;
    background: #023893;
  }

  .home-main-section .block .box1 .swiper-slide{
      aspect-ratio: 1.06 !important;
  }
  .home-main-section .block .box1 img {
    height: 100%;
    width: 100%;
  }

  .home-main-section .txt-block {
    position: relative;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    padding-top: 100px;
    padding-left: 0%;
    margin-right: 0px;
    padding: 100px 0 0;
  }

  .home-main-section .txt-block .ttl {
    position: relative;
    font-weight: bold;
    font-size: 7vw;
    line-height: 1.5;
    text-align: left;
    color: #023893;
    margin-bottom: -0.45em;
    padding: 0 28px;
    z-index: 10;
  }

  .home-main-section .txt-block .msg {
    font-size: 16px;
    line-height: 36px;
    position: absolute;
    left:0;
    bottom:-14%;
    padding: 0 7.4%;
    z-index: 1;
    width: 100%;
  }

  .home-main-section .txt-block .msg span{
    background: transparent;
    padding: 0;
  }

  .home-main-section .txt-block .msg em{
    margin-bottom: 0.5em;
    display: inline-block;
    font-size: 3vw;
    line-height: 1;
    padding: 0.4em 6px;
    background:#fff;
    white-space: nowrap;
  }
  
  .home-main-section .catch {
    position: static;
    margin-left: 0px;
    width: 100%;
    background: #023893;
    padding:12% 4% 0;
  }

  .home-main-section .catch img {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .home-main-section .txt-block {
    padding: 80px 0 0;
  }

  .home-main-section .txt-block .ttl {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: -0.45em;
    padding: 0 28px;
    white-space: nowrap;
  }

  .home-main-section .txt-block .msg {
    font-size: 12px;
    line-height: 1em;
    bottom: -74px;
    padding: 0 0 0 7.4%;
    z-index: 1;
  }

  .home-main-section .txt-block .msg em {
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1;
    padding: 0.4em 6px;
    letter-spacing: -0.05em;
  }

  .home-main-section .catch {
    position: static;
    margin-left: 0px;
    width: 100%;
    background: #023893;
    padding: 50px 15px 0;
  }

  .home-main-section .catch img {
    width: 100%;
  }
}


/*
ICSカンパニーとは
*/
.home-greeting-section{
  position: relative;
  padding-bottom: 40px;
}

.home-greeting-section::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 350px;
  top: 0;
  left: 0;
  background: #023893;
  z-index: -1;
}

.home-greeting-section::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #DDDFE4;
  z-index: -2;
}

.home-greeting-section .max{
  max-width: 1440px;
  margin: 0 auto;
}

.home-greeting-section .block{
  display: flex;
}

.home-greeting-section .block .box1{
  width: 640px;
}

.home-greeting-section .block .box2 {
  width: calc( 100% - 640px );
  padding-top: 70px;
  padding-left: 80px;
}

.home-greeting-section .block .box2 p {
  min-height: 72px;
  padding-right: 20px;
}

@media only screen and (max-width: 1440px) {
  .home-greeting-section {
    position: relative;
    padding-bottom: 80px;
  }

  .home-greeting-section .block .box1 {
    width: 44.44%;
  }

  .home-greeting-section .block .box2 {
    width: 55.56%;
    padding-left: 5.5%;
  }
}

@media only screen and (max-width: 1100px) {
  .home-greeting-section {
    position: relative;
    padding-bottom: 0px;
    background: #023893;
  }

  .home-greeting-section::after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 350px;
    top: 0;
    left: 0;
    background: #023893;
    z-index: -1;
  }

  .home-greeting-section::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #DDDFE4;
    z-index: -2;
  }

  .home-greeting-section .max {
    max-width: 1440px;
    margin: 0 auto;
  }

  .home-greeting-section .block {
    display: block;
  }

  .home-greeting-section .block .box1 {
    width: 100%;
    padding-right: 7.4%;
    padding-top: 45px;
  }

  .home-greeting-section .block .box2 {
    position: relative;
    width: 100%;
    padding: 20px 7.4% 100px;
  }

  .home-greeting-section .block .box2 p {
    min-height: 0;
    padding-right: 0;
  }

  .home-greeting-section .block .box2 .button {
    position: absolute;
    left: 0;
    bottom: -25px;
    width: 100%;
    padding: 0 7.4%;
  }
}

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

  .home-greeting-section .block .box2 {
    position: relative;
    width: 100%;
    padding: 20px 7.4% 55px;
  }

  .home-greeting-section .block .box2 p {
    min-height: 0;
    padding-right: 0;
  }

  .home-greeting-section .block .box2 .button {
    position: absolute;
    left: 0;
    bottom: -26px;
    width: 100%;
    padding: 0 7.4%;
  }
}

/*
よくわかるコームラ
*/

.home-about-section {
  position: relative;
  margin-bottom: 83px;
}

.home-about-section::after {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 350px;
  top: 0;
  left: 0;
  background: #DDDFE4;
  z-index: -1;
}

.home-about-section .max {
  max-width: 1440px;
  margin: 0 auto;
}

.home-about-section .block {
  display: flex;
  flex-direction: row-reverse;
}

.home-about-section .block .box1 {
  width: 640px;
}

.home-about-section .block .box2 {
  width: calc(100% - 640px);
  padding-top: 70px;
  padding-left: 80px;
}

.home-about-section .block .box2 p {
  min-height: 72px;
  padding-right: 20px;
}

@media only screen and (max-width: 1440px) {
  .home-about-section .block .box1 {
    width: 44.44%;
  }

  .home-about-section .block .box2 {
    width: 55.56%;
    padding-left: 5.5%;
  }

}
@media only screen and (max-width: 1100px) {
  .home-about-section {
    position: relative;
    padding-bottom: 0px;
  }

  .home-about-section::after {
    display: none;
  }

  .home-about-section::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #DDDFE4;
    z-index: -2;
  }

  .home-about-section .max {
    max-width: 1440px;
    margin: 0 auto;
  }

  .home-about-section .block {
    display: block;
  }

  .home-about-section .block .box1 {
    width: 100%;
    padding-left: 7.4%;
    padding-top: 70px;
    display: flex;
    justify-content: flex-end;
  }

  .home-about-section .block .box1 img{
    width: 100%;
  }

  .home-about-section .block .box2 {
    position: relative;
    width: 100%;
    padding: 20px 7.4% 60px;
  }

  .home-about-section .block .box2 p {
    min-height: 0;
    padding-right: 0;
  }

  .home-about-section .block .box2 {
    position: relative;
    width: 100%;
    padding: 20px 7.4% 70px;
  }

  .home-about-section .block .box2 .button {
    position: absolute;
    left: 0;
    bottom: -37px;
    width: 100%;
    padding: 0 7.4%;
  }
}
@media only screen and (max-width: 768px) {

  .home-about-section {
    margin-bottom: 70px;
  }

  .home-about-section .block .box2 {
    position: relative;
    width: 100%;
    padding: 20px 7.4% 55px;
  }

  .home-about-section .block .box2 p {
    min-height: 0;
    padding-right: 0;
  }

  .home-about-section .block .box2 .button {
    position: absolute;
    left: 0;
    bottom: -26px;
    width: 100%;
    padding: 0 7.4%;
  }
}

/*
ICSカンパニーとは
*/


/*
Work Style
*/
.home-workstyle-section{
  margin-bottom: 70px;
}

.home-workstyle-section .block {
  padding: 0 120px;
}

.home-workstyle-section .slide-nav{
  display: flex;
  gap:30px;
  max-width: 1200px;
  margin: 55px auto 61px;
  padding: 0;
}

.home-workstyle-section .slide-nav>li{
  position: relative;
  width: calc((100% - 60px) / 3);
  cursor: pointer;
}

.home-workstyle-section .slide-nav>li.active::after {
  content: '';
  position: absolute;
  bottom: -45px;
  right: 0%;
  margin-right: 0;
  width: 100%;
  height: 40px;
  background-image: url(../svg/down_arrow.svg);
  background-repeat: no-repeat; 
  background-position: center;
  box-sizing: border-box;
}

.home-workstyle-section .slide-nav>li .head .txt{
  font-size: 16px;
  line-height: 18px;
  color: #023893;
  text-align: center;
  font-weight: bold;
  margin-bottom: 12px;
}

.home-workstyle-section .slide-nav>li .head .num {
  font-weight: bold;
  font-size: 48px;
  line-height: 26px;
  text-align: center;
  color: #023893;
  margin-bottom: 4px;
  display: block;
}

.home-workstyle-section .slide-nav>li .body {
  height: 160px;
  border:6px solid #023893;
  background: #023893;
  display: flex;
  justify-content: center;
  align-items: center;
  color:#fff;
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
}

.home-workstyle-section .slide-nav>li.active .body {
  background: #fff;
  color: #023893;
}

.workstyle-slider-wrap {
  position: relative;
  overflow: hidden;
}
.workstyle-slider-body{
  position: relative;
    padding: 0 120px;
}

.workstyle-slider-wrap .swiper-slide{
  overflow: hidden;
}

.workstyle-slider-wrap .workstyle-slider-block{
  max-width: 1200px;
  width: 100%;
  margin:0 auto;
}

.workstyle-slider-wrap .target {
  height: 80px;
  background: transparent;
  background: #DDDFE4;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1440px;
  padding: 0 120px;
}

.workstyle-slider-wrap .target>em{
  font-family: Inter;
  font-weight: bold;
  font-size: 16px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  color: #fff;
  width: 76px;
  display: block;
  background: #cb2638;
}

.workstyle-slider-wrap .target>span{
  font-weight: bold;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  color: #636c7e;
  margin-left: 22px;
}

.workstyle-slider-wrap .arrow1{
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.workstyle-slider-wrap .up-arrow {
  padding-top: 14px;
}

.workstyle-slider-wrap .down-arrow {
  margin-top: -5px;
}

.workstyle-slider-wrap .group {
  width: 100%;
  background: #F4F4F6;
  padding: 0 30px;
  position: relative;
}

.workstyle-slider-wrap .group .box{
  position: relative;
  max-width: 1069px;
  margin: 0 auto;
  margin-top: 26px;
  padding-top: 65px;
  padding-bottom: 40px;
}

.workstyle-slider-wrap .group .box .ttl{
  position: absolute;
  left:0;
  top: 0;
  width: 100%;
}

.workstyle-slider-wrap .group .box .ttl>span {
  font-weight: bold;
  display: block;
  font-size: 20px;
  line-height: 48px;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
  background: #023893;
  margin-top: -26px;
}

.workstyle-slider-wrap .group .list{
  display: flex;
  gap:24px;
  margin-bottom: 0px;
  justify-content: center;
}

.workstyle-slider-wrap .group .list>li{
  width: calc(((100% - 48px) / 3 ));
  background: #fff;
}

.workstyle-slider-inr{
  padding: 18px;
}

.workstyle-slider-msg {
  font-weight: bold;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
  margin-bottom: 5px;
}
.workstyle-slider-msg.lts{
  letter-spacing: -0.05em;
}

.workstyle-slider-postion {
  font-size: 12px;
  line-height: 18px;
  text-align: left;
  color: #636c7e;
}

.workstyle-slider-row{
  display: flex;
  justify-content: space-between;
}

.workstyle-slider-row .col{
  width: 46.6%;
}

.workstyle-slider-wrap .workstyle-slider-row .col .group .box {
  position: relative;
  max-width: 428px;
}

.workstyle-slider-wrap .workstyle-slider-row .col .group .list>li {
  width: 80.4%;
}
.workstyle-slider-wrap .workstyle-slider-row .col .group .list>li img{
  width: 100%;
}

#workstyle-slider-body2 .workstyle-slider-flow{
    padding-bottom: 120px;
}
#workstyle-slider-body0 .workstyle-slider-flow,
#workstyle-slider-body1 .workstyle-slider-flow{
  position:relative;
  height: 1089px;/**/
  padding-bottom: 120px;
}

#workstyle-slider-body2 .line-box {
  position: absolute;
  left: -85px;
  top: 0px;
  width: 1px;
  height: 1089px;
}

#workstyle-slider-body2 .line-box::after{
  content:""; 
  position: absolute;
  display: block;
  right:0;
  bottom:0;
  width: 50vw;
  height: 0px;
  bottom: -1px;
  left: -50vw;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body2 .line-box .line1 {
  position: absolute;
  width: 69px;
  height: 565px;
  left: 0;
  top: 195px;
  border-left: 6px solid #023893;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body2 .line-box .line1::before {
  content: '';
  position: absolute;
  display: block;
  width: 50vw;
  height: 0px;
  top: -6px;
  left: -50vw;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body2 .line-box .line1::after {
  content: '';
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  bottom: -19px;
  right: -3px;
  background-image: url(../svg/right_arrow.svg);
  background-repeat: no-repeat;
  background-position: right center;
}


#workstyle-slider-body2 .line-box .line2{
  position: absolute;
  height: 271px;
  width: 67px;
  left:0;
  bottom:-1px;
  border-left:6px solid #023893;
  border-top:6px solid #023893;
}

#workstyle-slider-body2 .line-box .line2::after {
  content: '';
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  top: -19px;
  right: -3px;
  background-image: url(../svg/right_arrow.svg);
  background-repeat: no-repeat;
  background-position: right center;
}

.workstyle-slider-flow{
  position: relative;
}

#workstyle-slider-body1 .line-box {
  position: absolute;
  right: 0;
  top: 0;
}

#workstyle-slider-body1 .line1 {
  position: absolute;
  height: 0;
  width: 50vw;
  right: -50vw;
  top: 195px;
  border-top: 6px solid #023893;
  margin-right: -23px;
  margin-top: -6px;
}

#workstyle-slider-body1 .workstyle-slider-flow .line{
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body1 .workstyle-slider-flow .line::before{
  content: '';
  position: absolute;
  display: block;
  width: 50vw;
  height: 0px;
  bottom: -6px;
  left: -50vw;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body1 .workstyle-slider-flow .line::after {
  content: '';
  position: absolute;
  display: block;
  width: 50vw;
  height: 0px;
  bottom: -6px;
  right: -50vw;
  border-bottom: 6px solid #023893;
}

#workstyle-slider-body0 .workstyle-slider-flow .line{
  position: absolute;
  right:-58px;
  bottom:0;
  width: 58px;
  height: 861px;
  border-top:6px solid #023893;
  border-right:6px solid #023893;
}

#workstyle-slider-body0 .workstyle-slider-flow .line::after{
  content:'';
  position: absolute;
  display: block;
  width: 50vw;
  height: 0;
  bottom:0;
  right:-50vw;
  border-bottom: 6px solid #023893;
}

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

  #workstyle-slider-body2 .line-box .line1 {
    height: 478px;
  }

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 315px;
  }

}

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

  #workstyle-slider-body2 .line-box .line1 {
    height: 450px;
  }

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 370px;
  }

}

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

  #workstyle-slider-body2 .line-box .line1 {
    height: 450px;
  }

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 387px;
  }
}

/*
SP
*/
@media only screen and (max-width: 1100px) {

  .workstyle-slider-wrap {
    margin-bottom: 14%;
  }

  .home-workstyle-section .slide-nav>li.active::after {
    bottom: -34px;
    width: 100%;
    height: 40px;
    background-size: 24px;
  }

  .home-workstyle-section .block {
    padding: 0;
  }
  .workstyle-slider-slide{
    padding: 0;
  }

  .home-workstyle-section .block {
    padding: 0 7.4%;
  }

  .workstyle-slider-body {
    position: relative;
    padding:0;
  }

  .workstyle-slider-slide {
    padding: 0 28px;
  }

  .workstyle-slider-wrap .target{
    display: block;
    text-align: center;
    height: 88px;
    padding-bottom: 17px;
    padding: 0;
  }

  .workstyle-slider-wrap .target>em {
    font-size: 14px;
    height: 35px;
    line-height: 35px;
    width: 71px;
    margin:0 auto 7px; 
  }

  .workstyle-slider-wrap .target>span{
    font-size: 20px;
    line-height: 30px;
  }

  .workstyle-slider-wrap .arrow1 {
    height: 40px;
  }

  .workstyle-slider-wrap .group {
    padding: 0px 28px;
  }

  .workstyle-slider-wrap .group .box .ttl>span {
    font-size: 14px;
    line-height: 24px;
    margin-top: -15px;
    height: 30px;
    line-height: 30px;
    margin-bottom: 0;
  }

  .workstyle-slider-wrap .group .box {
    margin-top: 24px;
    padding-top: 34px;
    padding-bottom: 20px;
  }

  .workstyle-slider-wrap .group .list {
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0px;
    max-width: 558px;
    margin: 0 auto;
  }

  .workstyle-slider-wrap .group .list>li {
    width: calc(((100% - 12px) / 2));
    background: transparent;
  }
  
  .workstyle-slider-wrap .group .list>li a {
    display: block;
    max-width: 274px;
    margin: 0 auto;
    background: #fff;
    height: 100%;
  }

  .workstyle-slider-wrap #workstyle-slider-body0 .group .list>li:nth-child(1) {
    width:100%;
  }

  .workstyle-slider-wrap  #workstyle-slider-body0 .group .list>li:nth-child(1) a {
    width: 49%;
  }

  .workstyle-slider-inr {
    padding: 8px 10px;
  }

  .workstyle-slider-msg {
    display: none;
  }

  .workstyle-slider-row .col {
    width: calc((100% - 12px) / 2);
  }

  .workstyle-slider-wrap .workstyle-slider-row .col .group {
    padding: 0px 12px;
  }

  .workstyle-slider-wrap .workstyle-slider-row .col .group .list>li {
    width: 100%;
  }

  .workstyle-slider-wrap #workstyle-slider-body0 .workstyle-slider-row .col .group .list>li a{
    width: 100%;
  }

  .workstyle-slider-wrap .up-arrow {
    padding-top: 14px;
    width: 24px;
  }

  .workstyle-slider-wrap .down-arrow {
    margin-top: -5px;
    width: 24px;
  }

  #workstyle-slider-body0 .workstyle-slider-flow,
  #workstyle-slider-body1 .workstyle-slider-flow {
    position: relative;
    height:auto;
    padding-bottom: 30px;
  }

  /*1page line*/
  #workstyle-slider-body0 .workstyle-slider-flow .line {
    position: absolute;
    right: -15px;
    bottom: auto;
    width: 16px;
    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
    top: 0;
  }

  #workstyle-slider-body0 .workstyle-slider-flow .line::before {
    content: '';
    position: absolute;
    display: block;
    width: 15px;
    height: 0;
    top: 30%;
    right: 0px;
    border-bottom: 3px solid #023893;
    border-left: 3px solid #023893;
  }

  #workstyle-slider-body0 .workstyle-slider-flow .line::after {
    content: '';
    position: absolute;
    display: block;
    width: 15px;
    height: 70%;
    bottom: 0;
    right: -15px;
    border-bottom: 3px solid #023893;
    border-left: 3px solid #023893;
  }

  #workstyle-slider-body1 .workstyle-slider-flow .line1 {
    position: absolute;
    height: 0;
    width: 28px;
    right: 0;
    top: 0;
    border-top: 3px solid #023893;
    margin-right: -28px;
    margin-top: 0;
  }

  #workstyle-slider-body1 .workstyle-slider-flow .line {
    bottom: 0;
    width: 100%;
    border-bottom: 3px solid #023893;
  }

  #workstyle-slider-body1 .workstyle-slider-flow .line::before {
    bottom: -3px;
    border-bottom: 3px solid #023893;
  } 

  #workstyle-slider-body2 .line-box {
    position: absolute;
    left: 1px;
    top: 0px;
    width: 1px;
    height: 100%;
    z-index: 2;
  }

  #workstyle-slider-body2 .line-box::after {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 0px;
    bottom: 0;
    left: -30px;
    border-bottom: 3px solid #023893;
  }

  #workstyle-slider-body2 .line-box .line1 {
    position: absolute;
    height: 310px;
    width: 16px;
    left: -18px;
    top: 0;
    border-left: 3px solid #023893;
    border-bottom: 3px solid #023893;
  }

  #workstyle-slider-body2 .line-box .line1::before {
    content: '';
    position: absolute;
    display: block;
    width: 15vw;
    height: 0px;
    top: 0px;
    left: -15vw;
    border-bottom: 3px solid #023893;
  }

  #workstyle-slider-body2 .line-box .line1::after {
    content: '';
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    bottom: -18px;
    right: -2px;
    background-size: 20px;
    background-image: url(../svg/right_arrow_sp.svg);
    background-repeat: no-repeat;
    background-position: right center;
  }

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 100px;
    width: 15px;
    left: -17px;
    bottom: 0px;
    border-left: 3px solid #023893;
    border-top: 3px solid #023893;
  }

  #workstyle-slider-body2 .line-box .line2::after {
    content: '';
    position: absolute;
    display: block;
    width: 32px;
    height: 32px;
    top: -17px;
    right: -2px;
    background-size: 20px;
    background-image: url(../svg/right_arrow_sp.svg);
    background-repeat: no-repeat;
    background-position: right center;
  }

  #workstyle-slider-body2 .line-box .line1 {
    position: absolute;
    height: 2px;
    width: 16px;
    left: -18px;
    top: auto;/**/
    border-left: 3px solid #023893;
    border-bottom: 3px solid #023893;
  }


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

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 100px;
  }

}

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

  #workstyle-slider-body2 .line-box .line2 {
    position: absolute;
    height: 110px;
  }

}

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

  #workstyle-slider-body2 .line-box .line2 {
    height: 120px;
  }

}

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

  #workstyle-slider-body2 .line-box .line2 {
    height: 125px;
  }

}

/*

*/
@media only screen and (max-width: 1360px) {
  .workstyle-slider-msg {
    font-size: 1.05vw;
    line-height: 1.75;
    margin-bottom: 0.3em;
  }
}

@media only screen and (max-width: 1250px) {
  .home-workstyle-section .slide-nav>li .body {
    font-size: 1.5vw;
  }
}

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

  .home-workstyle-section .slide-nav>li .body {
    font-size: 15px;
  }

  .home-workstyle-section .slide-nav {
    gap:16px;
  }

  .home-workstyle-section .slide-nav>li {
    position: relative;
    width: calc((100% - 32px) / 3);
  }
  
}

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

  .home-workstyle-section .slide-nav {
    gap: 6px;
    padding: 0px;
    margin: 30px auto 40px;
  }

  .home-workstyle-section .slide-nav>li {
    position: relative;
    width: calc((100% - 12px) / 3);
  }

  .home-workstyle-section .slide-nav>li .body {
    font-size: 10px;
    height: 80px;
    border: 3px solid #023893;
  }

  .home-workstyle-section .slide-nav>li .head .num {
    font-size: 28px;
    line-height: 26px;
    margin-bottom: -4px;
  }

  .home-workstyle-section .slide-nav>li .head .txt {
    font-size: 10px;
    line-height: 12px;
    color: #023893;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
  }

}



/*
一文字エール
*/

.home-message-section{
  position: relative;
}

.home-message-section::before{
  content:'';
  position: absolute;
  display: block;
  width: 100%;
  height: 74.2%;
  bottom:0;
  left:0;
  z-index: -1;
  background: #023893;
}

.home-message-section .block .message-ttl {
  position: absolute;
  bottom: -7%;
  left: -20.2%;
  width: 25.4%;
}

.home-message-section .max{
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
}
.home-message-section .max .block{
  display: flex;
  justify-content: flex-end;
  padding-left: 100px;
}
.home-message-section .max .block .image{
  position: relative;
  width: 77.84%;
}

.home-message-section .row {
  display: flex;
  margin-top: 34px;
  padding-bottom: 45px;
}

.home-message-section .row .box1{
  width: 50%;
  padding-left: 100px;
}

.home-message-section .row .box1 .ttl{
  font-weight: bold;
  font-size: 28px;
  line-height: 42px;
  color: #fff;
  margin-bottom: 5px;
}

.home-message-section .row .box1 .msg {
  font-size: 16px;
  line-height: 28px;
  color: #fff;
  padding-right: 20px;
}

.home-message-section .row .box2{
  width: 50%;
}
@media only screen and (max-width: 1100px) {

  .home-message-section {
    position: relative;
    background: #F4F4F6;
    padding-bottom: 10%;
  }

  .home-message-section .max{
    width: 100%;
    background: #023893;
  }
  
  .home-message-section::before {
    height: 100%;
    display: none;
  }

  .home-message-section .block .message-ttl {
    position: static;
    width: 63%;
    margin-top: -17%;
    margin-left: 2%;
    margin-bottom: 10px;
  }

  .home-message-section .max .block {
    padding-left: 0px;
    padding: 0 7.4% 0 2.5%;
  }

  .home-message-section .max .block .image {
    position: relative;
    width: 100%;
    margin-top: -18%;
  }

  .home-message-section .row {
    display: block;
    margin-top: 0px;
    padding-bottom: 0px;
    padding: 0 7.4%;
  }

  .home-message-section .row .box1 {
    width: 100%;
    padding-left: 0px;
  }

  .home-message-section .row .box1 .ttl {
    font-weight: bold;
    font-size: 28px;
    line-height: 42px;
    color: #fff;
    margin-bottom: 5px;
  }

  .home-message-section .row .box1 .msg {
    font-size: 16px;
    line-height: 28px;
    color: #fff;
    padding-right: 0px;
    margin-bottom: 20px;
  }

  .home-message-section .row .box2 {
    width: 100%;
    margin-bottom: 15px;
  }

  .home-message-section .bottom-image {
    position: relative;
  }

  .home-message-section .bottom-image img {
    position: relative;
    margin-bottom: -15%;
  }

}

@media only screen and (max-width: 768px) {
  .home-message-section .row .box1 .ttl {
    font-size: 24px;
    line-height: 36px;
  }

  .home-message-section .row .box1 .msg {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 26px;
  }
}


