@charset "UTF-8";

/* acrylic-list モーダル用スタイル */
.acrylic-modal-zoom {
  display: none;
  width: 90%;
  max-width: 1000px;
  z-index: 20000;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.acrylic-modal-zoom.zoom {
  display: block;
}

.acrylic-modal-zoom .acrylic-modal-slider li img {
  max-height: calc(100vh - 40px);
  width: auto;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  top: 50%;
  transform: translate(0, -50%);
}

.acrylic-modal-zoom .acrylic-modal-slider li {
  width: 1000px;
  float: left;
  height: 90vh;
}

.acrylic-modal-zoom .acrylic-modal-slider .slick-slide {
  background: #333;
}

/* スライダーの矢印ボタンを常に表示 */
.acrylic-modal-zoom .slick-prev,
.acrylic-modal-zoom .slick-next {
  position: absolute;
  z-index: 4;
}

.acrylic-modal-zoom .slick-prev:before {
  position: absolute;
  content: "";
  background-image: url("../../img/common/next.png");
  width: 30px;
  height: 50px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.acrylic-modal-zoom .slick-next:before {
  position: absolute;
  content: "";
  background-image: url("../../img/common/prev.png");
  width: 30px;
  height: 50px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.acrylic-modal-zoom .slick-prev:hover:before,
.acrylic-modal-zoom .slick-next:hover:before {
  opacity: 1;
}

.acrylic-modal-zoom a.close-btn2 {
  position: absolute;
  top: 10px;
  right: -20px;
  z-index: 21000;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .acrylic-modal-zoom a.close-btn2 {
    right: 0px;
  }

  .acrylic-modal-zoom .acrylic-modal-slider li img {
    max-height: 90vw;
  }
}

.mt30 {
  margin-top: 30px;
}

.mt15 {
  margin-top: 15px;
}

.customize .customize-flex > div {
  width: 100%;
}

.mm-inner {
  font-size: 14px;
}

.customize-fig-wrap.mt26 {
  margin: 26px auto 0;
  width: 100%;
}

.customize-fig01 img,
.customize-fig02 img,
.customize-fig03 img {
  width: 100%;
  display: block;
}

.customize-fig01 {
  max-width: 276px;
  margin: 0 auto;
}

.customize-fig02 {
  max-width: 397px;
  margin: 0 auto;
}

.customize-fig03 {
  max-width: 542px;
  margin: 0 auto;
}

.column1-img {
  width: 100%;
  height: 100%;
}

.column1-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drop-area.item-detail-table .uploader-label {
  float: inherit;
  width: fit-content;
  padding: 5px;
}

.item-detail-table .images-clear-label {
  float: inherit;
  width: 18px;
}

.customize-body__img img {
  width: 100%;
}

.textarea-custom {
  position: relative;
}

.textarea-custom::before {
  content: "※仕上がりイメージ、画像のご説明などございましたら記入してください。";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  font-size: 13px;
  font-weight: 600;
}

.textarea-custom textarea {
  border: 1px solid #cccccc;
  background-color: #fff;
  min-height: 124px;
}

.table-form__annotation {
  font-size: 14px;
  font-weight: 600;
  margin-top: -7px;
}

.table-form__text {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: -20px;
}

.customize-body .customize-label {
  width: 8em;
}

.customize-body .section-form .table-form table th {
  padding: 0;
}

.customize-body .section-form .table-form table td {
  padding: 0 0 32px 0;
}

.acrylic-list {
  display: grid;
  gap: 26px 21px;
  grid-template-columns: repeat(2, 1fr);
  margin: 37px auto 0;
  max-width: 610px;
}

.acrylic-list__img {
  display: flex;
  gap: 10px;
}

.acrylic-list__img img {
  max-width: 140px;
  width: 100%;
  display: block;
}
.acrylic-list__title {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.acrylic-list__text {
  margin-top: 7px;
  font-size: 13px;
  font-weight: 400;
  line-height: calc(18 / 13);
}

.table-form__preview-w,
.table-form__preview-h {
  position: absolute;
  font-size: 12px;
  color: #ff4912;
  font-weight: 600;
  width: 100%;
}

.table-form__preview-w {
  top: -2%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}

.table-form__preview-h {
  top: 53.5%;
  left: calc(50% + 120px);
  transform: translateY(-50%);
}

.table-form__preview-wrapper {
  position: relative;
}

.table-form__preview-wrapper::before,
.table-form__preview-wrapper::after {
  content: "";
  position: absolute;
  background-color: #ff4912;
}

.table-form__preview-wrapper::before {
  width: 100%;
  height: 1px;
  left: 3px;
  top: 8px;
}

.table-form__preview-wrapper::after {
  width: 1px;
  height: 100%;
  right: 8px;
  bottom: 3px;
}

.table-form__preview-wrapper-inner {
  position: relative;
}

.table-form__preview-wrapper-inner::before {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background-color: #f1f1f1;
  top: -4px;
  right: -4px;
  z-index: 1;
}

.table-form__preview-wrap {
  position: relative;
  max-width: 240px;
  margin: 30px auto 0;
}

.table-form__preview-wrap-inner {
  position: relative;
}

.table-form__preview-wrap::before,
.table-form__preview-wrap::after {
  position: absolute;
  content: "";
  background-image: url("../../img/common/row.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 6px;
  height: 17px;
  top: 0;
}

.table-form__preview-wrap::before {
  left: 0;
}

.table-form__preview-wrap::after {
  right: 16px;
  transform: rotate(180deg);
}

.table-form__preview-wrap span {
  position: relative;
  max-width: 240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 16px;
  grid-template-rows: 16px 1fr;
}

.table-form__preview-wrap span::before,
.table-form__preview-wrap span::after {
  position: absolute;
  content: "";
  background-image: url("../../img/common/column.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 17px;
  height: 6px;
  right: 0;
}

.table-form__preview-wrap span::before {
  top: 16px;
}

.table-form__preview-wrap span::after {
  bottom: 0;
  transform: rotate(180deg);
}

.table-form__preview {
  padding: 20px;
  background: #f1f1f1;
  min-height: 315px;
  place-content: center;
  text-align: center;
}

.table-form__preview img {
  object-fit: cover;
  position: relative;
  width: 100%;
  grid-column: 1;
  grid-row: 2 / 3;
}

.customize .section-form .table-form table tr {
  display: table-row;
}

@media screen and (max-width: 1100px) {
  .acrylic-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .acrylic-list__item {
    max-width: 270px;
    margin: 0 auto;
  }

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

@media screen and (max-width: 1040px) {
  .customize-fig01 {
    max-width: 150px;
  }

  .customize-fig02 {
    max-width: 244px;
  }

  .customize-fig03 {
    max-width: 333px;
  }
}

@media screen and (max-width: 800px) {
  .customize .section-form {
    max-width: 606px;
    margin: 0 auto;
  }

  .customize .section-form .table-form table tr {
    display: block;
  }
}

@media screen and (max-width: 930px) {
  .textarea-custom::before {
    font-size: 12px;
    bottom: -35px;
  }
  .table-form__preview-wrap {
    max-width: 170px;
  }
  .table-form__preview-h {
    top: 50%;
    left: calc(50% + 80px);
    width: 45%;
  }
}

/* ドラッグ&ドロップスタイル */
.drop-area {
  transition: background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.drop-area.highlight,
.drop-area.drag-over {
  background-color: #f0f8ff;
  border: 2px dashed #007bff !important;
}

.drop-area:hover {
  background-color: #f9f9f9;
}
