
html,body{
  height: 100%;
}
.mainWrap{
  min-height: 100%;
}


#form{
  padding-top: 10vw;
}

section .inBox{
  margin-bottom: 150px;
}

.boxTxt{
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2em;
}

.attention,
.yellow {
	color: #ffff7f;
}
.form dt {
	font-weight: bold;
}
.form dt span {
	font-weight: normal;
}
.formSubmitArea{
  margin-bottom: 3em;
}
.list--attention{
  margin: 1em auto;
}
.list--attention dt{
  font-weight: bold;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.list--attention dd{
  margin-bottom: 2em;
}
.list--indent li{
  padding-left: 0.5em;
  text-indent: -1em;
}
.icon--required::before {
    display: inline-block;
    content: "必須";
    margin-left: .3em;
    background: #ffff7f;
    color: #1a9398;
    line-height: 1;
    font-size: 14px;
    padding: 0.3em 0.6em 0.2em;
    border-radius: 4px;
    vertical-align: 0.1em;
}
#contact_other{
  border: 1px solid;
  padding: 2em;
  border-radius: 16px;
}
.contact_form {
	width: 100%;
}



/* placeholder */
::-webkit-input-placeholder {
  color: #ddd;
}

::-moz-placeholder {
  color: #ddd;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #ddd;
}

:-moz-placeholder {
  color: #ddd;
}

/* autofill */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

/* input */
input[type=text],
input[type=email],
button {
  font-family:"Helvetica Neue",Arial,'ヒラギノ角ゴ ProN',"Hiragino Kaku Gothic ProN","Hiragino Sans",'メイリオ',Meiryo,'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif
  -webkit-appearance: none;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  color: #111;
  box-shadow: none;
  padding: 1em;
  border-radius: 8px;
}
@media screen and (min-width: 961px) {
  input[type=text],
  input[type=email],
  button {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.8;
    font-feature-settings: "palt";
    letter-spacing: 0.04em;
  }
}
@media screen and (min-width: 1px) and (max-width: 960px) {
  input[type=text],
  input[type=email],
  button {
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1px) and (max-width: 960px) {
  input[type=text],
  input[type=email],
  button {
    padding: 0.8em;
  }
}
input[type=text].form__error,
input[type=email].form__error,
button.form__error {
  background: #fff0ea;
  color: #f33;
  border-color: #f33;
}
input[type=text].form__error:focus,
input[type=email].form__error:focus,
button.form__error:focus {
  background: transparent;
  color: inherit;
  border-color: inherit;
}
input[type=text][disabled],
input[type=email][disabled],
button[disabled] {
  background: #ddd;
  border: none;
  opacity: 0.5;
}

input[readonly=readonly],
input[readonly=readonly] {
  border: none;
  background: #ddd;
}

button {
  border: none;
  line-height: 1;
}

/* textarea */
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", sans-serif;
  -webkit-appearance: none;
  display: inline-block;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  color: #111;
  box-shadow: none;
  padding: 1em;
  border-radius: 8px;
}
@media screen and (min-width: 961px) {
  textarea {
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  border: none;
  height: 12em;
  }
}
@media screen and (min-width: 1px) and (max-width: 960px) {
  textarea {
    height: 60vw;
    font-size: 14px;
    line-height: 1.6;
  }
}
@media screen and (min-width: 1px) and (max-width: 960px) {
  textarea {
    padding: 0.8em;
  }
}
textarea.form__error {
  background: #fff0ea;
  color: #f33;
  border-color: #f33;
}
textarea.form__error:focus {
  background: transparent;
  color: inherit;
  border-color: inherit;
}
textarea[disabled] {
  background: #ddd;
  border: none;
  opacity: 0.5;
}

.form--post dt{
  margin-bottom: 10px;
}

.form--post dd{
  margin-bottom: 3em;
}

.form--post dd input{
  max-width: 400px;
}

#contact-submit{
  display: block;
  width: fit-content;
  background: var(--white);
  border: 1px solid var(--white);
  color: var(--main);
  text-align: center;
  border-radius: 4em;
  font-weight: bold;
  font-size: 1.1em;
  padding: 1.3em 6em;
  margin: 0 auto;
  transition: .4s;
}

#form > .btn .btn--sub{
  display: block;
  width: fit-content;
  background: var(--white);
  border: 1px solid var(--main);
  color: var(--main);
  font-weight: bold;
  text-align: center;
  border-radius: 4em;
  font-weight: bold;
  font-size: 12px;
  padding: 1em 4em;
  margin: 0 auto;
  transition: .4s;
}

#form .inBox .inner .btn a{
  border: 1px solid;
}

@media screen and (min-width: 961px) {
  #contact-submit:hover{
    background: var(--main);
    color: var(--white);
  }
   #contact_other .btn a:hover {
        color: var(--main);
    }
}


@media screen and (max-width: 960px) {
  .boxTxt {
    text-align: left;
    margin-bottom: 1em;
  }
  .boxTxt br{
    display: none;
  }
  .icon--required::before{
    font-size: 12px;
  }
  textarea {
    height: 70vw;
  }
  section .inBox{
    padding-bottom: 40px;
    margin-bottom: 80px;
  }
  #contact_other{
    padding: 1.5em 1em;
    border-radius: 8px;
  }
  .form--post dt{
    font-size: 13px;
    margin-bottom: 5px;
  }
  .form--post dd{
    margin-bottom: 2em;
  }
}