@import url(https://fonts.googleapis.com/css?family=Lato:100,300,400);

html {
  font-size: 62.5%;
}

body {
  color: #333;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

dt, dd {
  margin: auto;
}

img {
  height: auto;
  max-width: 100%;
  width: auto;
  vertical-align: bottom;
}

figure {
  margin: 0;
}

.pc-view {
  display: block;
}

@media screen and (max-width:754px) {
  .pc-view {
    display: none;
  }
}

.sp-view {
    display: none;
}

@media screen and (max-width:754px) {
  .sp-view {
    display: block;
  }
}

.wrapper {
  min-height: 90vh;
  position: relative;
}

.header{
  background-image: url(../images/bg.webp);
  background-color: #0A5AAA;
  color: #ffffff;
  border-bottom: 3px solid #52b5fb;
  text-align: center;
  padding: 15px 0 0;
}

.header .header-mainttl{
  text-align: center;
  letter-spacing: 1px;
  margin: 0 auto 15px;
  max-width: 800px;
  width: 80%;
}

@media screen and (max-width:754px) {
  .header .header-mainttl{
    width: 85%;
  }
}

@media screen and (max-width:754px) {
  .header .header-mainttl{
    margin-top: 5px;
  }
}

.header .header-mainttl .name{
  color: #ffef44;
  display: block;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width:754px) {
  .header .header-mainttl .name{
    font-size: 22px;
  }
}

.header .header-mainttl .main{
  background: #ffef44;
  border-radius: 5px;
  color: #0A5AAA;
  display: block;
  font-weight: bold;
  font-size: 32px;
}

@media screen and (max-width:754px) {
  .header .header-mainttl .main{
    font-size: 30px;
  }
}

.header .header-mainttl .main .red{
  color: #ffe002;
  margin: 0 .8rem 0 0;
}

.header .header-mainttl .sub{
  display: block;
  font-size: 14px;
}

@media screen and (max-width:754px) {
  .header .header-mainttl .sub{
    font-size: 22px;
  }
}

.header .header-mainttl .day{
  display: inline-block;
  font-size: 22px;
  line-height: 1.4;
  margin: 10px auto 0;
  width: 94%;
}

@media screen and (max-width:754px) {
  .header .header-mainttl .day{
    font-size: 14px;
  }
}

.h2_ttl {
  font-size: 2.8rem;
  color: #0A5AAA;
  margin: 25px 0 0;
}

.h3_ttl {
  background: #0A5AAA;
  border-radius: 15px 15px 0 0;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  margin: 25px 0 0;
  padding: 8px 10px;
  text-align: center;
}

.main-container {
  max-width: 980px;
  margin: auto;
  padding: 10px;
}

.mv {
  text-align: center;
  margin: auto;
}

.flow {
  background: #f2f8ff;
  border-radius: 5px;
  padding: 2rem 15px;
  line-height: 1.6;
  list-style: none;
  margin: 10px auto 0;
}

.flow li {
  text-indent: -1.6rem;
  margin: 0 0 7px 1.6rem;
}

.terms {
  background-color: #f9f9f9;
  border-radius: 5px;
  margin: 10px auto 0;
  max-width: 770px;
  padding: 10px 15px 25px;
}

.terms .textarea {
  background-color: #fff;
  border: 2px dotted #b9934c;
  font-size: 12px;
  height: 140px;
  line-height: 2;
  margin: 15px 0;
  padding: 20px;
  overflow-y: scroll;
  word-break: break-all;
}

.terms .att {
  color: #f00;
  display: block;
  font-size: 130%;
  font-weight: bold;
  text-align: center;
}

.terms .input {
  background-color: #fff;
  border: 3px double #b9934c;
  border-radius: 5px;
  display: flex;
  margin: 15px auto 0;
  position: relative;
  max-width: 280px;
  width: 80%;
}

.terms .input input {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
}

.terms .input input:termsed + label {
  background-color: #ffd9c1;
}

.terms .input label{
  display: block;
  font-weight: bold;
  padding: 5px 5px 5px 30px;
  width: 100%;
}

.terms .input label:hover {
  cursor: pointer;
}

.lottery {
  display: flex;
  justify-content: center;
  margin: 25px 0 0;
  padding: 0;
}

.lottery .lottery-card {
  border-radius: 10px;
  margin: 0 1%;
  max-width: 200px;
  width: 48%;
  overflow: hidden;
  position: relative;
}

.lottery .lottery-card.hidden:before {
  background-color: rgba(0,0,0,.5);
  content: '';
  height: 200px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.lottery button.lottery-btn {
  background-color: #f13759;
  border-radius: 10px;
  border: 3px solid #bb1735;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: bold;
  height: 150px;
  text-decoration: none;
  text-align: center;
  width: 100%;
}

.lottery button.lottery-btn:hover {
  opacity: .9;
  transition: .4s;
}

.lottery .lottery-card .emphasis {
  font-size: 120%;
}

.passive {
  display: none;
  text-align: center;
}

.footer{
  background: #eeeeee;
  margin-top: 50px;
  padding: 20px 0;
  text-align: center;
  position: absolute;
  bottom: -100px;
  width: 100%;
}

.success {
  background-image: url(../images/bg_success.png);
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  margin: auto;
  padding: 25px 0 0;
  width: 96%;
}

.success_wrap {
  background-color: #fff;
  border: thick double #b9934c;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin: auto;
  max-width: 600px;
  text-align: center;
  padding: 15px;
  width: 90%;
}

@media screen and (min-width: 768px) {
  .success_wrap {
    width: 100%;
  }
}

.success_video {
  margin: auto;
  max-width: 400px;
  width: 100%;
}

.success_title {
  background-image: url(../images/cracker.png);
  background-size: contain;
  background-repeat: no-repeat;
  color: #cf0707;
  font-size: 25px;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
  max-width: 600px;
  margin: 2vw auto 0;
  padding: 30px 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .success_title {
    font-size: 35px;
    margin: .5vw auto 0;
  }
}

.success_text {
  margin: 0 0 20px;
}

.success_url {
  background-color: #fdd;
  text-decoration: underline;
  margin: 0 0 20px;
  padding: 20px;
  word-break: break-all;
}

.success_att{
  font-size: 16px;
}

.success_att + div br {
display: inline;
}

@media screen and (max-width:754px) {
  .success_att + div br {
  display: none;
  }
}

.out {
  margin: auto;
  padding: 25px 0 0;
  width: 96%;
}

.out_wrap {
  background-color: #fff;
  border: thick double #b9934c;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.4;
  margin: auto;
  max-width: 600px;
  text-align: center;
  padding: 15px;
  width: 90%;
}

@media screen and (min-width: 768px) {
  .out_wrap {
    width: 100%;
  }
}

.out_title {
  color: #092cb3;
  font-size: 23px;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.4;
  max-width: 600px;
  margin: 2vw auto 0;
  padding: 30px 0;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .out_title {
    font-size: 35px;
    margin: .5vw auto 0;
  }
}

.out_text {
  margin: 0 0 20px;
}

.out_url {
  background-color: #fdd;
  text-decoration: underline;
  margin: 0 0 20px;
  padding: 20px;
  word-break: break-all;
}

.out_att{
  font-size: 16px;
}

.out_closeBtn {
display: none;
  background-color: #3234a1;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  margin: 20px auto;
  max-width: 400px;
  padding: 10px 0;
}

.result_failure {
text-align: center;
}
