img {
  width: 100%;
  max-width: 100%;
  vertical-align: top;
  font-size: 0;
  line-height: 0;
}

.main_wrap {
  position: relative;
  margin: 0;
}

.main_wrap.result {
  background: url(../img/img_bg03.png);
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

.bg-wrap {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: -2;
}

.bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

#background_movie {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_content {
  position: absolute;
  width: 100%;
  z-index: 1;
}

.header-item {
  position: absolute;
  top: 0;
  left: 0;
}

.page-hv-op {
  cursor: pointer;
  -webkit-transition: opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
  transition: opacity .3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.header-logo-link {
  width: 249px;
  padding: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.header-logo-link img {
  max-width: 139px;
  /*filter: drop-shadow(0 0 0.75rem #000);*/
}

section.content {
  max-width: 460px;
  background: url(../img/img_bg01.png) no-repeat;
  background-size: cover;
  padding: 250px 20px 30px 20px;
  margin: 0 auto;
}

.result section.content {
  background: url(../img/img_bg04.png) no-repeat;
  background-size: cover;
  background-position: top center;
  box-sizing: border-box;
  padding: 150px 20px 60px 20px;
}

.result section.content p {
  font-family: 'Noto Serif JP', sans-serif;
  text-align: center;
  color: #fff;
  font-size: 20px;
  text-shadow: #000 2px 2px 2px;
  margin: 20px 0;
}

.input_area {
  position: relative;
  box-sizing: border-box;
  font-family: 'Noto Serif JP', sans-serif;
  background: url(../img/img_bg02_01.png) no-repeat top center, url(../img/img_bg02_03.png) no-repeat bottom center;
  width: 382px;
  height: 314px;
  margin: 0 auto;
}

.input_area::before {
  content: "";
  position: absolute;
  top: 50px;
  bottom: 50px;
  left: 0;
  right: 0;
  background: url(../img/img_bg02_02.png) repeat-y center;
}

.input_area input {
  position: absolute;
  display: block;
  font-family: 'Noto Serif JP', sans-serif;
  background: url(../img/img_bg_input.png) center center no-repeat;
  width: 240px;
  height: 50px;
  left: calc(50% - 120px);
  top: 65px;
  font-size: 18px;
  text-align: center;
  color: #fff;
  border: 0;
  padding: 0;
}

.input_area input::placeholder {
  font-size: 18px;
  color: #8b8b8b;
}

.input_area p {
  position: absolute;
  color: #fff;
  font-size: 14px;
  width: 240px;
  left: calc(50% - 120px);
  top: 120px;
  text-align: center;
  margin: 0;
}

.input_area .arrow {
  position: absolute;
  width: 58px;
  height: 45px;
  left: calc(50% - 29px);
  top: 140px;
}

.input_area button {
  position: absolute;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  left: calc(50% - 95px);
  top: 190px;
}

.input_area a.link_x,
.input_area a.link_line {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 260px;
}

.input_area a.link_x {
  left: calc(50% - 64px);
}

.input_area a.link_line {
  left: 50%;
}

section.notice {
  width: 100%;
  background: #000;
  color: #fff;
  border-top: 2px solid #e39e09;
}

section.notice p {
  max-width: 1140px;
  padding: 40px 0;
  margin: 0 auto;
}

.mb20 {
  margin-bottom: 20px;
}

.mb40 {
  margin-bottom: 40px;
}

.result_title {
  display: block;
  width: 162px;
  height: 106px;
  padding-bottom: 10px;
  margin: 0 auto;
}

#canvas {
  display: block;
  width: auto;
  height: 105px;
  max-width: 100%;
  margin: 0 auto;
}

.result button {
  display: block;
  cursor: pointer;
  border: 0;
  padding: 0;
  background: none;
  margin: 0 auto;
}

.result button:not(:last-child) {
  margin-bottom: 10px;
}

section#iOS_download, .iOS {
  display: none;
}

.only-pc { display: block; }
.only-sp { display: none; }

@media screen and (max-width:1366px) {
  section#iOS_download {
    display: block;
    background-color: #6a1418;
    color: #fff;
    border-top: 2px solid #e39e09;
    padding: 40px 10px;
  }

  section#iOS_download p {
    font-size: 14px;
    max-width: 640px;
    margin: 0 auto 10px auto;
  }

  section#iOS_download img {
    max-width: 640px;
    margin: 0 auto 40px auto;
  }

  section.notice {
    border: none;
  }

  .input_area {
    height: 364px;
  }

  .input_area a.link_x,
  .input_area a.link_line {
    top: 310px;
  }

  .input_area p.iOS {
    display: block;
    top: 250px;
  }

  .content .iOS {
    display: block;
  }

  .input_area p.iOS a,
  .content .iOS a {
    color: #fff;
    text-decoration: underline;
  }
}

@media screen and (max-width: 767.98px) {
  .header-logo-link {
    width: 122px;
    padding: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  
  section.content {
    width: 100%;
    background-size: 140%;
    background-position: center 50%;
    padding: 180px 0 30px 0;
  }

  .input_area {
    width: 100%;
    max-width: 382px;
    background-position-x: center;
  }

  section.notice p {
    padding-left: 10px;
    padding-right: 10px;
  }

  .result section.content p {
    font-size: 17px;
  }

  .only-pc { display: none; }
  .only-sp { display: block; }
}