/* Q&A page */
.wrapper section.block__qa h2 {
  margin-bottom: 60px;
}
.wrapper section.block__qa .inner {
  max-width: 1000px;
  padding-bottom: 100px;
}
.qa-lead {
  font-size: 16px;
  text-align: center;
  margin-bottom: 40px;
}
.qa-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 60px;
}
.qa-toc li {
  display: flex;
  width: calc((100% - 20px) / 3);
}
.qa-toc a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border: 2px solid #003E60;
  border-radius: 4px;
  background: #fff;
  color: #003E60;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}
.qa-toc a:hover {
  background: #003E60;
  color: #fff;
  opacity: 1;
}
.qa-cat {
  margin-bottom: 60px;
  scroll-margin-top: 20px;
}
.qa-cat-ttl {
  font-size: 22px;
  font-weight: bold;
  color: #003E60;
  border-bottom: 2px solid #B1A480;
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.qa-item {
  border: 1px solid #ccc;
  background: #fff;
  margin-bottom: 10px;
}
.qa-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 18px 50px 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: bold;
  line-height: 1.6;
  color: #413D3C;
}
.qa-q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #003E60;
  border-bottom: 2px solid #003E60;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.qa-q[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  top: 31px;
}
.qa-num {
  flex-shrink: 0;
  color: #B1A480;
  min-width: 3em;
}
.qa-a {
  padding: 0 20px 24px 20px;
  font-size: 15px;
  line-height: 1.9;
  border-top: 1px dashed #ccc;
}
.qa-a p {
  margin-top: 16px;
}
.qa-a ul {
  margin: 16px 0 0 1.2em;
  list-style: disc;
}
.qa-a li {
  margin-bottom: 8px;
}
.qa-a strong {
  font-weight: bold;
}
.qa-a a {
  color: #003E60;
  word-break: break-all;
}
.qa-note {
  font-size: 13px;
}
.qa-ph {
  margin-top: 20px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #eee;
  border: 2px dashed #aaa;
  color: #777;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 13px;
  text-align: center;
}
.qa-ph:has(img) {
  display: block;
  min-height: 0;
  padding: 0;
  background: none;
  border: none;
}
.qa-ph img {
  display: block;
  width: 100%;
  height: auto;
}
.qa-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
}
.qa-table {
  border-collapse: collapse;
  min-width: 720px;
  width: 100%;
  font-size: 13px;
  text-align: right;
}
.qa-table th,
.qa-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  white-space: nowrap;
}
.qa-table thead th,
.qa-table tbody th {
  background: #f5f5f0;
  text-align: center;
  font-weight: normal;
}
.qa-table .qa-even td {
  text-align: center;
}
.qa-table .qa-hl td,
.qa-table .qa-hl th {
  background: #fdf5f4;
}
.qa-dl {
  margin-top: 16px;
  padding: 16px 20px;
  background: #f5f5f0;
}
@media screen and (max-width: 768px) {
  .qa-toc li {
    width: calc((100% - 10px) / 2);
  }
  .qa-toc a {
    font-size: 12px;
    padding: 10px 6px;
  }
  .qa-cat-ttl {
    font-size: 18px;
  }
  .qa-q {
    font-size: 15px;
    padding: 14px 40px 14px 14px;
    gap: 8px;
  }
  .qa-q::after {
    right: 16px;
    top: 22px;
  }
  .qa-q[aria-expanded="true"]::after {
    top: 27px;
  }
  .qa-a {
    padding: 0 14px 20px;
    font-size: 14px;
  }
  .qa-ph {
    min-height: 160px;
  }
}
