/* 100vw includes desktop scrollbars and makes these pages scroll sideways. */
body #footer .footer-lower,
body .c-line-login-popup,
body .c-search-popup {
  width: 100%;
}

/* The image already fills its figure; an extra 85px margin overflows it. */
@media (min-width: 768px) {
  .privacy #wrap .duo img {
    margin-right: 0;
  }
}

/* Keep the printed certificate unchanged; stack its columns on small screens. */
@media screen and (max-width: 850px) {
  #kantei #wrap .section-content {
    min-width: 0;
  }

  #kantei #wrap .section-content.inner .section-content-box {
    padding: 15px;
  }

  #kantei #wrap .section-content.inner .ttl-box,
  #kantei #wrap .section-content.inner .upper-box,
  #kantei #wrap .section-content.inner .mid-box,
  #kantei #wrap .section-content.inner .lower-box,
  #kantei #wrap .section-content.inner .mid-box .left-area .seller-box {
    flex-direction: column;
    gap: 20px;
  }

  #kantei #wrap .section-content.inner .ttl-box .logo {
    margin-left: 0;
  }

  #kantei #wrap .section-content.inner .ttl-box .ttl,
  #kantei #wrap .section-content.inner .upper-box .imager,
  #kantei #wrap .section-content.inner .upper-box .right-box,
  #kantei #wrap .section-content.inner .mid-box .left-area,
  #kantei #wrap .section-content.inner .mid-box .right-area,
  #kantei #wrap .section-content.inner .mid-box .left-area .seller-box .txt-area,
  #kantei #wrap .section-content.inner .lower-box .info-box,
  #kantei #wrap .section-content.inner .lower-box .detail-box {
    width: 100%;
    min-width: 0;
  }

  #kantei #wrap .section-content.inner .mid-box .left-area .table .line .th {
    width: 22%;
    flex: 0 0 22%;
  }

  #kantei #wrap .section-content.inner .mid-box .left-area .table .line .td {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  #kantei #wrap .section-content.inner .upper-box .right-box .lower-info .duo .item {
    height: auto;
    min-height: 82px;
  }
}
