:root {
  --navy-deep: #0a223a;
  --navy: #103154;
  --navy-mid: #254e86;
  --white: #ffffff;
  --gray-soft: #f5f6f7;
  --ink: #172331;
  --muted: #52606e;
  --line: #d9dee3;
  --container: 1200px;
  --header-height: 80px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "DIN 2014", "DIN Alternate", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-jp);
  font-size: 16px;
  line-break: strict;
  line-height: 1.9;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--navy-mid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 128px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand-link img {
  width: 178px;
  height: auto;
}

.site-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-list a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--navy);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 2px;
  color: var(--navy);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease;
}

.nav-toggle-lines::before {
  transform: translateY(-6px);
}

.nav-toggle-lines::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  transform: translateY(1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  transform: translateY(-1px) rotate(-45deg);
}

main {
  overflow: clip;
}

section,
.page-hero {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section {
  padding-block: 112px;
}

.section--soft {
  background: var(--gray-soft);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section-heading {
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 8.33%;
  margin-bottom: 64px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--navy-mid);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.section--navy .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow,
.cta-band .eyebrow {
  color: var(--white);
  opacity: 0.72;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
  word-break: auto-phrase;
}

h1 {
  font-size: clamp(42px, 6.1vw, 84px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.24;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
}

p {
  margin-bottom: 24px;
  text-wrap: pretty;
  word-break: normal;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.85;
  word-break: auto-phrase;
}

.lead-line {
  display: block;
}

.section--navy h2,
.section--navy h3,
.section--navy .lead,
.hero h1,
.hero .lead,
.page-hero h1,
.page-hero .lead,
.cta-band h2,
.cta-band .lead {
  color: var(--white);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 13px 32px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 2px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color 0.24s ease, border-color 0.24s ease;
}

.button::after {
  content: "→";
  font-family: var(--font-en);
  transition: transform 0.24s ease;
}

.button:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
}

.button:hover::after {
  transform: translateX(4px);
}

.button--light {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.button--light:hover {
  background: var(--gray-soft);
  border-color: var(--gray-soft);
}

.button--outline {
  background: transparent;
  color: var(--navy);
}

.hero {
  padding: 0;
  background: var(--navy);
}

.hero-frame {
  position: relative;
  min-height: min(760px, calc(100svh - 128px));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(72px, 10vw, 128px);
  background: var(--navy);
  color: var(--white);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, 82%);
}

.hero h1 {
  max-width: 860px;
  margin-bottom: 32px;
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-lines span {
  position: absolute;
  display: block;
  background: var(--white);
  opacity: 0.13;
}

.hero-lines span:nth-child(1) {
  top: -10%;
  right: 16%;
  width: 1px;
  height: 120%;
  transform: rotate(24deg);
}

.hero-lines span:nth-child(2) {
  top: 16%;
  right: -8%;
  width: 52%;
  height: 1px;
  transform: rotate(-18deg);
}

.hero-lines span:nth-child(3) {
  top: 0;
  right: 33%;
  width: 1px;
  height: 68%;
}

.hero-lines span:nth-child(4) {
  right: 8%;
  bottom: 18%;
  width: 32%;
  height: 1px;
}

.page-hero {
  padding-block: 112px 104px;
  background: var(--navy);
  color: var(--white);
}

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 32px;
  font-size: clamp(42px, 5.4vw, 72px);
}

.page-hero .lead {
  max-width: 680px;
  margin-bottom: 0;
}

.problem-list,
.service-index,
.process-list,
.contact-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.problem-list {
  border-top: 1px solid var(--line);
}

.problem-list a {
  display: grid;
  min-height: 112px;
  grid-template-columns: 80px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.24s ease, border-color 0.24s ease;
}

.problem-list a:hover {
  color: var(--navy-mid);
  border-color: var(--navy-mid);
}

.item-number {
  color: var(--navy-mid);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.problem-list strong {
  color: var(--navy);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.5;
}

.arrow {
  justify-self: end;
  font-family: var(--font-en);
  font-size: 22px;
  transition: transform 0.24s ease;
}

.problem-list a:hover .arrow {
  transform: translateX(4px);
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.pain-list li {
  min-width: 0;
  padding: 36px 32px 8px;
  border-right: 1px solid var(--line);
}

.pain-list li:first-child {
  padding-left: 0;
}

.pain-list li:last-child {
  padding-right: 0;
  border-right: 0;
}

.pain-list .item-number {
  display: block;
  margin-bottom: 24px;
}

.pain-list h3 {
  font-size: clamp(22px, 2vw, 27px);
}

.pain-list p {
  color: var(--muted);
}

.service-index {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.service-index li {
  min-height: 220px;
  padding: 40px 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.service-index li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.service-index li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  border-right: 0;
}

.service-index .item-number {
  display: block;
  margin-bottom: 32px;
  color: var(--white);
  opacity: 0.65;
}

.service-index h3 {
  color: var(--white);
}

.service-index p {
  color: var(--white);
  opacity: 0.82;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px 32px;
}

.work-card {
  min-width: 0;
}

.work-card figure {
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--gray-soft);
}

.work-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 782;
  object-fit: contain;
}

.work-card .work-figure--wide img {
  aspect-ratio: 16 / 9;
}

.work-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.work-card--featured figure {
  margin-bottom: 0;
}

.work-card .eyebrow {
  margin-bottom: 12px;
}

.work-card h2,
.work-card h3 {
  margin-bottom: 16px;
}

.work-card p:not(.eyebrow) {
  color: var(--muted);
}

.work-flow {
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 40px;
  background: var(--navy);
  border: 1px solid var(--navy);
  color: var(--white);
}

.flow-step {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.flow-arrow {
  font-family: var(--font-en);
  font-size: 22px;
}

.work-carousel {
  margin-bottom: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.carousel-viewport {
  display: grid;
  min-height: 420px;
  place-items: center;
  overflow: hidden;
  background: var(--gray-soft);
}

.carousel-slide {
  width: 100%;
  height: 100%;
  margin: 0;
}

.carousel-slide[hidden] {
  display: none;
}

.work-card .carousel-slide img {
  width: 100%;
  height: 420px;
  aspect-ratio: auto;
  object-fit: contain;
}

.carousel-controls {
  display: none;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.js .carousel-controls {
  display: grid;
}

.carousel-controls button {
  min-width: 56px;
  min-height: 52px;
  padding: 0;
  background: var(--white);
  border: 0;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
}

.carousel-controls button:first-child {
  border-right: 1px solid var(--line);
}

.carousel-controls button:last-child {
  border-left: 1px solid var(--line);
}

.carousel-controls button:hover {
  background: var(--gray-soft);
}

.carousel-status {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
}

.work-card--plain {
  align-self: stretch;
  padding: 40px;
  background: var(--white);
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.works-highlight .work-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 48px;
  align-items: center;
}

.works-highlight .work-card:first-child figure {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "→";
  transition: transform 0.24s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.service-detail {
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 8.33%;
  padding-block: 72px;
  border-top: 1px solid var(--line);
}

.diagnosis-section {
  background: var(--white);
}

.diagnosis-offer {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: 8.33%;
  align-items: start;
  padding-block: 64px;
  border-top: 4px solid var(--navy);
  border-bottom: 1px solid var(--line);
}

.diagnosis-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.diagnosis-points > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.diagnosis-points h3 {
  font-size: 20px;
}

.diagnosis-points p {
  color: var(--muted);
}

.service-detail:last-child {
  border-bottom: 1px solid var(--line);
}

.service-detail h2 {
  margin-bottom: 32px;
  font-size: clamp(30px, 3.4vw, 44px);
}

.service-copy {
  max-width: 760px;
}

.service-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.service-facts > div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.service-facts h3 {
  font-size: 18px;
}

.service-facts p {
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 8.33%;
  align-items: start;
}

.principle-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

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

.business-table th,
.business-table td {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.business-table th {
  width: 30%;
  padding-right: 24px;
  color: var(--navy);
  font-weight: 700;
}

.business-services {
  margin: 0;
  padding-left: 1.25em;
}

.business-services li + li {
  margin-top: 8px;
}

.line-panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(240px, 3fr);
  gap: 8.33%;
  align-items: center;
}

.qr-frame {
  max-width: 320px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}

.contact-steps {
  counter-reset: contact-step;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-steps li {
  counter-increment: contact-step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

.contact-steps li::before {
  color: var(--navy-mid);
  content: "0" counter(contact-step);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-steps strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 19px;
}

.consult-note {
  margin-top: 48px;
  padding: 32px;
  border-left: 4px solid var(--navy);
  background: var(--gray-soft);
}

.consult-note h2,
.consult-note h3 {
  font-size: 22px;
}

.cta-band {
  padding-block: 88px;
  background: var(--navy-mid);
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8.33%;
  align-items: end;
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band .button-row {
  justify-content: flex-end;
  margin-top: 0;
}

.site-footer {
  padding-block: 64px 32px;
  background: var(--navy-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: min(240px, 100%);
  min-height: 44px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: 0.08em;
  opacity: 0.62;
}

.not-found {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding-block: 96px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.not-found .eyebrow,
.not-found h1,
.not-found .lead {
  color: var(--white);
}

.not-found h1 {
  margin-bottom: 24px;
}

.not-found .lead {
  margin-inline: auto;
}

.not-found .button-row {
  justify-content: center;
}

html.motion [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.54s ease, transform 0.54s ease;
}

html.motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1023px) {
  .container {
    width: min(calc(100% - 64px), var(--container));
  }

  .header-inner {
    gap: 20px;
  }

  .nav-list {
    gap: 16px;
  }

  .nav-list a {
    font-size: 13px;
  }

  .section-heading,
  .service-detail {
    grid-template-columns: 1fr 3fr;
    gap: 48px;
  }

  .hero-frame {
    min-height: 640px;
    padding: 80px 64px;
  }

  .hero-content {
    width: 90%;
  }

  .works-highlight .work-card:first-child {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 68px;
  }

  .lead-sentence {
    display: block;
  }

  .container {
    width: calc(100% - 48px);
  }

  .site-header,
  .header-inner {
    min-height: var(--header-height);
  }

  .brand-link img {
    width: 148px;
  }

  .js .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    padding: 16px 24px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .nav-list {
    display: block;
  }

  .nav-list li + li {
    border-top: 1px solid var(--line);
  }

  .nav-list a {
    width: 100%;
    min-height: 52px;
    font-size: 15px;
  }

  .nav-list a:not(.button)::after {
    display: none;
  }

  .nav-list .button {
    margin-top: 16px;
    justify-content: space-between;
  }

  .hero {
    padding: 0;
  }

  .hero-frame {
    min-height: 620px;
    align-items: center;
    padding: 72px 24px;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    margin-bottom: 24px;
  }

  .hero-lines span:nth-child(3),
  .hero-lines span:nth-child(4) {
    display: none;
  }

  .section,
  .page-hero {
    padding-block: 72px;
  }

  .page-hero h1 {
    margin-bottom: 24px;
  }

  .section-heading,
  .service-detail,
  .diagnosis-offer,
  .principles,
  .line-panel,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .problem-list a {
    min-height: 96px;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    gap: 12px;
  }

  .service-index,
  .works-grid,
  .pain-list {
    grid-template-columns: 1fr;
  }

  .pain-list li,
  .pain-list li:first-child,
  .pain-list li:last-child {
    padding: 32px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-index li {
    min-height: auto;
    padding: 32px 0;
  }

  .service-index li:nth-child(odd) {
    border-right: 0;
  }

  .service-index li:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .service-index .item-number {
    margin-bottom: 20px;
  }

  .works-grid {
    gap: 48px;
  }

  .work-flow {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .works-highlight .work-card:first-child {
    grid-column: auto;
    display: block;
  }

  .work-card--featured {
    grid-column: auto;
    display: block;
  }

  .work-card--featured figure {
    margin-bottom: 28px;
  }

  .works-highlight .work-card:first-child figure {
    margin-bottom: 28px;
  }

  .service-detail {
    padding-block: 56px;
  }

  .service-facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .carousel-viewport {
    min-height: 280px;
  }

  .work-card .carousel-slide img {
    height: 280px;
  }

  .diagnosis-offer {
    padding-block: 48px;
  }

  .diagnosis-points {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .line-panel {
    align-items: start;
  }

  .qr-frame {
    width: min(100%, 280px);
  }

  .cta-band {
    padding-block: 72px;
  }

  .cta-band .button-row {
    justify-content: flex-start;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
  }
}

@media (max-width: 374px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-nav {
    padding-inline: 16px;
  }

  .hero-frame {
    padding-inline: 20px;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 24px;
  }

  .problem-list a {
    grid-template-columns: 32px minmax(0, 1fr) 20px;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
