@charset "UTF-8";

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    *font-size: 100%;
}


.letter3 {width:3em !important;}

.letter4 {width:4em !important;}

.letter5 {width:5em !important;}

.letter7 {width:7em !important;}

.letter10 {width:10em !important;}

.letter15 {width:15em !important;}

.letter20 {width:20em !important;}

.letter30 {width:30em !important;}

.letter40 {width:40em !important;}

.letter50 {width:50em !important;}


@media all and (max-width:560px) {
.letter15 {width:100% !important;}

.letter20 {width:100% !important;}

.letter30 {width:100% !important;}

.letter40 {width:100% !important;}

.letter50 {width:100% !important;}    
}


/* テキストボックス */
.f-textbox {
    height: 2.4em;
    width: 100%;
    padding: 0 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.f-textbox:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


/* プルダウンメニュー */
.f-select {
    position: relative;
    display:inline-block;
}

.f-select:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transform: rotate(135deg);
    pointer-events: none;
}

.f-select select {
    display:inline-block;
    height: 2.4em;
    padding: 0 8px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.f-select select::-ms-expand {
    display: none;
}

.f-select select:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


/* テキストエリア */
.f-textarea {
    display: block;
    width: 100%;
    height:200px;
    padding: 4px 16px;
    border-radius: 4px;
    border: none;
    box-shadow: 0 0 0 1px #ccc inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    resize: vertical;
}

.f-textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


/* チェックボックスデザイン① */
.checknox-wrap {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
    width:20px;
    height:20px;
    margin:0 auto;
    padding:0;
}

/* デフォルトチェックボックス非表示 */
.checknox-wrap input {
  display: none;
}

/* チェックボックスのスタイル */
.checknox-wrap .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid #000;
  box-sizing: border-box;
}

/* チェックマーク作成 */
.checknox-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 0px;
  width: 7px;
  height: 12px;
  border: 1px solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* チェック時のスタイル */
.checknox-wrap input:checked + .checkmark {
  border: 1px solid #000;
}

/* チェック時 チェックマーク表示 */
.checknox-wrap input:checked + .checkmark:after {
  display: block;
}




/* チェックボックスデザイン② */
/*リセット */
input[type="checkbox"]  {
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

/* チェックボックスデザイン */
input[type="checkbox"] {
    cursor: pointer;
    padding-left: 30px;/*label手前にチェックボックス用の余白を開ける*/
    vertical-align: middle;
    position: relative;
  }
  input[type="checkbox"]::before,
  input[type="checkbox"]::after {
    content: "";
    display: block; 
    position: absolute;
  }
  input[type="checkbox"]::before {
    background-color: #fff;
    border-radius: 0%;
    border: 1px solid #666464;
    width: 20px;/*チェックボックスの横幅*/
    height: 20px;/*チェックボックスの縦幅*/
    transform: translateY(-55%);
    top: 50%;
    left: 5px;
  }
  input[type="checkbox"]::after {
    border-bottom: 3px solid #666464;/*チェックの太さ*/
    border-left: 3px solid #666464;/*チェックの太さ*/
    opacity: 0;/*チェック前は非表示*/
    height: 6px;/*チェックの高さ*/
    width: 11px;/*チェックの横幅*/
    transform: rotate(-45deg);
    top: -7px;/*チェック時の位置調整*/
    left: 10px;/*チェック時の位置調整*/
  }
  input[type="checkbox"]:checked::after {
    opacity: 1;/*チェック後表示*/
  }





/* ファイルアップロード */
label.fileupload {
    padding: 10px 40px;
    color: #ffffff;
    background-color: #384878;
    cursor: pointer;
    margin:0;
}

label.fileupload input[type="file"] {
    display: none;
}


.output {
    margin:10px 0 0;
}