/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */

/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */

/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */

/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Vertical rhythm */

/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */

/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */

/* ============================================ */

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

/* Lists (definition) */

/* ============================================ */

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */

/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */

/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

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

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */

/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */

/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */

[type='checkbox'] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type='radio'] {
  -webkit-appearance: radio;
  appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type='button'],
[type='reset'],
[type='submit'] {
  cursor: pointer;
}

button:disabled,
[type='button']:disabled,
[type='reset']:disabled,
[type='submit']:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */

option {
  padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the outline style in Safari.
 */

[type='search'] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
  cursor: pointer;
}

/* Interactive */

/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
  outline: auto;
}

/* Tables */

/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

html * {
  scrollbar-width: thin;
}

body {
  background-color: #edf2f5;
  overflow: hidden;
}

/* main 配下の要素のレイアウトのため設定 */

main,
.main-content {
  height: 100%;
}

/* プライマリーカラー */

a {
  color: #37baa3;
}

a:hover {
  color: #5bc7b0;
}

.success-bg {
  background-color: #f6ffed;
}

.error-bg {
  background-color: #fff1f0;
}

.antd-error-color {
  color: #ff4d4f;
}

a .py-8 {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* pl-5 とセットで使用しています */

.list-disc {
  list-style-type: disc !important;
}

.display-none {
  display: none;
}

.text-gray {
  color: rgba(0, 0, 0, 0.45);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.align-center {
  align-items: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.flex {
  display: flex;
}

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

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

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

.full-height {
  height: 100vh;
}

.middle-container {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.unselectable {
  user-select: none;
}

.color-gray {
  color: rgba(0, 0, 0, 0.45);
}

.page-header,
.panel-frame {
  padding: 16px 16px 0;
}

.panel {
  margin: 16px;
  padding: 24px 16px;
  border-radius: 8px;
  background-color: #fff;
}

.divider {
  margin: 12px 0;
}

/* ユーティリティ */

.m-0 {
  margin: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-8 {
  margin-bottom: 8px;
}

.px-16 {
  padding-left: 16px;
  padding-right: 16px;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-5 {
  padding: 2.5rem !important;
}

.px-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.pr-2 {
  padding-right: 0.5rem !important;
}

.pl-5 {
  padding-left: 1.25rem !important;
}

.w-50 {
  width: 50% !important;
}

.h-10 {
  height: 10% !important;
}

.h-90 {
  height: 90% !important;
}

.h-100 {
  height: 100% !important;
}

/* 縦スクロール可能なモーダル */

.ant-modal-body {
  max-height: 24rem !important;
  overflow-y: auto !important;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.hidden {
  display: none;
}

.pointer {
  cursor: pointer;
}

.ellipsis-line {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsis-block {
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
}

/* Ant Design 上書き */

/* フォーム内のアイコン */

.ant-input-prefix > span {
  color: rgba(0, 0, 0, 0.25);
}

.ant-spin-fullscreen {
  background-color: #edf2f5;
}

.ant-spin-dot-holder,
.ant-spin-fullscreen .ant-spin-text {
  color: #37baa3 !important;
}

.ant-descriptions-item-content {
  background-color: white;
}

.ant-btn-link {
  color: #37baa3;
}

.ant-tag:last-of-type {
  margin-right: 0;
}

.label-panel {
  margin: 16px auto 0;
  height: 25%;
  /*width: 100%;*/

  .label-frame {
    width: 100%;
    height: 100%;
  }

  .label-previewer {
    max-width: 100%;
    max-height: 100%;
    border: 1px solid #eee;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    object-fit: contain;
  }
}

/* sm */

@media (min-width: 576px) {
}

/* md */

@media (min-width: 768px) {
}

/* lg */

@media (min-width: 992px) {
}

/* xl */

@media (min-width: 1200px) {
}

/* xxl */

@media (min-width: 1400px) {
}
.content {
  overflow: auto;
}

.breadcrumb {
  margin: 16px;
}

.footer {
  padding-top: 16px;
  padding-bottom: 16px;
  /*z-index: 1;*/
}
.current-content {
  text-align: justify;
  white-space: pre-line;
}

.ant-list-item-meta-content:hover .title {
  font-weight: bold;
}
.id-tag {
  font-family: 'MS Gothic', 'Osaka-Mono', 'Noto Sans Mono CJK JP', monospace;
  font-size: 14px;
}

.new-tag {
  margin-right: 8px !important;
}
.left-panel {
  margin-right: 8px;
  padding: 0;
  height: calc(100vh - 96px);
  background: none;
  overflow: hidden;

  .history-panel {
    height: 100%;
    margin-bottom: 16px;
    overflow: auto;
    background: white;
  }
}

.previewer-panel {
  margin-left: 8px;
  height: calc(100vh - 96px);
  overflow: hidden;
  text-align: center;

  .title-panel {
    text-align: left;

    .ant-descriptions-header {
      margin-bottom: 0;
    }
  }

  .image-panel {
    position: relative;

    .image-previewer {
      min-width: 300px;
      min-height: 320px;
      width: 100%;
      height: 100%;

      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
      object-fit: contain;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);

      .ant-image {
        width: 40%;
        height: 53%;
        object-fit: contain;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      .image-content {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
      }
    }

    .image-black-bg {
      background-image: url('./T-shirt-black-Bo2VqMB6.png');
    }

    .image-white-bg {
      background-image: url('./T-shirt-white-DkOy7sJ0.png');
    }
  }

  .label-panel {
    margin: 16px auto 0;
    height: 25%;
    width: 100%;

    .label-frame {
      width: 100%;
      height: 100%;
    }

    .label-previewer {
      max-width: 100%;
      max-height: 100%;
      border: 1px solid #eee;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
      object-fit: contain;
    }
  }
}
/* Ant Design CSS を上書き */
.login-tabs .ant-tabs-nav {
  margin-bottom: 0;
  background-color: #edf2f5;
  bottom: -2px;
}
.login-tabs .ant-tabs-nav::before {
  border-bottom: none;
}
.login-tabs .ant-tabs-nav .ant-tabs-tab {
  border-bottom: none;
}
.login-tabs .ant-tabs-content-holder {
  border: solid 1px #f0f0f0;
  border-radius: 0 8px 8px 8px;
  box-sizing: border-box;
  overflow: hidden;
}

.language-selector {
  margin-bottom: 6px;
  padding: 4px 0;
  text-align: right;
}

/* xs */
.login-container {
  min-width: 320px;
  width: calc(100% - 32px);
  margin: 0 16px;
}
.login-inner {
  width: 100%;
  margin: 0 auto;
  position: relative;
  transition: all 0.3s;
}
.login-form {
  padding: 32px 16px;
  background-color: #fff;
  transition: all 0.3s;
}

/* sm */
@media (min-width: 576px) {
  .login-container {
    width: 100%;
    margin: 0 auto;
  }
  .login-inner {
    width: 80%;
  }
  .login-form {
    padding: 32px 64px;
  }
}

/* md */
@media (min-width: 768px) {
  .login-container {
    width: 100%;

    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .login-inner {
    width: 640px;
  }
  .login-form {
    padding: 32px 128px;
  }
}

/* lg */
@media (min-width: 992px) {
}

/* xl */
@media (min-width: 1200px) {
}

/* xxl */
@media (min-width: 1400px) {
}
/* xs */
.logo {
  margin-bottom: 32px;
  text-align: center;
  transition: all 0.3s;
}

/* sm */
@media (min-width: 576px) {
  .logo {
    margin-bottom: 64px;
  }
}
/* コンテナで縦スクロールを制御 */
/*- 親要素もFlexboxレイアウトを使用する必要があります */
/*- 高さの指定が適切に設定されている必要があります */
.history-table {
  padding: 0;
  flex: 1; /* 1.親コンテナの残りの空間をすべて使用 */
  overflow: auto; /* 2.コンテンツがはみ出した場合にスクロール */
  min-height: 0; /* 3.Flexboxの子要素が親コンテナより小さくなることを許可 */
}
.history-table-col {
  height: 100%;
  overflow: auto;
}
/* タブの上の余白を削除 */
.ant-tabs .ant-tabs-tab {
  padding-top: 0 !important;
}
/* 一括印刷モーダルの単位「箱」を小さくする */
.ant-statistic-content-suffix {
  font-size: 12px;
}
