@charset "utf-8";

@-ms-viewport {
    width: auto;
    initial-scale: 1;
}

@viewport {
    width: device-width;
    initial-scale: 1;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    zoom: 0.7;
}

.modal-backdrop.show {
    width: 100%;
    height: calc(100% / 0.7);
}

.offcanvas-backdrop {
    width: 100%;
    height: calc(100% / 0.7);
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px
}

h1 {
    margin: 0;
    padding: 10px 20px;
}

h2 {
    font-size: 2.2rem;
    color: #333;
}

h3 {
    color: #444;
    font-size: 22px;
    margin-bottom: 15px;
}
h4, .h4 {
    font-size: 1.5rem !important;
}
.fs-1 {
    font-size: 2.5rem !important;
}
.fs-2 {
    font-size: 2rem !important;
}
.fs-3 {
    font-size: 1.75rem !important;
}
.fs-4 {
    font-size: 1.5rem !important;
}

p {
    margin-bottom: 0px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

/** ヘッダー部品 */
#headerUserName {
    font-weight: bold;
    font-size: 20px;
    vertical-align: super;
}
.adminLogo {
    font-weight: bold;
    font-size: 20px;
    vertical-align: middle;
}

#logoutBtn {
    transition: all 0.3s ease;
}

#logoutBtn:hover {
    background-color: #dc3545;
    color: white;
    border-color: #dc3545;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/** ローディングオーバーレイ */
body.overlay {
    overflow: hidden;
}
div.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
    display: none;
}
div.overlay .spinner-border {
    --bs-spinner-border-width: 1.5rem;
    width: 10rem;
    height: 10rem;
    z-index: 1002;
}
body.overlay div.overlay {
    display: flex;
}

/** 部品 */
.form-control {
    border-radius: 0.5rem;
    padding: 1rem;
}

.btn-search,
.btn-clear {
    padding: 10px 40px 10px 40px;
}

.card {
    border: none;
    border-radius: 1.5rem;
}

.card-body {
    padding: 3rem;
}

.ablecard {
    cursor: pointer;
}

.container {
    padding-left: 10px;
/*     padding-right: 10px; */
    max-width: 100%;
}
form > .container {
    max-width: unset !important;
    width: 1850px !important;
}
header .container,
footer .container {
    max-width: 100% !important;
    width: auto !important;
}
header .container {
    min-width: 1000px !important;
}
.container img {
    height: 50px;
}

.terms-container {
    height: 700px;
    overflow-y: scroll;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    background-color: white;
    font-size: 14px;
}

.preview-image {
    max-width: 100%;
    max-height: 200px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
}

/* アップロード */
.custom-file-upload {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
}

.custom-file-upload:hover {
    background-color: #e9ecef;
}

.custom-file-upload input[type="file"] {
    display: none;
}

.auth-phone-number {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
}

/* 登録完了*/
.completion-icon {
    font-size: 64px;
    color: #28a745;
}

.highlighted-id {
    border: 3px solid #007bff;
    background-color: #d1ecf1;
    color: #0c5460;
}

.info-box,
.next-steps {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

#member-id {
    font-weight: bold;
    color: #007bff;
}

/* 検索 */
.custom-select {
    height: 60px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.ui-datepicker-current {
    background: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin: 2px;
    border-radius: 4px;
}

/* 日付セルにマウスオーバー時のスタイルを追加 */
.ui-state-default:hover {
    background: #007bff !important;
    color: white !important;
}


/* カーソルをポインターに変更 */
.pointer {
    cursor: pointer;
}

/* クライアントチェックエラー */
.form-group {
    margin-bottom: 1rem;
}

.error-message {
    color: red;
    font-size: 1.25rem !important;
    margin-top: 0.25rem;
    display: none;
}

/* エラーのときに赤枠をつける */
/* input.invalid { */
/*     border-color: red; */
/* } */

/* サーバチェックエラー */
.alert i {
    font-size: x-large;
    margin-right: 10px;
}

/* サイドメニュー非活性 */
.offcanvas-body .nav-link.disabled {
    color: #777;
    cursor: default;
}

/* 必須マーク */
.mb-4:has(input:required) > label.form-label::after,
.mb-4:has(select:required) > label.form-label::after,
.mb-4:has(textarea:required) > label.form-label::after,
.required::after {
  content: "[必須]";
  color: rgba(220, 53, 69, 1);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}
/* 部分一致マーク */
label.form-label.match::after {
  content: "[部分一致検索]";
  color: rgba(25,135,84, 1);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 4px;
}


/* テーブルのカスタマイズ */
.bootstrap-table .table {
    border-collapse: collapse;
}
.bootstrap-table .table thead th {
    background-color: #ffffff;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #dee2e6;
}
.bootstrap-table .table tbody td {
    border-left: none;
    border-right: none;
}
.bootstrap-table .table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}
.no-wrap-table td, .no-wrap-table th {
  white-space: nowrap;
}
.bootstrap-table .table .bs-checkbox input[type="checkbox"] {
    transform: scale(1.5);
    width: 15px;
    height: 15px;
}
.bootstrap-table .table .bs-checkbox input[type="checkbox"]:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
    accent-color: #0d6efd;
}

/* 表示件数選択の位置調整 */
.table-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}
.bootstrap-table.bootstrap5 .float-left {
    float: none;
}
.page-list-container select {
    padding: 6px 32px 6px 12px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    cursor: pointer;
    min-width: 60px;
}
/* ページネーションの中央配置 */
.fixed-table-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fixed-table-pagination .pagination-detail {
    display: none;
}

/** ファイルアップロードエリア */
.drag-drop-area {
    border: 2px dashed #cccccc;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    transition: background-color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}
.drag-drop-area.disabled {
    cursor: default;
    background-color: var(--bs-form-control-disabled-bg);
}

.drag-drop-area.dragover {
    background-color: #f0f0f0;
}

.drag-drop-area .file-icon {
    font-size: 48px;
    color: #6c757d;
}

.clear-button {
    margin-top: 10px;
    display: none;
}

.preview-container {
    text-align: center;
    margin-top: 10px;
}

/** 戻るボタン */
.bi-arrow-left-circle {
    font-size: 3rem;
    cursor: pointer;
}
.icon-offset {
    left: calc(20% - (300px / 2) - 1.5rem);
}
.d-flex h2 {
    white-space: normal;
    word-break: break-word;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
}

/** 自動スクロール時の余白 */
.scroll-target {
    scroll-margin-top: 130px;
}

/* @media (max-width: 1000px) { */
/*     body { */
/*         min-width: 1000px; サイト全体の最小幅を設定 */
/*         overflow-x: auto; 横スクロールを有効化 */
/*     } */

/*     Bootstrapのグリッドがレスポンシブに変化しないようにする */
/*     .container, .container-fluid { */
/*         width: 1000px !important; */
/*         max-width: none !important; */
/*     } */

/*     .row { */
/*         flex-wrap: nowrap !important; */
/*     } */

/*     列の幅が縮小されないようにする */
/*     [class*="col-"] { */
/*         flex: 0 0 auto !important; */
/*         max-width: none !important; */
/*     } */
/* } */

/* レスポンシブデザイン */
/* @media (min-width: 576px) { */
/*     .menu-button { */
/*         font-size: 1.1rem; */
/*         padding: 1rem 1.5rem; */
/*     } */
/* } */

/* @media (min-width: 768px) { */
/*     .menu-button { */
/*         font-size: 1.2rem; */
/*         padding: 1.25rem 2rem; */
/*     } */
/* } */

/* @media (min-width: 992px) { */
/*     .menu-button { */
/*         font-size: 1.3rem; */
/*         padding: 1.5rem 2.5rem; */
/*     } */
/* } */

/* @media (max-width: 575.98px) { */
/*     h2 { */
/*         font-size: 1.8rem; */
/*     } */

/*     .menu-button { */
/*         font-size: 1rem; */
/*         padding: 0.75rem 1rem; */
/*     } */
/* } */