.header {
  margin-bottom: 10px;
}
.header .h {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}
.header .info {
  text-align: center;
  margin-bottom: 10px;
}
.header .navi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.header .navi .item {
  width: 10%;
  margin-bottom: 20px;
}
.header .navi .item .in {
  width: 98%;
  margin: 0 auto;
  cursor: pointer;
  position: relative;
}
.header .navi .item .in .img {
  text-align: center;
  margin-bottom: 5px;
}
.header .navi .item .in .img img {
  width: 70%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.header .navi .item .in .text {
  text-align: center;
  font-size: 12px;
}
.header .m {
  display: flex;
  gap: 10px;
  padding: 0px 20px;
  margin-bottom: 40px;
}

.design {
  padding: 20px 0;
  margin-bottom: 20px;
}
.design .h {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: bold;
  padding-left: 20px;
  padding-right: 20px;
}

.design .thumbs {
  display: flex;
  flex-wrap: wrap;
}
.design .thumbs .thumb {
  width: 25%;
  text-align: center;
  cursor: pointer;
  margin-bottom: 30px;
  padding: 0 20px 0 20px;
}
.design .thumbs .thumb.paper {
  width: 33.3%;
}
.design .thumbs img {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.modal-preview .preview {
  height: 600px;
  /*	overflow: scroll;*/
}
.modal-preview .preview iframe {
  width: 100%;
  height: 580px;
}
.modal-preview .btn-area {
  background: #f0f0f0;
  position: fixed;
  bottom: 0;
  left: 0;
  height: 45px;
  width: 100%;
}
.modal-preview .btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-close {
  background: #cccccc;
  color: #000000;
  margin-right: 20px;
  margin-top: 8px;
}

/*edit modal*/
.iziModal.modal-preview {
  max-width: 100% !important;
}
.modal-preview .preview {
  overflow: hidden !important;
}
.iziModal.modal-preview {
  height: 100% !important;
}
.iziModal.modal-preview .iziModal-wrap {
  height: 100% !important;
}
.iziModal::-webkit-scrollbar {
  display: none !important;
}
.iziModal.modal-preview::-webkit-scrollbar {
  display: none !important;
}
.iziModal.modal-preview .iziModal-wrap::-webkit-scrollbar {
  display: none !important;
}
.iziModal.modal-preview .iziModal-content {
  width: 100%;
  height: 100%;
  height: 100vh;
}

.iziModal.modal-preview .in {
  height: 100%;
}
.modal-preview .preview {
  height: calc(100% - 40px);
  height: 100%;
}
.modal-preview .preview iframe {
  width: 100%;
  height: 100%;
}
.b-btn.js-next {
  margin-left: 20px;
  background: #61a6a6;
}
#main-inner {
  max-width: 1000px;
  width: 100%;
}
.modal-preview .iziModal-header {
  display: none !important;
}
.modal-preview.iziModal .in {
  padding: 0;
}

.modal-preview2 .btns {
  margin-top: 20px;
  text-align: center;
}

.sub_form {
  font-size: 14px;
  padding: 0px 20px;
  margin-bottom: 40px;
  margin-top: 40px;
}
.title_template {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 30px;
  position: relative;
  display: inline-block;
}
.title_template:before {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  background-color: #000;
  position: absolute;
  left: -40px;
  top: 16px;
}
.title_template:after {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  background-color: #000;
  position: absolute;
  right: -40px;
  top: 16px;
}
.title_form {
  position: relative;
  display: inline-block;
}
.title_form:before {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  background-color: #000;
  position: absolute;
  left: -40px;
  top: 16px;
}
.title_form:after {
  content: "";
  display: block;
  width: 25px;
  height: 1px;
  background-color: #000;
  position: absolute;
  right: -40px;
  top: 16px;
}
.design .thumbs {
  background-color: #FAF4FA;
  padding: 20px 0px;
  border-radius: 20px;
  width: calc(100% - 40px);
  margin: 0 auto;
  border: 1px solid #543122;
}
.header .navi .item .in .img.edit div {
  width: 70%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid #FAF4FA;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 10px;
}
.header .navi .item .in .img.edit div span {
  font-size: 14px;
  font-weight: bold;
  color: #FAF4FA;
}
.header_modal_fix {
  position: fixed;
  top: 0;
  height: 62px;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  z-index: 9999;
  display: none;
}
.header_modal_fix p {
  font-size: 18px;
  text-align: center;
  padding-top: 30px;
  color: #fff;
}
.header_modal_fix .b-btn2 {
  background: transparent;
  border: 0;
  outline: none;
  position: absolute;
  top: 33px;
  right: 20px;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
}

.form-step {
  display: flex;
  padding: 0px 20px;
  width: 100%;
}

.form-step__item{
  display: flex;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 0px;
}

.form-step__square {
  text-align: center;
  width: 100%;
}
.form-step__square-inner {
  display: inline-block;
  text-align: left;
}

.form-step__item--01 {
  --s: 20px;
  line-height: 1.8;
  padding-inline: 0.3em calc(var(--s) + 0.3em);
  clip-path: polygon(
    0 0,
    calc(100% - var(--s)) 0,
    100% 50%,
    calc(100% - var(--s)) 100%,
    0 100%
  );
  background: #543122;
  width: calc(50% + 9px);
  color: #fff;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
  z-index: 1;
  position: relative;
}

.form-step__item--02 {
  position: relative;
  border-top-right-radius: 9px;
  border-bottom-right-radius: 9px;
  border-width: 2px;
  border: 2px solid #FAF4FA;
  border-left: 0;
  width: calc(50% + 9px);
  margin-left: -16px;
  background-color: #FAF4FA;
  z-index: 0;
  overflow: hidden;
}
.form-step__item--02:before {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: cos(75deg);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: #FAF4FA;
  height: calc(100% + 15px);
  top: -7.5px;
  left: -1px;
}
.form-step__item--02:after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: cos(75deg);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: white;
  height: calc(100% + 4px);
  top: -2px;
  left: -1px;
}

.form-step {
  overflow-y: hidden;
}
.form-step__title {
  color: #222;
  line-height: 1.8;
}
.form-step__content {
  color: #000;
  line-height: 1.8;
}

.form-step__item.active .form-step__title,
.form-step__item.active .form-step__content{
  color: #fff;
}

.modal-preview .in .btn-area {
  /*bottom: env(safe-area-inset-bottom, 0) !important;*/
  transition: transform 0.3s ease;
}

.modal-preview {
  border: 0 !important;
}
