@import "@/styles/mixins.scss";
@import "@/styles/variables.scss";

.summary {
  padding-top: 4rem;
  padding-bottom: 2rem;
  text-align: center;
}

.title {
  text-align: center;
  margin: 6rem 0;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;

  &_title {
    margin-bottom: 3rem;
    text-align: center;
  }

  &_list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    @include on-desktop {
      flex-direction: row;
      flex-wrap: wrap;
    }
    @include on-mobile {
      flex-direction: column;
      flex-wrap: nowrap;
    }

    &_item {
      width: 460px * 0.85;
      height: 475px * 0.85;
      margin: 1rem;
      padding: 2.5rem;
      background-repeat: no-repeat;
      background-size: cover;
      display: flex;
      flex-direction: column;
      color: $white;
      &_title {
        @include p1();
        font-size: 18px;
        font-weight: bold;
        text-align: center;
      }
      &_icon {
        text-align: center;
        margin: 1.5rem auto;
        img {
          width: 72px;
        }
      }
      &_description {
      }
      &_items {
        margin-top: 1rem;
        ul {
          list-style: disc;
          padding-left: 1.5rem;
        }
      }
    }
  }

  &_button {
    margin-top: 60px;
  }

  &_link {
    margin-top: 24px;
    color: $B1;
    a:hover {
      text-decoration: underline;
    }
  }
}

.tiem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;

  &_title {
    text-align: center;
  }

  &_description {
    margin: 2.5rem auto;
    text-align: center;
    font-size: 18px;
  }

  &_button {
    margin-top: 42px;
  }

  &_video {
    margin-top: 42px;
    width: 100%;
    height: 750px * 0.75;
    div {
      height: 100%
    }
  }
}

.experience {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;

  &_title {
    margin-bottom: 3rem;
  }

  &_date {
    margin-top: 40px;
    color: $B1;
  }

  &_button {
    margin-top: 32px;
  }

  &_products {
    margin-top: 72px;
    width: 100%;
    &_item {
      display: flex;
      justify-content: space-between;
      @include on-mobile {
        flex-direction: column-reverse !important;
        text-align: center;
      }
      &:not(:first-child) {
        padding-top: 2rem;
      }
      &_image {
        img {
          //height: 100%;
        }
        @include on-desktop {
          width: 320px;
          height: 320px;
          padding: 0 4rem;
        }
        @include on-mobile {
          //width: 320px;
          //height: 100px;
          padding: 1rem;
          img {
            height: 100px;
          }
        }
      }
      &_content {
        max-width: 900px;
        &_title {
          @include h2();
        }
        &_scene {
          @include h3();
          margin-top: 16px;
        }
        &_description {
          @include p1();
          margin-top: 40px;
        }
        &_link {
          @include p2();
          margin-top: 32px;
          color: $B1;
          a:hover {
            text-decoration: underline;
          }
        }
      }
    }
  }

  &_steps {
    /*@include on-desktop {
      padding: 0 10rem;
    }
    @include on-mobile {
      width: 100%;
    }*/
  }

  &_gifts {
    display: flex;
    justify-content: space-around;
    width: 100%;
    @include on-desktop {
      flex-direction: row;
    }
    @include on-mobile {
      flex-direction: column;
    }
    &_item {
      &_index {
        @include h3();
        padding: 12px 0;
        border-bottom: 4px solid;
      }
      &_image {
        text-align: center;
        margin: 48px;
      }
      &_title {
        @include h4();
        font-size: 1.175rem;
        line-height: 2;
      }
      &_description {
        @include p1();
        margin-top: 20px;
      }
    }
  }

  &_declaration {
    margin-top: 24px;
  }
  &_button_trial {
    margin-top: 54px;
  }
  &_link_detail {
    margin-top: 24px;
    a {
      color: $B1;
      &:hover {
        text-decoration: underline;
      }
    }
  }
}

.resource {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 0;

  a {
    &:hover {
      color: #fff;
    }
  }

  &_title {
    margin-bottom: 3rem;
    text-align: center;
  }

  &_list {
    display: flex;
    justify-content: space-around;
    width: 100%;
    @include on-desktop {
      flex-direction: row;
    }
    @include on-mobile {
      flex-direction: column;
    }
    &_item {
      color: #2c2c2c;
      &:hover {
        color: #2c2c2c;
      }
      //height: 240px;
      //@include on-desktop {
      //  width: calc(100% / 3 - 1rem * (3 - 1));
      //}
      //@include on-mobile {
      //  width: 100%;
      //  &:not(:last-child) {
      //    margin-bottom: 2rem;
      //  }
      //}
    }
  }
}
