.mobile-site-header,
.mobile-site-footer,
.mobile-site-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    border-bottom: 1px solid #eef3f1;
    background: #fff;
  }

  .site-header > .nav.wrap {
    display: none !important;
  }

  .mobile-site-header {
    display: flex;
    width: min(100%, 430px);
    height: 83px;
    margin: 0 auto;
    padding: 12px 8px 3px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 4px;
    background: #fff;
  }

  .mobile-site-brand {
    display: block;
    flex: 0 0 auto;
    min-width: 0;
  }

  .mobile-site-logo {
    display: block;
    width: clamp(180px, 50vw, 215px);
    height: auto;
  }

  .mobile-site-phone {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    color: #14202b;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-site-phone img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  body > footer {
    margin: 0;
    padding: 0 10px calc(92px + env(safe-area-inset-bottom));
    background: #f5f7f6;
  }

  footer > .footer-main,
  footer > .footer-bottom {
    display: none !important;
  }

  .mobile-site-footer {
    display: block;
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .mobile-site-footer-card {
    overflow: hidden;
    border: 1px solid #dce9e7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 32, 43, 0.05);
  }

  .mobile-site-footer-visual {
    aspect-ratio: 950 / 190;
    overflow: hidden;
    background: #f7f8f8;
  }

  .mobile-site-footer-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-site-footer h2 {
    margin: 0 0 12px;
    color: #0a4d48;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
  }

  .mobile-site-footer-info {
    display: grid;
    gap: 8px;
    padding: 18px 14px 20px;
  }

  .mobile-site-footer p {
    margin: 0;
    color: #5e6a76;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
  }

  .mobile-site-footer a {
    color: inherit;
    text-decoration: none;
  }

  .mobile-site-bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 90;
    display: grid;
    width: min(100%, 430px);
    height: calc(70px + env(safe-area-inset-bottom));
    padding: 0 16px env(safe-area-inset-bottom);
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    color: #fff;
    background: #147c70;
    box-shadow: 0 -8px 22px rgba(20, 32, 43, 0.12);
    transform: translateX(-50%);
  }

  .mobile-site-bottom-nav a {
    display: grid;
    min-width: 0;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-site-bottom-nav svg {
    display: block;
    width: 23px;
    height: 23px;
  }

  .mobile-site-address {
    display: flex;
    align-items: baseline;
    white-space: nowrap;
  }

  .mobile-site-address span:first-child {
    flex: 0 0 auto;
  }

  .mobile-site-address-empty {
    visibility: hidden;
  }

  body:not(:has(.mobile-home)) .sub-hero,
  body:not(:has(.mobile-home)) .page-section,
  body:not(:has(.mobile-home)) .faq-hero,
  body:not(:has(.mobile-home)) .faq-detail-hero {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  body:not(:has(.mobile-home)) .sub-hero-grid,
  body:not(:has(.mobile-home)) .page-section > .wrap,
  body:not(:has(.mobile-home)) .section-head,
  body:not(:has(.mobile-home)) .scenario-grid,
  body:not(:has(.mobile-home)) .support-grid,
  body:not(:has(.mobile-home)) .class-one-section .support-grid,
  body:not(:has(.mobile-home)) .two-col,
  body:not(:has(.mobile-home)) .detail-blocks,
  body:not(:has(.mobile-home)) .tool-link-head,
  body:not(:has(.mobile-home)) .tool-link-grid,
  body:not(:has(.mobile-home)) .tool-link-panel,
  body:not(:has(.mobile-home)) .faq-grid,
  body:not(:has(.mobile-home)) .consult-strip,
  body:not(:has(.mobile-home)) .detail-grid,
  body:not(:has(.mobile-home)) .qa-article-shell {
    gap: 14px;
  }

  body:not(:has(.mobile-home)) .support-grid,
  body:not(:has(.mobile-home)) .tool-link-panel,
  body:not(:has(.mobile-home)) .related-more {
    margin-top: 14px;
  }

  body:not(:has(.mobile-home)) .tool-link-panel {
    padding-bottom: 0;
  }

  body:not(:has(.mobile-home)) .mobile-site-footer {
    margin-top: 0;
  }
}
