section {
  margin-top: 20px;
  padding-bottom: 134px;
}

.teacher-entry h1 {
  text-align: center;
  font-size: 30px;
  color: #333333;
  line-height: 51px;
  margin-bottom: 30px;
}
.teacher-entry h1 span {
  font-size: 1.3em;
}

.teacher-entry h2 {
  text-align: center;
  font-size: 30px;
  color: #333333;
  line-height: 51px;
  margin-bottom: 40px;
}

.teacher-entry h3 {
  font-size: 24px;
  color: #333333;
  background: #FFCF36;
  border-radius: 15px;
  margin: 50px 0;
  padding: 18px 0 18px 76px;
}

.section-contents .teachers_work_style {
  display: block;
  font-size: 20px;
  color: #333333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}
.teachers_work_style a {
  display: block;
  font-size: 16px;
  color: #333333;
  margin-top: 10px;
  text-decoration: underline;
}

.teacher-application-form .form-row {
  position: relative;
  padding: 0 76px;
  margin-bottom: 30px;
}

.teacher-application-form .form-label label {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
}
.teacher-application-form .required .form-label label:after {
  content: '必須';
  vertical-align: top;
  display: inline-block;
  color: #D96464;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin-left: 30px;
  padding: 5px 12px;
  border-radius: 5px;
  border: 2px solid #D96464;
}
.teacher-application-form .optional .form-label label:after {
  content: '任意';
  vertical-align: top;
  display: inline-block;
  color: #0D46B7;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  margin-left: 30px;
  padding: 5px 12px;
  border-radius: 5px;
  border: 2px solid #0D46B7;
}

.teacher-application-form .form-label small {
  display: block;
  color: #333333;
  font-weight: bold;
  font-size: 16px;
  line-height: 27px;
  margin-bottom: 10px;
}

.teacher-application-form .form-label span {
  display: block;
  color: #D96464;
  font-weight: bold;
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 10px;
}

.teacher-application-form .form-group {
  vertical-align: top;
}

.teacher-application-form .has-error .form-control {
  border-color: #6A6A6A;
}

.teacher-application-form .form-control::placeholder {
  color: #E3E3E3;
}

.teacher-application-form .help-block.with-errors {
  color: #D96464;
}

/**
 * feedback
 */
.teacher-application-form .form-group.has-feedback .form-control-with-feedback {
  padding-right: 56px !important;
}

.teacher-application-form .form-group.has-feedback:after {
  position: absolute;
  display: block;
  color: #64C37D;
  font-family: FontAwesome;
  right: 15px;
  top: 13px;
  font-size: 36px;
  line-height: 1;
}
.teacher-application-form .form-group.has-feedback.has-success:after {
  content: '\f058';
  color: #64C37D;
}
.teacher-application-form .form-group.has-feedback.has-error:after {
  content: '\f06a';
  color: #D96464;
}

/**
 * radio
 */
input[type=radio] {
  display: none; /* ラジオボタンを非表示にする */
}

.radio-inline input[type="radio"]+label {
  padding: 36px 0 36px 86px;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}
input[type="radio"]+label {
  position: relative;
  padding: 14px 0 14px 82px;
  font-size: 24px;
  font-weight: bold;
  color: #333333;
}
input[type="radio"]+label:after {
  position: absolute;
  content: '';
  left: 20px;
  top: 50%;
  transform: translatey(-50%);
  width: 36px;
  height: 36px;
  border: 3px dashed #707070;
  border-radius: 50%;
}
input[type="radio"]:checked + label:after {
  position: absolute;
  content: '\f058';
  color: #FFCF36;
  font-family: FontAwesome;
  left: 20px;
  top: 50%;
  transform: translatey(-50%);
  font-size: 35px;
  line-height: 1;
  border: none;
}

input[type="radio"]+label small {
  color: #333333;
  font-size: 18px;
  font-weight: normal;
  margin-left: 30px;
}

.radio-inline {
  padding-left: 0;
}

.radio-inline br {
  display: none;
}

.radio-inline label:last-of-type {
  margin-left: 25px;
}

.radio-inline input[type="radio"]+label {
  width: 400px;
  border: 2px solid #6A6A6A;
  border-radius: 15px;
  padding: 20px 0 20px 86px;
  box-shadow: 0 3px 0 0 #6A6A6A;
}

.radio-inline input[type="radio"]:checked + label {
  background: #FFFAE8;
  box-shadow: none;
}


/**
 * form-inline text
 */
.form-inline-text {
  display: inline-block;
  width: 400px;
  vertical-align: top;
}
.form-inline-text:not(:first-child) {
  margin-left: 25px;
}

.form-inline-text .form-group {
  padding: 0 0;
  margin-bottom: 0;
}

.teacher-application-form .form-inline-text .form-group .form-control[type="text"] {
  width: 100%;
}

.teacher-application-form .form-group .form-control[type="text"],
.teacher-application-form .form-group .form-control[type="email"]{
  width: 700px;
  background-color: #FFFFFF;
  border-radius: 15px;
  border: 2px solid #6A6A6A;
  font-size: 24px;
  height: 60px;
  padding: 18px 20px;
}

.teacher-application-form .form-group textarea.form-control {
  width: 700px;
  background: none;
  border-radius: 15px;
  border: 2px solid #6A6A6A;
  font-size: 18px;
  height: 180px;
  padding: 18px 20px;
}


/**
 * custom select
 */
.select-group {
  display: inline-block;
}
.select-group:not(:first-child) {
  margin-left: 30px;
}

.select-group .custom-select {
  display: inline-block;
}

.select-group .custom-select .form-control {
  display: inline-block;
}

.select-group label {
  font-size: 24px;
  margin-left: 10px;
}

.custom-select {
  position: relative;
}

.custom-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 18px 20px;
  border-radius: 15px;
  height: initial;
  position: relative;
  background: transparent;
  border: 2px solid #6A6A6A;
  width: 100%;
  font-size: 20px;
  line-height: 1;
}
.custom-select select:required:invalid {
  color: #E3E3E3;
}

.custom-select::before {
  position: absolute;
  pointer-events:none;
  content: '\f13a';
  font-family: FontAwesome;
  right: 14px;
  top: 50%;
  transform: translatey(-50%);
  font-size: 24px;
  color: #6A6A6A;
  line-height: 1;
  border-radius: 50%;
}


/**
 * ボタン
 */
.teacher-application-form button[type='submit'] {
  display: block;
  margin: 30px auto 0;
  width: 360px;
  height: 66px;
  line-height: 66px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #FFFFFF;
  text-decoration: none;
  text-align: center;
  background: #0D46B7;
  box-shadow: 0 3px 0 0 #07296B;
}
.teacher-application-form button[type='submit']:hover {
  line-height: 60px;
  box-shadow: none;
  text-decoration: none;
  border: 3px solid #0D46B7;
  background: #FFFFFF;
  color: #0D46B7;
}


/**
 * 確認画面のテーブル
 */
.teacher-application-confirmation-table {
  margin-left: 76px;
}
.teacher-application-confirmation-table th {
  vertical-align: top;
  font-size: 20px;
  width: 260px;
  color: #3D3C3C;
  font-weight: bold;
}

.teacher-application-confirmation-table td {
  vertical-align: top;
  font-size: 22px;
  color: #3D3C3C;
  padding-bottom: 30px;
}

.teacher-application-confirmation-table td small {
  color: #333333;
  font-size: 18px;
  font-weight: normal;
  margin-left: 30px;
}

label.agree {
  font-size: 18px;
}