/*
ボーダー色 #999
*/

label {
  cursor: pointer;
}

input,button{
  font-family: "メイリオ" , Meiryo , "ヒラギノ角ゴPro W3" , "Hiragino Kaku Gothic Pro" , "ＭＳ Ｐゴシック" , sans-serif;
}

::placeholder {
  color: #CCC;
}

/*INPUT TEXT*/
input[type="text"],
input[type="password"] {
  margin: 0;
  padding: 0;
  background: #fff;
  outline: 0;
  width: 100%;
  padding: 3px 5px;
  border: 1px solid #999;
  border-radius: 5px;
  font-size: 16px;
  max-width: 400px;
  transition: border-color ease .2s;
}

input.idpw{
  /*text-align: center;*/
  max-width: 18em;
  margin: auto;
}
input.minimini{
  /*text-align: center;*/
  max-width: 4em;
  margin: auto;
}
input.mini{
  /*text-align: center;*/
  max-width: 5em;
  margin: auto;
}
input.small{
  /*text-align: center;*/
  max-width: 10em;
  margin: auto;
}
input.medium{
  /*text-align: center;*/
  max-width: 14em;
  margin: auto;
}
input.large{
  /*text-align: center;*/
  max-width: 18em;
  margin: auto;
}
input.xlarge{
  /*text-align: center;*/
  max-width: 32em;
  margin: auto;
}
input.mail{
  /*text-align: center;*/
  max-width: 32em;
  margin: auto;
}

@media screen and (max-width: 599px) {
  input[type="text"],
  input[type="password"] {
    /*text-align: center;*/
  }
}




input[type="text"].w4t{
  max-width: 4em;
  margin: auto;
}

input[type="text"].w2t {
  max-width: 2em;
  margin: auto;
}



input[type="text"]:focus {
  border-color: #5f98e1;
}



/*RadioとText*/
label.radio_text {
  font-size: 16px;
	cursor       : pointer;
	position     : relative;
	overflow     : hidden;
	padding-left : 1.5em;
	margin-right: 1em;
	display      : inline-block;
	line-height: 1.5;
}
label.radio_text:before {
  font-family: "form-font";
  content       : '\e821';
	position      : absolute;
	left          : 3px;
	top           : -2px;
	color : #000; /*円の色*/
	z-index       : 3;
	font-size: 1.2em;
}
label.radio_text:after {
  font-family: "form-font";
  content       : '\e823';
  left          : 3px;
	top           : -2px;
	color : #C75425; /*丸の色*/
	position         : absolute;
	z-index          : 1;
	font-size: 1.2em;
}
label.radio_text input[type="radio"] {
	-moz-appearance: none;
	-webkit-appearance: none;
	position   : absolute;
	z-index    : 2;
	width      : 2em;
	height     : 1.45em;
	top        : 0px;
	left       : -2.5em;
	box-shadow : 2em 0 #fff;
	margin     : 0;
}
label.radio_text input[type="radio"]:checked {
	box-shadow : none;
}
label.radio_text input[type="radio"]:focus {
	opacity    : 0;
	box-shadow : 2em 0 #fff;
}
/*
input[type="radio"] {
  display: none;
  border: 0;
  margin: 0;
}

.input-radio {
  display: block;
  position: relative;
  padding-left: 24px;
}
.input-radio label {
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}
.input-radio label:before,
.input-radio label:after {
  content: "";
  position: absolute;
  display: inline-block;
  border-radius: 50%;
  transition: transform .2s ease;
}
.input-radio label:before {
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #505050;
}
.input-radio label:after {
  top: 8px;
  left: 4px;
  width: 8px;
  height: 8px;
  background-color: transparent;
  transform: scale(0);
}
.input-radio input[type="radio"]:checked + label:after {
  background-color: #5f98e1;
  transform: scale(1);
}
*/

input[type="checkbox"] {
  margin: 0;
  display: none;
}

.input-checkbox {
  display: block;
  position: relative;
  padding-left: 24px;
}
.input-checkbox label {
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}
.input-checkbox label:before,
.input-checkbox label:after {
  content: "";
  position: absolute;
  display: inline-block;
  transition: transform .2s ease;
}
.input-checkbox label:before {
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border: 1px solid #505050;
  border-radius: 3px;
}
.input-checkbox label:after {
  top: 8px;
  left: 5px;
  width: 6px;
  height: 11px;
  margin-top: -5.5px;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-radius: 1.5px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: border-bottom-color,border-right-color .2s ease;
}

.input-checkbox input[type="checkbox"]:checked + label:after {
  border-color: #5f98e1;
}

select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    margin: 0;
    height: 31px;
/*    background: transparent;*/
    position: relative;
    z-index: 1;
    padding: 0 40px 0 10px;
/*    border: 1px solid #000;*/ /* #235100; */
    border-radius: 5px;
    font-size: 16px;
	
    border: 1px solid #999;
    background: #fff;
}
select::-ms-expand {
    display: none;
}
.select_wrap{
    position: relative;
    display: inline-block;
}
.select_wrap::before{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    background: #000; /* #235100; */
    height: 100%;
    width: 30px;
    border-radius: 0 5px 5px 0;
}
.select_wrap::after{
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 9px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 6px 0 6px;
    border-color: #fff transparent transparent transparent; 
}

.select_wrap.on select{
  border-color: #247cff;
}

.select_wrap.on::before{
  background: #247cff;
}

textarea {
  border: 0;
  outline: 0;
  border: 1px solid #999;
}

.input_text textarea {
  padding: 3px 5px;
  border: 1px solid lightgrey;
  border-radius: 2px;
  font-size: 16px;
  transition: border-color ease .2s;
  resize: none;
}

.input_text textarea:focus {
  border-color: #5f98e1;
}

/*デフォルト色*/
.bt > input[type="submit"]{
    background: #90bc00;
    position: relative;
}

/*
#water_form .bt > input[type="submit"] {
    background: #247cff;
}
*/

.bt > input[type="reset"]{
    background: #c4db76;
}

/*ユーザー設定画面色*/
.c_setting .bt > input[type="submit"]{
    background: #009db8;
    position: relative;
}

.c_setting .bt > input[type="reset"]{
    background: #95D3DE;
}

/*管理画面色*/
.c_manager .bt > input[type="submit"]{
    background: #4e4f3e;
    position: relative;
}

.c_manager .bt > input[type="reset"]{
    background: #b2b49f;
}

/*ユーザーログアウト時の色*/
/* .c_manager .bt > *, */
.c_logout .bt > input[type="submit"]{
    background: #748D3D;
}

@media screen and (min-width: 960px) {
  .bt > input[type="reset"]:hover,
  .bt > input[type="submit"]:hover{
      background: #000;
  }
}

table.st2s{
  width: auto;
  /*margin: 20px auto;*/
  margin: 20px;
}

table.st2s th, table.st2s td{
  padding: 5px;
}

.st2s.form_box th{
  background: none;
}
@media screen and (max-width: 599px) {
  .form_box th, .form_box td{
    display: block;
/*
    font-size: 20px;
    font-size: 2rem;
*/
  }
  
  .st2s th + td {
    padding-top: 0;
  }
  
}

