@charset "UTF-8";
.p-service {
  background: url("../img/bg.jpg") no-repeat top center/cover;
}
@media only screen and (max-width: 768px) {
  .p-service {
    padding: 0 20px 60px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service {
    padding: 0 0 140px;
  }
}
.p-service .p-service-title {
  letter-spacing: 0.1em;
  text-align: center;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-title {
    font-size: 2.4rem;
    padding-top: 40px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-title {
    font-size: 2.8rem;
    padding-top: 80px;
  }
}
.p-service .p-service-title::after {
  background: #39b54a;
  content: "";
  display: block;
  margin-inline: auto;
  width: 2px;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-title::after {
    height: 40px;
    margin-top: 16px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-title::after {
    height: 60px;
    margin-top: 24px;
  }
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-lead {
    margin-top: 30px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-lead {
    margin-inline: auto;
    margin-top: 60px;
    width: 1024px;
  }
}
.p-service .p-service-heading {
  font-weight: bold;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-heading {
    font-size: 2.4rem;
    margin-bottom: 20px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-heading {
    font-size: 3.4rem;
    margin-bottom: 30px;
  }
}
.p-service .p-service-text {
  line-height: 1.8;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-text {
    font-size: 1.2rem;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-text {
    font-size: 1.5rem;
  }
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-list {
    display: grid;
    gap: 60px;
    grid-template-columns: repeat(2, 1fr);
    margin-inline: auto;
    margin-top: 80px;
    width: 1024px;
  }
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-image--main {
    margin-bottom: 8px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-image--main {
    margin-bottom: 12px;
  }
}
.p-service .p-service-image-sub {
  display: flex;
  gap: 8px;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-image-sub {
    height: 100px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-image-sub {
    gap: 12px;
    height: 140px;
  }
}
.p-service .p-service-image-sub figure {
  height: 100%;
  min-width: 0;
}
.p-service .p-service-image-sub figure:first-child {
  flex: 1.5 1 0;
}
.p-service .p-service-image-sub figure:last-child {
  flex: 2.07 1 0;
}
.p-service .p-service-image-sub img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.p-service .p-service-item-foot {
  align-items: center;
  display: flex;
  gap: 16px;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-item-foot {
    margin-top: 16px;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-item-foot {
    margin-top: 24px;
  }
}
.p-service .p-service-item-name {
  flex-shrink: 0;
  font-weight: bold;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-item-name {
    font-size: 1.5rem;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-item-name {
    font-size: 1.8rem;
  }
}
.p-service .p-service-item-line {
  background: #39b54a;
  flex-grow: 1;
  height: 1px;
}
.p-service .p-service-item-link {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 6px;
}
@media only screen and (max-width: 768px) {
  .p-service .p-service-item-link {
    font-size: 1.2rem;
  }
}
@media print, screen and (min-width: 769px) {
  .p-service .p-service-item-link {
    font-size: 1.4rem;
  }
}
.p-service .p-service-item-link::after {
  content: "→";
  color: #39b54a;
}
