@charset "UTF-8";
/* お問合せ トップ
--------------------------------------------------------*/
@media screen and (max-width: 767px) {
  .m-contactus-top .m-embox {
    margin-top: 15px;
    margin-bottom: 20px;
  }
}

.m-contactus-top__ancbox .m-cols2.m-cols--border > .m-cols__col {
  padding-bottom: 10px;
}

.m-contactus-top__ancbox .m-locallink > li {
  margin-top: 10px;
}

.m-contactus-top__mypage .m-list-dot > li {
  width: 33.33%;
  box-sizing: border-box;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .m-contactus-top__mypage {
    margin-bottom: 20px;
  }
  .m-contactus-top__mypage .m-list-dot > li {
    width: 100%;
  }
}

.m-contactus-top__acclist {
  margin-top: 20px;
}

.m-contactus-top__btnlist {
  letter-spacing: -0.4em;
}

.m-contactus-top__btnlist > p {
  display: inline-block;
  letter-spacing: normal;
  margin: 0 30px;
}

.m-contactus-top__btnlist a[class^="m-btn"] {
  min-width: 400px;
}

@media screen and (max-width: 767px) {
  .m-contactus-top__btnlist > p {
    display: block;
    margin: 0;
  }
  .m-contactus-top__btnlist > p + p {
    margin-top: 15px;
  }
  .m-contactus-top__btnlist a[class^="m-btn"] {
    min-width: 100%;
  }
}

.m-contactus-top__grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-template-columns: 1fr 1fr;
  -ms-grid-columns: 1fr 20px 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  grid-gap: 20px;
  grid-auto-flow: column;
  margin-top: 20px;
}

.m-contactus-top__grid-text .m-list-dot {
  margin-top: 0;
}

.m-contactus-top__grid-row1 {
  grid-template-rows: repeat(1, 0fr);
}

.m-contactus-top__grid-row2 {
  grid-template-rows: repeat(2, 0fr);
}

.m-contactus-top__grid-row3 {
  grid-template-rows: repeat(3, 0fr);
}

.m-contactus-top__grid-formtext {
  font-size: 14px;
  margin-top: 20px;
}

.m-contactus-top__grid .m-heading3 {
  margin-top: 0;
  margin-bottom: 0;
}

.m-contactus-top__grid .m-infobox,
.m-contactus-top__grid .m-embox,
.m-contactus-top__grid .m-attbox {
  margin: 0;
}

.m-contactus-top__grid .m-infobox {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.m-contactus-top__grid .m-infobox a[class^="m-btn"] {
  min-width: 300px;
}

@media screen and (max-width: 767px) {
  .m-contactus-top__grid {
    display: block;
  }
  .m-contactus-top__grid-title + .m-contactus-top__grid-text,
  .m-contactus-top__grid-title + .m-contactus-top__grid-box {
    margin-top: 20px;
  }
  .m-contactus-top__grid-text + .m-contactus-top__grid-box {
    margin-top: 20px;
  }
  .m-contactus-top__grid-box + .m-contactus-top__grid-title,
  .m-contactus-top__grid-box + .m-contactus-top__grid-box {
    margin-top: 20px;
  }
  .m-contactus-top__grid-formtext {
    font-size: 12px;
    margin-top: 10px;
  }
  .m-contactus-top__grid .m-infobox {
    display: block;
  }
  .m-contactus-top__grid .m-infobox a[class^="m-btn"] {
    min-width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .m-contactus-top__grid .m-infobox-s {
    height: 157px;
    margin-top: -30px;
  }
}

@media all and (-ms-high-contrast: none) {
  .m-contactus-top__grid-row1 > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row1 > *:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .m-contactus-top__grid-row2 > *:nth-child(2),
  .m-contactus-top__grid-row2 > *:nth-child(4) {
    margin-top: 20px;
  }
  .m-contactus-top__grid-row2 > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row2 > *:nth-child(2) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row2 > *:nth-child(3) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .m-contactus-top__grid-row2 > *:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  .m-contactus-top__grid-row3 > *:nth-child(2),
  .m-contactus-top__grid-row3 > *:nth-child(3),
  .m-contactus-top__grid-row3 > *:nth-child(5),
  .m-contactus-top__grid-row3 > *:nth-child(6) {
    margin-top: 20px;
  }
  .m-contactus-top__grid-row3 > *:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row3 > *:nth-child(2) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row3 > *:nth-child(3) {
    -ms-grid-row: 5;
    -ms-grid-column: 1;
  }
  .m-contactus-top__grid-row3 > *:nth-child(4) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
  }
  .m-contactus-top__grid-row3 > *:nth-child(5) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
  }
  .m-contactus-top__grid-row3 > *:nth-child(6) {
    -ms-grid-row: 5;
    -ms-grid-column: 3;
  }
}

