@charset "UTF-8";


.code-list{
  display: inline-block;
  width: 45%;
}

#preview,#code,#terms,#setting-form{
  max-width: 814px;
}

.help-tip{
  display: inline-block;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
  padding:4px 7px 3px 7px;
  border:solid #707070 1px;
  box-sizing: border-box;
  cursor: pointer;
}

.help-text {
  display: none;
  position: absolute;
  padding: 10px;
  font-size: 12px;
  line-height: 1.6em;
  color: #fff;
  border-radius: 5px;
  background: #000;
  width: 200px;
}
.help-text:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border: 15px solid transparent;
  border-top: 15px solid #000;
  margin-left: -15px;
}
.help-wrap{
  position: relative;
}
.help-wrap:hover .help-text{
  display: inline-block;
  top: -12px;
  transform: translateY(-100%);
  left: -98px;
}

.code-wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}


.setting-wrap{
  display: flex;
  flex-wrap: wrap;
}

#setting-form{
  margin-right:20px;
}

#setting-form:after{}

#setting-form ul li{
  max-width: 400px;
  width: 49%;
  padding:5px;
}

#setting-form ul li:nth-child(2n){
  margin-left:14px;
}


#setting-form label{
  display: inline-block;
  width: 30%;
  margin:5px 0;
}

#setting-form label.preview-label{
  width: 90%;
  vertical-align: middle;
}
.red{
  font-size:0.8em;
  color:#ff0000;
}
.set-preview-wrap{
  padding:20px 0;
}
#preview-table table{
  margin-left:auto;
  margin-right:auto;
}

.main-code textarea{
  width: 100%;
  box-sizing: border-box;
  padding:5px;
}
.center{text-align: center;}
.right{text-align: right;}

#copy-alert{display: none;}
.cell-wrap{
  text-align: center;
  line-height:1.8;
  margin:20px 0;
}

.cell-wrap button{
  margin:0 5px;
}

/*index用*/
.link-area {
  display: flex;
  flex-wrap: wrap;
}

.link-box {
  border: #B2B2B2 solid 1px;
  width: 43%;
  height: auto;
  margin: 0 2% 2em 0;
}

.link-box h3 {
  background-color: #656565;
  color: #fff;
  line-height: 2em;
  margin: 10px auto 0;
  padding-left: 10px;
  width: 90%;
}

.link-box img {
  width: 92.5%;
  margin: 0 auto;
  display: block;
}

.link-box p {
  width: 90%;
  margin: 1em auto;
  line-height: 1.5em;
}


/*共有*/
@media only screen and (min-width: 768px) {
}
@media only screen and (max-width: 767px) {
  
  .ad-side{float: none; margin-top:20px; margin-bottom:30px;}
  
  #setting-form ul li:nth-child(2n){
    margin-left:0;
  }
  #setting-form ul li{
    width: 100%;
  }
  .code-list{
    width: 100%;
  }
  #setting-form{
    margin-right:0;
  }
  #setting-form input[type="text"]{
    width: 30%;
  }
  .red{
    display: inline-block;
    margin-top:20px;
    line-height: 1.5;
  }
  .link-area {
  display: block;
  flex-wrap: nowrap;
  }
  .link-box {
  width: 90%;
  height: auto;
  margin: 0 auto 1em;
  }
  .link-box h3 {
  line-height: 3em;
  }
.link-box img {
  width: 91.5%;
  }
}
