/* Service
-------------------------------------------*/

/* Service Header ----------------------*/

.service_header{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sec-margin);
  width: var(--page-width);
  margin: 0 auto;
}
.service_header div + div{
  border-left: 1px dashed;
  padding-left: 5%;
}
.service_header .text{
  width: 50%;
  line-height: 2.5;
  text-align: justify;
}
.service_header .service_nav{
  width: 45%;
}
.service_header .service_nav ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 12px;
}
.service_header .service_nav ul li{
  width: 100%;
  border-radius: 38px;
  background-color: #fff;
  border: 2px solid;
  transition: all .15s;
}
.service_header .service_nav ul li a{
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  padding: 5%;
  padding-left: 6%;
  text-align: left;
  font-weight: bold;
  font-size: clamp(12px,1.846vw,15px);
}
.service_header .service_nav ul li a::before{
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url(../img/cmn/ic-morebtn_down.svg) no-repeat left center / contain;
}
.service_header .service_nav ul li a:hover{
  color: #fff;
}
.service_header .service_nav ul li:nth-of-type(1){
  box-shadow: 4px 4px 0px 0 var(--red);
}
.service_header .service_nav ul li:nth-of-type(2){
  box-shadow: 4px 4px 0px 0 var(--purple);
}
.service_header .service_nav ul li:nth-of-type(3){
  box-shadow: 4px 4px 0px 0 var(--yellow);
}
.service_header .service_nav ul li:nth-of-type(1):hover{
  background: var(--red);
}
.service_header .service_nav ul li:nth-of-type(2):hover{
  background: var(--purple);
}
.service_header .service_nav ul li:nth-of-type(3):hover{
  background: var(--yellow);
}

@media screen and (max-width: 650px){
  
  .service_header{
    row-gap: 30px;
  }
  .service_header div + div{
    border-left: 0;
    padding-left: 0;
  }
  .service_header .text,
  .service_header .service_nav{
    width: 100%;
  }
  .service_header .text{
    line-height: 2;
  }
  .service_header .service_nav ul li a{
    padding: 3%;
    padding-left: 6%;
  }
  .service_header .service_nav ul li a::before{
    width: 14px;
    height: 14px;
  }
}

/* Service Contents ----------------------*/

.service .sec{
  width: 100%;
}
.service #service_1{
  border-radius: 150px 150px 0 0;
  background: url(../img/top/bg_pattern.png) repeat center / 80% var(--red);
}
.service .sec .sec__in{
  width: 90%;
  margin: 0 auto;
  padding: 6% 0 150px;
}
.service .sec .sec__head{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  color: #fff;
  width: var(--page-width);
  margin: 0 auto;
}
.service .sec .sec__head .num,
.service .sec .sec__head .tit{
  width: 100%;
  margin: 0 auto;
}
.service .sec .sec__head .num img{
  width: 54px;
  height: 54px;
}
.service .sec .sec__head .read{
  font-weight: bold;
}
.service_content{
  width: 100%;
  margin: 0 auto;
  font-weight: 500;
  border-radius: 60px;
  background: #fff;
}
.service_content__in{
  width: 88%;
  padding: 6% 0 8%;
  margin: 0 auto;
}
#service_1 .sec__head{
  padding-bottom: calc(var(--sec-margin) / 1.5);
  row-gap: 30px;
}
#service_1 .sec .sec__head .tit img{
  width: 80%;
}
#service_1 ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 20px;
  width: 100%;
}
#service_1 ul li{
  width: 49%;
  padding: 4%;
  text-align: left;
  border: 1.5px solid;
  border-radius: 30px;
}
#service_1 ul li:nth-child(odd){ background: #fed3b2;}
#service_1 ul li:nth-child(even){ background: #fff5d7;}
#service_1 ul li:nth-of-type(4){ background: #fed3b2;}
#service_1 ul li:nth-of-type(3){ background: #fff5d7;}

#service_1 ul li .head{
  font-weight: bold;
  padding-bottom: 6%;
}
#service_1 ul li .head h3{
  font-size: clamp(14px,2.154vw,24px);
}
#service_1 ul li .head h3::before{
  content: '●';
  font-size: 70%;
  vertical-align: 10%;
  padding-right: 4px;
  color: var(--red);
}
#service_1 ul li .head p,
#service_1 ul li .text{
  font-size: clamp(12px,1.846vw,14px);
}
#service_1 ul li .text{
  text-align: justify;
  line-height: 1.85;
  letter-spacing: 0;
}
#service_1 ul li .text .marker{
  background:linear-gradient(transparent 50%, #fe3 50%);
}
#service_1 ul li .text .clm{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 3%;
}
#service_1 ul li .text .clm p{
  width: 52%;
}
#service_1 ul li .text .clm .img{
  width: 40%;
  display: flex;
  flex-direction: column;
}
#service_1 ul li .text .clm .img img{
  width: 100%;
  height: auto;
  margin: auto 0 0 auto;/*下揃え*/
}
#service_1 ul li:nth-of-type(2) .text .clm .img img{
  width: min(130px,80%);
  margin-right:auto;
}
#service_1 ul li.contact{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap:10px;
  text-align: center;
  font-size: clamp(12px,1.846vw,15px);
}
#service_1 ul li.contact .img{
  width: min(130px,40%);
  margin: 0 auto;
}
#service_1 ul li.contact .morebtn{
  width: 100%;
  margin: 0 auto;
}
#service_1 ul li.contact .morebtn a{
  width: min(260px,100%);
}
.service .contents .sec_btm{
  padding-bottom: var(--sec-margin);
  margin-top: -230px;
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.sec_btm .sec_btm__in{
  width: 50%;
  padding-top: 3%;
  border-radius: 80px;
}
.sec_btm #service_2{ background: url(../img/top/bg_pattern.png) repeat right bottom / 120% var(--purple);}
.sec_btm #service_3{ background: url(../img/top/bg_pattern.png) repeat left top / 120% var(--yellow);}

.sec_btm .sec_btm__in .sec__in{
  padding-bottom: 15%;
}
.service .sec_btm .sec__head{
  padding-bottom: 4%;
  row-gap: 12px;
}
.sec_btm .tit h3{
  font-size: clamp(21px,3.231vw,33px);
}
.sec_btm .service_content{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 400px;
  height: auto;
  padding: 1% 3% 5%;
  text-align: justify;
  font-size: clamp(13px,2.0vw,16px);
}
.sec_btm .service_content__in{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.service_content__in .ex{
  display: flex;
  flex-direction: column;
  padding-top: 6%;
  width: calc(100% - 180px);
  font-weight: bold;
}
#service_3 .ex ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  column-gap: 20px;
}
#service_3 .ex li{
  width: auto;
}
.service_content__in .ex li::before{
  content: '●';
  font-size: 70%;
  vertical-align: 10%;
  padding-right: 2px;
}
#service_2 .service_content .ex li::before{
  color: var(--purple);
}
#service_3 .service_content .ex li::before{
  color: var(--yellow);
}
.sec_btm .service_content .img{
  width: min(180px,70%);
  margin: auto 0 0 auto;/*下揃え*/
}
#service_3 .morebtn{
  margin: -34px auto 0;
}
#service_1 .morebtn a:hover,
#service_3 .morebtn a:hover{
  background-color: #fff;
}

@media screen and (max-width: 650px){
  
  .service #service_1{
    border-radius: 80px 80px 0 0;
  }
  .service .sec .sec__in{
    padding-top: 10%;
  }
  .service .sec .sec__head .num img{
    width: 50px;
    height: 50px;
  }
  .service_content{
    border-radius: 30px;
  }
  .service_content__in{
    width: 84%;
    padding: 8% 0;
  }
  #service_1 .sec__head{
    padding-bottom: calc(var(--sec-margin) / 2);
    row-gap: 20px;
  }
  #service_1 .sec__head,
  #service_1 .sec .sec__head .tit img{
    width: 100%;
  }
  #service_1 ul{
    row-gap: 20px;
  }
  #service_1 ul li{
    width: 100%;
    padding: 6%;
    border-radius: 20px;
  }
  #service_1 ul li .text .clm p,
  .service_content__in .ex{
    width: 60%;
  }
  #service_1 ul li .text .clm .img{
    width: 33%;
  }
  #service_1 ul li.contact .img,
  .sec_btm .service_content .img{
    width: min(100px,30%);
  }
  .service .contents .sec_btm{
    padding-bottom: calc(var(--sec-margin) / 2);
    margin-top: -200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sec_btm .sec_btm__in{
    width: 100%;
    padding-top: 0;
  }
  .sec_btm #service_2,
  .sec_btm #service_3{
    background-size: 80%;
  }
  .sec_btm #service_2{
    padding-bottom: 150px;
  }
  .sec_btm #service_3{
    margin-top: -150px;
  }
  .sec_btm .service_content{
    min-height: auto;
  }
  .sec_btm #service_2 .service_content{
    padding-bottom: 0;
  }
}