@charset "utf-8";

body {
  background: none;
}

h1 {
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  display: block;
  margin: 10px auto;
  text-align: center;
  width: 400px;
  max-width: 90%;
  padding: 10px 0;
}

section {
  width: 90%;
  box-sizing: border-box;
  margin: 0 auto;
}

#apply-complete,
#apply-revote {
  margin: 60px auto;
  padding: 0 2em;
}

#disp-error {
  padding: 0 2em;
}

.attention {
  color: #df4f83;
  font-weight: normal;
}
.attention.block {
  display: block;
}
#form-contents .form-table {
  margin: 0 auto;
}

#form-contents .form-table .error_form {
  border: solid 1px #df4f83 !important;
}

#form-contents .form-table th,
#form-contents .form-table td {
  display: block;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
}

#form-contents .form-table th {
  padding: 10px 0;
  font-weight: bold;
}


#form-contents .form-table input[type="text"], textarea {
    padding: 0.7em;
    outline: none;
    border: 1px solid #DDD;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    font-size: 16px;
    box-sizing: border-box;
}

#form-contents .form-table select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    height: 30px;
    background: transparent;
    position: relative;
    z-index: 1;
    padding: 0 40px 0 10px;
    border: 1px solid #ccc;
}

#form-contents .form-table .form-radio-inline,
#form-contents .form-table .form-check-inline {
  margin: 5px;
}

#form-contents .decision {
  display: block;
  text-align: center;
  margin: 20px 0;
  width: 100%;
}
#form-contents .decision button {
  padding: 1em 2.5em;
  border-radius: 5px;
  border-style: none;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  background-color: #ff962d;
}

#apply-complete .abutton,
#apply-revote .abutton {
  padding: 10px 30px;
  border-radius: 5px;
  border-style: none;
  font-size: 1.2em;
  font-weight: bold;
  color: #fff;
  margin-bottom: 10px;
  background-color: #ff962d;
  display: block;
  margin: 20px auto 0;
  text-decoration: none;
  text-align: center;
}

.topmargin {
  margin-top: 20px;
}
.darkcol {
  color: #888;
}

/****** custom form class ******/
.custom-form-sex {
  display: inline-block;
  margin: 0 20px;
}
.custom-form-opportunity {
  margin-left: 20px !important;
}
.custom-form-other {
  margin-left: 20px !important;
}
.custom-form-newer {
  margin-left: 20px !important;
}

footer {
  text-align: center;
  padding: 10px;
}


/******** for ぐるぐる通信中表示 *********/
#overlay-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
#overlay-loading .sr-only {
  display: none;
}

