summary {
    /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
    display: block;
  }
  
  summary::-webkit-details-marker {
    /* Safariで表示されるデフォルトの三角形アイコンを消します */
    display: none;
  }
  
  .summary_inner{
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px;
    border: 1px solid #d2beff;
    font-weight: bold;
    color: #002255;
    font-size: 24px
  }
  
  .icon {
    display: block;
    position: relative;
    width: 24px;
    margin-left: 6px;
    flex-shrink: 0;
    transform-origin: center 43%;
    transition: transform 0.4s;
  }
  
  /*details[open] .icon {*/
  /*  transform: rotate(180deg);*/
  /*}*/
  
  /* is-openedクラスが付与されたときのスタイル */
  details.is-opened .icon {
    transform: rotate(180deg);
  }
  
  /* アイコンのバーのスタイル */
  .icon::before,
  .icon::after {
    content: "";
    position: absolute;
    display: block;
    width: 15px;
    height: 3px;
    background-color: #7050ff;
  }
  
  .icon::before {
    left: 0;
    transform: rotate(45deg);
  }
  
  .icon::after {
    right: 0;
    transform: rotate(-45deg);
  }
  
  /* --------アコーディオンの中身のスタイル-------- */
  .content {
    overflow: hidden;
    background-color: #f0f2ff;
  
    /* details直下のタグにpaddingを設定すると挙動がおかしくなるので、ここには指定しない */
  }
  
  .content_inner {
    padding: 12px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  /* --------レイアウト用のスタイル-------- */
  .wrapper {
    width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  
  .wrapper details {
    margin-bottom: 16px;
  }
  
  .wrapper details:last-child {
    margin-bottom: 0;
  }
  
  @media (max-width: 760px) {
    .wrapper {
      width: 100%;
    }
  }