@media screen and (min-width: 1281px) {
  /* pc共通 */
  .tb {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  /* sp共通 */
  .tb {
    display: none;
  }
  .tb.sp {
    display: block;
  }
  .sp {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 960px) {
  /* マイページTOP（リチャージ） */
  br.recharge-tb {
    display: block;
  }

  /* 短期レンタルTOP */
  div.mypage-top-boxes .button-next img {
    margin-right: 25px;
  }
}

@media (min-width: 768px) and (max-width: 1280px) {
  body {
    min-width: 768px;
    overflow-x: hidden;
  }

  /* tb共通 */
  .tb {
    display: block;
  }
  .hide-tb.pc {
    display: none;
  }

  /* マイページ共通 */
  header.mypage-header .header-wrapper {
    padding: 0 20px;
  }
  div.mypage-nav-wrapper {
    padding: 5px 20px;
    box-sizing: border-box;
  }
  footer.mypage-footer .mypage-footer-main {
    box-sizing: border-box;
  }
  footer.mypage-footer .mypage-footer-main .privacy-mark {
    right: -75%;
  }

  .nav-flex a.button-text:last-child {
    margin: 0;
  }

  div.mypage-top-boxes a.button-text p {
    font-size: 1.3rem;
  }

  .nav-flex a.button-text:nth-child(2),
  .nav-flex a.button-text:last-child{
    margin: 0;
  }

  /* サービス解約 */
  .mypage-content-box.cancel-transfer.cancel {
    margin-bottom: 30px;
  }
  .mypage-content-box.cancel-transfer.cancel div.mypage-content-box-inner {
    width: 95%;
  }
  .cancel .transfer-reason .triangle {
    left: 43%;
  }
  div.vertical-characters {
    z-index: -1;
  }
  div.vertical-characters.cancel-page {
    z-index: 1;
  }
  .cancel div.mypage-content-box-inner .reason-flex > p {
    font-size: 1.8rem;
  }
  .cancel div.mypage-content-box-inner .reason-flex:first-of-type > div {
    width: 100%;
    max-width: 220px;
  }
  .cancel div.mypage-content-box-inner .reason-flex.special::after {
    width: 100px;
  }
  .cancel div.mypage-content-box-inner .transfer-merit p {
    width: 100%;
    max-width: 680px;
  }
  /* ご契約情報 */
  table.table-mini {
    width: 100%;
    max-width: 700px;
  }
  #option_cancel_area table.table-base th {
    width: 60%;
  }
  .contract-notice {
    margin: 10px auto 0;
    max-width: 700px;
  }
  .option-cancel-all {
    max-width: 700px;
    margin: 0.7em auto;
  }
  .option-cancel-all .contract-notice {
    white-space: normal;
    padding-right: 1em;
  }
  .option-cancel-all .option-cancel-button {
    height: fit-content;
    margin-top: 10px;
  }
  div.insurance-option-inquiry p {
    margin: 0 auto;
    max-width: 700px;
  }
  .insurance-option-request.sakura_ins_form-btn {
    width: 100%;
    margin: 0.7em auto;
    max-width: 700px;
  }
  .insurance-option-request.sakura_ins_form-btn a {
    width: fit-content;
    display: block;
    margin: 0 0 0 auto;
  }
  .insurance-option-request.sakura_ins_form-btn a .insurance-request-button {
    padding: 1.0em 2em 1.1em 1em;
  }
  .mypage-insurance-option-campaign {
    right: 5px;
    top: -20px;
    width: 16%;
    min-width: 120px;
  }
  div.entry-insurance-option-image {
    gap: 20px;
  }
  .return-registration label.custom-check-box input[type="radio"] ~ span::before,
  .return-registration label.custom-check-box input[type="radio"]:checked ~ span::after {
    left: 5px;
  }
  /* マイページ データチャージ */
  div.form-capacity-select-area.datacharge {
    max-width: 195px;
  }
  #form-edit-data-flow.recharge div.form-capacity-select-area.datacharge {
    max-width: 100%;
  }

  /* お客様情報 */
  main.mypage-contents select.address {
    width: 73.5%;
  }

  table.table-mini.user-input.shibari-table-tb {
    width: 100%;
  }

  .mypage-edit-table-bottom {
    padding-left: 0;
  }
    /* マイページ ご利用明細 */
    div.decoration-button-area-square {
      margin-right: 10px;
      padding: 10px
    }
    div.decoration-button-area-square .arrow {
      margin-left: 5px;
    }
    div.mypage-payment-history-select-container {
      margin-left: 10px;
    }
    div.payment-history-billing-usage-switch {
      flex-direction: column;
      align-items: flex-start;
    }
    .about-payment-area {
      margin: 30px 0 0;
    }

    /* 海外データ購入 */
    img.worldmap-img {
      width: 98%;
    }

    .search-by-area-image {
      height: 55vw;
      max-height: 570px;
    }

    div.mypage-content-box.edit-overseas {
      margin-top: 20%;
    }

    img.worldmap-img {
      top: 50px;
    }

    table.table-base th {
      font-size: 1.2rem;
    }

    /* 短期レンタルプラン　再申し込み */
    div.area-icon-layout {
      margin: 0 30px 0 0;
    }
    .repeat-rental-addressee-title {
      width: 200px;
    }
    .repeat-rental .mypage-content-box{
      padding: 65px 50px;
    }

    div.mypage-description-layout {
      margin-left: 60px;
    }
}