main {
  background: none;
}

main::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../../img/hp-kv.png') #f8f8f8 center center / cover no-repeat;
  z-index: -1;
}

p {
  color: #0264bc;
  font-weight: 500;
}

.faq-pc {
  display: block;
}

.faq-sp {
  display: none;
}

.faq-pc2 {
  display: block;
}

.faq-sp2 {
  display: none;
}

.hp-kv-top {
  padding: 200px 0 30px;
  border-bottom: #0065bc4f solid 2px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hp-kv-title {
  font-weight: bold;
  font-size: 2rem;
}

.hp-kv-title span {
  display: block;
  font-size: 0.8rem;
}

.hp-sitemap {
  font-size: 0.8rem;
  color: #000000;
}

.hp-kv-bottom {
  padding: 80px 0;
  display: flex;
  gap: 4%;
  align-items: center;
}

.hp-kv-left {
  width: 48%;
}

.hp-kv-right {
  width: 48%;
}

.hp-kv-right p {
  font-weight: bold;
}

.hp-kv-h2 {
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 2px solid #0065bc4f;
  line-height: 1;
  margin-bottom: 20px;
  width: fit-content;
}


.faq-sec{
	padding:100px 0;
}

.faq-content {
    border-radius: 15px;
    background: #fff;
    width: 100%;
    margin: 15px auto;
    padding: 30px;
    position: relative;
    cursor: pointer;
	box-shadow: 3px 8px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.25s ease-in-out, width 0.25s ease-in-out, padding 0.25s ease-in-out;
}

.faq-arrow{
	    background: #0065bc;
    width: 50px;
    height: 50px;
    position: absolute;
    right: 5%;
    top: 32px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-arrow p {
transform: rotate(90deg);
    transition: transform 0.4s ease;
    font-size: 1rem;
    font-family: 'Noto Sans JP';
    color: #fff;
}

.faq-content.open .faq-arrow p {
  transform: rotate(-90deg);
}

.faq-h2 {
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    color: #0065bc;
    padding-right: 55px;
    line-height: 2;
    gap: 15px;
}

.faq-h2 span {
font-size: 1.8rem;
    color: #0065bc;
	    min-width: 23px;
}

.faq-a {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.4s ease;
}

.faq-content.open .faq-a {
  opacity: 1;
  transform: translateY(0);
}

.faq-a p {
    margin: 20px auto 0;
    background: #0264bc1c;
    padding: 30px;
    border-radius: 10px;
}



.hp-sec5-bottom {
  background-color: #ffffff;
  position: relative;
  z-index: 0;
  margin-top: -3px;
}

.hp-sec5-bottom2 {
  background: url('../../img/hp-kv.png') #f8f8f8 center center / cover no-repeat;
  clip-path: polygon(0% -3px, 100% -3px, 100% 100%, 0% 0);
  height: 90px;
  position: relative;
  z-index: 1;
  margin-top: -3px;
}


.hp-sec6 {
  background: #fff;
  padding: 60px 0;
}

.hp-sec6-flex {
  display: flex;
  gap: 5%;
  align-items: center;
  justify-content: center;
}

.hp-sec6-left {
  width: 40%;
  max-width: 250px;
}

.hp-sec6-right {
  width: 60%;
  max-width: 500px;
}

.hp-sec6-right p {
  font-size: 1.8rem;
  line-height: 1.5;
  text-decoration: underline #75a9d8;
  font-weight: bold;
}


@media screen and (max-width:1024px) {
  .faq-pc {
    display: none;
  }

  .faq-sp {
    display: block;
  }



  .hp-kv-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .hp-sitemap {
    margin: 20px 0 0 auto;
  }


}

@media screen and (max-width:768px) {
  .faq-pc2 {
    display: none;
  }

  .faq-sp2 {
    display: block;
  }

  .hp-kv-top {
    padding: 150px 0 20px;
  }

  .hp-kv-bottom {
    padding: 40px 0 0;
  }

  .hp-sec5-bottom2 {
    height: 50px;
  }

}

@media screen and (max-width:660px) {

  .hp-kv-bottom,
  .hp-sec6-flex {
    flex-direction: column;
    gap: 30px;
  }

  .hp-kv-left,
  .hp-kv-right {
    width: 100%;
  }


  .hp-kv-title {
    line-height: 1.5;
  }

	.faq-sec {
    padding: 30px 0 60px;
}
	.faq-content {
		padding: 20px;}
	
	.faq-a p {
		margin: 10px auto 0;
	    padding: 20px;}
	.faq-arrow {
		top: 20px;
	    width: 40px;
    height: 40px;}

  .hp-sec6-right {
    width: 100%;
    text-align: center;
  }

  .hp-sec6-left {
    width: 170px;
  }

  .hp-sec6-right p {
    font-size: 1.2rem;
  }

  .faq-content2 {
    margin: 60px auto 0;
  }
}

