@charset "utf-8";

/*本番環境では復活*/
.grecaptcha-badge {
  display: none;
}


#form_saburoku {
	clear: both;
 overflow: hidden;
 width: 100%;
 padding: 50px 50px;
 box-sizing: border-box;
 border: 1px double #CCCCCC;
	border-radius: 30px;
 margin-bottom: 15px;
}
#form_saburoku dl {
  clear: both;
  width: 100%;
  display: flex;
  align-items: flex-start; /* テキストトップを揃える */
  justify-content: space-between;
  gap: 30px 10px;
  margin-bottom: 30px; /* dlごとに下余白 */
}
/* dt全体 */
#form_saburoku dl dt {
  width: 230px;
  font-size: 18px;
  color: #484848;
  display: flex;
  justify-content: space-between; /* 左:ラベル / 右:必須 */
  align-items: center;
  padding-top: 6px;
}
.mfpn_policy {
  font-size: 18px;
  color: #484848;
	text-align: center;
  line-height: 1.2em;
  margin-bottom: 12px;
}
.policy_agree {
	text-align: center;
}

/* dd */
#form_saburoku dl dd {
  font-size: 18px;
  color: #484848;
  flex: 1;
  margin-left: 20px;
}
#form_saburoku dl dd.dd_radio {
  margin-top: 4px;
}
/* 必須・任意ラベル */
#form_saburoku dl dt span.must, #form_saburoku dl dt span.nini {
  width: 46px;
  font-size: 12px;
	font-weight: bold;
  color: #FFFFFF;
  line-height: 1.0em;
  padding: 5px 0px 6px;
  border-radius: 12px;
  text-align: center;
  margin: 5px 0px 0px 0px;
}
#form_saburoku dl dt span.must {
  background-color: #E1484A;
}
#form_saburoku dl dt span.nini {
  background-color: #484848;
}



#policy_agree {
  width: 400px;
  font-size: 18px;
  text-align: center;
  margin: 0 auto 20px;
  cursor: pointer;
}
#policy_agree label {
  display: inline-block;
  cursor: pointer;
  text-align: center;
  margin: 0px auto 0px;
}
/* ボタンのラッパー */
#bt_submit {
  text-align: center; /* 横中央揃え */
  margin-bottom: 40px; /* 下余白 */
}
/* ボタン本体 */
#bt_submit input[type="submit"] {
  width: 310px;
  height: 60px;
  background: #505050;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease; /* フェードアニメーション */
}
/* ホバー時 */
#bt_submit input[type="submit"]:hover {
  background: #DC0000;
}
.g-recaptcha {
  clear: both;
  width: 310px;
  margin: 0px auto 20px !important;
}


/* ===== テキスト入力・テキストエリア共通 ===== */
#form_saburoku input[type="text"],#form_saburoku input[type="email"], #form_saburoku select {
  max-width: 700px;
  width: 100%;
  font-size: 18px;
  color: #484848;
  border: 1px solid #646464;
  border-radius: 5px;
  padding: 10px 15px;
  box-sizing: border-box;
}
#form_saburoku textarea {
  width: 100%;
	max-width: 100%;
  font-size: 18px;
  color: #484848;
  border: 1px solid #646464;
  border-radius: 5px;
  padding: 10px 15px;
  box-sizing: border-box;
  min-height: 380px;
  resize: vertical; /* ユーザーが高さ調整できる */
  margin-bottom: 30px;
}

/* placeholderのデザイン */
#form_saburoku input::placeholder, #form_saburoku textarea::placeholder {
  color: #9B9B9B;
  font-size: 18px;
}



/* ===== ラジオボタン ===== */
#form_saburoku input[type="radio"] {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-right: 6px;
  margin-top: 3px;
  line-height: 1.0em;
  accent-color: #DC0000; /* Chrome/Edge/Safari用 */
}
#form_saburoku dd label {
  margin-right: 20px;
  font-size: 18px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
/* ===== セレクトボックス ===== */
#form_saburoku select {
  max-width: 280px;
  font-size: 18px;
  background-color: #fff;
  cursor: pointer;
  padding: 10px 15px;
}
/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
	#form_saburoku {
		width: 90%;
		padding: 3.0vh 5.0vw;
		border-radius: 4.0vw;
		margin: 0px auto 4.0vh;
	}
	
  #form_saburoku dl {
    flex-direction: column;
    gap: 2.0vw 0vw;
      margin-bottom: 3.0vh;
  }
  #form_saburoku dl dt {
    width: 100%;
    font-size: 4.0vw;
    margin-bottom: 0vh;
    justify-content: flex-start; /* 左:ラベル / 右:必須 */
    align-items: center;
    padding-top: 0px;
  }
  #form_saburoku dl dd {
    width: 100%;
      font-size: 3.6vw;
      margin-left: 0;
  }
	
	#policy_agree {
		width: 100%;
		font-size: 3.8vw;
		margin: 0 auto 2.0vh;
		cursor: pointer;
	}
	
	
    #mfpn_policy {
      font-size: 4.0vw;
    margin-bottom: 1.0vh;
    }
    #form_saburoku dd label {
      margin-right: 1.2vw;
      font-size: 3.9vw;
    }
    
    /* 必須・任意ラベル */
    #form_saburoku dl dt span.must, #form_saburoku dl dt span.nini,.mfpn_policy .must {
      width: 10.0vw;
      font-size: 3.0vw;
      line-height: 1.0em;
      padding: 0.9vw 0px 1.0vw;
      border-radius: 6.0vw;
      text-align: center;
      margin: 0.3vh 0px 0px 2.0vw;
    }
    
    /* ===== テキスト入力・テキストエリア共通 ===== */
    #form_saburoku input[type="text"],#form_saburoku input[type="email"], #form_saburoku textarea, #form_saburoku select {
      max-width: 100%;
      width: 100%;
      font-size: 4.0vw;
      border-radius: 2.0vw;
      padding: 1.3vh 2.5vw;
      box-sizing: border-box;
    }
  .mfpn_policy {
    font-size: 4.0vw;
  }
  
  
    #form_saburoku select {
      -webkit-appearance: none;
      appearance: none;
    }
    #form_saburoku select::-ms-expand {
      display: none; /* IE対応 */
    }

    /* iPhone Safari専用対策 */
    @supports (-webkit-touch-callout: none) {
      select {
        background-image: none !important;
      }
    }
  
    /* placeholderのデザイン */
    #form_saburoku input::placeholder, #form_saburoku textarea::placeholder {
      font-size: 4.0vw;
        line-height: 1.2em;
    }
    /* テキストエリアは高さを見やすく */
        #form_saburoku textarea {
          min-height: 20vh;
          resize: vertical; /* ユーザーが高さ調整できる */
        }
    
		#bt_submit {
		margin-bottom: 2.0vh;
	}
    
    
}