@charset "UTF-8";

/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/

*,
*:before,
*:after {
  box-sizing: border-box;
  overscroll-behavior: contain;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
figure,
figcaption,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  vertical-align: baseline;
  -webkit-text-size-adjust: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
  display: block;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:active,
a:hover {
  outline-width: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

b {
  font-weight: inherit;
  font-weight: 700;
}

strong {
  font-weight: normal;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #eee;
  color: #222;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

iframe {
  border: none;
}

img {
  border-style: none;
  vertical-align: middle;
  height: auto;
  max-width: 100%;
}

svg:not(:root) {
  overflow: hidden;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #000;
  border: none;
}

fieldset {
  border: 1px solid #bbb;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0 5px;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  outline-offset: -2px;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details,
menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/

body {
  color: #333;
  font-family: "Hiragino Kaku Gothic ProN", Meiryo, "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
  line-height: 1.5;
  font-feature-settings: "palt";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  line-height: 1.4;
}

p {
  margin: 0;
  padding: 0;
}

p + p {
  margin-top: 2em;
}

dfn,
cite,
em,
i {
  font-style: normal;
}

blockquote {
  color: #666;
  overflow: hidden;
}

blockquote cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  margin-top: 0.5em;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
  cursor: help;
}

mark,
ins {
  background: #eee;
  text-decoration: none;
}

blockquote {
  quotes: "" "";
}

q {
  quotes: "“" "”" "‘" "’";
}

blockquote:before,
blockquote:after {
  content: "";
}

:focus {
  outline: none;
}

/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/

input {
  vertical-align: middle;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
textarea:focus {
  color: #222;
  border-color: #333;
}

select {
  border: 1px solid #bbb;
  border-radius: 3px;
  max-width: 100%;
}

input[type=radio],
input[type=checkbox] {
  margin-right: 0.5em;
}

input[type=radio] + label,
input[type=checkbox] + label {
  font-weight: 400;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  display: inline-block;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
Lists
--------------------------------------------------------------*/

ul,
ol {
  margin: 0;
  padding: 0;
}

dt {
  font-weight: normal;
}

dd {
  margin: 0;
}

nav li {
  list-style: none;
  margin-left: 0;
}

/*--------------------------------------------------------------
Tables
--------------------------------------------------------------*/

table {
  border-collapse: collapse;
}

td,
th {
  border: 1px solid #bbb;
  padding: 5px;
}

/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/

a {
  color: #007dd5;
  text-decoration: none;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  color: #0069b2;
  outline: 0;
  text-decoration: underline;
}

@-webkit-keyframes slide-up {
  from {
    transform: translateY(15vh);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(15vh);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes slide-up-large {
  from {
    transform: translateY(600%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-up-large {
  from {
    transform: translateY(600%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes zoom-in {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@keyframes zoom-in {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

@-webkit-keyframes pulse {
  0% {
    transform: translateX(-50%) scale(1);
  }

  30% {
    transform: translateX(-50%) scale(1);
  }

  40% {
    transform: translateX(-50%) scale(1.08);
  }

  50% {
    transform: translateX(-50%) scale(1);
  }

  60% {
    transform: translateX(-50%) scale(1);
  }

  70% {
    transform: translateX(-50%) scale(1.05);
  }

  80% {
    transform: translateX(-50%) scale(1);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: translateX(-50%) scale(1);
  }

  30% {
    transform: translateX(-50%) scale(1);
  }

  40% {
    transform: translateX(-50%) scale(1.08);
  }

  50% {
    transform: translateX(-50%) scale(1);
  }

  60% {
    transform: translateX(-50%) scale(1);
  }

  70% {
    transform: translateX(-50%) scale(1.05);
  }

  80% {
    transform: translateX(-50%) scale(1);
  }

  100% {
    transform: translateX(-50%) scale(1);
  }
}

@-webkit-keyframes drop {
  from {
    opacity: 0;
    transform: translate(-50%, -100%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translate(-50%, -100%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@-webkit-keyframes fade-out-color-dark {
  0% {
    background-color: #8d0000;
  }

  100% {
    background-color: transparent;
  }
}

@keyframes fade-out-color-dark {
  0% {
    background-color: #8d0000;
  }

  100% {
    background-color: transparent;
  }
}

@-webkit-keyframes fade-out-color-light {
  0% {
    background-color: #ffdc68;
  }

  100% {
    background-color: transparent;
  }
}

@keyframes fade-out-color-light {
  0% {
    background-color: #ffdc68;
  }

  100% {
    background-color: transparent;
  }
}

@-webkit-keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }

  50% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/

label {
  display: block;
  cursor: pointer;
}

input {
  vertical-align: middle;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
textarea {
  background-image: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid #bbb;
  border-radius: 3px;
  font-weight: normal;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
textarea:focus {
  color: #222;
  border-color: #333;
}

select {
  border: 1px solid #bbb;
  border-radius: 3px;
  max-width: 100%;
  min-height: 1.9em;
  background: #fff;
}

input[type=radio],
input[type=checkbox] {
  margin-right: 0.5em;
}

input[type=radio] + label,
input[type=checkbox] + label {
  font-weight: 400;
}

button,
input[type=button],
input[type=reset],
input[type=submit] {
  cursor: pointer;
  display: inline-block;
  padding: 5px;
}

button:disabled,
input[type=button]:disabled,
input[type=reset]:disabled,
input[type=submit]:disabled {
  cursor: not-allowed;
}

input[type=number].no-spin {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type=number].no-spin::-webkit-outer-spin-button,
input[type=number].no-spin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Placeholder text color -- selectors need to be separate to work. */

::-webkit-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

:-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

::-moz-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #333;
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

/*--------------------------------------------------------------
Lists
--------------------------------------------------------------*/

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: normal;
}

dd {
  margin: 0;
}

nav li {
  list-style: none;
  margin-left: 0;
}

.place-center {
  display: grid;
  place-items: center;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

.flex-3 {
  flex: 3;
}

.flex-4 {
  flex: 4;
}

.flex-5 {
  flex: 5;
}

.flex-6 {
  flex: 6;
}

.flex-7 {
  flex: 7;
}

.flex-8 {
  flex: 8;
}

.flex-9 {
  flex: 9;
}

.flex-10 {
  flex: 10;
}

.fs-0\.1em {
  font-size: 0.1em;
}

.fs-0\.2em {
  font-size: 0.2em;
}

.fs-0\.3em {
  font-size: 0.3em;
}

.fs-0\.4em {
  font-size: 0.4em;
}

.fs-0\.5em {
  font-size: 0.5em;
}

.fs-0\.6em {
  font-size: 0.6em;
}

.fs-0\.7em {
  font-size: 0.7em;
}

.fs-0\.8em {
  font-size: 0.8em;
}

.fs-0\.9em {
  font-size: 0.9em;
}

.mx-auto {
  margin-right: auto;
  margin-left: auto;
}

.btn {
  padding: 10px 20px;
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  border-radius: 100vmax;
  background: var(--bg-color);
}

.btn:hover {
  background: var(--bg-color);
}

.btn-white {
  --bg-color: #fff;
  color: #222;
}

.btn-dark {
  --bg-color: #1a1b1d;
  color: #fff;
}

.btn-gray {
  --bg-color: #eee;
  color: #222;
}

.btn-primary {
  --bg-color: rgb(0, 117, 235);
  color: #fff;
}

.btn-success {
  --bg-color: hsl(120, 100%, 30%);
  color: #fff;
}

.btn-danger {
  --bg-color: rgb(232, 61, 18);
  color: #fff;
}

.btn-warning {
  --bg-color: rgb(255, 187, 0);
  color: #222;
}

/* ==========================================================================================
** <noscript>
** --------------------------------------------------------------------------------------- */

noscript {
  display: block;
  padding: 20px;
  border: 4px double;
  margin: 10px;
}

noscript h1 {
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 18px;
}

noscript p {
  margin-bottom: 20px;
}

noscript dl {
  margin: 20px 0 0;
}

noscript dl dt {
  margin-bottom: 10px;
}

noscript dl dd + dt {
  margin-top: 20px;
}

/* ==========================================================================================
** モーダル
** --------------------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  z-index: 10000;
  font-family: sans-serif;
  display: grid;
  place-items: center;
  padding: 5px 10px;
  touch-action: none;
  box-sizing: border-box;
  color: black;
}

.modal * {
  box-sizing: border-box;
}

.modal.close.animation {
  -webkit-animation: fade-out 0.3s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
  animation: fade-out 0.3s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
}

.modal[hidden] {
  display: none;
}

.modal_container {
  font-size: 16px;
  background: #f2f2f6;
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 300px;
  max-width: 100vw;
  box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.02), 0 6.7px 5.3px rgba(0, 0, 0, 0.028), 0 12.5px 10px rgba(0, 0, 0, 0.035), 0 22.3px 17.9px rgba(0, 0, 0, 0.042), 0 41.8px 33.4px rgba(0, 0, 0, 0.05), 0 100px 80px rgba(0, 0, 0, 0.07);
}

.modal_container.animation {
  -webkit-animation: expand 0.5s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
  animation: expand 0.5s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
}

.modal_container.close.animation {
  -webkit-animation: shrink 0.3s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
  animation: shrink 0.3s cubic-bezier(0.78, 0.1, 0.6, 0.92) forwards;
}

.modal_header {
  position: relative;
}

.modal_title {
  text-align: center;
  font-weight: bold;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.modal_title:empty {
  display: none;
}

.modal_close {
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: none;
  padding: 5px 10px;
}

.modal_body {
  line-height: 1.5;
  margin: 10px 0;
  padding: 10px 0;
}

.modal_body.animation {
  opacity: 0;
  transform: translateY(10%);
  transition-duration: 0.4s;
  transition-delay: 0.3s;
  transition-timing-function: cubic-bezier(0.03, 0.52, 0.27, 0.88);
}

.modal_body.open.animation {
  opacity: 1;
  transform: translateY(0);
}

.modal_body:empty {
  display: none;
}

.modal_footer {
  display: flex;
  flex-wrap: flex;
  justify-content: center;
  gap: 5px;
}

.modal_footer:empty {
  display: none;
}

.modal_btn {
  border-width: 0;
  background-color: transparent;
  padding: 10px 5px;
  cursor: pointer;
  font-size: 14px;
  flex: 1;
  max-width: 50%;
}

.modal_btn[disabled] {
  color: #888;
  cursor: not-allowed;
}

.modal_prompt {
  width: 100%;
  padding: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.modal_prompt.error {
  border-color: hsl(0deg, 100%, 42%);
  background: hsl(0deg, 100%, 98%);
}

@-webkit-keyframes expand {
  0% {
    transform: scale(0);
  }

  40% {
    transform: scale(0.01, 0.5);
  }

  50%, 70% {
    transform: scale(0.02, 1);
  }

  100% {
    transform: scale(1, 1);
  }
}

@keyframes expand {
  0% {
    transform: scale(0);
  }

  40% {
    transform: scale(0.01, 0.5);
  }

  50%, 70% {
    transform: scale(0.02, 1);
  }

  100% {
    transform: scale(1, 1);
  }
}

@-webkit-keyframes shrink {
  100% {
    opacity: 0.1;
    transform: scale(0);
  }

  0% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shrink {
  100% {
    opacity: 0.1;
    transform: scale(0);
  }

  0% {
    opacity: 1;
    transform: scale(1);
  }
}

@-webkit-keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

:root {
  --header-height: clamp(50px, 6vh, 100px);
  --footer-height: clamp(60px, 6vh, 100px);
  --fontawesome: "Font Awesome 5 Free";
  --border-color: #e4e4e4;
  --easeOutQuint: cubic-bezier(0.23, 1, 0.32, 1);
  --easeOutExpo: cubic-bezier(0.19, 1, 0.22, 1);
  --item-name: clamp(1.25rem, 0.966rem + 1.21vw, 1.875rem);
}

html,
body {
  height: 100%;
  min-height: 100svh;
  touch-action: manipulation;
  overscroll-behavior-y: none;
}

body {
  overflow: auto;
}

body.overflow-hidden {
  overflow: hidden;
}

#app-container {
  min-height: 100%;
  min-height: 100svh;
  max-height: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: grid;
  grid-template: "header" var(--header-height) "body" 1fr "footer" var(--footer-height);
}

.app-header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  touch-action: none;
}

.app-body {
  grid-area: body;
  overflow-y: auto;
  width: min(100%, 1000px);
  margin: 0 auto;
}

.app-footer {
  grid-area: footer;
  display: flex;
  border-top: 1px solid var(--border-color);
  touch-action: none;
}

.btn-outer {
  position: relative;
  flex: 1;
  display: flex;
}

.btn-outer .badge {
  position: absolute;
  right: 45%;
  top: 1px;
  transform: translateX(170%);
  background: rgb(246, 60, 39);
  color: #fff;
  border-radius: 100vmax;
  line-height: 1;
  padding: 2px 3px;
  min-width: 1.5rem;
  min-height: 1.5rem;
  font-size: clamp(0.813rem, 0.744rem + 0.34vw, 1rem);
  display: grid;
  place-items: center;
  font-weight: normal;
  font-feature-settings: "tnum";
}

.icon-button {
  background: none;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: clamp(1.25rem, 0.966rem + 1.21vw, 1.875rem);
  gap: 3px;
}

.icon-button span {
  font-size: 10px;
}

.icon-button:disabled {
  opacity: 0.5;
}

.header-nav {
  flex: 1;
  padding-left: 5px;
  display: flex;
  gap: 3px;
  max-width: calc(100vw - var(--header-height));
  overflow: auto;
}

.header-nav button {
  padding: 0 3px;
  background: none;
  font-size: clamp(0.8rem, 0.482rem + 1.36vw, 1.5rem);
  text-align: left;
  white-space: nowrap;
}

.header-nav button + button::before {
  font-family: var(--fontawesome);
  content: "\f105";
  font-weight: 900;
  color: hsl(200deg, 3%, 63%);
}

.header-nav button.page-name {
  font-size: clamp(1.2rem, 0.84rem + 1.54vw, 1.8rem);
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-nav button.page-name .shop-name {
  font-size: 16px;
}

.header-nav button.page-name .shop-name:empty {
  display: none;
}

.header-nav button:disabled {
  opacity: 0.5;
}

.btn-menu {
  width: var(--header-height);
  background: none;
}

.btn-menu > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: clamp(1.25rem, 0.966rem + 1.21vw, 1.875rem);
}

.btn-menu > div[hidden] {
  display: none;
}

.btn-menu > div span {
  font-size: 10px;
}

.btn-menu:disabled {
  opacity: 0.5;
}

.drawer {
  position: absolute;
  z-index: 9999;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior-y: none;
  height: calc(100vh - var(--header-height));
  transition-duration: 0.7s;
  transition-property: transform, visibility;
  transition-timing-function: var(--easeOutExpo);
  transform: translateX(100%);
  visibility: hidden;
}

@supports (height: calc(100vh - var(--header-height) - var(--footer-height))) {
  .drawer {
    height: calc(100vh - var(--header-height) - var(--footer-height));
  }
}

@supports (height: 100svh) {
  .drawer {
    height: calc(100svh - var(--header-height) - var(--footer-height));
  }
}

.drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.menu-list {
  width: 100%;
  background: #fff;
}

.menu-list li {
  border-bottom: 1px dotted var(--border-color);
  background: #fff;
}

.menu-list button {
  width: 100%;
  padding: 10px 5px;
  background: none;
}

.trade-law {
  position: -webkit-sticky;
  position: sticky;
  top: 100%;
  text-align: center;
  padding: 10px;
}

.trade-law button {
  color: #555;
  font-size: 14px;
}

.trade-law-iframe {
  height: 99%;
  width: 100%;
  overflow-y: auto;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  gap: max(1px, 0.266vw);
}

.grid-list img {
  width: 100%;
  aspect-ratio: 1/1;
}

.grid-list-item {
  position: relative;
  display: grid;
  place-items: center;
}

.grid-list-item .no-item {
  font-size: clamp(1.25rem, 0.568rem + 3.41vw, 3.125rem);
  color: hsl(200deg, 3%, 63%);
}

.grid-name {
  position: absolute;
  right: 0;
  bottom: 5px;
  font-size: clamp(0.813rem, 0.665rem + 0.74vw, 1.125rem);
  padding: 2px 3px;
  text-align: right;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.6);
  border-radius: 2px 0 0 2px;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.category {
  padding: 0;
}

.category:disabled {
  opacity: 0.5;
}

.item-folder .exists-order {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #fff;
  border-radius: 100vmax;
  width: 30px;
  height: 30px;
  font-size: 14px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  display: grid;
  place-items: center;
}

.item-list {
  display: grid;
  gap: 2px;
}

.item-box {
  display: grid;
  grid-template: "image item" "option option"/min(33.333%, 200px) 1fr;
}

.item-box.item-sold-out {
  filter: grayscale(0.9);
  color: #999;
}

.item-box.item-sold-out button,
.item-box.item-sold-out input {
  color: #999;
}

.item {
  grid-area: item;
  padding: 1px 2px 1px 5px;
  display: grid;
  grid-template: "status ." -webkit-max-content "name name" -webkit-max-content "price count" "info info"/max-content 1fr;
  grid-template: "status ." max-content "name name" max-content "price count" "info info"/max-content 1fr;
}

.item-image {
  grid-area: image;
  aspect-ratio: 1/1;
}

.item-image img {
  width: 100%;
}

.item-option {
  --height: 0;
  --padding-bottom: 10px;
  grid-area: option;
  background: hsl(180deg, 9%, 93%);
  overflow-y: hidden;
  height: 0px;
  padding: 0 0 0px var(--padding-bottom);
  transition-duration: 0.3s;
  transition-timing-function: var(--easeOutQuint);
}

.item-option.accordion-open {
  height: calc(var(--height) + var(--padding-bottom));
  padding: 0 0 10px var(--padding-bottom);
}

.item-option .option-list {
  display: grid;
  gap: 3px;
}

.item-status {
  grid-area: status;
  background: #999;
  color: #fff;
  display: inline-block;
  padding: 2px 5px;
  border-radius: 2px;
  text-align: center;
}

.item-name {
  grid-area: name;
  font-weight: bold;
  font-size: clamp(1.25rem, 0.966rem + 1.21vw, 1.875rem);
}

.item-price {
  grid-area: price;
  align-self: center;
  font-size: clamp(1rem, 0.83rem + 0.73vw, 1.375rem);
}

.item-price span {
  font-size: clamp(0.75rem, 0.6rem + 0.64vw, 1rem);
}

.item-count {
  grid-area: count;
}

.count-box {
  display: grid;
  justify-self: end;
  align-self: center;
  gap: 1px;
}

.count-box:not(.history-item-count) {
  grid-template: "minus count plus" "remaining remaining remaining"/50px clamp(2.4rem, 2.19rem + 0.9vw, 2.75rem) 50px;
}

.count-box.history-item-count {
  grid-template: "count"/clamp(2.4rem, 2.19rem + 0.9vw, 2.75rem);
}

.count-box .count-button {
  background: none;
  width: 50px;
  height: 50px;
  border: 1px solid #777;
  border-radius: 100vmax;
  background: #fff;
}

.count-box .count-button:disabled {
  border-color: #ccc;
  background: #f1f1f1;
  color: #a8a8a8;
}

.count-box .count-button:first-child {
  grid-area: minus;
}

.count-box .count-button:not(:first-child) {
  grid-area: plus;
}

.count-box .count {
  grid-area: count;
  display: inline-block;
  width: clamp(2.4rem, 2.19rem + 0.9vw, 2.75rem);
  font-size: clamp(1.4rem, 1.19rem + 0.9vw, 1.75rem);
  font-weight: bold;
  padding: 0;
  border: none;
  text-align: center;
}

.count-box .count.count-error {
  color: red;
  background: rgb(255, 243, 243);
}

.count-box .remaining-amount {
  grid-area: remaining;
  font-size: 12px;
  text-align: center;
  color: #555;
}

.item-sold-out .count-box .remaining-amount {
  color: #999;
}

.count-box .remaining-amount.count-error {
  color: red;
  font-weight: bold;
}

.item-info {
  grid-area: info;
  font-size: 13px;
  color: #777;
}

.item-info:empty {
  display: none;
}

.option-container {
  background: #fff;
  padding: 3px 2px 3px 5px;
  border-left: 2px solid #aaa;
}

.option-container.option-error {
  background: rgb(255, 248, 204);
  border-left-color: rgb(255, 157, 0);
}

.option-heading strong {
  font-weight: bold;
}

.option-heading [class^=option-count-] {
  font-weight: bold;
  font-size: 1.2rem;
}

.option-box {
  display: grid;
  grid-template-columns: 1fr -webkit-max-content;
  grid-template-columns: 1fr max-content;
  grid-auto-rows: -webkit-max-content;
  grid-auto-rows: max-content;
  gap: 2px;
}

.option-name {
  align-self: center;
  display: flex;
  align-items: center;
}

.option-name::after {
  content: "";
  flex: 1;
  border-bottom: 1px dotted #bbb;
  margin: 0 10px;
}

.option-check-icon {
  color: #bbb;
  font-size: 18px;
}

.option-check-icon.ok {
  color: green;
}

.order-container {
  display: grid;
  grid-template-rows: -webkit-max-content 1fr 110px;
  grid-template-rows: max-content 1fr 110px;
  height: 100%;
}

.order-header {
  text-align: center;
  background: rgb(255, 245, 209);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.order-header .icon {
  color: rgb(255, 179, 0);
}

.order-footer {
  display: flex;
  padding: 50px 5px 10px;
  justify-content: center;
  gap: 5px;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgb(255, 255, 255) 100%);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.order-list {
  padding: 5px 0 10px;
  display: grid;
  grid-auto-rows: -webkit-max-content;
  grid-auto-rows: max-content;
  gap: 2px;
}

.order {
  display: grid;
  grid-template-columns: 1fr -webkit-min-content 140px;
  grid-template-columns: 1fr min-content 140px;
  background: #fff;
  border-bottom: 1px solid #b8b8b8;
  padding: 3px 0;
}

.order .order-item-name {
  padding: 1px 2px;
  font-weight: bold;
  display: grid;
  align-items: start;
  font-size: 20px;
  line-height: 1.1;
}

.order .order-item-name span {
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order .order-item-price {
  display: grid;
  align-items: center;
  padding: 5px;
  text-align: right;
  white-space: nowrap;
}

.order .order-item-price.free {
  font-weight: bold;
}

.order .order-item-count {
  font-weight: bold;
  font-size: clamp(1.4rem, 1.19rem + 0.9vw, 1.75rem);
  text-align: center;
  display: grid;
  place-items: center;
  grid-template-columns: 45px 1fr 45px;
  padding-right: 2px;
}

.order .order-item-count .count {
  font-feature-settings: "tnum";
}

.order .btn-count {
  border: 1px solid #aaa;
  border-radius: 100vh;
  font-size: 20px;
  width: 45px;
  height: 45px;
  padding: 0;
  line-height: 1;
  display: grid;
  place-items: center;
  background: #fff;
}

.order .btn-count:disabled {
  background: #f1f1f1;
  color: #a8a8a8;
}

.order.order-group {
  background-color: var(--item-set-color);
}

.order .option::before {
  content: "┗";
  color: #ee7300;
  margin-right: 3px;
}

.order.free {
  background-color: var(--item-free-color);
}

.history-container {
  display: grid;
  grid-template-rows: -webkit-max-content 1fr 110px;
  grid-template-rows: max-content 1fr 110px;
  height: 100%;
}

.history-header {
  text-align: center;
  background: rgb(255, 245, 209);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

.history-header .icon {
  color: rgb(255, 179, 0);
}

.history-footer {
  display: flex;
  padding: 50px 5px 10px;
  justify-content: center;
  gap: 5px;
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 40%, rgb(255, 255, 255) 100%);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.history-list {
  padding: 5px 0 10px;
  display: grid;
  grid-auto-rows: -webkit-max-content;
  grid-auto-rows: max-content;
  gap: 2px;
}

.history {
  grid-template: "item" -webkit-max-content "option" -webkit-max-content;
  grid-template: "item" max-content "option" max-content;
  padding: 1px;
}

.history .history-item {
  display: grid;
  align-items: center;
  grid-template: "name price count" "option option option"/1fr -webkit-max-content -webkit-max-content;
  grid-template: "name price count" "option option option"/1fr max-content max-content;
  gap: 2px;
  width: 100%;
  background: transparent;
  text-align: left;
  padding: 0;
}

.history .history-item-name {
  grid-area: name;
  font-size: clamp(1.25rem, 0.966rem + 1.21vw, 1.875rem);
  padding-left: 2px;
}

.history .history-item-price {
  grid-area: price;
  font-size: clamp(0.75rem, 0.466rem + 1.21vw, 1.375rem);
}

.history .history-item-price span {
  font-size: clamp(0.625rem, 0.398rem + 1.14vw, 1.25rem);
}

.history .history-item-count {
  grid-area: count;
}

.history .history-item-option {
  grid-area: option;
}

.history .history-item-option-name {
  font-size: clamp(1rem, 0.7rem + 1.28vw, 1.5rem);
  padding-left: 1.5rem;
}

.out-list {
  max-width: 100%;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  margin: 10px auto;
}

.out-list li {
  max-width: 100%;
}