@charset "UTF-8";

body {
  color: #000000;
  font-size: 16px;
  font-family: Heebo, "Heebo", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", Yu Gothic, "ヒラギノ角ゴ ProN W3", "メイリオ", sans-serif;
  background-color: #ffffff;
  text-align: center;
}

header {
  margin: 0;
  width: 600px;
}

header img {
  margin: 0 auto;
}

main {
  width: 600px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 20px 0;
}

.wrapper {
  min-height: 100vh;
  position: relative;/*←相対位置*/
  padding-bottom: 40px;/*←footerの高さ*/
  box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
}

.wrapper_inner {
  display: flex;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
  height: calc(100vh - 40px);
}

.container h2 {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 30px;
}
.container h3 {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 5px;
}
.container p {
  font-size: 14px;
}

footer {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  color: #ffffff;
  background-color: #3d0887;
  padding: 10px 0;
  width: 100%;
}




/* ----- button ----- */
.button {
  -webkit-appearance: none;
  appearance: none;
  border: 2px solid #6569D4;
  display: block;
  margin: 0 auto;
  color: #333;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  width: 100%;
  font-size: 16px;
  height: 56px;
  line-height: 52px;
}
.button.cell {
  display: table-cell;
  vertical-align: middle;
}
.button.purple {
  color: #fff;
  background-color: #6569D4;
}
.button.white {
  color: #000;
  background-color: #fff;
}
.button.gray {
  color: #fff;
  background-color: #cfcfcf;
  border: 2px solid #cfcfcf;
}


/* ----- box ----- */
.box_shadow {
  box-shadow: 0 0 10px #ccc;
  background-color: #fff;
  border-radius: 6px;
}



/* ----- modal ----- */
.modal{
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 9999;
}
.modal__bg{
  background: rgba(0,0,0,0.4);
  height: 100vh;
  position: absolute;
  width: 100vw;
}
.modal__content{
  background: #fff;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 60%;
  max-height: 80%;
}






/* ----- form ----- */
input[type="text"],
input[type="password"],
input[type="number"],
select {
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  height: 50px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url('../img/sankaku.png');
  background-repeat: no-repeat;
  background-size: 14px 11px;
  background-position: center right 10px;
}

/* checkbox */
input[type="radio"],
input[type="checkbox"]:not(.normal) {
  display: none;
}
input[type="radio"] + label,
input[type="checkbox"]:not(.normal) + label {
  background-repeat: no-repeat;
  background-size: 24px 24px;
  display: inline-block;
  padding-left: 28px;
  line-height: 24px;
  height: 24px;
  cursor: pointer;
}
input[type="checkbox"]:not(.normal) + label {
  background-image: url(../img/check.png);
}
input[type="checkbox"]:not(.normal):checked + label {
  background-image: url(../img/check_on.png);
}
input[type="checkbox"].normal + label {
  font-size: 14px;
}
input[type="submit"]:hover {
  cursor: pointer;
}


form.entry_form {
  width: 400px;
  margin: 0 auto;
}
form.entry_form div.input_area {}
form.entry_form div.input_area div.input_item {
  text-align: left;
  margin-bottom: 20px;
}
form.entry_form div.input_area div.input_item:last-child {
  margin-bottom: 0;
}
form.entry_form div.input_area div.input_item div.zip {
  display: flex;
  justify-content: space-between;
}
form.entry_form div.input_area div.input_item div.zip input {
  width: calc(100% - 130px);
}
form.entry_form div.input_area div.input_item div.zip a.button {
  width: 115px;
  height: 50px;
  line-height: 48px;
  background-color: #ebebeb;
  color: #000000;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
}
form.entry_form div.input_area div.input_item h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
form.entry_form div.input_area div.input_item h3 span {
  color: #cc0000;
  font-size: 12px;
  margin-left: 5px;
}
form.entry_form div.input_area div.input_item.confirm {
  border-bottom: 1px solid #cccccc;
}
form.entry_form div.input_area div.input_item.confirm p {
  font-size: 13px;
  margin-bottom: 5px;
}
form.entry_form div.input_area div.input_item.rule {
  font-size: 12px;
}



form.entry_form div.button_area {
  margin: 30px auto;
}
form.entry_form div.button_area p:not(:last-of-type){
  margin-bottom: 20px;
}


a.icon_outlink {
  background-image: url('../img/window.png');
  background-repeat: no-repeat;
  background-size: 24px 24px;
  background-position: center right;
  padding-right: 24px;
}




@media (max-width: 767px) {
  .wrapper {
    height: auto;
  }
  .wrapper_inner {
    display: block;
    width: 100%;
    height: auto;
  }
  header {
    width: 100%;
  }
  header img {
    width: 100%;
  }
  main {
    width: 100%;
    max-height: initial;
    max-height: auto;
    padding: 20px;
  }

  form.entry_form {
    width: 100%;
  }
  input[type="text"],
  input[type="password"],
  input[type="number"],
  select {
    height: 40px;
  }

  form.entry_form div.input_area div.input_item div.zip a.button {
    height: 40px;
    line-height: 38px;
  }
  .modal__content{
    width: 94%;
    top: 50px;
    transform: translate(-50%,0);
  }

}
