/* アコーディオン スタイ */
.accordion-container {
    max-width: 80%;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    text-align: left;
  }
  
  .accordion {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 1.0rem;
    width: 100%;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .accordion:hover {
    box-shadow: 0 0.25rem 0.9rem rgba(0, 0, 0, 0.1);
    border-color: #b5b5b5;
  }

  .accordion input {
    display: none;
  }

  .accordion label {
    position: relative;
    display: block;
    background: #9e9e9e;
    color: white;
    padding: 10px 2.2rem 10px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: background-color 0.25s ease;
  }

  .accordion label:hover {
    background-color: #5e5e5e;
  }

  .accordion label::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.3s ease;
  }

  .accordion input:checked + label::after {
    transform: translateY(-35%) rotate(-135deg);
  }

  .accordion .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease-out;
    background: #f9f9f9;
    padding: 0 10px;
  }

  .accordion input:checked + label + .content {
    max-height: 500px;
    padding: 10px;
    overflow-y: auto;
  }

  .accordion .content table tbody tr {
    transition: background-color 0.15s ease;
  }

  .accordion .content table tbody tr:hover {
    background-color: #eef6ff;
  }

  @media (prefers-reduced-motion: reduce) {
    .accordion,
    .accordion label,
    .accordion label::after,
    .accordion .content,
    .accordion .content table tbody tr {
      transition: none !important;
    }
  }
  
  /* アコーディオン内の3列の表（5:3:2の比率） */
  .table-accordion {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
  }
  
  .table-accordion th, .table-accordion td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
  }
  
  .table-accordion th {
    background-color: #f2f2f2;
  }
  
  .table-accordion th:first-child, .table-accordion td:first-child {
    width: 50%;
  }
  
  .table-accordion th:nth-child(2), .table-accordion td:nth-child(2) {
    width: 30%;
  }
  
  .table-accordion th:nth-child(3), .table-accordion td:nth-child(3) {
    width: 20%;
  }