
/* -----------------------------------------------
underPageセクション
----------------------------------------------- */
.underPage_section{
  padding: 16vw 3.5vw 8vw;
}
.underPage_inner{
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.underPage_side{
  width: 20%;
  display: flex;
  flex-wrap: wrap;
}
.underPage_main{
  width: 78%;
}
.underPage_wrap{
  display: flex;
  align-items: start;
  flex-wrap: wrap;
}
.underPage_box{
  width: 31.5%;
  margin-right: 1.5%;
  margin-bottom: 5%;
}
.underPage_box:nth-child(3n){
  margin-right: 0;
}
.cat{
  background-color: white;
  padding: 0 1em;
  border-radius: 60px;
  width: fit-content;
}
.underPage_outline{
  width: 100%;
  padding-bottom: 56%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* -----------------------------------------------
メンバー詳細ページ追加分
----------------------------------------------- */
.underPage_side.column{
  flex-flow: column;
}
.link_tag{
  margin-bottom: 2vw;
}
.detail_outline{
  width: 100%;
  padding-bottom: 60%;
  position: relative;
  border-radius: 10px;
}
.detail_contents{
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.detail_text{
  width: 60%;
}
.detail_address{
  width: 30%;
}
.detail_row{
  display: flex;
  align-items: center;
}
.address_title{
  width: 50%;
}
.address_contents{
  width: 50%;
}
.detailContact{
  display: flex;
  padding: 5%;
  background-color: black;
  width: 50%;
  border-radius: 10px;
  margin-bottom: 10vw;
}
.detailContact_tag{
  width: 30%;
}
.detailContact_target{
  width: 60%;
  padding-left: 3em;
}

.cat{
  background-color: white;
  padding: 0 1em;
  border-radius: 60px;
  width: fit-content;
}
.service_outline{
  width: 100%;
  padding-bottom: 56%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}
@media screen  and (max-width: 768px){
  .underPage_section {
    padding: 22vw 0;
  }
  .underPage_inner {
    flex-flow: column;
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .link_tag {
    margin-right: 2vw;
  }
  .underPage_side {
    width: 100%;
    justify-content: center;
  }
  .underPage_side{
    margin-bottom: 10vw;
  }
  .underPage_main {
    width: 100%;
  }
  .underPage_box {
    width: 100%;
    margin-right: unset;
    margin-bottom: 5%;
  }
  .detail_contents {
    flex-flow: column-reverse;
  }
  .detail_address {
    width: 100%;
    margin-bottom: 10%;
  }
  .address_title {
    width: 30%;
  }
  .detail_text {
    width: 100%;
    margin-bottom: 5%;
  }
  .detailContact {
    width: 80%;
    margin: auto;
    margin-bottom: 20%;
  }
  .detailContact_target {
    text-align: right;
  }
  .service_box{
    width: 95%;
    margin-bottom: 5vw;
  }
  .slider-inner{
    width: 100%;
    overflow: hidden;
  }
  .service_wrap{
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: calc(150/1440 * 100vw);
    width: 80%;
    overflow: visible;
  }
  .has-medium-font-size{
    font-size:16px !important;
  }
}

/* -----------------------------------------------
ページネーション関連
----------------------------------------------- */
.wp-pagenavi{
  text-align: end;
  font-size: 1.5em;
}
.wp-pagenavi .current{
  background-color: black;
  color: white;
  padding: 0.3em 0.7em;
  border-radius: 100%;
  margin-right: 0.8em;
  margin-left: 0.8em;
}
.wp-pagenavi a{
  color: black;
  padding: 0.5em 1em;
}


@media screen  and (max-width: 768px){
  .wp-pagenavi{
  text-align: end;
  font-size: 1em;
}
}
