@charset "utf-8";

.l-main {
  padding-top: 72px;
  padding-bottom: 40px;
}

@media all and (max-width: 576px) {
  .l-main {
    padding-top: 52px;
  }
}

.p-tab {
  position: static;
}

/* company
------------------------------*/

.p-company__content {
  width: 100%;
  padding: 0 20px;
}

.p-company__list {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: min(50px, calc(50 / 1600 * 100vw));
  column-gap: min(50px, calc(50 / 1600 * 100vw));
}

@media all and (max-width: 1400px) {
  .p-company__list {
    max-width: 1280px;
    row-gap: min(40px, calc(40 / 1280 * 100vw));
    column-gap: min(40px, calc(40 / 1280 * 100vw));
  }
}

@media all and (max-width: 1240px) {
  .p-company__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media all and (max-width: 920px) {
  .p-company__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media all and (max-width: 600px) {
  .p-company__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.p-company__item {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.p-company__item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease-out;
  position: relative;
  z-index: 0;
}

.p-company__item a:hover {
  background-color: #f44336;
}

.p-company__item a:hover * {
  color: #fff !important;
}

.p-company__item a::after {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
  background: #f44336 url(../img/common/arrow_right_white.svg) no-repeat center center/10px auto;
  position: absolute;
  right: 0;
  bottom: 0;
  border-top-left-radius: 20px;
  transition: all 0.3s ease-out;
}

@media all and (max-width: 576px) {
  .p-company__item a::after {
    width: 10px;
    height: 8px;
    background: transparent url(../img/common/arrow_right_red.svg) no-repeat center center/contain;
    position: absolute;
    right: 15px;
    bottom: auto;
    top: 50%;
    transform: translate(0, -50%);
    border-top-left-radius: 0;
  }
}

.p-company__item a:hover::after {
  background-color: #fff;
  background-image: url(../img/common/arrow_right_red.svg);
}

.p-company__item-img {
  width: 100%;
}

@media all and (max-width: 576px) {
  .p-company__item-img {
    display: none;
  }
}

.p-company__item-textarea {
  padding: 15px 20px;
}

@media all and (max-width: 576px) {
  .p-company__item-textarea {
    padding: 12px 40px 12px 15px;
  }
}

.p-company__item-year {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

@media all and (max-width: 576px) {
  .p-company__item-year {
    margin-bottom: 5px;
  }
}

.p-company__item-year01 {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #f44336;
  margin-right: 6%;
}

@media all and (max-width: 576px) {
  .p-company__item-year01 {
    font-size: 24px;
  }
}

.p-company__item-year02 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  color: #f44336;
}

@media all and (max-width: 576px) {
  .p-company__item-year02 {
    font-size: 10px;
  }
}

.p-company__item-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

@media all and (max-width: 576px) {
  .p-company__item-title {
    font-size: 12px;
    font-weight: 500;
  }
}
