@charset "UTF-8";
/* CSS Document */

html {
  width: 100%;
  height: 100%;
}
body {
  *font-size: small;
  *font: x-small;
  font-size: 14px;
  line-height: 1.5;
  font-family: "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  text-align: left;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
}
body *, body *::before, body *::after {
  box-sizing: border-box;
}
h1, h2, h3, h4, h5, p, ul, ol, li, img, table, th, td, dl, dt, dd {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}
li {
  list-style-type: none;
}
a {
  transition: opacity .2s;
  cursor: pointer;
  color: #333;
  text-decoration: none;
}
a:hover {
  opacity: .8;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
#wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}
#container{
  width: 500px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  mask-image: url("../img/tshirts_mask.png");
  -webkit-mask-image: url("../img/tshirts_mask.png");
  mask-size: cover;
  -webkit-mask-size: cover;
}
#imageform{
  position: absolute;
  top: 40%;
  left: 60px;
  width: 300px;
  height: 60px;
  background-color: RGBA(0, 0, 0, 0.1);
  border-radius: 10px;
}
#imageform p, #textfix p{
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-top: 18px;
}
#textform{
  position: absolute;
  left: 60px;
  width: 300px;
  height: 45px;
  bottom: 40%;
}
#textarea{
  width: 200px;
  height: 100%;
  padding: 10px;
  font-size: 18px;
}
#textfix{
  float: right;
  width: 90px;
  height: 45px;
  background-color: RGBA(0, 0, 0, 0.1);
  border-radius: 10px;
  border-width: inherit;
}
.controlBtn{
  position: absolute;
  bottom: 60px;
  right: 40px;
  width: 240px;
  overflow: hidden;
}
.controlBtn ul{
  
}
.controlBtn ul li{
  float: left;
  width: 40px;
  height: 40px;
  background-color: RGBA(0, 0, 0, 0.5);
  border-radius: 100%;
  margin-right: 20px;
}
.controlBtn ul li svg{
  width: 100%;
  height: auto;
  fill: #fff;
}
label{
  background-color: RGBA(0, 0, 0, 0.1);
  width: 300px;
  display: block;
  height: 60px;
  border-radius: 10px;
  text-align: center;
  padding-top: 18px;
  font-size: 16px;
  font-weight: bold;
}
label:hover{
  background-color: RGBA(100, 100, 100, 0.1);
}
label:active{
  background-color: RGBA(0, 0, 0, 0.1);
}
input[type="file"]{
  display: none;
}
#figure{
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  width: 100%;
  height: auto;
}
#figure img{
  margin: 0 auto;
  z-index: 1;
}
#output{
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  width: auto;
  height: auto;
  z-index: 2;
  text-align: center;
  font-size: 50px;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.ui-resizable-se,.ui-resizable-sw,.ui-resizable-ne,.ui-resizable-nw {
  background-color: RGBA(255,0,0,0.2);
}
#textColor{
  position: absolute;
  left: 60px;
  bottom: 35%;
}
#textColor input{
  height: 40px;
}
#textWeight{
  width: 40px;
  height: 40px;
  position: absolute;
  left: 120px;
  bottom: 35%;
  background-color: RGBA(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;
  color: #000;
}
#textWeight.active{
  background-color: RGBA(0, 0, 0, 0.5);
  color: #FFF;
}
#textWeight p{
  font-size: 20px;
  font-weight: bold;
  padding-top: 4px;
}
#fontStyle{
  position: absolute;
  left: 170px;
  bottom: 35%;
}
#fontStyle select{
  width: 190px;
  height: 40px;
}
@media screen and (max-width: 767px) {
  #container{
    width: 80%;
    top: 40%;
  }
  #textform{
    scale: 0.5;
    bottom: 30px;
    left: auto;
    right: -50px;
    height: 60px;
  }
  #textarea{
    height: 60px;
    border: 4px solid #000;
  }
  #textfix{
    height: 60px;
    font-size: 18px;
    font-weight: bold;
  }
  #imageform{
    top: auto;
    bottom: 30px;
    left: -40px;
    scale: 0.5;
  }
  .controlBtn{
    bottom: 90px;
    right: 0;
  }
  .ui-rotatable-handle{
    height: 50px;
    width: 50px;
  }
  #textColor{
    left: 35px;
    bottom: 140px;
  }
  #textWeight{
    left: 100px;
    bottom: 140px;
  }
  #fontStyle{
    left: 160px;
    bottom: 140px;
  }
}