@charset "utf-8";
/*https://blog.maromaro.co.jp/stylerecipe*/
/*--------------------------------------
テーブル
---------------------------------------*/
table.mf { width: 100%; border-collapse: collapse; border-spacing: 0; font-size: 1.9rem; font-weight: bold; }
.mf th,
.mf td { width: 100%; display: block; }
.mf th { padding: .5em 1.5em; white-space: nowrap; text-align:center; background: var(--grayColor); }
.mf td { padding: .5em 1.5em; margin-bottom: 1.5em; }
@media (min-width: 768px) { /* PC */
.mf th,
.mf td { display: table-cell; width: auto; padding-bottom: 1.5em; }
.mf th { text-align: right; background: none; width: 20%; }
}
/*--------------------------------------
テキスト
---------------------------------------*/
.mf_text {}
.mf_text input[type=text] {
  background: #fff;
  border: 1px solid #999;
  box-sizing: border-box;
  padding: .5em;
  height: 2.5em;
  margin-top: .5em;
  width: 100%;
}
@media (min-width: 768px) { /* PC */
.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: 1em;
  padding-left: 2em;
  position: relative;
}
.mf_radio input[type=radio] + label::before {
  border: 1px solid #666;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: -.5em;
  position: absolute;
  left: 0;
  top: 50%;
  height: 1em;
  width: 1em;
  background: #fff;
}
.mf_radio input[type=radio]:checked + label::after {
  background: var(--mainColor); ;
  border-radius: 50%;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: .75em;
  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: 1em;
  padding-left: 2em;
  position: relative;
}
.mf_chack input[type=checkbox] + label::before {
  border: 1px solid #666;
  box-sizing: border-box;
  content: "";
  display: block;
  margin-top: -.5em;
  position: absolute;
  left: 0;
  top: 50%;
  height: 1em;
  width: 1em;
  background: #fff;
}
.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 var(--mainColor);
  border-left: 2px solid var(--mainColor);
  left: .25em;
  margin-top: -.5em;
  transform: rotate(-45deg);
  height: .5em;
  width: 1em;
}
/*--------------------------------------
プルダウン
---------------------------------------*/
.mf_pulldown select {
  appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 1px solid #999;
  border-radius: 0;
  box-sizing: border-box;
  cursor: pointer;
  padding: .2em 1em;
  margin-top: .5em;
  position: relative;
  height: 2.5em;
  width: 100%;
  color: #000;
}
@media (min-width: 768px) { /* PC */
.mf_pulldown select { width: 50%; }
}
.mf_pulldown label {
  position: relative;
}
.mf_pulldown label::after {
  content: "";
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  right: 1em;
  height: .5em;
  margin-top: -.4em;
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  width: .5em;
}
/*--------------------------------------
ファイル選択
---------------------------------------*/
.mf_file {}
.mf_file label {
  border: 1px solid #999;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  padding: .2em .5em .5em;
  margin-top: .5em;
  position: relative;
  height: 2.5em;
  width: 100%;
}
@media (min-width: 768px) { /* PC */
.mf_file label { width: 50%; }
}
.mf_file label::before {
  content: "＋";
  color: #333;
  font-size: 2.0rem;
  line-height: 1;
  margin-top: -.5em;
  right: 10px;
  position: absolute;
  top: 50%;
}
.mf_file input[type=file] {
  display: none;
}
/*--------------------------------------
テキストエリア
---------------------------------------*/
.mf_textarea {}
.mf_textarea textarea {
  border: 1px solid #999;
  box-sizing: border-box;
  padding: 1em;
  margin-top: .5em;
  height: 210px;
  width: 100%;
  background: #fff;
}
/*--------------------------------------
送信ボタン
---------------------------------------*/
.mf_sendbtn { margin-top: 20px; }
.mf_sendbtn input[type=submit] {
  background-color: var(--mainColor);
  border: 1px solid var(--mainColor);
  border-radius: 100vh;
  color: #fff;
  cursor: pointer;
  display: block;
  padding: 1em;
  font-size: 1.9rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  margin: 0 auto;
  min-width: 280px;
}
.mf_sendbtn input[type=submit]:hover {
  background-color: #fff;
  color: var(--mainColor);
}
/*--------------------------------------
必須項目
---------------------------------------*/
.required {
  font-size: 80%;
  color: #fff;
  background: red;
  padding: .5em;
  margin-left: .5em;
  border-radius: 3px;
}