
.ub-content {
  padding: 0.5rem 0;

  .head {
    padding: 0.5rem 0;

    .title {
      font-size: 1.5rem;
      font-weight: 500;
      color: #1D2843;
      text-align: center;
    }

    .sub-title {
      font-size: 0.8rem;
      text-align: center;
      color: #1D2843;
      margin-top: 1rem;
    }
  }

  .body {
    padding: 0.5rem 0;
  }

  .foot {
    padding: 0.5rem 0;
    text-align: center;

    .action {

    }
  }
}

.ub-content {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  .item-basic {
    .h1 {
      font-size: 1.5rem;
    }

    .h2 {
      font-size: 1rem;
    }

    .h3 {
      font-size: 0.8rem;
    }

    .text-white {
      color: #FFF;
    }

    .width-narrow {
      max-width: 600px;
    }

    .margin-auto {
      margin: 0 auto;
    }
  }
}

.ub-content .body {
  .item-a {
    text-align: center;
    display: block;
    padding: 1rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    text-decoration: none;
    width: 100%;
    margin-bottom: .5rem;

    &:hover {
      .icon, .image {
        transform: scale(1.1);
      }
    }

    .icon {
      font-size: 3rem;
      line-height: 3rem;
      height: 3rem;
      text-align: center;
      display: block;
      transition: all 0.1s linear;
    }

    .image {
      width: 60%;
      margin: 0 auto;
      outline: none;
      transition: all 0.1s linear;
    }

    .title {
      height: 2rem;
      line-height: 1rem;
      overflow: hidden;
      padding-top: 1rem;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 0.9rem;
      font-weight: 500;
      color: #1D2843;
    }

    .slogan {
      color: #999;
      line-height: 1rem;
      height: 2rem;
      padding-top: 1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  .item-b {
    border-radius: 0.25rem;
    background: #FFF;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 0.5rem #EEE;
    text-align: center;
    padding: 1rem;
    margin-bottom: .5rem;

    .title {
      height: 2rem;
      line-height: 1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 1rem;
      font-weight: 600;
      color: #1D2843;
      padding: 1rem 0 0 0;
    }

    .slogan {
      font-size: 0.8rem;
      color: #1D2843;
      text-align: center;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 1rem 0 0 0;
    }

    .desc {
      font-size: 0.7rem;
      color: #8A889A;
      line-height: 1.25rem;
      text-align: center;
      display: block;
      padding: 1rem 0 0 0;
      width: 80%;
      margin: 0 auto;
    }

    .image {
      border-top: 0.05rem dashed #EEE;
      margin: 0 -1rem 0 -1rem;
      padding: 1rem 1rem 0 1rem;
      margin-top: 1rem;
    }
  }

  .item-c {
    text-align: center;
    display: block;
    padding: 1rem;
    line-height: 1.5;
    border-radius: 0.2rem;
    text-decoration: none;
    width: 100%;

    .image {
      width: 60%;
      margin: 0 auto;
      outline: none;
      transition: linear all 0.2s;

      &:hover {
        transform: scale(1.1);
      }
    }

    .title {
      height: 2rem;
      line-height: 1rem;
      overflow: hidden;
      padding-top: 1rem;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 0.9rem;
      font-weight: 500;
      color: #1D2843;
    }
  }

  .item-d {
    border-radius: 0.25rem;
    background: #FFF;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 0.5rem #EEE;
    padding: 1rem;
    margin-bottom: .5rem;

    .logo {
      float: right;
      width: 30%;
      height: 2rem;
      overflow: hidden;
    }

    .title {
      height: 2rem;
      line-height: 1rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding: 0.5rem 0 0 0;
      font-size: 0.9rem;
      font-weight: 500;
      color: #1E2844;
    }

    .desc {
      border-top: 0.05rem dashed #EEE;
      margin: 1rem 0 0 0;
      font-size: 0.7rem;
      color: #8A889A;
      line-height: 1.25rem;
      display: block;
      padding: 1rem 0 0 0;
      height: 10rem;
      overflow: hidden;

      &:before {
        content: "“";
        font-size: 2.5rem;
        line-height: 1.5rem;
        color: #1F2841;
        display: block;
        text-align: left;
      }

      &:after {
        content: "”";
        font-size: 2.5rem;
        line-height: 1.5rem;
        color: #1F2841;
        display: block;
        text-align: right;
      }
    }
  }

  .item-e {
    overflow: hidden;

    &:nth-child(even) {
      .image {
        float: right;
      }

      .text {
        float: right;
      }
    }

    .image {
      float: left;
      width: 50%;
      padding: 1rem 0;

      .cover {
        width: 80%;
        margin: 0 auto;
        transition: all linear 0.2s;

        &:hover {
          transform: translateY(-0.5rem);
        }
      }
    }

    .text {
      float: left;
      width: 50%;
      padding: 1rem 3rem;

      .title {
        color: #12263C;
        font-weight: bold;
        font-size: 1rem;
      }

      .sub-title {
        font-size: 0.8rem;
        color: var(--color-primary);
        margin-top: 1rem;
        font-weight: bold;
      }

      .desc {
        font-size: 0.7rem;
        color: #00133B;
        line-height: 1rem;
        margin-top: 1rem;

        p {
          margin: 0;
          padding: 0;
          line-height: 1.2rem;
          color: #999;
        }
      }
    }

  }
}

@media screen and (max-width: 40rem) {
  .ub-content {
    .item-e {
      .image {
        float: none !important;
        width: auto !important;
        padding: 0 !important;
      }

      .text {
        float: none !important;
        width: 80% !important;
        padding: 0 !important;
        margin: 0 auto !important;
      }
    }
  }
}