html, body {
  height: 100%;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  margin: 0;
  /*
  background-image: url("../images/bg.png");
  background-repeat: repeat;
  */
  background-color: #fff;
  /*
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-image: radial-gradient(#f9fcff 20%, transparent 20%), radial-gradient(#fff9f9 20%, transparent 20%);
  */
}
header {
  position: fixed;
  top:1%;
  left:1%;
  width: 165px;
}
header img {
  /*
  width: 250px;
  height: auto;
  */
}
header ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}
header ul li {
  margin-bottom: 15px;
}
main {
  padding: 50px 0;
}
.container {
  max-width:700px;
  width: auto;
  margin: 0 auto;
}
.cb_bg {
  position: fixed;
  top: 0;
  max-width:700px;
  width: 100%;
  height: 100%;
  /*background: #E2F4F8;*/
  background-image: url("../images/cb-bg.png");
  background-repeat: repeat;
  background-size: 100%;
  box-shadow: 10px 0px 10px -10px rgba(50, 50, 50, .2), -10px 0px 10px -10px rgba(50, 50, 50, .2);
  z-index: 1;
}
#cb {
  position: relative;
  padding: 0 5px;
  z-index: 2;
}
.thanks__message {
  position: relative;
  padding: 0 50px;
  z-index: 2;
}
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(0, 0, 0, .7) 60%, rgb(0, 0, 0, .4) 90%);
  z-index: 10;
}
#popup .container {
  text-align: center;
  position: relative;
  top: 20%;
  padding-bottom: 20px;
  max-width: 500px;
  background: #00DDC3;
  border-radius: 50px;
  /*
  background-image: url(../images/bg.png);
  background-repeat: repeat;
  */
  /*
  background-color: #f0fbfc;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-image: radial-gradient(#f9fcff 20%, transparent 20%), radial-gradient(#fff9f9 20%, transparent 20%);
  */
}
#popup p {
  padding: 0 30px;
}
#popup p:nth-of-type(1) {
  margin-top: 0;
  padding: 20px;
  color: #FF934A;
  font-size: 28px;
  font-weight: bold;
  background: #fff;
  border-radius: 50px;
}
#popup p:nth-of-type(2) {
  margin-bottom: 0;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}
#popup p:nth-of-type(3) {
  padding-top: 30px;
  padding-bottom: 30px;
}
#popup p:nth-of-type(3) img {

  width: 100%;
}

#popup p button {
  cursor: pointer;
  position: relative;
  height: 100px;
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0px 10px 0px 0px #00BF91;
}
#popup p button::after {
  content: "";
  position: absolute;
  right: 50px;
  margin-top: -8px;
  height: 50px;
  width: 50px;
  background-image: url("../images/popup-arrow.png");
  background-repeat: no-repeat;
  background-size: contain;
}
#popup p button:hover {
  opacity: .5;
}
#popup .popup__close__btn button {
  position: absolute;
  cursor: pointer;
  top: -19px;
  right: -19px;
  padding: 3px 10px 6px 12px;
  font-size: 22px;
  border-radius: 50%;
}
@media screen and (max-width: 700px){
  .container { margin: 0 10px; }
  header {
    position: absolute;
    text-align: center;
    top: 0;
    left: 0;
    padding: 10px 10px 7px;
    width: 100%;
    background: #fff;
    border-bottom: solid 5px #00ddc3;
    box-sizing: border-box;
    z-index: 10;
  }
  header ul {
    display: flex;
    flex-wrap: nowrap;
  }
  header ul li {
    margin-right: 15px;
    margin-bottom: 0;
  }
  header ul li:first-child {
    margin-right: 7vw;
  }
  header ul li:last-child {
    margin-right: 0;
  }
  header img {
    height: 50px;
    width: auto;
  }
  main {
    padding: 110px 0 50px;
    box-sizing: border-box;
  }
  .cb_bg {
    left: 0;
    box-shadow: none;
  }
  #cb,
  .thanks__message {
    padding: 0;
  }
  #popup {
    display: none !important;
  }
  #popup p {
    padding: 0 20px;
  }
  #popup p:nth-of-type(1) {
    font-size: 22px;
  }
  #popup p button {
    padding: 20px 100px;
  }
  #popup .popup__close__btn button {
    top: -25px;
    right: -10px;
  }
}
