@charset "UTF-8";

/*
プラグイン用のCSS
*/
/*-------------------------------------------------------
	Simple Booking Calendar
-------------------------------------------------------*/

.wpsbc-calendars-wrapper {
  color: #000;
}

.wpsbc-calendar {
  margin: 0 auto;
  width: 100% !important;
  border: 1px solid #707070 !important;
}

/* カレンダー本体のラッパー */
.wpsbc-container {
}

.wpsbc-container[data-columns] .wpsbc-calendars {
  margin-left: unset !important;
  margin-right: unset !important;
}

.wpsbc-container[data-columns] .wpsbc-calendars .wpsbc-calendar {
  float: none !important;
  margin: 0 auto !important;
  /* border: 0 !important; */
  max-width: 480px !important;
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--pallet-green) !important;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar {
  background-color: #fff !important;
}

/* カレンダーの文字色を変更 */
.wpsbc-container .wpsbc-calendars .wpsbc-calendar table th {
  color: var(--pallet-green) !important;
  font-weight: bold;
  text-align: center;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar table td {
  color: var(--pallet-green) !important;
  font-weight: bold;
  text-align: center;
}

/* カレンダーの月を表示しているヘッダ部分 */
.wpsbc-container .wpsbc-calendars .wpsbc-calendar .wpsbc-calendar-header {
  background-color: transparent !important;
  padding: 0 !important;
}

/* カレンダーの月送りのヘッダ部分 */
.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation {
  line-height: 40px !important;
}

/* カレンダーの月移動の前ボタン */
.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-prev {
  background-color: transparent !important;
}

.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-prev
  .wpsbc-arrow {
  border-width: 0 !important;
}

.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-next {
  background-color: transparent !important;
}

.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-next
  .wpsbc-arrow {
  border-width: 0 !important;
}

.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-prev::after {
  content: url("../images/svg/calendar/calendar-left.svg");
}

.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header
  .wpsbc-calendar-header-navigation
  .wpsbc-next::after {
    content: url("../images/svg/calendar/calendar-right.svg");
}

/* カレンダーの月を表示しているヘッダ部分の後ろに画像を追加 */
.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  .wpsbc-calendar-header::after {
    content: url("../images/svg/calendar/close-day.svg");
  float: right;
  margin-right: 35px;
  position: relative;
  top: -45px;
}

.wpsbc-container .wpsbc-calendars .wpsbc-calendar-wrapper {
  position: relative;
  top: -25px;
  margin-bottom: -40px;
}

/* カレンダーの該当なし日付の背景を変更 */
.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  table
  tr
  td
  .wpsbc-date.wpsbc-gap {
  background-color: transparent !important;
}

/* カレンダーの通常の背景を変更 */
.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-1 div:first-of-type {
  background-color: transparent !important;
}

/* カレンダーの定休日の背景を変更 */
.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-2 div:first-of-type {
  background-color: #e8e8e8 !important;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  position: relative;
  top: 5.5%;

  display: block;
  margin: 0 auto;
}

/* カレンダーの営業日でも定休日でもない時の背景色を変更 */
.wpsbc-container.wpsbc-calendar-1 .wpsbc-legend-item-icon-3 div:first-of-type {
  background-color: transparent !important;
}

.wpsbc-date-inner {
  height: 35px !important;
  line-height: 35px !important;
}

/* カレンダーの日付のフォントサイズ */
.wpsbc-container
  .wpsbc-calendars
  .wpsbc-calendar
  table
  tr
  td
  .wpsbc-date-inner
  .wpsbc-date-number {
  font-size: 14px !important;
  font-family: var(--font-family-en);
  font-style: var(--font-style-en);
  font-weight: var(--font-style-en);
}

/* カレンダーのプルダウンの非表示 */
.wpsbc-calendars-wrapper .wpsbc-select-container select {
  display: none;
}

/* カレンダーのプルダウンの代わりに月の数字を表示する */
.wpsbc-container .wpsbc-select-container::before {
  font-size: var(--45px);
  color: var(--pallet-green) !important;
  display: block;
  position: relative;
  top: 10px;
  padding-bottom: 20px;
  font-family: var(--font-family-en);
  font-style: var(--font-style-en);
  font-weight: var(--font-weight-en);
}

.wpsbc-container .wpsbc-select-container::after {
  font-size: 18px;
  display: block;
  color: #6e594f !important;
}

.wpsbc-container[data-current_month="1"] .wpsbc-select-container::before {
  content: "1";
}

.wpsbc-container[data-current_month="2"] .wpsbc-select-container::before {
  content: "2";
}

.wpsbc-container[data-current_month="3"] .wpsbc-select-container::before {
  content: "3";
}

.wpsbc-container[data-current_month="4"] .wpsbc-select-container::before {
  content: "4";
}

.wpsbc-container[data-current_month="5"] .wpsbc-select-container::before {
  content: "5";
}

.wpsbc-container[data-current_month="6"] .wpsbc-select-container::before {
  content: "6";
}

.wpsbc-container[data-current_month="7"] .wpsbc-select-container::before {
  content: "7";
}

.wpsbc-container[data-current_month="8"] .wpsbc-select-container::before {
  content: "8";
}

.wpsbc-container[data-current_month="9"] .wpsbc-select-container::before {
  content: "9";
}

.wpsbc-container[data-current_month="10"] .wpsbc-select-container::before {
  content: "10";
}

.wpsbc-container[data-current_month="11"] .wpsbc-select-container::before {
  content: "11";
}

.wpsbc-container[data-current_month="12"] .wpsbc-select-container::before {
  content: "12";
}

/* デフォルトの曜日表記を非表示にして英語表記の曜日に変更 */
#main_contents .wpsbc-calendar-wrapper thead {
  border-bottom: 1px solid var(--pallet-green) !important;
}

.wpsbc-calendar-wrapper th {
  font-size: 0 !important;
}

.wpsbc-calendar-wrapper th::after {
  font-size: 13px;
  font-family: var(--font-family-ja);
  font-style: var(--font-style-ja);
  font-weight: var(--font-weight-ja-middle);
}

.wpsbc-calendar-wrapper th:nth-child(1)::after {
  content: "日";
  color: #F99700;
}

.wpsbc-calendar-wrapper th:nth-child(2)::after {
  content: "月";
}

.wpsbc-calendar-wrapper th:nth-child(3)::after {
  content: "火";
}

.wpsbc-calendar-wrapper th:nth-child(4)::after {
  content: "水";
}

.wpsbc-calendar-wrapper th:nth-child(5)::after {
  content: "木";
}

.wpsbc-calendar-wrapper th:nth-child(6)::after {
  content: "金";
}

.wpsbc-calendar-wrapper th:nth-child(7)::after {
  content: "土";
}

@media screen and (max-width: 540px) {
  .wpsbc-calendars-wrapper {
    padding-top: 0;
  }

  .wpsbc-date-inner {
    height: 25px !important;
    line-height: 25px !important;
  }

  .wpsbc-container .wpsbc-select-container::before {
    font-size: 28px;
    display: block;
    position: relative;
    top: 10px;
  }

  .wpsbc-container .wpsbc-select-container::after {
    font-size: 15px;
    display: block;
  }

  .wpsbc-container
    .wpsbc-calendars
    .wpsbc-calendar
    .wpsbc-calendar-header
    .wpsbc-calendar-header-navigation {
    line-height: 28px !important;
    position: relative;
    top: -10px;
  }

  .wpsbc-container
    .wpsbc-calendars
    .wpsbc-calendar
    table
    tr
    td
    .wpsbc-date-inner
    .wpsbc-date-number {
    font-size: 13px !important;
    font-weight: 400;
  }

  .wpsbc-container
    .wpsbc-calendar-1
    .wpsbc-legend-item-icon-1
    div:first-of-type {
    border-radius: 100%;
    width: 20px;
    height: 20px;
    left: 28.5%;
  }

  .wpsbc-container.wpsbc-calendar-1
    .wpsbc-legend-item-icon-2
    div:first-of-type {
    width: 22px;
    height: 22px;
  }

  .wpsbc-container[data-columns] .wpsbc-calendars {
    margin-left: initial !important;
    margin-right: initial !important;
  }

  .wpsbc-container[data-columns] .wpsbc-calendars .wpsbc-calendar {
    width: 90%;
    padding: 15px;
  }

  .wpsbc-container
    .wpsbc-calendars
    .wpsbc-calendar
    .wpsbc-calendar-header::after {
    top: -44px;
  }
}
