@charset "utf-8";

.shodou-calendar {
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  color: #222;
  margin: 2em 0 3em;
  max-width: 900px;
}

.shodou-calendar__title {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.5em;
  letter-spacing: 0.08em;
}

.shodou-calendar__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: #b03030;
  margin: 0.75em auto 0;
}

.shodou-calendar__lead {
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 0 0;
  text-align: left;
}

.shodou-calendar__reserve-title {
  margin: 1.75em 0 0.65em;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222;
  text-align: center;
}

.shodou-calendar__reserve-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: #8b4545;
  margin: 0.65em auto 0;
}

.shodou-calendar__reserve-lead {
  margin: 0 0 1.5em;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  text-align: left;
}

.shodou-calendar__month {
  margin-bottom: 2.5em;
}

.shodou-calendar__month-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #b03030;
  margin: 0 0 0.75em;
  letter-spacing: 0.05em;
}

.shodou-calendar__month-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin-top: 0.5em;
}

.shodou-calendar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #e0e0e0;
}

.shodou-calendar__day {
  display: block;
  padding: 0.85em 0.5em;
  border-bottom: 1px solid #e0e0e0;
  color: #222;
  text-decoration: none;
  font-size: 0.95rem;
  transition:
    background 0.2s,
    color 0.2s;
}

.shodou-calendar__day:hover {
  background: #faf6f6;
  color: #b03030;
}

.shodou-calendar__times-note,
.p-entry__body .shodou-calendar__times-note {
  list-style: none !important;
  margin: 2em 0 0.5em !important;
  margin-left: 0 !important;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.shodou-calendar__times-note li,
.p-entry__body .shodou-calendar__times-note li {
  list-style: none !important;
  list-style-type: none !important;
  position: relative;
  padding-left: 1.1em;
  margin-left: 0;
}

.shodou-calendar__times-note li::marker {
  content: none;
}

.shodou-calendar__times-note li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.shodou-calendar__sat-note {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

.shodou-calendar--table .shodou-calendar__tel {
  margin-top: 1.25em;
}

.shodou-calendar__pick-title {
  font-size: 1.1rem;
  margin: 0 0 1.25em;
  font-weight: 700;
}

.shodou-calendar__time-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.shodou-calendar__time-list li {
  margin-bottom: 0.75em;
}

.shodou-calendar__time-btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 1px solid #b03030;
  color: #b03030;
  text-decoration: none;
  border-radius: 2px;
  min-width: 200px;
  text-align: center;
  transition:
    background 0.2s,
    color 0.2s;
}

.shodou-calendar__time-btn:hover {
  background: #b03030;
  color: #fff;
}

.shodou-calendar__back {
  margin-top: 1.5em;
}

.shodou-calendar__back a {
  color: #555;
}

.shodou-calendar__error {
  color: #b03030;
  padding: 1em 0;
}

/* 申込フォーム */
.shodou-calendar-form {
  --shodou-form-red: #600000;
  --shodou-form-green: #3d6b4f;
  --shodou-form-input-bg: #f0f2f5;
  margin: 2em auto 3em;
  max-width: 820px;
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

.shodou-calendar-form__header {
  text-align: center;
  margin-bottom: 2em;
}

.shodou-calendar-form__title {
  font-size: 1.35rem;
  margin: 0 0 0.75em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #222;
}

.shodou-calendar-form__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--shodou-form-red);
  margin: 0.85em auto 0;
}

.shodou-calendar-form__lead {
  margin: 1.25em 0 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #333;
  text-align: left;
}

.shodou-calendar-form .shodou-calendar__back {
  margin: -1em 0 1.75em;
  font-size: 0.85rem;
}

.shodou-calendar-form__form {
  margin: 0;
}

.shodou-calendar-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75em 1.5em;
  margin-bottom: 1.75em;
}

.shodou-calendar-form__label {
  flex: 0 0 11em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  min-height: 2.75em;
}

.shodou-calendar-form__label-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  white-space: nowrap;
}

.shodou-calendar-form__badge {
  display: inline-block;
  flex-shrink: 0;
  padding: 0.15em 0.45em;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  letter-spacing: 0.02em;
}

.shodou-calendar-form__badge--required {
  background: var(--shodou-form-red);
}

.shodou-calendar-form__badge--optional {
  background: var(--shodou-form-green);
}

.shodou-calendar-form__field {
  flex: 1 1 16rem;
  min-width: 0;
}

.shodou-calendar-form__input,
.shodou-calendar-form__select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 0.85em 1em;
  border: none;
  border-radius: 0;
  background: var(--shodou-form-input-bg);
  font-size: 1rem;
  font-family: inherit;
  color: #222;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

.shodou-calendar-form__input::placeholder {
  color: #9aa0a6;
}

.shodou-calendar-form__input--readonly {
  color: #333;
  cursor: default;
}

.shodou-calendar-form__select-wrap {
  position: relative;
  width: 100%;
}

.shodou-calendar-form__select-wrap::after {
  content: "";
  position: absolute;
  right: 1em;
  top: 50%;
  margin-top: -3px;
  border: 5px solid transparent;
  border-top-color: #666;
  pointer-events: none;
}

.shodou-calendar-form__select {
  padding-right: 2.5em;
  cursor: default;
}

.shodou-calendar-form__select:disabled {
  opacity: 1;
  color: #333;
}

.shodou-calendar-form__note {
  margin: 2em 0 1.25em;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #333;
  text-align: center;
}

.shodou-calendar-form__actions {
  text-align: center;
  margin: 0 0 2.5em;
}

.shodou-calendar-form__submit {
  display: inline-block;
  width: 100%;
  max-width: 520px;
  padding: 1em 1.5em;
  border: none;
  border-radius: 0;
  background: var(--shodou-form-red);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.shodou-calendar-form__submit:hover {
  background: #4a0000;
}

.shodou-calendar-form__tel {
  margin: 0;
  padding-top: 1.5em;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  color: #444;
}

.shodou-calendar-form__tel-note {
  margin: 0 0 1em;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

.shodou-calendar-form__tel-label {
  margin: 0 0 0.65em;
  font-size: 0.9rem;
  color: #555;
}

.shodou-calendar-form__tel-btn {
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  max-width: 520px;
  margin: 0 0 0.65em;
  padding: 0.75em 1.25em;
  border: 2px solid var(--shodou-form-red, #600000);
  background: #fff;
  color: var(--shodou-form-red, #600000);
  font-size: 1.35rem;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.shodou-calendar-form__tel-btn:hover,
.shodou-calendar-form__tel-btn:focus {
  background: var(--shodou-form-red, #600000);
  color: #fff;
  text-decoration: none !important;
}

.shodou-calendar-form__tel-hours {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #666;
}

.shodou-calendar-form__copyright {
  margin-top: 2em;
  font-size: 0.75rem;
  color: #888;
  text-align: center;
}

/* 申込フォーム（予約フロー専用） */
.shodou-calendar-form--focus {
  margin: 0 auto;
  max-width: 560px;
  padding: 0;
}

.shodou-calendar-form--focus .shodou-calendar__back {
  margin: 0 0 1.25em;
  font-size: 0.85rem;
}

.shodou-calendar-form--focus .shodou-calendar-form__header {
  margin-bottom: 1.5em;
  text-align: center;
}

.shodou-calendar-form--focus .shodou-calendar-form__lead {
  margin-top: 0.5em;
  text-align: center;
  font-size: 0.9rem;
}

.shodou-calendar-form__summary {
  margin: 0 0 1.75em;
  padding: 1.1em 1.25em;
  background: #f8f4f4;
  border-left: 4px solid var(--shodou-form-red, #600000);
  text-align: center;
}

.shodou-calendar-form__summary-label {
  display: block;
  margin-bottom: 0.35em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.06em;
}

.shodou-calendar-form__summary-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: #222;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.shodou-calendar-root--booking {
  margin: 0 auto;
  max-width: 640px;
}

.shodou-calendar__thanks--focus {
  margin: 0 auto;
  max-width: 560px;
  padding: 3em 1.5em;
  text-align: center;
}

.shodou-calendar__thanks-title {
  margin: 0 0 1em;
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
}

.shodou-calendar__thanks-title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  background: #8b4545;
  margin: 0.85em auto 0;
}

.shodou-calendar--time-focus {
  margin: 0 auto;
  max-width: 560px;
  padding: 0;
  text-align: center;
}

.shodou-calendar--time-focus .shodou-calendar__pick-title {
  margin: 0 0 0.35em;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.shodou-calendar--time-focus .shodou-calendar__pick-lead {
  margin: 0 0 1.5em;
  font-size: 0.9rem;
  color: #555;
}

.shodou-calendar--time-focus .shodou-calendar__time-list {
  margin: 0 0 1.5em;
}

.shodou-calendar--time-focus .shodou-calendar__time-btn {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 0.75em;
  padding: 0.85em 1em;
  font-size: 1rem;
}

/* 予約フロー時は WP 固定ページの周辺要素を非表示 */
body.shodou-calendar-booking-only .p-index-slider__nav,
body.shodou-calendar-booking-only .p-page-header,
body.shodou-calendar-booking-only .p-breadcrumb,
body.shodou-calendar-booking-only .p-footer-slider,
body.shodou-calendar-booking-only .p-info {
  display: none !important;
}

body.shodou-calendar-booking-only .l-contents {
  display: block;
  padding-top: 1.25rem;
  margin-bottom: 0;
}

body.shodou-calendar-booking-only .l-secondary {
  display: none !important;
}

body.shodou-calendar-booking-only .l-primary {
  width: 100% !important;
  max-width: 720px;
  margin: 0 auto 50px;
  background: #f5f3f0;
}

body.shodou-calendar-booking-only:has(.shodou-calendar-thanks-page) .l-primary {
  margin-bottom: 0;
  background: transparent;
}

body.shodou-calendar-booking-only:has(.shodou-calendar-thanks-page)
  .p-entry__body {
  margin-bottom: 0 !important;
}

body.shodou-calendar-booking-only:has(.shodou-calendar-thanks-page)
  .l-contents {
  padding-bottom: 2.5rem;
}

body.shodou-calendar-booking-only .p-entry__img {
  display: none !important;
}

body.shodou-calendar-booking-only
  .p-entry__body
  > :not(.shodou-calendar-root):not(:has(.shodou-calendar-root)) {
  display: none !important;
}

body.shodou-calendar-booking-only
  #tcd-pb-wrap
  .tcd-pb-row:not(:has(.shodou-calendar-root)) {
  display: none !important;
}

body.shodou-calendar-booking-only
  .tcd-pb-widget:not(:has(.shodou-calendar-root)) {
  display: none !important;
}

body.shodou-calendar-booking-only .shodou-calendar-root--booking {
  background: #fff;
  padding: 2rem 1.75rem 2.5rem;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

body.shodou-calendar-booking-only .shodou-calendar-thanks-page {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
  max-width: 100%;
  padding: 0 1.75rem 2.5rem;
}

body.shodou-calendar-booking-only .shodou-calendar-thanks-page .style3c {
  margin-bottom: 0;
}

body.shodou-calendar-booking-only
  .shodou-calendar-thanks-page
  .shodou-calendar-root--booking {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0 auto;
  max-width: 640px;
}

@media screen and (max-width: 768px) {
  body.shodou-calendar-booking-only .shodou-calendar-root--booking {
    padding: 1.5rem 1rem 2rem;
  }

  body.shodou-calendar-booking-only .shodou-calendar-thanks-page {
    padding: 0 1rem 2rem;
  }

  .shodou-calendar-form__summary {
    padding-left: 0.85em;
    padding-right: 0.85em;
  }

  .shodou-calendar-form__summary-value {
    font-size: clamp(0.78rem, 3.65vw, 1rem);
    line-height: 1.4;
  }

  .shodou-calendar-form--focus .shodou-calendar-form__submit {
    max-width: none;
  }
}

.shodou-calendar__thanks {
  padding: 2em 0;
  text-align: center;
}

.shodou-calendar__thanks p {
  line-height: 1.8;
}

/* リストビュー（PHP工房形式） */
.shodou-calendar--list #headerYm {
  background: #8b4545;
  color: #fff;
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  border-radius: 0;
}

.shodou-calendar--list .shodou-calendar__event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  border-top: 1px solid #e0e0e0;
}

.shodou-calendar--list .shodou-calendar__event-list li {
  padding: 0.85em 0.25em;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.shodou-calendar--list .shodou-calendar__event-day {
  font-weight: 700;
  margin-right: 0.25em;
}

.shodou-calendar__empty,
.p-entry__body .shodou-calendar__empty {
  margin: 1.5em 0;
  color: #b03030;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  letter-spacing: 0.04em;
}

.shodou-calendar--list .schedulePulldownList {
  font-size: 0.95rem;
  padding: 0.35em 0;
}

.shodou-calendar--list .shodou-calendar__reserv-btn {
  display: inline-block;
  margin-top: 0.35em;
  padding: 0.35em 0.85em;
  border: 1px solid #8b4545;
  background: #fff;
  color: #8b4545;
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
}

.shodou-calendar--list .shodou-calendar__reserv-btn:hover {
  background: #8b4545;
  color: #fff;
}

.shodou-calendar--list .youbi_6 {
  color: #36f;
}

.shodou-calendar--list .youbi_0 {
  color: #c00;
}

.shodou-calendar--list .navNextPrev a {
  color: #555;
}

.shodou-calendar--list p.holidayText {
  display: none;
}

/* 表形式カレンダー（PHP工房 pc.php 形式） */
.shodou-calendar--table #calenderTable {
  width: 100%;
  margin: 0 0 1em;
  font-family:
    "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  border-collapse: collapse;
  table-layout: fixed;
}

.shodou-calendar--table #calenderTable th {
  padding: 0.5em;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  background: #eee;
  color: #333;
}

.shodou-calendar--table #calenderTable td {
  box-sizing: border-box;
  height: 7.5rem;
  padding: 0.35em 0.5em;
  overflow-y: auto;
  font-size: 0.8rem;
  border: 1px solid #ccc;
  vertical-align: top;
  text-align: right;
}

.shodou-calendar--table #calenderTable .calenderHeader {
  background: #8b4545;
  color: #fff;
  font-weight: 700;
}

.shodou-calendar--table #calenderTable .calenderHeader a {
  color: #fff;
  text-decoration: none;
}

.shodou-calendar--table #calenderTable td .schedulePulldownList {
  text-align: left;
  font-size: 0.75rem;
  line-height: 1.45;
  padding: 0.2em 0 0.35em;
  border-bottom: 1px dotted #ccc;
}

.shodou-calendar--table #calenderTable td .schedulePulldownList.borderless,
.shodou-calendar--table #calenderTable td .schedulePulldownList:last-child {
  border-bottom: 0;
}

.shodou-calendar--table .shodou-calendar__holiday-legend {
  margin: 0.75em 0 1.5em;
  font-size: 0.85rem;
}

.shodou-calendar--table .holidayCube {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 0.35em;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.shodou-calendar--table .shodou-calendar__reserv-btn {
  display: inline-block;
  margin-top: 0.25em;
  padding: 0.2em 0.5em;
  border: 1px solid #8b4545;
  background: #fff;
  color: #8b4545;
  text-decoration: none;
  font-size: 0.85em;
}

.shodou-calendar--table .shodou-calendar__reserv-btn:hover {
  background: #8b4545;
  color: #fff;
}

.shodou-calendar--table #calenderTable td.past {
  background: #f5f5f5;
  color: #aaa;
}

/* スマホ比較用（表形式 + リスト） */
.shodou-calendar-compare .shodou-calendar__view-label {
  margin: 0 0 0.75em;
  padding: 0.35em 0.75em;
  font-size: 0.85rem;
  font-weight: 700;
  color: #8b4545;
  background: #f8f0f0;
  border-left: 4px solid #8b4545;
}

.shodou-calendar--compare {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 2px solid #e0d0d0;
}

/* スマホ単体リスト（表形式なし）— compare の区切り線は不要 */
.shodou-calendar--list-primary.shodou-calendar--compare {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.shodou-calendar--compare .shodou-calendar__view-label {
  margin-top: 0;
}

.shodou-calendar-compare .shodou-calendar--table .shodou-calendar__title,
.shodou-calendar-compare .shodou-calendar--table .shodou-calendar__lead,
.shodou-calendar-compare
  .shodou-calendar--table
  .shodou-calendar__reserve-title,
.shodou-calendar-compare
  .shodou-calendar--table
  .shodou-calendar__reserve-lead {
  display: none;
}

.shodou-calendar-compare
  .shodou-calendar--table
  .shodou-calendar__holiday-legend,
.shodou-calendar-compare .shodou-calendar--table .shodou-calendar__times-note,
.shodou-calendar-compare .shodou-calendar--table .shodou-calendar__sat-note {
  display: none;
}

@media screen and (max-width: 768px) {
  /* スマホ：リストの日付・時間エリアのみ固定高さでスクロール（表形式カレンダーはスクロールしない） */
  .shodou-calendar--compare .shodou-calendar__schedule-scroll {
    position: relative;
    box-sizing: border-box;
    max-height: min(22rem, 52vh);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #999;
    background: #fff;
  }

  /* ScrollHint：指アイコンは使わず、下矢印＋文言のみ（リスト枠内） */
  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon.shodou-scroll-hint-icon {
    top: auto;
    bottom: 0.5rem;
    left: 50%;
    width: auto;
    padding: 0.35rem 0.65rem 0.45rem;
    border: 1px solid #e8d8d8;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(-50%);
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon.shodou-scroll-hint-icon::before,
  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon.shodou-scroll-hint-icon::after {
    display: none !important;
    content: none !important;
    animation: none !important;
  }

  /* ヒント表示中だけ下部グラデーション（消えたあと罫線が隠れないように） */
  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon-wrap.is-active::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: 2.75rem;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.75) 50%,
      rgba(255, 255, 255, 0.95) 100%
    );
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon-wrap:not(.is-active)
    .scroll-hint-icon.shodou-scroll-hint-icon {
    opacity: 0 !important;
    visibility: hidden;
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-text {
    margin: 0;
    padding: 0 0 0.45rem;
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.04em;
    color: #8b4545;
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-text::after {
    content: "";
    display: block;
    width: 0.45rem;
    height: 0.45rem;
    margin: 0.2rem auto 0;
    border-right: 2px solid #8b4545;
    border-bottom: 2px solid #8b4545;
    transform: rotate(45deg);
    animation: shodou-scroll-chevron-bounce 1.5s ease-in-out infinite;
  }

  .shodou-calendar--compare
    .shodou-calendar__schedule-scroll.scroll-hint
    .scroll-hint-icon-wrap.is-active
    .scroll-hint-icon.shodou-scroll-hint-icon {
    z-index: 1;
    opacity: 1;
    visibility: visible;
  }

  @keyframes shodou-scroll-chevron-bounce {
    0%,
    100% {
      transform: rotate(45deg) translateY(0);
    }
    50% {
      transform: rotate(45deg) translateY(0.15rem);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .shodou-calendar--compare
      .shodou-calendar__schedule-scroll.scroll-hint
      .scroll-hint-text::after {
      animation: none;
    }
  }

  .shodou-calendar-compare .shodou-calendar--table #calenderTable td {
    height: auto;
    min-height: 5.5rem;
    font-size: 0.72rem;
  }

  .shodou-calendar--compare .shodou-calendar__event-list {
    margin: 0;
    border-top: 0;
  }

  .shodou-calendar--list.shodou-calendar--compare
    .shodou-calendar__event-list
    li {
    display: flex;
    align-items: stretch;
    padding: 0;
    border-bottom: 1px solid #999 !important;
  }

  .shodou-calendar--compare .shodou-calendar__event-day {
    flex: 0 0 6.75em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.65em 0.4em;
    border-right: 1px solid #999;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
  }

  .shodou-calendar--compare .shodou-calendar__event-slots {
    flex: 1;
    min-width: 0;
  }

  .shodou-calendar--compare .schedulePulldownList {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5em;
    padding: 0.65em 0.75em;
    border-bottom: 1px solid #999 !important;
    border-bottom-style: solid !important;
  }

  .shodou-calendar--compare
    .shodou-calendar__event-slots
    .schedulePulldownList:last-child {
    border-bottom: 0 !important;
  }

  .shodou-calendar--compare .shodou-calendar__reserv-btn {
    display: inline-block;
    flex-shrink: 0;
    width: auto;
    max-width: none;
    margin-top: 0;
    padding: 0.35em 0.65em;
    text-align: center;
    font-size: 0.85rem;
  }

  .shodou-calendar__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shodou-calendar-form__row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5em;
    margin-bottom: 1.5em;
  }

  .shodou-calendar-form__label {
    flex: none;
    min-height: 0;
  }

  .shodou-calendar-form__field {
    flex: none;
    width: 100%;
  }
}
