@charset "UTF-8";

/*==============================================================================================

    common css    

==============================================================================================*/
html {
  height: 100vh;
  height: -webkit-fill-available;
}

/*==============================================================================================

	body

==============================================================================================*/

body {
  position: relative;
  overflow-x: hidden;
  max-width: 980px;
  margin: 0 auto;
}

/*余計なものの非表示用スタイル*/

body > div {
  display: none !important;
  opacity: 0;
  -moz-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

input[type="checkbox"],
input[type="radio"] {
  display: none;
  opacity: 0;
}

a,
div {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.main_side_l {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(50% - 490px);
  height: 100%;
  background-image: url(/compas-deck/img/calc/calc_detail_bg_right.png);
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 20px 100%;
  background-color: #fcfdeb;
  z-index: 100;
  opacity: 1;
  display: block !important;
  transform: none;
}

.main_side_r {
  position: fixed;
  top: 0;
  right: 0;
  width: calc(50% - 490px);
  height: 100%;
  background-image: url(/compas-deck/img/calc/calc_detail_bg_left.png);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 20px 100%;
  background-color: #fcfdeb;
  z-index: 100;
  opacity: 1;
  display: block !important;
  transform: none;
}

main {
  position: relative;
  z-index: 0;
  height: 0;
  min-height: 100vh;
  height: -webkit-fill-available;
  box-sizing: border-box;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-direction: column;
  flex-direction: column;
  -moz-transition: opacity 0.2s ease, padding-top 0.2s ease;
  -webkit-transition: opacity 0.2s ease, padding-top 0.2s ease;
  transition: opacity 0.2s ease, padding-top 0.2s ease;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#main_sec {
  position: relative;
  width: 100%;
  background: #ffffff;
}

.selectlabel{
  position: relative;
  width: 50%;
}

.selectlabel input {
  width: 100%;
  height: 40px;
  background: #FFF;
  padding: 5px 10px;
  border-radius: 5px;
  border: 1px solid #DDD;
}

.selectlabel:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6.9px 4px 0 4px;
  border-color: #1a8dd0 transparent transparent transparent;
  position: absolute;
  top: 50%;
  right: 10px;
  -ms-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  pointer-events: none;
}

select {
  width: 100%;
  height: 100%;
  padding: 0 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}

/*==========================================================

    check marker

==========================================================*/

.checkmarker {
  width: 12px;
  height: 12px;
  border: 1px solid #AAA;
  margin: 5px;
  position: relative;
  -moz-transition: transform .3s ease, border .3s ease;
  -webkit-transition: transform .3s ease, border .3s ease;
  transition: transform .3s ease, border .3s ease;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

input[type=checkbox]:checked + label .checkmarker,
input[type=radio]:checked + label .checkmarker {
  border: 0px;
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.checkmarker .type-c,
.checkmarker .type-p {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  -moz-transition: opacity .3s ease;
  -webkit-transition: opacity .3s ease;
  transition: opacity .3s ease;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

input[type=checkbox]:checked + label .checkmarker .type-c,
input[type=checkbox]:checked + label .checkmarker .type-p,
input[type=radio]:checked + label .checkmarker .type-c,
input[type=radio]:checked + label .checkmarker .type-p {
  opacity: 1;
}

.checkmarker .type-c > div:nth-child(1) {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-c > div:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-c > div:nth-child(3) {
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 75%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-p > div:nth-child(1) {
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 75%;
  height: 20%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-p > div:nth-child(2) {
  position: absolute;
  bottom: 20%;
  left: 25%;
  width: 20%;
  height: 55%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-p > div:nth-child(3) {
  position: absolute;
  top: 25%;
  left: 45%;
  width: 28%;
  height: 20%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.checkmarker .type-p > div:nth-child(4) {
  position: absolute;
  top: 45%;
  left: 53%;
  width: 20%;
  height: 35%;
  background: #f08d36;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/*==========================================================

    title

==========================================================*/
.generator_title {
  width: 100%;
  background: #c3da49;
  text-align: center;
  padding: 10px;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  margin-top: 30px;
}

.generator_title_pop {
  position: absolute;
  top: -30px;
  right: 0;
}

.generator_title_pop img {
  height: 37px;
}

/*==========================================================

    contain

==========================================================*/
.generator_contain {
  padding: 10px;
  font-size: 12px;
}

.generatoer_cont_title {
  background: rgba(255, 189, 189, 1);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.generatoer_cont_title span {
  font-size: 10px;
  margin-left: 5px;
}

.element_select_wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 10px;
}

.element_select_wrap label {
  width: calc(50% / 3);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  font-weight: bold;
  opacity: 0.3;
}

.element_select_wrap label img {
  width: 16px;
  margin-right: 5px;
}

.element_select_wrap input[type="radio"]:checked + label {
  opacity: 1;
}

.type_select_wrap {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 10px;
}

.type_select_wrap label {
  width: calc(100% / 7 - 2px);
  margin-bottom: 5px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  opacity: 0.3;
}

.type_select_wrap label img {
  width: 30px;
}

.type_select_wrap input[type="checkbox"]:checked + label {
  opacity: 1;
}

.text_wrap {
  padding: 10px;
}

.text_wrap input[type="text"]{
  border: 1px solid #aaaaaa;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
}

.setimage_wrap {
  padding: 10px;
}

.setimage_inner {
  margin-top: 10px;
  width: 68px;
  height: 100px;
  overflow: hidden;
  margin: 10px auto 0;
}

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

.setimage_hidden {
  width: 800px;
  height: 1180px;
  overflow: hidden;
  position: fixed;
  left: 200%;
  top: 0;
}

#bg_frame,
#frame {
  width: 800px;
  height: 1180px;
  overflow: hidden;
  position: fixed;
  left: 200%;
  top: 0;
}

.create-image_btn {
  width: 200px;
  height: 40px;
  margin: 10px auto 0;
  background: #f00;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  font-weight: bold;
  border-radius: 10px;
  color: #ffffff;
}

.create-image_btn.disable {
  opacity: 0.3;
  pointer-events: none;
}

/*==========================================================

    output image

==========================================================*/
#output_set {
  display: none;
  padding: 10px;
}

#output_set.open_output {
  display: block;
}

#output_set .generator_title{
  margin-top: 10px;
}

.output_contain {
  padding: 20px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

#card-output {
  width: 300px;
  height: 443px;
  margin: 0 auto;
}

.output_btn_wrap{
    padding: 10px 0 30px;
}

#save_btn {
  width: 120px;
  height: 40px;
  margin: 0 10px;
  background: #f00;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  font-weight: bold;
  border-radius: 10px;
  color: #ffffff;
  margin: 0 auto;
}

.output_btn_wrap p{
  padding-top: 10px;
  text-align: center;
  font-weight: bold;
}