/*ContactFormカスタマイズ*/
table.CF7_table{
	width:100%;
	margin:0 auto;
	border: 3px solid #696969;
}

table.CF7_table tr{
	border-top: 1px solid #696969;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
	border: 1px solid #d8d8d8;
}

.CF7_table ::placeholder {
	color:#797979;
}

/*「必須」文字*/
.CF7_req{
	font-size:.5em;
	padding: 5px;
	background: #f79034;/*オレンジ*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
	font-size:.5em;
	padding: 5px;
	background: #bdbdbd;/*グレー*/
	color: #fff;
	border-radius: 3px;
	margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
	.CF7_table th{
	width:30%;/*横幅*/
	background-color:#f5f5f5;/*ブルーグレー*/
	text-align:left;
	}	
}

/* レスポンシブ */
@media screen and (max-width: 768px){
	table.CF7_table{
	width:95%;
}
.CF7_table tr, .CF7_table td, .CF7_table th{
	display: block;
	width: 100%;
line-height:2.5em;
}
.CF7_table th{
	background-color:#ebedf5;
}
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
	background-color:#f79034;/* オレンジ*/
	border:0;
	color:#fff;
	font-size:1em;
	font-weight:bold;
	margin:0 auto;
}

.CF7_btn{
	text-align:center;
	margin-top:25px;
}

.wpcf7-spinner{
	width:0;
	margin:0;
}

/* 注意喚起セクション全体 */
.alert-scroll-container {
  max-width: 1000px;
  margin: 20px auto;
  border: 2px solid #e74c3c; /* 警告の赤 */
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* ヘッダー部分（固定） */
.alert-header {
  background-color: #fdf2f2; /* 薄い赤 */
  padding: 15px 20px;
  border-bottom: 1px solid #e74c3c;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-header h2 {
  color: #c0392b;
  font-size: 1.1rem;
  margin: 0;
  font-weight: bold;
}

/* スクロール本体 */
.alert-body {
  max-height: 200px; /* ここで高さを制限 */
  overflow-y: scroll;
  padding: 20px;
  background: #fff;
}

/* スクロールバーのカスタマイズ（ブラウザ対応） */
.alert-body::-webkit-scrollbar {
  width: 8px;
}
.alert-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.alert-body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* 中身のテキスト装飾 */
.alert-content h3 {
  font-size: 1rem;
  color: #333;
  margin: 15px 0 10px;
  border-left: 4px solid #e74c3c;
  padding-left: 10px;
}

.alert-content p, .alert-content li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.alert-negative {
  color: #e74c3c;
  font-weight: bold;
  background: #fff5f5;
  padding: 5px 10px;
  display: inline-block;
}

.alert-footer-text {
  margin-top: 15px;
  font-weight: bold;
  color: #444;
}

/* スマホ表示 */
@media (max-width: 600px) {
  .alert-header h2 {
    font-size: 0.95rem;
  }
}