html, body {
  height: 100%;
}

body {
  width: 100%;
}

.container {
  padding-left: 24px;
  padding-right: 24px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  width: 100%;
}

.main {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.header {
  width: 100%;
  padding-top: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F488A;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.header .logo-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.header .logo-title .logo {
  width: 56px;
  height: 56px;
}
.header .logo-title .title {
  margin-left: 4px;
  font-size: 32px;
  color: #0F488A;
  font-family: "Kodchasan", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.header .logo-title .subtitle {
  font-size: 16px;
}
.header .adpc-container {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  -moz-column-gap: 4px;
       column-gap: 4px;
}
.header .adpc-container .adpc-title {
  font-size: 14px;
}

.layer-container {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  row-gap: 4px;
}
.layer-container .layer {
  display: grid;
  grid-template-columns: 1fr auto;
  padding-left: 8px;
  padding-right: 8px;
  height: -moz-fit-content;
  height: fit-content;
}
.layer-container .layer:nth-child(2n+1) {
  background-color: #E3FFE5;
}
.layer-container .layer:nth-child(2n) {
  background-color: #cbffcf;
}
.layer-container .layer .layer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  -moz-column-gap: 4px;
       column-gap: 4px;
}
.layer-container .layer .layer-nav :last-child {
  margin-left: 8px;
}

.canvas-frame {
  margin-top: 16px;
  width: 100%;
  max-width: 450px;
  background-color: #909090;
}
.canvas-frame .base-canvas {
  width: 100%;
  height: 100%;
}

.nav-container {
  width: 100%;
  max-width: 450px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.nav {
  width: -moz-fit-content;
  width: fit-content;
  display: grid;
  grid-template-columns: auto 3em auto;
  justify-content: center;
  align-items: center;
}
.nav .nav-rate {
  text-align: center;
}
.nav .nav--in:hover, .nav .nav-out:hover {
  cursor: pointer;
}

.setting-nav {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: left;
  row-gap: 8px;
  -moz-column-gap: 16px;
       column-gap: 16px;
}
.setting-nav .toggle-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  -moz-column-gap: 16px;
       column-gap: 16px;
  padding: 0 8px;
}
.setting-nav .toggle-container:first-child {
  grid-column: 1/-1;
}

.modal {
  margin-top: 8px;
  height: 100%;
  background-color: #e6e6e6;
}
.modal .modal-header {
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 4px;
}
.modal .modal-header .modal-close-button {
  cursor: pointer;
  width: 24px;
}
.modal .modal-header .modal-nav {
  display: none;
}
.modal .modal-header .thumb-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  -moz-column-gap: 4px;
       column-gap: 4px;
}
.modal .modal-header .thumb-selector .thumb-selector-input {
  width: 6em;
}
.modal .modal-header .thumb-selector .color-selector-input {
  width: 6em;
}
.modal .modal-header .jpicker-header {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #666666;
  border-radius: 4px;
  padding-left: 6px;
}
.modal .modal-header .jpicker-content {
  max-height: 500px;
}
.modal .modal-header .modal-close {
  display: flex;
  justify-content: right;
  align-items: center;
}
.modal .modal-header .thumb-count-view {
  grid-column: 1/3;
}
.modal .modal-contents {
  height: calc(100vh - 220px);
  overflow-y: scroll;
  display: flex;
  justify-content: start;
  align-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  row-gap: 16px;
  -moz-column-gap: 16px;
       column-gap: 16px;
  padding: 8px;
}
.modal .modal-contents .thumbnail {
  max-width: 226px;
}
.modal .modal-contents .thumbnail .thumbnail-image-contaier {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 1/1;
}
.modal .modal-contents .thumbnail .thumbnail-image-contaier .thumbnail-image {
  width: 513px;
  height: auto;
}
.modal .modal-contents .thumbnail .thumbnail-title {
  font-size: 0.9em;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal .modal-contents .thumbnail .thumbnail-auther {
  font-size: 0.6em;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal .modal-contents .thumbnail .thumbnail-button {
  margin-top: 8px;
}
.modal .button-small {
  justify-content: center;
  -moz-column-gap: 8px;
       column-gap: 8px;
}

.footer {
  margin-top: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  border-top: 2px solid #0F488A;
}
.footer .footer-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  flex-wrap: wrap;
  row-gap: 8px;
}
.footer .footer-nav .footer-nav-item {
  padding-right: 8px;
  padding-left: 8px;
  color: #4b4b4b;
  border-right: #0F488A 1px solid;
}
.footer .footer-nav .footer-nav-item:last-child {
  border-right: none;
}
.footer .footer-nav .footer-nav-item img {
  width: 14px;
  height: 14px;
}
.footer .footer-nav .img-center {
  height: 100%;
  display: flex;
  align-items: center;
}
.footer .footer-notice {
  margin-top: 8px;
  margin-left: 8px;
  font-size: 12px;
}

@media screen and (max-width: 450px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header {
    padding-top: 8px;
    padding-bottom: 0;
    border-bottom-width: 1px;
  }
  .header .logo-title .logo {
    width: 32px;
    height: 32px;
  }
  .header .logo-title .title {
    font-size: 20px;
  }
  .header .adpc-container {
    display: none;
  }
  .setting-nav {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .modal .modal-header {
    grid-template-columns: auto 1fr auto;
  }
  .modal .modal-header .modal-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    -moz-column-gap: 2px;
         column-gap: 2px;
  }
  .modal .modal-header .modal-nav img {
    width: 24px;
    height: 24px;
  }
  .modal .modal-contents {
    height: calc(100vh - 198px);
    justify-content: space-between;
    -moz-column-gap: 8px;
         column-gap: 8px;
    padding: 4px;
  }
  .modal .modal-contents .thumbnail {
    max-width: 48%;
  }
  .modal .modal-contents .thumbnail .thumbnail-button {
    margin-top: 4px;
  }
  .modal .modal-contents-row .thumbnail {
    max-width: 98%;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #c6c5c5;
  }
  .modal .modal-contents-row .thumbnail:first-child {
    padding-top: 0;
  }
  .modal .modal-contents-row .thumbnail:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .footer {
    margin-top: 12px;
    font-size: 14px;
  }
  .footer .footer-notice {
    margin-top: 8px;
    margin-left: 8px;
    font-size: 10px;
  }
  .layer-container {
    margin-top: 8px;
  }
  .canvas-frame {
    margin-top: 8px;
  }
}/*# sourceMappingURL=thumb.css.map */