@charset "UTF-8";
/* ============================
カスタムCSS
============================ */
body {
  font-family: sans-serif;
}

:root {
  --bs-primary: #2091b9 !important;
  --bs-primary-rgb: 32, 145, 185 !important;
  --bs-body-bg: #f5f5f5;
  --bs-table-bg: #ffffff;
}

.btn-primary {
  --bs-btn-bg: #2091b9;
  --bs-btn-border-color: #2091b9;
  --bs-btn-hover-bg: #197fa3;
  --bs-btn-hover-border-color: #197fa3;
  --bs-btn-active-bg: #167492;
  --bs-btn-active-border-color: #167492;
}

.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #bbc2cb !important;
  border-color: #bbc2cb !important;
  cursor: not-allowed;
}

.contact-link {
  color: #2091b9 !important;
}

.form-check-input:checked {
  background-color: #2091b9;
  border-color: #2091b9;
}

.form-check-input.disabled {
  background-color: #bbc2cb;
  border-color: #d1d5db;
}

.form-check-label.disabled {
  color: #bbc2cb;
}

.input-group .form-control:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* app-input-password が input-group の唯一の子（右にボタンなし）の場合は角丸を維持 */
.input-group > .app-input-password:last-child .form-control {
  border-top-right-radius: var(--bs-border-radius, 0.375rem);
  border-bottom-right-radius: var(--bs-border-radius, 0.375rem);
}

/* プレースホルダー文字を小さく表示（アイコンとの重なり回避） */
.placeholder-xs::-moz-placeholder {
  font-size: 11px;
}
.placeholder-xs::placeholder {
  font-size: 11px;
}

.form-control::-moz-placeholder {
  color: #bbc2cb !important;
}

.form-control::placeholder {
  color: #bbc2cb !important;
}

.form-control {
  color: #000 !important;
}

/* 編集不可フィールドのグレー背景 */
.inv-edit-readonly {
  background-color: #ced4da !important;
  color: #000 !important;
}

/* number input のスピナーボタン非表示 */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

.form-select {
  --bs-form-select-bg-icon: none !important;
}

td.bw,
td.bw span {
  white-space: normal !important;
  word-break: break-all !important;
}

.app-pagination .form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none !important;
}

.app-custom-tooltip {
  --bs-tooltip-bg: #253346;
  --bs-tooltip-color: #fff;
  --bs-tooltip-font-size: 14px;
  --bs-tooltip-opacity: 1;
  --bs-tooltip-padding-x: 12px;
  --bs-tooltip-padding-y: 6px;
  --bs-tooltip-border-radius: 6px;
  white-space: normal;
  word-wrap: break-word;
}

.app-pref-btn.form-select {
  background-image: none !important;
  padding-right: 0.75rem !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control.color-bbc2cb:-moz-placeholder {
  color: #bbc2cb !important;
}

.form-control.color-bbc2cb:placeholder-shown {
  color: #bbc2cb !important;
}

.form-control.color-bbc2cb {
  color: #000 !important;
}

.form-control.is-invalid {
  background-image: none !important;
  padding-right: 0.75rem !important;
}

.app-form-select {
  padding: 0 !important;
  width: 100px;
  text-align: center;
}

select {
  color: #000;
}

select:has(option:checked:disabled) {
  color: #bbc2cb;
}

label.form-label {
  line-height: 1;
}

label:has(.required-danger) {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.app-label-height-18 {
  min-height: 18px;
}

.app-label-height-20 {
  min-height: 20px;
}

.app-label-height-23 {
  min-height: 23px;
}

.form-check-input:not(:disabled),
.form-check-input:not(:disabled) + label:hover {
  cursor: pointer;
}

.app-form-check-input-02 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  position: relative;
  top: 0;
  transform: translateY(0);
}

.history-graph-update-btn,
.history-graph-update-btn:hover,
.history-graph-update-btn:focus,
.history-graph-update-btn:active,
.history-graph-update-btn:disabled {
  color: #fff !important;
}

.history-graph-loading-text {
  color: #0b5f7d;
  font-weight: 600;
}

.history-graph-stage {
  position: relative;
  height: 400px;
}

.history-graph-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  z-index: 20;
}

.history-graph-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #0b5f7d;
  font-size: 0.9rem;
  font-weight: 600;
}

.history-graph-loading-panel .spinner-border {
  width: 2.25rem;
  height: 2.25rem;
  color: #0b5f7d;
}

.history-graph-title {
  font-size: 0.75rem;
}

.history-graph-sort-select {
  width: auto;
  min-width: 150px;
}

.history-graph-legend {
  font-size: 0.75rem;
}

.history-graph-line-indicator {
  display: inline-block;
  width: 24px;
  height: 3px;
}

.history-graph-line-gray {
  background-color: #808080;
}

.history-graph-line-orange {
  background-color: #ff8c00;
}

.history-graph-line-blue {
  background-color: #0066ff;
}

.history-graph-dot-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.history-graph-dot-red {
  background-color: #ff0000;
}

.history-content-tabs {
  width: 100%;
}

.history-content-tabs .btn {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

.history-content-tabs .btn-check:not(:checked) + .btn.bg-srj {
  background-color: transparent !important;
  color: #000 !important;
  border: 1px solid #2091b9;
}

.history-content-tabs .btn-check:checked + .btn.bg-srj {
  background-color: #2091b9 !important;
  color: #fff !important;
}

.history-fixed-page-size-select:disabled {
  background-color: #e9ecef !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 1;
}

.history-graph-star-indicator {
  display: inline-block;
  width: 24px;
  height: 24px;
  color: #ffd700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.history-table-content-header {
  padding-left: 8px;
}

.history-text-reference {
  color: #ff0000;
}

.history-note-text {
  font-size: 12px;
}

/* ブレイクポイント モバイルファースト（min-width） */
.m-0 {
  margin: 0 !important;
}

.mb-04 {
  margin-bottom: 4px !important;
}

.mb-05 {
  margin-bottom: 5px !important;
}

.mb-8 {
  margin-bottom: 8px !important;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-17 {
  margin-bottom: 17px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-error-4 {
  margin-bottom: 4px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mb-12 {
  margin-bottom: 12px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mb-custom {
  margin-bottom: 10px !important;
}

.app-mb-36 {
  margin-bottom: 36px !important;
}

.mt-19 {
  margin-top: 19px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-32 {
  margin-top: 32px !important;
}

.mt-negative-22 {
  margin-top: -22px !important;
}

.mx-20 {
  margin-left: 20px !important;
  margin-right: 20px !important;
}

.my-32-8 {
  margin-top: 32px !important;
  margin-bottom: 8px !important;
}

.pe-20 {
  padding-right: 20px !important;
}

.px-20 {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.px-40 {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.py-11-5 {
  padding-top: 11.5px !important;
  padding-bottom: 11.5px !important;
}

.px-9-6 {
  padding-left: 9.6px !important;
  padding-right: 9.6px !important;
}

.pad-8-20 {
  padding: 8px 20px;
}

.pad-13-26 {
  padding: 13px 26px;
}

.p-4-2-4-0 {
  padding: 4px 2px 4px 4px !important;
}

.padding-bottom-none {
  padding-bottom: 0 !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.font-size-24-bold {
  font-size: 24px !important;
  font-weight: 700 !important;
}

.w-16 {
  width: 16px !important;
}

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

.h-38 {
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
}

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

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

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

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

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

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

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

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

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

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

.min-h-500 {
  min-height: 500px !important;
}

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

.w-70 {
  width: 70px !important;
}

.w-75 {
  width: 75px !important;
}

.w-80 {
  width: 80px !important;
}

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

.w-40-percent {
  width: 40% !important;
}

.w-80-percent {
  width: 80% !important;
}

.w-96 {
  width: 96px !important;
}

.w-110 {
  width: 110px !important;
}

.w-130 {
  width: 130px !important;
}

.w-150 {
  width: 150px !important;
}

.w-180 {
  max-width: 180px !important;
}

.w-250 {
  width: 250px !important;
}

.w-440 {
  width: 440px !important;
}
@media (max-width: 1080px) {
  .w-440 {
    width: 368px !important;
  }
}

.w-688 {
  width: 688px !important;
}

.width-50-percent {
  width: 50% !important;
}

.min-100 {
  min-height: 100% !important;
}

.flex-basis-50 {
  flex-basis: 50%;
  max-width: 50%;
}

.bg-f5f5f5 {
  background-color: #f5f5f5 !important;
}

.app-btn-reset {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-decoration: none !important; /* link風ボタンで下線を消す */
  padding: 0 !important; /* Bootstrapの余白を消す */
}

.form-control.app-disabled-text[disabled] {
  color: #bbc2cb !important;
  font-size: 14px !important;
  background-color: #f2f5f6 !important;
}

.form-check-label {
  font-size: 14px !important;
}

.app-select-grade {
  color: #bbc2cb; /* 初期はプレースホルダー色 */
}

.app-select-grade option {
  color: #000; /* 通常の選択肢は黒 */
}

/* 有効な選択肢が選ばれたとき */
.app-select-grade:valid {
  color: #000;
}

.btn-cancel {
  background-color: transparent !important;
  border: none !important;
  color: #2091b9 !important;
  font-size: 16px !important;
}

.app-disabled-text {
  outline: none !important;
  border: none !important;
  padding: calc(0.375rem + 1px) 0.75rem;
}

.color-2091B9 {
  color: #2091b9;
}

.color-bbc2cb {
  color: #bbc2cb !important;
}

.color-bbc2cc {
  color: #bbc2cb !important;
}

.color-f04040 {
  color: #f04040;
}

.color-9da3ab {
  color: #9da3ab;
}

.color-707780 {
  color: #707780 !important;
}

.color-6f6f6f {
  color: #6f6f6f !important;
}

.color-253346 {
  color: #253346 !important;
}

.color-bebebe {
  color: #bebebe !important;
}

.color-bbc2cb::-moz-placeholder {
  color: #bbc2cb !important;
}

.color-bbc2cb::placeholder {
  color: #bbc2cb !important;
}

.bg-white-input {
  background-color: #ffffff !important;
}

.bg-white-input:hover {
  border-color: #2091b9 !important;
}

.bg-f5f7fb {
  background-color: #f5f7fb !important;
}

.bg-c0e2ef {
  background-color: #c0e2ef !important;
}

.bg-bbc2cb {
  background-color: #bbc2cb !important;
  color: #ffffff;
  border: #bbc2cb !important;
}

.bg-f3f3f3 {
  background-color: #f3f3f3 !important;
}

.font-size-12 {
  font-size: 12px !important;
  font-weight: 400 !important;
  padding: 4px;
}

.font-size-12-normal {
  font-size: 12px !important;
  font-weight: 400 !important;
}

.font-size-12-bold {
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px;
}

.font-size-14 {
  font-size: 14px !important;
  font-weight: 100 !important;
}

.font-size-14-normal {
  font-size: 14px !important;
  font-weight: 400 !important;
}

.font-size-14-normal-margin-0 {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

.font-size-14-bold {
  font-size: 14px !important;
  font-weight: 700 !important;
}

.font-size-16 {
  font-size: 16px !important;
  margin: 0 !important;
}

.font-size-16-bold {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 !important;
}

.font-size-20-noromal {
  font-size: 20px !important;
  font-weight: 400 !important;
}

.font-size-28 {
  font-size: 28px !important;
  margin: 0 !important;
}

.col-fixed-40 {
  flex: 0 0 40px;
  max-width: 40px;
}

.col-fixed-60 {
  flex: 0 0 60px;
  max-width: 60px;
  margin: 0 12px;
}

.col-fixed-80 {
  flex: 0 0 80px;
  max-width: 80px;
}

.col-fixed-100 {
  flex: 0 0 100px;
  max-width: 100px;
}

.col-fixed-110 {
  flex: 0 0 110px;
  max-width: 110px;
}

.col-fixed-125 {
  flex: 0 0 125px;
  max-width: 125px;
}

.col-fixed-160 {
  flex: 0 0 160px;
  max-width: 160px;
}

.col-fixed-178 {
  flex: 0 0 178px;
  max-width: 178px;
}

.gap-32 {
  gap: 32px !important;
}

.app-circle-red {
  color: #f04040;
}

.app-me-4 {
  margin-right: 1.8rem !important;
}

/* ============================
レイアウト（ヘッダー、ナビゲーションなど）
============================ */
.app-drop-down {
  background-color: #fff;
  padding: 4px 8px;
  height: 33px;
}

.app-drop-down:has(.dropdown-menu.show) {
  background-color: #f3f3f3;
}

.dropdown-toggle::after {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  content: "";
  background: url("../images/icons/icon_chevron_down.svg") no-repeat center;
  background-size: contain;
  border: none;
}

.app-dropdown-menu-list {
  width: -moz-fit-content !important;
  width: fit-content !important;
  min-width: unset !important;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  border: none;
}

.dropdown-item:hover {
  background-color: #44a2c4 !important;
  color: #fff !important;
}

.app-dropdown-icon:hover .app-custom-dropdown {
  display: block;
}

.text-link-color {
  color: #333 !important;
}

/* サイドバー */
.app-sidebar {
  width: 200px;
  background-color: var(--bs-primary);
  min-height: 100vh;
  padding: 28px 8px;
}
@media (max-width: 1080px) {
  .app-sidebar {
    width: 116px;
  }
}

.app-sidebar-logo {
  max-width: 96px;
  width: 100%;
  margin: 12px auto;
}
@media (max-width: 1080px) {
  .app-sidebar-logo {
    width: 47px;
  }
}
@media (max-width: 1080px) {
  .app-sidebar-logo img {
    width: 100%;
  }
}

.app-icon-home::before {
  content: "";
  display: block;
  background: url(../images/icons/icon_home.svg) center/cover;
  width: 18px;
  height: 18px;
}

.app-icon-building::before {
  content: "";
  display: block;
  background: url(../images/icons/icon_building.svg) center/cover;
  width: 20px;
  height: 21px;
}

.app-icon-chart::before {
  content: "";
  display: block;
  background: url(../images/icons/icon_chart.svg) center/cover;
  width: 20px;
  height: 21px;
}

.app-icon-user::before {
  content: "";
  display: block;
  background: url(../images/icons/icon_user.svg) center/cover;
  width: 17px;
  height: 18px;
}

.app-icon-invoice::before {
  content: "";
  display: block;
  background: url(../images/icons/icon_invoice.svg) center/cover;
  width: 16px;
  height: 18px;
}

.app-nav {
  list-style: none;
  padding: 0;
}

@media (max-width: 1080px) {
  .app-nav-text {
    flex-direction: column;
  }
}
.app-nav-link {
  text-decoration: none;
  padding: 16px 8px;
  border-radius: 100px;
  color: #fff;
  align-items: center;
}
@media (max-width: 1080px) {
  .app-nav-link {
    padding: 12px 8px;
    justify-content: center;
    font-size: 12px;
  }
}

.app-nav-link:hover,
.app-nav-link.is-active {
  background-color: rgba(255, 255, 255, 0.15);
}

.app-nav-button {
  background: none;
  color: #fff;
  padding: 16px 12px 16px 8px;
  border-radius: 100px;
}
@media (max-width: 1080px) {
  .app-nav-button {
    padding: 12px 8px;
    justify-content: center;
    text-align: center;
    font-size: 12px;
  }
}

.app-nav-button:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

.app-nav-button:hover,
.app-nav-button:not(.collapsed),
.app-nav-button .is-active {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: none;
}

.app-nav-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  background-image: none;
}
@media (max-width: 1080px) {
  .app-nav-button::after {
    content: none;
  }
}

.app-nav-button:not(.collapsed)::after {
  transform: rotate(-135deg);
  background-image: none;
}

@media (max-width: 1080px) {
  .app-nav-body {
    position: absolute;
    z-index: 10;
    top: 0;
    left: calc(100% + 24px);
    background-color: #fff;
  }
}
.app-nav-list {
  padding: 8px 0 0 16px;
}

@media (max-width: 1080px) {
  .app-nav-list {
    padding: 8px 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
  }
}
.app-nav-list-link {
  display: block;
  text-decoration: none;
  padding: 8px 0 8px 8px;
  border-radius: 100px;
  color: #fff;
  font-size: 14px;
}
@media (max-width: 1080px) {
  .app-nav-list-link {
    color: #000;
    padding: 8px 12px;
    white-space: nowrap;
  }
  .app-nav-list-link:hover {
    background-color: #44a2c4 !important;
    color: #fff !important;
  }
}

.app-nav-list-link:hover,
.app-nav-list-link.is-active {
  background-color: rgba(255, 255, 255, 0.15);
}

.app-contents {
  width: calc(100% - 200px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
@media (max-width: 1080px) {
  .app-contents {
    width: calc(100% - 116px);
  }
}

.app-main {
  width: 100%;
  flex: 1;
}

.app-main-inner {
  width: 100%;
  padding: 32px 40px;
  margin-inline: auto;
}
@media (max-width: 1400px) {
  .app-main-inner {
    padding: 24px;
  }
}

.app-main-footer {
  width: 100%;
  min-height: 78px;
  background: #fff;
  padding: 16px 32px 16px 0;
}
@media (max-width: 1400px) {
  .app-main-footer {
    padding-right: 24px;
  }
}

.app-main-modal-footer {
  padding: 16px 32px 16px 0;
  background: #f2f5f6;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.app-main-footer-none {
  padding: 0;
  background: #fff;
  width: 100%;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: end;
}

.app-main-footer-inner-transparent {
  padding: 16px 40px 16px 0;
}

.app-footer-inner {
  margin-top: -20px;
  padding: 0px 40px;
}
@media (max-width: 1080px) {
  .app-footer-inner {
    padding: 0 24px;
  }
}

.app-page-link {
  font-size: 14px;
  padding: 6px 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  text-decoration: none;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  color: #000;
}

.app-page-link.app-page-link-active {
  background-color: #c0e2ef;
  color: #2091b9;
  width: 32px;
  height: 32px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-item.disabled .app-page-link {
  pointer-events: none;
  opacity: 0.45;
  cursor: default;
}

nav[aria-label="Page navigation"] ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

/* ============================
コンポーネント
============================ */
.btn:disabled, .btn.disabled, fieldset:disabled .btn {
  opacity: 1;
}
.btn.bg-srj:hover,
.btn.bg-srj:focus {
  color: #fff !important;
}
.btn.bg-srj:disabled,
.btn.bg-srj.disabled {
  background-color: rgba(32, 145, 185, 0.45) !important;
  border-color: rgba(32, 145, 185, 0.35) !important;
  color: #fff !important;
  box-shadow: none;
  cursor: not-allowed;
}

.app-btn-with-icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 16px;
  border-radius: 8px;
  position: relative;
  font-weight: 600;
  background-color: #2091b9;
  color: #fff;
  cursor: pointer;
}
.app-btn-with-icons::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/icons/icon_plus.svg") no-repeat center/contain;
}
.app-btn-with-icons::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/icons/icon_plus.svg") no-repeat center/contain;
}
.app-btn-with-icons .btn__label {
  font-weight: 600;
  line-height: 1;
}
.app-btn-with-icons .app-btn__sub {
  font-size: 10px;
  color: #2091b9;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
  line-height: 1;
}
.app-btn-with-icons:hover:not(:disabled) {
  background-color: hsl(197, 70%, 60%);
}
.app-btn-with-icons:disabled, .app-btn-with-icons.disabled {
  cursor: not-allowed;
}
.app-btn-with-icons:disabled .app-btn__sub, .app-btn-with-icons.disabled .app-btn__sub {
  background-color: #fff;
  color: #bbc2cb;
}

.btn-secondary {
  --bs-btn-bg: #fff !important;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
}

.app-btn-with-icons-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 16px;
  border-radius: 8px;
  position: relative;
  font-weight: 600;
  background-color: #fff;
  color: #2091b9;
  cursor: pointer;
}
.app-btn-with-icons-2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/icons/icon_plus_blue.svg") no-repeat center/contain;
}
.app-btn-with-icons-2::after {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("../images/icons/icon_plus_blue.svg") no-repeat center/contain;
}
.app-btn-with-icons-2 .btn__label {
  font-weight: 600;
  line-height: 1;
}
.app-btn-with-icons-2 .app-btn__sub {
  font-size: 10px;
  color: #2091b9;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
  line-height: 1;
}

.required-danger {
  border: 1px solid #f04040;
  font-size: 10px;
  line-height: 1;
  color: #f04040;
  margin-left: 8px;
  border-radius: 4px;
  font-weight: 100;
  width: 28px;
  height: 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.app-label-white {
  background-color: #fff;
  padding: 4px;
  font-size: 12px;
  color: #000;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
  border: #bbb solid 1px;
}

.app-label-back-red {
  font-size: 12px;
  padding: 4px;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #f04040;
  color: #fff;
  border: 0;
  border-radius: 4px;
}

.app-label-black {
  font-size: 12px;
  padding: 4px;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #000;
  color: #fff;
  border: 0;
  border-radius: 4px;
}

.modal-content {
  border-radius: 20px;
}

.app-custom-modal-width {
  background-color: #fff;
}

.app-custom-modal-width-02 {
  max-width: 700px;
  width: 100%;
  background-color: #fff;
}

.app-modal-footer {
  border-top: none;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
}

.app-modal-text {
  margin: 0;
}

.app-modal-title {
  margin-bottom: 32px;
}

.app-modal-body-inner {
  padding: 32px 32px 32px 32px;
}

.modal-dialog-centered {
  justify-content: center;
}

/* ============================
ログイン画面
============================ */
.app-login-text {
  font-size: 32px;
  font-weight: 700;
}

.app-bg-cover {
  position: relative;
  border-radius: 20px;
  background-color: #fff;
  overflow: hidden;
}

.app-bg-cover::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border-radius: 24px;
  background-image: url("../images/bg/main_bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.app-home-text {
  font-size: 14px;
  line-height: 1.75;
  font-weight: 400;
}

.app-home-text-lg {
  font-size: 32px;
}

.app-bg-cover p {
  position: relative;
  z-index: 10;
}

.app-border-login {
  border: 1px solid #e9eaed;
}

.app-border-login:hover {
  border-color: #2091b9;
}

.app-input,
.app-error-input {
  color: #000000;
}

.app-input:disabled {
  color: #bbc2cb !important;
}

.form-control:hover {
  border-color: #2091b9;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  background-image: none;
}

.form-control:not(:-moz-placeholder) {
  color: #000; /* 黒にする */
}

.form-control:not(:placeholder-shown) {
  color: #000; /* 黒にする */
}

.is-invalid {
  border-color: #dc3545 !important;
  background-color: hsl(0, 100%, 97%) !important;
}

.invalid-feedback {
  position: relative;
  padding-left: 18px;
  font-size: 12px;
}

.app-invalid-feedback-display-only {
  position: relative;
  padding-left: 18px;
  width: 100%;
  margin-top: 0.05rem;
  margin-bottom: 1rem;
  font-size: 0.875em;
  color: var(--bs-form-invalid-color);
}

.invalid-feedback::before,
.app-invalid-feedback-display-only::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  background-image: url("../images/icons/icon_error.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.app-toggle-password-login {
  width: 20px;
  height: 20px;
  background-image: url("../images/icons/icon_eye_closed.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  cursor: pointer;
}

.app-toggle-password-login.active {
  background-image: url("../images/icons/icon_eye_open.svg");
}

.app-is-invalid-parent ~ .invalid-feedback {
  display: block;
}

/* ============================
メンテナンス画面
============================ */
.app-maintenance-body {
  background-color: #f2f5f6; /* 背景（薄いグレーなど別色） */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 40px 40px;
  position: relative;
}
@media (max-width: 1080px) {
  .app-maintenance-body {
    padding: 100px 65px 40px;
  }
}

.app-header {
  position: absolute;
  top: 32px;
  left: 40px;
}

.app-header img {
  width: 78px;
  height: auto;
}

@media (max-width: 1080px) {
  .app-maintenance-logo {
    width: 160px;
    height: auto;
  }
}

.app-maintenance-card {
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 56px 32px;
  text-align: center;
  max-width: 1120px;
  width: 100%;
  margin: 40px;
}

.app-maintenance-time {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0b2342;
}

.app-maintenance-text {
  margin-top: 16px;
  color: #333;
  line-height: 1.7;
}

.app-info-btn {
  width: 250px;
  padding: 20px 16px;
  margin: 0 auto;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
ホーム画面
============================ */
@media (max-width: 1400px) {
  .app-home .app-main-inner {
    padding-inline: 24px;
  }
}

.app-home-card1 {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}
.app-home-card1-link {
  background-image: url("../images/bg/bg_tri.svg");
  background-color: #c0e2ef;
  background-repeat: no-repeat;
  background-position: 270px 0;
  background-size: contain;
  text-decoration: none;
  width: 50%;
  height: 104px;
  border-radius: 24px;
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #253346;
}
.app-home-card1-link::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 24px;
  height: 24px;
  background: url("../images/icons/icon_arrow_right.svg") no-repeat center/contain;
  transform: translateY(-50%);
}
.app-home-card1-icon {
  background-color: var(--bs-primary);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.app-home-card2 {
  display: flex;
  gap: 20px;
  width: 100%;
  margin-bottom: 20px;
}
.app-home-card2-link {
  background-image: url("../images/bg/bg_cir.svg");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: 100% 0;
  background-size: contain;
  width: 100%;
  height: 90px;
  display: flex;
  gap: 16px;
  align-items: center;
  color: #253346;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 24px;
  position: relative;
  padding: 20px;
}
@media (max-width: 1080px) {
  .app-home-card2-link {
    gap: 8px;
    padding: 16px;
  }
}
.app-home-card2-icon {
  background-color: var(--bs-primary);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.app-home-card2-text {
  width: calc(100% - 56px - 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
@media (max-width: 1080px) {
  .app-home-card2-text {
    flex-direction: column;
    width: calc(100% - 56px - 8px);
  }
}
.app-home-card2-text::after {
  content: "";
  width: 24px;
  height: 24px;
  background: url("../images/icons/icon_link_external.svg") no-repeat center/contain;
  margin-left: auto;
}

.app-home-ai {
  background-color: #ffffff;
  padding: 32px;
  border-radius: 24px;
}

/* 見出し */
.app-home-ai-title {
  font-size: 20px;
  font-weight: 600;
  color: #253346;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* カード全体 */
.app-home-ai-body {
  border-radius: 24px;
  max-width: 936px;
  margin-inline: auto;
}

.app-home-ai-icon {
  background-color: #e7f1f5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* 中央のアイコン */
.app-home-ai-icon img {
  width: 20px;
  height: 20px;
}

/* サブタイトル */
.app-home-ai-subtitle {
  font-size: 28px;
  font-weight: 600;
  color: #253346;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 16px;
}

/* 説明文 */
.app-home-ai-description {
  color: #253346;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 24px;
}

.app-home-ai-questions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.app-home-ai-questions-item {
  font-size: 12px;
  color: #707780;
  background: #f2f5f6;
  padding: 8px 20px;
  border-radius: 8px;
}

/* テキストエリア */
.app-home-ai-input {
  position: relative;
  width: 100%;
  background-color: #ffffff;
  height: 100%;
}

.app-home-ai-textarea {
  display: block;
  width: 100%;
  padding: 16px 50px 16px 16px;
  border-color: #2091b9;
  resize: none;
  min-height: 200px;
  height: calc(40vh - 40px);
  max-height: 100vh;
  border-radius: 12px;
  transition: height 0.2s ease;
}

.app-home-ai-form-control {
  border-color: #2091b9 !important;
}

.app-home-ai-form-control::-moz-placeholder {
  font-size: 14px;
  color: #bbc2cb;
}

.app-home-ai-form-control::placeholder {
  font-size: 14px;
  color: #bbc2cb;
}

/* ボタンを右下に重ねる */
.app-home-ai-send-btn {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background-color: #2091b9;
  border: 1px solid #2091b9;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.app-home-ai-send-btn img {
  width: 20px;
  height: 20px;
}

/* ============================
受講者管理画面
============================ */
.app-disabled-color {
  pointer-events: none;
  background-color: #bbc2cb !important;
  border: none !important;
}

.app-search-width {
  width: 100%;
  margin: 0 10px;
}

.app-btn-square {
  background-color: #2091b9;
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  height: 46px;
  margin-right: 24px;
  line-height: 1;
}

.app-main-footer-btn-square {
  background-color: #2091b9;
  color: #ffffff;
  border: none;
  padding: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  min-width: 80px;
  line-height: 1;
}

.app-main-footer-btn-square-2 {
  background-color: #fff;
  color: #2091b9;
  border: 1px solid #2091b9;
  padding: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  min-width: 80px;
  line-height: 1;
}

.app-main-footer-btn-square:hover,
.app-main-footer-btn-square-2:hover {
  background-color: #197fa3;
  color: #ffffff;
}

.app-btn-square.is-two-chars {
  padding: 12px 24px;
}

.app-btn-square-02 {
  background-color: #2091b9;
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  height: 46px;
  margin-right: 24px;
  line-height: 1;
}

.app-btn-square-02.is-two-chars {
  padding: 12px 24px;
}

.app-btn-square-01 {
  background-color: #2091b9;
  color: #ffffff;
  border: none;
  padding: 13px 26px;
  height: 46px;
  margin-right: 10px;
  line-height: 1;
}

.app-btn-square-01.is-two-chars {
  padding: 12px 24px;
}

.app-btn-square-01.disabled {
  background-color: #bbc2cb;
  border: none;
  pointer-events: none;
}

.app-btn-square-2 {
  background-color: #ffffff;
  color: #2091b9;
  border: 1px solid #2091b9;
  padding: 13px 26px;
  height: 46px;
  line-height: 1;
}

.app-btn-square:hover,
.app-btn-square-02:hover,
.app-btn-square-1:hover {
  background-color: #197fa3;
  color: #ffffff;
}

.app-btn-square-02.disabled,
.app-btn-square-02:disabled {
  background-color: #bbc2cb;
  border: none;
  pointer-events: none;
}

.app-btn-square.disabled,
.app-btn-square:disabled {
  background-color: #bbc2cb;
  border: none;
  pointer-events: none;
}

.app-inner {
  margin: 10px 0;
  padding: 16px;
}

.app-inner-02 {
  padding: 12px 16px;
}

.app-student-search-bg {
  background-color: #fff !important;
  border: none !important;
}

.app-student-search-bg::-moz-placeholder {
  color: #bbc2cb !important;
}

.app-student-search-bg::placeholder {
  color: #bbc2cb !important;
}

.app-btn-toggle {
  width: 50px;
  height: 28px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  border: 2px solid #2091b9;
  color: #2091b9;
  border-radius: 4px;
  cursor: pointer;
  background-color: #fff;
  transition: none;
}

.btn-check:checked + .app-btn-toggle {
  background-color: #2091b9;
  color: #fff;
  border-color: #2091b9;
}

.app-btn-toggle:first-of-type {
  border-radius: 4px 0 0 4px;
}

.app-btn-toggle:last-of-type {
  border-radius: 0 4px 4px 0;
}

/* 通常状態 */
.app-search-toggle-btn {
  background-color: #2091b9 !important;
  color: #fff !important;
  border: 1px solid #2091b9;
  transition: none;
  min-width: 174px;
}

.app-search-toggle-btn:hover {
  background-color: #197fa3 !important;
  color: #fff !important;
  border-color: 1px solid #197fa3 !important;
}

.app-select-wrapper {
  display: inline-flex;
  align-items: center;
  background-color: #fff; /* 一体化した背景 */
  border: 1px solid #dee2e6; /* 枠線（任意） */
  border-radius: 4px;
  overflow: hidden; /* 内側がはみ出さないように */
}

/* ラベル部分 */
.app-select-label {
  padding: 6px 10px;
  background-color: #fff;
  margin: 0;
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

/* セレクト部分 */
.app-select-select {
  border: none;
  background-color: transparent;
  padding: 6px 10px;
  font-size: 14px;
  outline: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; /* ブラウザデフォルト矢印を消す（任意） */
}

thead .app-bg-info-sort {
  background-color: #c0e2ef !important;
}

.app-bg-info-subtle {
  background-color: #c0e2ef;
}

thead.app-bg-info-subtle tr th {
  background-color: #c0e2ef !important;
}

.app-bg-info-subtle-03 {
  background-color: #fff;
  overflow: hidden;
}

thead.app-bg-info-subtle-03 tr th {
  background-color: #c0e2ef !important;
}

tbody.app-bg-info-sort-03 tr td {
  background-color: #c0e2ef !important;
}

.app-sortable {
  vertical-align: middle;
}

.app-sort-icon-asc {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.app-sortable-none-asc .app-sort-icon-asc {
  background-image: url("../images/icons/icon_sort_asc.svg");
}

.app-sort-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.app-sort-wrapper .app-sort-icon-desc {
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url("../images/icons/icon_sort_desc.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.app-sortable-desc,
.app-sortable-asc {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 60px;
}

.app-sortable:nth-child(8) {
  padding-inline: 0px;
}

.app-sortable-desc::after {
  position: absolute;
  content: "";
  display: inline-block;
  margin-left: 4px;
  bottom: 17px;
  background-image: url("../images/icons/icon_sort_desc.svg");
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.app-sortable-asc::after {
  position: absolute;
  content: "";
  display: inline-block;
  margin-left: 4px;
  top: 20px;
  background-image: url("../images/icons/icon_sort_asc.svg");
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.app-sort-icons {
  display: inline-flex; /* アイコンを横並び */
  align-items: center;
  justify-content: center;
  gap: 2px; /* アイコンの間隔（任意） */
  vertical-align: middle;
}

.app-sort-icons img {
  width: 12px;
  height: 12px;
  opacity: 0.3;
  transition: opacity 0.2s ease;
}

.app-sortable.asc .icon-desc {
  opacity: 0.3;
}

.app-sortable.desc .icon-asc {
  opacity: 0.3;
}

.app-sortable.asc .icon-asc,
.app-sortable.desc .icon-desc {
  opacity: 1;
}

.icon-asc {
  /* 位置ずれなし - CSS flex で統一 */
}

.icon-desc {
  /* 位置ずれなし - CSS flex で統一 */
}

/* 左下・右下だけ角丸 */
.table {
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 8px;
  overflow: hidden;
}

/* 左下・右下だけ角丸 */
.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 8px;
}

.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 8px;
}

table.app-table2 tbody tr:hover td,
table.app-table3 tbody tr:hover td,
table.app-table4 tbody tr:hover td,
table.app-table5 tbody tr:hover td {
  background-color: #f3f3f3 !important;
}

table.app-table5 tbody tr.app-table-empty01:hover td {
  background-color: transparent !important;
  cursor: default;
}

.app-table3 th:nth-child(1),
.app-table3 td:nth-child(1) {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
}

table.app-table2,
table.app-table3 {
  table-layout: fixed;
  border-collapse: collapse;
}

.app-table2 {
  width: 100%;
}
.app-table2 thead th {
  background-color: #c0e2ef;
  padding: 12px 0 12px 6px;
  font-size: 12px;
}
.app-table2 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table2 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table2 tbody th,
.app-table2 tbody td {
  padding: 17px 0 17px 6px;
  border-bottom: 1px solid #e9eaed;
  font-size: 14px;
}

.app-table3,
.app-table4 {
  width: 100%;
}
.app-table3 thead th,
.app-table4 thead th {
  background-color: #c0e2ef;
  padding: 12px 0 12px 6px;
  font-size: 12px;
}
.app-table3 thead th:first-child,
.app-table4 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table3 thead th:last-child,
.app-table4 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table3 tbody th,
.app-table3 tbody td,
.app-table4 tbody th,
.app-table4 tbody td {
  background-color: #fff;
  padding: 12px 0 12px 6px;
  border-bottom: 1px solid #e9eaed;
  font-size: 14px;
  font-weight: 400; /* モックに合わせてテーブル文字の太さを調整 */
}

.app-table4 thead th:first-child {
  padding: 12px 0 12px 12px;
}
.app-table4 tbody td:first-child {
  padding-left: 12px;
}

table.app-table5 {
  table-layout: fixed;
  width: 100%;
}

table.app-table5 thead th {
  white-space: normal;
}

table.app-table5 tbody td {
  word-break: break-word;
  overflow-wrap: anywhere;
}

table.app-table2 th,
table.app-table2 td,
table.app-table3 th,
table.app-table3 td {
  white-space: wrap;
}

.app-text-success {
  background-color: #2091b9;
  padding: 3px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
}

.app-text-danger {
  background-color: #f04040;
  padding: 3px;
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
}

.app-text-exe {
  background-color: #c0e2ef;
  padding: 3px;
  border-radius: 4px;
  color: #253346;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
}

.app-text-exe-none {
  margin: 0 10px;
}

.app-form-check-input {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  cursor: pointer;
  margin: 0;
}

.app-form-check-input:checked {
  background-color: #2091b9 !important; /* ← 好きな色に変更 */
  border-color: #2091b9 !important;
}

.app-teble-wrapper {
  min-height: 60vh; /* 必要に応じて高さを調整（例: 画面の6割） */
  display: flex;
  flex-direction: column;
  justify-content: center; /* 上下中央 */
}

.app-not-search-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.app-calender-icon {
  position: relative;
  background-image: url("../images/icons/icon_calendar.svg");
  background-repeat: no-repeat;
  background-size: 16px 16px;
  background-position: 10px center;
}

table.app-table2 th,
table.app-table2 td {
  padding-inline: 4px;
  background: #fff;
}

.app-table-cell-class-id {
  width: 90px;
}
@media (max-width: 1400px) {
  .app-table-cell-class-id {
    width: 78px;
  }
}

.app-table-cell-class-id-2 {
  width: 50px;
}
@media (max-width: 1400px) {
  .app-table-cell-class-id-2 {
    width: 45px;
  }
}

.app-table-cell-class-id-3 {
  width: 80px;
}

.app-table-cell-class-choice {
  width: 45px;
}
@media (max-width: 1400px) {
  .app-table-cell-class-choice {
    width: 45px;
  }
}

.app-table-cell-class-first {
  width: 80px;
}
@media (max-width: 1400px) {
  .app-table-cell-class-first {
    width: 78px;
  }
}

.app-table-cell-class-name {
  width: 160px;
}
@media (max-width: 1400px) {
  .app-table-cell-class-name {
    width: 110px;
  }
}

/* STU-S001 専用列幅（教室ID 8桁固定・教室名・受講者氏名） */
.stu-s001-cell-school-id {
  width: 90px;
}
.stu-s001-cell-school-name {
  width: 200px;
}
.stu-s001-cell-student-name {
  width: 180px;
}

.app-table-cell-student-id-roguin {
  width: 168px;
}
@media (max-width: 1080px) {
  .app-table-cell-student-id-roguin {
    width: 104px;
  }
}

.app-table-cell-class-class {
  width: 100px;
}

.app-table-cell-class-state {
  width: 72px;
}

.app-table-cell-login {
  width: 168px;
}

.app-table-cell-year {
  width: 96px;
}

.app-table-cell-year-2 {
  width: 120px;
}

.app-table-cell-year-3 {
  width: 134px;
}

.app-table-cell-static1 {
  width: 74px;
}

.app-table-cell-static2 {
  width: 104px;
}

@media screen and (max-width: 1317px) {
  .app-tablet-ui {
    flex-direction: column;
    gap: 12px;
  }
}

/* ============================
受講者編集画面
============================ */
.app-btn-back {
  background-color: transparent;
  border-radius: 50%;
  border: 1px solid #2091b9;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-input-group {
  gap: 32px;
}

.app-search-input-group {
  max-width: 768px;
  width: 100%;
}

.app-input-password {
  position: relative;
  display: block;
  width: 100%;
}

.app-input-text {
  position: relative;
  display: block;
}

.app-divider {
  border-color: #e9eaed;
  opacity: 1;
}

.app-table1 {
  width: 100%;
}
.app-table1 thead th {
  background-color: #c0e2ef;
  padding: 12px;
  font-size: 12px;
}
.app-table1 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table1 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table1 tbody th,
.app-table1 tbody td {
  padding: 12px;
  border-bottom: 1px solid #e9eaed;
  font-size: 14px;
}

.app-td-gap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: space-around;
  height: 100%;
}

.app-label-course {
  background-color: transparent;
  padding: 4px 0;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-green {
  background-color: #dbfce7;
  padding: 4px;
  font-size: 12px;
  color: #12863c;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-green-01 {
  background-color: #2faf4c;
  padding: 4px;
  font-size: 12px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-none {
  padding: 4px;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
}

.app-label-red {
  background-color: #ffe2e3;
  padding: 4px;
  font-size: 12px;
  color: #f04040;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-exe-red {
  background-color: #ffe2e3;
  padding: 4px;
  font-size: 12px;
  color: #f04040;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-exe-blue {
  background-color: #e7f1f5;
  padding: 4px;
  font-size: 12px;
  color: #2091b9;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-gray {
  background-color: #f3f3f3;
  padding: 4px;
  font-size: 12px;
  color: #253346;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-cancel {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  width: -moz-fit-content;
  width: fit-content;
  background-color: #f04040;
  color: #fff;
  text-decoration: none;
  border: 0;
  box-shadow: none;
  padding: 4px;
  border-radius: 4px;
}
.app-label-cancel::before {
  content: "";
  background: url(../images/icons/icon_close.svg) no-repeat center/contain;
  width: 12px;
  height: 12px;
}

.app-main-box1 {
  background-color: #fff;
  padding: 24px 32px;
  border-radius: 24px;
}

.app-search-disabled-btn {
  background-color: #bbc2cb !important;
  color: #fff !important;
  border: 1px solid #bbc2cb !important;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.app-search-enabled-btn {
  background-color: #2091b9 !important;
  color: #fff !important;
  border: 1px solid #2091b9 !important;
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.app-search-enabled-btn:hover {
  background-color: #197fa3 !important;
  border: 1px solid #197fa3 !important;
  cursor: pointer;
}

.app-btn-square-disabled {
  background-color: #bbc2cb;
  color: #ffffff;
  border: 1px solid #bbc2cb;
  padding: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.app-main-footer-btn-square-disabled {
  background-color: #bbc2cb;
  color: #ffffff;
  border: none;
  padding: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  min-width: 80px;
  line-height: 1;
}

/* ============================
受講者登録内容画面
============================ */
.app-complete-table thead,
.app-complete-table thead th,
.app-complete-table tbody,
.app-complete-table tbody td {
  background-color: #fff !important;
  padding: 0 !important;
  border: none !important;
}

.app-complete-table {
  width: 100%;
  table-layout: fixed; /* ← 各列の幅を固定して均等化 */
}

.app-complete-table th,
.app-complete-table td {
  width: 33.33%; /* ← 3列なら均等幅 */
  text-align: left;
  vertical-align: middle;
  background-color: #fff;
}

.app-bg-transparent {
  height: 4px;
}

.print-only {
  display: none;
}

@media print {
  .print-only {
    display: block !important;
  }
  /* 通常の見出しは非表示 */
  h2.fs-3.mb-0 {
    display: none !important;
  }
  .app-btn-back,
  .app-main h2.text-center.text-primary,
  .app-main p.text-center,
  .app-btn-square,
  .app-main-footer-none,
  .app-main-footer {
    display: none !important;
  }
  .app-complete-table {
    table-layout: fixed;
    width: 100%;
  }
  .app-complete-table th,
  .app-complete-table td {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-all;
    max-width: 120px; /* 適宜調整 */
  }
  /* 子要素にも適用（←ここが超重要） */
  .app-complete-table td * {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-all;
  }
  .app-complete-table td::after {
    content: "​"; /* ← ゼロ幅スペース */
  }
  .app-sidebar,
  .header {
    display: none !important;
  }
  .app-contents {
    width: 100% !important;
    padding: 0 !important;
    background: #fff !important;
  }
  .app-main {
    margin: 0 auto;
    padding: 20px;
  }
}
.print-only {
  display: none;
}

@media print {
  .print-only {
    display: block;
  }
}
/* ============================
コース追加
============================ */
.app-inner-course {
  margin: 10px 0;
}

.app-attention {
  color: #af4900;
  font-size: 14px !important;
  background-color: #ffe8d7;
  padding: 4px 0 4px 28px !important;
  border-radius: 4px;
  border: 1px solid #af4900 !important;
  border-radius: 4px;
  position: relative;
}

.app-attention::before {
  content: "";
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/icon_attention.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
}

.app-inner-course:last-child {
  flex: 1;
}

/* ============================
受講者一括登録
============================ */
.app-create-all-list {
  font-size: 14px;
  font-weight: 400;
  padding-left: 1.5rem;
  margin-top: 4px;
}

.app-create-all-list li {
  margin-bottom: 2px;
  line-height: 1.6;
}

.app-file-uploadarea {
  border: 2px dashed #9da3ab !important;
  border-radius: 8px !important;
  padding: 46px;
  margin-bottom: 16px;
}

.app-create-all-attention {
  font-size: 14px;
  background: #e7f1f5;
  color: #2091b9;
  position: relative;
  padding: 4px 0 4px 28px;
  border-radius: 4px;
  height: 36px;
  display: flex;
  align-items: center;
  border: 1px solid #d9e8fb;
  margin: 0;
}

.app-create-all-attention::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/icon_done.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.app-create-all-error {
  font-size: 14px;
  background: rgba(240, 64, 64, 0.2);
  color: #f04040;
  position: relative;
  padding: 4px 0 4px 28px;
  border-radius: 4px;
  border: 1px solid #f04040;
  height: 36px;
  display: flex;
  align-items: center;
  margin: 0;
}

.app-create-all-error::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/icon_error.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.app-create-all-alert {
  font-size: 14px !important;
  background: rgba(240, 64, 64, 0.2) !important;
  margin-top: 8px !important;
  color: #f04040;
  position: relative;
  padding: 4px 0 4px 28px !important;
  border-radius: 4px;
  border: 1px solid #f04040 !important;
}

.app-create-all-alert::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/icon_alert.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

/* ============================
課金コース
============================ */
.billing-main-box {
  padding-bottom: 20px;
}

.course-num {
  padding-right: 0;
}

.app-table2.billing-table thead th {
  padding: 12px 0 12px 6px;
}
.app-table2.billing-table thead th:first-child {
  padding-left: 12px;
}
.app-table2.billing-table thead th:nth-of-type(2) {
  width: 523px;
}
.app-table2.billing-table thead th:nth-of-type(3) {
  width: 572px;
}
.app-table2.billing-table tbody td {
  padding: 12px 0 12px 6px;
}
.app-table2.billing-table tbody td:first-child {
  padding-left: 12px;
}

.create-input-id {
  width: 108px;
}

.edit-input-id {
  width: 120px;
  background-color: #f5f5f5 !important;
}

.input-display-order {
  width: 120px;
}

.delivery-usage-term {
  padding-left: 0.75rem;
  gap: 0;
}
.delivery-usage-term .col:first-child {
  padding-right: 28px;
}
.delivery-usage-term .col:first-child .delivery-outer {
  gap: 0.375rem;
}
.delivery-usage-term .col:first-child .delivery-outer .delivery-start {
  flex: 0 0 339.5px;
}
.delivery-usage-term .col:first-child .delivery-outer .delivery-end {
  flex: 0 0 342.25px;
}

.input-delivery-start {
  width: 99.75%;
}

.app-show-more-btn {
  background: none;
  border: none;
  color: #253346;
  cursor: pointer;
  padding: 4px 20px 4px 0;
  text-align: left;
  font-size: 12px;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.app-show-more-btn::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("../images/icons/icon_chevron_down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.app-input-small {
  width: 100px;
}

.app-input-small-md {
  max-width: 150px;
}

.app-input-small-md-2 {
  max-width: 180px;
}

.app-input-small-fluid {
  width: auto;
  min-width: 100px;
  max-width: 250px;
}

.app-arrow-column {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 10px;
}

.app-arrow-column button {
  display: block;
  margin: 4px 0;
}

.app-billing-select-course-col {
  width: calc((100% - 10px) / 2);
}

.app-table-cell-class-contents {
  width: 110px;
  text-align: center;
}

.app-table-scroll {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}

.app-table-scroll-02 {
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

.app-table-scroll::-webkit-scrollbar,
.app-table-scroll-02::-webkit-scrollbar {
  width: 6px;
  height: 50px;
}

.app-table-scroll::-webkit-scrollbar-thumb,
.app-table-scroll-02::-webkit-scrollbar-thumb {
  background-color: #2091b9;
  border-radius: 3px;
}

.app-table-scroll thead th {
  position: sticky;
  top: 0;
  background: #f8f9fa;
  z-index: 1;
}

.radius-0 {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.radius-0-left {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.list-text-hover {
  padding: 6px 0 6px 4px;
}

.list-text-hover:hover {
  background: #f3f3f3;
}

.list-text-hover.active {
  background: #f3f3f3;
}

.app-wrapper-billing {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.app-wrapper-billing section.h-289 {
  height: 289px;
}
.app-wrapper-billing .flex-basis-50 {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-wrapper-billing .flex-basis-50 > .row {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-wrapper-billing .flex-basis-50 .col-12 {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-wrapper-billing .flex-basis-50 section {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.app-wrapper-billing .flex-basis-50 table {
  flex: 1;
  width: 100%;
}
.app-wrapper-billing .flex-basis-50 .app-table-scroll {
  flex: 1;
  overflow-y: auto;
}

.settings {
  background-color: #fff;
  color: #2091b9;
  padding: 4px;
  font-size: 10px;
  border-radius: 4px;
  margin-left: 5px;
}

.settings {
  display: none;
}

#toggleSearchBtn.collapsed .settings {
  display: inline-block;
  margin-left: 4px;
  font-size: 12px;
}

.app-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-sort-btn {
  font-weight: inherit;
}

.app-sort-btn:hover {
  opacity: 0.8;
}

.app-table-header-rounded th:first-child {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}
.app-table-header-rounded th:last-child {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}
.app-table-header-rounded tr {
  overflow: hidden;
}

.app-table-empty {
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center; /* 縦中央 */
  height: 200px; /* 必要に応じて調整 */
  width: 100%; /* 横幅をテーブル全体に */
}
.app-table-empty td {
  text-align: center; /* テキストを中央寄せ */
  width: 100%; /* セルを全幅に */
}

.app-table-cell-class-sort-2 {
  width: 70px;
}

.app-table-cell-class-contents-2 {
  width: 90px;
}

.create-billing-btn, .edit-billing-btn {
  padding: 12px 24px;
  margin: 0;
}

/* ============================
ランキング
============================ */
.app-tab-width {
  width: 100%;
}

@media (max-width: 1080px) {
  .app-tab-width {
    width: 80%;
  }
}
.mt-negative-22 {
  margin-top: -22px !important;
}

.app-table-cell-ranking-id {
  width: 80px !important;
  max-width: none !important;
}

.app-table-cell-corp {
  width: 116px;
}
.app-pref-native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.app-pref-btn {
  color: #bbc2cb;
  background-color: #fff;
  border: 1px solid #ced4da;
  text-align: left;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 14px;
}

.app-pref-btn.is-selected {
  color: #000 !important;
}

.app-pref-popup {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: calc(100% - 0px);
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  display: none;
}

.app-pref-option {
  padding: 6px 10px;
  cursor: pointer;
  white-space: nowrap;
}

.app-pref-option:hover,
.app-pref-option[aria-selected=true] {
  background: #fff;
}

.app-pref-btn,
.app-pref-btn:hover,
.app-pref-btn:focus,
.app-pref-btn:focus-visible {
  border-top-left-radius: 0.375rem !important;
  border-bottom-left-radius: 0.375rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: none !important;
}

.app-pref-btn {
  height: 38px !important; /* ← 検索ボタンの高さと合わせる */
  line-height: 1.5 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top-left-radius: 0.375rem !important;
  border-bottom-left-radius: 0.375rem !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border: var(--bs-border-width) solid var(--bs-border-color);
  box-shadow: none !important;
}

.app-pref-btn:hover,
.app-pref-btn:focus,
.app-pref-btn:focus-visible {
  border-color: #2091b9 !important;
}

.select2-selection__placeholder {
  color: #bbc2cb !important;
}

.app-select-grade + .select2-container--bootstrap-5 .select2-selection {
  height: 40px !important;
}

.select2-container--bootstrap-5 .select2-selection--single:hover {
  border-color: #2091b9 !important;
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection--single {
  border-color: #2091b9 !important;
  outline: 0 !important;
  background-color: #fff;
}

/* popup が開いている間に hover が切れないように固定 */
.select2-container--bootstrap-5.select2-hover-fixed .select2-selection--single {
  border-color: #2091b9 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* ============================
法人
============================ */
.app-gap-sm {
  gap: 145px;
}

.app-file-area-wrapper {
  width: 100%;
}

.app-file-area {
  background-color: #f3f3f3;
  border-radius: 4px;
  border: 1px solid #e9eaed;
  padding: 39px;
}

.app-file-area-image {
  background-color: #f3f3f3;
  border-radius: 4px;
  border: 1px solid #e9eaed;
}

.app-registration {
  color: #253346;
  padding: 0;
  margin: 0;
  font-size: 14px;
  margin-bottom: 4px;
}

.app-guidance {
  color: #bbc2cb;
}

.app-input-full {
  width: 100%;
  min-height: 84px;
  box-sizing: border-box;
  padding: 8px;
  vertical-align: top;
}

.app-invoice-inner {
  border: 1px solid #f3f3f3;
  border-radius: 4px;
  padding: 13px;
  background-color: #f3f3f3;
}

.btn-toolbar .btn-group.app-btn-create-corp:hover {
  background-color: #197fa3;
  border-color: #197fa3;
}
.btn-toolbar .btn-group.app-btn-create-corp img {
  margin-top: 0.125rem;
}
.btn-toolbar .btn-group.app-btn-create-corp a.btn {
  font-size: 1rem;
}
.btn-toolbar .btn-group.app-btn-create-corp .app-btn-create-corp-text {
  display: inline-block;
  position: relative;
  top: 4px;
}
.btn-toolbar .btn-group.app-btn-create-corp a:hover, .btn-toolbar .btn-group.app-btn-create-corp a:active {
  color: white !important;
  background-color: #197fa3 !important;
  border-color: #197fa3 !important;
}

.app-btn-corp-01 {
  color: #2091b9;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #2091b9;
  padding: 8px 14px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
  cursor: pointer;
}

.app-btn-corp-01::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("../images/icons/icon_plus_blue.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: block;
}

.app-btn-corp-01:hover::before {
  background-image: url("../images/icons/icon_plus.svg");
}

.app-btn-corp-01:hover {
  background-color: #2091b9;
  color: #fff;
}

.app-btn-corp-01-disabled {
  color: #bbc2cb;
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  padding: 8px 14px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  cursor: not-allowed;
}

.app-btn-corp-01-disabled::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-image: url("../images/icons/icon_plus_disabled.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: block;
}

.app-table-wrapper {
  border-radius: 4px;
  overflow: hidden;
  background-color: #fff;
}

.app-bg-info-subtle-02 {
  background-color: #e9f5fb;
  padding: 8px 12px;
}

.app-table-check {
  width: 50px;
}

.app-table-cell-corp-number {
  width: 20px;
}

.app-table-cell-corp-number-02 {
  width: 48px;
  white-space: nowrap;
}

.app-table-cell-corp-number-03 {
  white-space: nowrap;
  width: 44px;
}

.app-table-cell-corp-classid {
  width: 220px;
}

.app-table-cell-corp-classid-01 {
  width: 150px;
}

.app-table-cell-corp-classid-02 {
  width: 65px;
}

.app-table-cell-corp-classid-03 {
  width: 140px;
}

.app-table-cell-corp-classid-05 {
  width: 20px;
}

.app-table-cell-corp-memo {
  width: 22%;
}

.app-table-cell-corp-ai {
  width: auto;
  min-width: 200px;
}

.app-table-cell-corp-trash {
  width: 50px;
}

.app-table5 {
  border-collapse: separate !important;
  border-spacing: 0;
  width: 100%;
  border: none !important;
}
.app-table5 thead th,
.app-table5 tbody td {
  border: none !important;
  background-color: #fff;
}

.app-gap-42 {
  gap: 42px;
}

.form-control.color-bbc2 {
  color: #bbc2cb !important;
}

.app-image-sample {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 216px;
  display: block;
  position: relative;
}

.app-figure-sample {
  position: relative;
}

.app-figure-sample::after {
  content: "";
  display: block;
  background-image: url("../images/icons/icon_image_close.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  top: 10px;
  right: -30px;
  position: absolute;
}

.app-figure-sample {
  margin: 0;
}

.coler-707780 {
  color: #707780;
}

.app-td-empty {
  width: 50px;
}

.app-input-width-sm {
  width: 250px;
}

td .app-space {
  width: 16px;
}

.app-table-cell-corp-days {
  width: 100px;
}

.app-input-small-cell {
  width: 140px;
  text-align: right;
  padding-right: 12px;
  vertical-align: middle;
}

.app-input-small-cell-th {
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  text-align: left;
  white-space: wrap;
}

.app-input-small-cell-th-01 {
  width: 152px;
}
@media screen and (max-width: 1280px) {
  .app-input-small-cell-th-01 {
    width: 146px;
  }
}

.app-input-small-cell-th-02 {
  width: 145px;
}

@media screen and (max-width: 1280px) {
  .app-table-cell-corp-name {
    width: 140px;
  }
}

.app-table10 {
  table-layout: fixed;
  width: 100%;
}

.app-table10 {
  width: 100%;
}
.app-table10 thead th {
  background-color: #c0e2ef;
  padding: 12px 0px 12px 12px;
  font-size: 12px;
}
.app-table10 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table10 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table10 tbody th,
.app-table10 tbody td {
  padding: 8px 0px 0px 8px;
  border-bottom: 1px solid #e9eaed;
  font-size: 14px;
}
.app-table10 tbody td:first-child {
  padding-right: 8px;
}

.app-table10 tr > td:first-child {
  text-align: center;
  vertical-align: middle; /* 縦中央 */
}

.app-th-contract {
  width: 20px;
  text-align: center;
  white-space: nowrap;
}

.app-th-number {
  width: 10px;
  text-align: center;
}

/* 教材名列 */
.app-table-cell-corp-classid-01 {
  width: 140px;
  min-width: 140px;
}

/* 月会費列（片方のテーブルだけに存在） */
.app-table-cell-corp-classid-02 {
  width: 80px;
  text-align: left;
}

.app-table11 {
  width: 100%;
}
.app-table11 thead th {
  background-color: #c0e2ef;
  padding: 12px 0 12px 8px;
  font-size: 12px;
}
.app-table11 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table11 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table11 tbody th,
.app-table11 tbody td {
  padding: 8px 0 8px 8px;
  border-bottom: 1px solid #e9eaed;
  font-size: 14px;
}
.app-table11 thead th:first-child,
.app-table11 tbody td:first-child {
  padding-left: 12px;
}
.app-table11 tbody tr:last-child .border-none {
  border-bottom: 0;
}

.app-table12 {
  table-layout: fixed;
  width: 100%;
}

.app-table12 {
  width: 100%;
}
.app-table12 thead th {
  background-color: #fff;
  padding: 12px 0 0px 6px;
  font-size: 12px;
  font-weight: normal;
}
.app-table12 thead th:first-child {
  border-radius: 4px 0 0 4px;
}
.app-table12 thead th:last-child {
  border-radius: 0 4px 4px 0;
}
.app-table12 tbody th,
.app-table12 tbody td {
  padding: 12px 0 12px 6px;
  font-size: 14px;
}

.app-select-center {
  -moz-text-align-last: center;
       text-align-last: center;
  text-align: center;
}

.app-calender-icon {
  --icon-size: 16px;
  --icon-gap: 10px;
  --text-gap: 10px;
  background-image: url("../images/icons/icon_calendar.svg");
  background-repeat: no-repeat;
  background-position: left var(--icon-gap) center; /* ← 左寄せ */
  background-size: var(--icon-size);
  padding-left: calc(var(--icon-gap) + var(--icon-size) + var(--text-gap));
  box-sizing: border-box;
}

.app-calender-icon.is-invalid {
  background-image: url("../images/icons/icon_calendar.svg") !important;
  background-position: left var(--icon-gap) center !important;
  background-repeat: no-repeat !important;
  background-size: var(--icon-size) !important;
}

.app-error-feedback {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

.app-error-feedback::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  background-image: url("../images/icons/icon_error.svg");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}

.app-table-cell-static3 {
  width: 86px;
}

.app-table-cell-static4 {
  width: 84px;
}

.app-table-cell-static5 {
  width: 40px;
}

/* ファイルダウンロード画面用カラム幅 */
.app-table-cell-school-id {
  width: 80px;
}

.app-table-cell-school-name {
  width: 140px;
}

.app-table-cell-file-name {
  width: 200px;
}

.app-table-cell-file-summary {
  width: auto;
}

.app-table-cell-file-size {
  width: 100px;
}

.app-table-cell-update-date {
  width: 110px;
}

/* NEWバッジスタイル */
.badge-new {
  display: inline-block;
  background-color: #dc3545;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 8px;
  vertical-align: top;
  flex-shrink: 0;
}

/* NEWバッジがない場合の空白スペース（バッジ幅28px + 余白8px = 36px） */
.badge-new-spacer {
  display: inline-block;
  width: 36px;
  height: 1px;
  flex-shrink: 0;
}

/* ファイル概要のラッパー（複数行時の位置揃え） */
.file-summary-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
}

.file-summary-text {
  flex: 1;
  word-break: break-word;
}

.app-number {
  color: #253346;
  font-size: 12px;
}

.app-text {
  color: #253346;
  font-size: 14px;
}

.app-table-cell-corp-static {
  width: 120px;
}

tr + tr.app-error-row {
  --has-error-before: 1;
}

tr:has(+ tr.app-error-row) td {
  border-bottom: none !important;
}

tr.app-error-row td {
  border-bottom: 1px solid #e9eaed !important;
}

.app-error-row td,
.app-error-row .app-error-feedback {
  text-align: left !important;
  justify-content: flex-start !important;
}

.app-table-login-email {
  table-layout: fixed;
  width: 100%;
}

.app-table-space {
  width: 30px;
}

.app-table-gap {
  width: 10px;
}

.app-table-login-email input.form-control {
  width: 100%;
}

tr:has(+ .app-error-row) td {
  padding-bottom: 2px;
}

.app-result-table {
  padding: 12px 16px;
}

.font-size-12-bold-n {
  font-size: 12px;
  font-weight: bold;
}

.app-table-cell-corp-static-04 {
  width: 150px;
}

.center-button {
  padding-top: 130px;
}

.create-corporate-btn, .edit-corporate-btn {
  height: 46px;
  margin-right: 0;
  line-height: 1;
}

.create-corporate-btn {
  padding: 12px;
}

.edit-corporate-btn {
  padding: 12px 24px;
}

.app-not-search-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  padding-top: 75px;
}

.search-corporate {
  padding-bottom: 108px;
}

/* 法人管理一覧 教室ID/教室名列 */
.app-table-cell-corp-school-id-name {
  width: 500px;
  min-width: 300px;
}

/* ============================
教室新規登録・編集
============================ */
table.app-table10.class-table thead th {
  padding: 12px 0px 12px 5px;
}
table.app-table10.class-table thead .app-th-contract {
  width: 14px;
  text-align: left;
  white-space: nowrap;
}
table.app-table10.class-table thead .app-th-number {
  width: 19px;
  text-align: left;
  padding-left: 1rem;
}
table.app-table10.class-table thead .app-table-cell-corp-classid-01 {
  width: 250px;
}
table.app-table10.class-table thead .app-table-cell-corp-classid-02 {
  width: 37px;
}
table.app-table10.class-table thead .app-table-cell-class-term {
  width: 52px;
  min-width: 52px;
}
table.app-table10.class-table tbody tr > td:first-child {
  text-align: left;
  padding-left: 12px;
}
table.app-table10.class-table tbody td {
  padding-top: 8.5px;
  padding-bottom: 8.5px;
}
table.app-table10.class-table tbody td:nth-of-type(2) {
  padding-left: 16px;
}

.create-class-btn, .edit-class-btn {
  height: 46px;
  margin-right: 0px;
  line-height: 1;
  padding: 12px 24px;
}

/* ============================
受講
============================ */
.app-check-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-check-label {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.app-col-flex {
  min-width: 280px;
  flex: 1;
}

.app-col-expand {
  flex-grow: 1;
  min-width: 280px;
}

.app-mb-12 {
  margin-bottom: 12px;
}

.app-table-relative {
  position: relative;
}

.app-empty-message {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  top: 0%;
  transform: translateY(15%);
}

/* ============================
請求
============================ */
.app-mb-17 {
  margin-bottom: 17px;
}

.app-mb-20 {
  margin-bottom: 20px;
}

.app-mb-14 {
  margin-bottom: 14px;
}

.app-label-process {
  background-color: #c0e2ef;
  padding: 4px;
  font-size: 12px;
  color: #253346;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.app-label-completion {
  background-color: #2091b9;
  padding: 4px;
  font-size: 12px;
  color: #ffffff;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 4px;
}

.table-wrapper {
  overflow-x: auto;
  position: relative;
  max-width: 100%;
  border-radius: 4px 8px;
  background: var(--bs-body-bg);
}

.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: #2091b9;
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: #e5e5e5;
}

.app-table-fixed {
  table-layout: fixed;
}

/* ============================
 算数的思考力 成績タブ (STU-S007_t08)
============================ */

/* サブタブボタングループ */
.app-math-score-btn-group .btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}
.btn-check:not(:checked) + .btn.bg-srj {
    background-color: transparent !important;
    color: black !important;
    border: 1px solid #B8B8D8;
}
.btn-check:checked + .btn.bg-srj {
    background-color: #DBDBED !important;
    color: black !important;
    border: 1px solid #B8B8D8 !important;
}

/* ---- スキルチャート (skill_chart) ---- */

/* レーダーチャート共通ラッパー */
.app-skill-chart-wrap {
    position: relative;
    margin: 0 auto 10px auto;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1;
}
.app-skill-chart-wrap canvas {
    width: 100% !important;
    height: 100% !important;
    flex: 0 0 auto;
}
/* ダイヤ型チャートはh4見出しがないため、h4の高さ分上部マージンで補正 */
.app-skill-chart-wrap.app-skill-chart-diamond {
    margin-top: 1.7rem;
}
/* チャート説明テキスト */
.app-skill-chart-description {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: left;
    line-height: 1.5;
    width: 100%;
    border: 1px solid #000;
    padding: 10px;
    border-radius: 5px;
}
/* カード左右の丸いナビゲーションボタン */
.app-of-card-btn-left,
.app-of-card-btn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    padding: 6px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    background-color: #ffffff;
}
.app-of-card-btn-left  { left:  12px; }
.app-of-card-btn-right { right: 12px; }

/* ---- 計算・算数的思考力 (summary / math_thinking) ---- */

/* グラフ外枠コンテナ */
.app-math-chart-container {
    padding: 20px;
}
/* 各グラフの枠 */
.app-math-chart-box {
    border: 1px solid #000;
    padding: 15px;
    margin-bottom: 15px;
}
/* グラフ内の区切り線（横線） */
.app-math-separator-line {
    border-top: 1px solid #000;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: -15px;
    margin-right: -15px;
}
/* グラフタイトル */
.app-math-chart-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
/* Y軸ラベルエリア */
.app-math-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    margin-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.app-math-y-label {
    font-size: 12px;
    color: #666;
    text-align: right;
    min-width: 30px;
}
/* グラフエリア */
.app-math-graph-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* 棒グラフラベル */
.app-math-bar-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    margin-right: 40px;
    min-width: 180px;
    white-space: nowrap;
}
/* Chart.js canvas ラッパー */
.app-math-chart-canvas-wrapper {
    flex: 1;
    min-width: 0;
    height: 70px;
    position: relative;
    overflow: hidden;
}
/* 統計情報行 */
.app-math-bar-label-sub {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* 統計値（右寄せスペーサー）— flex レイアウト移行により margin 不要 */
.app-math-bar-value         { margin-left: 0; }
.app-math-bar-value-long    { margin-left: 0; }
.app-math-bar-value-medium  { margin-left: 0; }
.app-math-label-score       { margin-left: 0; }
.app-math-label-score2      { margin-left: 0; }

/* 凡例 */
.app-math-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.app-math-legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 4px;
}
.app-math-legend-color {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ---- 思考力・100問計算 (thinking / 100_calculation) ---- */

/* 統計テーブル共通スタイル */
.app-math-stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #333;
    table-layout: fixed;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff;
}
/* 最後のstats-tableの下余白を縮小 */
.app-math-chart-container .app-math-stats-table:last-of-type {
    margin-bottom: 0;
}
.app-math-stats-table td {
    padding: 8px 15px;
    border-right: 1px solid #666;
    vertical-align: middle;
}
.app-math-stats-table td.app-math-stats-cell {
    padding: 8px 10px;
}
.app-math-stats-table td:last-child {
    border-right: none;
}
/* タイトル行 */
.app-math-stats-table tr.app-math-stats-title-row td,
.app-math-stats-table th.app-math-stats-title-row {
    padding: 8px 15px;
    padding-left: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #666;
    border-right: none;
    background: transparent;
    vertical-align: middle;
}
.app-math-stats-table th.app-math-stats-title-row {
    text-align: left;
}
.app-math-stats-title-left   { text-align: left; }
.app-math-stats-title-center { text-align: center; }
.app-math-stats-title-right  { text-align: right; }
/* セル内フレックスラッパー */
.app-math-stats-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}
.app-math-stats-label {
    white-space: nowrap;
    font-weight: 500;
    color: #333;
    margin-right: 0.5rem;
}
.app-math-stats-value {
    font-weight: 700;
    color: #111;
    text-align: right;
    min-width: 3rem;
}
/* 100問計算 自己ベスト記録ラベル */
.app-math-best-record-label {
    display: inline-block;
    font-size: 12px;
    color: #666;
    margin: 0;
    vertical-align: middle;
    opacity: 0.95;
}
.app-math-record-datetime-label,
.app-math-record-datetime-value {
    font-size: 12px;
    color: #666;
}
.app-math-record-datetime-label { margin-right: 0.25rem; }

/* ============================
 算数的思考力 成績タブ — 後方互換クラス（非 app-プレフィックス版）
 ※ モック由来のクラス名。将来的に app-* プレフィックス版に統一予定。
============================ */

/* --- 計算・算数的思考力 (summary / math_thinking) --- */
.chart-container {
    padding: 20px;
}
.chart-box {
    border: 1px solid #000;
    padding: 15px;
    margin-bottom: 15px;
}
.separator-line-middle {
    border-top: 1px solid #000;
    margin-top: 5px;
    margin-bottom: 10px;
    margin-left: -15px;
    margin-right: -15px;
}
.chart-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    margin-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.y-label {
    font-size: 12px;
    color: #666;
    text-align: right;
    min-width: 30px;
}
.graph-area {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.bar-label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    margin-right: 40px;
    min-width: 180px;
    white-space: nowrap;
}
.chart-canvas-wrapper {
    flex: 1;
    min-width: 0;
    height: 70px;
    position: relative;
    overflow: hidden;
}
.bar-label-sub {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
}
/* 統計値 — flex レイアウト移行により margin 不要 */
.bar-label-value { margin-left: 0; }
.bar-label-value-long { margin-left: 0; }
.bar-label-value-medium { margin-left: 0; }
.average-score-label { margin-left: 0; }
.average-score-label2 { margin-left: 0; }
.chart-legend {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    font-size: 12px;
}
.legend-item {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 4px;
}
.legend-color {
    display: inline-block;
    width: 30px;
    height: 16px;
    border: 1px solid #ccc;
    flex-shrink: 0;
}

/* --- 思考力・100問計算 (thinking / 100_calculation) --- */
.stats-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    color: #333;
    table-layout: fixed;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff;
}
.chart-container .stats-table:last-of-type {
    margin-bottom: 0;
}
.stats-table td {
    padding: 8px 15px;
    border-right: 1px solid #666;
    vertical-align: middle;
}
.stats-table td.stats-cell {
    padding: 8px 10px;
}
.stats-table td:last-child {
    border-right: none;
}
.stats-table tr.stats-title-row td {
    padding: 8px 15px;
    padding-left: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #666;
    border-right: none;
    background: transparent;
    vertical-align: middle;
}
.stats-table th.stats-title-row {
    text-align: left;
    padding: 8px 15px;
    padding-left: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    border-bottom: 1px solid #666;
    background: transparent;
}
.stats-title-left   { text-align: left; }
.stats-title-center { text-align: center; }
.stats-title-right  { text-align: right; }
.stats-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
}
.stats-label {
    white-space: nowrap;
    font-weight: 500;
    color: #333;
    margin-right: 0.5rem;
}
.stats-value {
    font-weight: 700;
    color: #111;
    text-align: right;
    min-width: 3rem;
}
.best-record-label {
    display: inline-block;
    font-size: 12px;
    color: #666;
    margin: 0;
    vertical-align: middle;
    opacity: 0.95;
}
.record-datetime-label,
.record-datetime-value {
    font-size: 12px;
    color: #666;
}
.record-datetime-label { margin-right: 0.25rem; }

.app-table15 {
  min-width: 1000px;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  overflow: inherit; /* overflowの指定を解除しないとposition:stickyがきかないので初期化 */
}

.app-table15 tbody tr td {
  padding: 10px 0.5rem 11px;
}

.app-table15 thead th div {
  width: 100%;
  white-space: nowrap;
  background-color: #c0e2ef;
}

.app-table15 .app-table-width-fixed-1 {
  width: 36px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
}

.app-table15 .app-table-width-fixed-2 {
  width: 150px;
  position: sticky;
  top: 0;
  left: 36px;
  z-index: 3;
}

.app-table15 .app-table-width-fixed-3 {
  width: 180px;
  position: sticky;
  top: 0;
  left: 186px;
  z-index: 3;
}

.app-table15 .app-table-width-fixed-4 {
  width: 100px;
  position: sticky;
  top: 0;
  left: 366px;
  z-index: 3;
}

.app-table15 .app-table-width-fixed-5 {
  width: 100px;
  position: sticky;
  top: 0;
  left: 466px;
  z-index: 3;
}

.app-table-cell-dropshadow {
  filter: drop-shadow(4px 0 3px rgba(0, 0, 0, 0.05));
}

@media (min-width: 1586px) {
  .app-table15 .app-table-cell-dropshadow {
    filter: none;
  }
}
.app-table-width-size-100 {
  width: 100px;
}

.app-table-width-size-150 {
  width: 150px;
}

.app-table-width-size-70 {
  width: 70px;
}

.app-table-width-size-100 {
  width: 100px;
}

.app-table-width-size-120 {
  width: 120px;
}

/* ============================
請求情報
============================ */
.app-table2.payment-info-table thead th:nth-of-type(3) {
  width: 130px;
}
.app-table2.payment-info-table thead .th-sm {
  width: 75px;
}

/* ============================
操作ログ
================================= */
.search-row {
  margin-bottom: 15px;
}

.search-row:last-child {
  margin-bottom: 0;
}

.form-label {
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 14px;
}

.action-link {
  color: #007bff;
  text-decoration: none;
  font-size: 12px;
}

.action-link:hover {
  text-decoration: underline;
}

.pagination-info {
  font-size: 14px;
  color: #6c757d;
}

.date-input-wrapper {
  position: relative;
}

/* 操作ログ詳細画面 */
.operation-detail-container {
  padding: 0px 10px;
  overflow-x: auto;
  min-width: 100%;
}

.detail-table {
  width: 100%;
  min-width: 1400px;
  border-collapse: collapse;
  margin-bottom: 30px;
  font-size: 14px;
  border: 1px solid #dee2e6;
}

.detail-table th {
  background-color: #e9ecef;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 12px;
  border: 1px solid #dee2e6;
  text-align: left;
  white-space: nowrap;
  vertical-align: middle;
  color: #333;
}

.detail-table td {
  background-color: white;
  padding: 8px 12px;
  font-size: 13px;
  border: 1px solid #dee2e6;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.section-divider {
  padding: 8px 15px;
  font-weight: bold;
  font-size: 18px;
  margin: 0px 0 5px 0;
}

.line {
  display: inline-block;
  width: 40px;
  height: 8px;
  background-color: #000;
  margin-right: 20px;
  margin-left: -15px;
  border-radius: 20px;
  vertical-align: middle;
}

.btn-back {
  border-radius: 50%;
  color: #007bff;
  border: 1px solid #007bff;
  padding: 0px 4px;
  display: inline-block;
  text-decoration: none;
  cursor: default;
}

.changed-value {
  color: #dc3545 !important;
  font-weight: bold;
}

/* ============================
受講状況一覧画面
============================ */
/* 教材バッジ - 青（速読解） */
.training-badge-blue {
    color: #3D85C6;
    background: rgba(61, 133, 198, 0.15);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0.25rem 0.5rem;
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
}

/* 教材バッジ - 赤（速読聴英語） */
.training-badge-red {
    color: #CC0000;
    background: rgba(204, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0.25rem 0.5rem;
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
}

/* 教材バッジ - オレンジ（新国語） */
.training-badge-purple {
    color: #E69138;
    background: rgba(230, 145, 56, 0.15);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0.25rem 0.5rem;
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
}

/* 教材バッジ - 紫（算数的思考力） */
.training-badge-green {
    color: #8E7CC3;
    background: rgba(142, 124, 195, 0.15);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 0.25rem 0.5rem;
    flex: 1 1 0%;
    display: flex;
    justify-content: space-between;
}

/* 教材カラー（テーブル用） */
.training-color-blue {
    color: #3D85C6;
}

.training-color-red {
    color: #CC0000;
}

.training-color-purple {
    color: #E69138;
}

.training-color-green {
    color: #8E7CC3;
}

.training-color-gray {
    color: gray;
}

/* サマリーアイコンエリア */
.training-summary-icon {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.training-summary-icon-flip {
    transform: scaleX(-1);
}

.training-summary-count {
    line-height: 1.2;
}

.training-summary-count-value {
    font-size: 2rem;
}

.training-summary-count-label {
    color: gray;
}

/* 検索結果なしメッセージ */
.training-not-search-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 10px;
}

/* カード間のギャップ（レスポンシブ） */
.training-card-gap {
    gap: 40px;
}

@media (max-width: 1080px) {
    .training-card-gap {
        flex-direction: column;
        gap: 20px;
    }
}

/* バッジ間のギャップ */
.training-badge-gap {
    gap: 20px;
}

/* トグルボタングループ */
.training-toggle-btn-group {
    width: 100%;
}

.training-toggle-btn-group .btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    flex: 1 1 0;
    position: relative;
}

.app-stu-history-subject-tabs.training-toggle-btn-group .btn-check:checked + .btn.bg-srj,
.app-stu-history-english-subtabs.training-toggle-btn-group .btn-check:checked + .btn.bg-srj {
    z-index: 2;
}

.app-stu-history-subject-tabs.training-toggle-btn-group .btn.bg-srj.tab-selected,
.app-stu-history-subject-tabs.training-toggle-btn-group .btn-check:checked + .btn.bg-srj {
  z-index: 3;
}

.app-stu-history-subject-tabs.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj.tab-has-course {
  background-color: transparent !important;
}

.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj {
    background-color: transparent !important;
    color: black !important;
    border: 1px solid #2091b9;
}

.training-toggle-btn-group .btn-check:checked + .btn.bg-srj {
    background-color: #2091b9 !important;
    color: white !important;
}

/* 英語履歴サブタブはモック準拠の配色に切り替える */
.app-stu-history-english-subtabs.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj {
    background-color: transparent !important;
    color: #000 !important;
    border: 1px solid #c8a8a8;
}

.app-stu-history-english-subtabs.training-toggle-btn-group .btn-check:checked + .btn.bg-srj {
    background-color: #e4d1d1 !important;
    color: #000 !important;
    border: 1px solid #c8a8a8 !important;
}

.app-stu-history-english-subtabs.training-toggle-btn-group .btn.bg-srj:hover,
.app-stu-history-english-subtabs.training-toggle-btn-group .btn.bg-srj:focus,
.app-stu-history-english-subtabs.training-toggle-btn-group .btn.bg-srj:active {
    color: #000 !important;
    border-color: #c8a8a8 !important;
}

/* 新国語成績サブタブはモック準拠の配色に切り替える */
.app-stu-history-shinokugo-score-subtabs.training-toggle-btn-group .btn.bg-srj {
  background-color: #ffffff !important;
  color: #000 !important;
  border: 1px solid #d4c090;
}

.app-stu-history-shinokugo-score-subtabs.training-toggle-btn-group .btn.bg-srj.active {
  background-color: #fcf0d4 !important;
  color: #000 !important;
  border-color: #d4c090 !important;
}

.app-stu-history-shinokugo-score-subtabs.training-toggle-btn-group .btn.bg-srj:hover,
.app-stu-history-shinokugo-score-subtabs.training-toggle-btn-group .btn.bg-srj:focus,
.app-stu-history-shinokugo-score-subtabs.training-toggle-btn-group .btn.bg-srj:active {
  color: #000 !important;
  border-color: #d4c090 !important;
}

.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
  white-space: nowrap;
}

.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj {
  background-color: transparent !important;
  color: #000 !important;
  border: 1px solid #d4c090;
}

.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn-check:checked + .btn.bg-srj {
  background-color: #fcf0d4 !important;
  color: #000 !important;
  border: 1px solid #d4c090 !important;
}

.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn.bg-srj:hover,
.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn.bg-srj:focus,
.app-stu-history-shinokugo-history-subtabs.training-toggle-btn-group .btn.bg-srj:active {
  color: #000 !important;
  border-color: #d4c090 !important;
}

/* -------------------------------------------------------
 * タブ受講コース状態別スタイル（STU-S007 _buttons.blade.php）
 *
 * 共通クラス:
 *   .tab-has-course : 受講あり  非選択=白色／選択=コース別色
 *   .tab-no-course  : 受講なし  常時グレー（クリック不可）
 *   .tab-selected   : 画面遷移時の初期アクティブ状態
 *
 * コース別識別クラス（tab-has-course と併用）:
 *   .tab-soku : 速読解 A/B  選択色 #B1DCEC
 *   .tab-eng  : 英語   C/D  選択色 #E4D1D1
 *   .tab-shin : 新国語 E/F  選択色 #FCF0D4
 *   .tab-math : 算数   G/H  選択色 #DBDBED
 * ------------------------------------------------------- */

/* 受講あり: 非選択 → 全コース共通（白背景） */
.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj.tab-has-course {
    background-color: #ffffff !important;
    color: black !important;
    border: 1px solid #2091b9;
}

/* 速読解 A/B: 選択 #B1DCEC */
.training-toggle-btn-group .btn-check:checked + .btn.bg-srj.tab-soku,
.training-toggle-btn-group .btn.bg-srj.tab-has-course.tab-soku.tab-selected {
    background-color: #B1DCEC !important;
    color: black !important;
  border: 1px solid #8fb4c4 !important;
}

/* 英語 C/D: 選択 #E4D1D1 */
.training-toggle-btn-group .btn-check:checked + .btn.bg-srj.tab-eng,
.training-toggle-btn-group .btn.bg-srj.tab-has-course.tab-eng.tab-selected {
    background-color: #E4D1D1 !important;
    color: black !important;
  border: 1px solid #c8b6b6 !important;
}

/* 新国語 E/F: 選択 #FCF0D4 */
.training-toggle-btn-group .btn-check:checked + .btn.bg-srj.tab-shin,
.training-toggle-btn-group .btn.bg-srj.tab-has-course.tab-shin.tab-selected {
    background-color: #FCF0D4 !important;
    color: black !important;
  border: 1px solid #d4c090 !important;
}

/* 算数的思考力 G/H: 選択 #DBDBED */
.training-toggle-btn-group .btn-check:checked + .btn.bg-srj.tab-math,
.training-toggle-btn-group .btn.bg-srj.tab-has-course.tab-math.tab-selected {
    background-color: #DBDBED !important;
    color: black !important;
  border: 1px solid #b4b4ca !important;
}

/* 受講なし: 常時グレー（クリック不可・カーソル変更） */
.training-toggle-btn-group .btn.bg-srj.tab-no-course,
.training-toggle-btn-group .btn-check:not(:checked) + .btn.bg-srj.tab-no-course,
.training-toggle-btn-group .btn-check:checked + .btn.bg-srj.tab-no-course {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    border: 1px solid #dee2e6;
    pointer-events: none;
    cursor: not-allowed;
}

/* 課金コースバッジ */
.training-course-badge {
    background: rgba(0, 0, 0, 0.1);
    color: black;
    padding: 2px 6px;
    border-radius: 4px;
}

/* オレンジボタン */
.btn-orange {
    background-color: #ff6f00;
    color: white;
    border: 1px solid transparent;
}

.btn-orange:hover {
    background-color: #e66300;
    color: white;
}

.btn-orange:disabled,
.btn-orange.disabled {
    background-color: #bbc2cb;
    color: white;
}

/* テキスト装飾なし */
.no-underline {
    text-decoration: none;
}

.no-underline:hover {
    text-decoration: none;
}

/* 受講状況一覧 - 表示設定エリア */
.training-display-settings {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    width: 100%;
}

.training-display-settings .training-display-left {
    display: flex;
    align-items: center;
}

.training-display-settings .training-display-right {
    margin-left: auto;
    color: #6c757d;
    font-size: 0.875rem;
    background: transparent;
}

/* 空状態表示 */
.training-not-search-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 10px;
}

/* ====================================================
   算数的思考力 履歴テーブル共通スタイル (STU-S007)
==================================================== */
.table-vertical-white-border {
    background-color: #ffffffff !important;
    border-collapse: collapse;
}
.table-vertical-white-border th {
    background-color: #C0E2EF !important;
    border-right: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
.table-vertical-white-border th:last-child {
    border-right: none;
}
.table-vertical-white-border td {
    background-color: #ffffff !important;
    border-right: 1px solid rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(0,0,0,0.15);
}
.table-vertical-white-border td:last-child {
    border-right: none;
}

/* ボタン: 紫 */
.btn-purple {
    background-color: #a97ef8ff;
    color: #fff;
    border: 1px solid #a97ef8ff;
}
.btn-purple:hover,
.btn-purple:focus {
    background-color: #a97ef8ff;
    color: #fff;
}
.btn-purple:disabled,
.btn-purple.disabled {
    background-color: #bbc2cb;
    border-color: #bbc2cb;
    cursor: not-allowed;
}

/* ボタン: ダークグレー */
.btn-darkgray {
    background-color: #818181ff;
    color: #ffffff;
    border: 1px solid #818181ff;
}

/* ============================
速読解講座 受講状況画面 (TPR-S101)
============================ */

/* 非活性フィールド（検索条件の固定表示用） */
.app-form-control-disabled {
    background-color: #f5f5f7 !important;
    color: #6c6c6c !important;
    border-color: #e0e0e0 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* スコアハイライト（速解力チェック自己ベスト一覧用） */
.app-bg-info-sort-02 .app-score-highlight-high,
.app-bg-info-sort-02 td.app-score-highlight-high {
    background-color: #e6ffed !important;
}

.app-bg-info-sort-02 .app-score-highlight-low,
.app-bg-info-sort-02 td.app-score-highlight-low {
    background-color: #fff1f0 !important;
}

/* 検索条件の固定幅カラム（12.5%幅） */
.app-col-fixed-12 {
    width: 12.5%;
    flex: 0 0 auto;
}

/* バッジカラー（受講状況ステータス用） */
.badge.app-bg-yellow-green-subtle {
    background-color: #f0f9e8 !important;
}

.badge.app-bg-blue-subtle {
    background-color: #c4e6ff !important;
}

.badge.app-bg-yellow-subtle {
    background-color: #fff497 !important;
}

.badge.app-bg-red-subtle {
    background-color: #ffecec !important;
}

.badge.app-bg-gray-subtle {
    background-color: #ebeaea !important;
}

.badge.app-bg-purple-subtle {
    background-color: #f3e8fd !important;
}

/* テキストカラー（バッジ内テキスト用） */
.app-text-yellow-green-emphasis {
    color: #5a8b33 !important;
}

.app-text-blue-emphasis {
    color: #3030ef !important;
}

.app-text-black-emphasis {
    color: #161515 !important;
}

.app-text-brown-emphasis {
    color: #957c3e !important;
}

.app-text-red-emphasis {
    color: #ff3c4d !important;
}

/* ===================================================
   RNK-S001 ランキング検索一覧
   =================================================== */

/* 1位〜3位の行背景ハイライト（モックの .bg-light-yellow に相当） */
.app-ranking-top3-row td {
    background-color: #fff9e6 !important;
}

.app-ranking-header-block {
  gap: 1rem;
}

.app-ranking-header-controls .form-check-label,
.app-ranking-header-controls .form-label {
  text-align: left !important;
}

.app-ranking-header-selector {
  width: min(420px, 100%);
  min-width: 260px;
}

.app-ranking-form-card .form-control,
.app-ranking-form-card .form-select,
.app-ranking-form-card .input-group-text {
  font-size: 14px !important;
}

.app-ranking-form-card .required-danger,
.app-ranking-header-block .required-danger {
  min-width: 28px;
  width: auto;
  padding: 0 4px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0;
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  line-height: 1.2;
  padding-top: 1px;
}

.app-ranking-form-card .form-control,
.app-ranking-form-card .form-select {
  background-color: #ffffff !important;
}

.app-ranking-event-training-select + .select2-container {
  width: 100% !important;
}

.app-ranking-event-training-select + .select2-container .select2-selection--single {
  height: 38px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background-color: #fff;
  display: flex;
  align-items: center;
}

.app-ranking-event-training-select + .select2-container .select2-selection__rendered {
  font-size: 14px;
  color: #212529;
  line-height: 38px;
  padding-left: 0.75rem;
  padding-right: 2.25rem;
}

.app-ranking-event-training-select + .select2-container .select2-selection--single .select2-selection__arrow {
  top: 0 !important;
  bottom: 0 !important;
  height: auto !important;
  right: 0.5rem;
  display: flex;
  align-items: center;
}

.app-ranking-event-training-select + .select2-container .select2-selection--single .select2-selection__arrow b {
  position: static !important;
  margin: 0 !important;
  transform: none !important;
}

.app-ranking-event-training-select + .select2-container .select2-selection--single:hover,
.app-ranking-event-training-select + .select2-container.select2-container--focus .select2-selection--single {
  border-color: #2091b9;
}

.app-ranking-event-training-select + .select2-container.select2-container--disabled .select2-selection--single {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #6c757d !important;
}

.app-ranking-event-training-select + .select2-container.select2-container--disabled .select2-selection__rendered {
  color: #6c757d !important;
}

#search-form .form-select:disabled,
#search-form .form-control:disabled,
#detail-search-form .form-select:disabled,
#detail-search-form .form-control:disabled,
#btnDetailCondition:disabled {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 1;
}

.app-ranking-disabled-button:disabled {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 1;
}

.app-ranking-disabled-link:disabled {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #6c757d !important;
  cursor: not-allowed;
  opacity: 1;
}

.app-ranking-event-training-select + .select2-container--disabled .select2-selection,
#detail-search-form .select2-container--disabled .select2-selection {
  background-color: #e9ecef !important;
  border-color: #ced4da !important;
  color: #6c757d !important;
}

#detail-search-form .select2-container--disabled .select2-selection__rendered,
#detail-search-form .select2-container--disabled .select2-selection__placeholder {
  color: #6c757d !important;
}

#detail-condition-box.app-ranking-detail-disabled .app-ranking-form-card {
  background-color: #f8f9fa !important;
}

.app-ranking-error-placeholder {
  min-height: 1.2em;
}

.app-ranking-required-placeholder {
  visibility: hidden;
}

.app-ranking-table thead th {
  padding: 0.375rem 0.75rem;
  vertical-align: middle;
}

.app-ranking-table thead tr {
  height: 45px;
}

.app-ranking-table tbody td {
  padding: 0.375rem 0.75rem;
  vertical-align: middle;
}

.app-ranking-table tbody tr {
  height: 45px;
}

.app-ranking-table thead th:first-child,
.app-ranking-table tbody th:first-child,
.app-ranking-table tbody td:first-child {
  padding-left: 0.875rem;
}

.app-ranking-table thead th:last-child,
.app-ranking-table tbody th:last-child,
.app-ranking-table tbody td:last-child {
  padding-right: 0.875rem !important;
}

.app-ranking-table thead th[data-sort="name"] {
  width: 150px;
}

.app-ranking-table thead th[data-sort="nickname"] {
  width: 160px;
}

.app-ranking-table thead th[data-sort="grade"] {
  width: 90px;
}

.app-ranking-table thead th[data-sort="corporation_name"] {
  width: 380px;
}

.app-ranking-table thead th[data-sort="school_name"] {
  width: 370px;
}

.app-ranking-table td.text-end,
.app-ranking-table th.text-end {
  padding-right: 0.75rem !important;
}

.app-ranking-table .app-ranking-th-rank,
.app-ranking-table tbody td:first-child {
  text-align: center;
}

.app-ranking-table .app-ranking-th-score-value {
  text-align: center !important;
}

.app-ranking-cell-corporation {
  text-align: left !important;
  padding-left: 0 !important;
}

/* ランキングテーブル: 順位列幅 */
.app-ranking-th-rank {
    width: 90px;
}

/* 速読解力検定: 認定読解速度・算定読書速度・総合点 カラム幅 */
.app-ranking-th-narrow {
    width: 5.5rem;
    white-space: normal;
    word-break: keep-all;
}

/* 速読解力検定: 認定 段・級 データセル左パディング */
.app-ranking-ps-6 {
    padding-left: 4rem !important;
}

.app-ranking-ps-7 {
    padding-left: 5rem !important;
}

.app-ranking-pe-7 { padding-right: 5rem !important; }

.app-ranking-ps-10 {
    padding-left: 10rem !important;
}

.app-ranking-ps-13 {
    padding-left: 13rem !important;
}

.app-ranking-th-training-date {
  width: 6rem;
  min-width: 6rem;
  white-space: nowrap;
}

.app-ranking-th-score-value {
  width: 8rem;
  min-width: 8rem;
  white-space: nowrap;
}

/* ソートアイコン（↑↓/昇順↑/降順↓ 3状態） */
.app-sort-icon {
    display: inline-block;
    font-style: normal;
    font-size: 0.75rem;
    color: #adb5bd;
    margin-left: 2px;
    vertical-align: middle;
}
.app-sort-icon.none::after  { content: '\2195'; } /* ↕ */
.app-sort-icon.asc::after   { content: '\2191'; color: #0d6efd; } /* ↑ */
.app-sort-icon.desc::after  { content: '\2193'; color: #0d6efd; } /* ↓ */

@media (max-width: 767.98px) {
  .app-ranking-header-block {
    flex-wrap: wrap;
  }

  .app-ranking-header-selector {
    width: 100%;
    min-width: 0;
  }
}

.btn-group .btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}

/* ============================
   受講者管理画面 (STU-S001)
   ============================ */

/* テーブル行の強調表示（当月列） */
.app-student-table-emphasis {
    background-color: #e6ffed !important;
}

/* 体験チェックマークバッジ */
.app-student-trial-badge {
    font-size: 18px;
    color: #222;
    background: #EAF6FB;
    border-radius: 6px;
    padding: 2px 16px;
    border: 1px solid #BEE3F6;
    display: inline-block;
}

/* フォーム幅指定 */
.app-min-w-120 {
    min-width: 120px;
}

.app-min-w-350 {
    min-width: 350px;
}

.app-w-20 {
    width: 20px;
}

.app-icon-overlay-plus {
    position: absolute;
    right: -0.05rem;
    bottom: 0.35rem;
    font-size: 0.8rem;
}

/* ============================
   テーブル共通 (.table-spacing)
   ============================ */

/* table-spacing クラスを持つテーブルの行高・最初の列の左パディング */
.table-spacing tbody tr {
  height: 45px;
}

.table-spacing th:first-child,
.table-spacing td:first-child {
  padding-left: 1rem;
}

/* Bootstrap .table 全体: 縦中央揃え */
.table th,
.table td {
  vertical-align: middle;
}

/* Bootstrap .table-sm: フォントサイズ補正 */
.table-sm th,
.table-sm td {
  font-size: 0.85rem;
}

/* ブランドカラーテキストユーティリティ */
.text-srj {
  color: #2091b9 !important;
  font-weight: 600;
}

/* ============================
  速読解力検定テーブル (.app-stu-history-kentei-table)
   ID セレクタを使用: .table-borderless (詳細度 0-2-1) より
   高い詳細度が必要なため、クラスセレクタでは border が上書きされる
   ============================ */

/* thead内部の区切り線のみ表示 */
.app-stu-history-kentei-table table {
  border-collapse: collapse;
  width: 100%;
}

.app-stu-history-kentei-table thead th {
  background-color: #c0e2ef !important;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.375rem 0.75rem;
  vertical-align: middle;
  font-size: 13px;
}

.app-stu-history-kentei-table thead th:last-child {
  border-right: none;
}

.app-stu-history-kentei-table td {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.375rem 0.75rem;
  vertical-align: middle;
  font-size: 13px;
}

.app-stu-history-kentei-table td:last-child {
  border-right: none;
}

.app-stu-history-kentei-table tbody tr {
  height: 45px;
}

.app-stu-history-kentei-table th:first-child,
.app-stu-history-kentei-table td:first-child {
  padding-left: 1rem;
}

.app-stu-history-kentei-table tbody tr:last-child td {
  border-bottom: none;
}

/* ============================================================
   TPR-S201: 速読聴英語 受講状況 タブボタングループ
   app-{component}-{variation} 命名規則に準拠
   ============================================================ */
.sokuei-tab-btn-group .btn-check:not(:checked) + .btn.bg-srj {
    background-color: transparent !important;
    color: #333 !important;
    border: 1px solid #2091b9;
}
.sokuei-tab-btn-group .btn-check:checked + .btn.bg-srj {
    background-color: #2091b9 !important;
    color: #fff !important;
    border: 1px solid #2091b9;
}
.sokuei-tab-btn-group .btn.bg-srj {
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    flex: 1 1 0;
}

/* ============================================================
   TPR-S201: Monthly Check ステータスバッジ
   app-{component}-{variation} 命名規則に準拠
   ============================================================ */
.app-badge-gray {
    background-color: #ebeaea !important;
}
.app-badge-red {
    background-color: #ffecec !important;
}
.app-badge-yellow-green {
    background-color: #f0f9e8 !important;
}
.app-badge-yellow {
    background-color: #fff497 !important;
}
.text-red-emphasis {
    color: #ff3c4d !important;
}
.text-yellow-green-emphasis {
    color: #5a8b33 !important;
}
.text-Brown-emphasis {
    color: #957c3e !important;
}

/* ============================
   共通: ドロップダウンホバー表示
   ============================ */
.hover-dropdown:hover .dropdown-menu { display: block; }
.hover-dropdown .dropdown-menu { margin-top: 0; }

/* ============================
   受講履歴詳細 速読解（成績）共通 (STU-S007_t02)
   ============================ */

/* ボタングループ全幅 */
.full-width { width: 100%; }

/* セレクトボックス中央揃え（text-align-last補完） */
.form-select.text-center { text-align-last: center; }
.form-select.text-center option { text-align: center; }

/* 読書速度タブ - セレクト位置オフセット */
.app-offset-left { transform: translateX(-24px); }

/* カードコンテナ（左右ナビボタン親要素） */
.app-card-container { position: relative; }

/* 学習基礎力/読解基礎力 スキルチャート見出し */
.small-bold-heading {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.skill-description-section .small-bold-heading {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
}
.skill-description-section p { font-size: 0.9rem !important; }

/* スキルチャート キャンバスラッパー（成績ページ用） */
.app-stu-score-chart-wrap {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 1 / 1;
}

/* レーダーチャートサイズ上限 */
#learning-skill-chart,
#reading-skill-chart {
    max-width: 700px;
    max-height: 700px;
}

/* ============================
   学習履歴サマリー (STU-S007_t02)
   ============================ */

/* ラベルヘッダー */
.label-header-bg { background-color: #C0E2EF; padding: 0.5rem; border-radius: 6px; }

/* 凡例 */
.chart-legend { display: flex; gap: 1rem; align-items: center; font-size: 0.85rem; }
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-color { width: 20px; height: 14px; border-radius: 2px; }

/* 学習履歴サマリーテーブル */
.learning_history_summary { width: 100%; }
.wrap_table_learning_history_summary { width: 100%; overflow-x: auto; }
.table_learning_history_summary {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.table_learning_history_summary th,
.table_learning_history_summary td {
    border: 1px solid #dee2e6;
    padding: 0.25rem 0.5rem;
    vertical-align: top;
}
.table_learning_history_summary thead th {
    background-color: #C0E2EF;
    font-weight: 600;
    font-size: 0.85rem;
}
.table_learning_history_summary th.training_select { width: 22%; }
.table_learning_history_summary th.detail_select { width: 10%; }
.table_learning_history_summary th.record_graph { width: 40%; }
.table_learning_history_summary th.grade_standard { width: 8%; }
.table_learning_history_summary td.training_select dl { margin: 0; }
.table_learning_history_summary td.training_select dt {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}
.table_learning_history_summary td.training_select dd,
.table_learning_history_summary td.detail_select dd { margin: 0; }
.table_learning_history_summary td.training_select dd a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}
.table_learning_history_summary td.training_select dd a.active {
    color: #2091b9;
    font-weight: 600;
}
.table_learning_history_summary td.training_select dd a:hover {
    color: #2091b9;
    text-decoration: none;
}
.table_learning_history_summary td.training_select dd a.badge-link {
    display: block;
    width: 100%;
    padding: 0 0.5rem;
    border-radius: 3px;
    color: #666 !important;
    font-weight: 400;
    text-align: center;
    box-sizing: border-box;
}
.table_learning_history_summary td.training_select dd a.badge-link.active {
    color: #fff !important;
    font-weight: 500;
}
.table_learning_history_summary td.training_select dd a.badge-link:hover {
    opacity: 0.85;
    text-decoration: none;
}
.speed_comprehend_training .badge-link.active { background-color: #2091b9; }
.reading_comprehend_training .badge-link.active { background-color: #dc3545; }
.thinking_training .badge-link.active { background-color: #9acd32; }
.speed_reading_certification .badge-link.active { background-color: #cc7000; }
.speed_comprehension_test_exercises .badge-link.active { background-color: #28a745; }
.speed_comprehension_test .badge-link.active { background-color: #2091b9; }
.speed_reading_comprehension_test .badge-link.active { background-color: #dc3545; }
.detail-badge-link {
    display: block;
    width: 100%;
    padding: 0;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.85rem;
    color: #666 !important;
    text-align: center;
    box-sizing: border-box;
}
.detail-badge-link.active {
    color: #fff !important;
    font-weight: 500;
    background-color: #dc3545;
}
.detail-badge-link:hover { opacity: 0.85; text-decoration: none; }
.table_learning_history_summary .bar_graph { height: 100px; width: 100%; }
.table_learning_history_summary .grade_standard_value { font-size: 0.9rem; }

.app-stu-history-summary-table-wide th.detail_select { width: 12%; }
.app-stu-history-summary-table-wide th.record_graph { width: 66%; }
.app-stu-history-summary-table-wide td.training_select {
  vertical-align: middle;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}
.app-stu-history-summary-table-wide td.detail_select {
  vertical-align: top;
  text-align: center;
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}
.app-stu-history-summary-table-wide td.detail_select dl { margin: 0; }
.app-stu-history-summary-table-wide td.detail_select dt {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}
.app-stu-history-summary-table-wide .record-container { display: none; }
.app-stu-history-summary-table-wide .record-container.active { display: block; }
.app-stu-history-summary-table-wide td.record_graph {
  padding: 0.15rem 0.5rem;
  vertical-align: middle;
}

/* マーカーボックス */
.marker-box {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}
.marker-box .marker_first_record,
.marker-box .marker_personal_best,
.marker-box .marker_latest_record {
    width: 50px;
    height: 18px;
    border-radius: 2px;
}

/* ===================================================
   INV-S001 種類別請求情報 検索一覧 専用スタイル
   =================================================== */

/** 請求種別・日付期間のセレクトボックス最小幅 */
.app-search-select-sm {
    min-width: 120px;
}

/** 日付種別 + 日付範囲エリア */
.app-search-date-range {
    min-width: 340px;
}

/** 検索・クリアボタンエリア */
.app-search-action-min {
    max-width: 150px;
}

/** 請求明細モーダル: 法人/教室切替ボタングループ */
.app-modal-btn-group {
    min-width: 150px;
}

/** 請求明細モーダル: 受注日時インプット */
.app-modal-date-input {
    min-width: 180px;
}
.marker-box .marker_first_record { background-color: #aee8ffff; }
.marker-box .marker_personal_best { background-color: #ffcbd3ff; }
.marker-box .marker_latest_record { background-color: #fff09eff; }
.marker-box .marker_record_update { color: #dc3545; font-weight: 600; }
.marker-box .equal { margin: 0 0.1rem; }
.marker-box .text_first_record,
.marker-box .text_personal_best,
.marker-box .text_latest_record,
.marker-box .text_record_update { margin-right: 0.75rem; }

/* ============================
   STU-S007_t03 英語（履歴）共通スタイル
   ============================ */

/* 検索エリアコンテナ：フレックス伸縮制御 */
.search-area-container {
    flex: 1;
    min-width: 0;
}

/* Bootstrap .collapse アニメーション */
.collapse {
    transition: height 0.35s ease;
}

/* テーブル行区切り線（英語履歴詳細テーブル用 .table-spacing 追加ルール） */
.table-spacing tbody td {
    border-bottom: 1px solid #dee2e6 !important;
}
.table-spacing tbody tr:last-child td {
    border-bottom: none !important;
}

/* 全幅ユーティリティ（英語履歴サブタブ btn-group 用） */
.full-width {
    width: 100%;
}

/* ============================
   ボーダー付きテーブル (.table-with-borders)
   英語履歴詳細（monthly_check / kentei）テーブル用
   ============================ */
.table-with-borders {
    border-collapse: collapse !important;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.table-with-borders th {
    background-color: #C0E2EF !important;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.table-with-borders th:last-child {
    border-right: none;
}
.table-with-borders td {
    background-color: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
.table-with-borders td:last-child {
    border-right: none;
}
.table-with-borders tbody tr:last-child td {
    border-bottom: none;
}

/*# sourceMappingURL=style.css.map */
