@charset "UTF-8";
/*$accent_color: #FBBA10;*/
/* 汎用クラス */
.fade {
  opacity: 0.55;
  -moz-opacity: 0.55;
  filter: alpha(opacity=55);
  -ms-filter: "alpha(opacity=55)";
}

.inline_block {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

.table_cell {
  display: table-cell;
  *display: inline;
  *zoom: 1;
  vertical-align: middle;
}

.fr,
.imgR {
  float: right;
  margin-left: 10px;
}

.fl,
.imgL {
  float: left;
  margin-right: 10px;
}

.imgC,
.tC,
.btn {
  text-align: center;
}

.imgC {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.tR,
.sign {
  text-align: right;
}

.tL {
  text-align: left;
}

.box_size {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}

.ts_none {
  -webkit-text-shadow: none !important;
  -moz-text-shadow: none !important;
  -ms-text-shadow: none !important;
  -o-text-shadow: none !important;
  text-shadow: none !important;
}

.bs_none {
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  -ms-box-shadow: none !important;
  -o-box-shadow: none !important;
  box-shadow: none !important;
}

.att {
  color: #F00;
}
.att a {
  color: #F00;
}

.mb00 {
  margin-bottom: 0 !important;
}

.size_l {
  font-size: 113%;
}

ul.disc li {
  list-style: disc;
  margin: 0 1.4em;
}
ul.decimal li {
  list-style: decimal;
  margin: 0 1.4em;
}

/* clearfix */
.clearfix, ul.disc {
  position: relative;
  *zoom: 1;
}
.clearfix:after, ul.disc:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

/*
	VW 計算
 */
html, body {
  font-size: 13px;
  line-height: 1.6;
}

#main {
  height: 100vh;
}
#main select {
  width: 100%;
}
#main .table__wrapper {
  width: 100%;
  overflow: auto;
}
#main table thead, #main table tbody {
  display: block;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
#main table tr {
  display: flex;
}
#main table tbody th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 1;
}
#main table tbody th.td_meal {
  left: 60px;
}
#main table thead, #main table tfoot {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}
#main table thead th.th_date, #main table thead th.th_meal, #main table tfoot th.th_date, #main table tfoot th.th_meal {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 3;
}
#main table thead th.th_meal, #main table tfoot th.th_meal {
  left: 60px;
}
#main table td, #main table th {
  display: block;
  background: #fff;
  font-size: 1rem;
  border: 1px solid #eeeeee;
  width: 200px;
  padding: 0.3em 0.5em;
  vertical-align: middle;
}
#main table td.td_no, #main table th.td_no {
  width: 20px;
  text-align: center;
}
#main table td.td_allergy, #main table th.td_allergy {
  width: 60px;
  text-align: center;
  word-break: break-all;
}
#main table td.th_date, #main table td.td_date, #main table td.td_amount, #main table td.td_unit, #main table th.th_date, #main table th.td_date, #main table th.td_amount, #main table th.td_unit {
  width: 60px;
}
#main table td.th_meal, #main table td.td_meal, #main table td.td_edit, #main table td.td_calories, #main table th.th_meal, #main table th.td_meal, #main table th.td_edit, #main table th.td_calories {
  width: 80px;
}
#main table .tr_date_start td, #main table .tr_date_start th {
  border-top-color: #aaaaaa;
}
#main table td:nth-child(2n) {
  background: #f9f9f9;
}
#main table thead th:nth-child(2n) {
  background: #f0f0f0;
}
#main table thead th:nth-child(2) {
  background: #ffffff;
}
#main #tblMain {
  display: block;
  position: relative;
  overflow: scroll;
  width: 100vw;
  height: 100vh;
  border-collapse: collapse;
  font-size: 0;
}
#main #nav_ctrl {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #cccccc;
  padding: 1rem;
}
#main button {
  border: 2px solid #cccccc;
  background: #f7f7f7;
  padding: 0.3em 0.8em;
  border-radius: 3px;
  font-weight: bold;
  font-size: 0.8rem;
}

/* モーダル */
.modal {
  display: none; /* デフォルトでは非表示 */
  position: fixed; /* 画面に固定 */
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%; /* 全幅 */
  height: 100%; /* 全高さ */
  overflow: auto; /* スクロール可能 */
  background-color: rgb(0, 0, 0); /* 背景色 */
  background-color: rgba(0, 0, 0, 0.4); /* 透過 */
}
.modal-content {
  background-color: #fefefe;
  margin: 5vh auto; /* 中央に配置 */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* 幅 */
}

.select2-container {
  width: 100% !important;
}

.menu__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 1em;
  margin-bottom: 1em;
}
.menu__head dl {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  flex-wrap: wrap;
  column-gap: 1em;
  row-gap: 0.5em;
  margin-bottom: 0;
}
.menu__head dl dt {
  font-weight: normal;
}
.menu__head dl dd {
  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 2em;
}
.menu__head .menu__buttons {
  flex-shrink: 0;
}

.menu__table__wrapper {
  height: 80vh;
  overflow-y: auto;
}
.menu__table tr th:nth-child(2) {
  left: 200px !important;
}
.menu__table tr th:nth-child(3) {
  left: 400px !important;
}
.menu__table tr th:nth-child(4) {
  left: 600px !important;
}

.modal__contents {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.recipe__wrapper {
  position: absolute;
  height: 100%;
  top: 0;
  right: -200%;
  background: #f7f7f7;
  border-left: 2px solid #cccccc;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
  z-index: 20;
  transition: all 0.5s linear;
  overflow-y: auto;
}
.recipe__wrapper.show {
  right: 0;
}
.recipe__header {
  padding: 1em 1em 0 1em;
}
.recipe__body {
  padding: 0 1em 1em 1em;
}
.recipe__field__row {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  column-gap: 1em;
  row-gap: 0.5em;
  flex-wrap: wrap;
  margin-bottom: 1em;
}
.recipe__field {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  column-gap: 0.5em;
}
.recipe__field__title {
  font-weight: bold;
}
.recipe__title {
  background: #eeeeee;
  font-weight: bold;
  padding: 0.5em;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.recipe__allergies {
  width: 650px;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  row-gap: 0.3em;
}
.recipe__allergies label {
  width: 130px;
}
.recipe__image {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.recipe__image img {
  width: 200px;
}
.recipe__footer {
  text-align: center;
  position: sticky;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 5px;
}

.input--number {
  width: 60px;
  max-width: 100%;
  text-align: right;
}

.conditions__wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  column-gap: 2em;
  padding: 1em;
}

.container {
  padding-left: 20px;
  padding-right: 20px;
  width: auto;
}

.schedule__table__wrapper {
  height: 80vh;
  overflow-y: auto;
}

.button__wrapper {
  text-align: right;
  margin-bottom: 10px;
}

table#tblSchedule {
  width: 100%;
}
table#tblSchedule thead, table#tblSchedule tbody {
  width: 100%;
}
table#tblSchedule th, table#tblSchedule td {
  width: calc((100% - 140px) / 4);
}
table#tblSchedule th.th_date, table#tblSchedule th.td_date, table#tblSchedule td.th_date, table#tblSchedule td.td_date {
  width: 60px;
}
table#tblSchedule th.th_meal, table#tblSchedule th.td_meal, table#tblSchedule td.th_meal, table#tblSchedule td.td_meal {
  width: 80px;
}

.meal__status {
  display: inline-block;
  font-weight: bold;
}
.meal__status:after {
  content: ":";
  display: inline-block;
}

td:has(.meal__buttons--approved) {
  background: #E7FEF3 !important;
}

/*----------------------------------------------------
	印刷用スタイル
----------------------------------------------------*/
@media print {
  * html body {
    zoom: 0.7;
  }
}