.form-group {
  display: flex;
  margin: 20px 0;
  width: 100%;
}
@media screen and (max-width: 768px) {
  .form-group {
    display: block;
  }
}
.form-group label {
  width: 200px;
}
@media screen and (max-width: 768px) {
  .form-group label {
    width: auto;
    text-align: left;
  }
}
.form-group label span {
  font-size: 0.75rem;
  color: #cf121b;
}
.form-group__body {
  flex-grow: 1;
}
.form-group input[type=text],
.form-group textarea {
  position: relative;
  background: #fff;
  border: 1px solid #424242;
  border-radius: 2px;
  padding: 0.2rem 0.5rem;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
}
.form-group input[type=text]:hover, .form-group input[type=text]:active, .form-group input[type=text]:focus,
.form-group textarea:hover,
.form-group textarea:active,
.form-group textarea:focus {
  border-color: #cf121b;
  box-shadow: 0 0 0 0.125em rgba(207, 18, 27, 0.25);
  outline: 0;
}
.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-check h4 {
  margin-top: 30px;
}

.invalid-feedback {
  margin-top: 4px;
  font-size: 0.875rem;
  color: #cf121b;
}

.form-btn {
  margin-top: 64px;
  text-align: center;
}
.form-btn .btn {
  background: #cf121b;
  cursor: pointer;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

@media screen and (min-width: 769px) {
  .section-submain__img {
    background: url(/assets/img/contact/main.jpg) no-repeat center center;
    background-size: cover;
  }
}
@media screen and (max-width: 768px) {
  .section-submain__img {
    background: url(/assets/img/contact/main-sp.jpg) no-repeat center center;
    background-size: cover;
  }
}

.section-input .container {
  max-width: 1040px;
}
.section-input__header .txt01 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
}
.section-input__header .txt02 {
  margin-top: 16px;
}
.section-input__header .box-tel {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  background: #eeeeee;
  margin-top: 16px;
  padding: 24px 40px;
}
@media screen and (max-width: 768px) {
  .section-input__header .box-tel {
    padding: 24px 16px;
  }
}
.section-input__header .box-tel a {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}
.section-input__header .box-tel a i {
  margin-right: 8px;
  font-size: 32px;
}
.section-input__header .box-tel span {
  margin-left: 16px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .section-input__header .box-tel span {
    margin-top: 16px;
  }
}
.section-input__header .box-certificate {
  margin-top: 40px;
  text-align: center;
}
.section-input__header .box-certificate a {
  position: relative;
  display: inline-block;
  border: 1px solid #cf121b;
  padding: 4px 10px 4px 28px;
  color: #cf121b;
}
.section-input__header .box-certificate a:hover {
  opacity: 0.7;
}
.section-input__header .box-certificate a::before {
  content: "chevron_right";
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  /* Preferred icon size */
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
}
.section-input__header .mail-box {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  background: #eeeeee;
  margin-top: 16px;
  padding: 24px 40px;
}
@media screen and (max-width: 768px) {
  .section-input__header .mail-box {
    padding: 24px 16px;
  }
}
.section-input__header .mail-box a {
  display: flex;
  align-items: center;
  font-size: 27px;
  font-weight: bold;
  line-height: 1;
}
.section-input__header .mail-box a i {
  margin-right: 8px;
  font-size: 32px;
}
.section-input__header .mail-box span {
  margin-left: 16px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .section-input__header .mail-box span {
    margin-top: 16px;
  }
}
.section-input__header .mail-box p {
  color: #e81123;
  padding: 10px 0 0;
}
.section-input__body {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 64px;
}
.section-message {
  padding-bottom: 80px;
}
.section-message .container {
  max-width: 1040px;
}
.section-message p {
  background: #f5f5f5;
  padding: 40px;
}
.section-confirm .container {
  max-width: 1040px;
}
.section-confirm__header .txt01 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
}
.section-confirm__header .txt02 {
  margin-top: 8px;
}
.section-confirm__body {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 64px;
}
.section-confirm__body .form-group {
  border-bottom: 1px solid #bdbdbd;
  padding-bottom: 20px;
}
.section-confirm__body .form-group label {
  margin-right: 20px;
}
.section-confirm__body .form-btn {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .section-confirm__body .form-btn {
    display: block;
  }
}
.section-confirm__body .form-btn .btn {
  margin: 0 40px;
}
@media screen and (max-width: 768px) {
  .section-confirm__body .form-btn .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  .section-confirm__body .form-btn .btn-back {
    margin-top: 20px;
  }
}
.section-finish {
  padding-bottom: 80px;
}
.section-finish .container {
  max-width: 1040px;
}
.section-finish .txt01 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
}
.section-finish .txt02 {
  margin-top: 16px;
}
.section-finish .box-tel {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  background: #eeeeee;
  margin-top: 16px;
  padding: 24px 40px;
}
@media screen and (max-width: 768px) {
  .section-finish .box-tel {
    padding: 24px 16px;
  }
}
.section-finish .box-tel a {
  display: flex;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
}
.section-finish .box-tel a i {
  margin-right: 8px;
  font-size: 32px;
}
.section-finish .box-tel span {
  margin-left: 16px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .section-finish .box-tel span {
    margin-top: 16px;
  }
}
