/* ===================================================================
   /industry/hair-salon/ 専用CSS
   スコープ：すべて .hs-page 配下（グローバルCSSは変更しない）
   クラス命名：hs- プレフィックス
   記述順：ページのセクション順と一致
=================================================================== */

/* ===== デザイントークン ===== */
.hs-page {
  --hs-blue: #00529f;
  --hs-blue-dark: #003f7a;
  --hs-blue-soft: #edf5fb;
  --hs-blue-pale: #9fc9ea;
  --hs-navy: #1c2539;
  --hs-ink: #20282d;
  --hs-text: #4f5f6f;
  --hs-muted: #6e7984;
  --hs-paper: #f5f2ec;
  --hs-paper-deep: #e9e3da;
  --hs-line: #d7dee5;
  --hs-white: #ffffff;

  background: var(--hs-white);
  color: var(--hs-ink);
  font-family: var(--font-body--family);
}

.hs-page figure {
  margin: 0;
}

.hs-page img {
  display: block;
}

/* ===== 共通レイアウト ===== */
.hs-container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 767px) {
  .hs-container {
    width: min(100% - 32px, 1200px);
  }
}

.hs-section {
  padding-block: clamp(64px, 6vw, 96px);
}

.hs-section.hs-brand-value,
.hs-section.hs-products {
  padding-block: clamp(72px, 7vw, 108px);
}

.hs-section.hs-steps,
.hs-section.hs-cases,
.hs-section.hs-faq {
  padding-block: clamp(64px, 5.5vw, 88px);
}

/* ===== タイポグラフィ ===== */
.hs-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding-left: 44px;
  color: var(--hs-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hs-eyebrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 32px;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.hs-heading {
  margin: 0 0 24px;
  color: var(--hs-navy);
  font-family: var(--font-heading--family);
  font-size: clamp(1.875rem, 2.7vw, 2.75rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  white-space: normal;
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: wrap;
}

.hs-opportunity .hs-heading {
  font-size: clamp(1.875rem, 2.6vw, 2.25rem);
}

.hs-page h3 {
  margin: 0;
  color: var(--hs-navy);
  font-family: var(--font-heading--family);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: wrap;
}

.hs-body p {
  margin: 0 0 14px;
  color: var(--hs-text);
  font-size: 17px;
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.hs-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .hs-body p {
    font-size: 16px;
  }
}

.hs-source-note {
  margin: 24px 0 0;
  color: var(--hs-muted);
  font-size: 13px;
  line-height: 1.8;
}

.hs-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hs-blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.hs-textlink:hover {
  text-decoration: underline;
}

/* ===== 共通ボタン ===== */
.hs-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.hs-button:focus-visible {
  outline: 3px solid var(--hs-blue-pale);
  outline-offset: 4px;
}

/* 矢印が単独で次の行へ移動しないようにする（全幅共通） */
.hs-button > span[aria-hidden="true"] {
  flex: 0 0 auto;
}

.hs-button--primary {
  background: #00529f;
  border-color: #00529f;
  color: #fff;
}

.hs-button--primary:hover {
  background: #003f7a;
  border-color: #003f7a;
  color: #fff;
}

.hs-button--secondary {
  background: transparent;
  border-color: #1c2539;
  color: #1c2539;
}

.hs-button--secondary:hover {
  background: #1c2539;
  border-color: #1c2539;
  color: #fff;
}

/* ===== パンくず（7業界ページ共通仕様） ===== */
.hs-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  color: #6e7984;
  font-size: 13px;
  line-height: 1.5;
}

.hs-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: normal;
  word-break: normal;
  line-break: strict;
  overflow-wrap: break-word;
}

.hs-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #6e7984;
}

.hs-breadcrumb a {
  color: #6e7984;
  text-decoration: none;
}

.hs-breadcrumb a:hover,
.hs-breadcrumb a:focus-visible {
  color: #00529f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-breadcrumb li[aria-current="page"] {
  color: #1c2539;
}

/* ===================================================================
   HERO
=================================================================== */
.hs-hero {
  background: var(--hs-paper);
}

.hs-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
  max-width: 1600px;
  min-height: 720px;
  margin-inline: auto;
}

.hs-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 7vw, 104px) clamp(28px, 6vw, 96px);
  padding-inline: clamp(28px, 4.5vw, 72px);
}

.hs-hero__title {
  width: 100%;
  margin: 0 0 24px;
  color: var(--hs-navy);
  font-family: var(--font-heading--family);
  font-size: clamp(2.375rem, 3.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  white-space: normal;
  word-break: normal;
  line-break: strict;
  overflow-wrap: normal;
  text-wrap: wrap;
}

.hs-hero__lead {
  width: 100%;
  max-width: 640px;
}

.hs-hero__lead p {
  margin: 0 0 14px;
  color: var(--hs-text);
  font-size: 17px;
  line-height: 1.85;
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.hs-hero__lead p:last-child {
  margin-bottom: 32px;
}

.hs-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hs-hero__media {
  position: relative;
  min-width: 0;
}

.hs-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1099px) {
  .hs-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hs-hero__content {
    order: 1;
  }

  .hs-hero__lead {
    max-width: none;
  }

  .hs-hero__media {
    order: 2;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .hs-hero__content {
    padding: 90px 20px 44px;
  }

  .hs-breadcrumb {
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 1.5;
  }

  .hs-hero__title {
    margin-bottom: 20px;
    font-size: clamp(1.625rem, 7.6vw, 1.9375rem);
    line-height: 1.28;
    letter-spacing: -0.04em;
  }

  .hs-hero__lead p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hs-hero__lead p:last-child {
    margin-bottom: 26px;
  }

  .hs-hero__media {
    aspect-ratio: 4 / 3;
  }

  .hs-hero__actions {
    gap: 12px;
    flex-direction: column;
  }

  .hs-hero__actions .hs-button {
    width: 100%;
  }
}

@media (max-width: 320px) {
  .hs-hero__title {
    font-size: 25px;
  }
}

/* ===================================================================
   SECTION 01 : hs-opportunity
=================================================================== */
.hs-opportunity {
  background: var(--hs-white);
}

.hs-opportunity__inner {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  align-items: start;
  gap: clamp(40px, 5vw, 72px);
}

.hs-opportunity__intro {
  min-width: 0;
}

.hs-opportunity__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.hs-opportunity-card {
  min-width: 0;
  min-height: 200px;
  padding: 32px;
  background: var(--hs-paper);
  border: 1px solid var(--hs-paper-deep);
  border-radius: 14px;
}

.hs-opportunity-card__num {
  display: block;
  margin-bottom: 24px;
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hs-opportunity-card p {
  margin: 12px 0 0;
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 991px) {
  .hs-opportunity__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hs-opportunity__inner {
    gap: 32px;
  }

  .hs-opportunity__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hs-opportunity-card {
    min-height: 0;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .hs-opportunity-card__num {
    margin-bottom: 12px;
  }

  .hs-opportunity-card p {
    margin-top: 8px;
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===================================================================
   SECTION 02 : hs-retail
=================================================================== */
.hs-retail {
  background: var(--hs-paper);
}

.hs-retail .hs-heading {
  font-size: clamp(1.75rem, 2.2vw, 2.25rem);
}

.hs-retail__inner {
  display: grid;
  grid-template-columns: minmax(320px, 42fr) minmax(520px, 58fr);
  grid-template-areas:
    "media head"
    "media body";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 5vw, 64px);
  row-gap: 0;
  align-items: start;
}

.hs-retail__head {
  grid-area: head;
  min-width: 0;
}

.hs-retail__media {
  grid-area: media;
  overflow: hidden;
  border-radius: 16px;
  min-width: 0;
}

@media (min-width: 992px) {
  .hs-retail__media {
    position: sticky;
    top: 120px;
    align-self: start;
    aspect-ratio: 5 / 4;
  }
}

.hs-retail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-retail__body {
  grid-area: body;
  min-width: 0;
}

.hs-retail__features {
  margin-top: 32px;
}

.hs-retail-feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid var(--hs-line);
}

.hs-retail-feature:last-child {
  border-bottom: 1px solid var(--hs-line);
}

.hs-retail-feature__num {
  color: var(--hs-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hs-retail-feature__body p {
  margin: 8px 0 0;
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

.hs-retail__evidence {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--hs-line);
}

.hs-retail__evidence > p:first-child {
  margin: 0 0 10px;
  color: var(--hs-text);
  font-size: 14px;
  line-height: 1.8;
}

.hs-retail__evidence .hs-source-note {
  margin: 0;
}

.hs-retail__evidence .hs-source-note a {
  color: var(--hs-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hs-retail__evidence .hs-source-note a:hover {
  color: var(--hs-blue-dark);
}

.hs-retail__evidence .hs-source-note a:focus-visible {
  outline: 3px solid var(--hs-blue-pale);
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .hs-retail__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "body";
    grid-template-rows: auto;
  }

  .hs-retail__media {
    position: static;
    top: auto;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .hs-retail__media {
    margin: 24px 0 28px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .hs-retail__features {
    margin-top: 24px;
  }

  .hs-retail-feature {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .hs-retail-feature__body p {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hs-retail__evidence {
    margin-top: 20px;
    padding-top: 0;
    border-top: 0;
  }

  .hs-retail__evidence > p:first-child {
    font-size: 13px;
    line-height: 1.75;
  }

  .hs-retail__evidence .hs-source-note {
    font-size: 12px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }
}

/* ===================================================================
   SECTION 03 : hs-original-paths
=================================================================== */
.hs-original-paths {
  background: var(--hs-white);
}

.hs-original-paths__intro {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  align-items: start;
  gap: clamp(48px, 6vw, 80px);
  margin-bottom: 56px;
}

.hs-original-paths__heading,
.hs-original-paths__lead {
  min-width: 0;
}

.hs-original-paths__lead p,
.hs-original-paths__note p {
  max-width: 820px;
}

.hs-original-paths__lead p {
  max-width: none;
}

.hs-original-paths__note {
  margin-top: 48px;
}

.hs-original-paths__note p {
  max-width: 840px;
}

@media (max-width: 991px) {
  .hs-original-paths__intro {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .hs-original-paths__intro {
    gap: 18px;
    margin-bottom: 32px;
  }

  .hs-original-paths__note {
    margin-top: 32px;
  }
}

.hs-paths {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 0;
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
}

.hs-paths::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--hs-line);
}

.hs-paths__side {
  min-width: 0;
  padding: 48px;
}

.hs-paths__side--original {
  background: var(--hs-blue-soft);
}

.hs-paths__title {
  margin: 0 0 20px;
}

.hs-paths__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-paths__list li {
  position: relative;
  padding: 10px 0 10px 20px;
  color: var(--hs-text);
  font-size: 15px;
  line-height: 1.8;
}

.hs-paths__list li::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hs-blue);
}

.hs-paths__or {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 50%;
  color: var(--hs-navy);
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hs-paths {
    grid-template-columns: 1fr;
  }

  .hs-paths::before {
    display: none;
  }

  .hs-paths__side {
    padding: 24px 20px;
    border-bottom: 1px solid var(--hs-line);
  }

  .hs-paths__side:last-child {
    border-bottom: none;
  }

  .hs-paths__or {
    position: static;
    z-index: 2;
    justify-self: center;
    margin: -20px 0;
    transform: none;
  }
}

/* ===================================================================
   SECTION 04 : hs-brand-value
=================================================================== */
.hs-brand-value {
  background: var(--hs-navy);
  color: var(--hs-white);
}

.hs-brand-value .hs-eyebrow {
  color: var(--hs-blue-pale);
}

.hs-brand-value .hs-heading {
  color: var(--hs-white);
  font-size: clamp(1.875rem, 2vw, 2.25rem);
}

.hs-brand-value .hs-body p {
  color: rgba(255, 255, 255, 0.82);
}

.hs-brand-value__catch {
  margin: 0 0 18px;
  color: var(--hs-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .hs-brand-value__catch {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.7;
  }
}

.hs-brand-value__intro {
  display: grid;
  grid-template-columns: minmax(500px, 52fr) minmax(0, 48fr);
  gap: clamp(40px, 5vw, 64px);
  margin-bottom: 64px;
}

.hs-brand-value__intro-label,
.hs-brand-value__intro-body {
  min-width: 0;
}

.hs-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 64px;
  padding: 0;
  list-style: none;
}

.hs-journey li {
  position: relative;
  min-width: 0;
  padding-top: 32px;
  text-align: center;
}

.hs-journey li::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  z-index: 1;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--hs-blue-pale);
}

.hs-journey li::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.28);
}

.hs-journey li:last-child::after {
  display: none;
}

.hs-journey span {
  display: block;
  margin-bottom: 8px;
  color: var(--hs-blue-pale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hs-journey strong {
  display: block;
  color: var(--hs-white);
  font-size: 15px;
  font-weight: 700;
}

.hs-brand-value__cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.hs-brand-value-card {
  grid-column: span 2;
}

.hs-brand-value-card:nth-child(4),
.hs-brand-value-card:nth-child(5) {
  grid-column: span 3;
}

.hs-brand-value-card {
  min-width: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
}

.hs-brand-value-card__num {
  display: block;
  margin-bottom: 16px;
  color: var(--hs-blue-pale);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hs-brand-value-card h3 {
  margin: 0 0 10px;
  color: var(--hs-white);
  font-size: 20px;
}

.hs-brand-value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.75;
}

@media (max-width: 1199px) {
  .hs-brand-value__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-brand-value-card,
  .hs-brand-value-card:nth-child(4),
  .hs-brand-value-card:nth-child(5) {
    grid-column: auto;
  }

  .hs-brand-value-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991px) {
  .hs-brand-value__intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hs-brand-value__intro {
    gap: 18px;
    margin-bottom: 40px;
  }

  .hs-journey {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 40px;
  }

  .hs-journey li {
    padding-top: 0;
    padding-left: 32px;
    text-align: left;
  }

  .hs-journey li::before {
    top: 4px;
    left: 6px;
    transform: none;
  }

  .hs-journey li::after {
    top: 10px;
    left: 6px;
    width: 1px;
    height: calc(100% + 24px);
  }

  .hs-journey li:last-child::after {
    display: none;
  }

  .hs-brand-value__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hs-brand-value-card {
    padding: 22px 20px;
  }

  .hs-brand-value-card:last-child {
    grid-column: auto;
  }

  .hs-brand-value-card__num {
    margin-bottom: 10px;
  }

  .hs-brand-value-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .hs-brand-value-card p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===================================================================
   SECTION 05 : hs-products
=================================================================== */
.hs-products {
  background: var(--hs-paper);
}

.hs-products__lead {
  margin-bottom: 48px;
}

.hs-products__grid {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
  align-items: start;
  gap: clamp(48px, 7vw, 80px);
}

.hs-products__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  min-width: 0;
}

.hs-products__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hs-products__list {
  min-width: 0;
}

.hs-product-link {
  display: grid;
  grid-template-columns: 64px 1fr 32px;
  gap: 16px;
  align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--hs-line);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    padding-inline 0.2s ease;
}

.hs-products__list .hs-product-link:last-of-type {
  border-bottom: 1px solid var(--hs-line);
}

.hs-product-link__num {
  color: var(--hs-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hs-product-link__body {
  display: block;
  min-width: 0;
}

.hs-product-link__name {
  display: block;
  margin-bottom: 8px;
  color: var(--hs-navy);
  font-size: 18px;
}

.hs-product-link__desc {
  display: block;
  margin-bottom: 10px;
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

.hs-product-link__anchor {
  display: inline-block;
  color: var(--hs-blue);
  font-size: 14px;
  font-weight: 700;
}

.hs-product-link__arrow {
  align-self: center;
  color: var(--hs-blue);
  transition: transform 0.2s ease;
}

.hs-product-link:hover {
  padding-inline: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.hs-product-link:hover .hs-product-link__arrow {
  transform: translateX(4px);
}

.hs-products__more {
  margin: 32px 0 0;
}

.hs-products__more-link {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 14px;
}

@media (max-width: 991px) {
  .hs-products__grid {
    grid-template-columns: 1fr;
  }

  .hs-products__media {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 767px) {
  .hs-products__lead {
    margin-bottom: 28px;
  }

  .hs-products__grid {
    gap: 28px;
  }

  .hs-products__media {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
  }

  .hs-product-link {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 10px;
    padding: 22px 0;
  }

  .hs-product-link__name {
    margin-bottom: 6px;
    font-size: 18px;
  }

  .hs-product-link__desc {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hs-product-link__anchor {
    font-size: 13px;
    line-height: 1.6;
  }

  .hs-products__more {
    margin-top: 24px;
  }

  .hs-products__more-link {
    width: 100%;
  }
}

/* ===================================================================
   SECTION 06 : hs-planning
=================================================================== */
.hs-planning {
  background: var(--hs-white);
}

.hs-planning .hs-heading {
  font-size: clamp(1.875rem, 2.4vw, 2.375rem);
}

.hs-planning__inner {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 68fr) minmax(320px, 32fr);
  grid-template-areas:
    "head media"
    "body media";
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 4vw, 56px);
  row-gap: 24px;
  align-items: start;
}

@media (max-width: 767px) {
  .hs-planning__inner {
    width: min(1280px, calc(100% - 32px));
  }
}

.hs-planning__head {
  grid-area: head;
  min-width: 0;
}

.hs-planning__body {
  grid-area: body;
  min-width: 0;
}

.hs-planning__questions p {
  margin: 0 0 12px;
  padding-left: 18px;
  border-left: 3px solid var(--hs-blue);
  color: var(--hs-ink);
  font-size: 16px;
  font-weight: 500;
}

.hs-planning__checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(340px, 1fr));
  gap: 0 20px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1200px) {
  .hs-planning__checklist li {
    white-space: nowrap;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .hs-planning__checklist {
    grid-template-columns: 1fr;
  }

  .hs-planning__checklist li {
    white-space: nowrap;
  }
}

.hs-planning__checklist li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--hs-line);
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

.hs-planning__checklist li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 2px;
  width: 10px;
  height: 6px;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--hs-blue);
  border-left: 2px solid var(--hs-blue);
}

.hs-planning__scope {
  margin-top: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--hs-line);
  border-bottom: 1px solid var(--hs-line);
}

.hs-planning__scope-title {
  margin: 0 0 16px;
  color: var(--hs-navy);
  font-size: 15px;
  font-weight: 700;
}

.hs-planning__scope ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-planning__scope li {
  position: relative;
  padding-left: 18px;
  color: var(--hs-text);
  font-size: 15px;
  line-height: 1.7;
}

.hs-planning__scope li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  background: var(--hs-blue);
}

.hs-planning__consult-note {
  margin: 22px 0 0;
  color: var(--hs-text);
  font-size: 15px;
  line-height: 1.8;
}

.hs-planning__cta {
  margin-top: 32px;
}

.hs-planning__media {
  grid-area: media;
  overflow: hidden;
  border-radius: 16px;
  min-width: 0;
}

@media (min-width: 992px) {
  .hs-planning__media {
    position: sticky;
    top: 120px;
    align-self: start;
    aspect-ratio: 4 / 3;
  }
}

.hs-planning__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .hs-planning__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "media"
      "body";
    grid-template-rows: auto;
    row-gap: 0;
  }

  .hs-planning__media {
    position: static;
    top: auto;
    aspect-ratio: 16 / 10;
  }

  .hs-planning__checklist {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hs-planning__media {
    margin: 24px 0 28px;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .hs-planning__questions {
    margin: 20px 0;
  }

  .hs-planning__questions p {
    margin-bottom: 10px;
    padding-left: 14px;
    border-left-width: 2px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hs-planning__checklist {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 20px 0;
  }

  .hs-planning__checklist li {
    padding: 10px 0 10px 24px;
    font-size: 15px;
    line-height: 1.65;
    white-space: normal;
  }

  .hs-planning__scope {
    margin-top: 24px;
    padding: 18px 0;
  }

  .hs-planning__scope ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hs-planning__consult-note {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hs-planning__cta {
    margin-top: 24px;
  }

  .hs-planning__cta .hs-button {
    width: 100%;
  }
}

/* ===================================================================
   SECTION 07 : hs-steps
=================================================================== */
.hs-steps {
  background: var(--hs-paper);
}

.hs-steps__lead {
  width: 100%;
  max-width: none;
}

.hs-steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.hs-step {
  position: relative;
  min-width: 0;
  padding: 24px 20px 0 0;
}

.hs-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 20px;
  height: 1px;
  background: var(--hs-line);
}

.hs-step__num {
  display: block;
  margin: 20px 0 12px;
  color: rgba(0, 82, 159, 0.22);
  font-family: var(--font-heading--family);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 700;
}

.hs-step__title {
  margin: 0 0 10px;
}

.hs-step__text {
  margin: 0;
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

.hs-steps__note {
  margin: 40px 0 0;
  color: var(--hs-muted);
  font-size: 13px;
}

@media (max-width: 991px) {
  .hs-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

@media (max-width: 767px) {
  .hs-steps__list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 28px;
  }

  .hs-step {
    padding: 0 0 28px 52px;
  }

  .hs-step::before {
    top: 0;
    right: 0;
    left: 40px;
    width: 1px;
    height: 100%;
  }

  .hs-step__num {
    position: absolute;
    top: -6px;
    left: 0;
    width: 40px;
    margin: 0;
    font-size: 1.75rem;
  }

  .hs-step__title {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .hs-step__text {
    font-size: 15px;
    line-height: 1.7;
  }

  .hs-step:last-child {
    padding-bottom: 0;
  }

  .hs-step:last-child::before {
    display: none;
  }

  .hs-steps__note {
    margin-top: 24px;
  }
}

/* ===================================================================
   SECTION 08 : hs-cases
=================================================================== */
.hs-cases {
  background: var(--hs-white);
}

.hs-cases__lead {
  width: 100%;
  max-width: none;
}

.hs-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.hs-case-card {
  min-width: 0;
  padding: 34px 36px;
  background: var(--hs-white);
  border: 1px solid var(--hs-line);
  border-radius: 14px;
}

.hs-case-card__label {
  margin: 0 0 12px;
  color: var(--hs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hs-case-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.hs-case-card p {
  margin: 0;
  color: var(--hs-text);
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .hs-cases__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .hs-case-card {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .hs-case-card__label {
    margin-bottom: 8px;
  }

  .hs-case-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .hs-case-card p {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===================================================================
   SECTION 09 : hs-faq
=================================================================== */
.hs-faq {
  background: var(--hs-paper);
}

.hs-faq__list {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* ===================================================================
   最終CTA : hs-final-cta（id="hs-contact"）
=================================================================== */
.hs-final-cta {
  background: var(--hs-navy);
  color: var(--hs-white);
}

.hs-final-cta .hs-eyebrow {
  color: var(--hs-blue-pale);
}

.hs-final-cta .hs-heading {
  color: var(--hs-white);
  font-size: clamp(1.875rem, 2.4vw, 2.5rem);
}

.hs-final-cta .hs-body p {
  color: rgba(255, 255, 255, 0.8);
}

.hs-final-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  align-items: center;
  gap: 56px;
}

.hs-final-cta__content {
  min-width: 0;
}

.hs-final-cta__needs {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.hs-final-cta__needs li {
  position: relative;
  padding: 10px 0 10px 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
}

.hs-final-cta__needs li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  width: 16px;
  height: 1px;
  background: var(--hs-blue-pale);
}

.hs-final-cta__actions {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hs-final-cta__actions .hs-button {
  width: 100%;
}

.hs-final-cta .hs-button--primary {
  background: #fff;
  border-color: #fff;
  color: #1c2539;
}

.hs-final-cta .hs-button--primary:hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hs-final-cta .hs-button--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, .75);
  color: #fff;
}

.hs-final-cta .hs-button--secondary:hover {
  background: #fff;
  border-color: #fff;
  color: #1c2539;
}

@media (max-width: 991px) {
  .hs-final-cta__inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hs-final-cta__actions {
    padding-top: 40px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: none;
  }

  .hs-final-cta__actions .hs-button {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .hs-final-cta__inner {
    gap: 0;
  }

  .hs-final-cta__needs {
    margin-bottom: 20px;
  }

  .hs-final-cta__needs li {
    padding: 8px 0 8px 22px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hs-final-cta__needs li::before {
    top: 1.05em;
    width: 13px;
  }

  .hs-final-cta__actions {
    gap: 12px;
    margin-top: 28px;
    padding-top: 28px;
  }

  .hs-final-cta__actions .hs-button {
    width: 100%;
  }
}

/* ===================================================================
   最終CTA～footer間の余白調整（footer.php は変更せず、本ページ内でのみ上書き）
=================================================================== */
.hair-salon-page footer .footer-main.mt-100 {
  margin-top: 0 !important;
}

/* ===== Mobile layout refinement ===== */
@media (max-width: 767px) {
  .hs-container {
    width: min(1200px, calc(100% - 40px));
  }

  .hs-section {
    padding-block: 56px;
  }

  .hs-section.hs-brand-value,
  .hs-section.hs-products {
    padding-block: 64px;
  }

  .hs-section.hs-steps,
  .hs-section.hs-cases,
  .hs-section.hs-faq {
    padding-block: 56px;
  }

  .hs-page .hs-heading {
    margin-bottom: 18px;
    font-size: clamp(1.5625rem, 7vw, 1.75rem);
    line-height: 1.38;
    letter-spacing: -0.015em;
    text-wrap: wrap;
  }

  .hs-page h3 {
    font-size: 18px;
    line-height: 1.5;
  }

  .hs-body p {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hs-eyebrow {
    margin-bottom: 12px;
    padding-left: 30px;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.11em;
  }

  .hs-eyebrow::before {
    width: 22px;
  }

  .hs-button {
    min-height: 52px;
    gap: 8px;
    padding: 13px 18px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    text-wrap: balance;
  }
}

@media (max-width: 375px) {
  .hs-section,
  .hs-section.hs-steps,
  .hs-section.hs-cases,
  .hs-section.hs-faq {
    padding-block: 48px;
  }

  .hs-section.hs-brand-value,
  .hs-section.hs-products {
    padding-block: 56px;
  }
}

/* ===================================================================
   アクセシビリティ：モーション低減
=================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hs-button,
  .hs-product-link,
  .hs-product-link__arrow {
    transition: none;
  }

  .hs-button:hover {
    transform: none;
  }
}
