/*==================================================
  FORM CSS
==================================================*/
/*==========  ==========*/
/*-----  -----*/


/*========== COMMON ==========*/

#form {
  width: 95%;
  padding: 20px 0 30px 0;
}

#form * {
  box-sizing: border-box;
}

#form *:focus {
  outline: none;
}

/*----- CLEARFIX -----*/
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}


/*========== ERROR ==========*/

#form .error-container {
  width: 100%;
  margin-bottom: 30px;
}

#form .error-text {
  color: #ad181f;
  text-align: center;
  line-height: 2em;
}


/*========== DESCRIPTION ==========*/

#form .description-container {
  width: 100%;
  margin-bottom: 30px;
}

#form .description-container p:not(:last-child) {
  margin-bottom: 1em;
}

#form .annotation {
  margin-top: 1em;
  color: #e74c3c;
  font-weight: bold;
}


/*========== COMPLETE ==========*/

#form .complete-container {
  width: 100%;
  margin-bottom: 30px;
}

#form .complete-text {
  text-align: center;
}


/*========== FORM ==========*/

#form .form-container {
  width: 100%;
  line-height: 1.5;
  border-top: 1px solid #ccc;
  border-collapse: collapse;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

#form .form-container tr {
  width: 100%;
  border-bottom: 1px solid #ccc;
}

#form .form-container th {
  position: relative;
  width: 30%;
  padding: 15px 20px;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

#form .form-container td {
  width: 70%;
  padding: 15px 20px;
}

#form .form-label {
  font-weight: bold;
}

#form .form-sub-label {
  display: block;
  font-weight: bold;
}

#form .require-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -12.5px;
  padding: 2.5px 7.5px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: normal;
  border-radius: 3px;
  background: #c66868;
}

#form .no-require-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -12.5px;
  padding: 2.5px 7.5px;
  color: #fff;
  font-size: 12px;
  line-height: 1.5;
  font-weight: normal;
  border-radius: 3px;
  background: #5fa3d0;
}

#form .example {
  display: block;
  margin-top: 5px;
  color: #999;
  font-size: 12px;
  line-height: 1;
}

#form .example-icon {
  margin-right: 5px;
  padding: 2px 7.5px;
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  background: #999;
}


/*========== INPUT ==========*/

#form .input-general {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#form .input-general:focus {
  border: 1px solid #2c8e8d;
}

#form .input-narrow {
  width: 50%;
}


/*========== RADIO BUTTON & CHECKBOX ==========*/

#form .checkbox-container {
  margin-top: 10px;
}

#form .checkbox-inner {}

#form .checkbox-inner-alt {
  float: left;
  width: 50%;
}

#form input[type=radio],
#form input[type=checkbox] {
  display: none;
}

#form .input-radio,
#form .input-checkbox {
  display: inline-block;
  position: relative;
  padding: 5px 0 5px 25px;
  font-size: 12px;
  border-radius: 5px;
  cursor: pointer;
}

#form .input-radio:hover:after,
#form .input-checkbox:hover:after {
  border-color: #258584;
}

#form .input-radio:after,
#form .input-checkbox:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  margin-top: -9px;
  border: 2px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.3s linear;
}

#form .input-radio:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: #258584;
  transition: opacity 0.3s linear;
  opacity: 0;
  z-index: 10;
}

#form input[type=radio]:checked + .input-radio:before {
  opacity: 1;
}

#form .input-checkbox:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 5.5px;
  width: 5px;
  height: 10px;
  margin-top: -7.5px;
  border-right: 3px solid #258584;
  border-bottom: 3px solid #258584;
  transition: opacity 0.3s linear;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 10;
}

#form input[type=checkbox]:checked + .input-checkbox:before {
  opacity: 1;
}


/*========== SELECT ==========*/

#form .select-container {
  display: inline-block;
  position: relative;
  margin-left: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #f5f5f5;
  transition: all .3s;
}

#form .select-container:hover {
  background: #e2f3ff;
  transition: all .3s;
}

#form .select-container:before,
#form .select-container:after {
  content: "";
  position: absolute;
  top: 12.5px;
  right: 10px;
  width: 0;
  height: 0;
  border: 4px dashed;
  border-color: #999 transparent;
  pointer-events: none;
  z-index: 5;
}

#form .select-container:before {
  border-top: none;
  border-bottom-style: solid;
}

#form .select-container:after {
  margin-top: 7px;
  border-top-style: solid;
  border-bottom: none;
}

#form .select-list {
  width: 100%;
  padding: 10px 35px 10px 10px;
  -webkit-appearance: none;
  cursor: pointer;
}


/*========== TEXTAREA ==========*/

#form textarea {
  display: block;
  width: 100%;
  min-height: 250px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#form textarea:focus {
  border: 1px solid #2c8e8d;
}


/*========== BUTTON ==========*/

#form button {
  border: none;
  margin: 0;
}

#form .button-container,
#form .button-container-alt {
  width: 80%;
  margin: 30px auto 0;
}

#form .button-container .return-button {
  display: block;
  width: 70%;
  margin: 0 auto;
  padding: 20px;
  color: #fff;
  line-height: 1em;
  text-align: center;
  border-radius: 5px;
  background: #ccc;
  transition: all .3s;
}

#form .button-container .return-button:hover {
  cursor: pointer;
  opacity: .7;
  transition: all .3s;
}

#form .button-container .submit-button {
  display: block;
  width: 70%;
  margin: 0 auto;
  padding: 20px;
  color: #fff;
  line-height: 1em;
  text-align: center;
  border-radius: 5px;
  background: #258584;
  transition: all .3s;
}

#form .button-container .submit-button:hover {
  cursor: pointer;
  opacity: .7;
  transition: all .3s;
}

#form .button-container-alt .return-button {
  float: left;
  width: 35%;
  padding: 20px;
  color: #fff;
  line-height: 1em;
  text-align: center;
  border-radius: 5px;
  background: #ccc;
  transition: all .3s;
}

#form .button-container-alt .return-button:hover {
  cursor: pointer;
  opacity: .7;
  transition: all .3s;
}

#form .button-container-alt .submit-button {
  float: right;
  width: 60%;
  padding: 20px;
  color: #fff;
  line-height: 1em;
  text-align: center;
  border-radius: 5px;
  background: #258584;
  transition: all .3s;
}

#form .button-container-alt .submit-button:hover {
  cursor: pointer;
  opacity: .7;
  transition: all .3s;
}

#form .link-button {
  display: block;
  width: 60%;
  height: 70px;
  padding-top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: #258584;
  transition: all .3s;
}

#form .link-button:hover {
  opacity: .7;
  transition: all .3s;
}

#form .link-button i {
  margin: -5px 0 0 15px;
  color: #fff;
  font-size: 40px;
}


/*========== DOWNLOAD ==========*/

#download {
  width: 95%;
  padding: 20px 0 30px 0;
}

#download * {
  box-sizing: border-box;
}

#download .download-container {
}

#download .download-inner:not(:last-child) {
  margin-bottom: 30px;
}

#download .download-inner h3 {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: bold;
}

#download .download-inner p {
  margin-bottom: 5px;
  color: #606;
  font-size: 14px;
  font-weight: bold;
}

#download .download-inner table {
  width: 100%;
  border-collapse: collapse;
}

#download .download-inner th {
  padding: 10px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border: 1px solid #555;
  background: #258584;
}

#download .download-inner th:first-child {
  width: 100px;
}

#download .download-inner th:nth-child(2) {
  width: 27.5%;
}

#download .download-inner th:nth-child(3) {
  width: 27.5%;
}

#download .download-inner td {
  padding: 10px 20px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #555;
}

#download .download-inner td:first-child {
  padding: 0;
}

#download .download-button {
  display: block;
  padding: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  background: #258584;
  transition: all .3s;
}

#download .download-button:hover {
  opacity: .7;
  transition: all .3s;
}

#download .download-button i {
  color: #fff;
  margin: -2.5px 0 0 10px;
  font-size: 20px;
}

/*========== 確認画面 ==========*/
#formWrap h4 {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  color: #2c8e8d;
  margin-bottom: 1em;
}
#formWrap p {
  margin: 0.5em 0;
  text-align: center;
}
#formWrap p.error_messe {
  color: #c00;
  position: relative;
  padding-left: 1.25em;
  text-align: left;
}
#formWrap p.error_messe::before {
  position: absolute;
  content: '※';
  left: 0;
}
#formWrap .vt-form-button.is-return {
  margin: 20px auto;
}
#formWrap h3 {
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  color: #2c8e8d;
  margin-bottom: 1em;
}
#formWrap table {
  margin: 20px 0;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
#formWrap table th, 
#formWrap table td {
  padding: 1em;
}
#formWrap table th {
  font-weight: bold;
  width: 30%;
}
#formWrap table tr:nth-child(odd) {
  background-color: #eee;
}
.button-layout {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}
