label {
/*  font-weight: bold;*/
  margin-top: 15px;
  display: block;
}
.label-font{
	font-weight: bold;
}
.required::after {
  content: "必須";
  background-color: #EF6233;
  color: white;
  font-weight: 600;
  font-size: 0.85em;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
}

/* スマホでカレンダーを画面いっぱいにする　未実装 */

.flatpickr-calendar {
  border: 2px solid #4CAF50 !important;
}
.flatpickr-day.selected {
  background: #4CAF50 !important;
  color: white !important;
}
.flatpickr-day.today {
  background: #ccc !important;
  color: black !important;
  font-weight: bold;
}

/* flatpickr の矢印を非表示にする */

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
  display: none !important;
}

/*ここからカレンダーの休みのスタイル*/
.is-holiday {
  background-color: #ffeaea !important;
  position: relative;         /* ← これが重要！ */
  color: #aaa;
  overflow: hidden;           /* ← はみ出し防止（念のため） */
  line-height: 38px;          /* ← 日付セルの高さに近づける */
}

.holiday-label {
  position: absolute;
  bottom: 4px;       /* ← 少し上げる */
  right: 4px;        /* ← 少し左に寄せる */
  font-size: 0.6em; /* ← 少し小さく */
  color: red;
  font-weight: bold;
  line-height: 1;
  pointer-events: none;
}


#timeButtons button {
  margin: 5px 5px 5px 0;
  padding: 8px 12px;
  border: 1px solid #4CAF50;
  background: white;
  color: #4CAF50;
  cursor: pointer;
  border-radius: 4px;
  font-size: 18px;
}
#timeButtons button.selected {
  background: #4CAF50;
  color: white;
}
.course-list label {
  display: block;
  margin-bottom: 6px;
  cursor: pointer;
}
.course-list input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer;
}
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  box-sizing: border-box;
}

.button-center {
  text-align: center;
  margin-top: 60px;
	margin-bottom: 80px;
}

button.submit-btn {
  background-color: #4CAF50;
  border: none;
  padding: 12px 30px;
  color: white;
  cursor: pointer;
  font-size: 1.1em;
  border-radius: 4px;
}
button.submit-btn:hover {
  background-color: #45a049;
}

/* モーダル関係 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal {
  background-color: white;
  padding: 25px;
  max-width: 500px;
  border-radius: 10px;
  text-align: left;
  font-size: 16px;
  max-height: 80vh;        /* 画面の80%までに制限 */
  overflow-y: auto;        /* はみ出たら縦スクロール */
}
.modal h3 {
  text-align: center;
  font-size: 1.5em;
}
.attention-box {
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 20px;
}
.attention-title {
  color: red;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
}
.attention-box ul {
  padding-left: 20px;
}
.attention-box li {
  margin-bottom: 5px;
  list-style-type: disc;
}

.modal-buttons {
  text-align: center;
  margin-top: 15px;
}

.modal-buttons button {
  margin: 0 10px;
  padding: 10px 20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
  border: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* 予約確定ボタン */
.confirm-btn {
  background-color: #EF6233;
  color: white;
}

.confirm-btn:hover {
  background-color: #d9531e;
}

/* 戻るボタン */
.back-btn {
  background-color: #ccc;
  color: #333;
}

.back-btn:hover {
  background-color: #aaa;
}

/* 送信中のスピナー */

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-top: 2px solid #666;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* モーダル関係 */

.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.custom-modal-inner {
  background-color: white;
  padding: 2em;
  max-width: 400px;
  width: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  text-align: center;
}

.custom-modal-close {
  margin-top: 1.5em;
  padding: 0.5em 1em;
  background-color: #EF6233; /* メインカラーのオレンジ */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.custom-modal-close:hover {
  background-color: #d9531e; /* 濃いオレンジでhover感を出す */
}

.form_infoModal_img_01{
	margin-top: 10px;
}
/*ここから追加*/

.form_inside_01{
	font-size: 18px;
}
.privacy_text_01{
	margin-top: 50px;
}
.back_form_01{
	background-color:#f6fff6;
	margin:0px -15px;
	padding:30px 15px;
}
#page-top {
	bottom: 20px;
}
input,textarea{
	font-size: 18px;
}

.form_address_wrap_01{
	font-size: 16px;
}
/*.form_address_button_01{
	font-size:16px;
}*/

.form_address_button_01 {
  font-size: 16px;
  background-color: #efefef;
  padding: 0.5em 1em;
  border: 1px solid #ccc;
  cursor: pointer;
  display: inline-block;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.form_address_button_01:hover {
  background-color: #ddd;
}

.form_map_area_01 {
  /* display: none; は削除 */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  margin-top: 10px;
  padding: 0 1em;  /* パディングは閉じたとき邪魔なら調整 */
  background-color: #f9f9f9;
}

.form_map_area_01.open {
  max-height: 500px; /* 中身の高さに合わせて調整 */
  padding: 2em 1em;  /* 開いたときのパディング */
}

.form_address_title_01 {
  font-size: 1.2em;
  margin-bottom: 1em;
	text-align: center;
}

.form_address_main_01 {
  margin-bottom: 1.5em;
}

.form_address_accent_01 {
  color: #EF6233;
	font-weight: bold;
	
}

.form_address_map_01{
	text-align: center;
  max-width: 500px;
	margin: 0px auto;
}






@media(min-width:768px){

.form_inside_01,.privacy_box_01{
	max-width:800px;
	margin:0px auto;
	box-sizing:border-box;
}

button.submit-btn {
  padding: 12px 40px;
}
	
	
	
	
	
	

	
	
	
	
}
