/* works */
#works {
  .fv {
    .inner {
      height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;

      h1 {
        font-size: 5rem;
        font-weight: 700;
        margin-bottom: 24px;
        font-family: "Marcellus SC", serif;
      }

      p {
        font-size: 2rem;
      }
    }
  }

  #works_contents {
    padding-top: 64px;
    padding-bottom: 100px;
    background-color: #f5f5f5;

    .contents_title {
      font-size: 5rem;
      font-weight: 700;
      margin-bottom: 36px;
      text-align: center;
      font-family: "Marcellus SC", serif;
    }

    .contents_subtitle {
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
    }

    .newsNav {
      display: flex;
      justify-content: center;
      margin-top: 45px;
      margin-bottom: 70px;

      li {
        a {
          padding: 10px 20px;
        }
      }

      li.current-cat {
        & > a {
          color: #fff;
          background-color: #099df0;
          padding: 10px 20px;
          border-radius: 3px;
        }
      }

      & > li {
        a {
          font-size: 2rem;
          font-weight: 700;
          color: #000;
        }
      }

      .cat-item {
        display: flex;
        align-items: center;
        @media screen and (max-width: 767px) {
          flex-direction: column;
        }
      }

      .children {
        display: flex;
        justify-content: center;
        margin-left: 100px;
        gap: 100px;
        @media screen and (max-width: 767px) {
          gap: 0px;
          margin-left: 0px;
          flex-direction: column;
        }
        a {
          font-size: 2rem;
          font-weight: 700;
          color: #000;
        }
      }
    }
  }

  .workslist_base {
    background-color: #fff;
  }

  .workslist {
    display: flex;
    flex-direction: column;
    gap: 100px;
    @media screen and (max-width: 767px) {
      width: 85%;
      margin: 0 auto;
    }

    .worksitems {
      display: flex;
      padding: 100px 70px;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
      gap: 30px;
      @media screen and (max-width: 767px) {
        flex-direction: column;
        padding: 50px 20px;
        gap: 0px;
      }

      &:nth-child(2n) {
        flex-direction: row-reverse;
        @media screen and (max-width: 767px) {
          flex-direction: column;
        }
      }

      .box_left {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
        @media screen and (max-width: 767px) {
          width: 100%;
        }
      }

      .box_right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
        align-items: center;
        @media screen and (max-width: 767px) {
          margin-top: 50px;
          width: 100%;
        }
      }
      .title {
        font-size: 3rem;
        color: #000;
        font-weight: 700;
      }
      .noimage {
        width: 80%;
        margin: 0 auto;
        img {
          aspect-ratio: 640 / 380;
        }
      }
      img {
        width: 100%;
        height: auto;
      }
      .btn {
        border-radius: 3px;
        font-size: 1.4rem;
        font-weight: 700;
        display: inline-block;
        background-color: #000;
        color: #fff;
        padding: 13px 75px;
        width: fit-content;
        margin-top: 100px;
      }
    }
  }
}

/* work_article */
#work_article {
  .fv {
    .inner {
      height: 50vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #fff;

      h1 {
        font-size: 5rem;
        font-weight: 700;
        margin-bottom: 24px;
        font-family: "Marcellus SC", serif;
      }
      P {
        font-size: 2rem;
      }
    }
  }

  .work_contents {
    padding-top: 64px;
    padding-bottom: 100px;
    background-color: #f5f5f5;

    .title {
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 15px;
    }

    .subtitle {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 100px;
      color: #49a8de;
    }
  }

  .work_wrapper {
    padding: 90px 0 100px;
    background-color: #fff;
    border-radius: 10px;
    p {
      font-size: 2rem;
      word-wrap: break-word;
    }
    .noimage {
      display: flex;
      justify-content: center;
      img {
        width: 20%;
      }
    }
    img {
      width: 100%;
      height: auto;
    }
    .work_wrapper_inner {
      max-width: 80%;
      margin: 0 auto;
      padding: 0 20px;
    }
    .cms {
      font-size: 2rem;
      margin-top: 75px;
    }
    .tool {
      font-size: 2rem;
      margin-top: 50px;
    }
    .lang {
      font-size: 2rem;
      margin-top: 50px;
    }
    .explain {
      font-size: 2rem;
      margin-top: 50px;
      word-break: break-word;
    }
    .url {
      font-size: 2rem;
      margin-top: 50px;
      a {
        word-wrap: break-word;
      }
    }

    .btn {
      margin-top: 50px;
      display: flex;
      justify-content: center;
      align-items: center;

      a {
        display: inline-block;
        background-color: #000;
        color: #fff;
        font-size: 2rem;
        padding: 15px 50px;
        box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
        border-radius: 3px;
      }
    }
  }
}
