@charset "UTF-8";
.font-press-start-2p-regular {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-squada-one-regular {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-wallpoet-regular {
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-sans-black {
  font-family: sans-serif;
  font-weight: 700;
  font-style: normal;
}

:root {
  --transition-delay: 500ms;
  --transition-delay-fast: 250ms;
  --color-pink: #FF0A88;
  --color-cyan: #00ffff;
  --color-green: #0AFF84;
  --font-size-h1: 1.75rem;
  --font-size-h2: 1.5rem;
  --font-size-h3: 1.25rem;
  --font-size-h4: 1.2rem;
  --font-size-h5: 1.1rem;
  --font-size-h6: 1rem;
}

.text-pink {
  color: var(--color-pink);
}

.text-green {
  color: var(--color-green);
}

.text-cyan {
  color: var(--color-cyan);
}

.text-coming-soon {
  text-align: center;
  padding: 1.5em 0;
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
}

a.has-arrow::after {
  /* <i class="fa-solid fa-chevron-right"></i> */
  content: "\f054";
  display: inline;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 70%;
  vertical-align: middle;
  margin-left: 1ex;
  margin-right: 1ex;
}

.section + .section {
  margin-top: 1.5rem;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1ex;
  margin-bottom: 1.5rem;
}

.page-title {
  font-weight: 600;
  font-size: var(--font-size-h1);
}

.box {
  background: var(--bs-dark-bg-subtle);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--bs-border-radius-lg);
  --box-padding-x: 1.5rem;
  --box-padding-y: 1rem;
  --title-font-size: var(--font-size-h1);
}

.box-header {
  display: flex;
  align-items: center;
  gap: 1ex;
  padding: var(--box-padding-y) var(--box-padding-x) calc(var(--box-padding-y) * 0.5);
}
.box-header .box-title {
  font-size: var(--title-font-size);
  font-weight: 600;
  color: var(--title-color, inherit);
  margin-bottom: 0;
  flex-grow: 1;
}
.box-header a {
  font-weight: 500;
}
.box-header a:not(:active):not(:hover) {
  text-decoration: none;
}

.box-body {
  padding: var(--box-padding-y) var(--box-padding-x);
}
.box-body > p:last-child, .box-body > ul:last-child {
  margin-bottom: 0;
}

.box-buttons {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.box-buttons .btn {
  display: block;
  width: 100%;
}
@media (min-width: 992px) {
  .box-buttons {
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.box-hero {
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.box-hero > :last-child {
  margin-bottom: 0;
}

.box--main {
  --title-font-size: var(--font-size-h2);
}
.box--main .box-header {
  text-align: center;
}

.row.box-group {
  --bs-gutter-y: 1rem;
}

.row .box {
  --title-font-size: var(--font-size-h6);
}

.box--sucesss {
  --title-color: var(--bs-success-text-emphasis);
  border: 2px solid var(--bs-success);
}

.box--warning {
  --title-color: var(--bs-warning-text-emphasis);
  border: 2px solid var(--bs-warning);
}

/* == templates/app/form.html == */
.form-label {
  font-size: 100%;
}

.form-control-w10em, .form-field input.form-control[maxlength="10"], .form-field input.form-control[maxlength="9"], .form-field input.form-control[maxlength="8"], .form-field input.form-control[maxlength="7"], .form-field input.form-control[maxlength="6"], .form-field input.form-control[maxlength="5"], .form-field input.form-control[maxlength="4"], .form-field input.form-control[maxlength="3"], .form-field input.form-control[maxlength="2"], .form-field input.form-control[maxlength="1"] {
  width: 10em;
}

.form-field {
  /* 10文字以下なら10文字程度の長さに統一する */
}
.form-field input[type=number],
.form-field input[type=date],
.form-field input[type=datetime-local] {
  width: min-content;
}

.form-buttons {
  display: flex;
  justify-content: center;
  /* 構造上はsubmit, back と並べてもUI上は Back Submit と出るようにreverse */
  flex-direction: row-reverse;
  gap: 1rem;
}

fieldset + fieldset {
  margin-top: 1.5rem;
}

/* CrispyForm */
.asteriskField {
  display: inline-flex;
  align-items: center;
  color: rgba(0, 0, 0, 0);
}
.asteriskField::after {
  content: attr(title);
  font-size: 75%;
  font-weight: 600;
  background-color: var(--bs-primary);
  color: #FFFFFF;
  padding: 0 1ex;
  border-radius: 3px;
}

/* == templates/app/list.html == */
.form--search input[name$=_min], .form--search input[name$=_max] {
  width: auto;
  display: inline-block;
}

.list-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.cell-actions {
  text-align: end;
}

.search-form {
  border: 1px solid var(--bs-gray-400);
  margin-bottom: 3em;
}
.search-form .form-title {
  background-color: var(--bs-gray-100);
  font-size: 1em;
  padding: 1em;
  display: flex;
  align-items: center;
  gap: 1ex;
}
.search-form .form-body {
  padding: 1em;
}
.search-form .form-buttons {
  text-align: center;
}

.table--list {
  font-size: 14px;
}
.table--list thead th {
  --bs-table-bg: var(--bs-gray-100);
  --bs-table-color: var(--bs-gray-600);
  font-size: 92.8%;
}
.table--list tbody {
  vertical-align: middle;
}
.table--list p {
  margin-bottom: 0;
}
.table--list thead th, .table--list tbody th:first-child {
  white-space: nowrap;
  font-weight: 400;
}
.table--list .btn {
  min-width: calc(var(--bs-btn-padding-x) * 2 + var(--btn-min-width, 3) * 1.2em);
  font-size: inherit;
}

.table--detail tbody tr th:first-child {
  white-space: nowrap;
  font-weight: 600;
}

/* == templates/app/stack.html == */
.object-stack > *:not(:first-child) {
  margin-top: 1.5rem;
}

.font-press-start-2p-regular {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-squada-one-regular {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-wallpoet-regular {
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-sans-black {
  font-family: sans-serif;
  font-weight: 700;
  font-style: normal;
}

:root {
  --space-40-80: 40px;
}
@media (max-width: 767.98px) {
  :root {
    --space-40-80: 80px;
  }
}

:root, body {
  height: 100%;
}

:root.js .hide-if-js,
:root.no-js .hide-if-no-js {
  display: none;
}

.menu {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.nav {
  --bs-nav-link-color: var(--bs-body-color);
  --bs-nav-link-hover-color: var(--color-green);
}

#page {
  min-height: 100%;
}

.site-main {
  padding-top: 2rem;
  padding-bottom: 2rem;
  min-height: 75vh;
}

.page-one-column .site-header__toggler {
  display: none;
}

.navbar-main > .container-fluid {
  flex-wrap: wrap;
}
.navbar-main .navbar-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0;
  max-width: 100%;
}
.navbar-main .navbar-brand .navbar-brand-img {
  flex-grow: 0;
  flex-shrink: 1;
}
.navbar-main .site-header__toggler {
  flex-grow: 0;
  margin-left: auto;
  margin-right: 0;
  display: flex;
  justify-content: center;
}
.navbar-main .nav {
  --bs-nav-link-font-size: 1.25rem;
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}
.navbar-main .nav-item {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.navbar-main .nav-link {
  padding-left: 0;
  padding-right: 0;
  text-transform: uppercase;
}
.navbar-main .nav-link.active {
  --bs-nav-link-color: var(--bs-primary);
}
.navbar-main #navItem-home .nav-link.active {
  --bs-nav-link-color: inherit;
}
.navbar-main .site-header__buttons {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 575.98px) {
  .navbar-main > .container-fluid .navbar-brand {
    justify-content: flex-start;
  }
  .navbar-main > .container-fluid .collapse {
    display: flex !important;
  }
  .navbar-main > .container-fluid .navbar-nav {
    flex-direction: row;
  }
}
.site-gnavi {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}
.site-gnavi .nav {
  --bs-nav-link-font-size: 1.5rem;
  flex-direction: column;
}

@media (min-width: 768px) {
  .site-header__toggler {
    display: none !important;
  }
  .site-main > .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
#site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  box-sizing: border-box;
  height: var(--header-height);
  background-color: var(--bs-body-bg);
}
#site-header .container-wide {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: calc(var(--max-page-width) - 60px);
  margin: 0 auto;
}
#site-header .site-nav {
  display: none;
}
#site-header .site-nav ul {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  font-size: 20px;
}
@media (min-width: 992px) {
  #site-header {
    padding: 30px;
  }
  #site-header .menu-toggle {
    display: none;
  }
  #site-header .site-nav {
    display: block;
  }
}

body.page-scrolled #site-header {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
}

.menu-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5em;
  display: inline-block;
  cursor: pointer;
}
.menu-toggle .icon-lines {
  width: 2.5rem;
  height: 1rem;
  position: relative;
}
.menu-toggle .icon-lines span {
  width: 2rem;
  height: 1px;
  background-color: #fff;
  display: block;
  transition: all var(--transition-delay-fast);
  position: absolute;
}
.menu-toggle .icon-lines span:nth-child(1) {
  top: 0;
  right: 0;
  transform-origin: center;
}
.menu-toggle .icon-lines span:nth-child(2) {
  top: 50%;
  left: 0;
}
.menu-toggle .icon-lines span:nth-child(3) {
  bottom: 0;
  right: 0;
  transform-origin: center;
}
.menu-toggle:not(.active):hover .icon-lines span:nth-child(1) {
  right: -2px;
}
.menu-toggle:not(.active):hover .icon-lines span:nth-child(2) {
  left: -2px;
}
.menu-toggle:not(.active):hover .icon-lines span:nth-child(3) {
  right: -2px;
}
.menu-toggle.active .icon-lines span:nth-child(1) {
  top: 50%;
  transform: rotate(225deg);
}
.menu-toggle.active .icon-lines span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .icon-lines span:nth-child(3) {
  top: 50%;
  transform: rotate(-225deg);
}

#site-footer {
  margin-top: 80px;
}
#site-footer .container {
  border-top: 1px solid #343434;
  padding-top: var(--space-40-80);
  padding-bottom: 80px;
  text-align: center;
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  #site-footer .container {
    font-size: 1rem;
  }
}
#site-footer .copyright {
  margin-top: 80px;
}
#site-footer .site-nav {
  gap: 1rem;
}
@media (min-width: 768px) {
  #site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  #site-footer .site-nav {
    text-align: start;
  }
  #site-footer .copyright {
    text-align: end;
    margin-top: 0;
  }
}

.avatar {
  --avatar-size: 64px;
  width: var(--avatar-size);
  height: var(--avatar-size);
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bs-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.avatar .avatar-placeholder i {
  color: white;
  font-size: 1.5rem;
}

.font-press-start-2p-regular {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-squada-one-regular {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-wallpoet-regular {
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-sans-black {
  font-family: sans-serif;
  font-weight: 700;
  font-style: normal;
}

.user-card {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
  flex-wrap: wrap;
}
.user-card .user-card__avatar {
  flex-shrink: 0;
}
.user-card .user-card__name {
  flex-grow: 1;
}
.user-card .user-card__button {
  flex-basis: 100%;
  text-align: end;
}
.user-card .user-card__text {
  flex-basis: 100%;
}

.user-card__name {
  margin-bottom: 0;
  word-wrap: break-word;
  word-break: break-word;
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 1.5rem;
}

.user-card__text {
  word-wrap: break-word;
  word-break: break-word;
}

.image-field-container {
  position: relative;
  width: fit-content;
}
.image-field-container.image-preview-wrapper {
  display: inline-block;
}
.image-field-container.image-upload-wrapper {
  display: inline-block;
}

.image-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.image-clear-checkbox {
  display: none;
}
.image-clear-checkbox:checked ~ .image-field-container.image-preview-wrapper .image-preview-label {
  opacity: 0.3;
  pointer-events: none;
}
.image-clear-checkbox:checked ~ .image-field-container.image-preview-wrapper .image-delete-btn i {
  color: var(--bs-danger);
}

.image-preview-label {
  position: relative;
  display: block;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}
.image-preview-label:hover .image-overlay {
  opacity: 1;
}

.image-preview {
  display: block;
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}
.image-overlay i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.image-overlay span {
  font-size: 0.875rem;
}

.image-delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--bs-body-bg);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.image-delete-btn:hover {
  transform: scale(1.1);
}
.image-delete-btn:hover i {
  color: var(--bs-danger);
}
.image-delete-btn i {
  font-size: 1.5rem;
  color: var(--bs-secondary-text-emphasis);
  transition: color 0.2s ease;
}

.image-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border: 2px dashed var(--bs-border-color);
  border-radius: 8px;
  background: var(--bs-secondary-bg);
  cursor: pointer;
  transition: all 0.3s ease;
}
.image-upload-label:hover {
  border-color: var(--bs-link-color);
  background: var(--bs-primary-bg-subtle);
}
.image-upload-label:hover i {
  color: var(--bs-link-color);
}
.image-upload-label i {
  font-size: 3rem;
  color: var(--bs-secondary-text-emphasis);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}
.image-upload-label span {
  color: var(--bs-secondary-text-emphasis);
  font-size: 0.875rem;
}

.log-container {
  height: 30em;
  overflow-y: auto;
}

.log-header {
  padding: 0.5em 0;
}

.log-controls {
  padding: 0.5em 0.5em;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid var(--bs-gray-900);
}

.log-entry {
  padding: 0.25em 0.5em;
  margin-bottom: 2px;
  border-left: 3px solid transparent;
  transition: border-color var(--transition-delay), background var(--transition-delay);
  font-family: "Courier New", monospace;
}
.log-entry.active {
  border-left-color: var(--bs-success);
  background: var(--bs-success-bg-subtle);
}

.decision-timestamp {
  font-weight: 500;
  font-size: 0.85rem;
  min-width: 10ch;
  display: inline-block;
}

.decision-content {
  word-break: break-word;
}

.decision-buttons {
  font-weight: 600;
  font-size: 1rem;
}

.font-press-start-2p-regular {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-squada-one-regular {
  font-family: "Squada One", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-wallpoet-regular {
  font-family: "Wallpoet", monospace;
  font-weight: 400;
  font-style: normal;
}

.font-sans-black {
  font-family: sans-serif;
  font-weight: 700;
  font-style: normal;
}

.game-icon {
  aspect-ratio: 1/1;
  max-width: min(5em, 100%);
  font-size: 2.5rem;
  padding: 0.5rem;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid var(--bs-body-color);
  background-color: rgba(255, 255, 255, 0.1);
}

.game-session-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.game-session-item .fa-solid {
  color: var(--bs-gray-400);
}
.game-session-item .game-session-user {
  flex-grow: 1;
}
@media (max-width: 767.98px) {
  .game-session-item {
    flex-wrap: wrap;
  }
  .game-session-item .game-session-actions {
    width: 100%;
    text-align: end;
  }
}

.table--leaderboard tr td:last-child {
  text-align: end;
}

/*# sourceMappingURL=styles.css.map */
