/* 申請フォーム欄 */
.contact-table {
  width: 80%;
  margin-bottom: 20px;
}

.contact-item,
.contact-body {
  padding: 20px;
  border: 1px solid #ccc;
}

.contact-item {
  text-align: left; /* テキスト左寄せ */
  width: 30%; /* 横幅30%指定（グレーの背景色部分） */
  background-color: #eee; /* グレーの背景色 */
  font-size: 13px;
}

.contact-body {
  width: 70%; /* 横幅70%指定（白背景色部分） */
}

.form-text {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 400px;
  font-size: 13px;
}

.form-textarea {
  width: 80%;
  padding: 10px;
  height: 100px;
  border-radius: 5px;
  border: 1px solid #ccc;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 13px;
}

/* 申請フォーム内日付選択欄 */
input[type="date"] {
    background-color: #ffffff;
    color: #555; /* 文字色 */
    font-family: Arial, sans-serif; /* フォント指定 */
    font-size: 14px; /* 文字サイズ */
    border: 1px solid #ccc; /* 枠線 */
    border-radius: 4px; /* 角丸 */
    padding: 6px 8px; /* 内側の余白 */
    outline: none; /* 選択時の枠線を消す */
    cursor: pointer; /* カーソルをポインターに */
    width: 200px; /* 幅を指定 */
}

input[type="date"]:focus {
    border-color: #66afe9; /* 選択時の枠線の色 */
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.5); /* 選択時の影 */
}

/* 送信ボタン */
.contact-submit {
  width: 250px; /* 横幅指定 */
  background-color: #f0b81d; /* 背景色 */
  color: #fff; /* 文字色 */
  font-weight: bold; /* 文字の太さ */
  display: block; /* インライン要素をブロック要素に変更 */
  margin: 0 auto; /* 中央寄せ */
  font-size: 16px; /* 文字の大きさ */
  padding: 15px; /* 内側の余白 */
  border-radius: 100vh; /* 角丸指定 */
  border: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.contact-submit:hover {
  opacity: 0.8;
}

.error-message {
    margin-top: 5px;
    color: red;
    font-size: 12px;
}
#close-completion-modal{
/* 	margin-left: 30px; */
	text-align: center;
	font-size: 14px;
	padding: 5px;
	background: #ffffff;
	border-radius: 10px;
	width: 50%;
	margin:0 auto;
	cursor: pointer;
}
.requi{
	color: #ff8383;
	margin-left: 5px;
}
/*
#close-completion-modal:hover{
	background: #f7f7f7;
}
*/
/* モーダルコンテンツ */
#event-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 100000;
    overflow: hidden; /* コンテンツの溢れを防止 */
    display: none;
}
#event-modal-container{
	width: 500px;
	/* モーダルを画面の中央に配置 */
	position: fixed; /* 画面の位置に固定 */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* 親要素の中央に配置 */
	background: white;
	border-radius: 10px;
	padding: 20px 20px 20px 20px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
	max-height: 90vh; /* モーダル全体の高さを制限 */
    overflow-y: auto; /* モーダル内をスクロール可能にする */
}
#event-modal-container h2{
	margin: 0;
	margin-bottom: 10px;
}
#event-modal-container p{
	margin: 5px 0;
}
#event-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 3.5rem;
  cursor: pointer;
  color: #ffffff;
}
#event-modal-close-btn:hover {
  color: #000;
}
.eventStepBtn {
	width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
    background: #5ac79c;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    height: 40px;
}

.eventStepBtn:hover {
    opacity: 0.82;
}
.event-back-btn{
	background-color: #ff2b2b;
	width: 40%;
}
.event-submit-btn{
	width: 40%;
}
#confirmRemarks {
    white-space: pre-wrap; /* 改行とスペースを反映 */
    font-size: 1.2rem;
}
@media screen and (max-width: 480px) {
	 #event-modal-container{
	  width: 90%; /* スマホではさらに幅を広げる */
      padding: 10px;
  }
}