@charset "utf-8";

.under_mv{
    background: url("../img/mv.png") center;
    -webkit-background-size: cover;
    background-size: cover;
}
.main_content{
}
.contact_text {
    margin-top: 30px;
}
input[type="text"], input[type="email"], input[type="password"], textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* for focus animation */
  -webkit-transition: all .3s;
  transition: all .3s;
  border-radius: 2px;
  border: 1px solid #aaa;
  padding: 5px;
    box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus {
  box-shadow: 0 0 7px #aaaaff;
}
select {
  padding: 5px;
}
input[type="submit"]{
    border-radius: 5px;
    border: none;
    background: #2F328D;
    padding: 20px;
    width: 150px;
    color: #fff;
    margin: 40px 25px 0;
    cursor: pointer;
}
input[type="submit"].ret, input[type="reset"], button {
    border-radius: 5px;
    border: none;
    background: #BFBFBF;
    padding: 20px;
    width: 150px;
    color: #fff;
    margin: 40px 25px 0;
    cursor: pointer;
}
input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
  opacity: .8;
}
input[type="submit"]:active, input[type="reset"]:active, button:active {
  opacity: .8;
}


.msgarea {
  color:#ff0000;
  margin: 20px 0px;
  padding: 10px 20px 10px 20px;
  background-color: #eeeeee;
  border: 1px solid #000088;
}

p.errmsg {
  color:#ff0000;
  margin:0px;
}
.btn_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
}
.btn_text {
    width: 100%;
    text-align: center;
    font-weight: bold;
}
.thx_text {
    text-align: center;
    margin-top: 50px;
}
a.thx_link {
    color: #222;
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 100px;
    margin: 30px auto 0;
    text-decoration: underline;
}
@media screen and (min-width: 767px) {
.root-container {
    max-width: 946px;
    margin: 95px auto 120px;
}
  .form-element-container {
    display: table;
    width: 100%;
    margin: 15px auto 0;	/* 中央寄せ */
      border-top: 1px solid #161B5940;
  }
  .form-field-input-pair {
    display: table-row;
  }
  .form-field {
    display: table-cell;
    width: 250px;
    padding: 20px;
    vertical-align: middle;
    text-align: center;
    background: #16235710;
    box-sizing: border-box;
      border-bottom: 1px solid #161B5940;
  }
  .form-input {
    display: table-cell;
    padding: 20px;
    box-sizing: border-box;
    vertical-align: middle;
      border-bottom: 1px solid #161B5940;
  }
}
@media screen and (max-width: 767px) {
.root-container {
    margin: 90px auto 120px;
    width: 90%;
}
  .form-element-container {
      border-top: 1px solid #161B5940;
  }
  .form-field-input-pair {
  }
  .form-field {
    width: 100%;
    padding: 10px 5%;
    background: #16235710;
      border-bottom: 1px solid #161B5940;
      box-sizing: border-box;
  }
  .form-input {
    width: 100%;
    padding: 10px 5%;
      border-bottom: 1px solid #161B5940;
      box-sizing: border-box;
  }
}
.contact_box {
  display: none;
}
.w_all {width: 100%;}
.w_full {width: 75%;}
.w_half {width: 50%;}
.w_25pc {width: 25%;}

.required {color: red;}