@charset "utf-8";
/*https://blog.maromaro.co.jp/stylerecipe*/
/*--------------------------------------
テーブル
---------------------------------------*/
table.mf { width: 100%; border-collapse: collapse; border-spacing: 0; }
.mf th,
.mf td { width: 100%; display: block; }
.mf th { padding: 10px 20px; font-weight: normal; white-space: nowrap; text-align:center; background: #f1f1f1; }
.mf td { padding: 15px 20px 20px; }
@media (min-width:576px) { /* PC */
.mf th,
.mf td { display: table-cell; width: auto; padding: 15px 20px; }
.mf th { text-align: right; background: none; width: 20%; }
}
/*--------------------------------------
テキスト
---------------------------------------*/
.mf_text {}
.mf_text input[type=text] {
  background: #fff;
  border: 1px solid #999999;
  box-sizing: border-box;
  padding: 10px;
  height: 40px;
  width: 100%;
}
/*--------------------------------------
ラジオボタン
---------------------------------------*/
.mf_radio {}
.mf_radio input[type=radio] {
  display: none;
  margin: 0;
}
.mf_radio input[type=radio] + label {
  cursor: pointer;
  display: inline-block;
  margin-right: 12px;
  padding: 0 0 0px 24px;
  position: relative;
}
.mf_radio input[type=radio] + label::before {
  border: 1px solid #777777;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: -9px;
  position: absolute;
  left: 0;
  top: 50%;
  height: 16px;
  width: 16px;
}
.mf_radio input[type=radio]:checked + label::after {
  background: #257364;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: 7px;
  position: absolute;
  left: 4px;
  top: 0;
  height: 8px;
  width: 8px;
}
/*--------------------------------------
チェックボックス
---------------------------------------*/
.mf_chack {}
.mf_chack input[type=checkbox] {
  display: none;
  margin: 0;
}
.mf_chack input[type=checkbox] + label {
  cursor: pointer;
  display: inline-block;
  margin-right: 12px;
  padding: 0 0 0 24px;
  position: relative;
}
.mf_chack input[type=checkbox] + label::before {
  border: 1px solid #999999;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: -9px;
  position: absolute;
  left: 0;
  top: 50%;
  height: 16px;
  width: 16px;
}
.mf_chack input[type=checkbox]:checked + label::after {
  box-sizing: border-box;
  content: "";
  display: block;
  position: absolute;
  top: 50%;
}
.mf_chack input[type=checkbox]:checked + label::after {
  border-bottom: 2px solid #257364;
  border-left: 2px solid #257364;
  left: 3px;
  margin-top: -6px;
  transform: rotate(-45deg);
  height: 6px;
  width: 10px;
}
/*--------------------------------------
プルダウン
---------------------------------------*/
.mf_pulldown select {
  appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  background: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 0;
  box-sizing: border-box;
  cursor: pointer;
  padding: 7px 10px 10px 10px;
  position: relative;
  height: 40px;
  width: 100%;
}
@media (min-width:576px) { /* PC */
.mf_pulldown select { width: 50%; }
}
.mf_pulldown label {
  position: relative;
}
.mf_pulldown label::after {
  content: "";
  border-bottom: 1px solid #333333;
  border-left: 1px solid #333333;
  right: 16px;
  height: 8px;
  margin-top: -6px;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  width: 8px;
}
/*--------------------------------------
ファイル選択
---------------------------------------*/
.mf_file {}
.mf_file label {
  border: 1px solid #999999;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  padding: 7px 10px 10px 10px;
  position: relative;
  height: 40px;
  width: 100%;
}
@media (min-width:576px) { /* PC */
.mf_file label { width: 50%; }
}
.mf_file label::before {
  content: "＋";
  color: #333333;
  font-size: 20px;
  line-height: 1;
  margin-top: -9px;
  right: 10px;
  position: absolute;
  top: 50%;
}
.mf_file input[type=file] {
  display: none;
}
/*--------------------------------------
テキストエリア
---------------------------------------*/
.mf_textarea {}
.mf_textarea textarea {
  border: 1px solid #999999;
  box-sizing: border-box;
  padding: 10px;
  height: 210px;
  width: 100%;
}
/*--------------------------------------
送信ボタン
---------------------------------------*/
.mf_sendbtn { margin-top: 20px; }
.mf_sendbtn input[type=submit] {
  background-color: #FFFFFF;
  border: 1px solid #999999;
  border-radius: 2px;
  color: #333333;
  cursor: pointer;
  display: block;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 300px;
}
.mf_sendbtn input[type=submit]:hover {
  background-color: #999999;
  color: #FFFFFF;
}
/*--------------------------------------
必須項目
---------------------------------------*/
.required {
  font-size: 1.2rem;
  color: #fff;
  background-color: red;
  padding: 3px 5px;
  border-radius: 3px;
  margin: 0 10px;
}