@charset "utf-8";

.curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column; 
    z-index: 9999;
    pointer-events: none;
  }
  
  /* 上下のパネル共通設定 */
  .curtain-panel {
    width: 100%;
    flex: 1;
    background: #000;
    transition: transform 1.5s ease-in-out;
  }
  
  .curtain-panel.top {
    animation: open-top 1.5s ease-in-out 0.5s forwards;
  }
  
  .curtain-panel.bottom {
    animation: open-bottom 1.5s ease-in-out 0.5s forwards;
  }
  
  @keyframes open-top {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
  }
  
  @keyframes open-bottom {
    0% { transform: translateY(0); }
    100% { transform: translateY(100%); }
  }
  