/* 変更不可 */
.app-modal {
  position: relative;
  z-index: 1000;
  display: none;

  &.is-open {
    display: flex;
  }

  > .backdrop {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 0, 0, 0.3);
  }

  > .container {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding-top: 16px;
    pointer-events: none;

    > .modal-panel {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 327px;
      max-height: 100%;
      padding: 24px;
      overflow: hidden;
      background: #fff;
      border-radius: 4px;

      > .title {
        margin-top: 0;
        margin-bottom: 8px;
        font-size: 20px;
        font-weight: 500;
        letter-spacing: 0.05em;
      }

      > .body {
        margin-bottom: 24px;
        font-size: 11px;
        letter-spacing: 0.05em;
      }

      > .list {
        display: grid;
        gap: 6px;
        padding: 0;
        margin-top: 0;
        margin-bottom: 32px;
        margin-left: 1em;
        font-size: 11px;
        letter-spacing: 0.05em;

        > .item-show-disc {
          white-space: pre-wrap;
          list-style-type: disc;
        }

        > .item-none-disc {
          white-space: pre-wrap;
          list-style-type: none;
        }

        > .item-show-bullet {
          margin-left: 1em;
          text-indent: -1em;
          white-space: pre-wrap;
          list-style-type: none;
        }
      }

      > .footer {
        display: grid;
        gap: 16px;
        pointer-events: auto;

        > .button {
          padding: 11px 8px;
          color: #212121;
          background-color: transparent;
          border: 1px solid #212121;

          &:hover {
            cursor: pointer;
            background-color: rgba(33, 33, 33, 0.02);
          }
        }
      }
    }
  }
}

.noscroll {
  overflow: hidden;
}
