/* Schedly iframe モーダル */

#schedly-embed-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}

#schedly-embed-modal-content {
  background-color: white;
  margin: auto;
  padding: 0;
  border-radius: 24px;
  width: 375px;
  max-width: 90vw;
  height: 667px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  border: 8px solid #1a1a1a;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  #schedly-embed-modal-content {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }
}

#schedly-embed-close {
  color: #64748b;
  float: right;
  font-size: 24px;
  font-weight: 300;
  cursor: pointer;
  position: absolute;
  right: 12px;
  top: 8px;
  z-index: 10001;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

#schedly-embed-close:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 1);
}

#schedly-embed-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 16px;
  display: block;
}
