/* ===========================================
 * CONTRACT
 * ======================================== */

.contract {
  background: center /cover no-repeat url(../images/contract_bg.png);
  padding: 6rem 0;
  .inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .content__list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .text.content__item {
    background-color: var(--bg-white);
    box-shadow: var(--safe-shadowSp);
    padding: 2.4rem 1.2rem;
    text-align: center;
    font-weight: var(--text-bold);
    line-height: 1.5;
  }
  .content__list > .content__item:last-of-type {
    color: #fff;
    background-color: var(--bg-mainExThin);
  }
  .img.content__item {
    width: 2rem;
    margin:  0 auto;
  }
  .content__list > .arrow-2 {
    display: flex;
    gap: 1.2rem;
  }
  .content__list > .col-2 {
    display: flex;
    gap: 1.2rem;
  }
  .content__list > .col-2 > .content__item {
    width: calc((100% - 1.2rem) / 2);
    padding: 0;
  }
  .content__list > .col-2 > .content__item > ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1rem;
  }
  .content__list > .col-2 > .content__item > ul > li {
    font-size: 1.3rem;
  }
  .content__list > .col-2 > .content__item > ul > li:nth-of-type(1) {
    width: 100%;
    padding: 1rem;
    background-color: #1f665e;
    color: #fff;
  }
  .content__list > .col-2 > .content__item > ul > li:nth-of-type(3),
  .content__list > .col-2 > .content__item > ul > li:nth-of-type(5) {
    line-height: 0;
  }
  .content__list > .col-2 > .content__item > ul > li:nth-of-type(3) > .content__item,
  .content__list > .col-2 > .content__item > ul > li:nth-of-type(5) > .content__item {
    width: 1.2rem;
  }
  .content__list > .col-2 > .content__item > ul > li img {
    opacity: .3;
  }
  .contract__flow {
    background-color: var(--bg-white);
    box-shadow: var(--safe-shadowSp);
    padding: 2.4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .contract__title {
    font-size: 1.6rem;
    font-weight: var(--text-bold);
    text-align: center;
  }
  .caption {
    text-align: center;
  }
}

@media screen and (min-width:600px) {
  .contract {
    .content__list br {
      display: none;
    }
  }
}

@media screen and (min-width:960px) {
  .contract {
    padding: 10rem 5%;
    .inner {
      padding: 0;
      max-width: 100rem;
      margin: 0 auto;
    }
    .contract__flow {
      padding: 4rem;
      gap: 2rem;
    }
    .contract__title {
      font-size: 2rem;
    }
    .img.img__scroll {
      width: 100%;
      max-width: 671px;
      margin: 0 auto;
      img {
        width: 100%;
      }
    }
  }
}

@media screen and (min-width:1024px) {
  .contract {
    padding-inline: 0;
    .content__list {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      height: 21.4rem;
      padding: 0;
    }
    .content__list br {
      display: inline-block;
    }
    .text.content__item {
      display: flex;
      align-items: center;
      justify-content: center;
      align-self: stretch;
      width: 100%;
      max-width: 10rem;
      font-size: 1.3rem;;
    }
    .img.content__item {
      display: flex;
      align-items: center;
      width: 1.2rem;
      height: calc((100% - 1.2rem) / 2);
      margin:  0;
    }
    .content__list > .arrow-2 {
      flex-direction: column;
      gap: 1.2rem;
      height: 100%;
    }
    .content__list > .col-2 {
      flex-direction: column;
      width:  100%;
      height: 100%;
      max-width: 45.2rem;
    }
    .content__list > .col-2 > .content__item {
      width:  100%;
      max-width: 45.2rem;
      height: calc((100% - 1.2rem) / 2);
    }
    .content__list > .col-2 > .content__item > ul {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      height: 100%;
      padding-bottom: 0;
    }
    .content__list > .col-2 > .content__item:nth-of-type(1) > ul::after {
      content: "";
      width: 0;
      height: 0;
    }
    .content__list > .col-2 > .content__item:nth-of-type(2) > ul {
      justify-content: flex-start;
      gap: 1.7rem;
    }
    .content__list > .col-2 > .content__item:nth-of-type(2) > ul > li:nth-of-type(2) {
      min-width: 73.46px;
    }
    .content__list > .col-2 > .content__item > ul > li:nth-of-type(1) {
      display: flex;
      align-items: center;
      justify-content: center;
      max-width: 10rem;
      height: 100%;
    }
  }
}