@charset "utf-8";

#footer {
  position: relative;
  background: url(../../images/main/common/bg_footer.png);
  margin: calc(30vw + 50px) 0 0;
}

.footer__chara {
  position: absolute;
  top: -30vw;
  right: 0;
  bottom: 0;
  width: 100%;
  background-position: top right;
  background-size: contain;
  background-repeat: no-repeat;
}

body[data-chara="1"] .footer__chara { background-image: url(../../images/main/footer_chara/sp_1.png); }
body[data-chara="2"] .footer__chara { background-image: url(../../images/main/footer_chara/sp_2.png); }
body[data-chara="3"] .footer__chara { background-image: url(../../images/main/footer_chara/sp_3.png); }
body[data-chara="4"] .footer__chara { background-image: url(../../images/main/footer_chara/sp_4.png); }
body[data-chara="5"] .footer__chara { background-image: url(../../images/main/footer_chara/sp_5.png); }

@media screen and (min-width: 900px){
  #footer {
    margin-top: 150px;
    padding-top: 200px;
  }

  .footer__chara {
    top: -300px;
    max-width: 800px;
    background-size: 800px auto;
    background-position: bottom;
  }

  body[data-chara="1"] .footer__chara { background-image: url(../../images/main/footer_chara/pc_1.png); }
  body[data-chara="2"] .footer__chara { background-image: url(../../images/main/footer_chara/pc_2.png); }
  body[data-chara="3"] .footer__chara { background-image: url(../../images/main/footer_chara/pc_3.png); }
  body[data-chara="4"] .footer__chara { background-image: url(../../images/main/footer_chara/pc_4.png); }
  body[data-chara="5"] .footer__chara { background-image: url(../../images/main/footer_chara/pc_5.png); }
}

.footer {
  /* padding: 30px 20px 0; */
  color: #fff;
  font-size: 1.2rem;
  position: relative;
}

@media screen and (min-width: 900px){
  .footer {
    /* padding: 20px 20px 0; */
  }
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer__linkArea {
  padding: 20px;
  position: relative;
}

.footerShare {
  position: relative;
}

.footerBanner {
  position: relative;
}

.footerTextArea {
  background: linear-gradient(to right, #bd8534 , #daa84a, #bd8534);
  color: #fff;
  /* margin: 0 -20px; */
  padding: 30px 20px;
  text-align: center;
}

@media screen and (min-width: 900px){
  .footerTextArea {
    padding: 20px;
  }
}

.copyright {
  margin: 0;
}

@media screen and (min-width: 900px){
  .footerNote,
  .privacyPolicy {
    margin: 0;
  }
}

.footerBanner>div {
  display: flex;
  flex-wrap: wrap;
  margin-right: -20px;
}

.footerBanner>div>p {
  margin: 0 20px 20px 0;
  width: calc(50% - 20px);
  max-width: 177px;
}

.footerBanner>div>p:last-child {
  /* margin-right: 0; */
}