.faq-list {
  display: grid;
  gap: 1.25rem;
}

.faq-item {
  overflow: hidden;
}

.faq-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: var(--color);
  color: #fff;
  border: none;
  padding: 1rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.faq-head:hover {
  background: rgba(255, 74, 74, 0.8);
}

.faq-q {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
}

.faq-question {
  font-family: "Poppins", sans-serif;
  text-align: left;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
}

.faq-icon {
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 280ms ease;
}

.faq-panel p {
  margin: 1.5rem 0 0;
  padding: 0 1em;
}

.faq-panel p span {
  color: var(--color);
  font-weight: 600;
}

.faq-item.is-open .faq-panel {
  max-height: 999px;
}

.faq-panel[hidden] {
  display: block;
}

.size-table {
  width: 60%;
  max-width: 800px;
  margin: 1.5rem 0 0 1rem;
  border-collapse: collapse;
  font-size: 14px;
}

.size-table th,
.size-table td {
  border: 2px solid #000;
  padding: 0.5em;
  text-align: center;
  vertical-align: middle;
}

.size-table thead th {
  background: #fde3e3;
  /* 薄ピンク */
  font-weight: 700;
}

.size-table tbody th {
  background: #fde3e3;
  font-weight: 700;
}

@media screen and (min-width: 1px) and (max-width: 743px) {
  .faq-list {
    gap: 0.8rem;
  }

  .faq-head {
    gap: 1rem;
    padding: 0.6rem;
  }

  .faq-q {
    font-size: 6.933vw; /* 26px */
  }

  .faq-question {
    font-size: 4.267vw; /* 16px */
  }

  .faq-icon {
    font-size: 7.467vw; /* 28px */
    line-height: 1;
  }

  .faq-panel p {
    margin: 1rem 0 0;
    padding: 0;
  }

  .size-table {
    width: 100%;
    margin: 1rem 0 0 0;
    font-size: 3.200vw; /* 12px */
  }

  .size-table th,
  .size-table td {
    border: 1px solid #000;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .faq-list {
    gap: 1rem;
  }

  .faq-q {
    font-size: 4.17vw;
    /* 32px */
  }

  .faq-question {
    font-size: 2.86vw;
    /* 22px */
  }

  .faq-icon {
    font-size: 4.43vw;
    /* 34px */
  }

  .faq-panel p {
    margin: 1rem 0 0;
    padding: 0;
  }

  .size-table {
    font-size: 1.82vw;
    /* 14px */
  }
}