@charset "UTF-8";

.site-shell--static-v2 {
  --floating-cta-max-inline-size: 560px;
  --floating-ui-z-index: 100;
}

@media screen and (min-width: 1024px) {
  .site-shell--static-v2 .footer-btn {
    display: none;
  }

  .site-shell--static-v2 .pagetop {
    position: fixed;
    inset-inline-start: auto;
    inset-inline-end: 16px;
    inset-block-end: 16px;
    inline-size: fit-content;
    z-index: var(--floating-ui-z-index);
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background-color: transparent;
  }

  .site-shell--static-v2 .pagetop > a {
    padding: 0;
  }

  .site-shell--static-v2 .pagetop > a,
  .site-shell--static-v2 .pagetop > a picture,
  .site-shell--static-v2 .pagetop > a img {
    display: block;
  }

  .site-shell--static-v2 .pagetop > a:not(:last-child) img {
    inline-size: 190px;
    block-size: auto;
  }

  .site-shell--static-v2 .pagetop > a:last-child img {
    inline-size: 72px;
    block-size: auto;
  }

  body#home.site-shell--static-v2 .pagetop {
    inset-block-end: 74px;
  }

  body#home.site-shell--static-v2:has(nav.pc.new.fixed) .pagetop {
    inset-block-end: 16px;
  }
}

@media screen and (max-width: 1023px) {
  body.site-shell--static-v2 {
    padding-block-end: calc(
      min(12.6359vw, 70.76px) + env(safe-area-inset-bottom, 0px)
    );
  }

  .site-shell--static-v2 .pagetop {
    display: none;
  }

  .site-shell--static-v2 .footer-btn {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: var(--floating-ui-z-index);
    inline-size: 100%;
    padding-block-end: env(safe-area-inset-bottom, 0px);
    background: #fff;
    box-shadow: 0 -4px 16px rgba(42, 33, 24, 0.12);
    text-align: center;
  }

  .site-shell--static-v2 .footer-btn ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    inline-size: min(100%, var(--floating-cta-max-inline-size));
    margin: 0 auto;
    padding: 0;
    list-style: none;
  }

  .site-shell--static-v2 .footer-btn li {
    inline-size: 100%;
    margin: 0;
    line-height: 0;
  }

  .site-shell--static-v2 .footer-btn a,
  .site-shell--static-v2 .footer-btn img {
    display: block;
  }

  .site-shell--static-v2 .footer-btn a {
    line-height: 0;
  }

  .site-shell--static-v2 .footer-btn img {
    inline-size: 100%;
    block-size: auto;
  }

  .site-shell--static-v2 .footer-btn a:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid var(--sv2-link);
    outline-offset: -4px;
  }
}
