@charset "utf-8";

/* -------------------------------------
top
----------------------------------------*/
#mv{
  background: url("/portal/img/service/top/mv.png") no-repeat top center;
  background-size: cover;
  min-height: 480px;
}
.serviceWrap{
  padding: 46px 0 102px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.25);
  margin-top: -236px;
}
#intro{
  text-align: center;
}
#intro h1{
  font-size: 36px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
#intro p{
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 2;
  margin-bottom: 44px;
  padding: 0 12px;
}
.serviceSet{
  margin-bottom: 30px;
}

/* servicecommon service01 */
#item{
  width: 90%;
  margin: auto;
  max-width: 1200px;
}
#item .list{
  display: flex;
  flex-wrap: wrap;
}
#item .list > li {
  flex-basis: calc((100% - 70px)/2);
  max-width: calc((100% - 70px)/2);
  margin-right: 60px;
  /*margin-bottom: 60px;*/
  background-color: #fff;
  border: 1px solid #fe5670;
  box-shadow: 10px 10px 0 0 #fe5670;
  box-sizing: border-box;
  position: relative;
}
#item .list > li:nth-child(2n){
  margin-right: 0;
}
#item .list > li.last{
  margin-bottom: 0;
}
#item .list > li a{
  display: block;
}
#item .list > li .listWrap{
  padding: 48px 5.3% 166px;
  box-sizing: border-box;
}
.titleWrap{
  text-align: center;
}
.titleWrap h2{
  color: #fe5670;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.titleWrap .icon{
  margin-bottom: 20px;
}
.titleWrap h3{
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}
.titleWrap .text{
  text-align: left;
  color: #fe5670;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}
#service02 .titleWrap .text{
  margin-bottom: 30px;
}
.textWrap .message p{
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.textWrap .lifeforce{
  text-align: center;
  color: #f99d37;
  font-size: 17px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  position: relative;
  padding: 0 16.5%;
}
.textWrap .lifeforce .number{
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  padding: 0 4px;
}
.textWrap .lifeforce:before{
  content: "";
  position: absolute;
  width: 16%;
  height: 2px;
  background-color: #f99d37;
  top: calc(50% + 8px);
  left: 0;
}
.textWrap .lifeforce:after{
  content: "";
  position: absolute;
  width: 16%;
  height: 2px;
  background-color: #f99d37;
  top: calc(50% + 8px);
  right: 0;
}
.textWrap .lfContents li{
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  padding-left: 1em;
  text-indent: -1em;
}

/* service02 */
#service02 .titleWrap h2,
#service02 .titleWrap .text{
    color: #f99d37;
}
#item .list > li#service02 {
    border: 1px solid #f99d37;
    box-shadow: 10px 10px 0 0 #f99d37;
}
#service02 .btn01 {
    background-color: #f99d37;
}

/* service03 */
#service03 .titleWrap h2,
#service03 .titleWrap .text{
    color: #3dd3b0;
}
#item .list > li#service03 {
    border: 1px solid #3dd3b0;
    box-shadow: 10px 10px 0 0 #3dd3b0;
}
#service03 .btn01 {
    background-color: #3dd3b0;
}

/* service04 */
#service04 .titleWrap h2,
#service04 .titleWrap .text{
    color: #01acf2;
}
#item .list > li#service04 {
    border: 1px solid #01acf2;
    box-shadow: 10px 10px 0 0 #01acf2;
}
#service04 .btn01 {
    background-color: #01acf2;
}

/* service05 */
#service05 .titleWrap h2,
#service05 .titleWrap .text{
    color: #7e4ad2;
}
#item .list > li#service05 {
    border: 1px solid #7e4ad2;
    box-shadow: 10px 10px 0 0 #7e4ad2;
}
#service05 .btn01 {
    background-color: #7e4ad2;
}

@media screen and (max-width: 1600px) {
  #mv {
    background-size: contain;
  }
}

@media screen and (max-width: 1320px) {
  .titleWrap h3 {
    font-size: 23px;
  }
}

@media screen and (max-width: 1245px) {
  .textWrap .lifeforce{
    padding: 0 11%;
  }
  .textWrap .lifeforce:before,
  .textWrap .lifeforce:after {
    width: 10%;
  }
  .serviceWrap {
    margin-top: -300px;
  }
}

@media screen and (max-width: 1110px) {
  .textWrap .lifeforce{
    font-size: 15px;
    padding: 0 3%;
  }
  .textWrap .lifeforce:before,
  .textWrap .lifeforce:after {
    width: 2.5%;
  }
}
@media screen and (max-width: 768px) {
  #mv{
    background: url("/portal/img/service/top/mv_sp.png") no-repeat top center;
    background-size: cover;
    min-height: 200px;
  }
  .serviceWrap {
    margin-top: -140px;
    padding: 18px 0 20px;
  }
  #intro h1 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  #intro p {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 400;
    padding: 0 15px;
  }
  #item .list{
    display: block;
  }
  #item .list > li {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    box-shadow: 5px 5px 0 0 #fe5670;
  }
  #item .list > li .listWrap{
    padding: 22px 10px 16px;
  }
  #item .list > li#service02 {
    box-shadow: 5px 5px 0 0 #f99d37;
  }
  #item .list > li#service03 {
    box-shadow: 5px 5px 0 0 #3dd3b0;
  }
  #item .list > li#service04 {
    box-shadow: 5px 5px 0 0 #01acf2;
  }
  #item .list > li#service05 {
    box-shadow: 5px 5px 0 0 #7e4ad2;
  }
  .titleWrap h2 {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .titleWrap .icon {
    margin-bottom: 20px;
    width: 17%;
    margin: 0 auto 6px;
  }
  .titleWrap h3 {
    font-size: 18px;
    margin-bottom: 18px;
  }
  .titleWrap .text {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 4px;
  }
  .textWrap .message p {
    font-size: 12px;
    line-height: 1.7;
    padding-top: 8px;
  }
  .textWrap .lifeforce {
    font-size: 14px;
    padding: 0 8.5%;
    margin-bottom: 10px;
  }
  .textWrap .lifeforce .number {
    font-size: 24px;
  }
  .textWrap .lifeforce:before,
  .textWrap .lifeforce:after {
    width: 8%;
    height: 1px;
    top: calc(50% + 4px);
  }
  .textWrap .lfContents li {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .textWrap .lfContents li:last-of-type{
    margin-bottom: 18px;
  }
}

@media screen and (max-width: 500px) {
  #mv{
    background-size: contain;
  }
}

@media screen and (max-width: 350px) {
  .textWrap .lifeforce {
      font-size: 12px;
  }
}