/*

 メールフォームのCSS
 長さなどはここではなく各sub.css等で指定すること。
---
チェックボックス用にfont-awesomeのcssを読み込ませる事
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet">
*/
/*
レスポンシブに関係ない色の設定など。
*/
/*テキストボックス・テキストエリア・セレクトの色関係*/
input[type="text"], input[type="number"], textarea, select {
  padding: 5px;
  font-weight: normal;
  color: #167245;
  border: 3px solid #167245;
  border-radius: 5px;
}

/*フォームの下に注訳がある時は余白*/
.note_plus{
	margin-bottom: 6px;
}

/*チェックボタン・ラジオボタン*/
.btn {
  /*ここを変えるとボタンと文字の高さがずれるから変更禁止*/
  font-size: 25px;
}
.btn2 i {
  /*ここを変えるとボタンと文字の高さがずれるから変更禁止*/
  font-size: 1.8em;
}
.btn2 span {
  /*ここを変えるとボタンと文字の高さがずれるから変更禁止*/
  font-size: 2.2em;
}
/*確認チェックボックス*/
.checkbox {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
.checkbox-fontas {
  position: relative;
  vertical-align: middle;
  color: #e85298;
}
.checkbox + .checkbox-fontas:before {
  font-family: "Font Awesome 6 Free";
  content: '\f0c8';
  color: #ccc;
}
.checkbox:checked + .checkbox-fontas:before {
  content: '\f14a';
  color: #2db29c;
}
/*ラジオボタン*/
input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -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: 0 20px 8px 0;
  padding: 12px 12px 12px 42px;
  border-radius: 8px;
  background-color: #f6f7f8;
  vertical-align: middle;
  cursor: pointer;
}
.radio:hover {
  background-color: #e2edd7;
}
.radio:hover:after {
  border-color: #53b300;
}
.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: -10px;
  width: 16px;
  height: 16px;
  border: 2px solid #bbb;
  border-radius: 6px;
  content: '';
}
.radio:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  margin-top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #53b300;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .radio:before {
  opacity: 1;
}
/*フォーム内チェックボックス*/
div[data-toggle="buttons"] label.active {
  color: #7AA3CC;
}
div[data-toggle="buttons"] label {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 10px;
  font-weight: normal;
  line-height: 2em;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
  background-color: none;
  border: 0px solid #646464;
  border-radius: 3px;
  /*チェックされて無い時の文字の色*/
  color: #646464;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
div[data-toggle="buttons"] label:hover {
  /*ホバー時の文字の色*/
  color: #276DF1;
}
div[data-toggle="buttons"] label:active, div[data-toggle="buttons"] label.active {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #276DF1;
}
div[data-toggle="buttons2"] label.active {
  color: #7AA3CC;
}
div[data-toggle="buttons2"] label {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 2em;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
  background-color: none;
  border: 0px solid #646464;
  border-radius: 3px;
  /*チェックされて無い時の文字の色*/
  color: #646464;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}
div[data-toggle="buttons2"] label:hover {
  /*ホバー時の文字の色*/
  color: #276DF1;
}
div[data-toggle="buttons2"] label:active, div[data-toggle="buttons2"] label.active {
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #276DF1;
}
/*ボタンデザイン*/
/*
サイズはレスポンシブ
各ページごとに変えるかもしれないのでsub.cssで設定
*/
.conf_bot_con {
  text-align: center;
}
.button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  line-height: -20px;
  outline: none;
  font-size: 20px;
  letter-spacing: 0.3em;
  background-color: #fff;
}
.button::before, .button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: '';
}
.button, .button::before, .button::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all .3s;
  transition: all .3s;
}
/*色2色*/
/*送信・警告ボタン*/
.bot1 {
  border: 2px solid #37beb0;
  color: #1F955B;
}
.bot1:hover {
  background-color: #37beb0;
  border-color: #37beb0;
  color: #FFF;
}
/*送信・警告ボタン*/
.bot2 {
  border: 2px solid #888;
  color: #666;
}
.bot2:hover {
  background-color: #999;
  border-color: #888;
  color: #FFF;
}
/*確認*/
.con_bin_01 {
  text-align: left;
}
/*年月日*/
.con_form_date {
  position: relative;
  display: inline-block;
  
  border: 3px solid #167245;
  border-radius: 5px;
	/*あとで移動*/
	width: 196px;
  height: 36px;
}
input[type="date"] {
  position: relative;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: #167245;
  /*あとで移動*/
  font-size: 1.2em;
  width: 240px;
  height: 36px;	
}
.con_form_date::before {
  position: absolute;
  content: "";
  top: 0;
  right: -43px;
  width: 36px;
  height: 36px;
  background-color: #fff;
  background-image: url("images/icon_calendar.png");
  background-size: 36px auto;
  background-repeat: no-repeat;
  background-position: center;
}
input[type="date"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="date"]::-webkit-clear-button {
  -webkit-appearance: none;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

/*時間*/
.con_form_time {
  position: relative;
  display: inline-block;
  
  border: 3px solid #167245;
  border-radius: 5px;
	/*あとで移動*/
	width: 96px;
  height: 36px;
}
input[type="time"] {
  position: relative;
  padding: 0 10px;
  border: 0;
  background: transparent;
  box-sizing: border-box;
  color: #167245;
  /*あとで移動*/
  font-size: 1.2em;
  width: 140px;
  height: 36px;	
}
.con_form_time::before {
  position: absolute;
  content: "";
  top: 0;
  right: -43px;
  width: 36px;
  height: 36px;
  background-color: #fff;
  background-image: url("images/icon_time.png");
  background-size: 36px auto;
  background-repeat: no-repeat;
  background-position: center;
}
input[type="time"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="time"]::-webkit-clear-button {
  -webkit-appearance: none;
}
input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 0px;
  top: 0px;
  padding: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  color: transparent;
  cursor: pointer;
}


