/* form関連 */

button, input, select, textarea {
font-family : inherit;
font-size : 100%;
}

.form input[type="text"] { appearance: none; -webkit-appearance:none; -moz-appearance: none; width: 100%; height: 2.875em; padding: 0 20px; line-height: 2.875em; border: 1px solid #c1c1c0; font-size: 16px; font-weight: normal; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 5px; }

.form textarea { appearance: none; -webkit-appearance:none; -moz-appearance: none; width: 100%; padding: 10px 20px; height: 256px; border: 1px solid #c1c1c0; font-size: 16px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border-radius: 5px; }

.form input[type="submit"] { appearance: none; -webkit-appearance:none; -moz-appearance: none; 
	
}

:placeholder-shown { color: #acacac; }
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder { color: #acacac; }
/* Firefox 18- */
:-moz-placeholder { color: #acacac; opacity: 1; }
/* Firefox 19+ */
::-moz-placeholder { color: #acacac; opacity: 1; }
/* IE 10+ */
:-ms-input-placeholder { color: #acacac; }
    


.select-wrap {
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    position: relative;
    width:100%;
    display: inline-block;
}
.select-wrap:before {
    z-index: 1;
    position: absolute;
    right: 8px;
    top: 1.0em;
    pointer-events: none;
    content: '';
    /* ▽ */
    display: inline-block; content: ''; width: 9px; height: 9px; border-bottom: 2px solid #6f6f6e; border-right: 2px solid #6f6f6e; border-radius: 2px; margin-right: 8px; vertical-align: middle;
    transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg); -o-transform: rotate(45deg); -ms-transform: rotate(45deg);
    /* ▼
    content: ''; width: 0; border-top: 10px solid #333; border-right: 7px solid transparent; border-bottom: 0px solid transparent; border-left: 7px solid transparent;
    */
}
select{
		-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
    outline:none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance:none;
    text-indent: 0.01px;
    text-overflow: '';
    background: none transparent;
    background-color: #fff;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    height: 3em;
    padding: 0 20px;
    line-height: 2.875em;
    border:1px solid #c1c1c0;
    color:#333;
    width:100%;
    border-radius: 5px;
    font-size: 1rem;
}
select option{
  background-color: #fff;
  color: #333;
}
select::-ms-expand {
  display: none;
}
select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #828c9a;
}
.select-wrap.select-primary:before{
  color:#fff;
}
.select-wrap.select-primary > select{
  background:#0084B4;
  color:#fff;
  border-color:#0084B4;
}
.select-wrap.select-primary > select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #fff;
}

.select-wrap.select-inverse:before{
  color:#fff;
}
.select-wrap.select-inverse > select{
  color:#fff;
  border-color: #fff;
}

.select-wrap.select-inverse > select:-moz-focusring { 
  color: transparent; 
  text-shadow: 0 0 0 #fff;
}

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

.checkbox {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  margin: 22px 0px 8px 0;
  padding: 0px 0px 0px 35px;
  border-radius: 8px;
  vertical-align: middle;
  cursor: pointer;
}
.checkbox:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 5px;
  display: block;
  margin-top: -8px;
  width: 14px;
  height: 14px;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  content: '';
}
.checkbox:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 9px;
  display: block;
  margin-top: -8px;
  width: 5px;
  height: 10px;
  border-right: 3px solid #0080cc;
  border-bottom: 3px solid #0080cc;
  content: '';
  opacity: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
input[type=checkbox]:checked + .checkbox:before { opacity: 1; }

.radio {
  box-sizing: border-box;
  -webkit-transition: background-color 0.2s linear;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  margin: 6px 0px 8px 0;
  padding: 0px 0px 0px 35px;
  border-radius: 8px;
  vertical-align: middle;
  cursor: pointer;
}
.radio:after {
  -webkit-transition: border-color 0.2s linear;
  transition: border-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  margin-top: -8px;
  width: 14px;
  height: 14px;
  border: 1px solid #ccc;
  border-radius: 10px;
  content: '';
}
.radio:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 19px;
  display: block;
  margin-top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 6px;
  content: '';
  opacity: 0;
  background-color: #0080cc;
}
input[type=radio]:checked + .radio:before { opacity: 1; }

.select-wrap.long { width: 100%; }
.select-wrap.long>select { width: 100%; }







input.btn { appearance: none; -webkit-appearance:none; -moz-appearance: none; border: 1px solid #ccc; padding: 3px 16px; border-radius: 4px; background-color: #eee; margin-left: 5px; }





@media screen and (max-width: 599px){/* スマホ */

.form input[type="text"] { font-size: 1rem; }

/* form関連 *
.form input[type="text"] { width: 98%; padding: 5.5px 1%; height: 1rem; line-height: 1rem; border: 1px solid #a9a9a9; font-size: 1rem; }

.form textarea { width: 98%; padding: 5px 1%; height: 305px; border: 1px solid #a9a9a9; font-size: 1rem; }
/**/






}