@charset "utf-8";

*{
  box-sizing: border-box;
}
p.center{
  text-align: center;
}

.red{
  color: #F00;
}

/* ※のリスト（注意事項） */
ul.attention{
  list-style: none;
  padding-left: 1.2em;
  text-align: left;
}

ul.attention li{
  text-indent: -1.2em;
}

ul.attention li::before{
  content: "※";
  margin-right: 0.2em;
}

#contactTable {
  width: 750px;
  margin: 0 auto;
  border: none;
  border-collapse: collapse;
}

#contactTable th,
#contactTable td{
  padding: 0.5em;
}

#contactTable th{
  width: 180px;
  text-align: right;
  font-weight: normal;
}

textarea {
  width: 100%;
}

.flexBox {
  display: flex;
  gap: 10px;
}

/* テキストインプットとテキストエリアの基本装飾 */

input,
textarea {
  /* margin: 0.5em 0; */
	padding: 0.5em;
  outline: none;
  border: 1px solid #DDD;
	-webkit-border-radius: 3px;
  -moz-border-radius: 3px;
	border-radius: 3px;
  font-family: "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 16px;
}

input[type="tel"],
input[type="text"][name="zipcode"]{
  width: 80%;
}

input[type="text"],
input[type="number"] {
  width: 100%;
}

input[type="email"] {
  width: 100%;
}

input[type="text"][name="address"]{
  width: 100%;
}

textarea {
  width: 100%;
  height:100px;
}

input[type="checkbox"]{
  width: fit-content;
}

/* フォーカスした時のスタイルを変更 */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
	box-shadow: 0 0 7px #3498db;
	transform: translateZ(0); /*shadowをiOSで表示*/
	border: 1px solid #3498db;
}

/* ボタンのスタイルを変更 */
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  width: fit-content;
  color: #111;
  margin: 0 0 5%;
  padding: 10px 30px;
  background: -moz-linear-gradient(top, #FFF 0%, #EEE);
  background: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#EEE));
  border: 1px solid #DDD;
  border-radius: 3px;
}

input[type="submit"]:hover,
input[type="button"]:hover {
	background: -moz-linear-gradient(top, #EFEFEF 0%, #EEE);
	background: -webkit-gradient(linear, left top, left bottom, from(#EFEFEF), to(#EEE));
}

@media screen and (min-width: 769px) {

input[type="tel"],
input[type="text"][name="zipcode"]{
  width: 40%;
}

input[type="text"],
input[type="number"] {
  width: 50%;
}

input[type="email"] {
  width: 80%;
}

input[type="text"][name="address"]{
  width: 100%;
}

textarea {
  width: 100%;
  height:100px;
}

/* reCAPTCHAの表示調整 */
.grecaptcha-badge {
    bottom: 180px !important;
}

}