.lp-h2--faq {
  color:#0E5DAB;
  font-size:1.8rem;
  text-align:center;  
}

.ps-faq{
  width:100%;
  max-width:800px;
  margin:0 auto;
}

/*アコーディオンcss*/
summary{
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 20px 50px 20px 20px;
  cursor: pointer;
  background-color: #f7f7f7;
  color: #000;
  margin: 10px auto;
  letter-spacing: 0.1em;
  font-size:16px;
  border-radius:5px;
}
summary::-webkit-details-marker{
  position: absolute;
  color: transparent;
}

summary {
  display: block; /* デフォルトの矢印を消す */
}
summary::-webkit-details-marker {
  display: none; /* デフォルトの矢印を消す */
}
summary:before {
  content: 'Q '; /* 画像URLを指定 */
  font-weight: 600;
  font-size: 20px;
  color: #0E5DAB;
}

summary:hover, details[open] summary {
  background-color: #f5f5f5;
  margin-bottom: 10px;
  font-weight:600;
}

summary::after {
  content: '＞';
  font-size: 120%;
  color: #0E5DAB;
  font-weight:700;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: transform.5s;
}
details[open] summary::after{
  transform:translateY(-50%) rotate(90deg);
}
.ac_inner{
  padding: 20px 20px 20px 20px;
  background-color: #fff;
  width: calc(100% - 40px);
  max-width: 100%;
  margin: auto;
  border-radius:5px;
}
.answer {
  padding: 0px 20px;
  margin: auto;
}
.answer p {

  background: none;
  line-height: 1.8;
  color: #000000;
}
details[open] .answer{
  animation:fadein .5s ease-in-out;
}
.answer {
  display: block;
  padding-left: 35px;
  position: relative;
  line-height: 1.5;
}
.answer:before {
  position: absolute;
  top: -5px;
  left: 0;
  content: "A ";
  color: #000;
  font-weight: 600;
  font-size: 20px;
}
.answer a {
  color: #2da59a;
  text-decoration:underline;
}
.answer a:hover {
  opacity: 0.5;
}
@keyframes fadein {
  0% { opacity: 0; }
  100%{ opacity: 1; }
}
/*アコーディオンcss*/


@media (max-width: 600px) {
.lp-h2--faq {
    color: #0E5DAB;
    font-size: 1.5rem; /* Font size adjusted for mobile */
    text-align: center;
    margin-bottom: 20px; /* Added margin for spacing */
  }

.ps-faq{
  width: 100%;
  max-width: 600px;
  margin: 0px 0px 0px 0px;
}