@import url("../../style/common.css");




@media screen and (max-width:768px) {
   .line {
    background: #5f5f5f;
  }
}

/* footer */
@media screen and (min-width: 769px) {
  .footer {
    margin-top: 5.86vw;
  }

  .inner {
    padding-inline: 10.65vw;
  }
}

@media screen and (max-width: 768px) {
  .footer {
    margin-top: 5.86vw;
  }

  .inner {
    padding-inline: 32px;
  }
}

p {
  margin: initial;
}


@media screen and (max-width: 768px) {
  .title-wrapper_type2+.p-each-consul {
    margin-top: 0;
  }
}


/* c-list-row */
.c-list-row li {
  font-family: "游ゴシック体 Pr6N D","Yu Gothic Pr6N D", sans-serif;
  position: relative;
}

.c-list-row li::before {
  background-image: url(/wp-content/themes/assign/img/top_img01.svg);
  background-size: cover;
  content: "";
  height: 16px;
  position: absolute;
  left: -3px;
  top: 6px;
  width: 8px;
}

@media screen and (min-width: 769px) {
  .c-list-row {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    margin-top: 4.39vw;
  }

  .c-list-row li {
    /* font-family: 'YuGothic-Bold', sans-serif; */
    font-size: 1.17vw;
    /* font-weight: bold; */
    padding: 0 2.20vw;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .c-list-row {
    margin-top: 25px;
  }

  .c-list-row li {
    font-size: 14px;
    padding-left: 18px;
  }

  .c-list-row li:not(:first-child) {
    margin-top: 7px;
  }

  .c-list-row li::before {
    top: calc(50% - 6px);
  }
}

/* p-service */
@media screen and (min-width: 769px) {
  .p-service {
    margin-top: 4.39vw;
  }

  .c-imageset {
    display: flex;
  }

  .c-imageset.c-imageset__reverse {
    flex-direction: row-reverse;
  }

  .title-wrapper_type2+.p-each-consul {
    margin-top: 2.98vw;
  }

  .c-imageset-heading {
    font-size: 1.68vw;
    margin-top: 2.93vw;
  }

  .c-list-row {
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: center;
    margin-top: 4.39vw;
  }

  .c-list-row li {
    /* font-family: 'YuGothic-Bold', sans-serif; */
    font-size: 1.17vw;
    font-weight: bold;
    padding: 0 2.20vw;
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  .p-service {
    margin-top: 40px;
  }

  .p-service .inner {
    padding: 0 32px;
  }

  .p-each-consul+.p-each-consul {
    margin-top: 80px;
  }
}

/* p-case */
.p-case {
  background-color: #F8F8F8;
}

.p-case-logo {
  background-image: url(/wp-content/themes/assign/consulting/img/consulting_case_bg01.png);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.p-case-logo img {
  object-fit: contain;
  transition: all .7s;
}

.p-case-item a:hover .p-case-logo img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.p-case-ph {
  background-image: url(/wp-content/themes/assign/consulting/img/consulting_case_bg02.png);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: auto;
}

.p-case-ph figure {
  border-radius: 5px;
  margin: 0;
  margin-left: auto;
  overflow: hidden;
}

/* .p-case-txt {
  font-weight: bold;
} */

.p-case-item a .p-case-txt,
.p-case-item a:hover .p-case-txt {
  color: #000;
}

.p-case-label span {
  background-color: #333;
  color: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 5px;
}

@media screen and (min-width: 769px) {
  .p-case {
    margin-top: 4.39vw;
    padding: 4.39vw 0;
  }

  .p-case-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.93vw 5.86vw;
  }

  .p-case-logo {
    min-height: 153px;
    padding-top: 2.5vw;
  }

  .p-case-logo img {
    height: 78px;
    width: 216px;
    object-fit: cover;
  }

  .p-case-ph {
    padding-top: .8vw;
  }

  .p-case-ph figure {
    width: 4vw;
  }

  .p-case-txt {
    font-size: 1.03vw;
    margin-top: -2.20vw;
    padding-right: 7.32vw;
  }

  .p-case-label {
    margin-top: 0.51vw;
    width: 8.20vw;
  }

  .p-case-label span {
    font-size: 0.76vw;
  }
}

@media screen and (max-width: 768px) {
  .p-case {
    margin-top: 60px;
    padding: 60px 0;
  }

  .p-case-item:not(:first-child) {
    margin-top: 40px;
  }

  .p-case-logo {
    min-height: 153px;
    padding-top: 20px;
  }

  .p-case-logo img {
    height: 130px;
    width: auto;
  }

  .p-case-ph {
    /* width: 60px; */
    /* width: 14.39vw; */
    padding-top: 10px;
  }

  .p-case-ph figure {
    width: 16.4vw;
  }

  .p-case-txt {
    font-size: 14px;
    margin-top: -30px;
    padding-right: 120px;
  }

  .p-case-label {
    margin-top: 7px;
    width: 112px;
  }

  .p-case-label span {
    font-size: 11px;
  }
}




