/*ChuukaYamamoto_Self Order System MASTER CSS*/

/*===Container===*/
.relative {
  position: relative;
}

.container {
  position: relative;
  width: 100%;
  height: 98vh;
  max-width: 1024px;
  margin: auto;

  background-color: rgb(252, 238, 54);
  border: solid 2px red;
}

/*===Common===*/
a {
  color: black;
  text-decoration: none;
}

img {
  width: 100%;
  pointer-events: none;
}
.noPoint {
  pointer-events: none;
}

/*===Flex Setting===*/
.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex.between {
  justify-content: space-between;
}

.flex.center {
  justify-content: center;
}
.flex.end {
  justify-content: end;
}

.flex-item {
  width: 35%;
}

.flex-item10 {
  width: 10%;
}
.flex-item15 {
  width: 15%;
}
.flex-item30 {
  width: 32%;
}
.flex-item50 {
  width: 50%;
}



/*============MASTER TOP (index.php)============*/
.top_title {
  margin: auto;
  margin-top: 20px;
  width: 300px;
  height: auto;
}

.top_title_p {
  text-align: center;
}

/*borderあり*/
.top_category {
  border: solid 1px black;
  padding: 40px 20px;
  margin: auto;
  margin-top: 30px;
  text-align: center;
}

/*borderなし*/
.top_category2 {
  margin: auto;
  margin-top: 30px;
  text-align: center;
}
.top_category2 img{
  width: 100%;
  min-width: 394px;
}


.master_setting {
  position: relative;
  margin: 2em auto;
  padding: 0.5em 1em;
  border: solid 3px rgb(177,50,22);
  border-radius: 8px;
  width: 80%;
}
.master_setting .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 19px;
  background-color: rgb(252, 238, 54);
  color: rgb(177,50,22);
  font-weight: bold;
}
.master_setting p {
  margin: 0; 
  padding: 0;
}


.master_setting .button{
  width: 200px;
  height: 30px;
  background-color: rgb(177,50,22);
  color: white;
  border: #313131;
  text-align: center;
  margin: auto;
}
/*============MASTER (master_〇〇.php)============*/
/*共通部分（左側メニュー）*/
.flex_menu1 {
  width: 20%;
  height: 97vh;
  /*containerのheightをMAXとする*/
  border-right: solid 1px red;
  text-align: center;

  font-size: 20px;
  font-family: 'HG行書体', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN W3', 'メイリオ', 'Meiryo', 'ＭＳ ゴシック', sans-serif;
}

.flex_menu1 div {
  width: 80%;
  padding: 10px;
  margin:8px auto;
}

.flex_menu1 .logo img {
  width: 100%;
}


/*右側メニュー*/
.flex_menu2 {
  width: 75%;
  height: 90vh;
  padding: 2%;
  overflow-x: hidden;
  overflow-y: scroll;
}

.flex_menu2 .card {
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  margin: auto;
  margin-top: 30px;
  margin-right: 15px;
  cursor: pointer;
}
.flex_menu2 label{
  display:block;
}
.tap_guide{
  text-align: center;
}

.card__imgframe {
  width: 288px;
  height: 186px;
  object-fit: cover;
  background: #bbb;
  box-sizing: border-box;
}

.card__textbox {
  width: 100%;
  height: auto;
  padding: 20px 18px;
  background: #fff;
  box-sizing: border-box;
}

.card__textbox>*+* {
  margin-top: 10px;
}

.card__titletext {
  font-size: 20px;
  font-weight: bold;
  line-height: 125%;
}

.card__titletext_amount {
  font-size: 20px;
  font-weight: bold;
  line-height: 125%;
  text-align: right;
}

.card__overviewtext {
  font-size: 12px;
  line-height: 150%;
}

.order_circle{
  display: inline-block;
  background: #ec4646;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  color: #fff;
  font-size: 15px;
  text-align: center;
  margin-right: 5px;
}
.drink_order_label{
  color: blue !important;
}
.drink_order_label .order_circle{
  background: blue !important;
}
.hidden_option1,
.hidden_option2,
.hidden_option1_name,
.hidden_option2_name,
.hidden_option1_amount,
.hidden_option2_amount {
  display: none;
}

.done {
  background: rgba(255, 165, 0, 0.5);
}

.menu_post_form {
  /*POST用Form*/
  display: none;
}

.status_label {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  top:5%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.status_label:before, .status_label:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

.status_label:before {
  left:0;
}
.status_label:after {
  right: 0;
}

.status_change{
  cursor: pointer;
}

/*共通部分（オプションダイアログ）*/
.option {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: rgb(93, 91, 91);
  opacity: 0.7;
  border: none;
  display: none;
  z-index: 2;
}

.op_dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: white;

  width: 50%;
  height: 60%;
  border-radius: 10px;
  display: none;
  text-align: center;
  padding: 20px;
  z-index: 3;
}

.op_dialog.show,
.option.show {
  display: block;
}

.op_dialog .op_button {
  width: 200px;
  height: 120px;
  background-color: orange;
  margin: auto;
  margin-top: 30px;
  padding: 5px;
}

.op_dialog .select {
  background-color: orange;
  border: solid 2px red;
}

.op_dialog .op_confirm_button {
  width: 80%;
  height: 40px;
  border-radius: 25px;
  /*heightとpadding-topの合計/2*/
  background-color: red;
  color: white;
  margin: auto;
  margin-top: 100px;
  padding-top: 10px;
}

.op_dialog .op_cancel_button {
  width: 40%;
  height: 20px;
  border-radius: 15px;
  /*heightとpadding-topの合計/2*/
  border: solid 1px red;
  color: black;
  margin: auto;
  margin-top: 20px;
}


/*共通部分（注文かごダイアログ）*/
.confirm {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: rgb(93, 91, 91);
  opacity: 0.7;
  border: none;
  display: none;
  z-index: 2;
}

.confirm_dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: white;

  width: 50%;
  height: auto;
  max-height: 400px;
  border-radius: 10px;
  display: none;
  text-align: center;
  padding: 20px;
  z-index: 3;
}

.confirm_dialog.show,
.confirm.show {
  display: block;
}

.confirm_dialog .confirm_confirm_button {
  width: 80%;
  height: 40px;
  border-radius: 25px;
  /*heightとpadding-topの合計/2*/
  background-color: red;
  color: white;
  margin: auto;
  margin-top: 30px;
  padding-top: 10px;
}

.confirm_dialog .confirm_cancel_button {
  width: 40%;
  height: 20px;
  border-radius: 15px;
  /*heightとpadding-topの合計/2*/
  border: solid 1px black;
  color: black;
  margin: auto;
  margin-top: 20px;
}

.confirm_dialog select {
  width: 80%;
  border: solid 1px red;
}

.confirm_dialog .selector {
  padding: 20px;
}

/*=お会計（total.php）※注文変更でも使用している=*/
#total_seatNo{
  width: 40%;
  height: 20px;
  margin: auto;
  margin-top: 10px;
  padding-top: 10px;
  text-align: center;
}
#total_seatNo input{
  width: 100%;
  height: 25px;
}

.total_search_button{
  width: 200px;
  text-align: center;
  margin: auto;
  margin-top: 25px;
  padding: 10px 15px;
  background-color: #eee;
  font-weight: bold;
}
.add_button,.person_change_button{
  width: 180px;
  text-align: center;
  margin-right: 5px;
  margin-left: auto;
  margin-top: 25px;
  padding: 10px 15px;
  background-color: rgb(252, 168, 12);
  color: white;
  font-weight: bold;
}

.seat_order_box{
  width: 80%;
  height: 150px;
  overflow-y: scroll;
  padding: 30px;
  margin: auto;
  margin-top: 20px;
  background-color: rgba(255,255,255,0.5);
}
.seat_order_box p{
  text-align: center;
}

.seat_total_amount{
  text-align: center;
}

.button_total_complete a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: #ec4646;
  filter: drop-shadow(0px 2px 4px #ccc);
  border-radius: 3px;
}
.button_total_complete a:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
}

.delete{
  cursor: pointer;
}

/*共通部分（オプションダイアログ）*/
.option {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: rgb(93, 91, 91);
  opacity: 0.7;
  border: none;
  display: none;
  z-index: 2;
}

.op_dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: white;

  width: 50%;
  height: 60%;
  border-radius: 10px;
  display: none;
  text-align: center;
  padding: 20px;
  z-index: 3;
}

.op_dialog.show,
.option.show {
  display: block;
}

.op_dialog .op_button {
  width: 200px;
  height: 120px;
  background-color: orange;
  margin: auto;
  margin-top: 30px;
  padding: 5px;
}

.op_dialog .select {
  background-color: orange;
  border: solid 2px red;
}



/*共通部分（注文情報にて新規情報の追加）*/
.add, .person_change {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: rgb(93, 91, 91);
  opacity: 0.7;
  border: none;
  display: none;
  z-index: 2;
}

.add_dialog,.person_change_dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  background-color: white;

  width: 50%;
  height: 65%;
  border-radius: 10px;
  display: none;
  text-align: center;
  padding: 20px;
  z-index: 3;
}

.add_dialog.show,
.add.show,
.add_alert.show,
.person_change_dialog.show,
.person_change.show,
.person_change_alert.show {
  display: block;
}

.add_confirm_button,.person_change_confirm_button {
  width: 80%;
  height: 40px;
  border-radius: 25px;
  /*heightとpadding-topの合計/2*/
  background-color: red;
  color: white;
  margin: auto;
  margin-top: 30px;
  padding-top: 10px;
}

.add_cancel_button,.person_change_cancel_button {
  width: 40%;
  height: 20px;
  border-radius: 15px;
  /*heightとpadding-topの合計/2*/
  border: solid 1px red;
  color: black;
  margin: auto;
  margin-top: 20px;
}
.add_alert,.person_change_alert{
  text-align: center;
  color: red;
  font-size: 13px;
  display: none;
}





/*=AI分析（date.php）=*/
#aiDate_output p{
  text-align: center;
}