/* =========================================================
   service-non-slide.css — ノンスライド 専用（single-service.php が自動で読み込む）
   製品の特徴「塗る・貼る・洗う」 template-parts/service/non-slide/methods.php（Figma 3777:20307）
   ========================================================= */
.p-ns-methods__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 367px));
  justify-content: center;
  gap: 16px;
}
.p-ns-method {
  display: flex;
  flex-direction: column;
  min-height: 388px;
  padding: 16px 26.5px 30px 29.5px;
  border-radius: 4px;
  background: #f1f5f9;
}
.p-ns-method__head {
  display: flex;
  align-items: center;
  gap: 30.5px;
}
.p-ns-method__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--c-white);
}
.p-ns-method__icon img {
  width: 59px;
  height: 59px;
}
/* 「貼る」のアイコンは Figma で 52.5×47.25（他は 59×59） */
.p-ns-method__icon img[src$="method-icon-02.svg"] {
  width: 52.5px;
  height: 47.25px;
}
.p-ns-method__title {
  position: relative;
  color: var(--c-blue);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.7;
}
.p-ns-method__title::after { /* 黄色の下線 63×3 */
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.5px;
  width: 63px;
  height: 3px;
  background: #ffc800;
}
.p-ns-method__text {
  margin: 12px 2px 0;
  font-size: 16px;
  line-height: 1.7;
}
.p-ns-method__img {
  margin: auto -1.5px 0 -3.5px; /* 写真 314px を中央に */
  padding-top: 15px;
}
.p-ns-method__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 314 / 144;
  object-fit: cover;
  border-radius: 4px;
}
@media (max-width: 1024px) {
  .p-ns-methods__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-ns-method {
    padding: 16px 16px 20px;
  }
  .p-ns-method__head {
    gap: 16px;
  }
  .p-ns-method__icon {
    width: 70px;
    height: 70px;
  }
  .p-ns-method__icon img {
    width: 46px;
    height: 46px;
  }
  .p-ns-method__icon img[src$="method-icon-02.svg"] {
    width: 41px; /* 52.5 × 46/59 */
    height: 37px;
  }
  .p-ns-method__img {
    margin-inline: 0;
  }
}
@media (max-width: 767px) {
  .p-ns-methods__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .p-ns-method {
    min-height: 0;
  }
  .p-ns-method__title {
    font-size: 24px;
  }
  .p-ns-method__title::after {
    width: 48px;
  }
  .p-ns-method__text {
    margin-top: 10px;
    font-size: 14px;
  }
  .p-ns-method__img {
    padding-top: 12px;
  }
}
