.page {
  margin-top: 80px;
  line-height: 1.8em;

  .content-wrapper {
    max-width: 1440px;
    padding: 0 40px;
    margin: 0 auto;

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

.page-header {
  background-color: var(--background-gray);
  padding: 40px;

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

  .type {
    color: var(--main-color-mango);
    font-size: 13px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    column-gap: 4px;
  }

  .type span.title-line {
    border-bottom: 1px solid var(--main-color-mango);
    width: 64px;
    display: block;
  }

  .main-image img {
    width: 30vw;
    min-width: 550px;
    height: 700px;
    max-width: 700px;
    object-fit: cover;
  }

  .name-en {
    color: #999;
    font-size: var(--font-size-default);
  }

  .name-jp {
    font-size: 42px;
    font-weight: 600;

    @media (max-width: 768px) {
      font-size: 24px;
    }
  }
}

.content-header {
  .headline-h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--main-color-green);
    margin-bottom: 1em;
  }
}

.content {
  padding: 40px 0 40px;
}

.content:first-child {
  padding: 80px 0 40px;
}

.content:last-child {
  padding: 40px 0 120px;
}

.grid-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-box {
    border: 1px solid var(--background-gray);
    background-color: #fcfcfc;
    padding: 20px 24px;

    .headline-h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 1em;
      border-bottom: 1px solid var(--background-gray);
      padding-bottom: 20px;
    }
  }
}

.about-soft99 {
  display: flex;
  gap: 20px 40px;
  justify-content: space-between;
  flex-wrap: wrap;

  @media (max-width: 768px) {
    flex-direction: column;
  }

  .about-thumb,
  .about-info {
    width: calc(calc(100% - 40px) / 2);

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

  .about-thumb img {
    width: 100%;
  }

  .about-info {
    .feature-list {
      display: flex;
      justify-content: center;
      gap: 12px;

      @media (max-width: 768px) {
        flex-direction: column;
      }

      li {
        padding: 12px;
        border: 1px solid var(--main-color-mango);
        background-color: var(--main-color-mango);
        color: #fff;
        text-align: center;
        font-weight: 500;
        font-size: 18px;
      }
    }
  }
}

.links {
  display: flex;
  column-gap: 20px;
  align-items: center;
  justify-content: center;
}

.links .link-hp {
  border-radius: 30px;
  border: 1px solid var(--main-color-green) !important;
  color: var(--main-color-green) !important;
  font-size: var(--font-size-default);
  text-decoration: none;
  text-align: center;
  vertical-align: middle;
}

.links .link-hp a {
  color: var(--main-color-green) !important;
  width: 268px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links .link-hp a:hover {
  color: var(--main-color-green) !important;
  color: #fff !important;
}

.links .link-hp:hover {
  background-color: var(--main-color-green);
  color: #fff !important;
}

.links .link-hp {
  position: relative;
}

.links .link-hp {
  display: flex;
  align-items: center;
}

.links .material-symbols-outlined {
  font-size: 1.2rem;
  display: inline-block;
  line-height: 30px;
  vertical-align: middle;
}
