/*=============== top-yoyaku ===========*/


.calendar-wrapper {
  border: 16px solid #ccc;
  width: 100%;
  max-width: 900px;
  margin: 4rem auto 0 auto;
  display: flex;
  background: #fff;
}

.calendar-wrapper a {
  color: #000;
}

.reservation .calendar-wrapper {
  position: relative;
  outline: 1.3rem solid #ccc;
  max-width: 720px;
  width: 90vw;
  margin: 60px auto 0 auto;
  display: flex;
  flex-direction: row;
}

#calendar {
  text-align: center;
  width: 100%;
}

.reservation #calendar {
  text-align: center;
  width: 100%;
  line-height: 1.5;
}

table {
  /* outline: 16px solid #ccc; */
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
}

.reservation table {
  outline: 16px solid #ccc;
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
}

th {
  color: #000;
}

.calendar-wrapper th,
.calendar-wrapper td {
  outline: 1px solid #ddd;
  padding-top: 16px;
  padding-bottom: 16px;
  text-align: center;
  color: #111111;
}

td:nth-child(6) .reservation-date,
td:nth-child(6) .reservation-date a {
  color: #8888ff;
}

td:last-child .reservation-date,
td:last-child .reservation-date a {
  color: #ff8888;
}

td.disabled {
  background-color: #eeeeee;
  color: #aaaaaa;
}

/* .reservation-date {
text-decoration: underline;
} */

.reservation-seat {
  font-size: 14px;
}

.reservation-seat.able a {
  color: #dd8866;
}

.reservation-seat-disabled a {
  color: #aaaaaa;
}

.calendar-reservation {
  border-collapse: collapse;
  width: 100%;
  word-break: break-all;
  padding: 20px;
  line-height: 1.8;
  border-left: 1.3rem solid #ccc;
}

.calendar-reservation form {
  padding-top: 0;
  text-align: left;
}

.calendar_date {
  font-size: 18px;
}

.calendar_person,
.calendar_time {
  width: 100%;
  font-size: 18px;
  padding: 8px;
  margin-top: 4px;
  margin-bottom: 8px;
}

.calendar_button {
  width: 100%;
  font-size: 18px;
  padding: 12px;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  border: 1px solid #aaaaaa;
  cursor: pointer;
}

.calendar_button:hover {
  opacity: 0.8;
}

.calendar_info {
  font-size: 12px;
  margin: 20px;
  color: #000;
  text-align: left;
}

.calendar_ok {
  color: #dd8866;
}

@media screen and (max-width: 767px) {

  .reserve {
      margin-top: 5rem;
  }

  .reservation .reserve {
      margin-top: 0;
  }

  .calendar-wrapper {
      width: 100%;
      margin: 5rem auto 0;
      flex-direction: column;
  }

  .calendar-wrapper {
      font-size: 12px;
  }

  .calendar-reservation {
      padding: 0;
      margin-left: 0;
      border-left: 0;
      border-top: 1.3rem solid #ccc;
  }

  .calendar-reservation form {
      padding: 20px;
  }

  .calendar-reservation form div {
      margin-bottom: 20px;
  }
}

@media screen and (max-width: 450px) {
  .reservation-date {
      font-size: 2.8vw;
  }
}


.reserve-btn {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 999999;
  transform: translateY(-50%);
}

.reserve-btn a {
  display: inline-block;
  padding: 3rem 2rem;
  color: #fff;
  font-size: 16px;
  background-color: #000;
  writing-mode: vertical-lr;
}

@media screen and (max-width: 767px) {
  .reserve-btn {
      right: auto;
      top: initial;
      bottom: 0;
      width: 100%;
      transform: translateY(0);
  }

  .reserve-btn a {
      writing-mode: initial;
      width: 100%;
      padding: 2rem 0;
      text-align: center;
  }

  .reservation {
      padding-left: 3.5rem;
  }

  .reservation .s-reservation {
      padding: 3rem 3.5rem 3rem 0;
  }

  .reservation .calendar-wrapper {
      flex-direction: column;
      outline: 4px solid #ccc;
  }
}

.s-reservation {
  padding: 12rem 0;
}

.s-reservation__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: start;
  justify-content: center;
}

.s-reservation__ttl {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  text-align: center;
  margin-right: 1rem;
  position: relative;
}

.s-reservation__ttl__logo {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
  width: 24.4rem;
  max-width: 80%;
}

.s-reservation__ttl__txt {
  font-size: 60px;
  font-size: 6rem;
  font-size: 428.57143%;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
  font-weight: 400;
  position: relative;
  z-index: 2;
  padding-top: 1rem;
}

.s-reservation__content {
  width: 113rem;
  max-width: 75%;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background: #fff;
  padding: 7.5rem 5.61797753% 14rem;
}

.s-reservation__content__list {
  width: 73rem;
  max-width: 100%;
}

.s-reservation__content__item {
  line-height: 1.85714286;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-bottom: 1px solid #ccc;
}

.calendar_title,
.calendar_date {
  color: #000;
  font-size: 16px;
}

.takeout_top_ad {
  display: flex;
}

.takeout_img {
  width: 52%;
  margin-right: 3%;
}

.takeout_ad {
  width: 45%;
}

.takeout_top_ad img {
  display: block;
  width: 100%;
  height: auto;
}

.takeout_top_ad dl.detail dt {
  padding: 0.5rem;
}

.takeout_top_ad dl.detail dd {
  padding: 0.5rem;
}

@media screen and (min-width: 768px) {
  .yoyaku {
      padding: 10rem 20rem;
  }
}