@charset "UTF-8";

button:focus {
  outline: none;
}

button:hover {
  color: #ffffff;
  font-style: bold;
  background-color: #004e97;
}

button:disabled {
  color: #ffffff;
  font-style: bold;
  background-color: rgb(207, 217, 229);
}

.form-check-input {
  border: 1px solid #373a3c;
}

.disabled-icon {
  opacity: 0.5;
  pointer-events: none;
}

.form-control {
  font-size: 14px;
  border: 1px solid rgb(170, 170, 170);
}
input,
.fs-7 {
  font-size: 14px;
}

.form-control:focus {
  box-shadow: none;
  border: 1px solid #004e97;
}

.login-body-div {
  background-color: #f7f7f7;
  border-radius: 5px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  width: 450px;
  margin: 0 auto;
  border: 1px solid #d9d9d9;
}

.home-page-body-div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 75vh;
}

.comon-body-div {
  font-size: 14px;
  margin: 0px -5px 0px 0px !important;
  background-color: #f7f7f7;
  border-radius: 5px;
  border-top-left-radius: 0px;
  padding: 30px 30px;
  border: 1px solid #d9d9d9;
}

.textbox-width-250 {
  width: 250px;
  height: 35px;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  outline: none;
}

.textbox-width-180 {
  width: 180px;
}

.common-textbox-short {
  width: 30%;
  height: 35px;
  padding: 6px 12px;
  border-radius: 5px;
  background-color: #ffffff;
}

.common-body-list {
  margin: 0px 0px 0px 0px !important;
  border-radius: 5px;
  padding: 20px 30px;
}

.me-5 {
  padding-right: 30px;
}

.common-subtitle-label {
  font-size: 16px;
  color: #373a3c;
  font-weight: 600;
}

.common-red-label {
  font-size: 14px;
  color: #df0101;
  font-weight: normal;

  text-align: center;
  text-decoration: none;
}

.common-search-button {
  font-size: 14px;
  color: #ffffff;
  font-style: thin;

  background-color: #004e97;
  width: 120px;
  height: 38px;
  border: 1px solid #004e97;
  border-radius: 5px;
  text-align: center;
}

.common-search-button:hover {
  color: #ffffff;
  font-style: bold;
  background-color: rgba(109, 153, 206, 1);
}

.common-search-button:disabled {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.common-search-button:disabled:hover {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.common-item-label {
  font-size: 14px;
  color: #373a3c;
  font-weight: normal;

  margin: 5px auto;
}

.common-search-item-label {
  font-size: 14px;
  color: #373a3c;
  font-weight: normal;
  margin-left: -15px;
}

.margin-left-minus22 {
  margin-left: -22px;
}

.margin-left-13 {
  margin-left: 13px;
}

.margin-left-right-20 {
  margin-left: auto;
  margin-right: -20px;
}

.margin-left-right-14 {
  margin-left: auto;
  margin-right: -14px;
}

.table-vertical-center {
  vertical-align: middle !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.scroll-table {
  width: 100%;
}

.scroll-table th {
  white-space: nowrap;
}

input:disabled,
select:disabled {
  color: rgb(100, 100, 100);
}

.agency-search-button {
  background-color: #004e97;
  border: none;
  padding: 18px;
  border-radius: 0px 5px 5px 0px;
}

.width-5 {
  width: 5%;
}

.width-6 {
  width: 6%;
}

.width-7 {
  width: 7%;
}
.width-9 {
  width: 9%;
}
.width-10 {
  width: 10%;
}
.width-13 {
  width: 13%;
}
.width-15 {
  width: 15%;
}
.width-18 {
  width: 18%;
}
.width-20 {
  width: 20%;
}

.margin-left-minus30 {
  margin-left: -30px;
}

.margin-left-minus20 {
  margin-left: -20px;
}

.width-80 {
  width: 80px;
}

.width-100 {
  width: 100px;
}
.width-200 {
  width: 200px;
}
.width-110 {
  width: 110px;
}
.btn-width-150 {
  width: 150% !important;
}

.min-width-100 {
  min-width: 100px;
}

.min-width-130 {
  min-width: 130px;
}

.min-width-150 {
  min-width: 150px;
}

.min-width-170 {
  min-width: 170px;
}

.common-main-button {
  font-size: 14px;
  color: #ffffff;
  font-style: thin;
  background-color: #004e97;
  width: 150px;
  height: 48px;
  border: 1px solid #004e97;
  border-radius: 5px;
  text-align: center;
}

.common-login-button {
  font-size: 14px;
  color: #ffffff;
  font-style: thin;
  background-color: #004e97;
  width: 100%;
  height: 35px;
  border: 1px solid #004e97;
  border-radius: 5px;
  text-align: center;
}

.common-main-button:disabled {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.common-main-button:disabled:hover {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.common-main-button:hover {
  color: #ffffff;
  font-style: bold;
  background-color: rgba(109, 153, 206, 1);
}

.common-small-button {
  font-size: 14px;
  color: #ffffff;
  font-style: thin;

  background-color: #004e97;
  width: 120px;
  height: 48px;
  border: 1px solid #004e97;
  border-radius: 5px;
  text-align: center;
}

.common-small-button:hover {
  color: #ffffff;
  font-style: bold;
  background-color: rgba(109, 153, 206, 1);
}

.common-small-button:disabled {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.common-small-button:disabled:hover {
  background-color: #afb5b7;
  border: 1px solid #ccc;
}

.add-button,
.remove-button {
  cursor: pointer;
  color: white;
  background-color: #004e97;
  border: none;
  padding: 5px 10px;
  width: 33px;
  border-radius: 6px;
  text-align: center;
}

.home-page-button {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  background-color: #004e97;
  width: 230px;
  height: 150px;
  border: 1px solid #004e97;
  border-radius: 5px;
  text-align: center;
  margin: 20px;
}

.home-page-button:hover {
  color: #ffffff;
  font-style: bold;
  background-color: rgba(109, 153, 206, 1);
}

.close:hover {
  background-color: white;
}

.comon-delete-img {
  width: 20px;
  height: 20px;
}

.comon-menu-img {
  width: 18px;
  height: 15px;
}

.common-blue-label {
  font-size: 14px;
  color: #007bff;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
}

.comon-delete-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.comon-delete-img:hover {
  transform: scale(1.1);
}

.section-title {
  background-color: #004e97;
  color: white;
  padding: 3px;
  font-size: 16px;
  width: 190px;
  height: 50px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-title-long {
  background-color: #004e97;
  color: white;
  padding: 5px;
  font-size: 16px;
  width: 230px;
  height: 50px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tabs {
  display: flex;
}

.tab {
  padding: 10px;
  cursor: pointer;
  background-color: #b0bec5;
  border: 1px solid #ccc;
  margin-right: 10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  width: 190px;
  height: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.cursor-pointer,
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

.tab.active {
  background-color: #004e97;
  border-bottom: none;
  color: white;
}

.text-right {
  text-align: right;
}

.text-center {
  text-align: center;
}

.common-selectbox {
  width: 100%;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid rgb(170, 170, 170);
  background-color: #ffffff;
  outline: none;
}

.common-selectbox {
  border: 1px solid 004e97;
}

select.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("/image/Select_Arrows.svg");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table th {
  background-color: #004e97;
  color: white;
  text-align: center;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 8px;
}

table tr:nth-child(odd) {
  background-color: #eeeeee;
}

/* td input[type="radio"] {
  margin-right: 15px;
} */

.table-radio-span {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
}
/* エラー */
.comon-error-icon-margin {
  margin-right: 3px;
  margin-bottom: 3px;
}

.comon-warning-img {
  width: 13.992px;
  height: 12.498px;
}

label.error {
  font-size: 12px;
  font-family: var(--common-font-family);
  color: #df0101 !important;
}
/* エラー */

/* Search Box */
.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 400px;
  position: relative;
}

.search-textbox {
  width: calc(100% - 40px);
  height: 35px;
  padding: 6px 12px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border: 1px solid #d9d9d9;
  background-color: #ffffff;
  outline: none;
}

.search-textbox-campaign {
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #ffffff;
  outline: none;
  background-color: white;
  background-image: url("/image/SearchAuto.svg");
  background-position: 10px 12px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
}

.border-top {
  border-top: 1px solid;
  border-color: #cccccc;
}

.search-button-icon {
  background-image: url("/image/Search.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 20px;
}

.search-button {
  background-color: #004e97;
  border: none;
  padding: 18px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.search-modal-body {
  max-height: 330px !important;
  overflow-y: auto;
}

.underline-text {
  text-decoration: underline;
  color: #0d99f6;
}
/* Search Box */

@media only screen and (min-width: 1200px) {
  .search-textbox {
    width: calc(90% - 40px);
    height: 35px;
    padding: 6px 12px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border: 1px solid #d9d9d9;
    background-color: #ffffff;
    outline: none;
  }
}

.margin-right-minus15 {
  margin-right: -15px !important;
}

.margin-right-10 {
  margin-right: 10px;
}

.margin-right-15 {
  margin-right: 15px;
}

.margin-left-minus30 {
  margin-left: -30px;
}

.width-180 {
  width: 180px;
}

.width-200 {
  width: 200px;
}

.width-225 {
  width: 225px;
}

.width-250 {
  width: 250px;
}

.width-300 {
  width: 300px;
}

.pagination-modern {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination-modern .page-item {
  margin: 0 3px;
  font-weight: bold;
}

.pagination-modern {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.pagination-modern .page-item {
  margin: 0 1px;
  font-weight: bold;
}

.pagination-modern .page-link {
  color: #555;
  background-color: #fff;
  border: none;
  padding: 4px 8px;
  border-radius: 3px;
  font-weight: bold;
  transition: all 0.2s ease;
  text-decoration: none;
  font-size: 12px;
  min-width: 32px;
  text-align: center;
  display: block;
  line-height: 1.2;
}

.pagination-modern .page-link:hover {
  background-color: #f8f9fa;
  border-color: #007bff;
  color: #007bff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
}

.pagination-modern .page-item.active .page-link {
  background-color: #e6f0fa;
  border-color: #004e97;
  color: #004e97;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
}

.pagination-modern .page-item.disabled .page-link {
  color: #999;
  background-color: none;
  border-color: #ddd;
  pointer-events: none;
}

/* Navigation buttons (prev/next) */
.pagination-modern .page-item:first-child .page-link:hover,
.pagination-modern .page-item:last-child .page-link:hover {
  background-color: transparent !important;
  color: #555 !important;
  border: none !important;
  border-radius: 3px !important;
  width: auto !important;
  height: auto !important;
  padding: 4px 8px !important;
  display: inline-block !important;
  min-width: 32px !important;
}

/* Pagination Container - Compact */
.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 0;
}

/* .page-size-selector {
    display: flex;
    align-items: center;
} */

/* .page-size-selector label {
    margin-right: 8px;
    font-weight: 500;
    color: #555;
    font-size: 12px;
} */

.page-size-selector .form-select {
  font-size: 12px;
  height: 28px;
  width: auto;
}

.pagination-controls {
  /* display: flex;
    justify-content: flex-end; */
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  overflow-x: auto;
  max-width: 100%;
}

.page-size-selector {
  display: flex;
  align-items: center;
}

.page-size-selector label {
  margin-right: 10px;
  font-weight: bold;
  color: #555;
}

.font-bold {
  font-weight: bold;
}

.container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

.error-title {
  font-size: 36px;
  font-weight: bold;
  color: #e74c3c;
  text-align: center;
  margin-bottom: 20px;
}

.error-info {
  font-size: 16px;
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

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

.home-page-body {
  display: flex;
  justify-content: center;
}

.menuIcon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #afb5b75a;
  border-radius: 100%;
}

.card {
  background-color: #0f3b7a;
  color: white;
  font-weight: 700;
  font-size: 24px;
  border-radius: 8px;
  cursor: pointer;
}

.card:hover {
  margin-top: -3px;
  background-color: #4587d7f4;
}

.error-alert {
  width: 50%;
  height: 5%;
  display: inline-block;
}

.agency-checkbox {
  margin-left: 0px;
}

.check-align-center {
  display: block;
  margin: 0 auto;
}

.selected-agency-list {
  background-color: #004e97 !important;
}

.datetime-col {
  width: 180px;
  white-space: nowrap;
}

.button-align {
  text-align: right !important;
}

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

/* 共通設定 */
td.truncate > a,
td.truncate > .truncate-text {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

/* 幅ごとにクラスを追加 */
.trunc-100 > a,
.trunc-100 > .truncate-text {
  max-width: 100px;
}

.trunc-200 > a,
.trunc-200 > .truncate-text {
  max-width: 200px;
}

.trunc-300 > a,
.trunc-300 > .truncate-text {
  max-width: 300px;
}

.trunc-400 > a,
.trunc-400 > .truncate-text {
  max-width: 400px;
}

input.form-control.truncate {
  display: inline-block;      
  box-sizing: border-box;     
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  z-index: 9999;

  /* hidden by default */
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#loadingOverlay.active {
  display: flex;
}

#loadingOverlay .loading-text {
  color: white;
  margin-top: 10px;
  font-size: 18px;
}
