@charset "UTF-8";
/*
Theme Name: company
Author: Catwork Co., Ltd.
*/

  /* company
------------------------------------------------------------------------*/
  #company .company_box {
    padding: 0 0 100px;
  }
  #company .company_box .inner {
    position: relative;
    max-width: 1200px;
    padding: 200px 0 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 48px;
    column-gap: 55px;
  }
  @media screen and (max-width: 1200px) {
    #company .company_box .inner {
      max-width: 100%;
      padding: 20.666vw 5.333vw 0;
    }
  }
  @media screen and (max-width: 960px) {
    #company .company_box .inner {
      padding: 28.666vw 5.333vw 0;
    }
  }
  @media screen and (max-width: 750px) {
    #company .company_box .inner {
      padding: 93px 5.333vw 0;
      row-gap: 10px;
    }
  }
  #company .company_box .inner::before {
    position: absolute;
    top: 8rem;
    left: 50%;
    transform: translateX(-50%);
    content: "COMPANY";
    color: #fff;
    font-size: 16rem;
    font-weight: 500;
    letter-spacing: 0.5rem;
    line-height: 1;
    z-index: -1;
    word-break: normal;
    font-family: 'Outfit', sans-serif;
  }
  @media screen and (max-width: 1200px) {
    #company .company_box .inner::before {
      top: 11vw;
    }
  }
  @media screen and (max-width: 960px) {
    #company .company_box .inner::before {
      top: 18vw;
    }
  }
  @media screen and (max-width: 750px) {
    #company .company_box .inner::before {
      top: 31px;
      font-size: 77.6px;
      letter-spacing: -0.01em;
    }
  }
  #company .company_item {
    width: 30%;
    border: solid 1px #f0f0f0;
    transition: all 0.2s;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
  }
  @media screen and (min-width: 751px) {
    #company .company_item:hover .button01 {
      background: #e74921;
      color: #fff;
    }
    #company .company_item:hover .button01::after {
      background: url(../img/company/arrow-right_hover.png) no-repeat center / contain;
    }
  }
  @media screen and (max-width: 1200px) {
    #company .company_item {
      width: calc((100% - 4%) / 3);
    }
  }
  @media screen and (max-width: 1000px) {
    #company .company_item {
      width: calc((100% - 4%) / 2);
    }
  }
  #company .company_item img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    transform: scale(1);
    transition: all .4s;
  }
  @media screen and (max-width: 1200px) {
    #company .company_item img {
      height: 19.1666vw;
    }
  }
  @media screen and (max-width: 1000px) {
    #company .company_item img {
      height: 30vw;
    }
  }
  @media screen and (max-width: 750px) {
    #company .company_item img {
      height: 53.3333vw;
    }
  }
  #company .txt-box {
    text-align: center;
    padding: 17px 0px 40px;
  }
  @media screen and (max-width: 1200px) {
    #company .txt-box {
      padding: 3.0vw 0 4.0vw;
    }
  }
  #company .company_item h2 {
    font-size: 2.6rem;
    font-weight: bold;
    padding-bottom: 1rem;
  }
  #company .company_item p:first-of-type {
    font-size: 1.5rem;
    height: 6rem;
    margin-bottom: 2.5rem;
    line-height: 2;
    color: #666;
  }
  #company .company_item .button01 {
    width: 100%;
    display: block;
    height: 5.1rem;
    border: 2px solid #e74921;
    border-radius: 3.2rem;
    padding: 1.6rem 4rem 1.6rem;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
    font-size: 1.5rem;
    color: #e74921;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 1px;
    position: relative;
    transition: all .2s;
    max-width: 272px;
    margin: 0 auto;
  }
  @media screen and (max-width: 1200px) {
    #company .company_item h2 {
      font-size: 1.6vw;
    }
    #company .company_item .button01 {
      width: 70%;
      margin: 0 auto;
    }
  }
  @media screen and (max-width: 1000px) {
    #company .company_item h2 {
      font-size: 2.6vw;
    }
  }
  @media screen and (max-width: 750px) {
    #company .company_item h2 {
      font-size: 5.3333vw;
      padding-top: 3.5vw;
    }
    #company .company_item .button01 {
      width: 71.4285vw;
      max-width: unset;
      height: 13.2814vw;
      font-size: 3.9842vw;
      background: #e74921;
      color: #fff;
      border-radius: calc(13.2814vw / 2);
      margin-bottom: 3rem;
      padding: 0;
      line-height: 12.2814vw;
    }
  }
  #company .company_item .button01::after {
    position: absolute;
    display: block;
    content: "";
    background: url(../img/company/arrow-right.png) no-repeat center / contain;
    width: 15px;
    height: 12px;
    right: 2.4rem;
    top: 50%;
    transform: translateY(-50%);
  }
  @media screen and (max-width: 750px) {
    #company .company_item .button01::after {
      position: absolute;
      display: block;
      content: "";
      background: url(../img/company/arrow-right_hover.png) right 2.2vw center no-repeat;
      background-size: 3.8vw;
      width: 44px;
      height: 22px;
      right: 33.3px;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  /* section service */
  .common .service {
    max-width: 1200px;
    margin: 0 auto 100px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
  }
  @media screen and (max-width: 1200px) {
    .common .service {
      padding: 0 5.333vw;
      flex-direction: column;
      justify-content: center;
    }
  }
  @media screen and (max-width: 750px) {
    .common .service {
      max-width: 1200px;
    }
  }
  /*---------- 250911追加分　----------*/
  @media screen and (min-width: 751px) {
    #company .company_item {
      transition: box-shadow 0.3s ease;
    }
    #company .company_item:hover {
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    }
  }
  @media screen and (max-width: 1200px) {
    #company .company_box .inner {
      column-gap: 0;
    }
    #company .company_item {
      width: calc((100% - 6%) / 3);
    }
    #company .company_box {
      padding: 0px 0 80px;
    }
    section.service_seminar_banner {
      margin-bottom: 80px;
    }
  }
  @media screen and (max-width: 1000px) {
    #company .company_item {
      width: calc((100% - 6%) / 2);
    }
  }
  @media screen and (max-width: 750px) {
    #company .company_box .inner {
      justify-content: center;
      row-gap: 20px;
    }
    #company .company_item {
      width: 100%;
    }
    #company .company_item p:first-of-type {
      font-size: 3.7333vw;
      padding: 0 15px;
      margin-bottom: 2.6rem;
      height: 13.3333vw;
      line-height: 1.7;
    }
    #company .company_item h2 {
      padding-bottom: 1.5rem;
    }
    #company .company_item p.short {
      margin-bottom: -0.5rem !important;
    }
    #company .company_box {
      padding-bottom: 14vw;
    }
    section.service_seminar_banner {
      margin-bottom: 14vw;
    }
  }