/*
 * Strengths page layout (v2).
 * Load after hs-ui-foundation.css and only on the strengths page.
 * All selectors stay inside the approved .hs-strengths page root.
 *
 * v2: 固定ページ間で共通化した値を基盤のトークンへ委ねた。
 * - 主メッセージの文字サイズ: --hs-hero-message-size
 * - ブロック上下余白: --hs-block-space-y（860px以上で104px、CTAは82px）
 * 数値そのものはこのファイルから消し、hs-ui-foundation.cssで一元管理する。
 */

.hs-strengths {
  overflow: hidden;
}

.hs-strengths__container,
.hs-strengths__button,
.hs-strengths__index-list a,
.hs-strengths__media,
.hs-strengths__steps {
  box-sizing: border-box;
}

.hs-strengths h1,
.hs-strengths h2,
.hs-strengths p,
.hs-strengths ol {
  margin-top: 0;
}

.hs-strengths h1,
.hs-strengths h2 {
  color: var(--hs-text);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: left;
}

.hs-strengths h1 {
  font-size: 29px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hs-strengths h2 {
  font-size: 25px;
  line-height: 1.5;
}

.hs-strengths a {
  color: inherit;
}

.hs-strengths__container {
  margin-inline: auto;
  max-width: var(--hs-container);
  width: calc(100% - 40px);
}

.hs-strengths__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-strengths__breadcrumb-inner {
  align-items: center;
  display: flex;
  gap: 10px;
  min-height: 44px;
}

.hs-strengths__breadcrumb a {
  text-decoration: none;
}

.hs-strengths__breadcrumb a:hover {
  color: var(--hs-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hs-strengths__hero {
  background: var(--hs-white);
  border-bottom: 1px solid var(--hs-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.hs-strengths__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-strengths__hero-inner {
  min-height: auto;
  order: 2;
  position: relative;
}

.hs-strengths__hero-copy {
  max-width: 720px;
  padding: 52px 0 64px;
  position: relative;
  z-index: 2;
}

.hs-strengths__hero h1 {
  margin: 0 0 24px;
}

.hs-strengths__hero-page-name,
.hs-strengths__hero-message {
  display: block;
}

.hs-strengths__hero-page-name {
  color: var(--hs-blue);
  font-size: 15px;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  padding-left: 52px;
  position: relative;
}

.hs-strengths__hero-page-name::before {
  background: currentColor;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  top: 0.8em;
  width: 36px;
}

.hs-strengths__hero-message {
  font-size: var(--hs-hero-message-size);
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.hs-strengths__lead {
  color: var(--hs-text-sub);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 0;
}

.hs-strengths__hero-photo {
  height: 300px;
  margin: 0;
  order: 1;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.hs-strengths__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-strengths__hero-photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
  width: 100%;
}

.hs-strengths__actions {
  display: flex;
}

.hs-strengths__button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1.5;
  min-height: 60px;
  padding: 15px 22px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
  width: 100%;
}

.hs-strengths__button::after {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  content: "";
  height: 7px;
  margin-left: 16px;
  transform: rotate(45deg);
  width: 7px;
}

.hs-strengths__button--blue {
  background: linear-gradient(120deg, var(--hs-blue), var(--hs-cyan));
  color: var(--hs-white);
}

.hs-strengths__button--blue:hover {
  background: linear-gradient(120deg, var(--hs-blue-deep), var(--hs-blue));
}

.hs-strengths__button--white {
  background: var(--hs-white);
  color: var(--hs-blue);
}

.hs-strengths__contact .hs-strengths__button--white {
  color: var(--hs-blue);
}

.hs-strengths__button--white:hover {
  background: var(--hs-gray);
}

.hs-strengths__assist {
  color: var(--hs-text-muted);
  font-size: 13px;
  line-height: 1.75;
  margin: 14px 0 0;
}

.hs-strengths__index {
  background:
    linear-gradient(135deg, rgba(0, 160, 233, 0.08), transparent 42%),
    linear-gradient(180deg, #eef7fb 0%, var(--hs-gray) 100%);
  padding: 56px 0 60px;
}

.hs-strengths__index h2 {
  font-size: 27px;
  line-height: 1.45;
  margin-bottom: 14px;
}

.hs-strengths__section-intro {
  color: var(--hs-text-sub);
  margin-bottom: 28px;
  max-width: 760px;
}

.hs-strengths__index-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none !important;
  margin-bottom: 0;
  padding: 0 !important;
}

.hs-strengths__index-list li {
  --hs-card-accent: var(--hs-blue);
  --hs-card-accent-soft: rgba(0, 90, 160, 0.13);
  --hs-card-accent-faint: rgba(0, 90, 160, 0.04);
  --hs-card-wash: rgba(0, 90, 160, 0.035);
  list-style: none !important;
  margin: 0;
}

.hs-strengths__index-list .hs-block-card--tone-1 {
  --hs-card-accent: #00477f;
  --hs-card-accent-soft: rgba(0, 71, 127, 0.2);
  --hs-card-accent-faint: rgba(0, 71, 127, 0.055);
  --hs-card-wash: rgba(0, 71, 127, 0.07);
}

.hs-strengths__index-list .hs-block-card--tone-2 {
  --hs-card-accent: #0067a8;
  --hs-card-accent-soft: rgba(0, 103, 168, 0.18);
  --hs-card-accent-faint: rgba(0, 103, 168, 0.05);
  --hs-card-wash: rgba(0, 103, 168, 0.055);
}

.hs-strengths__index-list .hs-block-card--tone-3 {
  --hs-card-accent: #008fc7;
  --hs-card-accent-soft: rgba(0, 143, 199, 0.18);
  --hs-card-accent-faint: rgba(0, 143, 199, 0.05);
  --hs-card-wash: rgba(0, 143, 199, 0.05);
}

.hs-strengths__index-list .hs-block-card--tone-4 {
  --hs-card-accent: #008b99;
  --hs-card-accent-soft: rgba(0, 139, 153, 0.17);
  --hs-card-accent-faint: rgba(0, 139, 153, 0.045);
  --hs-card-wash: rgba(0, 139, 153, 0.045);
}

.hs-strengths__index-list .hs-block-card--tone-5 {
  --hs-card-accent: #526f8d;
  --hs-card-accent-soft: rgba(82, 111, 141, 0.17);
  --hs-card-accent-faint: rgba(82, 111, 141, 0.05);
  --hs-card-wash: rgba(82, 111, 141, 0.045);
}

.hs-strengths__index-list .hs-block-card--wide-mobile {
  grid-column: 1 / -1;
}

.hs-strengths__index-list a {
  align-items: center;
  background:
    linear-gradient(180deg, var(--hs-card-accent) 0 5px, transparent 5px),
    linear-gradient(145deg, var(--hs-card-wash), rgba(255, 255, 255, 0) 46%),
    rgba(255, 255, 255, 0.98);
  border-radius: 0;
  box-shadow: 0 12px 30px rgba(0, 71, 127, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 138px;
  overflow: hidden;
  padding: 48px 12px 32px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.hs-strengths__index-list a::before {
  background: linear-gradient(180deg, var(--hs-card-accent-soft), var(--hs-card-accent-faint));
  bottom: 0;
  content: "";
  height: 56px;
  left: 0;
  position: absolute;
  top: 0;
  width: 52px;
}

.hs-strengths__index-list a::after {
  border-right: 2.5px solid var(--hs-card-accent);
  border-top: 2.5px solid var(--hs-card-accent);
  content: "";
  height: 8px;
  bottom: 15px;
  left: calc(50% - 5px);
  position: absolute;
  transform: rotate(135deg);
  width: 8px;
}

.hs-strengths__index-list a:hover {
  box-shadow: 0 18px 38px rgba(0, 71, 127, 0.14);
  color: var(--hs-card-accent);
  transform: translateY(-3px);
}

.hs-strengths__index-list span {
  color: var(--hs-card-accent);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  left: 13px;
  line-height: 1;
  position: absolute;
  top: 15px;
  z-index: 1;
}

.hs-strengths__index-list strong {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.55;
  min-height: 60px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hs-strengths__details {
  border-top: 1px solid var(--hs-line);
}

.hs-strengths__strength {
  padding: var(--hs-block-space-y, 76px) 0;
  scroll-margin-top: 96px;
}

.hs-strengths__strength--tint {
  --hs-block-surface: var(--hs-gray);
}

.hs-strengths__strength-grid {
  align-items: center;
  display: grid;
  gap: 34px;
}

.hs-strengths__heading-group {
  margin-bottom: 32px;
}

.hs-strengths__number {
  color: var(--hs-cyan);
  display: inline-block;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hs-strengths__number::after {
  background: rgba(0, 160, 233, 0.14);
  bottom: -4px;
  content: "";
  height: 20px;
  left: -8px;
  position: absolute;
  width: 58px;
  z-index: -1;
}

.hs-strengths__name {
  color: var(--hs-blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 14px;
}

.hs-strengths__strength h2 {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 0;
}

.hs-strengths__strength-copy > p {
  color: var(--hs-text-sub);
  margin-bottom: 18px;
}

.hs-strengths__strength-copy > p:last-child {
  margin-bottom: 0;
}

.hs-strengths__media {
  aspect-ratio: 4 / 3;
  background: var(--hs-gray);
  box-shadow: 0 20px 48px rgba(0, 71, 127, 0.12);
  margin: 0;
  overflow: hidden;
  position: relative;
}

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

.hs-strengths__media--document img {
  object-position: 50% 48%;
}

.hs-strengths__next-action {
  padding: var(--hs-block-space-y, 76px) 0;
}

.hs-strengths__next-action-intro {
  margin-bottom: 42px;
  max-width: none;
  width: 100%;
}

.hs-strengths__next-action h2 {
  color: var(--hs-text);
  margin-bottom: 20px;
}

.hs-strengths__next-action-intro > p {
  color: var(--hs-text-sub);
  margin-bottom: 0;
}

.hs-strengths__steps {
  display: grid;
  gap: 28px;
  list-style: none !important;
  margin-bottom: 0;
  padding: 0 !important;
  position: relative;
}

.hs-strengths__steps li {
  align-content: start;
  background: var(--hs-white);
  border-radius: 8px;
  box-sizing: border-box;
  box-shadow: 0 16px 36px rgba(0, 71, 127, 0.1);
  list-style: none !important;
  margin: 0;
  min-height: 292px;
  padding: 22px 26px 28px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.hs-strengths__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-strengths__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-strengths__step-icon {
  color: var(--hs-cyan);
  height: 58px;
  margin: 0 auto 22px;
  width: 58px;
}

.hs-strengths__step-icon svg {
  display: block;
  height: 100%;
  width: 100%;
}

.hs-strengths__step-icon circle,
.hs-strengths__step-icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.hs-strengths__steps h3 {
  color: var(--hs-text);
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 12px;
  text-align: center;
}

.hs-strengths__steps p {
  color: #5b6872;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
}

.hs-strengths__contact {
  color: rgba(255, 255, 255, 0.9);
  padding: var(--hs-block-space-y, 76px) 0;
}

.hs-strengths__contact-inner {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.hs-strengths__contact-copy {
  max-width: 800px;
  text-align: left;
  width: 100%;
}

.hs-strengths__contact-copy h2 {
  color: var(--hs-white);
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.hs-strengths__contact-copy p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

.hs-strengths__contact .hs-strengths__actions {
  justify-content: center;
  width: 100%;
}

.hs-strengths__contact .hs-strengths__button--white {
  background: linear-gradient(180deg, #ffffff 0%, #f2f9fc 100%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(0, 23, 48, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--hs-blue-deep);
  min-height: 68px;
  padding: 16px 20px 16px 30px;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease, transform 160ms ease;
}

.hs-strengths__contact .hs-strengths__button--white::after {
  align-items: center;
  background: linear-gradient(135deg, var(--hs-blue), var(--hs-cyan));
  border: 0;
  border-radius: 50%;
  color: var(--hs-white);
  content: "→";
  display: inline-flex;
  font-size: 16px;
  height: 32px;
  justify-content: center;
  margin-left: 22px;
  transform: none;
  width: 32px;
}

.hs-strengths__contact .hs-strengths__button--white:hover {
  background: var(--hs-white);
  box-shadow: 0 18px 42px rgba(0, 23, 48, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.hs-strengths__contact .hs-strengths__assist {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0;
}

.hs-strengths a:focus-visible {
  outline: 3px solid #f6c343;
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .hs-strengths__container {
    width: calc(100% - 64px);
  }

  .hs-strengths h1 {
    font-size: 32px;
  }

  .hs-strengths h2 {
    font-size: 28px;
  }

  .hs-strengths__index h2 {
    font-size: 31px;
  }

  .hs-strengths__lead {
    font-size: 16px;
    line-height: 2;
  }

  .hs-strengths__button {
    width: auto;
  }

  .hs-strengths__index-list {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-strengths__index-list a {
    min-height: 154px;
    padding: 54px 18px 36px;
  }

  .hs-strengths__index-list span {
    font-size: 28px;
  }

  .hs-strengths__index-list strong {
    font-size: 15px;
  }
}

@media (min-width: 860px) {
  .hs-strengths__hero {
    display: block;
    min-height: 620px;
  }

  .hs-strengths__hero-pattern {
    inset: 0 44% 0 0;
  }

  .hs-strengths__hero-inner {
    align-items: center;
    display: flex;
    max-width: 1180px;
    min-height: 620px;
  }

  .hs-strengths__hero-copy {
    box-sizing: border-box;
    max-width: 650px;
    padding: 56px 70px 56px 0;
    width: 56%;
  }

  .hs-strengths__hero-page-name {
    font-size: 17px;
    margin-bottom: 22px;
  }

  .hs-strengths__hero-message {
    line-height: 1.45;
  }

  .hs-strengths__hero-photo {
    bottom: 0;
    height: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 44%;
  }

  .hs-strengths__hero-photo::before {
    background: linear-gradient(180deg, var(--hs-blue), var(--hs-cyan));
    height: 100%;
    width: 8px;
  }

  .hs-strengths__hero-photo img {
    object-position: 68% 44%;
  }

  .hs-strengths__index {
    padding: 72px 0;
  }

  .hs-strengths__index-intro {
    margin-bottom: 36px;
    max-width: 760px;
  }

  .hs-strengths__index h2 {
    font-size: 34px;
    margin-bottom: 0;
  }

  .hs-strengths__section-intro {
    margin-bottom: 0;
    max-width: 760px;
  }

  .hs-strengths__index-list {
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hs-strengths__index-list .hs-block-card--wide-mobile {
    grid-column: auto;
  }

  .hs-strengths__index-list a {
    min-height: 178px;
    padding: 62px 18px 42px;
  }

  .hs-strengths__index-list span {
    font-size: 32px;
    left: 16px;
    top: 16px;
  }

  .hs-strengths__index-list strong {
    font-size: 16px;
    min-height: 72px;
  }

  .hs-strengths__index-list a::before {
    height: 68px;
    width: 64px;
  }

  .hs-strengths__index-list a::after {
    border-width: 3px;
    bottom: 20px;
    height: 10px;
    width: 10px;
  }

  .hs-strengths__strength {
    scroll-margin-top: 170px;
  }

  .hs-strengths__strength-grid {
    gap: clamp(54px, 7vw, 92px);
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  }

  .hs-strengths__strength-grid--reverse {
    grid-template-columns: minmax(340px, 0.92fr) minmax(0, 1.08fr);
  }

  .hs-strengths__heading-group {
    margin-bottom: 36px;
  }

  .hs-strengths__number {
    font-size: 64px;
    margin-bottom: 28px;
  }

  .hs-strengths__number::after {
    height: 23px;
    width: 70px;
  }

  .hs-strengths__name {
    font-size: 17px;
  }

  .hs-strengths__strength h2 {
    font-size: 32px;
  }

  .hs-strengths__strength-grid--reverse .hs-strengths__strength-copy {
    order: 2;
  }

  .hs-strengths__strength-grid--reverse .hs-strengths__media {
    order: 1;
  }


  .hs-strengths__next-action-intro {
    margin-bottom: 52px;
    max-width: none;
  }

  .hs-strengths__next-action h2 {
    font-size: clamp(26px, 2.25vw, 30px);
    margin-bottom: 20px;
  }

  .hs-strengths__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hs-strengths__steps::before {
    background: linear-gradient(90deg, var(--hs-blue), var(--hs-cyan));
    content: "";
    height: 4px;
    left: 14%;
    position: absolute;
    right: 14%;
    top: 48px;
  }

  .hs-strengths__steps li {
    min-height: 332px;
    padding: 22px 30px 32px;
  }

  .hs-strengths__steps li:not(:last-child)::after {
    display: none;
  }


  .hs-strengths__contact-copy h2 {
    font-size: clamp(24px, 1.9vw, 26px);
    white-space: nowrap;
  }

  .hs-strengths__contact .hs-strengths__button--white {
    min-width: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hs-strengths__button,
  .hs-strengths__index-list a {
    transition: none;
  }
}
