/*
 * ================================================================================
 * common.css に入れる？
 * ================================================================================
*/

.card-body{background-color:#F2EFBD};

.calendar{font-weight: bold;}
.calendar thead th{
	text-align: center; width: 6.4rem; background-color:#e0e6d2;
}
.calendar thead th.calendar-color-sunday{color: #f8e9f4;background-color:#d9534f;}
.calendar thead th.calendar-color-saturday{color: #E0FFFF;background-color:#4285f4;}
.calendar tbody td.calendar-color-sunday{color: #d9534f;background-color:#f8e9f4;}
.calendar tbody td.calendar-color-saturday{color: #4285f4;background-color:#E0FFFF;}
.calendar tbody td.calendar-color-weekday{color: #006837;background-color:#f5f4da;}
.calendar tbody td.calendar-color-gray{color: #0a0a0a;background-color:#f2f4f8;}
.calendar td{white-space: nowrap;}

.calendarlist{height:33rem;display: none;}
.calendarlist thead th{position:sticky;top:0;background-color: #e0e6d2;}
.calendarlist td{white-space: nowrap;padding:0.5em;}

#time_box li.disabled {background-color: #dbd2d2;}

#contact-form.boat label{color:#299100;margin-top:5px;}

/* ご予約ページ
-------------------------------------------------------------------------------------------*/
#contact-form select {
  border: none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
  border-radius: 10 px;
  -webkit-box-shadow: none;
	-moz-box-shadow: none;
	background: #f7f5e8;
  color: #333;
  font-size: 18px;
  height: auto;
  padding: 15px;
	margin: 4px;
  resize: none;
}
#contact-form select {
  width: 100%;
	resize: vertical;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#contact_sex.list-noselect, #contact_addless.list-noselect {
  color: #006837;
}

/*
 * ================================================================================
 * boat.css
 * ================================================================================
*/

#reserv-anser th {white-space: nowrap;}
#reserv-anser td {width: 100%;}

/* StepBar */
.stepbar {
	display: flex;
	width: 50%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.stepbar__item {
	box-sizing: border-box;
	position: relative;
	width: calc((100% - 30px) / 4);
	height: 60px;
	margin: 0 2px;
	padding: 1px;
	background: #299100;
}

/* 重なり順を設定 */
.stepbar__item:nth-child(1) {
	z-index: 4
}

.stepbar__item:nth-child(2) {
	z-index: 3
}

.stepbar__item:nth-child(3) {
	z-index: 2
}

.stepbar__item:nth-child(4) {
	z-index: 1
}

.stepbar__item:first-child {
	margin-left: 0;
}

.stepbar__item:last-child {
	margin-right: 0;
}

.stepbar__item:not(:first-child)::before {
	position: absolute;
	content: "";
	top: 0;
	left: 1px;
	width: 0;
	height: 0;
	border-top: 30px solid transparent;
	border-right: 0;
	border-bottom: 30px solid transparent;
	border-left: 20px solid #299100;
}

.stepbar__item:not(:first-child)::after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	border-top: 30px solid transparent;
	border-right: 0;
	border-bottom: 30px solid transparent;
	border-left: 20px solid #ffffff;
}

.stepbar__item-inner {
	display: flex;
	justify-content: center;
	align-items: right;
	width: 100%;
	height: 100%;
	background: #ffffff;
	font-size: .5rem;
	font-weight: bold;
}
@media (min-width: 576px) {
  .cstepbar__item-inner {
	align-items: center;
    font-size: .8rem;
  }
}

@media (min-width: 768px) {
  .stepbar__item-inner {
	align-items: center;
    font-size: 1rem;
  }
}

.stepbar__item-inner--current {
	background: transparent;
	color: #ffffff;
}

.stepbar__item:not(:last-child) .stepbar__item-inner::before {
	position: absolute;
	content: "";
	top: 0;
	left: 100%;
	width: 0;
	height: 0;
	border-top: 30px solid transparent;
	border-right: 0;
	border-bottom: 30px solid transparent;
	border-left: 20px solid #299100;
}

.stepbar__item:not(:last-child) .stepbar__item-inner::after {
	position: absolute;
	content: "";
	top: 0;
	left: calc(100% - 1px);
	width: 0;
	height: 0;
	border-top: 30px solid transparent;
	border-right: 0;
	border-bottom: 30px solid transparent;
	border-left: 20px solid #ffffff;
}

.stepbar__item:not(:last-child) .stepbar__item-inner--current::after {
	display: none;
}
