.admission {
  padding: 87px 25px 50px;
  @media screen and (min-width: 769px) {
    box-sizing: content-box;
    margin: 0 auto;
    padding: 201px 25px 90px;
  }
}
:where(.admission) {
  .flow {
    display: flex;
    @media screen and (max-width: 768px) {
      flex-direction: column;
      gap: 25px;
      margin-bottom: 55px;
    }
    @media screen and (min-width: 769px) {
      justify-content: center;
      row-gap: 30px;
      flex-wrap: wrap;
      margin-bottom: 69px;
    }
  }
  .flow__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    @media screen and (min-width: 769px) {
      width: 278px;
      justify-content: space-between;
    }
  }
  .flow__image {
    width: 129px;
    margin-bottom: 9px;
    @media screen and (min-width: 769px) {
      margin-bottom: 20px;
    }
  }
  .flow__title {
    font-weight: bold;
    text-align: center;
    font-size: calc(var(--rem) * 18);
    letter-spacing: 0.9px;
    @media screen and (max-width: 768px) {
      margin-bottom: 11px;
    }
    @media screen and (min-width: 769px) {
      font-size: calc(var(--rem) * 19);
      letter-spacing: 0.95px;
    }
  }
  .flow__desc {
    text-align: center;
    color: #454545;
    font-weight: bold;
    font-size: calc(var(--rem) * 12);
    letter-spacing: 0.6px;
    line-height: 22px;
    @media screen and (min-width: 769px) {
      min-height: 100px;
      font-weight: 600;
      display: flex;
      align-items: center;
      font-size: calc(var(--rem) * 12);
      letter-spacing: 0.6px;
      line-height: 20px;
    }
  }

   .faq {
    @media screen and (min-width: 769px) {
      max-width: 1000px;
      box-sizing: content-box;
      margin: 75px auto 0 auto;
    }
  }
  :where(.faq) {
    .faq-category__title {
      background: #004F92;
      color: #FFF;
      font-weight: bold;
      font-size: calc(var(--rem) * 15);
      letter-spacing: 0.75px;
      padding: 7px 15px;

      @media screen and (min-width: 769px) {
        padding: 14px 30px;
        font-size: calc(var(--rem) * 17);
        letter-spacing: 0.85px;
      }
    }

    .faq-question {
      font-size: calc(var(--rem) * 14);
      letter-spacing: 0.7px;
      font-weight: 600;
      position: relative;
      padding-right: 25px;
      line-height: 25px;
      display: flex;

      @media screen and (min-width: 769px) {
        font-size: calc(var(--rem) * 15);
        letter-spacing: 0.75px;
        padding-right: 32px;
        line-height: 30px;
      }

      &::after {
        content: "";
        display: inline-block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        background-image: url("../../images/faq/icon_open.svg");
        background-size: contain;
        background-repeat: no-repeat;

        @media screen and (min-width: 769px) {
          width: 25px;
          height: 25px;
        }
      }
    }

    .faq-item {
      padding: 17px 0;
      cursor: pointer;

      @media screen and (min-width: 769px) {
        padding: 22px 40px;
      }
    }

    .faq-item+.faq-item {
      border-top: 1.34px solid #CBCBCB;
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.6s ease, padding 0.6s linear;
      padding: 0;
      color: #454545;
      font-weight: 500;
      font-size: calc(var(--rem) * 14);
      letter-spacing: 0.7px;
      line-height: 25px;

      .answer {
        color: #00688E;
      }

      @media screen and (min-width: 769px) {
        font-size: calc(var(--rem) * 15);
        letter-spacing: 0.75px;
        line-height: 30px;
      }
    }

    .faq-answer__inner {
      display: flex;
      margin-top: 9px;

      @media screen and (min-width: 769px) {
        margin-top: 13px;
      }
    }

    .faq-item.is-open {
      .faq-question {
        &::after {
          background-image: url("../../images/faq/icon_close.svg");
        }
      }

      .faq-answer {
        max-height: 500px;
      }
    }
  }
}