/* common */
#main-contents {
  display: none;
}

.container {
  max-width: none !important;
  width: 1280px;
}

.wrapper {
  min-height: 100vh;
  position: relative;
  padding-bottom: 60px;
  box-sizing: border-box;
}

.footer {
  position: absolute;
  text-align: center;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: #f5f5f5;
}

.ui-autocomplete {
  z-index: 1051;
}

.loader_position {
  position:absolute;
  top: 45%;
  left: 50%;
}

.inquiry-icons {
  width:20px;
  height:20px;
}

.footer-text {
  height:20px;
}

.modal-footer {
  justify-content : center;
}

* {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.d-flex:not(.flex-column)>* {
  min-width: 0;
}
.d-flex.flex-column>* {
  max-width: 100%;
}

.radio-control {
  width: 10% !important;
  vertical-align: middle;
  height: calc(1em + 0.75rem + 2px);
}

.certification-radio-control {
  width: 5% !important;
  height: calc(1em + 0.75rem + 2px);
}

.radio-label-control {
  margin-bottom: 0px;
  padding-left: 0px;
}

.checkbox-control {
  width: 5% !important;
  vertical-align: middle;
  height: calc(1em + 0.75rem + 2px);
}

.checkbox-label-control {
  padding-top: 20px;
  padding-left: 0px;
}

.w-15 {
  width: 15% !important;
}

.w-20 {
  width: 20% !important;
}

.w-33 {
  width: 33% !important;
}

.w-34 {
  width: 34% !important;
}

.w-85 {
  width: 85% !important;
}

.w-90 {
  width: 90% !important;
}

.h-20 {
  height: 20px !important;
}

.x-small {
  font-size: 70%;
  font-weight: 400;
}

.text-width {
  width: 600px;
}

.table td.left {
  width: 42%;
}

.table td.right {
  width: 58%;
}

.table th, .table td {
  padding: 0.75rem 0.5rem;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}

.scroll_table thead {
  display: block;
}

.scroll_table tbody {
  display: block;
  overflow-x: hidden;
  overflow-y: scroll;
  max-height: 400px;
}

.scroll_table .successful_tbody {
  max-height: 280px;
}

.scroll_table th {
  width: 157px;
  min-width: 157px;
}

.scroll_table td {
  width: 157px;
  min-width: 157px;
}

.successful_table_width th {
  width: 188px !important;
  min-width: 188px !important;
}

.successful_table_width td {
  width: 188px !important;
  min-width: 188px !important;
}

.print_certificate .nav-link {
  padding: 0.5rem 1.2rem;
}

.print_certificate span {
  font-size: 18px;
}

.un_clickable {
  pointer-events: none;
}

.hidden {
  visibility: hidden;
}

/* end common */

/* announcements */

#announcement {
  height:auto;
}

#announcement-input {
  overflow: auto;
  resize: none;
  height: 300px;
  line-height: 20px;
}

/* end announcement */

/* start examination results */

.input-narrow {
  width: 80px;
}

.input-wide {
  width: 170px;
}

/* end examination results */

/* certifications */

.certification-confirm {
  color: red;
  font-weight: bold;
}

#total_price_1 {
  right: 250px;
  top: 65px;
  font-size: 18px;
  letter-spacing: 0.2em;
}

#certification_item_1_quantity {
  right: 580px;
  top: 156px;
}

#certification_item_2_quantity {
  right: 580px;
  top: 180px;
}

#badge_quantity {
  right: 580px;
  top: 204px;
}

#record_certification_quantity {
  right: 580px;
  top: 227px;
}

#certification_item_1_price {
  right: 490px;
  top: 156px;
}

#certification_item_2_price {
  right: 490px;
  top: 180px;
}

#badge_price {
  right: 490px;
  top: 204px;
}

#record_certification_price {
  right: 490px;
  top: 227px;
}

#badge_3 {
  right: 426px;
  top: 191px;
}

#badge_4 {
  right: 400px;
  top: 191px;
}

#badge_5 {
  right: 373px;
  top: 191px;
}

#badge_6 {
  right: 346px;
  top: 191px;
}

#badge_7 {
  right: 319px;
  top: 191px;
}

#badge_8 {
  right: 293px;
  top: 191px;
}

#badge_9 {
  right: 265px;
  top: 191px;
}

#date_year {
  right: 356px;
  top: 225px;
}

#date_month {
  right: 315px;
  top: 225px;
}

#date_day {
  right: 276px;
  top: 225px;
}

#zip_code_1 {
  right: 640px;
  top: 251px;
  font-size: 13px;
}

#zip_code_2 {
  right: 588px;
  top: 251px;
  font-size: 13px;
}

#tel_1 {
  right: 496px;
  top: 251px;
  font-size: 13px;
}

#tel_2 {
  right: 448px;
  top: 251px;
  font-size: 13px;
}

#tel_3 {
  right: 395px;
  top: 251px;
  font-size: 13px;
}

#address_1 {
  left: 75px;
  top: 270px;
  font-size: 5px;
}

#group_name_1 {
  left: 75px;
  top: 280px;
  font-size: 5px;
}

#examiner_name_1 {
  left: 105px;
  top: 310px;
}

#prefecture_name {
  left: 275px;
  top: 310px;
}

#prefecture_1 {
  left: 323px;
  top: 300px;
  font-size: 18px;
}

#prefecture_2 {
  left: 344px;
  top: 300px;
  font-size: 18px;
}

#prefecture_3 {
  left: 323px;
  top: 314px;
  font-size: 18px;
}

#prefecture_4 {
  left: 344px;
  top: 314px;
  font-size: 18px;
}

#certification_code {
  left: 43px;
  top: 351px;
  font-size: 18px;
  letter-spacing: 0.36em;
}

#expire_at_year {
  left: 214px;
  top: 351px;
  font-size: 18px;
  letter-spacing: 0.36em;
}

#expire_at_month {
  left: 329px;
  top: 351px;
  font-size: 18px;
  letter-spacing: 0.36em;
}

#total_price_2 {
  right: 13px;
  top: 190px;
  font-size: 18px;
  letter-spacing: 0.2em;
}

#address_2 {
  left: 590px;
  top: 230px;
  font-size: 12px;
}

#examiner_name_2 {
  left: 590px;
  top: 310px;
  font-size: 12px;
}

/* end certifications*/

/* confirm_examination_results_modal */

.successful_table th, .successful_table td {
  padding: 0.25rem;
}

/* end confirm_examination_results_modal */

/* examination_held index */

.prefectures-select__all-group td {
  background-color: #f3f2f7 !important;
  padding: 0.7rem 1rem 0.5rem 2rem !important;
}

.all {
  display: inline-flex;
  justify-content: space-between;
}

.prefectures-select__area-group, .prefectures-select__all-group {
  font-weight: bold;
}

.accordion-btn {
  width: 30px;
  height: 30px;
  border: 1px solid transparent;
  background-color: transparent;
  &:focus {
    box-shadow: none;
    outline: 0px;
  }
  .accordion-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    &:before {
      position: absolute;
      content: "";
      top: 40%;
      left: 50%;
      width: 15px;
      height: 15px;
      transform: translate(-50%, -40%) rotate(135deg);
      border-top: 1px solid #888888;
      border-right: 1px solid #888888;
      transition: 0.3s ease;
    }
  }
}

.accordion-btn.is-open {
  .accordion-icon {
    &:before {
      top: 60%;
      transform: translate(-50%, -60%) rotate(-45deg);
    }
  }
}

.prefectures-select td {
  border: 0 !important;
  padding: 0;
  vertical-align: middle;
}

.checkbox-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding: 0.5rem 1rem 0.5rem 3rem;
}

.inline {
  display: inline-flex;
  align-items: center;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  column-gap: 1px;
  line-height: 1;
  cursor: pointer;
  margin: 0;
}

.checkbox {
  appearance: none;
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid #ced4da;
  background-color: #ffffff;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.5rem;
}

.checkbox:checked {
  background-color: #014099;
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  width: 12px;
  height: 6px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}

/* end examination_held index */

/* examination_held search */
.sort select {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.75rem;
  margin: 0 0.5rem 1rem 0;
}

.examinations-held-search th {
  width: 30%;
  background-color: #eeeeee;
}

.examinations-held-search tbody tr:first-child th,
.examinations-held-search tbody tr:first-child td {
  background-color: #e5f0ff;
}

.examinations-held-search th, .examinations-held-search td {
  padding: 0.75rem 1rem;
  font-weight: bold;
}

.examinations-held-search a {
  text-decoration: underline;
  color: #014099;
}

/* end examination_held search */

/* examinations applications create */
.entry_time {
  width: 8%;
  display: inline-block;
}

.badge-green {
  color: #60BD54;
  background-color: #EAF6E9;
}

.input_multiple {
  width: 81%;
  display: inline-block;
}

.multiple-btn button {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.5rem 0.75rem;
  margin-left: 0.5rem;
}

#create-applications .form-control::placeholder {
  color: #c0c0c0;
}

/* end examinations applications create */

/* examinations applications index */
.aggregate_results th {
  color: #6E6B7B;
  background-color: #f2f2f2;
}

/* end examinations applications index */

/* examinations applications edit */
#edit-applications .form-control::placeholder {
  color: #c0c0c0;
}

/* end examinations applications edit */

/* examinations create */
.optional-pattern, .optional-setting {
  padding: 0.5rem 6rem;
  border-top: 1px solid #dee2e6;
}
.examination-optional-settings th {
  background-color:  #edecf3;
  font-weight: normal;
}
.examination-optional-settings th, .examination-optional-settings td {
  border: 1px solid #edecf3;
  border-bottom: 1px solid #edecf3 !important;
}

/* バリデーションエラーメッセージ */
.error {
  color: red;
  margin-bottom: 0;
}
.error-input {
  border: 2px solid red !important;
}

/* end examinations create */

/* examinations show */
.checkbox:disabled:not(:checked) {
  appearance: none;
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid #ced4da;
  background-color: #e9ecef;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.5rem;
}
/* end examinations show */

/* examination_result index */
.examination-results-search th,
.examination-results-search td {
  padding: 0.75rem 0.25rem;
}

/* end examination_result index */