@charset "EUC-JP";

/* CSS Document */

@media screen and (min-width: 790px) {
  .banner_frex {
    display: flex;
  }

  .banner_mar {
    margin: 0 20px 0 0;
  }

  .image.small {
    max-width: 441px;
    height: auto;
    margin: 2em auto;
  }

  .flex__list {
    display: flex;
    justify-content: space-between;
  }

  .flex__list dl dt span.number {
    display: block;
  }
}

@media screen and (max-width: 790px) {
  .banner_mar_sp {
    margin: 0 0 20px;
  }

  .image.small {
    height: auto;
    margin: 1em auto;
  }
}

/* ----- */

.flex__list .number {
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 99px;
  color: #fff;
  background: #203d95;
  margin: 0 auto 15px;
}

.flex__list .text {
  display: block;
  text-align: center;
  font-weight: 700;
  color: #203d95;
  margin: 0 0 10px;
}

@media all and (min-width: 768px) {
  .content-lead p {
    line-height: 36px;
  }

  .flex__list {
    display: flex;
    justify-content: space-between;
    width: 590px;
    margin: 25px auto 0;
  }

  .flex__list dl {
    display: flex;
    flex-direction: column;
  }

  .flex__list dd {
    margin-top: auto;
  }

  .content p.content__flex__item__note {
    max-width: 440px;
    margin: 30px auto 25px;
    text-align: left;
  }

  .flex__list dl:nth-of-type(1) dd {
    width: 140px;
  }

  .flex__list dl:nth-of-type(2) dd {
    width: 115px;
  }

  .flex__list dl:nth-of-type(3) dd {
    width: 160px;
  }

  .banner {
    width: 630px;
    margin: auto;
  }
}

@media all and (max-width: 767px) {
  .content-lead p {
    line-height: 32px;
  }

  .flex__list {
    margin: 25px 0 30px;
  }

  .flex__list dd {
    width: 140px;
    margin: auto;
  }

  .flex__list dl:nth-of-type(n + 2) {
    margin: 30px 0 0;
  }

  .flex__list dl:nth-of-type(1) dd {
    width: 140px;
  }

  .flex__list dl:nth-of-type(2) dd {
    width: 115px;
  }

  .flex__list dl:nth-of-type(3) dd {
    width: 160px;
  }
}
