#formWrap {
	width:100%;
	height: 100vh;
	margin:  0 auto;
	color:#fff;
	line-height:120%;
	font-size:13px;
	display: grid;
	place-items: center;
	z-index: 1;
	position: relative;
	/* background-color: aqua; */
}
table.formTable{
	/* width:700px; */
	margin: auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	padding: 30px 0 30px 0;	
}
table.formTable th{
	font-weight:600;
	font-size: 18px;
	text-align:left;
	font-family: "Urbanist", sans-serif;
	color: rgb(68, 31, 94);
}

input[type=text]{
	width:600px;
	height:50px;
	font-size:16px;
	color:#555;
	background-color:rgb(230, 226, 231);
	padding-left: 10px;
	border: 1.5px solid #999;
}

input:focus {
	border: 1.5px solid #33393f; 
	outline: none;
}

textarea {
	min-width: 600px;
	min-height: 200px;
	max-width:  600px;
	max-height: 200px;
	font-size:16px;
	color:#555;
	background-color:rgb(230, 226, 231);
	padding-top: 15px;
	padding-left: 10px;
	resize: none;
	scrollbar-color: #999 rgb(230, 226, 231); /* つまみの色 トラックの色 */
	border: 1.5px solid #999;
	overflow-y: auto;
}

textarea:focus {
	border: 1.5px solid #33393f; 
	outline: none;
}

/* ==================================================== */	

@media screen and (orientation: landscape) and (max-width: 933px){
	.scrollify{
		height: auto;
	  }

	#formWrap{
		height: auto;
		padding-top: 30px;
		padding-bottom:  30px;
	}
	
	input[type=text]{
		width:500px;
		height:50px;
		
	}
	
	textarea {
		min-width: 500px;
		min-height: 150px;
		max-width:  500px;
		max-height: 150px;
		
	}

}

@media screen and (max-width: 480px){
	.scrollify{
		height: auto;
	  }

	#formWrap{
		height: 80vh;
	}
	
	input[type=text]{
		width:290px;
		height:50px;	
	}
	
	textarea {
		min-width: 290px;
		min-height: 150px;
		max-width:  290px;
		max-height: 150px;	
	}
}

@media (orientation: portrait) and (max-width: 392px){
	#formWrap{
		height: auto;
		padding-top: 50px;
		padding-bottom:  30px;
	}
	.img_overlay img{
		height: 800px;
	  }

}

/* ==================================================== */	

#button {
	text-align :center;
	display: block ;
	margin-left: auto;
	margin-right: 0;
	margin-top: 10px;
	width: 140px;
}

input[type="submit"] {
    width: 100%;
    height: 40px;
    font-size: 15px;
	letter-spacing: 0.1rem;
	font-family: "Urbanist", sans-serif;
    color: #000;
    display: inline-block;
    padding: 0;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgb(146, 146, 154);
    text-decoration: none;
    /* アニメーション用の背景設定 */
    background-image: linear-gradient(to left, rgb(230, 226, 231) 50%, rgb(63, 39, 79) 50%);
    background-size: 200% 100%; /* 横幅を200%に広げる */
    background-position: 100% 0; /* 右端に配置 */
    transition: background-position .4s ease, color .4s ease; /* アニメーションの対象を設定 */
}

/* ホバー時の背景と文字色 */
input[type="submit"]:hover {
    color: #fff;
    background-position: 0 0; /* 左端に移動 */
}

/* ==================================================== */	

td.required {
	position: relative; /* 疑似要素の基準点を設定 */
  }
  
  td.required::after {
	content: "必須";
	background-color: rgb(68, 31, 94);
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 2px 7px;
	line-height: 1;
	text-align: center;
	border-radius: 10px;
	display: inline-block;
	
	/* 位置の調整 */
	position: absolute;
	top: 5px; /* 上端から5px下に配置 */
	left: 5px; /* 左端から5px右に配置 */
  }
  
  /* フォーム部品に重ならないように、paddingを調整 */
  td.required textarea {
	padding-top: 15px; /* 必須マークの高さ分、textareaの上部にパディングを追加 */
  }

/* ==================================================== */	

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
	}

