@media screen and (min-width: 768px), print {
  main {
    margin-top: 50px;
  }
  main#contact-thanks {
    margin-bottom: 60px;
  }
  .seo_bread_list {
    max-width: 1280px;
    width: 95%;
    margin: 0 auto;
  }
  .sys-bread-wrapper {
    margin-top: 53px !important;
    margin-bottom: 40px !important;
  }
  .contact-header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .contact-header::before {
    content: "";
    display: block;
    width: 80px;
  }
  .contact-header + p {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 74px;
  }
  .contact-main {
    position: relative;
    width: 100%;
    max-width: 1200px;
  }
  .contact-main > img {
    display: block;
    max-width: 100%;
  }
  .contact-main::after {
    content: "";
    position: absolute;
    top: -141px;
    right: 56px;
    display: block;
    width: 178px;
    aspect-ratio: 1/1;
    background-image: url(../images/contact/contact-badge.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
  }
  .title__scroll {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    width: 80px;
    margin-bottom: 25px;
  }
  .title__scroll > span {
    line-height: 1;
    font-size: 13px;
    font-weight: normal;
    writing-mode: vertical-rl;
    letter-spacing: 0.05em;
  }
  .title__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 80px;
    background-color: #1a1a1a;
  }
  .contact-list-block {
    position: relative;
    margin-top: 56px;
    z-index: 2;
  }
  .contact-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
    width: 1044px;
    height: 242px;
    padding-left: 172px;
    padding-right: 165px;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    background-color: #42AAE1;
    border-radius: 31px;
  }
  .contact-list > li {
    position: relative;
    width: 50%;
    color: white;
    font-size: 22px;
    font-weight: 500;
    padding-left: 42px;
    line-height: 1;
  }
  .contact-list > li::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    top: -2px;
    left: 0;
    background-color: #fff;
    z-index: 1;
  }
  .contact-list > li::after {
    content: "";
    display: block;
    position: absolute;
    top: -7px;
    left: 5px;
    width: 28px;
    height: 31px;
    background-image: url(../images/contact/contact-check.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
  }
  .contact-form-wrapper {
    position: relative;
    margin-top: -132px;
    padding-top: 230px;
    padding-bottom: 370px;
    background-color: #F5F6F7;
    z-index: 1;
  }
  .contact-form-inner {
    max-width: 1120px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 149px;
  }
}
@media screen and (max-width: 767px) {
  main {
    margin-top: 9.6618357488vw;
  }
  main#contact-thanks {
    margin-bottom: 14.4927536232vw;
  }
  .title__scroll {
    display: none;
  }
  .contact-header {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .contact-header + p {
    text-align: center;
    font-size: 3.8647342995vw;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 11.5942028986vw;
  }
  .contact-main {
    position: relative;
    width: 100%;
  }
  .contact-main > img {
    display: block;
    max-width: 100%;
  }
  .contact-main::after {
    content: "";
    position: absolute;
    top: -14.4927536232vw;
    right: 2.8985507246vw;
    display: block;
    width: 19.3236714976vw;
    aspect-ratio: 1/1;
    background-image: url(../images/contact/contact-badge.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
  }
  .contact-list-block {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 8.6956521739vw;
    margin-left: auto;
    margin-right: auto;
    z-index: 2;
    background-color: #42AAE1;
    border-radius: 4.8309178744vw;
    width: 94.2028985507vw;
    padding-top: 9.6618357488vw;
    padding-bottom: 9.6618357488vw;
  }
  .contact-list {
    display: flex;
    flex-direction: column;
    gap: 4.8309178744vw;
  }
  .contact-list > li {
    position: relative;
    color: white;
    font-size: 4.2512077295vw;
    font-weight: 500;
    padding-left: 8.115942029vw;
    line-height: 1;
  }
  .contact-list > li::before {
    content: "";
    width: 5.7971014493vw;
    height: 5.7971014493vw;
    position: absolute;
    top: -0.38647343vw;
    left: 0;
    background-color: #fff;
    z-index: 1;
  }
  .contact-list > li::after {
    content: "";
    display: block;
    position: absolute;
    top: -1.3526570048vw;
    left: 0.9661835749vw;
    width: 5.4106280193vw;
    height: 5.9903381643vw;
    background-image: url(../images/contact/contact-check.svg);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
  }
  .contact-form-wrapper {
    position: relative;
    margin-top: -29.9516908213vw;
    padding-top: 49.2753623188vw;
    padding-bottom: 28.9855072464vw;
    background-color: #F5F6F7;
    z-index: 1;
  }
  .contact-form-inner {
    width: 86.9565217391vw;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 19.3236714976vw;
  }
}