@charset "UTF-8";

h2 {
  padding: 9px 16px;
  position: relative;
  z-index: 0;
  background-color: #7dcef4;
  border-radius: 9999px;
  width: 90%;
  margin: 30px auto;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

h2::before {
  position: absolute;
  border: 2px solid #fff;
  content: "";
  display: block;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 3px;
  z-index: -1;
  border-radius: 9999px;
}

.container {
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.grid {
  padding: 0 20px 30px 20px;
}

#hanarira_footer {
  margin-top: auto;
}

/* =============================================
よくある質問
============================================= */

.faq {
  width: 100%;
  margin-bottom: 120px;
}

.accordion {
  margin: 0 auto;
  padding: 0 20px;
}

.accordion-content {
  display: none;
}

.acc-wrap {
  border-bottom: 1px solid #CCCCCC;
}

.accordion-header {
  padding: 12px 45px 20px 20px;
  margin: 10px 0 0;
  cursor: pointer;
  position: relative;
}

.accordion-header span,
.accordion-content span {
  padding-left: 25px;
  position: relative;
  display: block;
  font-size: 14px;
}

.accordion-header::before,
.accordion-header::after {
  position: absolute;
  content: "";
  top: 1px;
  right: 20px;
  bottom: 0;
  width: 12px;
  height: 2px;
  margin: auto;
  background: #151e2f;
}

.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 22px;
}

.accordion-header span {
  font-weight: 500;
}

.accordion-header > span::before {
  position: absolute;
  content: "Q";
  top: 2px;
  left: -6px;
  font-size: 16px;
  border-radius: 99px;
  background: #019DE6;
  color: #ffffff;
  font-size: 16px;
  width: 24px;
  height: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  padding-bottom: 4px;
  box-sizing: border-box;
}

.accordion-content > span::before {
  position: absolute;
  content: "A";
  top: 3px;
  left: -6px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50%;
  background: #DCDCDC;
  color: #808080;
  font-size: 16px;
  width: 24px;
  height: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  letter-spacing: 1px;
  padding-bottom: 4px;
  box-sizing: border-box;
}

.faq-category {
  margin-bottom: 20px;
}

.faq-category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 40px;
  background: #195494;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

/* 大項目の「＋／−」 */
.faq-category-header::before,
.faq-category-header::after {
  position: absolute;
  content: "";
  top: 0;
  right: 25px;
  bottom: 0;
  width: 10px;
  height: 2px;
  margin: auto;
  background: #fff;
}

.faq-category-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}

/* 大項目が開いている状態 */
.faq-category-header.active::after {
  transform: rotate(0deg);
}

/* 大項目の中身 */
.faq-category-content {
  display: none;
}

.faq-category-header.active + .faq-category-content {
  display: block;
}

.faq .strong {
  text-decoration: underline;
  color: #019DE6;
  display: inline;
  padding-left: 0;
}


@media (min-width: 576px) {
  .grid {
    padding: 0 30px 30px 30px;
  }

  .accordion  {
      padding: 0px 80px;
  }

}
