@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Headline:wght@500&display=swap');
:root {
  --main: #d4c0a0;
  --aside: #e2d1b5;
  --button-color: #614100;
  --button-hover: #865900;
  --space: 50px;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-thumb {
  background: var(--button-color);
  border-radius: 5px;
}
::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 5px;
}
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
ul , li {
  list-style: none;
}
a {
  cursor: pointer;
}
a.button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 45px;
  border-radius: 3px;
  background: var(--button-color);
  color: #fff;
  text-shadow: 0.05em 0.05em #595959;
}
a.button:hover {
  background: var(--button-hover);
}
img {
  max-width: 100%;
}
div.passwd {
  position: relative;
}
div.passwd input {
  width: 100%;
}
div.passwd input[type="password"] + a {
  display: block;
  width: 40px;
  height: 40px;
  background: url(../image/eye_close.svg) no-repeat center top 12px / 60%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
div.passwd input[type="text"] + a {
  display: block;
  width: 40px;
  height: 40px;
  background: url(../image/eye_open.svg) no-repeat center / 60%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 20px;
  background: var(--main);
  color: #614100;
}
body > main {
  padding-right: 360px;
  width: 100%;
  height: 100dvh;
}
aside {
  display: block;
  padding: 25px 10px 25px 20px;
  width: 360px;
  height: 100dvh;
  background: var(--aside);
  position: fixed;
  overflow-y: auto;
  top: 0;
  right: 0;
}
aside ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-right: 10px;
  max-height: calc(100dvh - 168px);
  overflow-y: auto;
}
aside ul li {
  display: grid;
  grid-template-columns: 1fr 40px;
  gap: 0 20px;
  padding: 10px 10px 10px 20px;
  width: 100%;
  background: #fff;
}
aside ul li div:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 2;
  display: flex;
  align-items: center;
  padding: 10px 0;
}
aside ul li div:nth-child(2) {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px dashed;
  font-size: 22px;
}
aside ul li div:nth-child(2) span:last-child {
  display: flex;
  align-items: flex-end;
}
aside ul li div:nth-child(2) span:last-child::after {
  display: block;
  content: "円";
  margin-left: 0.5em;
  font-size: 12px;
  line-height: 1em;
}
aside ul li div:nth-child(3) {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 3;
  display: flex;
  flex-direction: column;
}
aside ul li div:nth-child(3) a {
  display: block;
  width: 40px;
  height: 40px;
  background: var(--button-color);
  mask-size: 30px;
  mask-repeat: no-repeat;
  mask-position: center;
}
aside ul li div:nth-child(3) a:first-child {
  mask-image: url(../image/plus-box.svg);
}
aside ul li div:nth-child(3) a:last-child {
  mask-image: url(../image/minus-box.svg);
}
aside ul li div:nth-child(3) a:hover {
  background: var(--button-hover);
}
aside div.total {
  padding: 25px 20px;
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
}
aside div.total > div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
aside div.total > div + div {
  margin-top: 20px;
}
aside div.total label {
}
aside div.total span {
  display: flex;
  align-items: end;
  font-size: 28px;
  line-height: 1em;
}
aside div.total span::after {
  display: block;
  content: "円";
  margin-left: 0.5em;
  font-size: 12px;
  line-height: 1em;
}
aside div.total a {
  width: calc((100% - 20px) / 2);
}
aside div.total a::before {
  display: block;
  content: "";
  margin-right: 5px;
  width: 18px;
  height: 18px;
  background: no-repeat center / 100%;
  position: relative;
}
aside div.total a.eatin::before {
  background-image: url(../image/order_eatin.svg);
  top: 2px;
  left: -3px;
}
aside div.total a.takeout::before {
  background-image: url(../image/order_takeout.svg);
  background-size: 80%;
  top: 1px;
}
/**********************************************************************
nav
/**********************************************************************/
nav {
  display: flex;
  justify-content: space-between;
  padding-inline: var(--space);
  padding-block: 25px 20px;
}
nav div {
  display: flex;
  gap: 20px;
}
nav a {
  text-indent: -9999px;
}
nav a.newslip {
  background: #ee8a00;
  text-shadow: 0.05em 0.05em #888;
}
nav a.newslip:hover {
  background: #ffc107;
}
nav a::before {
  display: block;
  content: "";
  width: 18px;
  height: 18px;
  background: no-repeat center / 90%;
  position: relative;
  top: 2px;
}
nav a.newslip::before {
  background-image: url(../image/receipt.svg);
}
nav a.orders::before {
  background-image: url(../image/orders.svg);
  background-size: 80%;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0.5em;
  width: 100px;
  height: 45px;
  background: var(--button-color);
  border-radius: 3px;
  color: #fff;
  font-size: 0.8em;
  line-height: calc(35px / 2);
  background-size: 20px 20px;
  background-image: repeating-linear-gradient(45deg, #ffc10729 0, #ffc10726 2px, #ffe9a72e 0, #ffe9a714 50%);
  text-shadow: 0.05em 0.05em #8a8a8a;
  cursor: pointer;
}

/**********************************************************************
div.menu
/**********************************************************************/
div.menu {
  padding-right: calc(var(--space) / 2);
  padding-bottom: calc(var(--space) + 20px);
  height: calc(100dvh - 90px);
  overflow: hidden;
}
div.menu ul {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space);
  padding: 5px calc(var(--space) / 2) 5px  var(--space);
  max-height: calc(100dvh - 160px);
  overflow-y: auto;
}
div.menu ul li {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: var(--space);
  grid-auto-rows: 40px;
  padding: 20px;
  width: calc((100% - var(--space)) / 2);
  background: var(--aside);
  border-radius: 8px;
  box-shadow: 1px 1px 2px var(--button-color);
  cursor: pointer;
}
div.menu ul li > * {
  cursor: pointer;
}
div.menu ul li img {
  display: grid;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
  padding: 10px 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
div.menu ul li label {
  display: grid;
  grid-column-start: 2;
  grid-column-end: 5;
  grid-row-start: 1;
  grid-row-end: 2;
  padding-inline: 20px;
}
div.menu ul li span {
  display: flex;
  grid-column-start: 2;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 3;
  align-items: end;
  justify-content: end;
  padding-inline: 20px 0;
  font-size: 22px;
  text-align: right;
}
div.menu ul li span::after {
  display: block;
  content: "円";
  margin-left: 0.5em;
  font-size: 12px;
  line-height: 1em;
}
@media screen and (width < 1000px) {
  div.menu ul {
    gap: 20px 0;
  }
  div.menu ul li {
    width: 100%;
  }
}
/**********************************************************************
login
/**********************************************************************/
div.login {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-inline: 50px;
  width: calc(100% - 100px);
  max-width: 800px;
  height: 450px;
  border-radius: 20px;
  box-shadow: 0px 0px 20px 5px #ffffff57;
  position: absolute;
  inset: 0;
  margin: auto;
}
div.login > div {
  width: 50%;
  padding-inline: 0;
}
div.login > div:first-child::before {
  display: block;
  content: "";
  margin: auto;
  margin-bottom: 46px;
  width: 100%;
  height: 270px;
  background: url(../image/logo.png) no-repeat center / 100%;
}
div.login input {
  height: 50px;
  border-radius: 8px;
  border: 2px solid var(--button-color);
  font-size: 20px;
  text-align: center;
  outline: none;
}
div.login input::placeholder {
  font-size: 12px;
  color: var(--main);
}
div.login a.button.login {
  width: 100%;
}
div.login a.button.login::before {
  background-image: url(../image/receipt.svg);
  background-size: 90%;
  top: 2px;
}
/**********************************************************************
dialog
/**********************************************************************/
div.dialog {
  width: 1000px;
  max-width: calc(100% - 100px);
  height: 600px;
  max-height: calc(100dvh - 100px);
  background: var(--aside);
  border-radius: 8px;
  box-shadow: 0 0 5px 1px #ffffffdb;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
div.dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 20px 10px;
  width: 100%;
  height: 45px;
  background: #c19d6a;
  color: #fff;
  border-radius: 8px 8px 0 0;
}
div.dialog > header label {
  font-size: 16px;
  text-shadow: 0.05em 0.05em #606060;
}
div.dialog > header label span {
  display: flex;
  align-items: center;
}
div.dialog > header label span::before {
  display: block;
  content: "";
  margin-right: 5px;
  width: 18px;
  height: 18px;
  background: no-repeat center / 100%;
  position: relative;
}
div.dialog > header label span.newslip::before {
  background-image: url(../image/receipt.svg);
  background-size: 90%;
  top: 2px;
}
div.dialog > header label span.orders::before {
  background-image: url(../image/orders.svg);
  background-size: 80%;
  top: 1px;
}
div.dialog > header label span.eatin::before {
  background-image: url(../image/order_eatin.svg);
  top: 2px;
  left: -3px;  
}
div.dialog > header label span.takeout::before {
  background-image: url(../image/order_takeout.svg);
  background-size: 80%;
  top: 1px;
}
div.dialog > header a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-family: cursive;
}

div.dialog main {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: calc(100% - 45px);
  border-radius: 0 0 8px 8px;
}
div.dialog main.selector ul {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 25%;
}
div.dialog main.selector ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: #ffebd0;
  color: #865900;
  border-radius: 8px;
  box-shadow: 1px 1px 2px #c19d6a;
  cursor: pointer;
}
div.dialog main.selector ul li:hover {
  background: #ffe9a7;
}
div.dialog main ul.amount {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding-inline: 50px;
  width: 50%;
}
div.dialog main ul.amount li {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-inline: 10px;
  padding-bottom: 10px;
  height: 60px;
  border-bottom: 1px solid var(--button-color);
}
div.dialog main ul.amount li.current {
  background: #ffffff38;
  border-radius: 3px;
}
div.dialog main ul.amount li span {
  display: flex;
  align-items: flex-end;
  font-size: 50px;
  line-height: 1em;
}
div.dialog main ul.amount li span::after {
  display: block;
  content: "円";
  margin-left: 0.5em;
  font-size: 16px;
  line-height: 1em;
}
div.account {
  display: flex;
  flex-direction: column;
  gap: 45px;
  padding-inline: 50px;
  width: 50%;
}
div.account > div {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
div.account > ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 60px;
  gap: 10px;
}
div.account > ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--button-color);
  border-radius: 3px;
  font-size: 26px;
  cursor: pointer;
}
div.account a.button {
  width: 160px;
}
div.account a.button::before {
  display: block;
  content: "";
  margin-right: 10px;
  width: 18px;
  height: 18px;
  background: no-repeat center / 100%;
  position: relative;
}
div.account a.button.paypay {
  padding-bottom: 5px;
}
div.account a.button.paypay::before {
  mask-image: url(../image/icon0084.svg);
  background: #fff;
  top: 3px;
}
div.account a.button.cash::before {
  background-image: url(../image/cash.svg);
}
div.account a.button.reset::before {
  background-image: url(../image/reset.svg);
  top: 1px;
}
div.account a.button.accept {
  background: #ee8a00;
  text-shadow: 0.05em 0.05em #888;
}
div.account a.button.accept::before {
  background-image: url(../image/receipt.svg);
  background-size: 90%;
  top: 2px;
}
/**********************************************************************
receipt
/**********************************************************************/
div.receipt {
  padding-block: 0;
  padding-inline: 0mm 12mm;
  width: 60mm;
  height: auto;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 20px;
}
div.receipt * {
  page-break-before: avoid;
  page-break-after: avoid;
}
div.receipt header {
  padding-bottom: 20px;
  font-size: 0.9em;
}
div.receipt header h1 {
  display: block;
  width: 100%;
  height: 70px;
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: center;
}
div.receipt section ul {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-top: 1px solid #000;
}
div.receipt section ul.slip li {
  padding-top: 20px;
}
div.receipt section ul.slip li div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
div.receipt section ul.total {
  padding-top: 10px;
}
div.receipt section ul.total li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
div.receipt section span.tax {
  font-size: 0.9em;
  line-height: 0.9em;
}
div.receipt footer {
  font-size: 0.9em;
}
div.receipt footer address {
  font-style: normal;
}
div.receipt footer span {
  display: block;
  padding-bottom: 10px;
  font-family: "Stack Sans Headline", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
}
/**********************************************************************
slips
/**********************************************************************/
div.slips {
  padding-block: 0;
  padding-inline: 0mm 12mm;
  width: 60mm;
  height: auto;
  background: #fff;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  page-break-before: always;
}
div.slips * {
  page-break-before: avoid;
  page-break-after: avoid;
}
div.slips header {
  padding-bottom: 20px;
  font-size: 0.9em;
}
div.slips header h1 {
  display: block;
  width: 100%;
  height: 70px;
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: center;
}
div.slips section ul {
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  border-top: 1px solid #000;
}
div.slips section ul.slip li {
  padding-top: 20px;
}
div.slips section ul.slip li div {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
@media print {
  body {
    width: 60mm;
    background: #fff;
  }
  body > *:not(div.receipt, div.slips) {
    display: none;
  }
}
/**********************************************************************
list
/**********************************************************************/
div.dialog main:has(div.list) {
  padding: 10px;
}
div.list {
  padding-inline: 10px;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
div.list table {
  width: 100%;
  border-spacing: 0;
}
div.list table thead tr td {
  padding: 10px;
  font-size: 0.85em;
  background: var(--main);
  position: sticky;
  top: 0;
}
div.list table tbody tr td {
  padding-inline: 10px;
  height: 50px;
  background: #fff;
  border-bottom: 1px solid var(--main);
}
div.list table tbody tr.cancel td:not(:last-child) {
  text-decoration: line-through;
}
div.list table a.button {
  width: 80px;
  height: 36px;
  font-size: 0.8em;;
}
/**********************************************************************
detail
/**********************************************************************/
div.detail {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
}
div.detail > div:first-child {
  width: 50%;
  overflow-y: auto;
}
div.detail div.receipt {
  margin: auto;
  padding-block: 50px;
  padding-inline: 20px;
  width: 300px;
}
div.detail > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 50%;
}
div.detail a.button {
  width: 240px;
}
div.detail a.button::before {
  display: block;
  content: "";
  margin-right: 10px;
  width: 18px;
  height: 18px;
  background: no-repeat center / 100%;
  position: relative;
}
div.detail a.button.cancel {
  background: #ee8a00;
  text-shadow: 0.05em 0.05em #888;
}
div.detail a.button.cancel::before {
  background-image: url(../image/cancel.svg);
  background-size: 100%;
  top: 2px;
}
div.detail a.button.back::before {
  background-image: url(../image/orders.svg);
  background-size: 80%;
  top: 2px;
}
