body{
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    font-size: 20px;
}

.flexbox{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -js-display: flex;
}

/*ヘッダー*/

header{
  position: relative;
  min-height:420px;
  background:url(images/header_bg.jpg) no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.wrapper{
  width:100%;
}

.logo_ribbon{
    margin-left:50px;
    width:300px;
    height:195px;
    background:url(images/bg_ribbon.png) no-repeat;
    background-size:cover;
}

.ribbon_copy{
  color:#fff;
  font-weight:bold;
  margin:0px auto;
  padding:65px 20px 0px 16px;
  font-size:1.6em;
  line-height: 1.1em;
  text-align: center;
}

h1{
    position: absolute;
  	bottom: 30px;
    margin:100px 0px 0px 50px;
    text-align: left;
    line-height:1.2em;
    font-size: 2em;
    color:#fff;
    font-weight: bold;
    letter-spacing: 0.1em;
}
h1 img{
  margin-left:5px;
}

/*プレゼント概要*/

.present{
 width:90%;
 margin:0px auto;

}
.ribbon {
  background-color: #ff0071;
  color: #ffa000;
  margin: 40px auto 0px;
  width: 90%;
  padding: 15px 30px;
  position: absolute;
  text-align: center;
  z-index: 1;
}
.ribbon::before,
.ribbon::after {
  border: none;
  border-bottom: solid 15px transparent;
  content: '';
  position: absolute;
  top: 0;
}
.ribbon::before {
  border-color: transparent transparent transparent #fff;
  border-style: solid;
  border-width: 40px 0 40px 15px;
  left: 0;
}
.ribbon::after {
  border-color: transparent #fff transparent transparent;
  border-style: solid;
  border-width: 40px 15px 40px 0;
  right: 0;
}

.ribbon h2 {
  display: inline-block;
  position: relative;
  width:100%;
  height: 50px;
  margin: 0;
  padding: 14px 20px 0px;
  font-size: 1.35em;
  color: #FFF;
  background: #ff0071;/*真ん中の背景色*/
}

.wrapper_present{
  border:2px solid #38adff;
  background: #f7fcff;
  border-radius: 10px;
  margin:50px auto;
  padding:30px;
  width:90%;
}


.table_user{
  width: 90%;
  margin: 120px auto;
}

.table_user td{
  vertical-align: top;
  text-align: center;
}

.table_user td p{
  margin-bottom:30px;
  font-weight:bold;
  color:#666971;
  font-size:1.2em;
  line-height: 1.2em;
}

.user_price,
.newuser_price{
  font-weight:bold;
  color:#ff0071;
}
.user_price span,
.newuser_price span{
  font-size:1.3em;
}

.user{
  width:30%;
}

.arrow{
  width:20%;
}
.newuser{
  width:40%;
}

.arrow img{
  margin-top:120px;
}

.arrow_pc{
  visibility:visible;
}

.arrow_sp{
  visibility: hidden;
}

.newuser_wrap{
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom:10px;
}

.newusers{
  width:200px;
}

/*対象概要*/

.table_detail{
  border:2px solid #38adff;
  border-radius: 10px;
}

.detail_th{
  background:#38adff;
  color:#fff;
  font-size:0.8em;
  vertical-align: middle;
  text-align: center;
  width:15%;
  border-radius:  8px 0px 0px 8px;
}
.detail_td{
  background:#fff;
  border-radius: 0px 9px 9px 0px;
  font-size:0.8em;
  color:#666971;
}

.detail_user{
  margin:10px auto;
  width:90%;
}

.detail_newuser{
  border-top:1px solid #38adff;
  margin:10px auto;
  padding-top:10px;
  width:90%;
}

.detail_title{
  color:#38adff;
  font-weight:bold;
  margin-bottom:5px;
}


/*ボタン*/


.btn_area{
    width:  280px;
    margin:20px auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}


.btn_entry{
  margin:40px auto 50px;
  width: 280px;
  height: 60px;
  border-radius: 36px;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.89);
  background-color: #ff0071;
  color:#fff;
  text-align: center;
  vertical-align: middle;
  padding-top:21px;
}


a:hover div{
  opacity: 0.8;
}


/*キャンペーンの流れ*/

h2.title_flow{
  color:#38adff;
  font-size:28px;
  padding-bottom:20px;
  border-bottom:5px solid #38adff;
  width:420px;
  margin:60px auto;
}


.wrapper_lightblue{
  flex-direction: row;
  border:2px solid #38adff;
  background: #f7fcff;
  border-radius: 10px;
  width:80%;
  margin:10px auto 0px;
  padding:30px;
}

.wrapper_blue{
  flex-direction: row;
  border:2px solid #386cff;
  background: #e8eeff;
  border-radius: 10px;
  width:80%;
  margin:10px auto;
  padding:30px;
}

.flow_user_illust{
  text-align: center;
}

.flow_user_illust span{
  font-size: 0.8em;
  font-weight:bold;
  display: block;
}

.name_user{
  color:#38adff;
}

.name_newuser{
  color:#386cff;
}

.flow_user_illust img{
  margin:10px auto;
}

.step_box{
  flex-direction: column;
  margin-left:20px;
  width: 80%;
}

.flow_user_illust{
  width: 20%;
}

.user_step{
  border:2px solid #38adff;
  border-radius: 10px;
  display: block;
  margin-bottom:10px;
  min-height: 80px;
}

th.user_step_title{
  background:#38adff;
  color:#fff;
  font-size:0.75em;
  vertical-align: middle;
  text-align: center;
  padding:10px;
  border-radius:  8px 0px 0px 8px;
  min-height: 60px;
}
td.user_step_text{
  background:#fff;
  border-radius: 0px 9px 9px 0px;
  font-size:0.7em;
  line-height: 1.5em;
  color:#38adff;
  font-weight:bold;
  padding:10px 10px 10px 10px;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.userid{
  width:90%;
  margin:10px 15px 20px 28px;
}

.newuser_step{
  border:2px solid #386cff;
  border-radius: 10px;
  display: block;
  margin-bottom:10px;
  background: #fff;
}


th.newuser_step_title{
  background:#386cff;
  color:#fff;
  font-size:0.75em;
  vertical-align: middle;
  text-align: center;
  border-radius:  8px 0px 0px 8px;
  padding:10px;
  min-height: 80px;
}
td.newuser_step_text{
  background:#fff;
  border-radius: 0px 9px 9px 0px;
  font-size:0.7em;
  color:#386cff;
  font-size: 0.75em;
  line-height:1.2em;
  color:#386cff;
  font-weight:bold;
  padding:0px 10px 0px 10px;
  min-height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*キャンペーンについての注意事項*/

section.notes{
  text-align:center;
  width:80%;
  border-radius: 10px;
  margin:30px auto;
  padding:30px;
  border:1px solid #38adff;
}

h2.title_notes{
  color:#38adff;
  font-size:22px;
  width:340px;
  margin:20px auto;
  padding-bottom:18px;
  border-bottom:5px solid #38adff;
}

.notes table{
  margin:30px auto;
  width:100%;
  font-size:0.8em;
}

.notes table th{
  color:#38adff;
  width:20%;
  padding:10px;
  text-align: left;
}

.notes table td{
  color:#666971;
  line-height: 1.4em;
  width:80%;
  text-align: left;
  padding:10px;
}

.notes ul{
  margin-left:1.2em;
}

.list_amazon{
  font-size:0.8em;
}

.list_step{
  list-style-type:decimal;
}

footer{
  background:#38adff;
}

.copyright{
  color:#fff;
  font-size:0.7em;
  padding:20px;
  text-align: center;
}

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

header{
    position: relative;
    min-height:380px;
    background:url(images/header_bg.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
  }

  .logo_ribbon{
      margin-left:50px;
      width:280px;
      background:url(images/bg_ribbon.png) no-repeat;
      background-size:contain;
  }

  .ribbon_copy{
    color: #fff;
    font-weight: bold;
    margin: 0px auto;
    padding: 60px 20px 48px 16px;
    font-size: 1.4em;
    line-height: 1.1em;
    text-align: center;
  }

  h1{
      position: absolute;
    	bottom: 20px;
      margin:100px 0px 0px 50px;
      text-align: left;
      line-height:1.2em;
      font-size: 1.8em;
      color:#fff;
      font-weight: bold;
      letter-spacing: 0.1em;
  }


.newuser_wrap{
    flex-direction: column;
  }

.table_user td p{
  font-size:1em;
}
.ribbon h2{
  font-size:1.25em;
}

}

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

header{
    position: relative;
    min-height:320px;
    background:url(images/header_bg.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
  }

.logo_ribbon{
      margin-left:30px;
      width:230px;
      background:url(images/bg_ribbon.png) no-repeat;
      background-size:contain;
  }

.ribbon_copy{
    color: #fff;
    font-weight: bold;
    margin: 0px auto;
    padding:  50px 20px 58px 16px;
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
  }

h1{
      position: absolute;
    	bottom: 20px;
      margin:100px 0px 0px 30px;
      text-align: left;
      line-height:1.2em;
      font-size: 1.8em;
      color:#fff;
      font-weight: bold;
      letter-spacing: 0.1em;
  }

.ribbon h2 {
      padding: 0px 20px 0px;
  }


.ribbon h2 span{
    display: block;
    margin:0;
  }

.table_user {
      width: 90%;
      margin: 150px auto 20px;
  }

.table_detail{
    font-size:0.8em;
}



  .wrapper_lightblue,.wrapper_blue{
    flex-direction: column;
  }

  .flow_user_illust{
    width:100%;
  }

  .step_box {
      width: 100%;
      margin:0px;
  }

  .user_step,.newuser_step{
      width: 100%;
  }

  td.newuser_step_text {
      background: #fff;
      border-radius: 0px 9px 9px 0px;
      font-size: 0.7em;
      color: #386cff;
      font-weight: bold;
      padding: 10px;
      width: 100%;
      min-height: 80px;
  }

  .table_user td,.notes table th,
  .notes table td{
      display: block;
      width: auto;
    }

  .notes table th{
      background: #f7fcff;
    }

  .notes table th,
  .notes table td{
      border-top: none;
    }

  .arrow img {
        margin: 20px;
    }
  .arrow_pc{
    display: none;
    }

  .arrow_sp{
      visibility: visible;
  }


}

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

header{
    position: relative;
    min-height:280px;
    background:url(images/header_bg.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
  }

.logo_ribbon{
      margin-left:30px;
      width:200px;
      background:url(images/bg_ribbon.png) no-repeat;
      background-size:contain;
  }

.ribbon_copy{
    color: #fff;
    font-weight: bold;
    margin: 0px auto;
    padding: 40px 20px 48px 16px;
    font-size: 1.1em;
    line-height: 1.1em;
    text-align: center;
  }


h1{
        position: absolute;
      	bottom: 10px;
        margin:100px 0px 0px 30px;
        text-align: left;
        line-height:1.2em;
        font-size: 1.4em;
        color:#fff;
        font-weight: bold;
        letter-spacing: 0.1em;
    }


.newuser_wrap{
    flex-direction: column;
  }

.table_user td p{
  font-size:1em;
}

}

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

header {
      position: relative;
      min-height: 230px;
      background: url(images/header_bg.jpg) no-repeat;
      background-position: 50% 50%;
      background-size: cover;
  }

  .logo_ribbon{
      margin-left:20px;
      width:150px;
      height:auto;
      background:url(images/bg_ribbon.png) no-repeat;
      background-size:cover;
  }

  .ribbon_copy{
    color: #fff;
    font-weight: bold;
    margin: 0px auto;
    padding:   35px 20px 32px 16px;
    font-size: 0.7em;
    line-height: 1.1em;
    text-align: center;
  }

  h1{
      position: absolute;
    	bottom: 10px;
      margin:100px 0px 0px 20px;
      text-align: left;
      line-height:1.2em;
      font-size: 1.3em;
      color:#fff;
      font-weight: bold;
      letter-spacing: 0.1em;
  }
  h1 img{
    margin-left:5px;
    width:120px;
  }

.ribbon h2 {
        padding:2px 0px;
        font-size: 1.15em;
    }

.ribbon h2 span{
    display: block;
    margin:0;
  }

.table_detail{
      font-size:0.7em;
  }

}

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


header {
    position: relative;
    min-height: 180px;
    background: url(images/header_bg.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
}

.logo_ribbon{
    margin-left:10px;
    width:120px;
    background:url(images/bg_ribbon.png) no-repeat;
    background-size:contain;
}

.ribbon_copy{
  color: #fff;
  font-weight: bold;
  margin: 0px auto;
  padding:  28px 20px 32px 16px;
  font-size: 0.6em;
  line-height: 1.1em;
  text-align: center;
}

h1{
    position: absolute;
  	bottom: 10px;
    margin:100px 0px 0px 10px;
    text-align: left;
    line-height:1.2em;
    font-size: 1em;
    color:#fff;
    font-weight: bold;
    letter-spacing: 0.1em;
}
h1 img{
  margin-left:5px;
  width:120px;
}

.ribbon h2 {
    padding:6px 0;
    font-size: 0.95em;
}

  .table_detail {
      font-size: 0.5em;
  }

  .wrapper_present {
      border: 2px solid #38adff;
      background: #f7fcff;
      border-radius: 10px;
      margin: 50px auto 20px;
      padding: 10px;
      width: 90%;
  }


  h2.title_flow {
      color: #38adff;
      font-size: 1.1em;
      padding-bottom: 10px;
      border-bottom: 5px solid #38adff;
      width: 90%;
      margin: 0px auto 30px;
  }


  .wrapper_lightblue {
      flex-direction: column;
      border: 2px solid #38adff;
      background: #f7fcff;
      border-radius: 10px;
      width: 90%;
      margin: 10px auto 0px;
      padding: 10px;
  }

  .wrapper_blue {
      flex-direction: column;
      border: 2px solid #386cff;
      background: #e8eeff;
      border-radius: 10px;
      width:  90%;
      margin: 10px auto;
      padding: 10px;
  }

  section.notes {
      text-align: center;
      width: 90%;
      border-radius: 10px;
      margin: 30px auto;
      padding: 10px;
      border: 1px solid #38adff;
  }

  h2.title_notes {
      color: #38adff;
      font-size: 0.75em;
      width: 80%;
      margin: 20px auto;
      padding-bottom: 10px;
      border-bottom: 5px solid #38adff;
  }


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

  .ribbon h2 {
      padding:7px 0;
      font-size: 0.9em;
      line-height: 1.2em;
  }


  h2.title_notes {
      color: #38adff;
      font-size: 1.2em;
      width: 100%;
      margin: 20px auto;
      padding-bottom: 18px;
      border-bottom: 5px solid #38adff;
  }

  h2.title_flow {
      color: #38adff;
      font-size: 0.95em;
      padding-bottom: 10px;
      border-bottom: 5px solid #38adff;
      width: 90%;
      margin: 0px auto 30px;
  }


}

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

  header{
      position: relative;
      min-height:150px;
      background:url(images/header_bg.jpg) no-repeat;
      background-position: 50% 50%;
      background-size: cover;
    }

  .logo_ribbon{
      margin-left:10px;
      width:100px;
      background:url(images/bg_ribbon.png) no-repeat;
      background-size:contain;
    }

  .ribbon_copy{
    color: #fff;
    font-weight: bold;
    margin: 0px auto;
    padding:  22px 20px 32px 16px;
    font-size: 0.5em;
    line-height: 1.1em;
    text-align: center;
    }


  h1{
    font-size:0.8em;
    }

  h1 img{
    width:80px;
  }

  .ribbon h2 {
      padding:8px 0;
      font-size: 0.78em;
  }


  h2.title_notes {
      color: #38adff;
      font-size: 0.8em;
      width: 100%;
      margin: 20px auto;
      padding-bottom: 10px;
      border-bottom: 5px solid #38adff;
  }

  .notes table th {
      font-size:0.8em;
  }


  .notes table td {
      font-size:0.8em;
  }


}
