/* corp header offset (fixed bar clearance on reference/elearning pages) */
.corp-header-spacer {
  display: block;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
}

html.tc-corp-header hr.line-top.incorpo {
  margin-top: 0 !important;
}

html.tc-corp-header .corp-header-spacer {
  height: var(--tc-corp-header-offset, 110px);
}

/* TCSM-88 layout overrides (ASCII only; keep advanced_search.css encoding untouched) */

#ContentsArea #ContentsBodyArea #SearchCourseResult #contDiv {
  margin-left: 0 !important;
  box-sizing: border-box;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult table#dgCourseList.kensaku-result-list {
  margin: 10px 0 !important;
  width: 100% !important;
  box-sizing: border-box;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table {
  table-layout: fixed;
  width: 100% !important;
  max-width: 100%;
  overflow: hidden;
  border-collapse: separate;
  border-spacing: 0;
  box-sizing: border-box;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table th {
  line-height: 1.35;
  word-break: keep-all;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr:first-child th:first-child {
  border-top-left-radius: 9px;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr:first-child th:last-child {
  border-top-right-radius: 9px;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr:last-child td.text {
  border-bottom-left-radius: 9px;
  border-bottom-right-radius: 9px;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr th:nth-child(1),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(1) {
  width: 13%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr th:nth-child(2),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(2) {
  width: 59%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(2) {
  padding-left: 12px;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr th:nth-child(3),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(3) {
  width: 10%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr th:nth-child(4),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(4) {
  width: 18%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td:nth-child(4),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td.price {
  padding-left: 4px;
  padding-right: 6px;
  font-size: 13px;
  line-height: 1.5;
  white-space: normal;
  text-align: center;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td.price .corp-amount {
  display: block;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td.price .corp-amount s {
  display: block;
  line-height: 1.3;
  margin: 0 0 3px;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td.price .corp-amount strong {
  display: block;
  line-height: 1.35;
  margin: 0 0 2px;
  color: #ff0000;
  font-weight: bold;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table tr td.price .corp-amount .corp-price-note {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.4;
  color: #ff0000;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr th:nth-child(1),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td:nth-child(1) {
  width: 13%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr th:nth-child(2),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td:nth-child(2) {
  width: 69%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr th:nth-child(3),
#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td:nth-child(3) {
  width: 18%;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td:nth-child(3) {
  padding-left: 4px;
  padding-right: 6px;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td.price {
  white-space: normal;
  text-align: center;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table.kensaku_table-el tr td:nth-child(3) p {
  margin: 0;
  white-space: nowrap;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table a.STRINGLINK {
  font-weight: normal;
  transition: color 0.2s ease, border-bottom-color 0.2s ease, border-bottom-style 0.2s ease;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table a.STRINGLINK:hover {
  font-weight: normal;
  opacity: 1;
  color: #1a4dcc;
  border-bottom-style: solid;
  border-bottom-color: #1a4dcc;
}

.Shosai_box_1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-width: 0;
}

.Shosai_box_1 label {
  margin-right: 0;
  white-space: nowrap;
}

.Shosai_box_flex > div {
  min-width: 0;
}

.adv-search-actions {
  position: relative;
  width: 300px;
  margin: 16px auto;
}

.adv-search-actions .adv-search-submit {
  display: block;
  margin: 0;
  width: 100%;
}

.adv-search-clear {
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  padding: 0;
  color: #666;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}

.adv-search-clear:hover {
  color: #e94b22;
  text-decoration: underline;
}

/* advanced search modal: hover emphasis for interactive fields */
.modal0_content .Shosai_box_1 label {
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal0_content .Shosai_box_1 label:hover {
  font-weight: bold;
  color: #000;
}

.modal0_content .Shosai_box_1 label:hover .custom-radio {
  border-color: #e94b22;
}

.modal0_content .Shosai_box_2 select {
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.modal0_content .Shosai_box_2 select:hover {
  border-color: #e94b22;
  background-color: #fff;
  font-weight: bold;
  color: #000;
}

.modal0_content .Shosai_box_3 .calendar_input {
  transition: border-color 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.modal0_content .Shosai_box_3 .calendar_input:hover {
  border-color: #e94b22;
  background-color: #fff;
}

.modal0_content .Shosai_box_4 label {
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal0_content .Shosai_box_4 label:hover {
  font-weight: bold;
  color: #000;
}

.modal0_content .Shosai_box_4 label:hover::before {
  border-color: #e94b22;
}

.modal0_content .Shosai_box_5 {
  transition: border-color 0.2s ease;
}

.modal0_content .Shosai_box_5:hover {
  border-color: #e94b22;
}

.modal0_content .Shosai_box_5 input[type=text] {
  transition: background-color 0.2s ease;
}

.modal0_content .Shosai_box_5:hover input[type=text] {
  background-color: #fff;
}

.modal0_content .adv-search-submit {
  transition: opacity 0.2s ease;
}

.modal0_content .adv-search-submit:hover {
  opacity: 0.85;
}

.adv-search-submit.is-disabled,
.adv-search-submit.is-disabled:hover,
.modal0_content .adv-search-submit.is-disabled,
.modal0_content .adv-search-submit.is-disabled:hover {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.adv-other-conds-body {
  min-width: 0;
  width: 100%;
}

.adv-other-conds-op {
  margin-top: 14px;
}

.adv-other-conds-op__label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: normal;
  color: #000;
  white-space: nowrap;
}

.adv-other-conds-op__radios {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}

.block-search .google-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.block-search .google-search-form label {
  flex: 0 0 100%;
  margin: 0;
}

.block-search .google-search-form .google-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}

.block-search .google-search-form .google-submit {
  flex: 0 0 auto;
  cursor: pointer;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table th {
  overflow: visible;
}

#ContentsArea #ContentsBodyArea #SearchCourseResult .kensaku_table th .corp-price-note {
  display: none;
}
