#contactContainer {
  width: 100%;
  margin: 150px auto 0;
}

h1 {
  width: 94%;
  max-width: 1300px;
  margin: 0 auto;
  font-size: 50px;
}

#contactContainer > p {
  width: 90%;
  max-width: 840px;
  margin: 80px auto 0;
}

#contactContent {
  width: 90%;
  max-width: 840px;
  margin: 50px auto 0;
}

.alert {
  font-size: 16px;
  color: red;
  margin-bottom: 20px;
}

.formGroup {
  font-size: 0;
  margin: 0px auto 30px auto;
  text-align: left;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.formGroup.text {
  align-items: flex-start;
  line-height: 27px;
}

.formGroup > label.gfont {
  flex: 0 0 100px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.formGroup > input {
  flex: 1 1 calc(100% - 110px);
  height: 38px;
  line-height: 38px;
  font-size: 12px;
  border: none;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
  padding-left: 10px;
}
.formGroup > input:focus {
  outline: none;
  border-bottom: 1px solid #286ff3;
}

.formGroup > textarea {
  flex: 1 1 calc(100% - 110px);
  height: 200px;
  font-size: 12px;
  font-weight: 400;
  padding: 5px 9px;
  border: none;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
}
.formGroup > textarea:focus {
  outline: none;
  border-bottom: 1px solid #286ff3;
}

.must {
  color: #D60000;
}

small.errorMessage {
  flex: 0 0 100%;
  font-size: 14px;
  color: red;
  display: block;
  line-height: 2;
}

#btnContainer {
  margin: 60px 0 180px 100px;
}

#btn {
  width: 180px;
  height: 40px;
  background: #000;
  color: #fff;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  border: none;
}






/* 完了 */
#compContainer {
  width: 100%;
  height: calc(100vh - 150px);
  text-align: center;
  position: relative;
}

#compContainer > div {
  width: 86%;
  max-width: 1400px;
  margin: 0 auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.complete {
  width: 200px;
  height: 50px;
  margin: 30px auto 0;
  border: 1px solid #000;
}

.complete > a {
  font-size: 14px;
  line-height: 50px;
  color: #000;
  display: block;
}







@media(max-width: 1024px) {
#contactContainer > p {
  margin: 80px auto 0;
}

#btnContainer {
  margin: 60px 0 150px 100px;
}

/* 完了 */
#compContainer {
  height: calc(100vh - 150px);
}

}





@media(max-width: 560px) {
#contactContainer {
  margin: 80px auto 0px;
}

h1.gfont {
  font-size: 42px;
  letter-spacing: 0.1em;
}

#contactContainer > p {
  margin: 6px auto 0;
}

#contactContent {
  margin: 40px auto 0;
}

.formGroup > label.gfont {
  flex: 0 1 100%;
}

#btnContainer {
  margin: 40px auto 120px;
}



/* 完了 */
#compContainer {
  height: calc(100vh - 105px);
}

.complete {
  width: 160px;
  height: 40px;
  margin: 20px auto 0;
}

.complete > a {
  line-height: 40px;
}

}
