/* お問い合わせ */
main {
	margin-top: 0 !important;
}
.pan_list {
    list-style: none;
    padding-left: 30px;
    max-width: 1100px;
    margin: 70px auto 10px;
}
/* タイトル画像 */
.contact-img img{
	width: 100%;
}
.sp_only {
  display: none;
}
.pc_only {
  display: block;
}

/* タイトル 
.contact-title {
	display: flex;                
	align-items: center;          
	justify-content: center;      
	gap: 10px;
	margin-bottom: 20px;
}

.contact-title img{
	width: 10%;
}

.title{
	font-size: 20px;
	font-weight: bold;
}

h1.h1_title img {
  width: 90px;
  height: 90px;
 }
.amoi_titletext {
  font-size: 28px;
  font-weight: bold;
}
.amoi_hi_title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}
  */
.h2_title {
  display: block;
  position: relative;
  color: #fba717;
  font-size: 30px;
  text-align: center;
  margin: 60px auto;
}
.h2_title:before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #fba717;
}



/* 説明 */
.contact-explanation{
	display: flex;                /* 横並び */
	align-items: center;          /* 縦中央揃え */
	justify-content: center;      /* 横中央揃え*/
}

p.note {
    margin: 16px auto;
    text-align: center;
}


/* レスポンシブ対応 */
	
@media screen and (max-width: 768px) {
	.contact-explanation{
		display: block;
		text-align: center;
	}
	.sp_only {
      display: block;
    }
    .pc_only {
      display: none;
    }
}
@media (min-width: 768px) {
  a[href^="tel:"] {
      pointer-events: none;
      cursor: default;
  }
 }

/* 電話問い合わせ */

.contact-tel-explanation{
	margin-top: 30px;
	margin-bottom: 30px;
}
.contact-inner {
    width: 60%;
    background-color: #FBF6EB;
    margin: 0 auto;
    border-radius: 20px;
    padding: 16px;
}
p.contact-inner-tel-title {
    text-align: center;
	margin-bottom: 10px;
}
a.tel {
    text-decoration: none;
	font-weight: bold;
    color: #FBA717;
}
.contact-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-phone img {
	width: 50px;
	margin-right: 16px;
}

/* 電話 */
.contact-card-tel-title{
	margin-bottom: 10px;
}

.contact-tel,
.contact-mail{
	display: flex;
	align-items: center;          /* 縦中央揃え */
	justify-content: center;      /* 横中央揃え*/
}

.contact-tel img{
	margin-right: 20px;
}

.tel{
	font-size: 28px;
}

.business-hours{
	margin-left: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.contact-card {
	  margin-left: 20px;
	  margin-right: 20px;
	  padding: 15px;
	}
  
	.contact-tel,
	.contact-mail {
	  flex-direction: column; /* 縦並びに */
	  align-items: center;
	  text-align: center;
	}
  
	.contact-tel img {
	  margin-right: 0;
	  margin-bottom: 10px;
	}
  
	.business-hours {
	  margin-left: 0;
	  margin-top: 8px;
	}
  
	.tel {
	  font-size: 22px;
	}
  }


/* お問い合わせ */

#form-container {
    width: 600px;
    margin: 100px auto 50px auto;
}
  
  .form-title {
	color: #FBA717;
	font-size: 20px;
	margin-bottom: 20px;
	text-align: center;
	position: relative;
  }
  
  .form-title::after {
	content: "";
	display: block;
	width: 60px;            /* 下線の長さ */
	height: 2px;            /* 下線の太さ */
	background-color: #FBA717;
	margin: 8px auto 0 auto; /* 上マージン＋中央寄せ */
  }

  span.requied {
    color: #FBA717;
    margin-left: 6px;
}
/* td {
    padding: 10px;
} */

.table-res-form input[type="radio"], input[type="text"], input[type="email"],input[type="tel"], textarea {
    border: 1px #2D2300 solid;
    padding: 0.5em;
    border-radius: 5px;
    margin-bottom: 1em;
	margin-left: 1em;
}
/* .table-res-form td {
    padding-bottom: 5px
} */

/*送信ボタンスタイリング*/
.table-res-form input[type="submit"] {
    padding: 0.5em solid;
    padding: 0.5em 4em;
    border-radius: 5px;
    background: #FBA717;
    color: #fff;
	border: none;
	font-size: 18px;
}
  
  .form-group {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
  }
  
  /* ラベル */
  .form-label {
	width: 150px;
	margin-right: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
  }
  
  /* ラベルの主テキスト */
  .label-text {
	font-weight: normal;
	margin-bottom: 4px;
  }
  
  /* 必須マーク */
  .required {
	color: #FBA717;
	font-weight: bold;
	font-size: 12px;
  }
  
  /* テキスト入力 */
  .form-input {
	flex: 1;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
  }
  
  /* テキストエリア */
  .form-textarea {
	flex: 1;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	resize: vertical;
	box-sizing: border-box;
  }
  
  /* チェックボックス用 */
  .checkbox-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
  }
  
  .checkbox-label {
	white-space: nowrap;
  }
  
  .checkbox-input {
	margin-right: 4px;
  }
  
  /* 送信ボタン中央揃え */
  .center {
	text-align: center;
  }
  
  .submit-button {
	background-color: #FBA717;
	color: white;
	border: none;
	padding: 10px 30px;
	font-size: 14px;
	border-radius: 4px;
	cursor: pointer;
  }

  .submit-group {
	justify-content: center;
  }
  
  .submit-button:hover {
	background-color: #FBA717;
  }

@media (min-width: 768px) {
  a[href^="tel:"] {
      pointer-events: none;
      cursor: default;
  }
}
  /* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	h1.h1_title img  {
      width: 70px;
      height: 70px;
    }
    .amoi_titletext {
      font-size: 22px;
      font-weight: bold;
    }
	.contact-phone {
		display: block;
	}
	#form-container{
		width: 90%;
		padding: 10px;
		margin: 0px auto 40px auto;
	}
	.form-group {
		flex-direction: column;
		align-items: stretch;
	}

	.form-label {
		width: 100%;
		margin-right: 0;
		margin-bottom: 5px;
	}

	.form-input,
	.form-textarea {
		width: 100%;
	}

	.submit-group {
		align-items: center;
	}

	.submit-button {
		width: 100%;
	}
	/*thとtdをブロック化して幅100％にして、縦積み*/
    .table-res-form .th, .table-res-form .td {
        width: 85%;
        display: block;
    }
	/*th（項目名）欄の不要な余白削除・テキスト左寄せ*/
    .table-res-form .th {
        padding-bottom: 0;
        text-align: left;
    }
	/*不要な最終行の左のthを非表示にする*/
    .table-res-form .empty {
        display: none;
    }
	/*送信ボタンを中央寄せ*/
	.table-res-form .th:last-child, .table-res-form .td:last-child {
		display: flex;
		justify-content: center;
	}
	.wpcf7-spinner {
		display: none;
	}
}