.lawn-mower-page {
  --lm-bg: #f2f8ff;
  --lm-card: #f9fcff;
  --lm-text: #2f3548;
  --lm-copy: #545454;
  --lm-blue: #43a4ff;
  background: var(--lm-bg);
}

.lawn-mower-main {
  color: var(--lm-text);
  background: var(--lm-bg);
  overflow: hidden;
}

.lm-hero {
  height: 400px;
  background: url("./assets/lawn-mower-inspection-v2/hero-bg.png") center / cover no-repeat;
}

.lm-hero__inner {
  height: 100%;
  padding-top: 157px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lm-hero h1,
.lm-hero p {
  margin: 0;
}

.lm-hero h1 {
  max-width: 672px;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
}

.lm-hero__en {
  margin-top: 8px !important;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

.lm-hero__summary {
  max-width: 672px;
  margin-top: 8px !important;
  color: #545d68;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.lm-intro {
  min-height: 491px;
}

.lm-intro__inner {
  min-height: 491px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 575px);
  align-items: center;
  gap: 40px;
}

.lm-intro__copy {
  min-width: 0;
}

.lm-intro__copy h2,
.lm-section-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.lm-section-title {
  text-align: center;
}

.lm-intro__copy > span {
  display: block;
  margin-top: 10px;
  color: #30373c;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0;
}

.lm-intro__copy h3 {
  margin: 16px 0 0;
  color: #30373c;
  font-size: 16px;
  line-height: 2.4;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lm-intro__copy p {
  max-width: 530px;
  margin: 0;
  color: #30373c;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.lm-intro__machine {
  display: block;
  width: 100%;
  max-width: 575px;
  aspect-ratio: 575 / 366;
  object-fit: contain;
  justify-self: end;
}

.lm-monitor {
  width: 100%;
  margin: 0;
  background: #d8d8d8;
}

.lm-monitor img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 869;
  object-fit: cover;
}

.lm-line {
  padding: 80px 0 0;
}

.lm-flow-scroll {
  width: 100%;
  margin-top: 88px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(67, 164, 255, 0.55) transparent;
  scrollbar-width: thin;
}

.lm-flow {
  position: relative;
  width: 1200px;
  height: 462px;
  margin: 0 auto;
  container-type: inline-size;
}

.lm-flow__image {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 1200px;
  height: 367px;
  object-fit: contain;
}

.lm-flow__annotations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.lm-flow__annotation {
  position: absolute;
  margin: 0;
  color: #30373c;
  font-size: max(12px, 1.08cqw);
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
  overflow-wrap: anywhere;
}

.lm-flow__annotation--ng {
  top: 0;
  left: 64.17%;
  width: 16.17%;
}

.lm-flow__annotation--station-1 {
  top: 380px;
  left: 0;
  width: 15.17%;
}

.lm-flow__annotation--station-2 {
  top: 380px;
  left: 20.67%;
  width: 16.08%;
}

.lm-flow__annotation--station-3 {
  top: 380px;
  left: 40.25%;
  width: 19.5%;
}

.lm-flow__annotation--station-4 {
  top: 380px;
  left: 64%;
  width: 16.5%;
}

.lm-flow__annotation--ok {
  top: 308px;
  left: 85.5%;
  width: 13.67%;
}

.lm-line-notes {
  margin: 84px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.lm-line-notes li {
  min-width: 0;
  min-height: 200px;
  padding: 56px 28px 56px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: #2085f9 url("./assets/lawn-mower-inspection-v2/value-card-bg.png") center / cover no-repeat;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  text-align: center;
  overflow-wrap: anywhere;
}

.lm-terminals {
  display: block;
  width: min(1024px, 100%);
  height: auto;
  aspect-ratio: 1024 / 490;
  margin: 72px auto 0;
  object-fit: contain;
}

.lm-strengths {
  padding: 80px 0 60px;
}

.lm-strength-list {
  margin-top: 58px;
  display: grid;
  gap: 40px;
}

.lm-strength-card {
  min-height: 350px;
  padding: 48px 55px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 35px;
  border-radius: 12px;
  background: var(--lm-card);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.lm-strength-card--process {
  min-height: 450px;
}

.lm-strength-card--safety {
  min-height: 390px;
}

.lm-strength-card > img {
  display: block;
  width: 130px;
  height: 118px;
  margin: 0 auto;
  object-fit: contain;
}

.lm-strength-card--process > img {
  width: 120px;
  height: 113px;
}

.lm-strength-card--safety > img {
  width: 120px;
  height: 110px;
}

.lm-strength-card > div {
  min-width: 0;
}

.lm-strength-card h3 {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
}

.lm-strength-card ul {
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  list-style: none;
}

.lm-strength-card li {
  position: relative;
  min-width: 0;
  padding-left: 16px;
  color: var(--lm-copy);
  font-size: 16px;
  line-height: 2.625;
  letter-spacing: 0.08em;
  white-space: normal;
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: normal;
}

.lm-strength-card li::before {
  position: absolute;
  left: 0;
  content: "·";
  color: #2085f9;
}

.lm-specs {
  padding: 0 0 160px;
}

.lm-specs__heading {
  text-align: center;
}

.lm-specs__heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.35;
}

.lm-specs__heading span {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  line-height: 1.35;
}

.lm-spec-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
}

.lm-spec-table {
  width: 100%;
  min-width: 1000px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  color: #6c707d;
  background: #f7fbff;
}

.lm-spec-table th,
.lm-spec-table td {
  height: 48px;
  padding: 0 18px;
  border-right: 1px solid #d7e4f1;
  border-bottom: 1px solid #d7e4f1;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
  text-align: left;
  letter-spacing: 0.08em;
  white-space: normal;
  overflow-wrap: anywhere;
}

.lm-spec-table thead th {
  height: 84px;
  color: #fff;
  background: var(--lm-blue);
  font-size: 16px;
  font-weight: 700;
}

.lm-spec-table th:first-child,
.lm-spec-table td:first-child {
  width: 117px;
  color: #fff;
  background: var(--lm-blue);
  font-size: 18px;
  text-align: center;
}

.lm-spec-table thead th:nth-child(2),
.lm-spec-table tbody th {
  width: 177px;
}

.lm-spec-table thead th:last-child,
.lm-spec-table tr > *:last-child {
  border-right: 0;
}

.lm-spec-table tbody tr:last-child > * {
  border-bottom: 0;
}

@media (max-width: 1248px) {
  .lm-flow {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 462;
  }

  .lm-flow__image {
    width: 100%;
    height: auto;
  }

  .lm-flow__annotation--station-1,
  .lm-flow__annotation--station-2,
  .lm-flow__annotation--station-3,
  .lm-flow__annotation--station-4 {
    top: 82.25%;
  }

  .lm-flow__annotation--ok {
    top: 66.67%;
  }
}

@media (max-width: 1100px) {
  .lm-intro__inner {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 48%);
    gap: 28px;
  }

  .lm-line-notes li {
    min-height: 280px;
    padding: 88px 20px 28px;
    font-size: 14px;
  }

  .lm-strength-card {
    padding-inline: 42px;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .lm-hero {
    height: 340px;
  }

  .lm-hero__inner {
    padding-top: 108px;
  }

  .lm-hero h1 {
    font-size: 28px;
  }

  .lm-hero__summary {
    max-width: 620px;
  }

  .lm-intro__inner {
    padding-block: 60px;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .lm-intro__machine {
    width: min(575px, 100%);
    justify-self: center;
  }

  .lm-line {
    padding-top: 70px;
  }

  .lm-flow-scroll {
    margin-top: 54px;
    padding-bottom: 10px;
  }

  .lm-flow {
    width: 860px;
    height: 394px;
    aspect-ratio: auto;
    margin-inline: 0;
  }

  .lm-flow__image {
    width: 860px;
    height: auto;
  }

  .lm-flow__annotation--station-1,
  .lm-flow__annotation--station-2,
  .lm-flow__annotation--station-3,
  .lm-flow__annotation--station-4 {
    top: 272px;
  }

  .lm-flow__annotation--ok {
    top: 221px;
  }

  .lm-line-notes {
    margin-top: 58px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-line-notes li {
    min-height: 260px;
    padding-top: 78px;
    font-size: 16px;
  }

  .lm-terminals {
    margin-top: 52px;
  }

  .lm-strengths {
    padding-top: 64px;
  }

  .lm-strength-list {
    margin-top: 46px;
  }

  .lm-strength-card {
    min-height: 0;
    padding: 38px 32px;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 24px;
  }

  .lm-strength-card > img,
  .lm-strength-card--process > img,
  .lm-strength-card--safety > img {
    width: 100px;
    height: 100px;
  }

  .lm-strength-card h3 {
    margin-top: 4px;
    font-size: 23px;
  }

  .lm-strength-card li {
    line-height: 2;
  }
}

@media (max-width: 640px) {
  .lm-hero {
    height: 320px;
  }

  .lm-hero__inner {
    padding-top: 74px;
  }

  .lm-hero h1 {
    font-size: 22px;
  }

  .lm-hero__en {
    font-size: 13px;
  }

  .lm-hero__summary {
    margin-top: 10px !important;
    font-size: 11px;
    line-height: 1.7;
  }

  .lm-intro__inner {
    padding-block: 48px;
  }

  .lm-intro__copy h2,
  .lm-section-title,
  .lm-specs__heading h2 {
    font-size: 26px;
  }

  .lm-intro__copy > span {
    font-size: 15px;
  }

  .lm-intro__copy h3 {
    font-size: 15px;
    line-height: 1.9;
  }

  .lm-intro__copy p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.85;
  }

  .lm-line {
    padding-top: 54px;
  }

  .lm-flow-scroll {
    margin-right: -14px;
  }

  .lm-line-notes {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }

  .lm-line-notes li {
    min-height: 240px;
    padding: 68px 28px 28px;
  }

  .lm-strengths {
    padding: 54px 0 48px;
  }

  .lm-strength-list {
    margin-top: 38px;
    gap: 24px;
  }

  .lm-strength-card {
    padding: 30px 22px;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .lm-strength-card > div {
    width: 100%;
  }

  .lm-strength-card h3 {
    margin-top: 0;
    font-size: 20px;
    text-align: center;
  }

  .lm-strength-card li {
    font-size: 14px;
    line-height: 1.8;
  }

  .lm-specs {
    padding-bottom: 90px;
  }

  .lm-spec-table-wrap {
    margin-top: 32px;
  }
}
