/* レイアウト */
html{
  margin :auto 0.5em;
  font-size: 3.8vmin; /* 画面の小さい方の幅に合わせたサイズ */
}
@media screen and (min-width: 1024px) /* PC */
{
  html{
    /* max-width:800px; */
    max-width:90%;
    font-size: 20px;
  }
}
.contents,.questions{
  margin: 1.5em auto auto auto;
}
.small_contents{
  margin:auto 0.8em;
}
.item{
  margin: 1em auto auto auto;
}
.select_item{
  margin: 0.3em auto;
}
.centerAlign_block{
  margin-top: 2em;
  text-align: center;
}
@media screen and (min-width: 1024px) /* PC */
{
  .centerAlign_block{
    text-align: left;
  }
}
/* 文 */
p{
  margin :auto;
}
.indent{
  text-indent: 1em;
}
.uLine{
  text-decoration: underline;
}
.bold{
  font-weight:bold;
}
.red{
  color:#A00000;
 }
 .big{
  font-size:140%;
 }

/* タイトル */
.sitetitle{
  margin-top: 3%;
  margin-bottom: 3%;
  text-align:center;
  background: #0050A0;
  color: #F0F0F0;
}
.titletext{
  /*display: inline-block;*/
  display: block;
  font-size: 1.5em;
}

/* indexテーブル */
.tabletop{
  font-size: 1em;
  border-collapse: collapse;
  border: solid 1px #A1B1C1;
  margin: 20px 0px;
}
.tdtop{
  border-collapse: collapse;
  border: solid 1px #A1B1C1;
  padding: 0% 5% 0% 5%;
  text-align:left;
}
li{
  margin-top:0.5em;
  margin-bottom:0.5em;
}

/* アンケートテーブル */
.tableQt{
  border-collapse: collapse;
  border: none 0px transparent;
  width: 97%;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;
  margin-right: auto;
}
/*
.trHeader{
  border-bottom: solid 6px tomato;
}
*/
.trQtItem{
  border: solid 5px white;
}
.blankSpace{
  border: solid 3px white;
  background-color: whitesmoke;
  text-align:left;
  color: #222222;
  padding: 2px 2px;
  position: sticky;
  top: 0;
}
.tdQtTopVertical{
  -webkit-writing-mode: vertical-rl;
      -ms-writing-mode: tb-rl;
          writing-mode: vertical-rl;
      -o-writing-mode: vertical-rl;
  height: 8em;
  text-align:left;
  padding: 1em 0em 0em 0em;
}
.tdQtChoiceItem{
  border: solid 5px white;
  width: 3em;
  font-size: 0.7em;
  text-align: center;
  word-break: keep-all;
  white-space:normal;
  word-wrap:break-word;
  background-color: whitesmoke;
  position: sticky;
  top: 0;
}
.thQtNo{
  width: 2em;
}
.thQtItem{
  border-right: solid 5px white;
  background-color: #D1E1F1;
  text-align:left;
  color: #222222;
  padding: 10px 2px;
}
.tdQtRadio{
  border-left: solid 5px white;
  text-align:center;
  padding: 2px 2px;
  background-color: whitesmoke;
}
/* アンケートテーブル　項目数字縦書き */
.tcom {
  -webkit-text-combine: horizontal;
  -ms-text-combine-horizontal: all;
  text-combine-upright: all;
}
/* アンケートテーブル 選択ボタン */
input.qtselect[type="radio"]{
  display: none;
}
label.qtselect {
  display:block;
  cursor: pointer;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  text-align:center;
  padding: 10px;
  height: 1.5em;
  width: 1.5em;
}
input.qtselect[type="radio"]:checked + label{
  background: #0050A0;
  color: #FAFAFA; 
}
label.qtselect:hover {
  background: #999;
}

/* プログレスバー */
.progressbar{
  vertical-align: bottom;
  width: 15em;
}

/* テキストボックス */
input[type="text"]{
  height: 1.3em;
  width: 2em;
  padding: 0.2em;
  margin: auto 0.3em;
  cursor:text;
  font-size: 1.2em;
  border: 1px solid #004050;
  border-radius: 5px;
}
input[type="text"].long{
  width: 15em;
}

/* 実施者連絡先 */
.mailImg{
  vertical-align: middle;
  width: 58vmin;
}
@media screen and (min-width: 1024px) /* PC */
{
  .mailImg{
    vertical-align: middle;
    width: 15em;
  }
}

/* 次ページボタン */
button[type="submit"],.enquete_button{
  width: 100%;
  padding: 0.5em;
  font-size: 2em;
}
button[type="submit"]:disabled,.enquete_button:disabled{
  color:#afafaf;
  background: rgb(241, 241, 241);
}
button[type="submit"]:enabled,.enquete_button:enabled{
  color:#001368;
  background: rgb(177, 184, 207);
}
@media screen and (min-width: 1024px) /* PC */
{
  button[type="submit"]{
    width: 4em;
    font-size: 1em
  }
  .enquete_button{
    width: 10em;
    font-size: 1em;
  }
}

/* 選択ボタン */
/* トップページ */
span.consent{
  display:block;
}
/* アンケート */
input.select[type="radio"]{
  display: none;
}
label.select{
  display: inline-block;
  cursor: pointer;
  margin: 0em 0em 0em 0em;
  padding: 0.4em;
  text-align: center;
  font-size: 2em; 
  color:#505050;
  background: #D0D0D0;
  border: 1px solid #004050;
  border-radius: 30px;
  word-break: keep-all;
  white-space:normal;
  word-wrap:break-word;
}
@media screen and (min-width: 1024px) /* PC */
{
  label.select{
    font-size: 1em;
  }
}
input.select[type="radio"]:checked + label{
  background: #0050A0;
  color: #FAFAFA; 
}

/* 選択ボタン 文字小 */
label.fSmall{
  font-size: 1em;
}
/* 選択ボタン 短い */
label.short{
  width: 5em;
}
/* 選択ボタン 中間 */
label.middle{
  width: 10em;
}
/* 選択ボタン 長い */
label.long{
  width: 20em;
}

/* メールチェック */
.mailaddress{
  display: table-cell;    
  vertical-align: middle;
}
button[name="mailcheck"]
{
  padding: 0.5em 1em;
  font-size: 1em;
  border-radius:5px;
}
input[type="text"].inmail{
  height: 1.5em;
  width: 13em;
  border: 1px solid #004050;
  ime-mode: inactive;
}
@media screen and (min-width: 1024px) /* PC */
{
  button[name="mailcheck"]
  {
    padding: 0.1em 1em;
    font-size: 0.8em;
  }
  input[type="text"].inmail{
    height: 1em;
    width: 10em;
  }
}
#message{
  height: 1.5em;
}

/* 次回協力・謝礼品 */
.nextcheck{
  font-size: 1em;
}/**/
input.nextEnquete[type="checkbox"],
input.rewards[type="checkbox"]{
  display: none;
}
label.nextEnquete,
label.rewards{
  box-sizing: border-box;
  width: auto;
  cursor: pointer;
  display: inline-block;
  padding: 0.2em 1.5em;
  position: relative;
}
label.nextEnquete::before,
label.rewards::before{
  background: #fff;
  border: 1px solid #999;
  content: '';
  display: block;
  height: 1em;
  width: 1em;
  left: 0.5em;
  position: absolute;
}
input.nextEnquete[type=checkbox]:checked + label::before,
input.rewards[type=checkbox]:checked + label::before{
    background: #0050A0;
}
input.nextEnquete[type=checkbox]:checked + label::after,
input.rewards[type=checkbox]:checked + label::after{
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  width: 0.6em;
  height: 0.4em;
  margin-top: -0.4em;
  top: 50%;
  left: 0.7em;
  transform: rotate(-45deg);
  border-bottom: 3px solid;
  border-left: 3px solid;
  border-color:  whitesmoke;
}

/* 選択リスト */
.selectList{
  font-size: 1em;
  width: 15em;
  height: 2em;
  cursor: pointer;
}

/* 結果表示用リスト */
div.result{
  background-color: #fff;
  padding: 5px;
  border: 1px solid #000000;
}

/* ツイッターコピペ用テキスト */
textarea.twitterText{
  resize: none;
  height: 3em;
  width: 100%;
}