@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap");
body, div, dl, dt, dd, ul, ol, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, blockquote, th, td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset, img {
  border: 0;
}

caption, th {
  text-align: left;
}

h1, h2, h3, h4, h5, h6, th {
  font-weight: 600;
}

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

abbr, acronym {
  border: 0;
  font-variant: normal;
}

sup {
  vertical-align: baseline;
}

sub {
  vertical-align: baseline;
}

legend {
  color: #000;
}

input, button, textarea, select, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --blue: #50bdc3;
  --blue-50: #50bdc388;
  --blue-20: #50bdc333;
  --yellow: #ffcc28;
  --yellow-50: #ffcc2888;
  --yellow-20: #ffcc2833;
  --dark: #000000ff;
  --gray: #888;
  --lightgray: #ddd;
  --red: #ee535f;
  --pink: #e7a699;
}

/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 3px;
}

/* Track */
::-webkit-scrollbar-track {
  background: none;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--lightgray);
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

body {
  font-family: "Noto Sans TC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #f2f2f4;
  font-size: 16px;
  min-height: 100vh;
  color: var(--dark);
  line-height: 1.5;
}

a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

a:has(.icon) span {
  vertical-align: middle;
}
a:has(.icon) .icon {
  display: inline-block;
  vertical-align: middle;
}

.icon {
  height: 1em;
}

.word-blue {
  color: var(--blue);
}

img {
  max-width: 100%;
}

button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 0;
  outline: 0;
  cursor: pointer;
  background: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 0.25em;
}
button img {
  height: 1.25em;
  max-width: none;
}

textarea,
select,
input {
  outline: 0;
  background: white;
  border: 1px solid var(--lightgray);
  padding: 0.375em 0.75em;
  border-radius: 0.5em;
}

textarea {
  resize: none;
  width: 100%;
}

input[disabled] {
  background: #f2f2f4;
}

input.input-small {
  width: 6em;
}

input.input-block {
  width: 100%;
  display: block;
}

hr {
  border: 0;
  border-top: 1px solid var(--lightgray);
  margin: 1em auto;
}

.error {
  border-color: var(--red);
}

.button {
  padding: 0.375em 1.25em;
  background: var(--blue);
  color: white;
  border-radius: 2em;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
  min-height: 40px;
}
.button img {
  height: 1.25em;
}

.button-dark {
  background: var(--dark);
}

.button-gray {
  background: var(--gray);
}

.button-pink {
  background: var(--pink);
}

.button-red {
  background: var(--red);
}

.button-lightgray {
  background: var(--lightgray);
  color: var(--dark);
}

.button-yellow {
  background: var(--yellow);
}

.button-border {
  color: var(--blue);
  background: none;
  border: 1px solid var(--blue);
}

.button-small {
  font-size: 0.95em;
  padding: 0.375em 1em;
  min-height: auto;
  border-radius: 0.5em;
}

.button-fb {
  background: #1877f2;
}

.button-line {
  background: #06c755;
}

.button-block {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

::-webkit-input-placeholder {
  color: var(--lightgray);
}

::-moz-placeholder {
  color: var(--lightgray);
}

:-ms-input-placeholder {
  color: var(--lightgray);
}

::-ms-input-placeholder {
  color: var(--lightgray);
}

::placeholder {
  color: var(--lightgray);
}

.buttons {
  margin: 1em auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1em;
}

.center {
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.right {
  text-align: right;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.pill-input {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.pill-input input[type=checkbox],
.pill-input input[type=radio] {
  position: absolute;
  left: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.pill-input .pillmark {
  display: block;
  width: 44px;
  height: 24px;
  border-radius: 2em;
  background: #e5e5e5;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.pill-input .pillmark:after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #aaa;
  position: absolute;
  left: 2px;
  top: 2px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.pill-input input[type=checkbox]:checked ~ .pillmark:after,
.pill-input input[type=radio]:checked ~ .pillmark:after {
  left: auto;
  right: 2px;
  background: var(--blue);
}

.style-input {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
.style-input a {
  position: relative;
  z-index: 2;
}
.style-input input[type=checkbox],
.style-input input[type=radio] {
  position: absolute;
  left: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.style-input .radiomark {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--lightgray);
  background: white;
  position: relative;
}
.style-input input[type=radio]:checked ~ .radiomark {
  border-color: var(--blue);
}
.style-input input[type=radio]:checked ~ .radiomark:after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background: var(--blue);
  border-radius: 50%;
  position: absolute;
  top: 4px;
  left: 4px;
}
.style-input .checkmark {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid var(--lightgray);
  background: white;
  position: relative;
}
.style-input input[type=checkbox]:checked ~ .checkmark {
  border-color: var(--blue);
  background: var(--blue);
}
.style-input input[type=checkbox]:checked ~ .checkmark:after {
  content: "";
  display: block;
  width: 10px;
  height: 6px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  border-radius: 1px;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  position: absolute;
  top: 3px;
  left: 3px;
}

.grid {
  display: -ms-grid;
  display: grid;
  gap: 0.5em;
}

.grid-2 {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 0.5em 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 0.5em;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
}

.must {
  color: var(--red);
}

.tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 0 2em;
  border-bottom: 1px solid var(--lightgray);
  gap: 5px;
}
.tabs li {
  list-style: none;
  position: relative;
}
.tabs li a {
  display: block;
  border-bottom: 0;
  color: var(--dark);
  padding: 0.5em 1em;
  border-radius: 0.5em 0.5em 0 0;
}
.tabs li a:hover {
  background: var(--lightgray);
}
.tabs li a.active {
  background: var(--blue);
  color: white;
}
.tabs .tab-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0%;
  width: auto;
  background: white;
  min-width: 6em;
  border-radius: 0 0.5em 0.5em 0.5em;
  overflow: hidden;
  z-index: 2;
}
.tabs .tab-menu a {
  border-radius: 0;
  text-align: center;
  font-size: 0.9em;
}
.tabs .tab-menu a.active {
  background: none;
  color: var(--blue);
  font-weight: 600;
}
.tabs li:has(.tab-menu):hover .tab-menu {
  display: block;
}

.tabs-small {
  font-size: 0.9em;
  margin: 1em 0;
  padding: 0;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.tabs-small li a.active {
  color: var(--dark);
  background: var(--yellow);
}

.tags {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
  font-size: 0.9em;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.tags .tags-title {
  color: var(--gray);
  font-weight: 500;
}

.tag {
  display: inline-block;
  padding: 0.25em 0.75em;
  background: var(--pink);
  color: white;
  border-radius: 0.5em;
}

.tag-del {
  color: white;
  padding: 0;
  display: inline-block;
  margin-left: 0.25em;
}

.pages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 1em auto;
}
.pages a {
  border-bottom: 0;
  padding: 3px;
  text-align: center;
  min-width: 2em;
  border-radius: 3px;
}
.pages a:hover {
  background: var(--lightgray);
}
.pages .current {
  background: white;
  font-weight: 600;
  color: var(--pink);
}
.pages .prev span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
  position: relative;
  top: -2px;
}
.pages .next span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: relative;
  top: -2px;
}
.pages .disable span {
  border-color: #ccc;
}
.pages .disable:hover {
  background: none;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: rgba(0, 0, 0, 0.8);
}
.popup .popup-box {
  width: 90%;
  max-width: 960px;
  border-radius: 1em;
  background: white;
  position: relative;
  padding: 2em;
}
.popup .close {
  position: absolute;
  right: 1em;
  top: 1em;
  display: block;
  width: 1em;
  height: 1em;
  border-bottom: 0;
}
.popup .close span:before,
.popup .close span:after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--blue);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  position: absolute;
  top: 50%;
}
.popup .close span:after {
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.field {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1em;
  margin: 1em auto;
}
.field .warning-word {
  width: 100%;
}
.field input,
.field .button {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.field .field-title {
  font-weight: 500;
  color: var(--dark);
  padding: 0.375em 0;
}
.field .field-content {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.field .field-content input,
.field .field-content .button {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}
.field .field-content label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
.field .field-content .field-content-w100 {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.field .field-content .field-content-w100 label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
.field .field-content:has(.pill-input) {
  padding: 0.5em 0;
}
.field.buttons {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 1em;
}
.field.buttons .button {
  -webkit-box-flex: 0;
      -ms-flex: none;
          flex: none;
}

.field-block {
  display: block;
  width: 100%;
}

.input-notice {
  font-size: 0.8em;
  color: var(--gray);
  width: 100%;
}

.field.mg0 {
  margin: 0;
}

.function,
.search {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1em;
}
.function .field,
.search .field {
  width: auto;
  margin: 0;
}
.function .row,
.search .row {
  width: 100%;
  gap: 1em;
}
.function .row ~ .button,
.search .row ~ .button {
  margin: auto;
  margin-right: 0;
}

.sort {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1em;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: 1em 0 0;
}
.sort .field {
  width: auto;
  margin: 0;
}
.sort .buttons {
  margin: 0;
}

.scroll-x {
  overflow-x: auto;
}

.table {
  border-radius: 0.75em;
  overflow: hidden;
  width: 100%;
  font-size: 0.9em;
  margin: 2em auto;
}
.table th {
  font-weight: 500;
  padding: 0.75em 1em;
  background: var(--yellow);
}
.table td {
  background: white;
  padding: 0.75em 1em;
  vertical-align: top;
}
.table td h4 {
  color: var(--gray);
  font-weight: 400;
}
.table tr {
  border-top: 1px solid #f2f2f4;
}

.table-title {
  color: var(--blue);
}

.table-order th:last-of-type,
.table-order td:last-of-type {
  min-width: 8em;
}

.table-liner {
  width: 100%;
  font-size: 0.9em;
  margin: 2em auto;
}
.table-liner th {
  padding: 0.75em 1em;
  background: var(--lightgray);
  border: 1px solid var(--lightgray);
  border-bottom: 1px solid #f2f2f4;
}
.table-liner td {
  padding: 0.75em 1em;
  border: 1px solid var(--lightgray);
}
.table-liner tr:has(td) th {
  width: 18em;
}

.table-title ~ .scroll-x {
  margin-bottom: 1em;
}
.table-title ~ .scroll-x .table-liner,
.table-title ~ .scroll-x .table {
  margin: 1em auto;
}

@media screen and (max-width: 820px) {
  .field .field-content .field-content-w100 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--lightgray);
    padding-bottom: 1em;
  }
  .search .row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .search .row .field {
    width: calc(50% - 0.5em);
  }
  .search .row .field input {
    width: 100%;
  }
  .search .row .field select {
    width: 100%;
  }
  .search .row .field:has(input[type=text]) {
    width: 100%;
  }
  .table-order th {
    min-width: 8em;
  }
  .scroll-x table {
    min-width: 640px;
  }
}
@media screen and (max-width: 576px) {
  .popup .popup-box {
    padding: 2em 1em;
  }
  .field {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 0.5em;
  }
  .field select,
  .field input,
  .field .button {
    width: 100%;
  }
  .field .field-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.5em;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .field .field-content .button {
    width: auto;
  }
  .field .field-content label span {
    min-width: 5em;
  }
  .field .field-content label input {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
  .field .field-content label.style-input span.checkmark,
  .field .field-content label.style-input span.radiomark {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    min-width: auto;
  }
  .field .field-content label.pill-input {
    margin: 0;
  }
  .field .field-content label.pill-input input {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
  }
  .field .field-content label.pill-input span {
    min-width: auto;
  }
  .field .field-content .field-content-w100 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .field .field-content .field-content-w100 label {
    width: 100%;
    margin-left: 0;
  }
  .field .field-content .field-content-w100 label.pill-input {
    width: 44px;
  }
  .field:has(.pill-input) .field-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .field.buttons {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
  .field.buttons .button {
    width: auto;
  }
  .function,
  .search {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.5em;
  }
  .function .button,
  .search .button {
    margin: 0.5em auto 0;
    margin-right: 0;
  }
  .function .row,
  .search .row {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .function .row .field,
  .search .row .field {
    width: calc(50% - 0.5em);
  }
  .function .row .field:has(input[type=text]),
  .search .row .field:has(input[type=text]) {
    width: 100%;
  }
  .sort .buttons {
    width: 100%;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
  .table-liner tr:has(td) th {
    width: 12em;
  }
}
.wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100vh;
}
.wrap main {
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 5%;
  margin: auto;
}

header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1em;
  background: white;
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
          box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}
header .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
header .logo img {
  height: 24px;
}
header .logo h1 {
  font-size: 1.25em;
}
header .account {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1em;
  font-size: 0.8em;
  position: relative;
  min-height: 40px; /* 確保最小高度 */
}
header .account a {
  border-bottom: 0;
  font-weight: 600;
  color: var(--dark);
}
header .account a.account-name span {
  display: inline-block;
}
header .account a.account-name span:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid var(--dark);
}
header .account a.account-link {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  min-width: 1px; /* 確保最小寬度 */
  min-height: 1px; /* 確保最小高度 */
}
header .account a.account-link:hover {
  color: var(--dark);
}
header .account-menu {
  position: absolute;
  right: 0;
  top: 100%; /* 改為 100% 確保在父元素下方 */
  background: white;
  border-radius: 0.5em;
  padding: 1em;
  border: 1px solid var(--lightgray);
  display: none;
  z-index: 1000; /* 確保在最上層 */
  min-width: 150px; /* 設定最小寬度 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 加上陰影 */
}
header .account-menu a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  padding: 0.25em 0;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
header .account-menu a img {
  width: 1.25em;
  height: 1.25em;
}
header .account-menu a:hover {
  color: var(--blue);
}

.form {
  margin: 2em auto;
}
.form .form-title {
  background: var(--yellow);
  padding: 0.75em 1em;
  border-radius: 0.5em 0.5em 0 0;
}
.form .form-content {
  padding: 1.5em;
  border-radius: 0.5em;
  background: white;
}
.form .form-title ~ .form-content {
  border-radius: 0 0 0.5em 0.5em;
  border-top: 0;
}

.login {
  margin: 5vw auto;
  max-width: 480px;
}
.login .form-content {
  padding: 1.5em 2.5em;
  min-height: auto;
}

.warning-word {
  color: var(--red);
  font-size: 0.8em;
}

.upload-img {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 120px;
  background: var(--lightgray);
  padding: 1em;
  border-radius: 0.5em;
  -ms-flex-item-align: start;
      align-self: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-left: 0;
}
.upload-img input[type=file] {
  background: none;
  border: 0;
  border-radius: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.upload-img span {
  -ms-flex-item-align: center;
      -ms-grid-row-align: center;
      align-self: center;
  text-align: center;
}
.upload-img span:before {
  content: "+";
  display: block;
  text-align: center;
  margin: auto;
}

.pd-img-s {
  max-width: 160px;
  max-height: 120px;
  border-radius: 0.5em;
}

.step {
  margin: 2em auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
  position: relative;
}
.step:before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: var(--blue);
  position: absolute;
  bottom: 10px;
  z-index: -1;
  border-radius: 3px;
}
.step .item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-align: center;
  position: relative;
}
.step .item:after {
  content: "";
  display: block;
  margin: auto;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 6px solid var(--lightgray);
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.step .item:before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: var(--lightgray);
  position: absolute;
  bottom: 10px;
  right: 0;
}
.step .item:first-of-type:before {
  border-radius: 3px 0 0 3px;
}
.step .item:last-of-type:before {
  border-radius: 0 3px 3px 0;
}
.step .item.active:after {
  border-color: var(--blue);
}
.step .item.active:before {
  width: 0;
}
.step .item.current:before {
  width: 50%;
}

.store-labels {
  margin: 2em auto;
  max-width: 480px;
}
.store-labels .item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 1em auto;
  border: 1px solid var(--lightgray);
  border-radius: 2em;
}
.store-labels .item a {
  color: var(--blue);
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 0.75em 1.5em;
  border-bottom: 0;
}
.store-labels .item-add {
  background: var(--blue);
  border: 0;
  border-radius: 2em;
}
.store-labels .item-add a {
  color: white;
}

.status {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5em;
}
.status svg,
.status img {
  width: 1.25em;
  height: 1.25em;
}

.notice {
  margin: 2em auto;
  padding: 1em;
  background: var(--yellow-50);
  border-radius: 0.5em;
  font-weight: 500;
}
.notice a {
  color: var(--dark);
}

.overview {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1em;
  border-bottom: 1px solid var(--lightgray);
  padding: 1.5em 0;
}
.overview .item {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 0 1em;
}
.overview .overview-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--blue);
}
.overview .overview-compare {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.overview .overview-compare small {
  font-style: normal;
  color: var(--gray);
}
.overview .overview-compare b.up {
  color: var(--blue);
}
.overview .overview-compare b.up:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 6px solid var(--blue);
  margin-right: 0.25em;
}
.overview .overview-compare b.down {
  color: var(--red);
}
.overview .overview-compare b.down:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--red);
  margin-right: 0.25em;
}

.crumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.5em;
}
.crumb span:after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  margin-left: 0.5em;
}
.crumb span:last-of-type:after {
  display: none;
}
.crumb-bar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 0.9em;
}
.crumb-bar .crumb {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.crumb-bar .button {
  min-height: 36px;
}

.content {
  border: 1px solid var(--lightgray);
  border-radius: 1em;
  margin: 2em auto;
  padding: 1.25em;
}

.spec-form {
  display: block;
  width: 100%;
}
.spec-form .notice {
  margin: 0;
  font-size: 0.9em;
}

@media screen and (max-width: 820px) {
  .field .field-content .field-content-w100 {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: 1em;
    border-bottom: 1px solid var(--lightgray);
    padding-bottom: 1em;
  }
}
@media screen and (max-width: 576px) {
  body {
    font-size: 14px;
  }
  header .logo img {
    height: 20px;
  }
  header .logo h1 {
    font-size: 1em;
  }
  .form .form-content {
    padding: 1em;
  }
  .login .form-content {
    padding: 1em 2em;
  }
  .overview .overview-number {
    font-size: 24px;
  }
  .tabs-small li a {
    padding: 0.375em 0.75em;
  }
}
@media screen and (max-width: 360px) {
  .tabs-small {
    gap: 0;
  }
  .tabs-small li a {
    padding: 0.375em 0.625em;
  }
}