:root {
  --main-orange-color: #EF9408;
  --main-orange-hover-color: #d67407;
  --main-lightgray-color: #c8ced3;
}

body {
  font-family: 'Roboto', 'Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
  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;
}

.disabled {
  opacity: 0.7;
  pointer-events: none;
}

header {
  background-image: url(../../images/logo_back.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-end;
}

header div.container {
  text-align: right;
  padding-top: 104px;
  padding-bottom: 104px;
}

header div.container img {
  width: 200px;
}

#Breadcrumb {
  background-color: #b1c1c8;
  font-size: small;
}

#Breadcrumb a {
  color: inherit;
  text-decoration: underline;
}

#Breadcrumb span {
  margin-right: 5px;
  margin-left: 5px;
}

.jumbotron {
  background-color: inherit;
  text-align: center;
}

.jumbotron .lead {
  letter-spacing: 5px;
}

.catch {
  line-height: 2;
  font-weight: lighter;
}

.catch ul {
  margin: 0;
}

.catch div {
  margin-bottom: 1em;
}

.pretty.p-orange input:checked~.state label:after,
.pretty.p-orange.p-toggle .state label:after {
  background-color: var(--main-orange-color) !important;
}

.btn-orange {
  background-color: var(--main-orange-color);
  border-color: var(--main-orange-color);
  color: white;
}

.btn-orange:hover {
  background-color: var(--main-orange-hover-color);
  border-color: var(--main-orange-hover-color);
  color: white !important;
}

.btn-orange i {
  margin-right: 5px;
}

input::placeholder {
  color: #ccc !important;
  font-weight: lighter;
}

.form-group+.hr {
  height: 1px;
  background-color: #eee;
  margin-bottom: 1rem;
}

.formError {
  position: static !important;
  opacity: 1 !important;
}

.txt.open {
  max-height: initial !important;
}

.formError .formErrorContent {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -o-box-shadow: none !important;
  -ms-box-shadow: none !important;
  display: inline-block !important;
  width: auto !important;
  border-radius: 0px !important;
  background-color: var(--danger) !important;
  margin-bottom: 2px !important;
}

span.attention {
  background-color: var(--danger);
  color: white;
  border-radius: 5px;
  padding: 2px 4px;
  font-size: 70%;
  margin-left: 5px;
}

span.attention-secondary {
  background-color: var(--secondary);
  color: white;
  border-radius: 5px;
  padding: 2px 4px;
  font-size: 70%;
  margin-left: 5px;
}

.form-error {
  display: none;
}

.form-error span {
  border: 1px solid var(--danger);
  background-color: var(--danger);
  color: white;
  padding: 0 5px;
  font-size: small;
  border-radius: 3px;
  margin-bottom: 2px;
  width: auto;
}

.annotation {
  font-size: 0.5rem;
}

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

.editor-header-error {
  border-left: 1px solid var(--red) !important;
  border-right: 1px solid var(--red) !important;
  border-top: 1px solid var(--red) !important;
  border-bottom: none !important;
}

.editor-body-error {
  border-left: 1px solid var(--red) !important;
  border-right: 1px solid var(--red) !important;
  border-bottom: 1px solid var(--red) !important;
  border-top: 1px solid var(--red) !important;
}

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

.form-control:focus {
  box-shadow: none !important;
}

input.error:focus {
  color: var(--red);
  border-color: var(--red);
  box-shadow: none;
}

main#canvas {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

canvas.canvas_area {
  border: 1px solid #C0C0C0;
  height: 580px;
  width: 100%;
}

.canvas-container {
  margin: auto;
}

.editor_area {
  margin-bottom: 8px;
}

input.mode_select[type=radio] {
  display: none;
}

label.mode_select {
  text-align: center;
  width: 30px;
  height: 30px;
  cursor: pointer;
  border: 2px solid #fff;
}

input.mode_select[type=radio]:checked+label.mode_select {
  border: 2px solid gray;
  border-radius: 5px;
}

input[type=file]#image_insert {
  display: none;
}

input[type=color].color#color_picker {
  visibility: hidden;
  position: absolute;
  left: -50px;
}

.fa-btn {
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.figureSelectPopOver.d-flex div {
  margin: 0 5px;
}


.modal {
  display: none;
  height: 100vh;
  position: fixed;
  top: 0;
  width: 100%;
  font-family: Meiryo, 'メイリオ', 'MS PGothic', 'ＭＳ Ｐゴシック', sans-serif;
}

.modal__bg {
  background: rgba(0, 0, 0, 0.8);
  height: 100vh;
  position: absolute;
  width: 100%;
}

.modal__content {
  border: 6px solid #C1A34F;
  background: #fff;
  left: 50%;
  padding: 40px 15px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  -ms-overflow-style: none;
  /* IE, Edge 対応 */
  scrollbar-width: none;
  /* Firefox 対応 */
  word-break: break-word;
}

.modal-head {
  color: #515151;
  text-align: center;
  font-size: 32px;
  font-weight: bold;

}

.modal-head.head {
  line-height: 27px;
  margin-bottom: 10px;
  width: fit-content;
  margin: 15px auto;
}


.modal-head-sub {
  font-size: 20px;
}

.modal .contents {
  margin-top: 32px;
  font-size: 16px;
}


.modal .note {
  margin-top: 32px;
  font-size: 12px;
}

.modal .close_btn {
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 2px solid #333;
  /* 枠の調整 */
  border-radius: 50%;
  /* 丸みの度合い */
  background: #fff;
  /* ボタンの背景色 */
}

.modal .close_btn:hover {
  cursor: pointer;
  opacity: 0.7;
}

.modal .close_btn::before,
.modal .close_btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  /* 棒の幅（太さ） */
  height: 22px;
  /* 棒の高さ */
  background: #333;
  /* バツ印の色 */
}

.modal .close_btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal .close_btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@media screen and (max-width:480px) {

  .modal-head {
    font-size: 24px;
  }

  .modal-head-sub {
    font-size: 16px;
  }

  .modal .contents {
    font-size: 14px;
  }
}

.modal .preview,
.order_preview .preview {
  width: 600px;
  height: 525px;
  position: relative;
  margin: auto;
}

.modal .preview img.preview_img,
.order_preview img.preview_img {
  margin: auto;
}


.modal .tshirt_preview img#preview_modal_img,
.order_preview .tshirt_preview img#preview_modal_img {
  position: absolute;
  width: 250px;
  top: 108px;
  left: 177px;
}

.modal .smartphone_preview img#preview_modal_img,
.order_preview .smartphone_preview img#preview_modal_img {
  position: absolute;
  height: 302px;
  top: 106px;
  left: 194px;
}