#service_list {
  background-image: url(../img/service_list_bg_sp.jpg);
}
@media (min-width: 768px) {
  #service_list {
    background-image: url(../img/service_list_bg_pc.jpg);
  }
}

.p-solution {
  margin-bottom: 40px;
}

.p-solution_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 4/5fr repeat(2, 1fr);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  padding-top: 16px;
}
@media (min-width: 768px) {
  .p-solution_list {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 0;
    grid-row-gap: 0;
  }
}

.p-solution_item {
  position: relative;
}
.p-solution_item:nth-of-type(n+1):nth-of-type(-n+4)::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #D5D5D5;
}
@media (min-width: 768px) {
  .p-solution_item:nth-of-type(n+1):nth-of-type(-n+4)::before {
    top: 0;
    bottom: inherit;
    width: 1px;
    height: 100%;
  }
}
.p-solution_item:nth-of-type(2n+1)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 1px;
  height: 100%;
  background-color: #D5D5D5;
}
@media (min-width: 768px) {
  .p-solution_item:nth-of-type(2n+1)::after {
    content: none;
  }
}
@media (min-width: 768px) {
  .p-solution_item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background-color: #D5D5D5;
  }
  .p-solution_item:nth-last-of-type(1)::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #D5D5D5;
  }
}

.p-solution_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
  padding-bottom: 32px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .p-solution_link {
    height: 135px;
    padding-bottom: 0;
    transition: background-color ease-out 0.3s;
  }
}
.p-solution_link .-img {
  width: auto !important;
}
.p-solution_link .-text {
  margin-top: 20px;
  color: #141F2E;
  font-size: 1.4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .p-solution_link .-text {
    display: flex;
    height: 42px;
    justify-content: center;
    align-items: center;
  }
}
.p-solution_link::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 5px;
  height: 12px;
  background: url(../../../common/img/icon_arrow_cl_main.svg) 0 0/100% no-repeat;
  transform: translateX(-50%) rotate(90deg);
}
@media (min-width: 768px) {
  .p-solution_link::before {
    bottom: 0;
  }
}
.p-solution_link:focus-visible {
  background-color: #F8F8F8;
  opacity: 1;
}
@media (min-width: 768px) {
  .p-solution_link:hover {
    background-color: #F8F8F8;
    opacity: 1;
  }
}
