.yui-schedule {
  margin-bottom: 36px;
}
@media screen and (min-width: 768px) {
  .yui-schedule {
    margin-bottom: 50px;
  }
}
.yui-schedule__preview {
  margin-bottom: 50px;
  padding: 10px;
  background: #fff;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .yui-schedule__preview {
    padding: 30px;
  }
}
.yui-schedule__preview .yui-schedule__img,
.yui-schedule__preview img.yui-schedule__img {
  display: block;
  width: 100%;
  height: auto;
}
.yui-schedule__open {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.yui-schedule__open.link-btn {
  margin-left: auto;
  margin-right: auto;
}
.yui-schedule__open:focus-visible {
  outline: 2px solid #cf7878;
  outline-offset: 4px;
}

dialog.yui-schedule-modal {
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(940px, 94vw);
  width: min(940px, 94vw);
}
dialog.yui-schedule-modal::backdrop {
  background: rgba(17, 24, 39, 0.65);
}

.yui-schedule-modal__close-row {
  margin: 0 0 8px auto;
  max-width: 44px;
  display: flex;
  justify-content: flex-end;
}

button.yui-schedule-modal__close {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

button.yui-schedule-modal__close:focus-visible {
  outline: 2px solid #cf7878;
  outline-offset: 2px;
}

.yui-schedule-modal__body {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  overflow: auto;
  max-height: min(82vh, 900px);
}
@media screen and (min-width: 768px) {
  .yui-schedule-modal__body {
    padding: 20px;
  }
}

.yui-schedule-modal__img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
