/* ------------------------------
 width: all
------------------------------ */
header .wrapper .gnav ul li:nth-child(2)::before {
  display: block;
}

main {
  background-image: url(../../images/bg_main_service.jpg);
  background-size: 100% 2219px;
  padding-bottom: 0;
}
main section.ttl_section .wrapper h2 {
  width: 309px;
}
main section.s01 {
  padding: 0 0 0;
  background-color: #ebebec;
  z-index: 2;
}
main section.s01 .wrapper {
  max-width: 1447px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 360px;
}
main section.s01 .wrapper .mainphoto {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .icon01 {
  width: 108px;
  display: block;
  position: absolute;
  bottom: 200px;
  left: calc(50% + 80px);
}
main section.s01 .wrapper .icon02 {
  width: 84px;
  display: block;
  position: absolute;
  bottom: 0;
  right: calc(50% + 450px);
}
main section.s01 .wrapper .pagemenulist {
  width: 580px;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  margin: 0 auto;
}
main section.s01 .wrapper .pagemenulist li {
  width: 155px;
}
main section.s01 .wrapper .pagemenulist li a {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .pagemenulist li a img {
  width: 100%;
  display: block;
}
main section.s01 .wrapper .t01 {
  position: absolute;
  right: 0;
  bottom: 150px;
  left: 0;
  margin: 0 auto;
  font-size: 22px;
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
  font-weight: 500;
  line-height: 200%;
  padding-right: 12px;
  width: 200px;
  height: 500px;
}
main section.s02.s0202 .wrapper .ttl_dl {
  background-color: #5e8480;
}
main section.s02.s0202 .wrapper .contentsbox .msglist li.li01 {
  width: 660px;
}
main section.s02.s0202 .wrapper .contentsbox .msglist li.li02 {
  width: 650px;
}
main section.s02.s0202 .wrapper .contentsbox .msglist li.li03 {
  width: 653px;
}
main section.s02.s0202 .wrapper .contentsbox .t01 {
  background-color: #5e8480;
}
main section.s02.s0203 .wrapper .ttl_dl {
  background-color: #487b8d;
}
main section.s02.s0203 .wrapper .contentsbox .msglist li.li01 {
  width: 660px;
}
main section.s02.s0203 .wrapper .contentsbox .msglist li.li02 {
  width: 648px;
}
main section.s02.s0203 .wrapper .contentsbox .msglist li.li03 {
  width: 648px;
}
main section.s02.s0203 .wrapper .contentsbox .t01 {
  background-color: #487b8d;
}
main section.s02 .wrapper .ttl_dl {
  background-color: #8278aa;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 100px 0;
}
main section.s02 .wrapper .ttl_dl dt {
  width: 350px;
  border-right: 1px solid #fff;
}
main section.s02 .wrapper .ttl_dl dt h3 {
  width: 332px;
}
main section.s02 .wrapper .ttl_dl dt h3 img {
  width: 100%;
  display: block;
}
main section.s02 .wrapper .ttl_dl dd {
  width: 650px;
  padding-left: 40px;
  color: #fff;
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
}
main section.s02 .wrapper .contentsbox {
  background-image: url(../../images/se020001.jpg);
  background-size: 603.5px 100%;
  background-position: top 0 right calc(50% + 530px);
  background-repeat: no-repeat;
  position: relative;
  height: 1650px;
}
main section.s02 .wrapper .contentsbox .photobox {
  padding-left: 50%;
}
main section.s02 .wrapper .contentsbox .photobox .photo {
  width: 100%;
  height: 653px;
}
main section.s02 .wrapper .contentsbox .photobox .photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 50%;
     object-position: 50% 50%;
}
main section.s02 .wrapper .contentsbox .msglist {
  width: 1000px;
  margin: 0 auto;
  position: absolute;
  top: 50px;
  right: 0;
  left: 0;
}
main section.s02 .wrapper .contentsbox .msglist li.li01 {
  width: 660px;
}
main section.s02 .wrapper .contentsbox .msglist li.li02 {
  width: 650px;
  margin-top: 60px;
  margin-left: 170px;
}
main section.s02 .wrapper .contentsbox .msglist li.li03 {
  width: 653px;
  margin-top: 60px;
  margin-left: 340px;
}
main section.s02 .wrapper .contentsbox .msglist li img {
  width: 100%;
  display: block;
}
main section.s02 .wrapper .contentsbox .t01 {
  width: calc(50% - 170px);
  text-align: right;
  background-color: #8278aa;
  padding: 38px 20px 38px 0;
  border-radius: 0 100px 100px 0;
  margin-top: 400px;
}
main section.s02 .wrapper .contentsbox .t01 span {
  width: 310px;
  display: inline-block;
  color: #fff;
  font-weight: 500;
  font-size: 23px;
  line-height: 24px;
  letter-spacing: 3px;
  text-align: left;
}
main section.s02 .wrapper .contentsbox .worksbox {
  max-width: 1280px;
  padding: 0 40px;
  margin: 50px auto 0;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
main section.s02 .wrapper .contentsbox .worksbox .txtbox {
  width: 29.5%;
  padding-right: 20px;
}
main section.s02 .wrapper .contentsbox .worksbox .txtbox p {
  font-size: 16px;
  font-weight: 500;
  line-height: 175%;
}
main section.s02 .wrapper .contentsbox .worksbox .txtbox .btn {
  width: 260px;
  display: block;
  max-width: 100%;
  margin-top: 40px;
}
main section.s02 .wrapper .contentsbox .worksbox .txtbox .btn img {
  width: 100%;
  display: block;
}
main section.s02 .wrapper .contentsbox .worksbox .box {
  width: 70%;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 {
  position: relative;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper {
  position: relative;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper .swiper-slide {
  width: calc((100% - 30px) / 3);
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  display: block;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-prev {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(../../images/btn_prev01.png);
  background-size: contain;
  top: auto !important;
  left: calc(50% - 32px) !important;
  right: auto !important;
  margin-top: 0 !important;
  bottom: -60px !important;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-prev::after {
  display: none !important;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-next {
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(../../images/btn_next01.png);
  background-size: contain;
  top: auto !important;
  right: calc(50% - 32px) !important;
  left: auto !important;
  margin-top: 0 !important;
  bottom: -60px !important;
}
main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-next::after {
  display: none !important;
}

/* ------------------------------
 width < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  main {
    background-size: 100% 500px;
  }
  main section.ttl_section .wrapper h2 {
    width: 154.5px;
  }
  main section.s01 {
    padding: 0 0 0;
    background-color: #ebebec;
    z-index: 2;
  }
  main section.s01 .wrapper {
    max-width: 1447px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 300px;
  }
  main section.s01 .wrapper .mainphoto {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .icon01 {
    width: 60px;
    display: block;
    position: absolute;
    bottom: 110px;
    left: auto;
    right: 20px;
  }
  main section.s01 .wrapper .icon02 {
    width: 50px;
    display: block;
    position: absolute;
    bottom: 105px;
    right: auto;
    left: 20px;
  }
  main section.s01 .wrapper .pagemenulist {
    width: 335px;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    margin: 0 auto;
  }
  main section.s01 .wrapper .pagemenulist li {
    width: 105px;
  }
  main section.s01 .wrapper .pagemenulist li a {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .pagemenulist li a img {
    width: 100%;
    display: block;
  }
  main section.s01 .wrapper .t01 {
    position: absolute;
    right: 0;
    bottom: 165px;
    left: 0;
    margin: 0 auto;
    font-size: 14px;
    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
    font-weight: 500;
    line-height: 200%;
    padding-right: 12px;
    width: 320px;
    height: auto;
    padding-left: 20px;
  }
  main section.s02.s0201 .wrapper .contentsbox .msglist li.li01 {
    padding-left: 13px;
  }
  main section.s02.s0201 .wrapper .contentsbox .msglist li.li02 {
    padding-left: 20px;
  }
  main section.s02.s0201 .wrapper .contentsbox .msglist li.li03 {
    padding-left: 17px;
  }
  main section.s02.s0202 .wrapper .contentsbox .msglist li.li01 {
    padding-left: 15px;
  }
  main section.s02.s0202 .wrapper .contentsbox .msglist li.li02 {
    padding-left: 20px;
  }
  main section.s02.s0202 .wrapper .contentsbox .msglist li.li03 {
    padding-left: 20px;
  }
  main section.s02.s0203 .wrapper .contentsbox .msglist li.li01 {
    padding-left: 15px;
  }
  main section.s02.s0203 .wrapper .contentsbox .msglist li.li02 {
    padding-left: 15px;
  }
  main section.s02.s0203 .wrapper .contentsbox .msglist li.li03 {
    padding-left: 6px;
  }
  main section.s02 .wrapper .ttl_dl {
    display: block;
    padding: 50px 20px 30px;
  }
  main section.s02 .wrapper .ttl_dl dt {
    width: 100%;
    border: none;
    border-bottom: 1px solid #fff;
  }
  main section.s02 .wrapper .ttl_dl dt h3 {
    width: 166px;
    margin: 0 auto;
  }
  main section.s02 .wrapper .ttl_dl dt h3 img {
    width: 100%;
    display: block;
  }
  main section.s02 .wrapper .ttl_dl dd {
    width: 100%;
    padding-left: 0;
    color: #fff;
    font-size: 14px;
    line-height: 180%;
    font-weight: 500;
    margin-top: 15px;
  }
  main section.s02 .wrapper .contentsbox {
    background-image: none;
    position: relative;
    height: auto;
  }
  main section.s02 .wrapper .contentsbox .photobox {
    padding: 30px 20px 10px;
  }
  main section.s02 .wrapper .contentsbox .photobox .photo {
    width: 100%;
    height: 70vw;
  }
  main section.s02 .wrapper .contentsbox .photobox .photo img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 50% 50%;
       object-position: 50% 50%;
  }
  main section.s02 .wrapper .contentsbox .msglist {
    width: 100%;
    position: static;
  }
  main section.s02 .wrapper .contentsbox .msglist li {
    width: 100% !important;
    margin-top: 20px !important;
    margin-left: 0 !important;
    padding-right: 20px;
  }
  main section.s02 .wrapper .contentsbox .t01 {
    width: calc(100% - 70px);
    text-align: right;
    background-color: #8278aa;
    padding: 18px 0 18px 0;
    border-radius: 0 100px 100px 0;
    margin-top: 40px;
  }
  main section.s02 .wrapper .contentsbox .t01 span {
    display: block;
    padding-left: 20px;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 2px;
    text-align: left;
  }
  main section.s02 .wrapper .contentsbox .worksbox {
    max-width: 1280px;
    padding: 0 20px 80px;
    margin: 20px auto 0;
    display: block;
    position: relative;
  }
  main section.s02 .wrapper .contentsbox .worksbox .txtbox {
    width: 100%;
    padding-right: 0px;
  }
  main section.s02 .wrapper .contentsbox .worksbox .txtbox p {
    font-size: 14px;
    font-weight: 500;
    line-height: 175%;
  }
  main section.s02 .wrapper .contentsbox .worksbox .txtbox .btn {
    width: 180px;
    display: block;
    max-width: 100%;
    margin: 0 0 0 calc(100% - 180px);
  }
  main section.s02 .wrapper .contentsbox .worksbox .txtbox .btn img {
    width: 100%;
    display: block;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box {
    width: 100%;
    margin-top: 20px;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 {
    position: relative;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper {
    position: relative;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper .swiper-slide {
    width: 240px;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper .swiper-wrapper .swiper-slide img {
    width: 100%;
    display: block;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-prev {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../../images/btn_prev01.png);
    background-size: contain;
    top: auto !important;
    left: calc(50% - 32px) !important;
    right: auto !important;
    margin-top: 0 !important;
    bottom: -40px !important;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-prev::after {
    display: none !important;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-next {
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../../images/btn_next01.png);
    background-size: contain;
    top: auto !important;
    right: calc(50% - 32px) !important;
    left: auto !important;
    margin-top: 0 !important;
    bottom: -40px !important;
  }
  main section.s02 .wrapper .contentsbox .worksbox .box .swiper-area01 .swiper-button-next::after {
    display: none !important;
  }
}