@charset "utf-8";
html {
  scroll-behavior: smooth;
}

main#renewalcp2602 {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

/*SP版*/
section#pc {
  display: none;
}

section#sp {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

section#sp img {
  width: 100%;
  height: auto;
  display: block;
}

section#sp p {
  width: auto;
  height: auto;
  display: block;
  margin: 0 10% 1rem auto;
}

section#sp p a,
section#sp p a:link,
section#sp p a:visited,
section#sp p a:hover {
  display: inline-block;
  text-decoration: underline;
}

section#sp article#couponBox_sp,
section#sp article#registrationBox_sp,
section#sp article#siteInfo_sp,
section#sp article#groupSite_sp {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

section#sp article#couponBox_sp button {
  position: absolute;
  top: auto;
  right: 0;
  left: 0;
  bottom: 55%;
  width: 90%;
  margin: 0 auto;
  height: auto;
  background: none;
  border: none;
  cursor: pointer;
}

section#sp article#couponBox_sp button:nth-of-type(2) {
  bottom: 32%;
}

section#sp article#couponBox_sp button:last-of-type {
  bottom: 9%;
}

section#sp article#couponBox_sp button img {
  width: 100%;
  height: auto;
  display: block;
}

section#sp article#registrationBox_sp a,
section#sp article#registrationBox_sp a:link,
section#sp article#registrationBox_sp a:visited,
section#sp article#registrationBox_sp a:hover {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 32%;
  left: 0;
  width: 70%;
  margin: 0 auto;
}

section#sp article#registrationBox_sp a:last-of-type {
  bottom: 12%;
}

section#sp article#siteInfo_sp a,
section#sp article#siteInfo_sp a:link,
section#sp article#siteInfo_sp a:visited,
section#sp article#siteInfo_sp a:hover {
  width: 30%;
  margin: 0 auto;
  position: absolute;
  top: auto;
  right: auto;
  bottom: 5%;
  left: 15%;
}

section#sp article#siteInfo_sp a:last-of-type {
  left: auto;
  right: 15%;
}

section#sp article#groupSite_sp a,
section#sp article#groupSite_sp a:link,
section#sp article#groupSite_sp a:visited,
section#sp article#groupSite_sp a:hover {
  width: 38%;
  margin: 0 auto;
  position: absolute;
  top: auto;
  right: auto;
  bottom: 10%;
  left: 10%;
}

section#sp article#groupSite_sp a:last-of-type {
  right: 10%;
  left: auto;
}

/*PC版*/
@media screen and (min-width: 768px) {
  main#renewalcp2602 {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  section#sp {
    display: none;
  }

  section#pc {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
  }

  section#pc article#couponBox_pc,
  section#pc article#registrationBox_pc,
  section#pc article.renewalInfo {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
  }

  section#pc article#couponBox_pc button {
    cursor: pointer;
    width: calc(80% / 3);
    margin: 0 auto;
    background: none;
    border: none;
    position: absolute;
    top: auto;
    right: auto;
    bottom: 7%;
    left: 5%;
  }

  section#pc article#couponBox_pc button img {
    width: 100%;
    display: block;
    height: auto;
  }

  section#pc article#couponBox_pc button:nth-of-type(2) {
    right: 0;
    left: 0;
  }

  section#pc article#couponBox_pc button:last-of-type {
    right: 5%;
    left: auto;
  }

  section#pc article#registrationBox_pc a,
  section#pc article#registrationBox_pc a:link,
  section#pc article#registrationBox_pc a:visited,
  section#pc article#registrationBox_pc a:hover {
    width: 37%;
    margin: 0 auto;
    position: absolute;
    top: auto;
    right: auto;
    bottom: 15%;
    left: 12%;
  }

  section#pc article#registrationBox_pc a:last-of-type {
    right: 12%;
    left: auto;
  }

  section#pc article.renewalInfo {
    width: 90.136%;
    max-width: 923px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  section#pc article.renewalInfo div#siteBox {
    position: relative;
    width: 48.97%;
    max-width: 452px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  section#pc article.renewalInfo div#siteBox img {
    width: 100%;
    max-width: 452px;
    margin: 0 auto;
    display: block;
    height: auto;
  }

  section#pc article.renewalInfo div#siteBox a,
  section#pc article.renewalInfo div#siteBox a:link,
  section#pc article.renewalInfo div#siteBox a:visited,
  section#pc article.renewalInfo div#siteBox a:hover {
    position: absolute;
    width: 48.008%;
    margin: 0 auto;
    top: auto;
    right: 10%;
    bottom: 32%;
    left: auto;
  }

  section#pc article.renewalInfo div#siteBox a:last-of-type {
    bottom: 5%;
  }

  section#pc article.renewalInfo div#groupBox {
    position: relative;
    width: 48.862%;
    max-width: 451px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  section#pc article.renewalInfo div#groupBox img {
    width: 100%;
    max-width: 451px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  section#pc article.renewalInfo div#groupBox a,
  section#pc article.renewalInfo div#groupBox a:link,
  section#pc article.renewalInfo div#groupBox a:visited,
  section#pc article.renewalInfo div#groupBox a:hover {
    position: absolute;
    width: 60.753%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: nowrap;
    top: auto;
    right: 0;
    bottom: 25%;
    left: 0;
  }

  section#pc article.renewalInfo div#groupBox a:last-of-type {
    bottom: 5%;
  }

  section#pc article.renewalInfo2 {
    width: 90.136%;
    max-width: 923px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    flex-wrap: nowrap;
  }

  section#pc article.renewalInfo2 div {
    width: 48.97%;
    max-width: 452px;
    margin: 0 auto;
    height: auto;
  }

  section#pc article.renewalInfo2 div:last-of-type {
    width: 48.862%;
    max-width: 451px;
    margin: 0 auto;
    height: auto;
  }

  section#pc article.renewalInfo2 div img {
    width: 100%;
    display: block;
    height: auto;
    margin: 0 auto;
  }

  section#pc article.renewalInfo2 div p {
    width: 100%;
    display: inline-block;
    height: auto;
    margin: 0 0 1rem auto;
    text-align: right;
  }

  section#pc article.renewalInfo2 div a,
  section#pc article.renewalInfo2 div a:link,
  section#pc article.renewalInfo2 div a:visited,
  section#pc article.renewalInfo2 div a:hover {
    width: auto;
    display: inline-block;
    text-decoration: underline;
    font-weight: bold;
  }
}
