@charset "utf-8";
/* CSS Document */

/*とれるカテゴリー*/
#toreru_navi_new ul {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#toreru_navi_new ul li {
    width: 24%;
    border-right: 1px solid #D9D9D9;
}
#toreru_navi_new ul li:last-child {
    border-right: none;
}
#toreru_navi_new ul li a {
    color: #000;
    background-color: #f7f7f7;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 16px;
}
.toreru_qa h1 {
    margin-bottom: 20px;
    margin-top: 50px;
}
/*質問カテゴリー*/
.toreru_qa #category_link {
	display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 100px;
    justify-content: space-between;
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
}
.toreru_qa #category_link p {
    width: 19%;
    display: flex;
}
.toreru_qa #category_link p a {
    background-color: #E9E9E9;
    font-size: 16px;
    text-align: center;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
    padding: 20px;
    display: flex;
    align-items: center;
}
/*タブレット対応*/
@media (max-width: 949px){
.toreru_qa #category_link {
    justify-content: flex-start;
}
.toreru_qa #category_link p {
    width: 33%;
}
}
/*質問見出し*/
.toreru_qa h2 {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #FFF;
    font-size: 140%;
    text-align: center;
    font-weight: normal;
    border: 1px solid #D8D8D8;
}
/*質問内容*/
.toreru_qa .qa_wrap {
    margin-bottom: 100px;
    max-width: 880px;
    margin-right: auto;
    margin-left: auto;
}
.toreru_qa summary {
    padding: 2rem;
    outline: 0;
    cursor: pointer;
    display: block;
    color: #000000;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.5em;
  &:hover {
    background: #eee;
    transition: all linear 0.2s;
  }
  list-style: none;
  &::-webkit-details-marker {
    display: none;
  }
}
details summary::-webkit-details-marker {
  display: none;
}
.toreru_qa details {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 15px;
  display: block;
}
.toreru_qa details summary::before {
  content: none !important;
}
.toreru_qa details summary::after {
  content: "＋";
  color: #aaa;
  font-weight: 400;
  float: right;
  width: 1rem;
  text-align:center;
}
.toreru_qa details[open] summary::after {
  content: "－";
  margin-top: -0.1rem;
}
.toreru_qa details[open] div {
  animation: accordion 0.4s linear;
  overflow: hidden;
  border-bottom: 2px solid #eee;
  padding: 0 2rem 2rem;
}
.toreru_qa details p {
    font-size: 16px;
    line-height: 1.5em;
}
.toreru_qa details p a {
    color: #36AED9;
}
.toreru_qa details p a:hover {
    text-decoration: underline;
}
@keyframes accordion {
  0% {
    opacity: 0;
    height: 0;
  }
  70% {
    opacity: 0;
    /*height: auto; コレだとカクカクする*/
    height: 200px;
  }
  100% {
    opacity: 1;
  }
}