/*
 * ================================================================================
 * common.css に入れる？
 * ================================================================================
*/

.card-body{background-color:#F2EFBD};

.calendar{
	font-weight: bold;
	border: 1px solid #ACACAC;
}
.calendar thead th{
	text-align: center; width: 6.4rem; background-color:#FFFFCC;
}
.calendar tbody td{
	font-weight: bold;
}
.calendar thead th.calendar-color-sunday{color: #ffffff;background-color:#d9534f;}
.calendar thead th.calendar-color-saturday{color: #ffffff;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: #0a0a0a;background-color:#ffffff;}
.calendar tbody td.calendar-color-gray{color: #0a0a0a;background-color:#f2f4f8;}
.calendar tbody td.calendar-color-past{color: #666666;background-color:#f2f4f8;}
.calendar tbody td.calendar-color-tel{color: #3cb439;background-color:#e2ffe0;}
.calendar tbody td.calendar-color-darkgray{color: #0a0a0a;background-color:#cccccc;}
.calendar tbody td.calendar-color-white{color: #0a0a0a;background-color:#ffffff;}
.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 label{color:#ffffff;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;

  width: 100%;
	resize: vertical;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#calendar_reserve {
    color: #ffffff;
    margin: 0;
    padding: 100px 0;
    padding-bottom: 60px;
    background-color: #000;
}

#flow_order {
  margin: 0;
  padding-top: 100px;
  padding-bottom: 30px;
  background-color: #000;
}

/*
 * ================================================================================
 * reserve.css
 * ================================================================================
*/

#time_box select {
	width: 90%;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
}

#contact-form .submit-r {
	display: inline-block;
	font-size: 18px;
	color: #fff;
	background: #680000;  
	cursor: pointer;  
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	width: 45%;
	  margin-top: 30px;
	 border-radius: 10px;
	transition: background 0.3s linear 0s, color 0.3s linear 0s;
}

#contact-form .submit-b {
	display: inline-block;
	font-size: 18px;
	color: #680000;
	background: #ffffff;  
	cursor: pointer;  
	font-weight: 400;
	text-align: center;
	vertical-align: middle;
	width: 45%;
	  margin-top: 30px;
	 border-radius: 10px;
	transition: background 0.3s linear 0s, color 0.3s linear 0s;
}

#contact-form .submit-r:hover {
  background: #CB2424;
  color: #FFFFFF;
}

#contact-form .submit-b:hover {
  background: #CB2424;
  color: #FFFFFF;
}

.reserve-submit {
	text-align: center;
}

.boxr {
	position: relative;
  border-radius: 10px;border: 3px solid #fff;
  margin-bottom: 100px;
	box-sizing: border-box;
	padding: 20px 10px;
	margin: 0px;
}

.boxr .row {
	align-items: center;
}

.yajirushi-r {
  text-align: center;
  padding-top: 60px;
  margin-bottom: 20px;
}

.box_err {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    color: #CB2424;/*文字色*/
    border: solid 3px #CB2424;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box_err p {
    margin: 0; 
    padding: 0;
}


/* StepBar */
.stepbar {
	display: flex;
	width: 50%;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.stepbar li {
	list-style: none;
}
.stepbar ul {
    padding-left: -30px;
  margin-left: -130px;
}
.stepbar__item {
	box-sizing: border-box;
	position: relative;
	/*width: calc((100% - 30px) / 4);*/
  width: calc(100%/4);
	height: 60px;
	margin: 0 0px;
	padding: 1px;
	background: #ffffff;
}

/* 重なり順を設定 */
.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 #ffffff;
}

.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 #9C171D;
}

.stepbar__item-inner {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background: #9C171D;
	font-size: 2.3vw;
	font-weight: bold;
	padding-left: 20px
}
@media (min-width: 576px) {
  .cstepbar__item-inner {
	justify-content: center;
  font-size: .8rem;
  }
}

@media (min-width: 768px) {
  .stepbar__item-inner {
	justify-content: center;
  font-size: 1rem;
  }
}

.stepbar__item-inner--current {
	background: transparent;
	color: #9C171D;
	padding-left: 20px
}

.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 #ffffff;
}

.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 #9C171D;
}

.stepbar__item:not(:last-child) .stepbar__item-inner--current::after {
	display: none;
}
