@charset "UTF-8";
/*-- merit --*/
#merit .merit-blk {
  margin-top: 80px;
}

#merit .merit-blk .merit-txt-blk {
  margin-top: 38px;
  display: flex;
  justify-content: flex-end;
}

#merit .merit-blk .merit-txt-blk .txt {
  width: 48%;
  line-height: 2;
}

#merit .merit-blk .merit-photo {
  margin-top: 60px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
}

#merit .merit-blk .merit-photo img {
  border-radius: 16px;
}

/*-- faq --*/
.faq-blk {
  display: grid;
  grid-template-columns: 3fr 7fr;
}

.faq-blk .faq-side {
  padding-top: 80px;
  position: sticky;
  top: 10px;
}

.faq-blk .faq-side .faq-side-item{
    position: relative;
    padding: 8px 0 8px 34px;
}

.faq-blk .faq {
  margin-top: 80px;
}

.faq-blk .faq .faq-ttl-blk {
  padding: 12.8px 0 19.2px;
}

.faq-blk .faq .faq-ttl-blk .faq-ttl {
  color: var(--main-color);
  font-size: 20px;
  font-weight: bold;
}

.faq-blk .faq .qa-blk {
  position: relative;
  transition: all 0.3s ease-in-out;
}

.faq-blk .faq .qa-blk::before {
  width: 18px;
  height: 1px;
  transition: all 0.3s ease-in-out;
  position: absolute;
  content: "";
  top: 52px;
  right: 20px;
  background-color: #9ca7b7;
  z-index: 2;
}

.faq-blk .faq .qa-blk[open]::before {
  transform: rotate(45deg);
}

.faq-blk .faq .qa-blk::after {
  width: 18px;
  height: 1px;
  transition: all 0.3s ease-in-out;
  transform: rotate(-90deg);
  position: absolute;
  content: "";
  top: 52px;
  right: 20px;
  background-color: var(--sub-color);
  z-index: 2;
}

.faq-blk .faq .qa-blk[open]::after {
  transform: rotate(-45deg);
}

.faq-blk .faq .qa-blk summary {
  padding: 40px 48px;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: .03em;
  line-height: 1.5;
  list-style: none;
}

.faq-blk .faq .qa-blk summary::before {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--sub-color);
  font-size: 26px;
  position: absolute;
  content: "Q";
  top: 31px;
  left: 15px;
  font-weight: bold;
}

.faq-blk .faq .qa-blk[open] summary {
  background-color: #f9f9f9;
}

.faq-blk .faq .qa-blk[open] summary::before {
  color: var(--main-color);
}

.faq-blk .faq .qa-blk .a-blk {
  height: 0px;
  padding: 10px 50px;
  letter-spacing: .03em;
  position: relative;
  font-size: 14px;
}

.faq-blk .faq .qa-blk[open] .a-blk {
  height: auto;
}

.faq-blk .faq .qa-blk .a-blk::before {
  display: flex;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  justify-content: center;
  color: var(--main-color);
  position: absolute;
  content: "A";
  top: 6px;
  left: 15px;
}

@media screen and (max-width: 768px) {
  /*-- merit --*/
  #merit .merit-blk .merit-txt-blk .txt{
    width: 100%;
  }

  /*-- faq --*/
  .header{
    margin-bottom: 0;
  }

  .faq-blk{
    grid-template-columns: unset;
  }

  .faq-blk .faq-side{
    display: none;
  }
}
