/*
 * Service archive and detail pages.
 *
 * Shared by /service/ and the four service custom posts migrated from
 * Lazy Blocks. All selectors are scoped below .hs-service-archive or
 * .hs-service-detail so that the TCD parent theme remains unaffected.
 *
 * 2026-07-27: コンテナ、見出し帯、ボタン、サービスカード、FAQ、CTAパネルを
 * assets/css/hs-components.css へ移した。トップページと同じ部品を共有するためである。
 * このファイルにはサービスページ固有のレイアウトと、部品へのページ固有の上書きだけが残る。
 * hs-components.css の後に読み込まれることが前提（functions.php の $deps）。
 */

.hs-service-archive,
.hs-service-detail {
  overflow: hidden;
}

.hs-service-archive *,
.hs-service-detail * {
  box-sizing: border-box;
}

.hs-service-archive h1,
.hs-service-archive h2,
.hs-service-archive h3,
.hs-service-archive p,
.hs-service-archive ul,
.hs-service-archive ol,
.hs-service-detail h1,
.hs-service-detail h2,
.hs-service-detail h3,
.hs-service-detail p,
.hs-service-detail ul,
.hs-service-detail ol {
  margin-top: 0;
}

.hs-service-archive h1,
.hs-service-archive h2,
.hs-service-archive h3,
.hs-service-detail h1,
.hs-service-detail h2,
.hs-service-detail h3 {
  color: var(--hs-text);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
}

.hs-service-archive h1,
.hs-service-detail h1 {
  font-size: 29px;
  line-height: 1.5;
}

.hs-service-archive h2,
.hs-service-detail h2 {
  font-size: 25px;
  line-height: 1.5;
}

.hs-service-archive h3,
.hs-service-detail h3 {
  font-size: 18px;
  line-height: 1.6;
}

.hs-service-archive a,
.hs-service-detail a {
  color: inherit;
}


.hs-service-detail .hs-service__section-head {
  max-width: 940px;
}


.hs-service-detail .hs-service__section-label {
  letter-spacing: 0.08em;
}

/* Breadcrumb */

.hs-service__breadcrumb {
  background: var(--hs-gray);
  border-bottom: 1px solid var(--hs-line);
  color: var(--hs-text-muted);
  font-size: 12px;
  line-height: 1.5;
}

.hs-service__breadcrumb-inner {
  align-items: center;
  display: flex;
  gap: 9px;
  min-height: 44px;
  overflow: hidden;
  white-space: nowrap;
}

.hs-service__breadcrumb-inner span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-service__breadcrumb a {
  text-decoration: none;
}

.hs-service__breadcrumb a:hover {
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Buttons */


/* Archive first view */

.hs-service-archive__hero {
  background:
    radial-gradient(circle at 82% 14%, rgba(0, 160, 233, 0.28), transparent 28%),
    linear-gradient(125deg, #002f55 0%, #004c7f 56%, #006ba5 100%);
  color: var(--hs-white);
  overflow: hidden;
  position: relative;
}

.hs-service-archive__hero-pattern {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 82%);
  position: absolute;
}

.hs-service-archive__hero-inner {
  padding-bottom: 76px;
  padding-top: 76px;
  position: relative;
  z-index: 1;
}

.hs-service-archive__eyebrow {
  color: #9de2ff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  margin-bottom: 16px;
}

.hs-service-archive__hero h1 {
  color: var(--hs-white);
  font-size: clamp(28px, 7vw, 36px);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  max-width: 820px;
}

.hs-service-archive__message {
  color: var(--hs-white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 18px;
}

.hs-service-archive__lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 28px;
  max-width: 760px;
}

.hs-service-archive__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hs-service-archive__audience span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  color: var(--hs-white);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 8px 14px;
}

/* Archive cards */

.hs-service-archive__chooser {
  padding: var(--hs-block-space-y, 76px) 0;
}

.hs-service-archive__grid {
  display: grid;
  gap: 24px;
}

/*
 * カード見出しの文字サイズ。カード本体は hs-components.css へ移したが、
 * この1行だけはここに残す必要がある。
 *
 * 上の `.hs-service-archive h2 { font-size: 25px }` と、下の
 * `@media (min-width: 640px) { .hs-service-archive h2 { font-size: 28px } }` は
 * どれも詳細度 (0,1,1) で、**読み込み順だけで勝敗が決まっている。**
 * 結果として実際の表示は 640px未満で22px、640px以上で28pxである
 * （2026-07-27に本番 /service/ で実測）。
 *
 * これを hs-components.css へ移して `.hs-ui` を付けると詳細度が (0,2,1) へ上がり、
 * 640px以上でも22pxになって公開中の見た目が変わる。元の位置に元の詳細度で置く。
 */
.hs-service-card h2 {
  font-size: 22px;
}


/* Archive secondary blocks */

.hs-service-archive__scope {
  padding: var(--hs-block-space-y, 76px) 0;
}

.hs-service-archive__scope-panels {
  display: grid;
  gap: 32px;
}

.hs-service-archive__scope-feature {
  background: var(--hs-white);
  box-shadow: 0 16px 40px rgba(0, 71, 127, 0.1);
  display: grid;
  min-width: 0;
  overflow: hidden;
}

.hs-service-archive__scope-feature-copy {
  min-width: 0;
  padding: 30px 26px;
}

.hs-service-archive__scope-kicker {
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hs-service-archive__scope-feature-copy h3 {
  color: var(--hs-blue-deep);
  font-size: 22px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.hs-service-archive__scope-feature-copy > p:not(.hs-service-archive__scope-kicker, .hs-service-archive__scope-boundary) {
  color: var(--hs-text-sub);
  margin-bottom: 22px;
}

.hs-service-archive__scope-feature-copy ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-archive__scope-feature-copy li {
  align-items: start;
  background: #eef7fc;
  display: grid;
  gap: 4px 16px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 12px 14px;
}

.hs-service-archive__scope-feature-copy strong {
  color: var(--hs-blue-deep);
  font-size: 15px;
  line-height: 1.7;
}

.hs-service-archive__scope-feature-copy li span {
  color: var(--hs-text-sub);
  font-size: 13px;
  line-height: 1.8;
}

.hs-service-archive__scope-boundary {
  background: #eef5f8;
  color: var(--hs-text-sub);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 0;
  padding: 18px 20px;
}

.hs-service-archive__scope-visual {
  margin: 0;
  min-width: 0;
}

.hs-service-archive__scope-diagram {
  align-items: center;
  background: #eaf6fb;
  display: flex;
  padding: 24px 18px;
}

.hs-service-archive__scope-diagram svg {
  display: block;
  height: auto;
  width: 100%;
}

.hs-service-scope-diagram__lines path {
  fill: none;
  stroke: #31add9;
  stroke-width: 4;
}

.hs-service-scope-diagram__node rect {
  fill: var(--hs-white);
  stroke: #bedae7;
  stroke-width: 2;
}

.hs-service-scope-diagram__node text {
  fill: var(--hs-blue-deep);
  font-size: 19px;
  font-weight: 700;
  text-anchor: middle;
}

.hs-service-scope-diagram__node .hs-service-scope-diagram__sub {
  fill: var(--hs-text-sub);
  font-size: 13px;
  font-weight: 400;
}

.hs-service-scope-diagram__hub circle {
  fill: var(--hs-blue);
}

.hs-service-scope-diagram__hub text {
  fill: var(--hs-white);
  font-size: 20px;
  font-weight: 700;
  text-anchor: middle;
}

.hs-service-archive__scope-photo {
  background: #eaf6fb;
}

.hs-service-archive__scope-photo img {
  display: block;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  width: 100%;
}

.hs-service-archive__process {
  padding: var(--hs-block-space-y, 76px) 0;
}

.hs-service-archive__process-intro {
  margin-bottom: 42px;
  max-width: none;
  width: 100%;
}

.hs-service-archive__process-intro h2 {
  color: var(--hs-text);
  margin-bottom: 20px;
}

.hs-service-archive__process-intro > p {
  color: var(--hs-text-sub);
  margin-bottom: 0;
}

.hs-service-archive__process-steps {
  display: grid;
  gap: 28px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
  position: relative;
}

.hs-service-archive__process-steps li {
  align-content: start;
  background: var(--hs-white);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(0, 71, 127, 0.1);
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  min-height: 292px;
  padding: 22px 26px 28px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hs-service-archive__process-steps li:not(:last-child)::after {
  border-bottom: 3px solid var(--hs-cyan);
  border-right: 3px solid var(--hs-cyan);
  bottom: -18px;
  content: "";
  height: 10px;
  left: calc(50% - 6px);
  position: absolute;
  transform: rotate(45deg);
  width: 10px;
}

.hs-service-archive__process-step-number {
  align-items: center;
  background: linear-gradient(135deg, var(--hs-blue), var(--hs-cyan));
  border-radius: 50%;
  box-shadow: 0 0 0 8px #eaf6fb;
  color: var(--hs-white);
  display: flex;
  font-size: 17px;
  font-weight: 700;
  height: 56px;
  justify-content: center;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 auto 28px;
  width: 56px;
}

.hs-service-archive__process-step-icon {
  color: var(--hs-cyan);
  height: 58px;
  margin: 0 auto 22px;
  width: 58px;
}

.hs-service-archive__process-step-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.hs-service-archive__process-step-icon circle,
.hs-service-archive__process-step-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.hs-service-archive__process-steps h3 {
  color: var(--hs-text);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 12px;
  text-align: center;
}

.hs-service-archive__process-steps p {
  color: #5b6872;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Shared steps */

.hs-service-steps {
  display: grid;
  gap: 14px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-steps li {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 6px;
  min-width: 0;
  padding: 24px 22px;
  position: relative;
}

.hs-service-steps li > span {
  color: var(--hs-cyan);
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hs-service-steps h3 {
  margin-bottom: 8px;
}

.hs-service-steps p {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Detail first view */

.hs-service-detail__hero {
  background: var(--hs-white);
  border-bottom: 1px solid var(--hs-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hs-service-detail__hero-pattern {
  background-image:
    linear-gradient(rgba(0, 90, 160, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 90, 160, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  inset: 300px 0 0;
  position: absolute;
}

.hs-service-detail__hero-inner {
  min-height: auto;
  order: 2;
  position: relative;
}

.hs-service-detail__hero-copy {
  max-width: 720px;
  padding: 48px 0 60px;
  position: relative;
  z-index: 2;
}

.hs-service-detail__eyebrow {
  color: var(--hs-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.hs-service-detail__hero h1 {
  margin: 0 0 22px;
}

.hs-service-detail__page-name,
.hs-service-detail__message {
  display: block;
}

.hs-service-detail__page-name {
  color: var(--hs-blue);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  padding-left: 52px;
  position: relative;
}

.hs-service-detail__page-name::before {
  background: currentColor;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0.8em;
  width: 36px;
}

.hs-service-detail__message {
  font-size: var(--hs-hero-message-size);
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.hs-service-detail__lead {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 26px;
}

.hs-service-detail__hero-photo {
  height: 300px;
  margin: 0;
  order: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hs-service-detail__hero-photo::before {
  background: linear-gradient(90deg, var(--hs-blue), var(--hs-cyan));
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

.hs-service-detail__hero-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* Service switcher and page index */

.hs-service-switcher {
  background: var(--hs-blue-deep);
}

.hs-service-switcher ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-switcher li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  min-width: 0;
}

.hs-service-switcher a {
  align-items: center;
  color: rgba(255, 255, 255, 0.82) !important;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.5;
  min-height: 62px;
  padding: 12px 8px;
  text-align: center;
  text-decoration: none;
}

.hs-service-switcher a:hover,
.hs-service-switcher a[aria-current="page"] {
  background: var(--hs-blue);
  color: var(--hs-white) !important;
}

.hs-service-content__index {
  border-bottom: 1px solid var(--hs-line);
  padding: 28px 0;
}

.hs-service-content__index .hs-service__section-label {
  margin-bottom: 10px;
}

.hs-service-content__index ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-content__index a {
  align-items: center;
  background: var(--hs-gray);
  border: 1px solid var(--hs-line);
  border-radius: 0;
  color: var(--hs-text-sub);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  min-height: 38px;
  padding: 8px 13px;
  text-decoration: none;
}

.hs-service-content__index a::after {
  color: var(--hs-blue);
  content: "↓";
  margin-left: 7px;
}

.hs-service-content__index a:hover {
  background: #edf7fc;
  border-color: #b8ddf0;
  color: var(--hs-blue-deep);
}

/* Detail content blocks */

.hs-service-content__needs,
.hs-service-content__work,
.hs-service-content__buildings,
.hs-service-content__makers,
.hs-service-content__estimate,
.hs-service-content__area,
.hs-service-content__flow,
.hs-service-content__faq,
.hs-service-content__trust {
  padding: var(--hs-block-space-y, 76px) 0;
  scroll-margin-top: 90px;
}

.hs-service-audience-grid {
  display: grid;
  gap: 18px;
}

.hs-service-audience-grid article {
  background: #eef7fc;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-width: 0;
  overflow: hidden;
  padding: 30px 24px;
  position: relative;
}

.hs-service-audience-grid article:first-child {
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 160, 233, 0.3), transparent 34%),
    linear-gradient(135deg, #003d6a, #005b91);
  color: var(--hs-white);
}

.hs-service-audience-grid article:last-child {
  background:
    radial-gradient(circle at 92% 10%, rgba(0, 160, 233, 0.13), transparent 34%),
    #edf7fc;
}

.hs-service-audience-grid article::before {
  background: var(--hs-cyan);
  content: "";
  display: block;
  height: 54px;
  margin-bottom: 20px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  width: 54px;
}

.hs-service-audience-grid article:first-child::before {
  background: #82dcff;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 21V7l8-4v18M12 9h8v12M8 9h.01M8 13h.01M8 17h.01M16 13h.01M16 17h.01M2 21h20' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-audience-grid article:last-child::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m3 11 9-8 9 8M5 10v11h14V10M9 21v-6h6v6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-audience-grid--photos article {
  padding: 0;
}

.hs-service-audience-grid--photos article::before {
  content: none;
}

.hs-service-audience-grid--photos figure {
  margin: 0;
  overflow: hidden;
}

.hs-service-audience-grid--photos img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hs-service-audience-grid--photos .hs-service-audience-grid__body {
  padding: 26px 24px 30px;
}

.hs-service-audience-grid__label {
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.hs-service-audience-grid article:first-child .hs-service-audience-grid__label {
  color: #9fe5ff;
}

.hs-service-audience-grid h3 {
  font-size: 20px;
  margin-bottom: 16px;
}

.hs-service-audience-grid article:first-child h3 {
  color: var(--hs-white);
}

.hs-service-audience-grid ul,
.hs-service-checklist ul {
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-audience-grid li,
.hs-service-checklist li {
  color: var(--hs-text-sub);
  line-height: 1.75;
  padding-left: 24px;
  position: relative;
}

.hs-service-audience-grid article:first-child li {
  color: rgba(255, 255, 255, 0.88);
}

.hs-service-audience-grid li + li,
.hs-service-checklist li + li {
  margin-top: 8px;
}

.hs-service-audience-grid li::before,
.hs-service-checklist li::before {
  border: solid var(--hs-cyan);
  border-width: 0 2px 2px 0;
  content: "";
  height: 9px;
  left: 4px;
  position: absolute;
  top: 0.55em;
  transform: rotate(45deg);
  width: 5px;
}

.hs-service-audience-grid article:first-child li::before {
  border-color: #82dcff;
}

.hs-service-work-grid {
  display: grid;
  gap: 14px;
}

.hs-service-work-grid article {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 0;
  min-width: 0;
  padding: 24px 22px;
}

.hs-service-work-grid article > span {
  color: var(--hs-cyan);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hs-service-work-grid h3 {
  margin-bottom: 8px;
}

.hs-service-work-grid p {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

.hs-service-work-grid--photos article {
  overflow: hidden;
  padding: 0;
}

.hs-service-work-grid--photos article > img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hs-service-work-grid--photos article > div {
  padding: 22px 20px 24px;
}

.hs-service-work-grid--photos article > div > span {
  color: var(--hs-cyan);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hs-service-note {
  background:
    radial-gradient(circle at 90% 15%, rgba(0, 160, 233, 0.3), transparent 32%),
    linear-gradient(135deg, #003d6a, #005b91);
  border: 0;
  color: var(--hs-white);
  margin-top: 26px;
  overflow: hidden;
  padding: 94px 24px 28px;
  position: relative;
}

.hs-service-note::before {
  background-color: #82dcff;
  content: "";
  height: 48px;
  left: 24px;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 3v5M16 3v5M6 8h12v2a6 6 0 0 1-5 5.92V21h-2v-5.08A6 6 0 0 1 6 10V8ZM4 21h16' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  position: absolute;
  top: 28px;
  width: 48px;
}

.hs-service-note__label {
  color: #9fe5ff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 8px !important;
}

.hs-service-note h3 {
  color: var(--hs-white);
  font-size: 21px;
  margin-bottom: 10px;
}

.hs-service-note p {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 0;
}

.hs-service-note__points {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.hs-service-note__points li {
  background: rgba(255, 255, 255, 0.1);
  color: var(--hs-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  padding: 10px 12px 10px 34px;
  position: relative;
}

.hs-service-note__points li::before {
  color: #82dcff;
  content: "✓";
  left: 13px;
  position: absolute;
}

.hs-service-media-grid {
  display: grid;
  gap: 18px;
}

.hs-service-media-grid article {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(0, 71, 127, 0.08);
  overflow: hidden;
}

.hs-service-media-grid img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.hs-service-media-grid article > div {
  padding: 22px 20px 24px;
}

.hs-service-media-grid h3 {
  margin-bottom: 7px;
}

.hs-service-media-grid p {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

.hs-service-content__makers {
  background:
    radial-gradient(circle at 92% 12%, rgba(0, 160, 233, 0.27), transparent 30%),
    linear-gradient(135deg, #003d6a, #005b91);
}

.hs-service-content__makers .hs-service__section-label {
  color: #9fe5ff;
}

.hs-service-content__makers .hs-service__section-head h2 {
  color: var(--hs-white);
}

.hs-service-content__makers .hs-service__section-head > p:last-child {
  color: rgba(255, 255, 255, 0.82);
}

.hs-service-maker-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-service-maker-grid li {
  align-items: center;
  background: var(--hs-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  min-height: 132px;
  min-width: 0;
  padding: 20px 12px 16px;
  text-align: center;
}

.hs-service-maker-grid img {
  display: block;
  height: 38px;
  max-width: 150px;
  object-fit: contain;
  width: 100%;
}

.hs-service-maker-grid span {
  color: var(--hs-text-sub);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.hs-service-maker-grid .hs-service-maker-grid__placeholder {
  align-items: center;
  background: #edf2f4;
  color: #647681;
  display: flex;
  font-size: 10px;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.08em;
  max-width: 150px;
  width: 100%;
}

.hs-service-maker-note {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  margin: 18px 0 0;
  text-align: center;
}

.hs-service-info-split {
  display: grid;
  gap: 28px;
}

.hs-service-info-split > div:first-child > p:last-child {
  color: var(--hs-text-sub);
  margin-bottom: 0;
}

.hs-service-checklist {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 0;
  box-shadow: 0 14px 36px rgba(0, 71, 127, 0.08);
  padding: 26px 24px;
}

.hs-service-checklist h3 {
  margin-bottom: 16px;
}

.hs-service-checklist > p {
  border-top: 1px solid var(--hs-line);
  color: var(--hs-blue-deep);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0;
  margin-top: 20px;
  padding-top: 16px;
}

.hs-service-price-path {
  display: grid;
  gap: 12px;
  margin-bottom: 0;
}

.hs-service-price-path__stage {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  column-gap: 16px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  padding: 20px;
  position: relative;
}

.hs-service-price-path__stage::before {
  background-color: var(--hs-blue);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 26px;
  content: "";
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 52px;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 28px;
  width: 52px;
}

.hs-service-price-path__stage:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H8l-4 4V5Zm4 4h8m-8 3h5' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-price-path__stage:nth-child(2)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s6-5.1 6-11a6 6 0 1 0-12 0c0 5.9 6 11 6 11Zm0-8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-price-path__stage:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h9l3 3v15H6V3Zm9 0v4h4M9 12h6M9 16h6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-price-path__stage strong,
.hs-service-price-path__stage span,
.hs-service-price-path__stage p {
  display: block;
  grid-column: 2;
}

.hs-service-price-path__stage span {
  color: var(--hs-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.hs-service-price-path__stage strong {
  color: var(--hs-text);
  font-size: 15px;
  line-height: 1.6;
}

.hs-service-price-path__stage p {
  color: var(--hs-text-sub);
  font-size: 12px;
  line-height: 1.65;
  margin: 6px 0 0;
}

.hs-service-price-free {
  align-items: center;
  background: var(--hs-blue-deep);
  color: var(--hs-white);
  display: flex;
  flex-wrap: wrap;
  gap: 5px 14px;
  margin: 20px 0 24px;
  padding: 15px 18px;
}

.hs-service-price-conditions + .hs-service-price-free {
  margin-top: 32px;
}

.hs-service-price-free strong {
  color: #9fe5ff;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hs-service-price-free span {
  font-size: 14px;
  font-weight: 700;
}

.hs-service-price-groups {
  display: grid;
  gap: 18px;
}

.hs-service-price-group {
  background: var(--hs-white);
  box-shadow: 0 16px 40px rgba(0, 71, 127, 0.09);
  min-width: 0;
}

.hs-service-price-group header {
  background:
    radial-gradient(circle at 90% 10%, rgba(0, 160, 233, 0.28), transparent 34%),
    var(--hs-blue-deep);
  color: var(--hs-white);
  padding: 22px 22px 20px;
}

.hs-service-price-group:nth-child(2) header {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.18), transparent 34%),
    var(--hs-blue);
}

.hs-service-price-group header span {
  color: #9fe5ff;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hs-service-price-group h3 {
  color: var(--hs-white);
  margin: 0;
}

.hs-service-price-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hs-service-price-group li {
  align-items: start;
  border-bottom: 1px solid var(--hs-line);
  display: grid;
  gap: 4px;
  padding: 17px 20px;
}

.hs-service-price-group li:last-child {
  border-bottom: 0;
}

.hs-service-price-group li span {
  color: var(--hs-text-sub);
  font-size: 13px;
  line-height: 1.65;
}

.hs-service-price-group li strong {
  color: var(--hs-blue-deep);
  font-size: 17px;
  line-height: 1.5;
}

.hs-service-price-conditions {
  background: #e8f5fb;
  margin-top: 20px;
  padding: 24px 22px;
}

.hs-service-price-conditions h3 {
  color: var(--hs-blue-deep);
  margin-bottom: 8px;
}

.hs-service-price-conditions p {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.hs-service-price-estimate-flow {
  margin-top: 40px;
}

.hs-service-price-estimate-flow__head {
  margin-bottom: 24px;
  max-width: 860px;
}

.hs-service-price-estimate-flow__head > p:first-child {
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.hs-service-price-estimate-flow__head h3 {
  color: var(--hs-blue-deep);
  font-size: 21px;
  margin-bottom: 10px;
}

.hs-service-price-estimate-flow__head > p:last-child {
  color: var(--hs-text-sub);
  margin-bottom: 0;
}

.hs-service-area-layout {
  display: grid;
  gap: 26px;
}

.hs-service-area-layout figure {
  background: #edf7fc;
  margin: 0;
  min-width: 0;
}

.hs-service-area-layout img {
  display: block;
  height: auto;
  width: 100%;
}

.hs-service-area-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.hs-service-area-list > div {
  background: var(--hs-gray);
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  min-width: 0;
}

.hs-service-area-list dt {
  align-items: center;
  background: var(--hs-blue-deep);
  color: var(--hs-white);
  display: flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  margin: 0;
  padding: 14px 8px;
}

.hs-service-area-list dd {
  align-items: center;
  color: var(--hs-text-sub);
  display: flex;
  font-size: 13px;
  line-height: 1.75;
  margin: 0;
  min-width: 0;
  padding: 12px 14px;
}

.hs-service-area-condition {
  background: #e8f5fb;
  margin-top: 22px;
  padding: 24px 22px;
}

.hs-service-area-condition h3 {
  color: var(--hs-blue-deep);
  margin-bottom: 8px;
}

.hs-service-area-condition p {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.hs-service-content__flow .hs-service-steps {
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  gap: 0;
}

.hs-service-content__flow .hs-service-steps li {
  --hs-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5h16v11H8l-4 4V5Z' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background: transparent;
  border: 0;
  border-radius: 0;
  column-gap: 18px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 26px 22px;
  position: relative;
}

.hs-service-content__flow .hs-service-steps li:nth-child(2) {
  --hs-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s6-5.1 6-11a6 6 0 1 0-12 0c0 5.9 6 11 6 11Zm0-8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-content__flow .hs-service-steps li:nth-child(3) {
  --hs-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h9l3 3v15H6V3Zm9 0v4h4M9 12h6M9 16h6' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-content__flow .hs-service-steps li:nth-child(4) {
  --hs-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m14.7 6.3 3-3a5 5 0 0 1-6.4 6.4L5 16l3 3 6.3-6.3a5 5 0 0 0 6.4-6.4l-3 3-3-3ZM5 16l-2 2 3 3 2-2' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-content__flow .hs-service-steps li:nth-child(5) {
  --hs-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 5 6v5c0 4.8 2.9 8.3 7 10 4.1-1.7 7-5.2 7-10V6l-7-3Zm-3 8 2 2 4-4' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hs-service-content__flow .hs-service-steps li::before {
  background-color: var(--hs-blue);
  background-image: var(--hs-step-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 28px;
  content: "";
  display: block;
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 58px;
  position: relative;
  width: 58px;
  z-index: 1;
}

.hs-service-content__flow .hs-service-steps li:not(:last-child)::after {
  background: #9fd8ef;
  bottom: -26px;
  content: "";
  height: 52px;
  left: 50px;
  position: absolute;
  width: 2px;
  z-index: 0;
}

.hs-service-content__flow .hs-service-steps li > span,
.hs-service-content__flow .hs-service-steps h3,
.hs-service-content__flow .hs-service-steps p {
  grid-column: 2;
}

.hs-service-content__flow .hs-service-steps li > span {
  color: var(--hs-blue);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.hs-service-content__flow .hs-service-steps h3 {
  font-size: 17px;
}

.hs-service-content__flow .hs-service-steps p {
  font-size: 13px;
}


.hs-service-trust-grid {
  display: grid;
  gap: 30px;
}

.hs-service-trust-grid h2 {
  margin-bottom: 0;
}

.hs-service-trust-grid ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
}

.hs-service-trust-grid li {
  background: #eef7fc;
  border: 0;
  padding: 18px 20px;
}

.hs-service-trust-grid strong,
.hs-service-trust-grid span {
  display: block;
}

.hs-service-trust-grid strong {
  color: var(--hs-blue-deep);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 4px;
}

.hs-service-trust-grid span {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.8;
}

/* Closing CTA */


/* Tablet */

@media (min-width: 640px) {
  .hs-service-archive h2,
  .hs-service-detail h2 {
    font-size: 28px;
  }

  

  .hs-service-archive__hero-inner {
    padding-bottom: 92px;
    padding-top: 92px;
  }

  .hs-service-archive__hero h1 {
    font-size: clamp(34px, 4.5vw, 42px);
  }

  .hs-service-archive__message {
    font-size: 24px;
  }

  .hs-service-archive__lead,
  .hs-service-detail__lead {
    font-size: 16px;
  }

  .hs-service-audience-grid,
  .hs-service-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-service-price-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-service-maker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-media-grid--three article:last-child {
    grid-column: 1 / -1;
  }

  .hs-service-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-service-switcher ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hs-service-switcher li {
    border-bottom: 0;
  }

  .hs-service-switcher a {
    min-height: 72px;
  }

  .hs-service-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-steps--five {
    grid-template-columns: minmax(0, 1fr);
  }

  .hs-service-steps--five li:last-child {
    grid-column: auto;
  }

  .hs-service-audience-grid article,
  .hs-service-checklist {
    padding: 32px 30px;
  }

  .hs-service-audience-grid--photos article {
    padding: 0;
  }

  .hs-service-audience-grid--photos .hs-service-audience-grid__body {
    padding: 32px 30px;
  }
}

/* Desktop */

@media (min-width: 860px) {
  

  .hs-service-archive__hero-inner {
    padding-bottom: 116px;
    padding-top: 116px;
  }

  .hs-service-archive__hero h1 {
    font-size: clamp(36px, 3vw, 42px);
    line-height: 1.35;
  }

  .hs-service-archive__message {
    font-size: 24px;
  }

  .hs-service-archive__grid {
    gap: 30px;
  }

  

  .hs-service-archive__scope-panels {
    gap: 34px;
  }

  .hs-service-archive__scope-feature {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  }

  .hs-service-archive__scope-feature-copy {
    align-self: center;
    padding: 42px 40px;
  }

  .hs-service-archive__scope-diagram {
    padding: 30px 24px;
  }

  .hs-service-archive__process-intro {
    margin-bottom: 52px;
    max-width: none;
  }

  .hs-service-archive__process-intro h2 {
    font-size: clamp(26px, 2.25vw, 30px);
    margin-bottom: 20px;
  }

  .hs-service-archive__process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-archive__process-steps::before {
    background: linear-gradient(90deg, var(--hs-blue), var(--hs-cyan));
    content: "";
    height: 4px;
    left: 14%;
    position: absolute;
    right: 14%;
    top: 48px;
  }

  .hs-service-archive__process-steps li {
    min-height: 332px;
    padding: 22px 30px 32px;
  }

  .hs-service-archive__process-steps li:not(:last-child)::after {
    display: none;
  }

  .hs-service-detail__hero {
    display: block;
    min-height: 620px;
  }

  .hs-service-detail__hero-pattern {
    inset: 0 44% 0 0;
  }

  .hs-service-detail__hero-inner {
    align-items: center;
    display: flex;
    max-width: 1180px;
    min-height: 620px;
  }

  .hs-service-detail__hero-copy {
    padding: 54px 70px 54px 0;
    width: 56%;
  }

  .hs-service-detail__eyebrow {
    font-size: 12px;
  }

  .hs-service-detail__page-name {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .hs-service-detail__message {
    line-height: 1.45;
  }

  .hs-service-detail__hero-photo {
    bottom: 0;
    height: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 44%;
  }

  .hs-service-detail__hero-photo::before {
    background: linear-gradient(180deg, var(--hs-blue), var(--hs-cyan));
    height: 100%;
    width: 8px;
  }

  .hs-service-detail__hero-photo img {
    object-position: 50% 50%;
  }

  .hs-service-switcher a {
    font-size: 13px;
    padding-inline: 14px;
  }

  .hs-service-content__index {
    padding: 34px 0;
  }

  .hs-service-content__index ul {
    gap: 10px;
  }

  .hs-service-content__index a {
    font-size: 13px;
    padding-inline: 16px;
  }

  .hs-service-audience-grid {
    gap: 24px;
  }

  .hs-service-audience-grid article {
    padding: 32px 36px 38px;
  }

  .hs-service-audience-grid--photos article {
    padding: 0;
  }

  .hs-service-audience-grid--photos .hs-service-audience-grid__body {
    padding: 32px 36px 38px;
  }

  .hs-service-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-work-grid article {
    padding: 30px 26px;
  }

  .hs-service-work-grid--photos article {
    padding: 0;
  }

  .hs-service-work-grid--photos article > div {
    padding: 24px 24px 28px;
  }

  .hs-service-note {
    margin-top: 32px;
    padding: 38px 40px 38px 124px;
  }

  .hs-service-note::before {
    height: 56px;
    left: 40px;
    top: 40px;
    width: 56px;
  }

  .hs-service-note__points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-media-grid {
    gap: 24px;
  }

  .hs-service-media-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-media-grid--six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-media-grid--three article:last-child {
    grid-column: auto;
  }

  .hs-service-maker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-info-split {
    align-items: start;
    gap: clamp(56px, 8vw, 100px);
    grid-template-columns: minmax(0, 0.94fr) minmax(380px, 1.06fr);
  }

  .hs-service-area-layout {
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }

  .hs-service-price-group li {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .hs-service-price-path {
    gap: 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-service-price-path__stage:not(:last-child)::after {
    color: var(--hs-cyan);
    content: "→";
    font-size: 22px;
    font-weight: 700;
    position: absolute;
    right: -23px;
    top: calc(50% - 16px);
    z-index: 1;
  }

  .hs-service-steps--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hs-service-steps--five li:last-child {
    grid-column: auto;
  }

  .hs-service-content__flow .hs-service-steps li {
    display: block;
    padding: 30px 22px 28px;
  }

  .hs-service-content__flow .hs-service-steps li::before {
    margin-bottom: 18px;
  }

  .hs-service-content__flow .hs-service-steps li:not(:last-child)::after {
    bottom: auto;
    height: 2px;
    left: 72px;
    right: -10px;
    top: 58px;
    width: auto;
  }

  .hs-service-trust-grid {
    align-items: start;
    gap: clamp(56px, 8vw, 100px);
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  

  
}

@media (min-width: 1100px) {
  .hs-service-archive__grid {
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


