@charset "UTF-8";

/**
 * オリジナルcss
 */

.header_link {
  display: flex;
  gap: 8px 0;
  box-shadow: 0px 3px 10px 0px #0000001a;
  max-width: 648px;
  width: 90%;
  border-top: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
  border-radius: 5px;
  margin-top: 46px;
  a {
    width: calc(100% / 3);
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
    text-align: center;
    padding: 20px 10px;
    text-decoration: none;
    font-weight: 700;
    img {
      width: 20px;
      vertical-align: middle;
      margin-left: 10px;
    }
  }
  a:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  a:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
}

/* philosophy */

.philosophy,
.philosophy_value {
  margin-top: 120px;
}

.philosophy_philosophy_content,
.philosophy_value_content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 0;
  align-items: center;
  justify-content: space-between;
  .philosophy_philosophy_text {
    h4 {
      display: flex;
      align-items: center;
      color: #fff;
      background: var(--color-theme-sub);
      width: fit-content;
      padding: 2px 10px;
      font-size: 2.4rem;
      span {
        font-size: 1.2rem;
        margin-left: 10px;
      }
    }
    p {
      margin-top: 24px;
      font-weight: 600;
    }
  }
}

.philosophy_value_text {
  font-weight: 600;
  text-align: right;
}

.philosophy_philosophy_image {
  margin-top: 64px;
}

.philosophy_value_elements_content {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 5%;
  align-items: center;
  .philosophy_value_image {
    width: 40%;
    img {
      width: 100%;
      height: auto;
    }
  }
  .philosophy_value_elements {
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: 55%;
    .philosophy_value_element {
      font-style: italic;
      border-bottom: 4px solid #f2f2f2;
      padding-bottom: 10px;
      .philosophy_value_num {
        font-size: 1.4rem;
        font-family: var(--font-en);
        color: var(--color-theme-sub);
        width: 100%;
      }
      p {
        line-height: 180%;
        font-size: 2rem;
        font-weight: 700;
      }
    }
  }
}

/* movie */

.company_movie {
  margin-top: 120px;
  padding-top: 80px;
  padding-bottom: 70px;
  background: #e7f7ff;
  text-align: center;
  .company_movie_content_before {
    margin-top: 32px;
    font-weight: 400;
  }
  .company_movie_content {
    margin-top: 48px;
    font-weight: 400;
  }
  .company_movie_content_video {
    max-width: 1080px;
    width: 100%;
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
  }
  .company_movie_content_after {
    margin-top: 48px;
    font-size: 2rem;
    font-weight: 500;
  }
}

/* gaiyo */

.gaiyo {
  margin-top: 80px;
  padding-top: 100px;
  padding-bottom: 80px;
  background-image: url("../images/top/bg_works.png");
}

.gaiyo_content {
  margin-top: 55px;
  display: flex;
  gap: 7%;
  .gaiyo_image {
    width: 31%;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  .gaiyo_detail {
    width: 62%;
    display: flex;
    gap: 25px;
    flex-direction: column;
    dl {
      width: 100%;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
      gap: 24px 0;
      align-items: center;
      padding-bottom: 24px;
      border-bottom: 1px solid rgba(34, 34, 34, 0.2);
      dt {
        width: 174px;
        font-weight: 700;
      }
      dd {
        margin: 0;
        width: calc(100% - 174px);
        font-weight: 400;
      }
    }
  }
}

/* offices */

.offices {
  margin-top: 80px;
}

.office_main {
  max-width: 800px;
  margin: 64px auto 0 auto;
  .main_content {
    display: flex;
    gap: 0;
    padding-bottom: 24px;
    border-bottom: 1px solid #dddddd;
    h3 {
      width: 272px;
      font-size: 2.4rem;
      font-weight: 700;
    }
    .main_info {
      width: calc(100% - 272px);
    }
  }
  .main_map {
    margin-top: 40px;
    aspect-ratio: 8 / 5;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
    }
  }
}

.office_list {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px 10%;
  .office_detail {
    width: calc(90% / 2);
    border-bottom: 1px solid #dddddd;
    .office_detail_header {
      display: flex;
      justify-content: space-between;
      h4 {
        font-size: 2.4rem;
        font-weight: 700;
      }
      span {
        a {
          position: relative;
          text-decoration: none;
          background: linear-gradient(180deg, #ec6c00 0%, #ffab2a 100%);
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          color: transparent;
          padding: 11px 0;
          font-size: 1.4rem;
          font-weight: 600;
          img {
            width: 16px;
            height: auto;
            vertical-align: middle;
            margin-right: 10px;
          }
        }
        a::after {
          content: "";
          display: block;
          position: absolute;
          width: 100%;
          height: 1px;
          top: 100%;
          left: 0;
          background: linear-gradient(180deg, #ec6c00 0%, #ffab2a 100%);
        }
      }
    }
  }
}

.office_detail_body {
  padding: 24px 0;
}

/* history */

.history {
  margin-top: 80px;
}

.history_elements {
  margin-top: 64px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  .history_element {
    border-bottom: 1px solid #dddddd;
    padding-bottom: 24px;
    display: flex;
    gap: 24px;
    .year {
      width: 133px;
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--color-theme-sub);
      font-family: var(--font-en);
      font-size: 2.4rem;
      font-weight: 400;
    }
    .months {
      width: calc(100% - 133px);
      display: flex;
      flex-direction: column;
      gap: 24px;
      .month {
        width: 100%;
        display: flex;
        .month_detail {
          width: 128px;
          font-size: 1.6rem;
          font-weight: 400;
          font-family: var(--font-en);
          color: var(--color-theme-sub);
        }
        .month_content {
          width: calc(100% - 128px);
        }
      }
    }
  }
}

@media screen and (max-width: 1110px) {
}
@media screen and (max-width: 740px) {
  .header_link {
    margin-top: 32px;
    flex-direction: column;
    border: none;
    box-shadow: none;
    width: 100%;
    a {
      width: 100%;
      box-shadow: 0px 3px 10px 0px #0000001a;
      border: 1px solid #dddddd;
      border-radius: 5px;
    }
  }
  .philosophy,
  .philosophy_value {
    margin-top: 80px;
  }
  .philosophy_philosophy_image {
    margin-top: 24px;
  }
  .philosophy_value_elements_content {
    margin-top: 24px;
    gap: 24px;
    .philosophy_value_image {
      width: 100%;
    }
    .philosophy_value_elements {
      width: 100%;
      .philosophy_value_element {
        p {
          font-size: 1.6rem;
        }
      }
    }
  }
  .philosophy_value_text {
    text-align: left;
  }
  .company_movie {
    margin-top: 80px;
    text-align: left;
    .company_movie_content, 
    .company_movie_content_after {
      margin-top: 32px;
    }
  }
  .gaiyo {
    margin-top: 0;
    padding-top: 80px;
  }
  .gaiyo_content {
    margin-top: 32px;
    flex-direction: column;
    gap: 32px;
    .gaiyo_image {
      width: 100%;
      order: 2;
    }
    .gaiyo_detail {
      width: 100%;
      order: 1;
      dl {
        dt {
          width: 150px;
        }
        dd {
          width: calc(100% - 150px);
        }
      }
    }
  }
  .office_main {
    margin-top: 32px;
    .main_content {
      flex-direction: column;
      gap: 24px;
      h3 {
        width: 100%;
      }
      .main_info {
        width: 100%;
      }
    }
    .main_map {
      margin-top: 24px;
      aspect-ratio: 327 / 204;
    }
  }
  .office_list {
    margin-top: 32px;
    gap: 24px;
    .office_detail {
      width: 100%;
    }
  }
  .history_elements {
    margin-top: 32px;
    .history_element {
      flex-wrap: wrap;
      gap: 16px;
      .year {
        width: 100%;
      }
      .months {
        width: 100%;
        .month {
          .month_detail {
            width: 51px;
          }
          .month_content {
            width: calc(100% - 51px);
          }
        }
      }
    }
  }
}
@media screen and (max-width: 639px) {
}
@media screen and (max-width: 500px) {
}
