@charset "utf-8";

:root {
  --section-padding: 6rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

.page-mv {
  position: relative;
  .mv-img {
    width: 100%;
    min-height: 400px;
    object-fit: cover;
    @media (max-width: 960px) {
      min-height: 240px;
    }
  }
  .page-title {
    position: absolute;
    top: 50%;
    left: 10%;
    font-weight: 600;
    text-shadow: 0px 0px 1px rgb(0 0 0 / 0.2);
    .en {
      font-size: 3rem;
      color: var(--red);
    }
    .jp {
      font-size: 1.5rem;
    }
    @media (max-width: 960px) {
      top: 60%;
      left: 50%;
      translate: -50% -50%;
      text-align: center;
      .en {
        font-size: 2rem;
      }
      .jp {
        font-size: 1.25rem;
      }
    }
  }
}

/*=========================
  business
=========================*/
section.business_sec1 {
  padding: var(--section-padding);
  background-color: #2c3751;
  .business-item {
    background-color: #fff;
    padding: 2rem;
    color: var(--black);
    margin-bottom: 4rem;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    > .flex {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
    }
    .texts-wrapper {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .title {
        font-size: 2rem;
      }
      .row {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-bottom: 1rem;
        .border {
          width: 80%;
          height: 1px;
          background-color: var(--black);
        }
        .en {
          flex-shrink: 0;
          font-size: 1.75rem;
          color: #e3e3e3;
        }
      }
      .textbox {
        border: 1px solid var(--black);
        padding: 1rem;
        min-height: 120px;
      }
    }
    .img-wrapper {
      width: 50%;
      @media (max-width: 960px) {
        width: 100%;
      }
    }
  }
}

/*=========================
  recruit
=========================*/
section.recruit_sec1 {
  padding: var(--section-padding);
  .bg-gray {
    background-color: #f0f0f0;
    color: var(--black);
    padding: 4rem 2rem;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    > .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      margin-bottom: 4rem;
      @media (max-width: 960px) {
        flex-direction: column;
      }
      .texts-wrapper {
        width: 50%;
        .title {
          text-align: center;
          font-size: 3rem;
          margin-bottom: 1rem;
        }
        .text {
          text-align: center;
          text-wrap: balance;
        }
        @media (max-width: 960px) {
          width: 100%;
          .title {
            font-size: 2.5rem;
          }
        }
      }
      .img-wrapper {
        width: 50%;
        @media (max-width: 960px) {
          width: 100%;
        }
      }
    }
    .table-wrapper {
      background-color: #fff;
      padding: 2rem;
      margin-bottom: 4rem;
      @media (max-width: 960px) {
        padding: 2rem 1rem;
        margin-bottom: 0;
      }
      .title {
        text-align: center;
        font-size: 2rem;
        margin-bottom: 2rem;
      }
      .table {
        display: grid;
        grid-template-columns: 30% 1fr;
        .row {
          display: grid;
          grid-template-columns: subgrid;
          grid-column: 1/-1;
          padding-bottom: 0.5rem;
          margin-bottom: 0.5rem;
          border-bottom: 1px solid rgb(0 0 0 / 0.5);
          .th {
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
          }
          .td {
            padding-left: 1rem;
          }
        }
      }
    }
  }
}

/*=========================
  company
=========================*/
section.company_sec1 {
  padding: var(--section-padding);
  .title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    @media (max-width: 960px) {
      font-size: 1.5rem;
    }
  }
  .text {
    margin-bottom: 2rem;
  }
  .name {
    font-size: 1.5rem;
    text-align: right;
    @media (max-width: 960px) {
      font-size: 1.25rem;
    }
  }
}

section.company_sec2 {
  padding: var(--section-padding);
  padding-top: 0;
  .container > .title {
    text-align: center;
    margin-bottom: 2rem;
    .en {
      font-size: 2.5rem;
    }
    .jp {
      font-size: 1.25rem;
    }
    @media (max-width: 960px) {
      .en {
        font-size: 2rem;
      }
      .jp {
        font-size: 1rem;
      }
    }
  }
  .bg-gray {
    background-color: #f0f0f0;
    color: var(--black);
    padding: 2rem;
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    .flex {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 2rem;
      @media (max-width: 960px) {
        flex-direction: column-reverse;
      }
    }
    .img-wrapper {
      @media (max-width: 960px) {
        width: 100%;
        height: 300px;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
      }
    }
    .table-wrapper {
      flex-grow: 1;
      .table {
        display: grid;
        grid-template-columns: 25% 1fr;
        @media (max-width: 960px) {
          grid-template-columns: auto 1fr;
        }
        .row {
          display: grid;
          grid-template-columns: subgrid;
          grid-column: 1/-1;
          padding: 1rem;
          margin-bottom: 1rem;
          border-bottom: 1px solid rgb(0 0 0 / 0.5);
          @media (max-width: 960px) {
            padding: 0 0 1rem;
          }
          .th {
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
          }
          .td {
            padding-left: 1rem;
          }
        }
      }
    }
  }
}

/*=========================
  works
=========================*/
section.works_sec1 {
  padding: var(--section-padding);
  .bg-gray {
    padding: 4rem 2rem;
    background-color: #f0f0f0;
    color: var(--black);
    @media (max-width: 960px) {
      padding: 2rem 1rem;
    }
    > .text {
      text-align: center;
      text-wrap: balance;
      margin-bottom: 4rem;
      @media (max-width: 960px) {
        text-align: justify;
      }
    }
    .works-item {
      margin-bottom: 4rem;
      .item-images {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        gap: 1rem;
        .img {
          width: calc(100% / 3 - 1rem);
        }
        @media (max-width: 960px) {
          flex-wrap: wrap;
          .img {
            width: calc(100% / 2 - 0.5rem);
          }
        }
      }
    }
  }
}

/*=========================
  contact
=========================*/
section.contact_sec1 {
  padding: var(--section-padding);
  .container > .title {
    text-align: center;
    text-wrap: balance;
    margin-bottom: 2rem;
    .en {
      font-size: 2.5rem;
      @media (max-width: 960px) {
        font-size: 2rem;
      }
    }
    .jp {
      font-size: 1.25rem;
      @media (max-width: 960px) {
        font-size: 1rem;
      }
    }
  }
  .bg-gray {
    background-color: #f0f0f0;
    color: var(--black);
    padding: 4rem 2rem;
    @media (max-width: 960px) {
      padding: 3rem 1rem;
    }
    .title-h3 {
      font-size: 2rem;
      position: relative;
      display: flex;
      align-items: center;
      margin-bottom: 2rem;
      @media (max-width: 960px) {
        font-size: 1.25rem;
      }
      &::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 40px;
        background-color: var(--blue);
        margin-right: 1rem;
        @media (max-width: 960px) {
          height: 30px;
          margin-right: 0.5rem;
        }
      }
    }
  }
  .content1 {
    margin-bottom: 4rem;
  }
  .content2 {
    .form-wrapper {
      background-color: #f8f8f8;
      padding: 2rem;
      @media (max-width: 960px) {
        padding: 1rem;
      }
      .form-table {
        display: grid;
        grid-template-columns: 200px 1fr;
        column-gap: 2rem;
        row-gap: 1rem;
        margin-bottom: 2rem;
        @media (max-width: 960px) {
          grid-template-columns: 1fr;
        }
        .form-item {
          display: grid;
          grid-template-columns: subgrid;
          grid-column: 1/-1;
          .required {
            margin-left: 1rem;
            color: #661c1c;
            font-size: 0.8em;
          }
          .th {
            padding: 0.5rem;
          }
          .td {
            font-size: 0.9em;
            input[type='text'],
            input[type='tel'],
            input[type='email'],
            textarea {
              width: 100%;
              padding: 0.5rem;
              border: #c6c6c6 1px solid;
            }
            select {
              padding: 0.5rem;
              border: #c6c6c6 1px solid;
            }
          }
        }
      }
      .submit-button {
        display: block;
        cursor: pointer;
        background-color: #661c1c;
        color: #fff;
        border: none;
        width: min(80%, 300px);
        margin-inline: auto;
        padding: 0.5rem;
        transition: opacity 0.3s;
        &:hover {
          opacity: 0.7;
        }
      }
    }
  }
}
