h1 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.panel {
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.accordion__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: #f2f2f2; */
  padding: 20px 26px 20px 38px;
  cursor: pointer;
  font-weight: bold;
  font-size: 20px;
}

@media screen and (max-width: 1024px) {
  .accordion__header {
    padding: 15px 16px 15px 15px;
    font-size: 14px;
  }

}

.accordion__subheader{
  display: flex;
  align-items: center;
}

.accordion__subheader img{
  width: 44px;
  margin-right: 15px;
}

@media screen and (max-width: 1024px) {
  .accordion__subheader img{
    width: 28px;
    margin-right: 8px;
  }

}

.accordion__header .icon {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

@media screen and (max-width: 1024px) {
  .accordion__header .icon {
    width: 17px;
  }

}

.panel.open .accordion__header .icon {
  /* ▼→▲ */
  transform: rotate(360deg);
}

.panel__content {
  /* display: none; */
  max-height: 0;
  /* border-top: 1px solid #ccc; */
  transition: max-height 0.5s ease;
}

.panel.open .panel__content {
  /* display: block; */
  max-height: 1000px;
}
.panel__inner {
  padding: 10px 35px 50px 40px;
  /* padding: 20px; */
  /* background-color: #f9f9f9; */
  /* border-radius: 8px; */
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  .panel__inner {
    padding: 10px 20px 38px 20px;
    font-size: 12px;
  }

}

.panel__inner p, .panel__inner span {
  letter-spacing: 0.04em;
}

#searchForm{
  margin-top: 32px;
}

.form__group {
  display: flex;
  border-bottom: 1px solid #ccc;
  padding-block: 15px;
  padding-inline: 3px;

}

@media only screen and (max-width: 1024px) {
  .form__group {
    flex-direction: column;
    /* align-items: flex-start; */
  }
}

.form__group:last-of-type .label__sub  {
  margin-top: -5px;
}

.form__group:first-child {
  margin-top: 0;

}

.label__sub{
  width: 35%;
  max-width: 228px;

}
@media screen and (max-width: 1024px) {
  .label__sub {
    width: 100%;
    max-width: none;
  }

}

.label__sub p {
  font-weight: bold;
  /* margin-bottom: 10px; */
  display: flex;
  align-items: center;
}
.label__sub p span {
  font-size: 12px;
  color: #933b50;
  margin-left: 6px;
}



.options {
  width: 80%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  line-height: calc(21 / 16);
}

@media screen and (max-width: 1024px) {
  .options {
    width: 100%;
    font-size: 12px;
    line-height: calc(20 / 14);
  }

}

.option__item {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-right: 22px;
  color: #222a35;
}

@media screen and (max-width: 1024px) {
  .option__item {
    margin-right: 18px;
  }

}

.option__item input {
  accent-color: #007bff;
}

button[type="submit"] {
  background-color: #933b50;
  color: #fff;
  border: none;
  padding: 18px 24px;
  font-size: 1rem;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 270px;
  margin-top: 44px;
}

@media screen and (max-width: 1024px) {
  button[type="submit"] {
    font-size: 12px;
    max-width: 204px;
    margin-top: 32px;
  }

}

button[type="submit"]:hover {
  opacity: 0.7;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

@media screen and (max-width: 1024px) {
  input[type="checkbox"],
  input[type="radio"] {
    width: 12px;
    height: 12px;
  }

}
.result-count{
  margin-top: 64px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 0.04em;

}

@media screen and (max-width: 1024px) {
  .result-count {
    margin-top: 50px;
  }

}

.result-count span{
  font-size: 24px;
  color: #933b50;
  font-weight: bold;
}

.result-count.count-zero{
  text-align: center;
  margin-bottom: 64px;
}

@media screen and (max-width: 1024px) {
  .result-count.count-zero{
    font-size: 12px;
  }
}


/* 詳細ページのテーブル部分 */

.p-case__contents__search-result{
  width: 50%;
}

@media screen and (max-width: 1024px) {
  .p-case__contents__search-result {
    width: 100%;
    margin-top: 20px;
  }

}

.p-case__contents__search-result-table {
  width: 100%;
  border-collapse: collapse;
  background: #f6f7f8;
  font-size: 14px;
}

@media screen and (max-width: 1024px) {
  .p-case__contents__search-result-table {
    font-size: 12px;
  }

}

.p-case__contents__search-result-table th,
.p-case__contents__search-result-table td {
  border: 1px solid white;
  padding:8px 10px;
  vertical-align: top;
  text-align: left;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.p-case__contents__search-result-table th {
  width: 40%;
  background: #e5e8ee;
  font-weight: 600;
}

.p-case__contents__search-result-table ul {
  margin: 0;
  padding-left: 1.2em;
}

.p-case__contents__search-result-table li {
  list-style: disc;
}