body, form,
ul, ol, li,
p, h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
}
input, button, textarea, select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
body {
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
}
form {
  padding: 10px;
  margin: 0 auto;
  font-size: 12px;
  color: #666;
  max-width: 600px;
  min-width: 300px;
  width: 100%;
}
form > div {
  margin-bottom: 1em;
}
input, textarea, select {
  display: block;
  box-sizing: border-box;
  color: #000;
  width: 100%;
  margin-top: 3px;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 5px 10px;
  line-height: 30px;
  font-size: 16px;
}
input:focus, textarea:focus, select:focus {
  border-color: #2894db;
  outline: none;
}
textarea {
  line-height: 1.4;
}
select {
  padding: 10px 10px;
  height: 42px;
  line-height: 20px;
  vertical-align: middle;
  background: url(./up-and-down.svg) calc(100% - 10px) / 15% no-repeat #fff;
  background-size: 12px;
}
/* CAUTION: IE hackery ahead */
select::-ms-expand { 
  display: none; /* remove default arrow on ie10 and ie11 */
}

/* target Internet Explorer 9 to undo the custom arrow */
@media screen and (min-width:0\0) {
  select {
    background:none\9;
    padding: 5px\9;
  } 
}

#nameArea {
  display: flex;
  justify-content: space-between;
}
#nameArea input {
  width: 49%;
}

input[type=submit] {
  border-color: rgba(0, 0, 0, .2);
  background: #2894db;
  color: #fff;
}


header {
  background: #022455;
  padding: 8px;
}
header h1 {
  text-align: center;
}
header h1 img {
  height: 50px;
}

footer {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding-bottom: 2rem;
}

h2 {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin: 1rem;
}

.thanks {
  font-size: 14px;
  color: #333;
  text-align: center;
  padding: 50px 0;
}

.error {
  display: none;
}
.error.show {
  display: block;
  padding: 10px;
  color: #c00;
}

.notice {
  display: none;
}
.notice.show {
  display: block;
  padding: 5px 0;
  color: #17b93d;
}

#member_id_area {
  display: none;
}

#submit[disabled] {
  opacity: 0.7;
}