.sm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: transform 100ms ease, box-shadow 100ms ease;
  box-shadow: 0 4px 0 #08452d;
}

.sm-button--cta { box-shadow: 0 4px 0 #469b00; }
.sm-button--outline { box-shadow: 0 4px 0 var(--sm-color-cta-secondary); }
.sm-button:hover { transform: translateY(2px); box-shadow: 0 2px 0 #08452d; }
.sm-button--cta:hover { box-shadow: 0 2px 0 #469b00; }
.sm-button--outline:hover { box-shadow: 0 2px 0 var(--sm-color-cta-secondary); }
.sm-button:active { transform: translateY(4px); box-shadow: none; }
.sm-button:focus-visible { outline: 3px solid #1f5fae; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sm-button { transition: none; } }
.sm-fixed-cta a{transition:transform 100ms ease,box-shadow 100ms ease;box-shadow:0 4px 0 #08452d}.sm-fixed-cta a:last-child{box-shadow:0 4px 0 #469b00}.sm-fixed-cta a:hover{transform:translateY(2px);box-shadow:0 2px 0 #08452d}.sm-fixed-cta a:last-child:hover{box-shadow:0 2px 0 #469b00}.sm-fixed-cta a:active{transform:translateY(4px);box-shadow:none}.sm-fixed-cta a:focus-visible{outline:3px solid #1f5fae;outline-offset:-3px}@media (prefers-reduced-motion: reduce){.sm-fixed-cta a{transition:none}}

.sm-button--primary {
  background: var(--sm-color-primary);
  color: #fff;
}

.sm-button--primary:hover,
.sm-button--primary:focus-visible {
  background: var(--sm-color-primary-hover);
}

.sm-button--cta {
  background: var(--sm-color-cta-primary);
  color: #fff;
}

.sm-button--cta:hover,
.sm-button--cta:focus-visible {
  background: var(--sm-color-cta-primary-hover);
}

.sm-button--outline {
  background: #fff;
  border-color: var(--sm-color-cta-secondary);
  color: var(--sm-color-cta-secondary);
}

.sm-button--outline:hover,
.sm-button--outline:focus-visible {
  background: #fff;
  border-color: var(--sm-color-cta-secondary-hover);
  color: var(--sm-color-cta-secondary-hover);
}

.sm-button--block {
  display: flex;
  width: 100%;
}

.sm-button--mobile {
  min-height: 38px;
  padding: 0 12px;
  font-size: 14px;
}

.sm-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-color-primary);
}

.sm-menu-toggle__bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.sm-menu-toggle__bars span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 120ms ease, opacity 120ms ease;
}

.sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.sm-menu-toggle[aria-expanded="true"] .sm-menu-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sm-toc {
  padding: 20px 24px;
  border: 1px solid var(--sm-color-border-light);
  background: var(--sm-color-bg-soft);
}

.sm-toc p,
.sm-related-links h2,
.sm-filter-panel__group h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.sm-toc ol {
  margin: 0;
  padding-left: 20px;
}

.sm-entry-content {
  margin-top: 32px;
}

.sm-entry-content > *:first-child {
  margin-top: 0;
}

.sm-entry-content p {
  margin: 0 0 20px;
}

.sm-entry-content ul,
.sm-entry-content ol {
  margin: 0 0 20px 22px;
  padding: 0;
}

.sm-entry-content h2,
.sm-main-content .content-sectiontitle h2,
.sm-main-content .center-header h2,
.sm-main-content .fullsize-header h2,
.sm-main-content .contents-header h1 {
  margin: 64px 0 24px;
  padding: 15px 18px;
  border-left: 5px solid var(--sm-color-primary);
  background: var(--sm-color-bg-soft);
  font-size: 28px;
  line-height: 1.55;
}

.sm-entry-content h3,
.sm-main-content .contentitem .title,
.sm-main-content .center-header p {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sm-color-primary-pale);
  font-size: 21px;
  line-height: 1.6;
  font-weight: 700;
}

.sm-entry-content table,
.sm-price-table,
.sm-compare-tables table,
.sm-main-content table {
  width: 100%;
  border-collapse: collapse;
}

.sm-entry-content th,
.sm-entry-content td,
.sm-price-table th,
.sm-price-table td,
.sm-compare-tables th,
.sm-compare-tables td,
.sm-main-content table th,
.sm-main-content table td {
  border: 1px solid var(--sm-color-border);
  padding: 12px 14px;
  vertical-align: top;
}

.sm-entry-content th,
.sm-price-table th,
.sm-compare-tables th,
.sm-main-content table th {
  background: #f2f6f4;
  font-weight: 700;
}

.sm-related-links {
  margin-top: 32px;
}

.sm-related-links li + li {
  margin-top: 10px;
}

.sm-related-links a,
.sm-text-link {
  color: var(--sm-color-primary);
  font-weight: 700;
}

.sm-sidebar {
  width: 280px;
}

.sm-sidebar__section {
  margin-bottom: 24px;
}

.sm-sidebar__heading {
  margin: 0;
  padding: 11px 13px;
  background: var(--sm-color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sm-sidebar__links li {
  border-left: 1px solid var(--sm-color-border);
  border-right: 1px solid var(--sm-color-border);
  border-bottom: 1px solid var(--sm-color-border);
  background: #fff;
}

.sm-sidebar__links a {
  display: block;
  padding: 11px 13px;
  font-size: 14px;
}

.sm-sidebar__links .is-current {
  border-left: 3px solid var(--sm-color-primary);
  background: var(--sm-color-primary-pale);
  font-weight: 700;
}

.sm-sidebar__cta {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--sm-color-primary);
  background: var(--sm-color-primary-pale);
}

.sm-inline-cta {
  margin-top: 40px;
  padding: 28px;
  border-top: 1px solid #cfe0d7;
  border-bottom: 1px solid #cfe0d7;
  background: var(--sm-color-primary-pale);
}

.sm-inline-cta.is-final {
  margin-top: 0;
  padding: 40px 28px;
}

.sm-inline-cta__inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 24px;
  align-items: center;
  width: min(calc(100% - 48px), var(--sm-container));
  margin: 0 auto;
}

.sm-inline-cta__body h2 {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 22px;
}

.sm-inline-cta__body p {
  margin: 10px 0 0;
}

.sm-inline-cta__phone {
  display: inline-block;
  margin-top: 14px;
  font-size: 28px;
  font-weight: 700;
}

.sm-inline-cta__hours,
.sm-inline-cta__note {
  font-size: 13px;
  color: var(--sm-color-text-muted);
}

.sm-inline-cta__note a {
  color: var(--sm-color-primary);
  font-weight: 700;
}

.sm-inline-cta__actions {
  display: grid;
  gap: 10px;
}

/* Shared footer-preceding CTA. This is rendered only by the final CTA call. */
.sm-prefooter-cta {
  position: relative;
  isolation: isolate;
  overflow: visible;
  min-height: 398px;
  margin: 0;
  padding: 60px 24px 30px;
  border: 0;
  background: #009a3f;
}

.sm-prefooter-cta__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1036px);
  margin: 0 auto;
  padding-right: 0;
  box-sizing: border-box;
}

.sm-prefooter-cta h2 {
  position: relative;
  z-index: 3;
  margin: 0 0 35px;
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-shadow: 3px 3px 0 rgba(0, 104, 49, .45);
}

.sm-inline-cta.sm-prefooter-cta--area-detail.is-final {
  padding: 34px 28px 30px;
}

.sm-prefooter-cta__area-promise {
  position: relative;
  z-index: 3;
  margin: 0 0 6px;
  color: #f4c51d;
  font-size: clamp(22px, 1.8vw, 26px);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.sm-prefooter-cta--area-detail h2 {
  margin-bottom: 26px;
}

.sm-prefooter-cta__contact {
  position: absolute;
  z-index: 0;
  top: 10px;
  left: max(22px, calc(50% - 690px));
  width: min(29vw, 460px);
  opacity: .5;
  pointer-events: none;
}

.sm-prefooter-cta__box {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.sm-prefooter-cta__label {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 15px 18px;
  background: #ff5a00;
  color: #fff;
  font-size: clamp(19px, 1.75vw, 30px);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.sm-prefooter-cta__items {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr .925fr .925fr;
  min-height: 130px;
}

.sm-prefooter-cta__phone,
.sm-prefooter-cta__button {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
}

.sm-prefooter-cta__phone {
  flex-direction: column;
  padding: 16px 18px;
  border-right: 1px solid #d7e2da;
  color: #183d2a;
}

.sm-prefooter-cta__phone-number {
  white-space: nowrap;
  font-size: clamp(30px, 2.45vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .02em;
}

.sm-prefooter-cta__phone-label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.sm-main-header__reception,
.sm-inline-cta__entity {
  margin: 4px 0 0;
  color: var(--sm-color-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.sm-entity-responsibility {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid #bfd6c9;
  background: #f4f8f4;
}

.sm-entity-responsibility h2 {
  margin: 0 0 16px;
  color: var(--sm-color-primary);
  font-size: 20px;
  line-height: 1.45;
}

.sm-entity-responsibility dl {
  display: grid;
  gap: 1px;
  margin: 0;
  background: #d9e6dd;
}

.sm-entity-responsibility dl div {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
  background: #fff;
}

.sm-entity-responsibility dt,
.sm-entity-responsibility dd {
  margin: 0;
  padding: 12px 14px;
  line-height: 1.6;
}

.sm-entity-responsibility dt {
  background: #e8f0ea;
  color: #194a33;
  font-weight: 700;
}

.sm-entity-responsibility dd {
  font-weight: 700;
}

.sm-prefooter-cta__phone-hours {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.sm-prefooter-cta__button {
  margin: 24px 20px;
  border-radius: 2px;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  transform: translateY(0);
  transition: transform .16s ease, box-shadow .16s ease;
}

.sm-prefooter-cta__button--diagnosis {
  background: #0b5738;
  box-shadow: 0 5px 0 #08452d;
}

.sm-estimate-button-label,
.sm-estimate-button-label__top,
.sm-estimate-button-label__bottom {
  display: block;
}

.sm-estimate-button-label {
  line-height: 1.3;
  text-align: center;
}

.sm-prefooter-cta__button--contact {
  background: #65b900;
  box-shadow: 0 5px 0 #478600;
}

.sm-prefooter-cta__button:hover {
  color: #fff;
  transform: translateY(2px);
}

.sm-prefooter-cta__button--diagnosis:hover { box-shadow: 0 3px 0 #08452d; }
.sm-prefooter-cta__button--contact:hover { box-shadow: 0 3px 0 #478600; }

.sm-prefooter-cta__button:active {
  transform: translateY(5px);
  box-shadow: none;
}

.sm-prefooter-cta__staff {
  position: absolute;
  z-index: 1;
  right: max(0px, calc(50% - 720px));
  bottom: 0;
  width: 330px;
  height: auto;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .sm-prefooter-cta__inner { width: min(calc(100% - 48px), 900px); padding-right: 0; }
  .sm-prefooter-cta__staff { z-index: 1; width: min(28vw, 280px); }
  .sm-prefooter-cta__button { margin-right: 10px; margin-left: 10px; font-size: 18px; }
  .sm-prefooter-cta__label { font-size: 15px; }
}

@media (max-width: 767px) {
  .sm-prefooter-cta { overflow: hidden; padding: 30px 18px 24px; }
  .sm-inline-cta.sm-prefooter-cta--area-detail.is-final { padding: 24px 18px; }
  .sm-prefooter-cta__inner { width: 100%; padding-right: 0; }
  .sm-prefooter-cta__area-promise { margin-bottom: 6px; font-size: 20px; line-height: 1.4; }
  .sm-prefooter-cta h2 {
    max-width: none;
    margin-bottom: 18px;
    font-size: clamp(19px, 5.15vw, 20px);
    line-height: 1.35;
    text-align: center;
    text-shadow: none;
    white-space: nowrap;
  }
  .sm-prefooter-cta--area-detail h2 { margin-bottom: 14px; }
  .sm-prefooter-cta__contact { top: 22px; left: -10px; width: 230px; }
  .sm-prefooter-cta__staff { display: none; }
  .sm-prefooter-cta__label { padding: 11px 14px; font-size: 13px; text-align: center; }
  .sm-prefooter-cta__items { grid-template-columns: 1fr; min-height: 0; }
  .sm-prefooter-cta__phone { padding: 16px; border-right: 0; border-bottom: 1px solid #d7e2da; text-align: center; }
  .sm-prefooter-cta__phone-number { font-size: 27px; }
  .sm-prefooter-cta__phone-label { font-size: 11px; }
  .sm-prefooter-cta__phone-hours { margin-top: 6px; font-size: 11px; }
  .sm-prefooter-cta__button { min-height: 52px; margin: 12px 10px 6px; font-size: 18px; }
  .sm-prefooter-cta__button--contact { margin-top: 10px; margin-bottom: 12px; }
  .sm-main-header__reception { font-size: 11px; }
  .sm-entity-responsibility { margin: 26px 0; padding: 18px; }
  .sm-entity-responsibility h2 { font-size: 18px; }
  .sm-entity-responsibility dl div { grid-template-columns: 1fr; }
  .sm-entity-responsibility dt,
  .sm-entity-responsibility dd { padding: 10px 12px; font-size: 14px; }
}

.sm-service-grid,
.sm-problem-grid,
.sm-archive-grid,
.sm-voice-grid,
.sm-site-footer__nav,
.sm-dual-panels,
.sm-contact-summary {
  display: grid;
  gap: 24px;
}

.sm-service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sm-service-card,
.sm-problem-grid article,
.sm-dual-panels article,
.sm-empty-state,
.sm-form-shell,
.sm-filter-panel,
.sm-contact-summary > div {
  border: 1px solid var(--sm-color-border);
  border-radius: 2px;
  background: #fff;
}

.sm-service-card {
  overflow: hidden;
}

.sm-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sm-service-card > div {
  padding: 20px;
}

.sm-service-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.sm-service-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sm-service-card__links li + li {
  margin-top: 10px;
}

.sm-service-card__footer {
  margin: 16px 0 0;
}

.sm-problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sm-problem-grid article {
  padding: 20px;
}

.sm-problem-card__icon {
  width: 24px;
  height: 24px;
  color: var(--sm-color-primary);
}

.sm-problem-card__icon svg {
  width: 24px;
  height: 24px;
}

.sm-problem-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.sm-problem-grid p {
  margin: 0 0 10px;
}

.sm-price-table-wrap {
  overflow-x: auto;
}

.sm-archive-grid--cases,
.sm-archive-grid--column {
  grid-template-columns: repeat(3, 1fr);
}

.sm-voice-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sm-archive-card,
.sm-voice-card {
  padding-bottom: 14px;
  border-bottom: 1px solid #dddddd;
}

.sm-voice-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
}

.sm-archive-card__image,
.sm-voice-card__thumb {
  display: block;
  overflow: hidden;
}

.sm-archive-card__image img,
.sm-column-thumb img {
  width: 100%;
  object-fit: cover;
}

.sm-archive-card--case .sm-archive-card__image img {
  aspect-ratio: 4 / 3;
}

.sm-archive-card--case .sm-archive-card__placeholder {
  aspect-ratio: 4 / 3;
}

.sm-archive-card__placeholder--sample {
  display: grid;
  place-items: center;
  border: 1px solid #d9d9d9;
  background: #f3f3f3;
  color: #777;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.sm-archive-card__sample-label {
  color: #777;
}

.sm-archive-card--column .sm-archive-card__image img {
  aspect-ratio: 16 / 9;
}

.sm-archive-card--column {
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 1px solid #d8e1db;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sm-archive-card--column:hover,
.sm-archive-card--column:focus-within {
  border-color: #9fbcac;
  box-shadow: 0 10px 24px rgba(14, 72, 47, .12);
  transform: translateY(-3px);
}

.sm-column-card__link {
  display: flex;
  height: 100%;
  min-width: 0;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.sm-column-card__link:focus-visible {
  outline: 3px solid #1c7b55;
  outline-offset: 3px;
}

.sm-archive-card--column .sm-archive-card__image,
.sm-archive-card--column .sm-archive-card__image img,
.sm-archive-card--column .sm-archive-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.sm-archive-card--column .sm-archive-card__image img {
  display: block;
  height: 100%;
  object-fit: cover;
}

.sm-column-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 0 18px 20px;
}

.sm-archive-card--column .sm-archive-card__title {
  color: #173f30;
  font-weight: 800;
  -webkit-line-clamp: 3;
}

.sm-archive-card--column .sm-archive-card__excerpt {
  color: #111;
  line-height: 1.75;
  -webkit-line-clamp: 3;
}

.sm-archive-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
}

.sm-voice-card .sm-archive-card__placeholder {
  aspect-ratio: 4 / 3;
}

.sm-voice-card__placeholder {
  display: grid !important;
  place-items: center;
  background: #f1f6f2 !important;
  color: var(--sm-color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.sm-voice-card__body {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
}

.sm-archive-card__meta,
.sm-voice-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--sm-color-text-muted);
}

.sm-archive-card__meta .is-primary,
.sm-voice-card__meta .is-primary {
  color: var(--sm-color-primary);
}

.sm-archive-card__title,
.sm-voice-card h2 {
  margin: 10px 0 0;
  display: -webkit-box;
  font-size: 17px;
  line-height: 1.6;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sm-archive-card__excerpt,
.sm-voice-card p {
  margin: 10px 0 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.sm-voice-card .sm-archive-card__work-tags {
  margin-top: 12px;
}

.sm-voice-card__ratings {
  display: grid;
  gap: 6px;
  margin: 16px 18px 0;
  padding: 12px 0;
  border-top: 1px solid var(--sm-color-border-light);
  border-bottom: 1px solid var(--sm-color-border-light);
  list-style: none;
}

.sm-voice-card__ratings li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  justify-content: space-between;
  font-size: 13px;
}

.sm-voice-card__ratings strong {
  color: var(--sm-color-primary);
  font-size: 15px;
}

.sm-voice-card__quote {
  margin: 14px 18px 0 !important;
  color: var(--sm-color-text);
}

.sm-voice-card .sm-text-link {
  margin-top: auto;
}

.sm-archive-card--case {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sm-archive-card--preview {
  overflow: hidden;
  padding: 0 0 16px;
  border: 1px solid #e1e7e4;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
  transition: transform .15s ease, border-color .15s ease;
}

.sm-archive-card--preview:hover { transform: translateY(-2px); border-color: #b9d0c4; }
.sm-archive-card--preview .sm-archive-card__placeholder { aspect-ratio: 4 / 3; background: #f1f4f2; }
.sm-archive-card--preview .sm-archive-card__title { margin: 13px 16px 0; color: #173f30; font-size: 18px; font-weight: 700; }
.sm-archive-card--preview .sm-archive-card__facts { margin: 10px 16px 0; font-size: 14px; line-height: 1.55; }
.sm-archive-card--preview .sm-archive-card__facts div { display:grid; grid-template-columns:72px minmax(0,1fr); gap:8px; padding:5px 0; border-top:1px solid #edf1ef; }
.sm-archive-card--preview .sm-archive-card__facts dt { color:var(--sm-color-primary); font-weight:700; }
.sm-archive-card--preview .sm-archive-card__facts dd { margin:0; color:#4a5751; }

.sm-archive-card--area-modern {
  position: relative;
  overflow: hidden;
  padding: 0 0 18px;
  border: 1px solid #e3e8e5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .15s ease, box-shadow .15s ease;
}

.sm-case-card.sm-archive-card--area-modern {
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.sm-case-card--linked.sm-archive-card--area-modern {
  padding: 0;
}

.sm-case-card__link {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 0 18px;
  color: inherit;
  text-decoration: none;
}

.sm-case-card__link:hover {
  color: inherit;
  text-decoration: none;
}

.sm-editorial-final__content .editorial-works .sm-case-card__link,
.sm-editorial-final__content .editorial-works .sm-case-card__link:hover {
  padding: 14px;
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.sm-case-card__link:focus-visible {
  outline: 2px solid var(--sm-color-primary);
  outline-offset: -2px;
}

.sm-archive-card--area-modern:hover,
.sm-archive-card--area-modern:focus-within {
  transform: translateY(-3px);
  border-color: #d7dfda;
  box-shadow: 0 10px 26px rgba(0,0,0,.09);
}

.sm-archive-card--area-modern .sm-archive-card__image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}

.sm-case-card.sm-archive-card--area-modern .sm-archive-card__image,
.sm-case-card.sm-archive-card--area-modern .sm-archive-card__image img {
  color: var(--sm-color-primary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.sm-archive-card--area-modern .sm-archive-card__image img,
.sm-archive-card--area-modern .sm-archive-card__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sm-archive-card--area-modern .sm-archive-card__placeholder {
  background: #f1f4f2;
}

.sm-archive-card--area-modern .sm-archive-card__area-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sm-color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sm-archive-card--area-modern .sm-archive-card__title {
  margin: 18px 18px 0;
  min-height: calc(3 * 1.45em + 2px);
  padding-bottom: 8px;
  border-bottom: 1px solid #d3ddd6;
  color: #173f30;
  font-size: clamp(18px,1.5vw,20px);
  font-weight: 700;
  line-height: 1.45;
  -webkit-line-clamp: 3;
}

.sm-archive-card--area-modern .sm-archive-card__title a { color: inherit; text-decoration: none; }
.sm-archive-card--area-modern .sm-archive-card__title a:focus-visible,
.sm-archive-card--area-modern .sm-archive-card__image:focus-visible { outline:2px solid var(--sm-color-primary); outline-offset:-2px; }
.sm-archive-card--area-modern .sm-archive-card__facts { margin: 10px 18px 0; font-size: 13px; line-height: 1.55; }
.sm-archive-card--area-modern .sm-archive-card__facts div { display:flex; gap:8px; padding:4px 0; border:0; }
.sm-archive-card--area-modern .sm-archive-card__facts dt { flex:0 0 auto; color:#557066; font-weight:700; }
.sm-archive-card--area-modern .sm-archive-card__facts dd { min-width:0; margin:0; color:#33483f; }
.sm-archive-card__work-types { margin:12px 18px 0; }
.sm-archive-card__work-types-label { display:block; margin-bottom:7px; color:#557066; font-size:12px; font-weight:700; line-height:1.5; }
.sm-archive-card__work-tags { display:flex; flex-wrap:wrap; gap:6px; margin:0; padding:0; list-style:none; }
.sm-archive-card__work-tags li { margin:0; padding:3px 7px; border:1px solid #c7dbd0; border-radius:2px; background:#edf5f1; color:#174f38; font-size:12px; font-weight:600; line-height:1.45; overflow-wrap:anywhere; }

.sm-case-card.sm-archive-card--area-modern .sm-archive-card__work-types {
  margin: 12px 18px 0;
}

.sm-case-card.sm-archive-card--area-modern .sm-archive-card__work-types-label {
  display: block;
  margin: 0 0 7px;
  padding: 0;
  color: #557066;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.sm-case-card.sm-archive-card--area-modern .sm-archive-card__work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: #111;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  list-style: none;
}

.sm-case-card.sm-archive-card--area-modern .sm-archive-card__work-tags > li {
  margin: 0;
  padding: 3px 7px;
  border: 1px solid #c7dbd0;
  border-radius: 2px;
  background: #edf5f1;
  color: #174f38;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sm-thought-grid,
.sm-area-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.sm-thought-points {
  margin: 0;
  padding-left: 20px;
}

.sm-thought-points li + li {
  margin-top: 10px;
}

.sm-thought-grid__image img,
.sm-area-panel__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sm-compare-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sm-compare-tables h3,
.sm-area-group h2,
.sm-area-group__region h3 {
  margin: 0 0 12px;
}

.sm-dual-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sm-dual-panels article {
  padding: 24px;
  border-top: 4px solid var(--sm-color-primary);
}

.sm-area-groups {
  display: grid;
  gap: 24px;
}

.sm-area-group {
  padding: 24px;
  border: 1px solid var(--sm-color-border);
}

.sm-area-group__region + .sm-area-group__region {
  margin-top: 18px;
}

.sm-area-group__region ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.sm-archive-section__footer {
  margin: 24px 0 0;
  text-align: center;
}

.sm-faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--sm-color-border);
}

.sm-faq-item {
  border-bottom: 1px solid var(--sm-color-border);
}

.sm-faq-item summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.sm-faq-item summary::-webkit-details-marker {
  display: none;
}

.sm-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 16px;
  right: 0;
  color: var(--sm-color-primary);
  font-size: 24px;
  line-height: 1;
}

.sm-faq-item[open] summary::after {
  content: "−";
}

.sm-faq-item div {
  padding: 0 0 18px;
}

.sm-filter-panel {
  padding: 20px;
}

.sm-filter-panel--works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.sm-filter-panel__group + .sm-filter-panel__group {
  margin-top: 18px;
}

.sm-filter-panel--works .sm-filter-panel__group + .sm-filter-panel__group {
  margin-top: 0;
}

.sm-filter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sm-filter-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--sm-color-border);
  font-size: 14px;
}

.sm-filter-links .is-current {
  border-color: var(--sm-color-primary);
  background: var(--sm-color-primary-pale);
  color: var(--sm-color-primary);
}

.sm-mobile-nav__toggle::before {
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.sm-mobile-nav__toggle[aria-expanded="true"]::before {
  content: "−";
}

.sm-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.sm-pagination a,
.sm-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--sm-color-border);
  padding: 0 12px;
}

.sm-pagination .is-current span {
  border-color: var(--sm-color-primary);
  background: var(--sm-color-primary);
  color: #fff;
}

.sm-form-section {
  margin-top: 32px;
}

.sm-contact-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.sm-contact-summary > div {
  padding: 20px;
}

.sm-contact-summary h2 {
  margin: 0 0 10px;
  font-size: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

.sm-contact-summary a {
  color: var(--sm-color-primary);
  font-size: 24px;
  font-weight: 700;
}

.sm-form-shell {
  padding: 24px;
}

.sm-form-shell input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.sm-form-shell select,
.sm-form-shell textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  box-sizing: border-box;
  font: inherit;
  padding: 10px 12px;
}

.sm-form-shell textarea {
  min-height: 160px;
}

.sm-form-shell .form-content {
  margin-top: 18px;
}

.sm-form-shell .kcm-privacy-consent label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-table-wrap {
  overflow-x: auto;
}

.sm-table-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.sm-table-wrap th,
.sm-table-wrap td {
  border: 1px solid #D9D9D9;
  padding: 12px;
}

.sm-table-wrap th {
  background: #F2F6F4;
}

.sm-price-model__answer {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--sm-color-border);
  border-radius: 2px;
  background: var(--sm-color-primary-pale);
}

.sm-price-model__answer h2 { margin: 0 0 12px; font-size: 21px; }
.sm-price-model__answer ul { margin: 0; }
.sm-price-model h2 + p + .sm-table-wrap { margin-top: 20px; }
.sm-price-model h3 + .sm-table-wrap { border-top: 3px solid var(--sm-color-primary); }
.sm-price-model h3 + ol { counter-reset: price-condition; columns: 2; gap: 24px; }
.sm-price-model h3 + ol li { break-inside: avoid; }
@media (max-width: 767px) { .sm-price-model h3 + ol { columns: 1; } }

.sm-form-shell input:focus,
.sm-form-shell select:focus,
.sm-form-shell textarea:focus {
  border-color: var(--sm-color-primary);
  outline: 0;
}

.sm-form-shell input[type="submit"],
.sm-form-shell button[type="submit"],
.sm-form-shell .submit button,
.sm-form-shell .submit input {
  min-width: 220px;
  min-height: 50px;
  border: 0;
  border-radius: 2px;
  background: var(--sm-color-primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  box-shadow: 0 4px 0 #08452d;
  transition: transform 100ms ease, box-shadow 100ms ease;
}
.sm-form-shell input[type="submit"]:hover,.sm-form-shell button[type="submit"]:hover,.sm-form-shell .submit button:hover,.sm-form-shell .submit input:hover{transform:translateY(2px);box-shadow:0 2px 0 #08452d}.sm-form-shell input[type="submit"]:active,.sm-form-shell button[type="submit"]:active,.sm-form-shell .submit button:active,.sm-form-shell .submit input:active{transform:translateY(4px);box-shadow:none}.sm-form-shell input[type="submit"]:focus-visible,.sm-form-shell button[type="submit"]:focus-visible{outline:3px solid #1f5fae;outline-offset:3px}

.sm-empty-state {
  padding: 28px;
}

.sm-prev-next {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--sm-color-border-light);
}

.sm-column-date {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--sm-color-text-muted);
}

.sm-column-thumb {
  margin-bottom: 24px;
}

.sm-voice-card__thumb img,
.sm-voice-card .sm-archive-card__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sm-voice-detail__section {
  margin-top: 40px;
}

.sm-voice-detail__overview {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  gap: 32px;
  align-items: start;
}

.sm-voice-detail__overview--text-only {
  grid-template-columns: minmax(0, 1fr);
}

.sm-voice-detail__overview > .sm-voice-detail__section,
.sm-voice-detail__overview-info > .sm-voice-detail__section:first-child {
  margin-top: 0;
}

.sm-voice-detail__work-tags {
  margin: 0;
}

.sm-voice-detail__section > h2 {
  margin: 0 0 20px;
}

.sm-voice-detail__facts {
  margin: 0;
  border-top: 1px solid var(--sm-color-border);
}

.sm-voice-detail__facts > div {
  display: grid;
  grid-template-columns: minmax(140px, 25%) minmax(0, 1fr);
  border-bottom: 1px solid var(--sm-color-border);
}

.sm-voice-detail__facts dt,
.sm-voice-detail__facts dd {
  min-width: 0;
  margin: 0;
  padding: 14px 16px;
  overflow-wrap: anywhere;
}

.sm-voice-detail__facts dt {
  background: #f3f7f4;
  color: var(--sm-color-primary-dark);
  font-weight: 700;
}

.sm-voice-rating-list {
  border-top: 1px solid var(--sm-color-border);
}

.sm-voice-rating-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.4fr);
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--sm-color-border);
}

.sm-voice-rating-row__label {
  font-weight: 700;
}

.sm-voice-rating-row__scale {
  display: grid;
  grid-template-columns: repeat(5, 40px);
  gap: 12px;
  justify-content: end;
}

.sm-voice-rating-row__number {
  display: inline-grid;
  width: 40px;
  height: 40px;
  box-sizing: border-box;
  place-items: center;
  border: 3px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #4a554f;
  font-weight: 700;
}

.sm-voice-rating-row__number.is-selected {
  border: 3px solid var(--sm-color-primary);
  background: #edf8f1;
  color: var(--sm-color-primary-dark);
}

.sm-voice-detail__message-text {
  padding: 24px;
  border-left: 4px solid var(--sm-color-primary);
  background: #f7faf8;
  overflow-wrap: anywhere;
}

.sm-voice-detail__questionnaire-note {
  margin: -8px 0 16px;
  color: var(--sm-color-text-muted);
  font-size: 13px;
}

.sm-voice-detail__questionnaire a,
.sm-voice-detail__questionnaire img {
  display: block;
}

.sm-voice-detail__questionnaire img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  margin-inline: auto;
  border: 1px solid var(--sm-color-border);
  object-fit: contain;
}

.sm-voice-detail__related-case-card {
  width: min(100%, 360px);
}

.sm-voice-archive__preview-notice {
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 4px solid #b27b1b;
  background: #fff8df;
  color: #332609;
  font-size: 14px;
  font-weight: 700;
}

.sm-voice-archive__lead {
  margin: -6px 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px dotted #777;
  color: var(--sm-color-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.sm-voice-archive .sm-purpose-filters {
  display: block;
  margin: 0 0 10px;
  padding: 8px 0 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
}

.sm-voice-archive .sm-purpose-filters strong {
  width: auto;
  min-width: 0;
  font-size: 13px;
}

.sm-voice-archive .sm-purpose-filters a {
  color: var(--sm-color-primary);
  text-underline-offset: 3px;
}

.sm-voice-archive__empty {
  padding: 26px 24px;
}

.sm-voice-archive__empty p {
  margin: 0;
}

.sm-voice-archive__empty p + p {
  margin-top: 8px;
}

/* Customer voices are read in full on the archive; singles are preview-only. */
.sm-voice-list {
  display: block;
  min-width: 0;
}

.sm-voice-list-row {
  min-width: 0;
  margin: 0 0 34px;
  padding: 22px 0 34px;
  border-bottom: 1px dotted #777;
}

.sm-voice-list-row:last-child {
  margin-bottom: 0;
}

.sm-voice-list .sm-voice-list-row__title {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-color-text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.sm-voice-list-row__body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
  min-width: 0;
}

.sm-voice-list-row--no-image .sm-voice-list-row__body {
  grid-template-columns: minmax(0, 1fr);
}

.sm-voice-list-row__media {
  width: 100%;
  max-width: 190px;
  align-self: start;
  min-width: 0;
  margin: 0;
}

.sm-voice-list-row__image-button,
.sm-voice-list-row__image {
  display: block;
}

.sm-voice-list-row__image-button {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sm-color-border);
  background: #fff;
  cursor: zoom-in;
  appearance: none;
}

.sm-voice-list-row__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sm-voice-list-row__zoom-icon {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 2px;
  background: rgba(31,35,33,.9);
}

.sm-voice-list-row__zoom-icon::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.sm-voice-list-row__zoom-icon::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 16px;
  width: 7px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.sm-voice-list-row__content,
.sm-voice-list-row__info-row {
  min-width: 0;
}

.sm-voice-list-row__content {
  display: grid;
  align-self: start;
  gap: 26px;
}

.sm-voice-list .sm-voice-list-row__info-row,
.sm-voice-list .sm-voice-list-row__info-row + .sm-voice-list-row__info-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin: 0;
}

.sm-voice-list .sm-voice-list-row__label {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 0;
  margin: 0;
  padding: 5px 12px;
  border: 0;
  border-radius: 2px;
  background: var(--sm-color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.sm-voice-list-row__contractor {
  margin: 0;
  color: var(--sm-color-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

.sm-voice-list-row__ratings {
  display: grid;
  gap: 12px;
}

.sm-voice-list-row__rating {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.sm-voice-list-row__rating-label {
  min-width: 0;
  line-height: 1.6;
}

.sm-voice-list-row__rating-scale {
  display: grid;
  grid-template-columns: repeat(5, 28px);
  gap: 4px;
}

.sm-voice-list-row__rating-scale > span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 50%;
  color: #3f4944;
  font-size: 13px;
  font-weight: 700;
}

.sm-voice-list-row__rating-scale > .is-selected {
  border-color: var(--sm-color-primary);
  background: #edf8f1;
  color: var(--sm-color-primary);
}

.sm-voice-list .sm-voice-list-row__message {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-color-text);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.sm-voice-lightbox {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.sm-voice-lightbox::backdrop {
  background: rgba(0,0,0,.86);
}

.sm-voice-lightbox__body {
  position: relative;
  display: grid;
  max-width: 90vw;
  max-height: 90vh;
  place-items: center;
}

.sm-voice-lightbox__image {
  display: block;
  width: auto;
  max-width: 90vw;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
}

.sm-voice-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

body.sm-voice-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1023px) {
  .sm-voice-detail__overview {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .sm-voice-detail__overview:not(.sm-voice-detail__overview--text-only) .sm-voice-detail__overview-info > .sm-voice-detail__section:first-child {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .sm-voice-list-row__body {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .sm-voice-list-row__media {
    width: min(100%, 190px);
  }
}

@media (max-width: 767px) {
  .sm-voice-list-row {
    margin-bottom: 30px;
    padding: 20px 0 30px;
  }

  .sm-voice-list .sm-voice-list-row__title {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .sm-voice-list-row__media {
    width: min(100%, 190px);
  }

  .sm-voice-list-row__content {
    gap: 22px;
  }

  .sm-voice-list .sm-voice-list-row__info-row,
  .sm-voice-list .sm-voice-list-row__info-row + .sm-voice-list-row__info-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .sm-voice-list-row__rating {
    grid-template-columns: minmax(130px, 1fr) auto;
    gap: 10px;
  }

  .sm-voice-list-row__rating-scale {
    justify-content: start;
  }

  .sm-voice-archive__lead {
    margin-top: 0;
    padding-bottom: 22px;
  }
}

.sm-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--sm-color-text-muted);
}

.sm-detail-meta .is-primary {
  color: var(--sm-color-primary);
}

.sm-related-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.sm-related-card-grid > * { min-width: 0; }

.sm-related-card-section {
  margin-top: 32px;
}

.sm-related-card-section h2 {
  margin-top: 0;
}

.sm-main-content .subpage-content,
.sm-main-content .subpage-content-wrap,
.sm-main-content .subpage-content-main {
  width: auto;
  margin: 0;
  padding: 0;
}

.sm-main-content .subpage-content + .subpage-content {
  margin-top: 32px;
}

.sm-main-content .contents-header,
.sm-main-content .subpage-title {
  display: none;
}

.sm-main-content .compare-image-wrap,
.sm-main-content .llghtbox-image-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sm-main-content .compare-image .image span {
  display: block;
  margin-bottom: 8px;
  color: var(--sm-color-primary);
  font-weight: 700;
}

.sm-main-content .compare-image img,
.sm-main-content .llghtbox-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sm-main-content .wrap-vertical-table-wrap dl {
  display: grid;
  grid-template-columns: 200px 1fr;
  margin: 0;
  border-bottom: 1px solid var(--sm-color-border);
}

.sm-main-content .wrap-vertical-table-wrap dt,
.sm-main-content .wrap-vertical-table-wrap dd {
  margin: 0;
  padding: 12px 14px;
}

.sm-main-content .wrap-vertical-table-wrap dt {
  background: #f2f6f4;
  font-weight: 700;
}

/* Shared linked-media treatment: only the image scales, never the card or copy. */
.sm-linked-media__frame {
  overflow: hidden;
}

.sm-linked-media__image {
  display: block;
  width: 100%;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .sm-linked-media:hover .sm-linked-media__image,
  .sm-linked-media:focus-visible .sm-linked-media__image {
    transform: scale(1.06);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-linked-media__image {
    transition: none;
  }

  .sm-linked-media:hover .sm-linked-media__image,
  .sm-linked-media:focus-visible .sm-linked-media__image {
    transform: none;
  }
}
/* Madodan shared scroll-hint UI: exact visual/animation reuse for SP horizontal tables. */
@media (max-width: 767px) {
  .md-scrollhint-host {
    position: relative;
  }

  .md-scrollhint-host > .md-scrollhint-guide {
    position: absolute;
    left: 50%;
    top: 42%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 132px;
    height: 92px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.58);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 10px;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
    pointer-events: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .md-scrollhint-host > .md-scrollhint-guide .md-scrollhint-guide__main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 24px;
    line-height: 1;
  }

  .md-scrollhint-host > .md-scrollhint-guide .md-scrollhint-guide__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    line-height: 0;
    animation: mdSolutionScrollHintHandMove 1.2s ease-in-out infinite;
  }

  .md-scrollhint-host > .md-scrollhint-guide .md-scrollhint-guide__icon img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25));
  }

  .md-scrollhint-host > .md-scrollhint-guide .md-scrollhint-guide__arrow {
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
  }

  .md-scrollhint-host > .md-scrollhint-guide .md-scrollhint-guide__text {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .md-scrollhint-host > .md-scrollhint-guide.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
}

@media (min-width: 768px) {
  .md-scrollhint-host > .md-scrollhint-guide {
    display: none !important;
  }
}

@keyframes mdSolutionScrollHintHandMove {
  0%,
  100% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(7px);
  }
}
