@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; box-sizing: border-box; }
.mf th { padding: 10px 20px; font-weight: normal; white-space: nowrap; text-align:center; background: #d4817e; }
.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 { width: 20%; }
}
/*--------------------------------------
テキスト
---------------------------------------*/
.mf_text {}
.mf_text input[type=text] {
  background: #fff;
  border: 1px solid #999999;
  box-sizing: border-box;
  padding: .5em;
  height: 2.5em;
}
.mf_text_l input[type=text] { width: 100%; }
.mf_text_m input[type=text] { width: 50%; }
.mf_text_s input[type=text] { width: 25%; }

/*--------------------------------------
ラジオボタン
---------------------------------------*/
.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 1.5em;
  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: -.5em;
  position: absolute;
  left: 0;
  top: 50%;
  height: 1em;
  width: 1em;
}
.mf_radio input[type=radio]:checked + label::after {
  background: #333;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: .5em;
  position: absolute;
  left: .25em;
  top: 0;
  height: .5em;
  width: .5em;
}
/*--------------------------------------
チェックボックス
---------------------------------------*/
.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 19px;
  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 #333;
  border-left: 2px solid #333;
  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: .2em .5em .5em;
  position: relative;
  height: 2.5em;
  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: .2em .5em .5em;
  position: relative;
  height: 2.5em;
  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: 30px 0; }
.mf_sendbtn input[type=submit] {
  background-color: #34b484;
  border: 3px solid #34b484;
  color: #FFFFFF;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 280px;
  font-size: 2.0rem;
  font-weight: bold;
}
.mf_sendbtn input[type=submit]:hover {
  background-color: #FFFFFF;
  color: #34b484;
}

/*オレンジ*/
.mf_sendbtnOrange { margin: 30px 0; }
.mf_sendbtnOrange input[type=submit] {
  background-color: #ff8800;
  border: 3px solid #ff8800;
  color: #FFFFFF;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  padding: 14px;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 280px;
  font-size: 2.0rem;
  font-weight: bold;
}
.mf_sendbtnOrange input[type=submit]:hover {
  background-color: #FFFFFF;
  color: #ff8800;
}
/*--------------------------------------
必須項目
---------------------------------------*/
.required {
  font-size: 1.3rem;
  color: #fff;
  background-color: #cd0031;
  padding: 5px 10px;
  border-radius: 3px;
  margin: 0 10px;
}
.any {
  font-size: 1.3rem;
  color: #fff;
  background-color: #2d98ca;
  padding: 5px 10px;
  border-radius: 3px;
  margin: 0 10px;
}
