/* calendar --------------------------------------------*/

.year-month {
	text-align: center;
}

.year-month b {
	font-weight: bold;
	font-size: 110%;
	letter-spacing: 0.2em;
	text-align: center;
}

.yoyaku_calendar a:hover {
	color: #fff;
}

#calendar_box {
	background-color: #fff;
	padding: 0 0 1em 0;
	margin: 0 auto 3em;
}

.calendar_box {
	padding: 1vw 2.5vw;
	margin: 0 auto;
	max-width: 700px;
}

.yoyaku_calendar a,
.yoyaku_calendar p {
	width: 14.25%;
	text-align: center;
	padding: 1.5vw 1.5vw;
}


.yoyaku_calendar a {
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.calendar_rec a.yyk_ok {
	background: var(--yoyaku_color);
	border: solid;
	border-radius: 8px;
	font-weight: bold;
}

.yoyaku_calendar a.yyk_no {
	color: #aaa;
}

.yoyaku_calendar .masu span,
.yoyaku_calendar .masu a {
	display: block;
	padding: 0.5vw 0 1.3vw;
	width: calc(5vw + 20px);
}
.yoyaku_calendar .masu a {
	cursor:pointer;
}

@media(min-width:1000px) {

	.yoyaku_calendar p span,
	.yoyaku_calendar p a {
		padding: 5px 0 8px;
		width: 60px;
	}
}

.yoyaku_calendar p a {
	color: #fff;
	border-radius: 5px;
}

.yoyaku_calendar p:nth-child(7n+1) {
	width: 14.25%;
}

.yoyaku_calendar p:nth-child(1) {
	color: red;
	width: 14.3%;
}

.yoyaku_calendar p:nth-child(7) {
	color: #3f70f9;
}

.calendar_nextback {
	display: flex;
}

.calendar_nextback p {
	width: 50%;
	padding: 0 25px;
}

.calendar_nextback p:first-child {
	text-align: left;
}

.calendar_nextback p:last-child {
	text-align: right;
}

.calendar_nextback a {
	display: inline-block;
	font-weight: bold;
}


/*カレンダー数字の背景マーク*/
.yyk_ok,
.yyk_ari,
.yyk_tel,
.yyk_full {
	position: relative;
	z-index: 1;
}

.yyk_ok::before,
.yyk_ari::before,
.yyk_tel::before,
.yyk_full::before {
	width: 100%;
	position: absolute;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: -1;
	/* 円の色 */
}

.yyk_ok::before {
	font-size: 280%;
	top: 47%;
}

.yyk_tel {
	background: var(--tel_color) !important;
}

/* .yyk_ari::before {
	font-size: 280%;
	top: 45%;
	content: "▲";

}
*/

/*
.yyk_full::before {
	font-size: 280%;
	top: 45%;
	content: "×";
}
*/

.yyk_thumb {
	max-width: 200px;
}

.yoyaku_time {
	max-width: 850px;
	width: 90vw;
	margin: 30px auto;
	display: flex;
	flex-wrap: wrap;
	background: #fff;
}

.yoyaku_time p {
	width: 50%;
	text-align: center;
	border-bottom: 1px solid var(--yoyaku_color);
	border-right: 1px dotted #ffbcd9;
	padding: 20px 0;
}

.yoyaku_time p:nth-child(2n+1) {
	border-left: 1px solid var(--yoyaku_color);
}

.yoyaku_time p:nth-child(2n) {
	border-right: 1px solid var(--yoyaku_color);
}

.yoyaku_time p:nth-child(-n+2) {
	border-top: 1px solid var(--yoyaku_color);
}

.yoyaku_time a {
	background-color: var(--yoyaku_color);
	color: #fff;
	font-weight: bold;
	font-size: 95%;
	padding: 5px 30px;
	border-radius: 5px;
	box-shadow: 1px 2px 3px #ccc
}

.yoyaku_time span {
	background: #eee;
	padding: 5px 10px;
	border-radius: 5px;
	display: inline-block;
	max-width: 9em;
}

.yoyaku_time_hiduke {
	text-align: center;
	font-size: 150%;
	letter-spacing: 4px;
	font-weight: bold;
}

table.yoyaku {
	width: 95%;
	margin-left: 2.5%;
	border-collapse: collapse;
}

table.yoyaku tr {
	border-bottom: 1px solid #ccc;
	height: 85px;
}

table.yoyaku th {
	/* text-align: left; */
	width: 35%;
	color: #666;
	font-size: 90%;
}

table.yoyaku th span,
table.yoyaku td span {
	color: #f8b;
	font-weight: normal;
}

table.yoyaku td.times_special span {
	color: #555;
	display:
		inline-block;
	margin-bottom: 5px;
	width: 48%;
	font-size: 110%;
}

/* リクルート */
.rec_kibou_day_time input {
	border: none;
	text-align: center;
	font-size: 110%
}

.rec_kibou_day_time input:nth-child(1) {
	width: 13em;
	padding-left: 1em;
}

.rec_kibou_day_time input:nth-child(2) {
	width: 7em;
}


.rec_kibou_day_time p {
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}

#time_dialog {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	border: 1px solid rgb(204, 204, 204);
	z-index: 1000;
	box-shadow: 8px 8px 10px #0001;
	background-color: #fff;
}

#time_dialog button:nth-child(n+4) {
	margin-left: 6px;
}

/* form改修css 2025.5.23 */

/* リンク先ちょっとずらす用 */
#fStep_box {
	padding:1px;
	margin:0;
}

.fStep {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:555px;
  max-width: 80vw;
  margin: 3em auto 2.5em;
  position: relative;
  list-style: none;
  padding: 0;
}
.fStep:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  margin: -13.5px 0 0;
  background-color: #dcdcdc;
}
.fStep .fStep_item {
  position: relative;
  float: left;
  width: auto;
  letter-spacing: -1em;
}
.fStep .fStep_item span {
  display: block;
  padding: 0 0 2px;
  letter-spacing: normal;
  width: 30px;
  line-height: 22px;
  font-size: 14px;
}
.fStep .fStep_item span.fStep_num {
  width: 30px;
  border-radius: 22.5px;
  background-color: #ccc;
  color: #fff;
  font-weight: bold;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
}
.fStep .fStep_item span.fStep_txt {
  color: #999;
  text-align: center;
}
.fStep span.fStep_txt { color: #333; }

.calendar_box .fStep_item-step1 span.fStep_num,
.fStep .fStep_item.fStep_now span.fStep_num {
  background-color: var(--yoyaku_color);
}

.c_title_box {
  margin-bottom: 2em;
  padding: 0 .5em;
  /* display: grid;
     grid-template-columns: 200px 1fr;
     gap: 16px; */
}
.c_title_box .thumb { text-align: center; }
.c_title_box .thumb img {
  width: 100%;
  max-width: 600px;
  max-height: 315px;
  object-fit: contain;
}
.c_title_box .ttl {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding-top: .5em;
}

.cal_select_plz {
  display: flex;
  font-size: 18px;
  align-items: center;
  font-weight: 600;
  color: #666;
  margin: 2em auto 10px;
  padding-left: 2.5vw;
  max-width: 700px;
}
.cal_select_plz .req {
  background: #c11c33;
  border: 1px solid #c11c33;
  white-space: nowrap;
  padding: 4px 6px 5px;
  color: #fff;
  display: flex;
  align-items: center;
  font-size: 16px;
  border-radius: 4px;
  line-height: 24px;
  margin-right: 16px;
  justify-content: center;
}

/* ===== calendar_wrap（カレンダー全体）===== */
.calendar_wrap {
  width: 100%;
  padding: 10px 10px 1px;
  background-color: #f3f3f3;
  border-radius: 6px;
  margin: 20px auto 0;
}

/* ヘッダー */
.calendar_wrap .calendar_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calendar_wrap .calendar_header .yoyaku_time_hiduke {
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: bold;
}
.calendar_wrap .calendar_header span { min-width: 100px; }
.calendar_wrap .calendar_header span a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7em;
  height: 2rem;
  font-size: 90%;
  background-color: #fff;
  border-radius: 25px;
  box-shadow: 0px 5px 5px -6px rgba(0, 0, 0, .3);
  cursor: pointer;
}

/* カレンダー本体 */
.calendar_wrap .yoyaku_calendar {
  max-width: 1000px;
  margin: 10px auto 5px;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: bold;
  border-top: none;
}
.calendar_wrap .yoyaku_calendar .youbi {
  background-color: #fff;
  margin-bottom: 8px;
}
.calendar_wrap .yoyaku_calendar a.yyk_ari small {
  font-weight: bold;
  text-shadow: 0.5px 0 currentColor, -0.5px 0 currentColor;
}
.calendar_wrap .yoyaku_calendar .masu:nth-child(1) { color: #e61a1a; }
.calendar_wrap .yoyaku_calendar .masu:nth-child(7) { color: #014baf; }
.calendar_wrap .yoyaku_calendar .masu {
  padding: 0.5vw 0;
  display: flex;
  justify-content: center;
}
.calendar_wrap .yoyaku_calendar .masu a { background: var(--yoyaku_color); }
.calendar_wrap .yoyaku_calendar .masu a.selected { background: var(--selected_color); }
.calendar_wrap .yoyaku_calendar .masu span.yyk_full {
  background:#ddd;
  border-radius:5px;
}

/* ===== 時間帯ボックスのタイトル／横幅調整 ===== */
.calendar_box.yoyaku_time_box .yoyaku_time_hiduke {
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: bold;
  color: #333;
  background-color: #e6e6e6;
  display: inline-block;
  padding: 12px 20px 12px 40px;
  margin-bottom: 1em;
  border-radius: 4px;
  width: 327px;
}
.calendar_box.yoyaku_time_box .yoyaku_time {
	width: 100%;
}
.yoyaku_time_option {
	margin-top: 1em;
}
.yoyaku_time_option p {
	margin: 10px auto;
	font-size: 18px;
}

.yoyaku_time_option a {
	background-color: var(--yoyaku_color); /* 選択時の色 */
	color: #fff;
	font-weight: bold;
	padding: 7px 30px;
	border-radius: 4px;
	display: inline-block;
	width: 327px;
}

/*クリックしたら画面遷移になった*/
/*
.timeslot_btn.selected {
  background-color: #e95377;
  color: #fff;
  font-weight: bold;
  border: 2px solid #b0003a;
}
*/

@media (min-width: 1000px) {
  .calendar_wrap .yoyaku_calendar .masu span,
  .calendar_wrap .yoyaku_calendar .masu a {
    padding: 5px 0 8px;
    width: 90%;
    margin: 0 auto;
    line-height: 1.5;
  }
}


/* ポップアップ関係 */

.popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
}

.popup_window {
  position: fixed;
  width: 600px;
  max-width:calc(100vw - 50px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 8px;
  padding: 30px 20px;
  z-index: 1001;
}

.popup_close {
  position: absolute;
  top: -20px;
  right: -10px;
  font-size: 24px;
  cursor: pointer;
}

.popup_inner {
  position: relative;
}

.yoyaku_button_area .btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.kiboubi{
	background:#f3f3f3;
	border-radius:3px;
	width:fit-content;padding:5px 15px;
	font-weight:bold;
	font-size:110%;
	margin: 0 auto;
}
.timeslot_area{
	text-align: left;
	width: 390px;
	max-width: calc(100vw - 50px);
	margin:1em auto;
}
.timeslot_btn{
	min-width:110px;
	margin:10px;
	padding:10px 10px;
	border:none;
	border-radius:5px;
	font-size:95%;
	display: inline-block;
}
.timeslot_btn.available{
	cursor:pointer;
	background:var(--yoyaku_color);
	color:#fff;
}
.timeslot_btn.full{
	background:#ddd;
	color:#999;
}