/* アコーディオン必須 */
.accordion {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .accordion {
    margin-top: 30px;
  }
}
.accordion-content {
  display: none;
}
.accordion-header {
  margin: 33px 0 0;
  transition: background 0.3s ease;
  cursor: pointer;
  position: relative;

  box-sizing: border-box;
  padding-top: 22px;
  padding: 25px 40px;

  border-radius: 20px;
  background: #0d6fb8;
}
.accordion .accordion-header:first-child {
  margin-top: 0;
}
.accordion-header::before,
.accordion-header::after {
  position: absolute;
  content: "";
  top: 1px;
  right: 40px;
  bottom: 0;
  width: 28px;
  height: 6px;
  margin: auto;
  background: #fff;
  border-radius: 14px;
}
.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}
.accordion-header.active::after {
  transform: rotate(0deg);
}
.accordion-content {
  background-color: #fff;
  padding: 12px 20px 10px;
  padding: 50px 40px 50px 116px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  border-bottom: #0d6fb8 2px solid;
  border-left: #0d6fb8 2px solid;
  border-right: #0d6fb8 2px solid;
}
.accordion-header span,
.accordion-content span {
  padding-left: 76px;
  position: relative;
}
.accordion-header span {
  color: #fff;
  font-family: "Noto Sans JP";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%; /* 38.4px */
}
.accordion-header span::before {
  position: absolute;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background-image: url(../image/top/qicon.svg);
  content: "";
  display: inline-block;
  left: 0;
  top: -5px;
}
.accordion-content span {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  text-align: left;
  padding-left: 0;
  color: #111;
  font-size: 20px;
  font-style: normal;
  line-height: 160%; /* 32px */
  letter-spacing: 0.1em;
}
.accordion-content span::before {
  position: absolute;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  background-image: url(../image/top/Aicon.svg);
  content: "";
  display: inline-block;
  left: -76px;
  top: -5px;
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 768px) {
  .accordion-content span::before {
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
    left: -36px;
    top: 5px;
  }
}
/* hover */
.accordion-header.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
@media screen and (max-width: 768px) {
  .accordion {
    padding-bottom: 50px;
    width: 88.3vw;
    margin: 0 auto;
  }
  .accordion-content {
    display: none;
  }
  .accordion-header {
    margin: 20px 0 0;
    padding: 20px 34px 20px 59px;
  }
  .accordion .accordion-header:first-child {
    margin-top: 0;
  }
  .accordion-header::before,
  .accordion-header::after {
    position: absolute;
    content: "";
    top: 1px;
    right: 10px;
    bottom: 0;
    width: 18px;
    margin: auto;
    height: 4px;
  }
  .accordion-header::after {
    transform: rotate(-90deg);
    transition: transform 0.3s;
  }
  .accordion-header.active::after {
    transform: rotate(0deg);
  }
  .accordion-content {
    background-color: #fff;
    padding: 20px 18px;
    padding-left: 60px;
  }
  .accordion-header span,
  .accordion-content span {
    padding-left: 25px;
    position: relative;
  }
  .accordion-content span {
    padding-left: 0;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 160%; /* 24px */
    letter-spacing: 0.45px;
  }
  .accordion-header span {
    letter-spacing: 0.03em;
    /*line-height: 27px;*/
    text-indent: -15px;
    padding-left: 0px;
    color: #fff;
    font-family: "Noto Sans JP";
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 27.2px */
  }
  .accordion-header span::before {
    font-size: 22px;
    letter-spacing: 0.03em;
    left: -9px;
  }
}
@media screen and (max-width: 768px) and (max-width: 767px) {
  .accordion-header span::before {
    width: 24px;
    height: 24px;
    aspect-ratio: 1/1;
    background-size: contain;
    left: -34px;
    top: 2px;
  }
}
