@charset "UTF-8";

.container .box30 {
  margin-top: 18px;
  margin-bottom: 34px;
}

.tpApp {
  padding: 16px 18px 14px;
}

.dropZone {
  border: 2px dashed #6cc8f7;
  border-radius: 18px;
  background: #ffffff;
  padding: 18px 14px;
  text-align: center;
}
.dropZone.isDrag {
  background: #f3fbff;
}

.label {
  margin: 12px 0 8px;
}

.previewWrap {
  border: 1px solid #222;
  background: #fff;
  width: 100%;
  height: 340px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.previewWrap.check {
  background:
    linear-gradient(45deg, #ddd 25%, transparent 25%) 0 0/20px 20px,
    linear-gradient(-45deg, #ddd 25%, transparent 25%) 0 10px/20px 20px,
    linear-gradient(45deg, transparent 75%, #ddd 75%) 10px -10px/20px 20px,
    linear-gradient(-45deg, transparent 75%, #ddd 75%) -10px 0/20px 20px,
    #fff;
}

#previewCanvas {
  max-width: 100%;
  max-height: 100%;
}

.controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.iconBtn {
  width: 46px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #999;
  background: #fff;
  display: grid;
  place-items: center;
}
.iconBtn img {
  width: 24px;
}

.iconBtn.isDisabledBtn {
  opacity: 0.5;
  filter: grayscale(1);
}

.swatch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #bbb;
  border-radius: 10px;
  background: #fff;
}
.swatch i {
  width: 20px;
  height: 20px;
  border: 1px solid #666;
  border-radius: 6px;
}

.button-1.isDisabled {
  color: #f6cfa0;          /* 文字 */
  border-color: #f6cfa0;   /* 枠 */
  background-color: #fff;
  opacity: 1;
  cursor: not-allowed;
  pointer-events: none;
}
.button-1.isDisabled::after {
  border-top-color: #f6cfa0;
  border-right-color: #f6cfa0;
}