[data-component-id="hakigo:action_sheet"] {
  .action-sheet__toggle {
    position: absolute;
    display: none;
  }

  .action-sheet__panel {
    position: fixed;
    z-index: 11;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateY(100%);

    max-width: 40rem;
    margin-inline: auto;
    padding: 2rem;
    border-radius: 1.5rem 1.5rem 0 0;

    color: var(--color-primary);

    background-color: var(--color-background);

    transition: transform 0.3s ease;
  }

  .action-sheet__handle {
    cursor: pointer;

    display: block;

    width: 3.5rem;
    height: 0.38rem;
    margin: 0 auto 1.5rem;
    border-radius: 0.19rem;

    background-color: rgb(255 255 255 / 40%);
  }

  .action-sheet__backdrop {
    pointer-events: none;

    position: fixed;
    z-index: 10;
    inset: 0;

    opacity: 0;
    background-color: var(--color-highlight-company);

    transition: opacity 0.3s ease;
  }

  .action-sheet__toggle:checked ~ .action-sheet__panel {
    transform: translateY(0);
  }

  .action-sheet__toggle:checked ~ .action-sheet__backdrop {
    pointer-events: auto;
    opacity: 0.3;
  }
}
