* {
  box-sizing: border-box;
}

main {
  /* background-color: #f9f9f9;
  background-color: #99ddff; */
  /* background-image: radial-gradient(at 1% 0%, hsla(336, 95%, 69%, 1) 0px, transparent 50%),
    radial-gradient(at 22% 82%, hsla(225, 89%, 78%, 1) 0px, transparent 50%),
    radial-gradient(at 10% 32%, hsla(325, 78%, 78%, 1) 0px, transparent 50%),
    radial-gradient(at 57% 90%, hsla(14, 91%, 72%, 1) 0px, transparent 50%),
    radial-gradient(at 24% 50%, hsla(230, 74%, 73%, 1) 0px, transparent 50%),
    radial-gradient(at 14% 77%, hsla(142, 79%, 79%, 1) 0px, transparent 50%),
    radial-gradient(at 45% 19%, hsla(92, 64%, 66%, 1) 0px, transparent 50%); */

  background-color: #99fff1;
  background-image: radial-gradient(at 8% 33%, hsla(268, 73%, 66%, 1) 0px, transparent 50%),
    radial-gradient(at 45% 20%, hsla(47, 77%, 67%, 1) 0px, transparent 50%),
    radial-gradient(at 69% 12%, hsla(17, 62%, 63%, 1) 0px, transparent 50%),
    radial-gradient(at 18% 63%, hsla(205, 91%, 60%, 1) 0px, transparent 50%),
    radial-gradient(at 93% 65%, hsla(177, 99%, 79%, 1) 0px, transparent 50%),
    radial-gradient(at 73% 73%, hsla(289, 79%, 74%, 1) 0px, transparent 50%),
    radial-gradient(at 11% 48%, hsla(199, 71%, 73%, 1) 0px, transparent 50%);
}

.hero {
  background: #7eafe4;
  background: linear-gradient(4deg, rgba(126, 175, 228, 1) 0%, rgba(138, 220, 195, 1) 100%);
  width: 100%;

  .hero-image {
    width: 100%;
    /* max-width: 1600px; */
    margin: 0 auto;
  }
}

.message {
  .section-container {
    max-width: 1400px;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: center;

    @media (max-width: 767px) {
      padding: 0;
    }
  }

  .section__header {
    margin-bottom: 40px;
  }

  .message-container {
    max-width: 1024px;
    padding: 80px 4vw;
    border-radius: 40px;
    background-color: rgba(245, 241, 230, 0.8);

    display: flex;
    justify-content: space-between;
    gap: 40px;

    line-height: 1.8em;

    @media (max-width: 767px) {
      border-radius: 0;
    }
  }

  .message-title {
    font-size: 64px;
    margin-bottom: 8px;
    text-align: center;

    @media (max-width: 767px) {
      font-size: 56px;
    }
  }

  .message-subtitle {
    display: block;
    margin-bottom: 30px;
    color: #4d4d4d;
    text-align: center;
  }

  .message-right {
    flex-shrink: 0;
    flex-basis: 400px;
    display: none;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 40px 0 0 40px;
    }
  }
}

.workpart {
  .section-container {
    max-width: 1400px;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;

    @media (max-width: 767px) {
      padding: 0 24px;
    }
  }

  .workpart-container {
    max-width: 100%;
    width: 100%;
    padding: 80px 0;
    border-radius: 40px;
    /* background-color: #f5f1e6; */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;

    line-height: 1.8em;
  }

  .workpart-title {
    text-align: center;
    font-size: 64px;
    color: #fff;
    font-weight: 900;

    @media (max-width: 767px) {
      font-size: 48px;
    }
  }

  .workpart-subtitle {
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 900;
    display: block;

    @media (max-width: 767px) {
      font-size: 18px;
    }
  }

  .part-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    border-radius: 20px;
    /* overflow: hidden; */

    @media (max-width: 767px) {
      gap: 40px 16px;
    }

    .link-part-detail {
      width: calc(calc(100% - 72px) / 4);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: rgba(107, 111, 100, 0.4) 0px 7px 29px 0px;

      @media (max-width: 767px) {
        /* width: calc(calc(100% - 16px) / 2); */
        width: 90%;
        margin: 0 auto;
      }

      .img-wrapper {
        overflow: hidden;
        border-radius: 20px;
      }

      img {
        border-radius: 20px;
        transition: transform 0.3s ease-in-out;
      }

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

    .link-part-detail:hover img {
      filter: none;
    }

    .link-part-detail:not(:hover) img {
      filter: grayscale(100%);

      @media (max-width: 767px) {
        filter: none;
      }
    }
  }
}

.interview {
  .section-container {
    max-width: 1400px;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;

    @media (max-width: 767px) {
      padding: 0 24px;
    }
  }

  .interview-container {
    max-width: 100%;
    padding: 80px 0;
    border-radius: 40px;
    /* background-color: #f5f1e6; */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;

    line-height: 1.8em;
  }

  .interview-title {
    text-align: center;
    font-size: 64px;
    color: #fff;
    font-weight: 900;

    @media (max-width: 767px) {
      font-size: 48px;
    }
  }

  .interview-subtitle {
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 900;
    display: block;

    @media (max-width: 767px) {
      font-size: 18px;
    }
  }

  .interview-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    border-radius: 20px;
    /* overflow: hidden; */

    .link-part-detail {
      width: calc(calc(100% - 40px) / 2);
      border-radius: 20px;
      overflow: hidden;
      box-shadow: rgba(107, 111, 100, 0.4) 0px 7px 29px 0px;
      background-color: #fff;

      @media (max-width: 767px) {
        width: 100%;
      }

      .img-wrapper {
        overflow: hidden;
        border-radius: 20px 20px 0 0;
      }

      img {
        border-radius: 20px 20px 0 0;
        transition: transform 0.3s ease-in-out;
        aspect-ratio: 3 / 2;
        max-height: 300px;
        object-fit: cover;
        width: 100%;
      }

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

      .interview-post {
        padding: 20px 40px;

        @media (max-width: 767px) {
          padding: 20px;
        }

        h3 {
          line-height: 1.8em;
          letter-spacing: 0.05em;
          margin-bottom: 20px;
          @media (max-width: 767px) {
            font-size: 16px;
          }
        }

        .meta-info {
          font-size: 14px;

          @media (max-width: 767px) {
            font-size: 12px;
          }
        }
      }
    }
  }
}

.pggroup {
  .section-container {
    max-width: 1600px;
    padding: 80px 24px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;

    @media (max-width: 767px) {
      padding: 0 24px;
    }
  }

  .pggroup-container {
    max-width: 100%;
    padding: 80px 0;
    border-radius: 40px;
    /* background-color: #f5f1e6; */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;

    line-height: 1.8em;
  }

  .pggroup-title {
    text-align: center;
    font-size: 64px;
    color: #fff;
    font-weight: 900;

    @media (max-width: 767px) {
      font-size: 32px;
    }
  }

  .pggroup-subtitle {
    text-align: center;
    font-size: 24px;
    color: #fff;
    font-weight: 900;
    display: block;

    @media (max-width: 767px) {
      font-size: 18px;
    }
  }

  .pggroup-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-radius: 20px;

    .link-part-detail {
      width: calc(calc(100% - 80px) / 5);
      border-radius: 20px;

      @media (max-width: 767px) {
        width: calc(calc(100% - 20px) / 2);
      }

      .img-wrapper {
        overflow: hidden;
        border-radius: 20px;
      }

      img {
        border-radius: 20px;
        transition: transform 0.3s ease-in-out;
        object-fit: cover;
        width: 100%;
        overflow: hidden;
        box-shadow: rgba(107, 111, 100, 0.4) 0px 7px 29px 0px;
      }

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

      span {
        display: block;
        text-align: center;
        margin-top: 8px;
        font-weight: 600;
      }
    }
  }
}

.copyright {
  text-align: center;
  padding: 4px 24px;
  background-color: #000;
  color: #fff;
}

.page-recruit-detail {
  .page-title {
    margin-bottom: 32px;
  }
  .article {
    max-width: 1024px;
    background-color: rgba(245, 241, 230, 0.8);
    margin: 0 auto;
  }

  .post-hero {
    position: relative;

    img {
      width: 100%;
      max-height: 500px;
      object-fit: cover;
    }

    .meta-info {
      position: absolute;
      bottom: 0;
      right: 0;
      display: inline-block;
      padding: 4px 24px;
      background-color: rgba(255, 255, 255, 0.9);
      font-size: 14px;

      @media (max-width: 767px) {
        position: relative;
        width: 100%;
        display: block;
        text-align: left;

        padding: 8px 24px;
      }
    }
  }

  .post-content {
    padding: 40px 156px 80px;
    line-height: 1.8em !important;

    @media (max-width: 767px) {
      padding: 40px 24px 80px;
    }

    h1 {
      font-size: 24px;
      @media (max-width: 767px) {
        font-size: 20px;
      }
    }

    p:not(:last-child) {
      min-height: 1em;
      margin-bottom: 1em;
      margin-block-start: 0;
      margin-block-end: 0;
      margin-bottom: 1em;
    }

    .link-wrapper {
      margin: 40px auto 0;
      width: 100%;
      text-align: center;
    }

    .link-recruit {
      display: inline-block;
      padding: 12px 40px;
      text-align: center;
      border: 1px solid #000;
      border-radius: 4px;
      transition: all 0.2s ease-in-out;
    }

    .link-recruit:hover {
      background-color: #000;
      color: #fff;
    }
  }
}
