@charset "UTF-8";
/* =========================================================
   サービス 一覧・詳細
   一覧: Figma サービス_SP 1367:3962（tabRow 3093:32331 / service_frame 1367:4510）
   詳細: Figma サービス_シーリングマジック_SP 1367:4748
   ※SPのみ支給。PC(≥768) は SP の構成を目的詳細・施工事例の PC トーン（1140 コンテナ, 見出し 18px＋青バー）で拡張。
   ========================================================= */

/* =========================================================
   一覧
   ========================================================= */
.p-service-list {
  padding-top: 50px;
  padding-bottom: 130px;
}
.p-service-list__chips {
  gap: 10px;
}
.p-service-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 354px));
  justify-content: space-between;
  row-gap: 50px;
  margin-top: 50px;
}
.p-service-card-item[hidden] {
  display: none;
}
.p-service-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  background: var(--c-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s var(--ease);
}
.p-service-card__img {
  aspect-ratio: 333 / 213;
  overflow: hidden;
  background: #e6ebf1;
}
.p-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.p-service-card__body {
  padding: 0 30px 15px 15px;
}
.p-service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}
.p-service-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-text);
}
.p-service-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.p-service-card:hover .p-service-card__img img {
  transform: scale(1.05);
}
.p-service-card:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}
.p-service-list__empty {
  margin-top: 50px;
  color: var(--c-text-sub);
  text-align: center;
}

/* =========================================================
   詳細
   ========================================================= */
.p-svc {
  --svc-pale: var(--c-blue-pale);
}

/* ---------- ヒーロー（Figma icatch2 3062:17296） ---------- */
.p-svc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 420px;
  background: var(
    --hero-bg,
    var(--svc-pale)
  ); /* 左側の背景色（管理画面で変更可） */
}
.p-svc-hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(58%, 840px);
  z-index: -1;
}
.p-svc-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.p-svc-hero:not(.has-logo) .p-svc-hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--hero-bg, var(--svc-pale)) 0%,
    transparent 45%
  );
}
.p-svc-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 56px;
  padding-bottom: 56px;
}
.p-svc-hero__en {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--c-blue);
}
.has-logo .p-svc-hero__en {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p-svc-hero__title {
  margin-top: 4px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.p-svc-hero__logo {
  width: 320px;
  height: auto;
}
.p-svc-hero__catch {
  max-width: 620px;
  margin-top: 18px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
}
.p-svc-hero:not(.has-logo) .p-svc-hero__catch {
  max-width: 560px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.75;
}
.p-svc-hero__btns {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}
.p-svc-hero__btn {
  justify-content: space-between;
  width: 264px;
}

/* パンくず: ヒーローの左上に重ねる */
.p-svc-hero__crumb {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
}
.p-svc-crumb {
  padding: 20px 0;
}

/* ---------- セクション共通 ---------- */
.p-svc-body {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding-top: 50px;
  padding-bottom: 300px; /* よくある質問 → フッター（CTA）の余白 */
}
/* 対象・用途・工事内容の **…** は「・」なしの目印だけ（色・太さは他の項目と同じ） */
.p-svc-target__items strong {
  color: inherit;
  font-weight: inherit;
}
.p-svc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-text);
}
.p-svc-head::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 30px;
  border-radius: 2px;
  background: var(--c-blue);
}

/* ---------- ○○とは ＋ 施工前後比較 ---------- */
.p-svc-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  grid-template-rows: auto auto 1fr; /* 右の比較スライダーが高くても、左の見出し・リード・本文は上に詰める */
  column-gap: 60px;
  align-items: start;
}
.p-svc-intro > :not(.p-svc-compare) {
  grid-column: 1;
}
.p-svc-intro__lead {
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-blue);
}
.p-svc-intro__more {
  margin-top: 20px;
}
.p-svc-intro__text {
  font-size: 16px;
  line-height: 1.85;
}
.p-svc-intro__text .c-entry {
  font-size: inherit;
  line-height: inherit;
}
.p-svc-intro__text .c-entry > * + * {
  margin-top: 1em;
}
.p-svc-intro__toggle {
  display: block;
  margin: 14px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(27, 95, 168, 0.5);
}
.p-svc-intro__toggle:hover {
  color: var(--c-blue);
}
.p-svc-intro__toggle[hidden] {
  display: none;
}
.p-svc-compare {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin: 0;
}
.p-svc-compare__title {
  padding: 5px;
  border-radius: 3.4px;
  background: var(--svc-pale);
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}
.p-svc-compare__frame {
  position: relative;
  margin-top: 10px;
  aspect-ratio: 328.5 / 216;
  overflow: hidden;
  background: var(--c-white);
  touch-action: pan-y;
}
.p-svc-compare__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-svc-compare__before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.p-svc-compare__before .p-svc-compare__img {
  object-position: left center;
}
.p-svc-compare__label {
  position: absolute;
  top: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  pointer-events: none;
}
.p-svc-compare__label--before {
  left: 12px;
  background: var(--c-white);
  color: var(--c-blue);
}
.p-svc-compare__label--after {
  right: 12px;
  background: var(--c-blue);
  color: var(--c-white);
}
.p-svc-compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--c-white);
  pointer-events: none;
}
.p-svc-compare__handle::after {
  content: "\2039  \203A"; /* ‹ › */
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  color: var(--c-blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  transform: translate(-50%, -50%);
}
.p-svc-compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.p-svc-compare__frame:has(.p-svc-compare__range:focus-visible) {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
}
.p-svc-compare__caps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--c-text-sub);
}

/* ---------- 商材の特徴（アコーディオン） ---------- */
.p-svc-features__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.p-svc-feature {
  border: 1px solid var(--svc-pale);
  border-radius: 4px;
  background: var(--c-white);
}
.p-svc-feature__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 24px;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
}
.p-svc-feature__head::-webkit-details-marker {
  display: none;
}
.p-svc-feature__num {
  padding-right: 20px;
  border-right: 1.5px solid var(--c-blue);
  color: var(--c-blue);
  font-family: var(--ff-base);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}
.p-svc-feature__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-blue);
}
.p-svc-feature__toggle,
.p-svc-qa__toggle {
  position: relative;
  justify-self: end;
  width: 14px;
  height: 14px;
}
.p-svc-feature__toggle::before,
.p-svc-feature__toggle::after,
.p-svc-qa__toggle::before,
.p-svc-qa__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  margin-top: -0.75px;
  background: var(--c-blue);
  transition: transform 0.25s var(--ease);
}
.p-svc-feature__toggle::after,
.p-svc-qa__toggle::after {
  transform: rotate(90deg);
}
details[open] > summary .p-svc-feature__toggle::after,
details[open] > summary .p-svc-qa__toggle::after {
  transform: rotate(0deg);
}
details.is-closing > summary .p-svc-feature__toggle::after,
details.is-closing > summary .p-svc-qa__toggle::after {
  transform: rotate(90deg);
} /* 閉じるアニメーション中は＋に戻す */
.p-svc-feature__head:focus-visible,
.p-svc-qa__q:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: -2px;
}
.p-svc-feature__head.has-thumb {
  grid-template-columns: auto auto minmax(0, 1fr) 24px;
}
.p-svc-feature__head.has-thumb .p-svc-feature__title {
  align-self: start;
} /* 番号・画像は上下中央、見出しは上揃え */
.p-svc-feature__thumb {
  display: block;
  width: auto;
  height: 80px;
  aspect-ratio: 110 / 85;
  overflow: hidden;
  border-radius: 6px;
}
.p-svc-feature__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-svc-feature__thumb.is-contain img {
  object-fit: contain;
}
.p-svc-feature__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 40px;
  padding: 0 32px 32px;
}
.p-svc-feature__body:only-child,
.p-svc-feature__body:not(:has(.p-svc-feature__figs)) {
  grid-template-columns: minmax(0, 1fr);
}
.p-svc-feature__text {
  font-size: 16px;
  line-height: 1.85;
}
.p-svc-feature__text p + p {
  margin-top: 1.4em;
}
.p-svc-feature__figs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 本文横の画像: 0〜3枚。複数なら横に並べる（画像は元の比率のまま。図なども切れない） */
.p-svc-feature__imgs {
  display: grid;
  grid-template-columns: repeat(var(--n, 1), minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.p-svc-feature__img {
  width: 100%;
  height: auto;
  border-radius: 2.2px;
}

/* 画像拡大（本文横の画像） */
.p-svc-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.p-svc-zoom__icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease);
}
.p-svc-zoom:hover .p-svc-zoom__icon {
  transform: scale(1.1);
}
.p-svc-zoom:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}
.p-svc-lightbox {
  max-width: min(1100px, 92vw);
  max-height: 92vh;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}
.p-svc-lightbox[open] {
  animation: svc-lightbox-in 0.3s var(--ease);
}
.p-svc-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.75);
  animation: svc-lightbox-fade 0.3s var(--ease);
}
/* 閉じるとき（JS で .is-closing → アニメーション後に close） */
.p-svc-lightbox.is-closing {
  animation: svc-lightbox-out 0.3s var(--ease) forwards;
}
.p-svc-lightbox.is-closing::backdrop {
  animation: svc-lightbox-fade-out 0.3s var(--ease) forwards;
}
.p-svc-lightbox__img {
  display: block;
  width: min(1100px, 92vw);
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 4px;
} /* 元画像が小さくても画面に合わせて拡大 */
.p-svc-lightbox__close {
  position: absolute;
  top: -52px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-white);
  cursor: pointer;
}
@keyframes svc-lightbox-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes svc-lightbox-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes svc-lightbox-out {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}
@keyframes svc-lightbox-fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ---------- 対象・用途・工事内容 ---------- */
.p-svc-targets__wrap {
  position: relative;
}
.p-svc-targets__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.p-svc-target {
  padding: 32px 36px 36px;
  border-radius: 4px;
  background: var(--c-bg-gray);
  font-feature-settings: normal; /* Figma どおり字詰め（palt）なし */
}
.p-svc-target__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-blue);
}
.p-svc-target__title img {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.p-svc-target__items {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.8;
}
.p-svc-target__items li {
  /* 折り返した行は「・」の下（左端）から。Figma どおりぶら下げインデントなし */
}
.p-svc-target__items li::before {
  content: "\30FB"; /* ・ */
}
.p-svc-targets__hint {
  display: none;
}

/* ---------- 施工事例 ---------- */
.p-svc-works__slider {
  --slider-gap: 39px;
  --slider-btn-top: 133px;
}
.p-svc-works__slide {
  display: flex;
  flex-shrink: 0;
  width: 354px;
}
.p-svc-works__slider .c-slider-dots {
  margin-top: 18px;
  justify-content: center;
}
.p-svc-works__more {
  margin-top: 24px;
  text-align: center;
}

/* ---------- 導入実績・認定 ---------- */
.p-svc-proof {
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
  background: #eaf2fb url(../../img/service/case-bg.jpg) center / cover
    no-repeat;
}
.p-svc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 10px auto 0;
}
.p-svc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.p-svc-stat__icon {
  width: 80px;
  height: 80px;
}
.p-svc-stat__label {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text-sub);
}
.p-svc-stat__value {
  margin-top: 10px;
  color: var(--c-blue);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}
.p-svc-stat__value em {
  font-size: 1.75em;
  font-style: normal;
  font-weight: 900;
}
.p-svc-certs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 56px;
}
.p-svc-cert {
  padding: 10px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  background: var(--c-white);
}
.p-svc-cert__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-blue);
}
.p-svc-cert__body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 12px;
}
.p-svc-cert__img {
  flex-shrink: 0;
  width: 100px;
  height: auto;
}
.p-svc-cert__text {
  font-size: 15px;
  line-height: 1.75;
}
.p-svc-proof__dl {
  display: flex;
  width: fit-content;
  margin: 40px auto 0;
}

/* ---------- 設計価格へのリンク（シーリングマジック 5176:16593） ---------- */
.p-svc-price-link__inner {
  display: flex;
  justify-content: center;
  max-width: 1113px;
  margin-inline: auto;
  padding: 24px 14px;
  background: var(--c-blue-pale);
}

/* ---------- 関連製品 ---------- */
.p-svc-related__row {
  display: flex;
  gap: 40px;
}
.p-svc-related__text {
  flex: 1 1 auto;
  max-width: 900px;
  font-size: 16px;
  line-height: 1.85;
}
.p-svc-related__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-related__img {
  flex: 0 0 400px; /* カラー展開の画像（sampleimage.jpg） */
  margin: 0;
}
.p-svc-related__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.p-svc-related__more {
  margin-top: 28px;
}

/* ---------- 共通ブロック: 左にテキスト、右に画像 or YouTube（関連製品・動画の標準レイアウト） ---------- */
.p-svc-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 40px;
  align-items: start;
}
.p-svc-media.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}
.p-svc-media__text {
  font-size: 16px;
  line-height: 1.85;
}
.p-svc-media__title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-media__more {
  margin-top: 20px;
}
.p-svc-media__img {
  width: 100%;
  height: auto;
}
.p-svc-yt,
.p-svc-yt__frame {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.p-svc-yt {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #000;
  cursor: pointer;
}
.p-svc-yt__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.p-svc-yt__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  transform: translate(-50%, -50%);
}
.p-svc-yt:hover .p-svc-yt__thumb {
  transform: scale(1.04);
}
.p-svc-yt:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
}

/* ---------- 動画 ---------- */
.p-svc-video__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}
.p-svc-video__head .p-svc-head {
  margin-bottom: 0;
}
.p-svc-video__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 12px 2px 8px;
  border: 0.8px solid var(--c-blue);
  border-radius: 16px;
  background: var(--c-white);
  color: var(--c-blue);
  font-size: 13px;
  line-height: 1.4;
}
.p-svc-video__text {
  font-size: 16px;
  line-height: 1.85;
}
/* シーリングマジック: 動画ごとのカード（左: サムネイル / 右: ポイント＋一言説明） */
.p-svc-video__text + .p-svc-video__cards {
  margin-top: 30px;
}
.p-svc-video__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.p-svc-video__card {
  display: grid;
  grid-template-columns: 64% minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 10px;
  border-radius: 4px;
  background: var(--c-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.p-svc-video__card:only-child {
  grid-column: 1 / -1;
  max-width: calc(50% - 9px);
}
.p-svc-video__card:not(:has(.p-svc-video__info)) {
  grid-template-columns: minmax(0, 1fr);
}
.p-svc-video__media .p-svc-yt {
  border-radius: 3px;
}
.p-svc-video__points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-svc-video__caption {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.6;
}
.p-svc-video__points li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 26px;
}
.p-svc-video__points li::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: url("../../img/service/icon/check.svg") center / contain no-repeat;
}

/* ---------- 導入までの流れ ---------- */
.p-svc-flow {
  padding: 70px 0 80px;
  background: var(--svc-pale);
}
.p-svc-flow__list {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    calc((100% - 30px * 6) / 7)
  ); /* 1つの幅は7等分（ステップが少なくても幅は同じ） */
  justify-content: center;
  gap: 30px;
  counter-reset: none;
}
.p-svc-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 16px 26px;
  border-radius: 3px;
  background: var(--c-white);
  text-align: center;
}
.p-svc-step + .p-svc-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -22px;
  width: 14px;
  height: 7px;
  background: url("../../img/service/icon/chevron-down.svg") center / contain
    no-repeat;
  transform: translateY(-50%) rotate(-90deg);
}
.p-svc-step__num {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
  padding-bottom: 10px;
  color: var(--c-blue);
  font-family: "Anton", var(--ff-en);
  font-size: 30px;
  font-weight: 400; /* Anton は 400 のみ（700 だと疑似ボールドになる） */
  line-height: 1.2;
}
.p-svc-step__num span {
  font-family: var(--ff-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.7;
}
.p-svc-step__num::before,
.p-svc-step__num::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
}
.p-svc-step__num::before {
  right: 0;
  background: var(--svc-pale);
}
.p-svc-step__num::after {
  width: var(--progress);
  background: var(--c-blue);
}
.p-svc-step__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-blue);
}
.p-svc-step__text {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.6;
  text-align: start;
  color: var(--c-text-sub);
}
.p-svc-step__note {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--c-text-sub);
}

/* ---------- よくある質問 ---------- */
.p-svc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.p-svc-qa__q {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 14px;
  border-bottom: 1px solid var(--svc-pale);
  cursor: pointer;
  list-style: none;
}
.p-svc-qa__q::-webkit-details-marker {
  display: none;
}
.p-svc-qa__mark {
  color: var(--c-blue);
  font-family: var(--ff-base);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
}
.p-svc-qa__qtext {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-qa__a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  padding: 14px calc(12px + 14px + 14px) 6px 12px; /* 右: 質問行の ＋− 列と同じ幅だけ空ける */
}
.p-svc-qa__a .p-svc-qa__mark {
  padding-top: 2px;
}
.p-svc-qa__a p {
  font-size: 16px;
  line-height: 1.75;
}
.p-svc-qa__a a {
  color: var(--c-blue);
  text-decoration: underline;
  word-break: break-all;
}

/* =========================================================
   PC デザイン（Figma サービス_PC 295:2378 / サービス_シーリングマジック_PC 2219:7282 ほか）
   上の SP 由来の指定を PC デザインに合わせて上書き。SP（≤767）は下のメディアクエリで戻す
   ========================================================= */

/* ---------- 一覧（295:2378） ---------- */
@media (min-width: 768px) {
  .p-service .c-page-hero--default {
    height: 279px;
  }
  .p-service .c-page-hero__lead {
    display: block;
    max-width: 25.3em; /* 1文目の後で改行（Figma） */
    margin-top: 25px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    color: var(--c-text);
  }
}
.p-service-list {
  padding-top: 67px;
}
.p-service-list__grid {
  row-gap: 36px;
  margin-top: 54px;
}
.p-service-card {
  gap: 0;
  border: 0;
}
.p-service-card__img {
  aspect-ratio: 354 / 266;
}
.p-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 11px 22px;
}
.p-service-card__tags {
  margin-bottom: 0;
}
.p-service-card__title {
  line-height: 1.5;
}

/* ---------- 詳細: ヒーロー（icatch2 2219:7283, 1440x377） ---------- */
.p-svc-hero {
  min-height: 377px;
}
.p-svc-hero__photo {
  width: min(61.3%, 883px);
}
.p-svc-hero__inner {
  padding-top: 66px;
  padding-bottom: 38px;
}
.p-svc-hero__en {
  position: absolute; /* PC デザインでは英字ラベルなし（スクリーンリーダー用に残す） */
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.p-svc-hero__title {
  margin-top: 0;
  font-size: 50px; /* ロゴ無し: サービス名テキスト */
  line-height: 1.7;
  color: var(--c-blue); /* Figma 2988:18969 ほか（ロゴ無しのサービス名は #1b5fa8） */
}
.p-svc-hero__logo {
  width: auto; /* ロゴは画像の比率のまま（高さ 114px 以内・幅 571px 以内） */
  max-width: min(571px, 100%);
  height: auto;
  max-height: 114px;
  margin: -6px 0 -7px; /* ロゴ画像の上下余白を詰める */
}
.p-svc-hero__catch,
.p-svc-hero:not(.has-logo) .p-svc-hero__catch {
  max-width: 620px;
  margin-top: 12px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
.p-svc-hero__btns {
  gap: 20px;
  margin-top: 22px;
}
/* ロゴ画像なし（TSメタルコートなど）: ボタンをロゴありのヒーローと同じ高さに下げる */
.p-svc-hero:not(.has-logo):not(.has-sub) .p-svc-hero__btns {
  margin-top: 83px;
}
.p-svc-hero__btn {
  justify-content: center;
  width: 245px;
}
.p-svc-hero__btn--catalog {
  width: 270px;
}
.p-svc-hero__btn--sample {
  width: 237px;
  background: linear-gradient(90deg, #8dc1fb, #e9f3ff);
  color: var(--c-blue);
}
.p-svc-crumb {
  padding: 29px 0 0;
}
.p-svc-body {
  padding-top: 46px;
}

/* ---------- ○○とは ＋ 仕上がり比較（2924:8622） ---------- */
.p-svc-intro {
  grid-template-columns: minmax(0, 1fr) 397px;
  column-gap: 74px;
}
.p-svc-intro__lead {
  line-height: 1.7;
}
.p-svc-intro__more {
  margin-top: 10px;
}
.p-svc-intro__text {
  line-height: 1.7;
}
.p-svc-compare__title {
  padding: 4px;
  border-radius: 4px;
}
.p-svc-compare__frame {
  margin-top: 14px;
  aspect-ratio: 397 / 261;
}
.p-svc-compare__label {
  padding: 1px 3px;
  font-size: 12px;
}
.p-svc-compare__label--before {
  left: 8px;
}
.p-svc-compare__label--after {
  right: auto;
  left: calc(50% + 8px);
}
.p-svc-compare__caps {
  margin-top: 0;
  font-size: 11px;
  color: #5a6b7b;
}

/* ---------- 商材の特徴（2219:7310: 枠を 1px 重ねて縦に連結・すべて開いた状態） ---------- */
.p-svc-features__list {
  gap: 0;
}
.p-svc-feature {
  padding: 23px 26px;
}
.p-svc-feature + .p-svc-feature {
  margin-top: -1px;
}
.p-svc-feature__head,
.p-svc-feature__head.has-thumb {
  grid-template-columns: 69px 80px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 0;
  padding: 0;
}
.p-svc-feature__num {
  position: relative;
  grid-column: 1;
  padding: 0;
  border: 0;
  font-size: 33px;
  line-height: 1.7;
}
.p-svc-feature__num::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 51px;
  width: 1.5px;
  height: 27px;
  background: var(--c-blue);
}
.p-svc-feature__thumb {
  grid-column: 2;
  width: 80px;
  height: 60px;
  margin-top: 2px;
  aspect-ratio: auto;
  border-radius: 4px;
}
.p-svc-feature__title,
.p-svc-feature__head.has-thumb .p-svc-feature__title {
  grid-column: 3;
  margin-left: 25px;
  font-size: 18px;
  line-height: 1.7;
}
.p-svc-feature__toggle {
  grid-column: 4;
  width: 18px;
  margin-top: 8px;
}
.p-svc-feature__toggle::before,
.p-svc-feature__toggle::after {
  width: 18px;
}
.p-svc-feature__body {
  display: flex;
  align-items: flex-start;
  gap: 23px;
  padding: 26px 24px 10px 69px;
}
.p-svc-feature__text {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.7;
}
.p-svc-feature__figs {
  flex-direction: row;
  flex-shrink: 0;
  gap: 23px;
}
.p-svc-feature__imgs {
  display: flex;
  gap: 23px;
}
.p-svc-feature__imgs .p-svc-zoom {
  width: 291px;
  height: 218px;
}
.p-svc-feature__img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 写真（4:3）も図も切らずに 291x218 枠へ */
  border-radius: 4px;
}

/* ---------- 対象・適用素材・工事内容（2219:7318: 287幅のカードを中央寄せ） ---------- */
.p-svc-targets__list {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.p-svc-target {
  flex: 0 0 287px;
  min-height: 301px;
  padding: 30px 49px 30px 40px; /* 本文幅 198（Figma） */
}
.p-svc-target__title {
  gap: 22px;
  font-size: 16px;
  line-height: 1.7;
}
.p-svc-target__title img {
  width: 34px;
  height: 34px;
}
.p-svc-target__items {
  margin-top: 19px;
  font-size: 16px;
  line-height: 1.7;
}
.p-svc-target__items li.is-plain {
  padding-left: 0;
  text-indent: 0;
}
.p-svc-target__items li.is-plain::before {
  content: none;
}
.p-svc-target__items li.is-note {
  font-size: 14px;
}
.p-svc-intro__fig img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ---------- 施工事例 ---------- */
.p-svc-works__more {
  margin-top: 36px;
}

/* ---------- 導入実績・認定（シーリングマジック 2219:7334） ---------- */
.p-svc-proof {
  padding: 58px 0 66px;
}
.p-svc-proof .p-svc-head {
  margin-bottom: 35px;
}
.p-svc-stats {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 115px;
  max-width: none;
  margin: 0;
}
.p-svc-stat {
  gap: 13px;
}
.p-svc-stat__icon {
  width: 88px;
  height: 88px;
}
.p-svc-stat__label {
  margin-top: 0;
  font-size: 18px;
  color: #5a6b7b;
}
.p-svc-stat__value {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.35;
}
.p-svc-stat__value em {
  font-size: 28px;
  font-weight: 800;
}
.p-svc-certs {
  gap: 35px;
  margin-top: 65px;
}
.p-svc-cert {
  min-height: 279px;
  padding: 12px 14px;
  border-radius: 6px;
}
.p-svc-cert__body {
  gap: 20px;
  margin-top: 7px;
}
.p-svc-cert__img {
  width: 137px;
}
.p-svc-cert__text {
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- 関連製品・関連コンテンツ ---------- */
.p-svc-related .p-svc-head {
  margin-bottom: 37px;
}
.p-svc-related__row {
  justify-content: space-between;
  gap: 60px;
}
.p-svc-related--cm .p-svc-related__text {
  max-width: 666px;
}
.p-svc-related--cm .p-svc-head {
  margin-bottom: 37px;
}
.p-svc-related__text,
.p-svc-media__text {
  line-height: 1.7;
}
.p-svc-related__title,
.p-svc-media__title {
  margin-bottom: 19px;
  font-weight: 600;
}
.p-svc-related__more,
.p-svc-media__more {
  margin-top: 19px;
}
.p-svc-related--cm .p-svc-related__img {
  flex: 0 0 358px;
}
.p-svc-related--cm .p-svc-related__img img {
  border-radius: 0;
}
.p-svc-media {
  grid-template-columns: minmax(0, 1fr) 455px;
  gap: 60px;
}
.p-svc-media__text {
  max-width: 666px;
}
.p-svc-media__img {
  width: 100%;
  aspect-ratio: 455 / 280;
  object-fit: cover;
}
.p-svc-media .p-svc-compare__frame {
  margin-top: 0;
  aspect-ratio: 452 / 296;
}
.p-svc-media .p-svc-compare__label {
  font-size: 13.6px;
}

/* ---------- 動画・仕様紹介（2本: 4503:27249 / 1本: 4503:27545） ---------- */
.p-svc-video__head {
  margin-bottom: 15px;
}
.p-svc-video__badge {
  gap: 3px;
  min-height: 20px;
  padding: 0 8px 0 7px;
  font-size: 11px;
  line-height: 1.27;
}
.p-svc-video__text {
  line-height: 1.7;
}
.p-svc-video__text + .p-svc-video__cards {
  margin-top: 29px;
}
.p-svc-video__cards.is-media-only {
  grid-template-columns: repeat(auto-fill, minmax(0, 376px));
  gap: 20px;
}
.p-svc-video__cards.is-media-only .p-svc-video__card {
  max-width: none;
  padding: 10px;
  box-shadow: 2px 1px 6px rgba(90, 107, 123, 0.3);
}
.p-svc-video__cards.is-media-only .p-svc-yt__play {
  width: 55px;
  height: 55px;
}
.p-svc-video.is-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 453px;
  grid-template-rows: auto 1fr;
  column-gap: 52px;
}
.p-svc-video.is-row .p-svc-video__head {
  grid-column: 1;
  margin-bottom: 17px;
}
.p-svc-video.is-row .p-svc-video__row {
  display: contents;
}
.p-svc-video.is-row .p-svc-video__text {
  grid-column: 1;
  max-width: 640px;
}
.p-svc-video.is-row .p-svc-video__media {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.p-svc-video.is-row .p-svc-yt {
  aspect-ratio: 453 / 254;
  border-radius: 3px;
}
.p-svc-video__source {
  margin-top: 8px;
  font-size: 14px;
  color: #5a6b7b;
}
.p-svc-video__img {
  width: 100%;
  aspect-ratio: 453 / 254;
  object-fit: cover;
  border-radius: 3px;
}
.p-svc-video__title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
}

/* ---------- 導入までの流れ（2219:7423: 149x282 のカード＋間に矢印） ---------- */
.p-svc-flow {
  padding: 50px 0 62px;
}
.p-svc-flow .p-svc-head {
  margin-bottom: 56px;
}
.p-svc-flow__list {
  display: flex;
  justify-content: center;
  gap: 57px;
}
.p-svc-step {
  flex: 0 0 149px;
  min-height: 282px;
  gap: 23px;
  padding: 15px 13px;
  border-radius: 4px;
}
.p-svc-step + .p-svc-step::before {
  left: -37px;
  width: 17px;
  height: 7px;
}
.p-svc-step__num {
  width: 60px;
  padding-bottom: 20px; /* 数字と下のバーの間 */
  font-size: 34px;
  line-height: 1.24;
}
.p-svc-step__num span {
  font-size: 15px;
  letter-spacing: 0.1em;
}
.p-svc-step__num::before,
.p-svc-step__num::after {
  height: 5px;
  border-radius: 2.5px;
}
.p-svc-step__body {
  width: 100%;
}
.p-svc-step__title {
  font-size: 18px;
  line-height: 1.5;
}
.p-svc-step__text {
  margin-top: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #5a6b7b;
}
.p-svc-step:has(.p-svc-step__note) .p-svc-step__text {
  margin-top: 9px;
}
.p-svc-step__note {
  margin-top: 9px;
  text-align: start;
  color: #5a6b7b;
}

/* ---------- よくある質問（2219:7494: すべて開いた状態） ---------- */
.p-svc-faq .p-svc-head {
  margin-bottom: 27px;
}
.p-svc-faq__list {
  gap: 30px;
}
.p-svc-qa__q {
  grid-template-columns: 16px minmax(0, 1fr) 18px;
  gap: 20px;
  padding: 0 15px 5px;
}
.p-svc-qa__mark {
  font-size: 25px;
  line-height: 1.65;
}
.p-svc-qa__qtext {
  font-size: 16px;
}
.p-svc-qa__toggle {
  width: 18px;
}
.p-svc-qa__toggle::before,
.p-svc-qa__toggle::after {
  width: 18px;
}
.p-svc-qa__a {
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 23px;
  padding: 5px calc(15px + 18px + 20px) 0 15px; /* 右: ＋−（18px）＋間隔（20px）の下に文字を入れない */
}
.p-svc-qa__a .p-svc-qa__mark {
  padding-top: 0;
  line-height: 1.06;
}
.p-svc-qa__a p {
  line-height: 1.7;
}

/* =========================================================
   768〜1024
   ========================================================= */
@media (max-width: 1024px) {
  .p-service-list__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }
  .p-svc-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-svc-compare {
    grid-column: 1;
    grid-row: auto;
    max-width: 560px;
    margin: 40px auto 0;
    width: 100%;
  }
  .p-svc-feature__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-svc-feature__figs {
    max-width: 560px;
  }
  .p-svc-targets__list,
  .p-svc-certs {
    gap: 16px;
  }
  .p-svc-target {
    padding: 24px;
  }
  .p-svc-video__cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-svc-video__card:only-child {
    max-width: none;
  }
  .p-svc-flow__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 30px;
  }
  .p-svc-hero__photo {
    width: 55%;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .p-service-list__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-svc-certs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =========================================================
   SP（≤767px）375 基準
   ========================================================= */
@media (max-width: 767px) {
  /* ----- 一覧 ----- */
  .p-service-list {
    padding-top: 15px; /* パンくず → 絞り込み 19px（Figma） */
    padding-bottom: 209px; /* 最後のカード → CTA（Figma） */
    padding-inline: 21px;
  }
  .p-service-list__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 37px;
    margin-top: 55px;
  }
  .p-service-card {
    gap: 11px;
  }
  .p-service-card__body {
    gap: 7px;
    padding: 0 30px 15px 15px;
  }
  .p-service-list__empty {
    margin-top: 40px;
    font-size: 14px;
  }

  /* ----- 詳細: ヒーロー（375x219） ----- */
  .p-svc-hero {
    min-height: 219px;
    overflow: visible; /* パンくずをヒーローの下に出す（写真の切り抜きは .p-svc-hero__photo 側） */
    margin-bottom: 33px; /* パンくず（下の .p-svc-crumb）の高さ − 本文の上余白 */
  }
  .p-svc-hero__photo {
    overflow: hidden;
    width: 61.4%;
    max-width: 280px;
  }
  .p-svc-hero__inner {
    min-height: 219px;
    padding: 13px 21px 16px;
  }
  .p-svc-hero__title {
    margin-top: 0;
    font-size: 20px;
  }
  .p-svc-hero__logo {
    width: 164px;
  }
  .p-svc-hero__en {
    font-size: 11px;
  }
  .p-svc-hero__catch {
    max-width: none;
    margin-top: 9px;
    font-size: 16px;
  }
  .p-svc-hero:not(.has-logo) .p-svc-hero__photo {
    width: 58%;
  }
  .p-svc-hero:not(.has-logo) .p-svc-hero__photo::before {
    background: linear-gradient(
      90deg,
      var(--hero-bg, var(--svc-pale)) 0%,
      transparent 25%
    ); /* Figma: 写真の左端だけぼかす */
  }
  .p-svc-hero:not(.has-logo):not(.has-sub) .p-svc-hero__title {
    margin-top: 8px;
    font-feature-settings: "palt"; /* Figma: 長いサービス名（3M™ ダイノック™フィルム EXR）も1行に */
    letter-spacing: 0;
  }
  .p-svc-hero:not(.has-logo):not(.has-sub) .p-svc-hero__catch {
    margin-top: 13px;
  }
  /* ボタンはヒーローの下端にそろえる（ロゴ・キャッチの高さによらず同じ位置。Figma 1367:4748 / 3093:26391） */
  .p-svc-hero__btns,
  .p-svc-hero:not(.has-logo):not(.has-sub) .p-svc-hero__btns {
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 10px;
  }
  .p-svc-hero__btn.c-btn {
    gap: 9px;
    width: 156px;
    padding: 7.1px 13px 7.1px 15px;
    border-radius: 2.4px;
    font-size: 9.5px;
  }
  .p-svc-hero__btn .c-btn__icon {
    width: 10.7px;
    height: 10.7px;
  }
  /* パンくず: SP はヒーローの下（Figma 1367:4748） */
  .p-svc-hero__crumb {
    top: 100%;
  }
  .p-svc-crumb {
    padding: 14px 0 18px;
  }
  .p-svc-crumb .c-breadcrumb__list {
    font-size: 11px;
  }

  /* ----- 共通 ----- */
  .p-svc-body {
    gap: 60px;
    padding-top: 15px;
    padding-bottom: 198px; /* よくある質問 → CTA（Figma 約200） */
  }
  .p-svc-body > .l-container,
  .p-svc-proof > .l-container,
  .p-svc-flow > .l-container {
    padding-inline: 21px;
  }
  .p-svc-head {
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
  }
  .p-svc-head::before {
    width: 3px;
    height: 25px;
  }

  /* ----- ○○とは ----- */
  .p-svc-intro__lead {
    font-size: 14px;
  }
  .p-svc-intro__more {
    margin-top: 14px;
  }
  .p-svc-intro__text {
    font-size: 14px;
    line-height: 1.7;
  }
  [data-svc-more].is-clamp:not(.is-open) .p-svc-intro__text {
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .p-svc-intro__toggle {
    margin-top: 14px;
    color: rgba(27, 95, 168, 0.38);
  }
  .p-svc-compare {
    max-width: none;
    margin-top: 28px;
  }
  .p-svc-compare__title {
    padding: 3px;
    font-size: 13.4px;
  }
  .p-svc-compare__frame {
    margin: 10px 2px 0;
  }
  .p-svc-compare__label {
    top: 8px;
    padding: 0.8px 4px;
    border-radius: 3.3px;
    font-size: 9.9px;
  }
  .p-svc-compare__label--before {
    left: 10px;
  }
  .p-svc-compare__label--after {
    right: auto;
    left: calc(50% + 8px);
  }
  .p-svc-compare__handle::after {
    width: 23px;
    height: 23px;
    font-size: 11px;
  }
  .p-svc-compare__caps {
    gap: 4px;
    margin: 5px 2px 0;
    font-size: 9.2px;
  }

  /* ----- 商材の特徴（350幅, 左右に8pxはみ出し） ----- */
  .p-svc-features__list {
    gap: 20px;
    margin-inline: -8px;
  }
  .p-svc-feature {
    border-radius: 1.3px;
    padding: 0 4px 10px;
  }
  .p-svc-feature__head {
    grid-template-columns: 38.5px minmax(0, 1fr) 14px;
    column-gap: 10px;
    align-items: start;
    padding: 0 12px 0 8px;
  }
  .p-svc-feature__num {
    position: relative;
    padding: 0;
    border: 0;
    font-family: var(--ff-base);
    font-size: 25.7px;
    line-height: 1.7;
  }
  .p-svc-feature__num::after {
    content: "";
    position: absolute;
    top: 13px;
    right: 0;
    width: 1.5px;
    height: 21px;
    background: var(--c-blue);
  }
  .p-svc-feature__title,
  .p-svc-feature__head.has-thumb .p-svc-feature__title {
    padding-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }
  .p-svc-feature__toggle {
    margin-top: 13px;
  }
  /* 画像あり: 1行目に番号・見出し・＋−、2行目に画像（110x85）。PC の4列指定（.has-thumb）より優先させる */
  .p-svc-feature__head.has-thumb {
    grid-template-columns: 38.5px minmax(0, 1fr) 14px;
    align-items: start;
    gap: 6px 10px;
    padding: 0 12px 0 8px;
  }
  .p-svc-feature__head.has-thumb .p-svc-feature__num {
    grid-area: 1 / 1;
  }
  .p-svc-feature__head.has-thumb .p-svc-feature__title {
    grid-area: 1 / 2;
    margin-left: 0;
  }
  .p-svc-feature__head.has-thumb .p-svc-feature__toggle {
    grid-area: 1 / 3;
  }
  .p-svc-feature__head.has-thumb .p-svc-feature__thumb {
    grid-area: 2 / 1 / 3 / -1;
    width: 110px;
    height: 85px;
    margin: 0 0 0 -2px;
    aspect-ratio: auto;
    border-radius: 4px;
  }
  /* 閉じた状態: 画像の右に本文の冒頭（3行で省略。Figma 3086:2113） */
  .p-svc-feature__excerpt.u-sp-only {
    display: none;
  }
  .p-svc-feature:not([open]) .p-svc-feature__excerpt.u-sp-only,
  .p-svc-feature.is-closing .p-svc-feature__excerpt.u-sp-only {
    grid-area: 2 / 1 / 3 / -1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 14px 0 117px;
    color: var(--c-text-sub);
    font-size: 11px;
    font-weight: 400;
    line-height: 18px;
  }
  .p-svc-feature__body {
    gap: 17px;
    padding: 17px 13px 0;
  }
  .p-svc-feature__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-feature__text p + p {
    margin-top: 1.7em;
  }
  .p-svc-feature__figs {
    max-width: none;
  }

  /* ----- 対象（横スクロール 240幅） ----- */
  .p-svc-targets__wrap {
    margin-right: -21px;
  }
  .p-svc-targets__list {
    display: flex;
    gap: 13.4px;
    overflow-x: auto;
    padding-right: 21px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .p-svc-targets__list::-webkit-scrollbar {
    display: none;
  }
  .p-svc-target {
    flex: 0 0 240px;
    min-height: 264px;
    padding: 25px 16px 25px 33.5px;
    scroll-snap-align: start;
  }
  .p-svc-target__title {
    gap: 19px;
    font-size: 16px;
    line-height: 1.7;
  }
  .p-svc-target__title img {
    width: 28px;
    height: 28px;
  }
  .p-svc-target__items {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-targets__hint {
    position: absolute;
    top: 99px;
    left: 225px;
    display: block;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .p-svc-targets__wrap.is-swiped .p-svc-targets__hint {
    opacity: 0;
  }

  /* ----- 施工事例（210幅） ----- */
  .p-svc-works__slider {
    --slider-btn-top-sp: 79px;
  }
  .p-svc-works__slide {
    width: 210px;
  }
  .p-svc-works__slider .c-slider-dots {
    margin-top: 27px;
  }
  .p-svc-works__more {
    margin-top: 15px;
  }

  /* ----- 導入実績・認定 ----- */
  .p-svc-proof {
    padding: 36px 0 40px;
  }
  .p-svc-proof .p-svc-head {
    margin-bottom: 35px;
  }
  /* 列幅は中身に合わせ、両端揃え（Figma: 3列目の数値 134px が右に 6px はみ出す） */
  .p-svc-stats {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 5px;
    margin: 0 -6px 0 0;
  }
  .p-svc-stat__icon {
    width: 51.5px;
    height: 51.5px;
  }
  .p-svc-stat__label {
    margin-top: 7.6px;
    font-size: 12px;
  }
  .p-svc-stat__value {
    margin-top: 6px;
    font-size: 10.5px;
    line-height: 1.4;
    white-space: nowrap;
  }
  .p-svc-stat__value em {
    font-size: 1.56em;
  }
  .p-svc-certs {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    margin-top: 33px;
  }
  .p-svc-cert {
    padding: 8.4px 9.7px 14px;
    border-width: 0.7px;
    border-radius: 4.2px;
  }
  .p-svc-cert__title {
    font-size: 16px;
  }
  .p-svc-cert__body {
    gap: 13.9px;
    margin-top: 5px;
  }
  .p-svc-cert__img {
    width: 91px;
  }
  .p-svc-cert__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-proof__dl {
    margin-top: 22px;
    gap: 9px;
  }
  .p-svc-proof__dl .c-more__icon {
    width: 21px;
    height: 21px;
  }

  /* ----- 共通ブロック（テキスト → 画像の縦並び） ----- */
  .p-svc-media {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .p-svc-media__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-media__title {
    margin-bottom: 0; /* Figma: 小見出しのすぐ下に本文 */
    font-size: 14px;
  }
  .p-svc-yt__play {
    width: 52px;
    height: 52px;
  }

  /* ----- 関連製品 ----- */
  .p-svc-related .p-svc-head {
    margin-bottom: 16px;
  }
  .p-svc-related__row {
    display: block;
  }
  .p-svc-related__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-related__title {
    margin-bottom: 0; /* Figma: 小見出しのすぐ下に本文 */
    font-size: 14px;
    font-weight: 600;
  }
  .p-svc-related__img {
    margin-top: 22px;
  }
  .p-svc-related__more {
    margin-top: 21px;
  }
  /* シーリングマジック: 本文 → 画像 → リンクの順（Figma 1367:4748） */
  .p-svc-related--cm .p-svc-related__row {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .p-svc-related--cm .p-svc-related__img {
    flex: none;
  }
  .p-svc-related--cm .p-svc-related__text {
    display: contents;
  }
  .p-svc-related--cm .p-svc-related__more {
    order: 1;
    margin-top: 17px;
  }

  /* ----- 動画 ----- */
  .p-svc-video__head {
    gap: 12px;
    margin-bottom: 22px;
  }
  .p-svc-video__badge {
    gap: 3px;
    padding: 2px 10px 2px 6px;
    font-size: 11px;
    line-height: 1.27;
  }
  .p-svc-video__text {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-video__points {
    gap: 10px;
  }
  .p-svc-video__points li {
    gap: 11px;
    min-height: 24px;
  }
  .p-svc-video__points li::before {
    width: 23px;
    height: 23px;
  }
  .p-svc-video__text + .p-svc-video__cards {
    margin-top: 20px;
  }
  .p-svc-video__cards {
    gap: 24px;
  }
  .p-svc-video__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none; /* Figma: 枠・影なしで動画だけ（335x188） */
  }
  .p-svc-video__media .p-svc-yt {
    border-radius: 0;
  }
  .p-svc-video__info {
    padding: 0 6px;
  }
  .p-svc-video__caption {
    margin-top: 14px;
    font-size: 14px;
  }

  /* ----- 導入までの流れ ----- */
  .p-svc-flow {
    padding: 20px 0 28px;
  }
  .p-svc-flow .p-svc-head {
    margin-bottom: 32px;
  }
  .p-svc-flow__list {
    display: flex;
    flex-direction: column;
    gap: 21px;
  }
  .p-svc-step {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    align-items: start;
    gap: 0;
    min-height: 85px;
    padding: 12px 18px 10px 22px;
    border-radius: 2.9px;
    text-align: left;
  }
  .p-svc-step + .p-svc-step::before {
    top: -14px;
    left: 50%;
    width: 12.2px;
    height: 5px;
    transform: translateX(-50%);
  }
  .p-svc-step__num {
    width: 43px;
    padding-bottom: 7px;
    font-size: 24.4px;
    line-height: 1.2;
  }
  .p-svc-step__num span {
    font-size: 10.8px;
    line-height: 1.6;
  }
  .p-svc-step__num::before,
  .p-svc-step__num::after {
    height: 3.6px;
  }
  .p-svc-step__body {
    padding-top: 7px;
  }
  .p-svc-step:has(.p-svc-step__note) .p-svc-step__body {
    padding-top: 1px;
  }
  .p-svc-step__title {
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-step__title br {
    display: none; /* Figma: SP は1行（データの改行は PC 用） */
  }
  .p-svc-step:has(.p-svc-step__note) .p-svc-step__text {
    margin-top: 5px;
  }
  .p-svc-step__text {
    margin-top: 5px;
    font-size: 11px;
  }
  .p-svc-step__note {
    margin-top: 0;
    font-size: 9px;
    line-height: 1.2;
  }

  /* ----- FAQ（351幅） ----- */
  .p-svc-faq .p-svc-head {
    margin-bottom: 14px;
  }
  .p-svc-faq__list {
    gap: 2px;
    margin-inline: -8px;
  }
  .p-svc-qa__q {
    grid-template-columns: 16px minmax(0, 1fr) 14px;
    gap: 10px;
    padding: 0 0 11px 8px;
    border-bottom-width: 1px;
  }
  .p-svc-qa__mark {
    font-size: 21px;
  }
  .p-svc-qa__qtext {
    font-size: 14px;
  }
  .p-svc-qa__a {
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 4px 0 8px; /* Figma SP: 回答は＋−の下まで広げる */
  }
  .p-svc-qa__a p {
    font-size: 14px;
    line-height: 1.7;
  }
}
@media (max-width: 374px) {
  .p-svc-stats {
    margin-right: -4px;
  }
  .p-svc-stat__value {
    font-size: 9.5px;
    white-space: normal;
  }
}

/* =========================================================
   PC デザイン更新分のレスポンシブ調整（上の「PC デザイン」ブロックの戻し）
   ========================================================= */
@media (max-width: 1024px) {
  .p-svc-feature__body {
    flex-direction: column;
  }
  .p-svc-feature__figs,
  .p-svc-feature__imgs {
    flex-wrap: wrap;
  }
  .p-svc-flow__list {
    flex-wrap: wrap;
    row-gap: 30px;
  }
  .p-svc-video.is-row {
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 32px;
  }
  .p-svc-stats {
    gap: 40px;
  }
}
@media (max-width: 767px) {
  .p-service-card__img {
    aspect-ratio: 333 / 213;
  }
  .p-svc-hero__logo {
    height: 60px; /* ロゴは 164x60 の枠に上下中央（Figma: 横長のロゴも同じ位置に） */
    max-height: 60px;
    margin: 0;
    object-fit: contain;
    object-position: left center;
  }
  .p-svc-hero__title {
    font-size: 24px; /* ロゴ無し（TSメタルコート 3093:26391） */
  }
  .p-svc-hero__catch,
  .p-svc-hero:not(.has-logo) .p-svc-hero__catch {
    max-width: none;
    margin-top: 9px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
  }
  .p-svc-target__items li.is-note {
    font-size: 12px;
  }
  .p-svc-feature + .p-svc-feature {
    margin-top: 0;
  }
  .p-svc-feature__num::after {
    left: auto;
  }
  .p-svc-feature__thumb {
    grid-column: auto;
    width: auto;
    height: 60px;
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }
  .p-svc-feature__title {
    grid-column: auto;
    margin-left: 0;
  }
  .p-svc-feature__toggle {
    grid-column: auto;
    width: 14px;
  }
  .p-svc-feature__toggle::before,
  .p-svc-feature__toggle::after,
  .p-svc-qa__toggle::before,
  .p-svc-qa__toggle::after {
    width: 14px;
  }
  .p-svc-qa__toggle {
    width: 14px;
  }
  .p-svc-feature__figs,
  .p-svc-feature__imgs {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .p-svc-feature__imgs .p-svc-zoom {
    width: 100%;
    height: auto;
    aspect-ratio: 291 / 218;
  }
  .p-svc-targets__list {
    justify-content: flex-start;
  }
  .p-svc-stats {
    display: grid;
    gap: 5px;
  }
  .p-svc-stat {
    gap: 0;
  }
  .p-svc-cert {
    min-height: 0;
  }
  .p-svc-related--cm .p-svc-related__img {
    margin-top: 22px;
  }
  .p-svc-related--cm .p-svc-related__img img {
    width: 100%;
  }
  .p-svc-media .p-svc-compare__label {
    font-size: 9.9px;
  }
  .p-svc-video__cards.is-media-only {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .p-svc-video__cards.is-media-only .p-svc-video__card {
    padding: 0;
    box-shadow: none; /* Figma: 枠・影なしで動画だけ（335x188） */
  }
  .p-svc-video.is-row {
    display: block;
  }
  .p-svc-video.is-row .p-svc-video__head {
    margin-bottom: 22px;
  }
  .p-svc-video.is-row .p-svc-video__media {
    margin-top: 20px;
  }
  .p-svc-video__title {
    margin-bottom: 0;
    font-size: 14px;
  }
  .p-svc-step {
    flex: none;
  }
  .p-svc-flow__list {
    flex-wrap: nowrap;
    row-gap: 21px;
  }
}

/* =========================================================
   ○○とは: 右側をサービス専用の図にするとき（template-parts/service/{slug}/intro-aside.php 例: 防カビ薬品の 3STEP 図）
   ========================================================= */
.p-svc-intro.has-aside {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 40px;
}
.p-svc-intro > .p-svc-intro__aside {
  grid-column: 2;
  grid-row: 1 / span 3;
  margin-top: 76px; /* Figma: 見出し上端 → 図 76px */
}
@media (max-width: 1024px) {
  .p-svc-intro.has-aside {
    grid-template-columns: minmax(0, 1fr);
  }
  .p-svc-intro > .p-svc-intro__aside {
    grid-column: 1;
    grid-row: auto;
    margin: 40px auto 0;
  }
}
@media (max-width: 767px) {
  .p-svc-intro > .p-svc-intro__aside {
    width: 100%;
    margin-top: 28px;
  }
}

/* =========================================================
   CASE「このようなお悩みから採用されています」（template-parts/service/cases.php / Figma 4325:14316・4325:14357）
   背景は .p-svc-proof と共通
   ========================================================= */
.p-svc-cases {
  padding: 58px 0 92px;
}
.p-svc-proof.p-svc-cases .p-svc-head {
  margin-bottom: 51px;
}
.p-svc-cases__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.p-svc-case {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  min-height: 142px;
  padding: 16px 24px 24px 23px;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  background: var(--c-white);
}
.p-svc-case__icon {
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  margin-top: 12px;
}
.p-svc-case__body {
  min-width: 0;
}
.p-svc-case__num {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--c-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-case__num::after {
  content: "";
  width: 66px;
  height: 1px;
  background: var(--c-blue);
}
.p-svc-case__text {
  max-width: 391px;
  margin-top: 2px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-case__text em {
  font-style: normal;
  color: var(--c-blue);
}
@media (max-width: 1024px) {
  .p-svc-cases__list {
    gap: 16px;
  }
  .p-svc-case__text {
    font-size: 18px;
  }
}
@media (max-width: 767px) {
  .p-svc-cases {
    padding: 36px 0 40px;
  }
  .p-svc-proof.p-svc-cases .p-svc-head {
    margin-bottom: 20px;
  }
  .p-svc-cases__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .p-svc-case {
    gap: 14px;
    min-height: 0;
    padding: 12px 14px 16px;
  }
  .p-svc-case__icon {
    width: 56px;
    height: 56px;
    margin-top: 8px;
  }
  .p-svc-case__num {
    gap: 10px;
    font-size: 12px;
  }
  .p-svc-case__num::after {
    width: 44px;
  }
  .p-svc-case__text {
    font-size: 15px;
  }
}

/* =========================================================
   内装／外装一式工事・3M 採用事例（PICK UP）（Figma 2858:9807 / 2988:20718 / 3785:20505 / 4648:29332）
   ========================================================= */
/* バー無しの大見出し（一式の紹介・関連、採用事例） */
.p-svc-head--lg {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-text);
}

/* ---------- ヒーロー: タイトル上の一文・英字サブ（一式工事 2899:12264） ---------- */
.p-svc-hero.has-sub .p-svc-hero__inner {
  padding-top: 93px;
}
.p-svc-hero__lead {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}
.p-svc-hero.has-sub .p-svc-hero__title {
  margin-top: 5px;
  color: var(--c-text); /* 内装一式・外装一式: 周りのテキストと同じ黒 */
}
.p-svc-hero__sub {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--ff-en);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
}
.p-svc-hero__sub::before,
.p-svc-hero__sub::after {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}
.p-svc-hero.has-sub .p-svc-hero__btns {
  margin-top: 49px;
}

/* ---------- 一式: 紹介・関連（左テキスト／右写真 460） ---------- */
.p-svc-reno-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  column-gap: 24px;
  align-items: start;
}
.p-svc-reno-intro.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}
.p-svc-body > .p-svc-reno-intro:first-child {
  margin-top: 56px; /* ヒーロー下 102px */
}
.p-svc-reno-intro__text {
  max-width: 652px;
}
.p-svc-reno-intro__lead {
  margin-top: 13px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-blue);
}
.p-svc-reno-intro__body {
  margin-top: 12px;
  line-height: 1.7;
}
.p-svc-reno-intro__fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.p-svc-reno-related {
  margin-top: 11px; /* 保有資格の下 111px */
}
.p-svc-reno-related__more {
  margin-top: 15px;
}

/* ---------- 一式: 対応可能な工事範囲（カード 365・タグ 143×50） ---------- */
.p-svc-scope .p-svc-head {
  margin-bottom: 14px;
}
.p-svc-scope__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 365px));
  gap: 31px 20px;
  align-items: start;
}
.p-svc-scope__list.is-equal .p-svc-scope__card {
  min-height: var(--scope-h, 0px); /* 閉じた状態の高さを行内でそろえる（service.js）。開いたカードだけ伸びる */
}
.p-svc-scope__card {
  position: relative;
  padding: 28px 33px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: var(--c-white);
}
.p-svc-scope__card.has-tags {
  background: #f1f5f9;
}
.p-svc-scope__title {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-right: 30px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--c-text);
}
.p-svc-scope__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.p-svc-scope__text {
  max-width: 274px;
  margin-top: 19px;
  font-weight: 500;
  line-height: 1.65;
}
.p-svc-scope__toggle {
  position: absolute;
  top: 29px;
  right: 22px;
  width: 40px;
  height: 40px;
  list-style: none;
  cursor: pointer;
}
.p-svc-scope__toggle::-webkit-details-marker {
  display: none;
}
.p-svc-scope__toggle::before,
.p-svc-scope__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 11px;
  width: 18px;
  height: 2px;
  margin-top: -1px;
  background: var(--c-blue);
  transition: transform 0.25s var(--ease); /* 商材の特徴・よくある質問と同じ */
}
.p-svc-scope__more:not([open]) .p-svc-scope__toggle::after,
.p-svc-scope__more.is-closing .p-svc-scope__toggle::after {
  transform: rotate(90deg); /* 閉じているとき・閉じるアニメーション中は「＋」 */
}
.p-svc-scope__tags {
  display: grid;
  grid-template-columns: repeat(2, 143px);
  gap: 10px 13px;
  margin-top: 19px;
}
.p-svc-scope__tags li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 4px;
  border-radius: 4px;
  background: var(--c-white);
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  color: var(--c-blue);
}

/* ---------- 一式: 対象施設・用途（タイル 144×105・ニーズカード） ---------- */
.p-svc-facil .p-svc-head {
  margin-bottom: 40px;
}
.p-svc-facil__types {
  display: flex;
  align-items: center;
  gap: 16px;
}
.p-svc-facil__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-svc-facil__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 144px;
  height: 105px;
  padding-top: 13px;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  background: var(--c-white);
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
  color: var(--c-blue);
}
.p-svc-facil__tile span {
  margin-top: 1px;
}
.p-svc-facil__etc,
.p-svc-licenses__etc {
  margin-left: auto;
  font-weight: 500;
  line-height: 1.7;
  white-space: nowrap;
}
.p-svc-facil__needs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
  margin-top: 33px;
}
.p-svc-facil__need {
  min-height: 160px;
  padding: 14px 23px 12px;
  border-radius: 4px;
  background: #f1f5f9;
}
.p-svc-facil__need-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--c-blue);
}
.p-svc-facil__need-text {
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.7;
}

/* ---------- 一式: 保有資格 ---------- */
.p-svc-licenses .p-svc-head {
  margin-bottom: 28px;
}
.p-svc-licenses__row {
  display: flex;
  align-items: center;
  gap: 49px;
  max-width: 938px;
  margin-left: 55px;
}
.p-svc-licenses__icon {
  flex-shrink: 0;
}
.p-svc-licenses__list {
  display: flex;
  align-items: center;
  gap: 70px; /* Figma 2899:12134: 資格名の間隔（区切り線は中央） */
  font-feature-settings: normal; /* Figma どおり字詰めなし */
}
.p-svc-licenses__list li {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.65;
  text-align: center;
  white-space: nowrap;
  color: var(--c-blue);
}
.p-svc-licenses__list li + li {
  position: relative;
}
.p-svc-licenses__list li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -35px;
  width: 1px;
  height: 26px;
  margin-top: -13px;
  background: #c8d3df;
}
.p-svc-licenses__etc {
  margin-left: 0;
}

/* ---------- 一式: 導入までの流れ 8ステップ（カード 134×197・間隔 19。1205px はコンテナより広い） ---------- */
.p-svc-flow.is-compact .p-svc-flow__list {
  gap: 19px;
  margin-inline: calc((100% - min(1205px, 100vw - 40px)) / 2);
}
.p-svc-flow.is-compact .p-svc-step {
  flex: 0 1 134px;
  min-width: 0;
  min-height: 197px;
}
.p-svc-flow.is-compact .p-svc-step + .p-svc-step::before {
  left: -18px;
}
.p-svc-flow.is-compact .p-svc-step__title {
  line-height: 1.7;
}

/* ---------- 3M 採用事例（PICK UP カード 1139） ---------- */
.p-svc-pick__lead {
  margin-top: 12px;
  line-height: 1.7;
}
.p-svc-pick__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 615px;
  column-gap: 10px;
  margin-top: 12px;
  padding: 21px 31px 21px 30px;
  border: 1px solid #dce3ea;
  border-radius: 4px;
  background: #f1f5f9;
}
.p-svc-pick.is-gallery .p-svc-pick__card {
  margin-top: 24px;
}
.p-svc-pick__badge {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 1px 14px 3px;
  border-radius: 6px;
  background: var(--c-blue-dark);
  font-family: var(--ff-en);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-white);
}
.p-svc-pick__product {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 40px;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-pick__product img {
  flex-shrink: 0;
}
.p-svc-pick__title {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-blue-dark);
}
.p-svc-pick__text {
  margin-top: 16px;
  line-height: 1.7;
}
.p-svc-pick__facts {
  display: grid;
  grid-template-columns: 123px 199px 130px; /* 区切り線の位置（Figma 3785:20519） */
  max-width: 452px;
  margin-top: 25px;
  text-align: center;
}
.p-svc-pick__facts > div {
  min-height: 113px;
  padding-top: 0;
}
.p-svc-pick__facts > div + div {
  border-left: 1px solid #c8d3df;
}
.p-svc-pick__facts dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  font-weight: 700;
  line-height: 1.7;
}
.p-svc-pick__facts dt {
  min-height: 69px;
}
.p-svc-pick__facts dt img {
  margin-bottom: 4px;
}
.p-svc-pick__facts dd {
  font-size: 14px;
  line-height: 1.7;
}
.p-svc-pick__facts dd.is-tight {
  margin-top: 4px;
  line-height: 1.3;
  white-space: nowrap;
}
.p-svc-pick__more {
  margin-top: 17px;
  padding-left: 13px;
}
.p-svc-pick__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
.p-svc-pick__fig.is-main {
  aspect-ratio: 615 / 281;
}
.p-svc-pick__sub {
  display: grid;
  grid-template-columns: 207px 146px minmax(0, 1fr);
  column-gap: 7px;
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.5;
}
.p-svc-pick__comment {
  font-size: 14px;
  line-height: 1.5;
}
.p-svc-pick__before img {
  width: 125px;
  height: 84px;
}
.p-svc-pick__before figcaption {
  margin-top: 2px;
}
.p-svc-pick__company {
  position: relative;
  min-height: 140px;
}
.p-svc-pick__company-text p + p {
  margin-top: 6px;
}
.p-svc-pick__company-name {
  font-size: 14px;
  font-weight: 700;
}
.p-svc-pick__company-img {
  position: absolute;
  top: 73px;
  right: 0;
  width: 97px !important;
  height: 70px !important;
}
/* ダイノック: 縦並びのポイント・写真3枚（ラベル付き） */
.p-svc-pick.is-gallery .p-svc-pick__text {
  max-width: 423px;
  margin-top: 17px;
}
.p-svc-pick__points {
  max-width: 310px;
  margin-top: 14px;
}
.p-svc-pick__points li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 0 6px 3px;
}
.p-svc-pick__points li + li {
  border-top: 1px solid #c8d3df;
}
.p-svc-pick__points img {
  flex-shrink: 0;
  margin-top: 4px;
}
.p-svc-pick__points p {
  font-size: 14px;
  line-height: 1.7;
  white-space: nowrap;
}
.p-svc-pick__points strong {
  display: block;
  font-size: 16px;
}
.p-svc-pick__meta {
  margin-top: 14px;
  padding-left: 2px;
  font-size: 12px;
  line-height: 1.68;
}
.p-svc-pick.is-gallery .p-svc-pick__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 17px;
  align-content: start;
}
.p-svc-pick.is-gallery .p-svc-pick__fig {
  position: relative;
  aspect-ratio: 299 / 201;
}
.p-svc-pick.is-gallery .p-svc-pick__fig.is-main {
  grid-column: 1 / -1;
  aspect-ratio: 615 / 281;
}
.p-svc-pick__label {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 14px 7px;
  border-radius: 6px;
  background: var(--c-blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--c-white);
}

@media (max-width: 1024px) {
  .p-svc-scope__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-svc-facil__needs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p-svc-licenses__row {
    flex-wrap: wrap;
    margin-left: 0;
  }
  .p-svc-licenses__list {
    flex-wrap: wrap;
  }
  .p-svc-pick__card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }
}
@media (max-width: 767px) {
  .p-svc-head--lg {
    font-size: 22px;
  }
  /* 一式工事のヒーロー（Figma 3093:21332 / 3093:29556）: 上の一文 → サービス名 → 英字サブ → ボタン（下端） */
  .p-svc-hero.has-sub .p-svc-hero__inner {
    padding-top: 16px;
  }
  .p-svc-hero__lead {
    max-width: 14.5em;
    font-size: 14px;
    line-height: 24px;
  }
  .p-svc-hero.has-sub .p-svc-hero__title {
    margin-top: 7px;
    font-size: 23px;
  }
  .p-svc-hero.has-sub .p-svc-hero__catch {
    display: none; /* Figma SP は上の一文だけ（同じ文言の重複を出さない） */
  }
  .p-svc-hero__sub {
    gap: 6px;
    margin-top: 4px;
    font-size: 11px;
  }
  .p-svc-hero__sub::before,
  .p-svc-hero__sub::after {
    width: 18px;
  }
  .p-svc-hero.has-sub .p-svc-hero__btns {
    margin-top: auto;
  }
  .p-svc-body > .p-svc-reno-intro:first-child {
    margin-top: 0;
  }
  .p-svc-reno-intro {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .p-svc-reno-intro__lead {
    margin-top: 19px;
    font-size: 14px;
    line-height: 1.7;
  }
  .p-svc-reno-intro__body {
    font-size: 14px;
  }
  .p-svc-reno-related {
    margin-top: 0;
  }
  .p-svc-reno-related .p-svc-reno-intro__body {
    margin-top: 19px;
  }
  .p-svc-reno-related__more {
    margin-top: 18px;
  }
  /* 対応可能な工事範囲（Figma 3093:21332: アイコン 30・青見出し 16px・タグ 130x47） */
  .p-svc-scope .p-svc-head {
    margin-bottom: 18px;
  }
  .p-svc-scope__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }
  .p-svc-scope__card {
    padding: 30px 30px 29px 31px;
  }
  .p-svc-scope__title {
    gap: 13px;
    font-size: 16px;
    color: var(--c-blue);
  }
  .p-svc-scope__icon {
    width: 30px;
    height: 30px;
  }
  .p-svc-scope__toggle {
    top: 25px;
    right: 18px;
  }
  .p-svc-scope__text {
    max-width: none;
    margin-top: 20px;
    font-size: 14px;
  }
  .p-svc-scope__tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
    margin-top: 19px;
  }
  .p-svc-scope__tags li {
    min-height: 47px;
    padding: 8px 4px;
    font-size: 14px;
  }
  /* 対象施設・用途（Figma 3093:21332: タイル 4列 80x59・「など」は最後のタイルの次のマス） */
  .p-svc-facil .p-svc-head {
    margin-bottom: 18px;
  }
  .p-svc-facil__types {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 6px 5px;
  }
  .p-svc-facil__tiles {
    display: contents;
  }
  .p-svc-facil__tile {
    width: auto;
    height: 59px;
    padding-top: 9px;
    font-size: 10px;
    line-height: 1.5;
    white-space: nowrap;
  }
  .p-svc-facil__tile img {
    width: 30px;
    height: 30px;
  }
  .p-svc-facil__tile span {
    margin-top: 4px;
  }
  .p-svc-facil__etc {
    margin-left: 11px;
    font-size: 12px;
  }
  .p-svc-facil__needs {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
    margin-top: 19px;
  }
  .p-svc-facil__need {
    min-height: 0;
    padding: 9px 22px 8px;
  }
  .p-svc-facil__need-title {
    min-height: 0;
    font-size: 16px;
  }
  .p-svc-facil__need-title br,
  .p-svc-facil__need-text br {
    display: none; /* Figma SP は改行なし（データの改行は PC 用） */
  }
  .p-svc-facil__need-text {
    margin-top: 8px;
    font-size: 14px;
  }
  /* 保有資格（Figma 3093:21332: アイコンなし・資格名を折り返して並べ、右に区切り線。「など」は最後の後ろ） */
  .p-svc-licenses .p-svc-head {
    margin-bottom: 19px;
  }
  .p-svc-licenses__row {
    flex-wrap: wrap;
    gap: 8px 0;
    margin-left: 0;
  }
  .p-svc-licenses__icon {
    display: none;
  }
  .p-svc-licenses__list {
    display: contents;
  }
  .p-svc-licenses__list li {
    position: relative;
    font-size: 14px;
    line-height: 23px;
  }
  .p-svc-licenses__list li:not(:last-child) {
    margin-right: 17px;
  }
  .p-svc-licenses__list li + li::before {
    content: none;
  }
  .p-svc-licenses__list li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 1.5px;
    height: 26px;
    margin-top: -13px;
    background: #a9c3de;
  }
  .p-svc-licenses__etc {
    margin-left: 17px;
    font-size: 16px;
  }
  /* 8ステップも SP は通常の流れと同じカード（Figma 3093:21332: 85px・間隔 21・矢印は中央） */
  .p-svc-flow.is-compact .p-svc-flow__list {
    gap: 21px;
    margin-inline: 0;
  }
  .p-svc-flow.is-compact .p-svc-step {
    flex: none;
    min-height: 85px;
  }
  .p-svc-flow.is-compact .p-svc-step + .p-svc-step::before {
    left: 50%;
  }
  .p-svc-flow.is-compact .p-svc-step__title br {
    display: none;
  }
  .p-svc-pick__card {
    padding: 50px 16px 20px;
  }
  .p-svc-pick__product {
    margin-top: 0;
    font-size: 14px;
  }
  .p-svc-pick__title {
    margin-top: 10px;
    font-size: 22px;
  }
  .p-svc-pick__text,
  .p-svc-pick__lead {
    font-size: 14px;
  }
  .p-svc-pick__text br {
    display: none;
  }
  .p-svc-pick__facts dd {
    font-size: 12px;
  }
  .p-svc-pick__sub {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 14px;
  }
  .p-svc-pick__facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .p-svc-pick__facts dd.is-tight {
    white-space: normal;
  }
  .p-svc-pick__company {
    min-height: 0;
    padding-right: 110px;
  }
  .p-svc-pick__company-img {
    top: 0;
  }
  .p-svc-pick__points p {
    white-space: normal;
  }
  .p-svc-pick.is-gallery .p-svc-pick__media {
    gap: 10px;
  }
  .p-svc-pick__label {
    padding: 2px 8px 3px;
    font-size: 11px;
  }
}

/* =========================================================
   SP: 3M ウインドウフィルム 採用事例（PICK UP）（Figma 3093:19981）
   本文 → 大きい写真 → コメント・会社情報（右に写真）→ 建物用途など → リンク の順。文字は小さめ
   ========================================================= */
@media (max-width: 767px) {
  .p-svc-pick .p-svc-head--lg {
    font-size: 18px;
  }
  .p-svc-pick__lead {
    margin-top: 14px;
    line-height: 24px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 26px;
    padding: 39px 20px 22px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__badge {
    top: 4px;
    left: 4px;
    padding: 1px 9px 2px;
    border-radius: 4px;
    font-size: 12px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__main,
  .p-svc-pick:not(.is-gallery) .p-svc-pick__media {
    display: contents;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__product {
    order: 1;
    gap: 6px;
    font-size: 11px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__product img {
    width: 26px;
    height: auto;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__title {
    order: 2;
    margin-top: 13px;
    font-size: 21px;
    line-height: 1.5;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__text {
    order: 3;
    margin-top: 13px;
    font-size: 11px;
    line-height: 18px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__fig.is-main {
    order: 4;
    margin-top: 11px;
    aspect-ratio: 292 / 189;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__sub {
    order: 5;
    grid-template-columns: minmax(0, 1fr) 106px;
    gap: 12px 16px;
    margin-top: 23px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__comment {
    grid-area: 1 / 1;
    font-size: 10px;
    line-height: 14px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__before {
    grid-area: 1 / 2;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__before img {
    width: 106px;
    height: 71px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__before figcaption {
    margin-top: 6px;
    font-size: 9px;
    line-height: 12px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__company {
    grid-column: 1 / -1;
    min-height: 71px;
    padding-right: 122px;
    font-size: 9px;
    line-height: 11.5px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__company-text p + p {
    margin-top: 4px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__company-name {
    font-size: 11px;
    line-height: 1.5;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__company-img {
    width: 106px !important;
    height: 71px !important;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts {
    order: 6;
    grid-template-columns: 80px minmax(0, 1fr) 77px;
    margin-top: 18px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts dd.is-tight {
    white-space: nowrap;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts > div {
    min-height: 0;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts dt {
    min-height: 0;
    font-size: 11px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts dt img {
    width: auto;
    height: 22px;
    margin-bottom: 8px;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__facts dd {
    font-size: 9px;
    line-height: 1.4;
  }
  .p-svc-pick:not(.is-gallery) .p-svc-pick__more {
    order: 7;
    margin-top: 14px;
    padding-left: 7px;
  }
}

/* ---------- 内装／外装一式工事: 製品スライダー（Figma 5446:14717 / 5446:14912。見た目は top.css の SERVICE） ---------- */
.p-svc-body > .p-svc-reno-services {
  margin-top: 11px; /* 保有資格の下 111px（.p-svc-body の gap 100px ＋ 11px） */
}
.p-svc-body > .p-svc-reno-services--exterior {
  margin-top: 7px; /* 外装（Figma 5446:14912）: 保有資格の下 107px */
}
@media (max-width: 767px) {
  .p-svc-body > .p-svc-reno-services {
    margin-top: 0;
  }
}
