/* dialog
-------------------------------------------------- */
/* .modal-dialog {
  max-width: 50vw;
} */

.meal-modal {
  max-width: 50vw;
}

video,
canvas {
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
}

/* bootstrap.css上書き
-------------------------------------------------- */
html {
  font-family: "Noto Sans JP", sans-serif;
}

body {
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #1A1A1C;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

:root,
[data-bs-theme=light] {
  --bs-font-sans-serif: "Noto Sans JP", sans-serif;
  --bs-body-font-size: 0.9rem;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1, .h1 {
  font-size: calc(1.35rem + 1.2vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.25rem;
  }
}

h2, .h2 {
  font-size: calc(1.305rem + 0.66vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 1.8rem;
  }
}

h3, .h3 {
  font-size: calc(1.2825rem + 0.39vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.575rem;
  }
}

h4, .h4 {
  font-size: calc(1.26rem + 0.12vw);
}
@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 1.35rem;
  }
}

h5, .h5 {
  font-size: 1.125rem;
}

h6, .h6 {
  font-size: 0.9rem;
}

.form-control {
  font-size: 0.9rem;
  line-height: 2.0;
  border: var(--bs-border-width) solid #1A1A1C;
}

.form-select {
  font-size: 0.9rem;
  line-height: 2.0;
  border: var(--bs-border-width) solid #1A1A1C;
}

.input-group-text {
  font-size: 0.9rem;
  line-height: 2.0;
  border: var(--bs-border-width) solid #1A1A1C;
}

.form-check-input {
  margin-top: 0;
  border: var(--bs-border-width) solid #1A1A1C;
}

.btn {
  --bs-btn-font-size: 0.9rem;
  line-height: 2.0;
  --bs-btn-border-radius: 0.75rem;
}

.dropdown-menu {
  --bs-dropdown-font-size: 0.9rem;
}

.accordion-button {
  font-size: 0.9rem;
}

.pagination {
  --bs-pagination-font-size: 0.9rem;
}

.popover {
  --bs-popover-header-font-size: 0.9rem;
}

.fs-6 {
  font-size: 0.9rem !important;
}

/* 
 * モーダル > ヘッダー になるように
 * モーダル = 1000
 */
.sticky-top {
  z-index: 990;
}

.modal-content {
  border-radius: 1.2rem;
}

@media (min-width: 992px) {
  .bd-layout {
    display: grid;
    grid-template-areas: "sidebar main";
    grid-template-columns: 1.3fr 5fr;
    gap: 1.5rem;
  }

  .navbar {
    height: 4rem;
  }

  .sidebar {
    box-shadow: 1px 0 4px rgb(146 161 176 / 15%);
    position: -webkit-sticky;
    position: sticky;
    top: 4rem;
    display: block !important;
    padding-top: 0.5rem;
    padding-left: 0.25rem;
    margin-left: -0.25rem;
    overflow-y: auto;
    height: calc(100vh - 4rem);
  }

  .modal-dialog {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 991.98px) {
  .bd-main {
    max-width: 760px;
    margin-inline: auto;
  }

  input:not([type="checkbox"]) {
    border-radius: 20px !important;
  }

  .text-break {
    font-size: 0.875rem;
  }

  #sidebar {
    width: 90%;
    top: 20px;
    border-radius: 0 30px 0 0;
  }
}

@media (max-width: 768px) {
  .modal-content {
    max-height: 90% !important;
  }

  .text-break {
    font-size: 0.875rem;
  }
  
  .modal-dialog {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
  }
}

.store-block {
  width: 65px;
}

.card-store {
  height: 65px;
  width: 65px;
}

.num-gap {
  gap: 0.7rem !important;
}

a,
.pointer {
  cursor: pointer;
}

.num-ticket {
  width: 2.2rem;
  text-align: center;
}
/* style
-------------------------------------------------- */


@media (max-width: 768px) {
  .btn {
    border-radius: 20px;
  }
  .dropdown-item {
    padding: 0.5rem var(--bs-dropdown-item-padding-x);
  }
}

.sd-head {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.sd-head-logo {
  height: 2rem;
}

.sd-logo {
  height: 3rem;
}

.container {
  max-width: 90%;
}

.fc-black {
  color: rgb(36, 36, 36);
}

.x-scroll {
  overflow-x: scroll;
}

.y-scroll {
  overflow-y: scroll;
}

.input-userid {
  width: 150px;
}

.input-tel {
  width: 180px;
}

.text-red {
  --bs-text-opacity: 1;
  color: #e63232 !important;
}

.badge-danger {
  color: RGBA(220, 53, 69, var(--bs-bg-opacity, 1)) !important;
}

.toggle-button {
  display: inline-block;
  position: relative;
  width: 60px;
  height: 30px;
  border-radius: 30px;
  background-color: #dddddd;
  cursor: pointer;
  transition: background-color .4s;
}

.toggle-button:has(:checked) {
  background-color: #4bd865;
}

.toggle-button::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
  background-color: #fff;
  content: '';
  transition: left .4s;
}

.toggle-button:has(:checked)::after {
  left: 30px;
}

.toggle-button input {
  display: none;
}

.fs-05rem {
  font-size: 0.5rem;
}

.fs-06rem {
  font-size: 0.6rem;
}

.fs-07rem {
  font-size: 0.7rem;
}

.fs-08rem {
  font-size: 0.8rem;
}

.fs-09rem {
  font-size: 0.9rem;
}

.fs-10rem {
  font-size: 1.0rem;
}

.fs-11rem {
  font-size: 1.1rem;
}

.fs-12rem {
  font-size: 1.2rem;
}

.fs-13rem {
  font-size: 1.3rem;
}

.fs-14rem {
  font-size: 1.4rem;
}

.fs-15rem {
  font-size: 1.5rem;
}

.disabled-menu {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: #21252955;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.disabled-menu:visited,
.disabled-menu:hover {
  color: #21252955;
}

.form__label {
  margin-bottom: 0.1rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.form__description {
  margin-bottom: 0.1rem;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  color: #626264;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* table
-------------------------------------------------- */
.td-date {
  width: 140px;
}
.td-date-between {
  width: 230px;
}

.td-tel {
  width: 100px;
}

.td-md,
.td-ym {
  width: 80px;
}

.td-num {
  width: 110px;
}

.td-address {
  width: 260px;
}

.td-id {
  width: 150px;
}

.td-name {
  width: 220px;
}

.td-checkBox {
  width: 50px;
}

td {
  vertical-align: middle;
}

.td-25 {
  width: 25px;
}

.td-10 {
  width: 10px !important;
}

.td-20 {
  width: 20px !important;
}

.td-30 {
  width: 30px !important;
}

.td-40 {
  width: 40px !important;
}

.td-50 {
  width: 50px !important;
}

.td-60 {
  width: 60px !important;
}

.td-70 {
  width: 70px !important;
}

.td-80 {
  width: 80px !important;
}

.td-90 {
  width: 90px !important;
}

.td-100 {
  width: 100px !important;
}

.td-110 {
  width: 110px !important;
}

.td-120 {
  width: 120px !important;
}

.td-130 {
  width: 130px !important;
}

.td-140 {
  width: 140px !important;
}

.td-150 {
  width: 150px !important;
}

.td-160 {
  width: 160px !important;
}

.td-170 {
  width: 170px !important;
}

.td-180 {
  width: 180px !important;
}

.td-190 {
  width: 190px !important;
}

.td-200 {
  width: 200px !important;
}

.td-210 {
  width: 210px !important;
}

.td-220 {
  width: 220px !important;
}

.td-230 {
  width: 230px !important;
}

.td-240 {
  width: 240px !important;
}

.td-250 {
  width: 250px !important;
}

.td-300 {
  width: 300px !important;
}

.td-330 {
  width: 330px !important;
}

.td-360 {
  width: 360px !important;
}

.td-440 {
  width: 440px !important;
}

.td-500 {
  width: 500px !important;
}

.td-880 {
  width: 880px !important;
}

.table-red {
  --bs-table-color: #000;
  --bs-table-bg: #ffe6e6;
  --bs-table-border-color: #fff;
  --bs-table-striped-bg: #f0dcdc;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e6c8c8;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #f0d2d2;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-blue {
  --bs-table-color: #000;
  --bs-table-bg: #cfe2ff;
  --bs-table-border-color: #fff;
  --bs-table-striped-bg: #c5d7f2;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #bacbe6;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #bfd1ec;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-green {
  --bs-table-color: #000;
  --bs-table-bg: #d1e7dd;
  --bs-table-border-color: #fff;
  --bs-table-striped-bg: #c7dbd2;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #bcd0c7;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #c1d6cc;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

.table-yellow {
  --bs-table-color: #000;
  --bs-table-bg: #fff3cd;
  --bs-table-border-color: #e6dbb9;
  --bs-table-striped-bg: #f2e7c3;
  --bs-table-striped-color: #000;
  --bs-table-active-bg: #e6dbb9;
  --bs-table-active-color: #000;
  --bs-table-hover-bg: #ece1be;
  --bs-table-hover-color: #000;
  color: var(--bs-table-color);
  border-color: var(--bs-table-border-color);
}

/* loading
-------------------------------------------------- */
#loading {
  background: rgba(0, 0, 0, .5);
  z-index: 1000;
}

/* confirm
-------------------------------------------------- */
/* ローディングより下にならないように */
.bootbox-confirm {
  z-index: 2000;
}


/* margin
-------------------------------------------------- */
.m-0-auto {
  margin: 0 auto;
}

/* button
-------------------------------------------------- */
.btn-outline-red {
  --bs-btn-color: #e63232;
  --bs-btn-border-color: #ff8585;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ff8585;
  --bs-btn-hover-border-color: #ff8585;
  --bs-btn-focus-shadow-rgb: 255, 133, 133;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ff8585;
  --bs-btn-active-border-color: #ff8585;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ff8585;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ff8585;
  --bs-gradient: none;
}

.btn-outline-blue {
  --bs-btn-color: #3264e6;
  --bs-btn-border-color: #3788d8;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #3788d8;
  --bs-btn-hover-border-color: #3788d8;
  --bs-btn-focus-shadow-rgb: 55, 136, 216;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #3788d8;
  --bs-btn-active-border-color: #3788d8;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #3788d8;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #3788d8;
  --bs-gradient: none;
}

.btn-outline-green {
  --bs-btn-color: #1e8232;
  --bs-btn-border-color: #2d9d50;
  --bs-btn-hover-color: #242424;
  --bs-btn-hover-bg: #2d9d50;
  --bs-btn-hover-border-color: #2d9d50;
  --bs-btn-focus-shadow-rgb: 45, 157, 80;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #2d9d50;
  --bs-btn-active-border-color: #2d9d50;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #2d9d50;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #2d9d50;
  --bs-gradient: none;
}

.btn-outline-yellow {
  --bs-btn-color: #ffaa1e;
  --bs-btn-border-color: #ffaa1e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffaa1e;
  --bs-btn-hover-border-color: #ffaa1e;
  --bs-btn-focus-shadow-rgb: 255, 170, 30;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffaa1e;
  --bs-btn-active-border-color: #ffaa1e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #ffaa1e;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ffaa1e;
  --bs-gradient: none;
}

.btn-outline-eat {
  --bs-btn-color: #222;
  --bs-btn-border-color: #bbb;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #bbb;
  --bs-btn-hover-border-color: #bbb;
  --bs-btn-focus-shadow-rgb: 55, 136, 216;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #bbb;
  --bs-btn-active-border-color: #bbb;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #bbb;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #bbb;
  --bs-gradient: none;
}

.target-checkbox {
  border: none;
}

.target-checkbox label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  padding: .5em .7em;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.7);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.target-checkbox label:has(:checked) {
  background-color: rgba(var(--bs-primary-rgb), 0.9);
  color: #fff;
}

.target-checkbox label::before {
  width: 15px;
  height: 15px;
  border: 1px solid rgba(var(--bs-primary-rgb), 0.7);
  border-radius: 0.2rem;
  background-color: #fff;
  content: '';
}

.target-checkbox label:has(:checked)::after {
  position: absolute;
  top: 14px;
  left: 15px;
  transform: rotate(45deg);
  width: 4px;
  height: 8px;
  border: solid rgba(var(--bs-primary-rgb), 1);
  border-width: 0 2px 2px 0;
  content: '';
}

.target-checkbox input {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.container {
  max-width: 1050px;
  width: 90%;
  margin: auto;
}

.navbar {
  width: 100%;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
}

.navbar .menu-items {
  display: flex;
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color: #0e2431;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.7rem;
}

.navbar .nav-container a:hover{
    font-weight: bolder;
}

.nav-container {
  display: block;
  position: relative;
  height: 60px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  display: block;
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  padding-top: 120px;
  box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
  height: 100vh;
  width: 100%;
  transform: translate(-150%);
  display: flex;
  flex-direction: column;
  margin-left: -40px;
  padding-left: 50px;
  transition: transform 0.5s ease-in-out;
  text-align: center;
}

.navbar .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.logo {
  position: absolute;
  top: 5px;
  right: 15px;
  font-size: 1.2rem;
  color: #0e2431;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}
