@import url(./global/_variable.css);

/* business */
/* ============================================ */

.nav_value {
  padding: 5vw 12.5vw 0;

  @media (width < 896px) {
    padding: 30px 20px 0;
  }
}

.list_value {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5vw;

  @media (width < 896px) {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
}

.item_value {
  a {
    background-color: #000;
    color: #FFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    font-size: 16px;
    position: relative;
    transition: all .3s ease-out;
    height: 100%;

    &::before {
      content: "";
      display: block;
      width: 0%;
      height: 100%;
      position: absolute;
      top: 0px;
      left: 0px;
      transition: all .3s ease-out;
      background-color: var(--point_c);
    }

    .nav_value_txt {
      position: relative;
      width: calc(100% - 8px);
    }

    .nav_value_arrow {
      position: relative;
      transform: rotate(90deg);
      width: 7px;

      path {
        stroke: #FFF;
      }
    }

    &:hover {
      &::before {
        width: 100%;
      }
    }
  }
}

.nav_value_en {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.125rem, 0.56vw + 0.993rem, 1.5rem);
}

.nav_value_jp {
  font-size: clamp(0.625rem, 0.56vw + 0.493rem, 1rem);
  padding-top: 3px;
}


.area_value {
  text-align: center;
  padding: 7.8vw 20px;
  background-image: url(../images/common/bg_helmets02.svg);
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% auto;

  @media (width < 896px) {
    padding: 50px 20px;
  }

  @media (width < 480px) {
    text-align: left;
  }
}

.txt_value {
  font-size: clamp(1rem, 0.19vw + 0.956rem, 1.125rem);
  line-height: 2em;
  padding-top: 4vw;
  word-break: keep-all;

  @media (width < 896px) {}
}

.area_greeing {
  background-image: url(../images/company/img01_pc.webp);
  background-position: center center;
  background-size: cover;
  padding: 7.8vw 12.5vw;
  position: relative;
  z-index: -30;

  @media (width < 896px) {
    background-image: url(../images/company/img01_sp.webp);
    background-position: center bottom;
    padding: 50px 20px 80vw 20px;
  }
}

.area_greeing_column {
  max-width: 700px;
  width: 36.45vw;
  margin: 0 0 0 auto;
  position: relative;
  color: #FFF;

  @media (width < 896px) {
    width: 100%;
  }

  .inner_line {
    &::before {
      background-color: #4C4C4C;

      @media (width < 1620px) {
        background-color: #322822;
      }

      @media (width < 896px) {
        background-color: #000;
      }
    }
  }
}

.area_overview {
  padding: 7.8vw 12.5vw;

  @media (width < 896px) {
    padding: 50px 20px;
  }
}

.area_overview_table {
  border-top: #B3B3B3 solid 1px;
  border-left: #B3B3B3 solid 1px;

  th,
  td {
    border-right: #B3B3B3 solid 1px;
    border-bottom: #B3B3B3 solid 1px;
    font-size: clamp(0.875rem, 0.13vw + 0.844rem, 1rem);
    line-height: 1.6em;
    padding: 20px;
    box-sizing: border-box;
    font-weight: 400;

    @media (width < 480px) {
      display: inline-block;
      width: 100%;
    }
  }

  th {
    background-color: #E3E3E3;
  }

  td {
    a {
      color: var(--font_c);
    }

    iframe {
      aspect-ratio: 5 / 2;
      margin-top: 16px;

      @media (width < 480px) {
        aspect-ratio: 3 / 2;
      }
    }

    table {
      border-top: #B3B3B3 solid 1px;
      border-left: #B3B3B3 solid 1px;
    }
  }
}

.th_width {
  width: 30%;
}

.area_history {
  padding: 7.8vw 12.5vw;
  background-image: url(../images/common/bg_business.webp);
  background-size: cover;
  z-index: -30;
  position: relative;

  @media (width < 896px) {
    padding: 50px 20px;
  }

  .inner_line {
    &::before {
      background-color: #E0DFE0;
    }
  }
}

.block_history {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 1.8vw;

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

.block_history_year {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  line-height: 1em;
  position: relative;
  white-space: nowrap;

  @media (width < 480px) {
    text-align: center;
    padding-top: 25px;
  }

  p {
    position: relative;
    transform: translateY(-10px);
  }
}

.block_history_events {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 2vw;
  row-gap: 0px;

  @media (width < 480px) {
    column-gap: 20px;
  }

  p {
    position: relative;
    transform: translateY(-3px);
  }
}

.events_month {
  font-size: 1.5rem;
  line-height: 1em;
  font-family: "Montserrat", sans-serif;
  text-align: center;
}

.event_matter {
  padding-left: 2vw;
  padding-bottom: 2vw;
  font-size: clamp(0.875rem, 0.13vw + 0.844rem, 1rem);
  line-height: 1.6em;
  position: relative;

  @media (width < 480px) {
    padding-left: 20px;
    padding-bottom: 20px;
  }

  &::before {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    border-left: #B3B3B3 dotted 1px;
    position: absolute;
    top: 0px;
    left: 0px;
  }

  &::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50px;
    background-color: var(--point_c);
    position: absolute;
    top: 0px;
    left: -9px;
  }
}