@use "sass:map";
@use "global/acms-common" as acms;
@use "global/common" as global;

/* ------------------------------
　　アコーディオン
------------------------------ */
.toggle-button {
  width: 100%;
  padding: 0;
  color: global.$color-text;
  font-family: inherit;
  line-height: global.$line-height-lg;
  text-align: left;
  background: none;
  border: 0;

  &.js-post-include-disabled {
    color: inherit;
    opacity: 1;
  }
}

.toggle-icon {
  margin-top: .85rem;
  margin-left: auto;
  line-height: 1;
  transition: .3s ease;

  .toggle-button.is-active & {
    transform: rotate(180deg);
  }
}


.toggle-body {
  display: none;
}