@charset "utf-8";

/*PC thanks-page css*/
.thanks-area {
  margin: 100px auto 300px;
  text-align: center;
}

.thanks-area .thanks-ttl {
  font-size: 32px;
  font-weight: bold;
  display: block;
  margin: 0 0 50px 0;
}

.thanks-area .thanks-txt {
  font-size: 22px;
  line-height: 37px;
}

.thanks-area a {
  display: block;
  font-size: 22px;
  font-weight: bold;
  margin: 30px 0 0 0;
  text-decoration: underline;
}

.top-h2img div.top-h2 {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  position: relative;
  z-index: 4;
}

.top-box02 .lef div.top-h2 {
  display: block;
  font-size: 28px;
  color: #00a555;
  line-height: 160%;
  font-weight: bold;
  padding-bottom: 35px;
}



@media print,
screen and (min-width: 750px) and (max-width: 1200px) {

  .top-h2img div.top-h2 {
    display: block;
    padding-left: 3%;
    padding-top: 70px;
    position: relative;
    z-index: 4;
  }

  .top-box02 .lef div.top-h2 {
    display: block;
    font-size: 23px;
    color: #00a555;
    line-height: 160%;
    font-weight: bold;
    padding-bottom: 35px;
  }

}

@media screen and (min-width: 751px) {

  .top-h2img div.top-h2 img {
    padding: 2rem;
    background: rgba(255, 255, 255, .55);
  }

}



@media screen and (max-width: 750px) {

  .top-h2img div.top-h2 {
    display: block;
    padding-left: 3%;
    padding-right: 3%;
    width: 260px;
    padding: 15px;
    margin: 0 auto;
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, 0.8);
  }

  .top-box02 .lef div.top-h2 {
    display: block;
    font-size: 17px;
    color: #00a555;
    line-height: 160%;
    font-weight: bold;
    padding-bottom: 20px;
  }

}



@media print,
screen and (max-width: 700px) {

  /*SP thanks-page css*/
  .thanks-area {
    margin: 0 auto 100px;
    text-align: center;
  }

  .thanks-area .thanks-ttl {
    font-size: 28px;
    font-weight: bold;
    display: block;
    margin: 30px 0 50px 0;
  }

  .thanks-area .thanks-txt {
    font-size: 18px;
    line-height: 32px;
  }

  .thanks-area a {
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin: 30px 0 0 0;
    text-decoration: underline;
  }

  .pan {
    display: block;
    font-size: 12px;
    margin: 10px auto 0;
    padding: 4px 0;
    overflow-x: auto;
    white-space: nowrap;
    width: 96%;
  }

}
