/* common */

.content-ttl::before {
  background: url("/en/img/companies/icon-pagettl.svg");
}

/* companies */

.company {
  display: block;
  width: 100%;
  max-width: 1440px;
  padding: 0 60px;
  margin: -10px auto 0;
}

.company-list {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 auto;
}

.company-list--item {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 248px;
  height: 322px;
  background-color: #ffffff;
  outline: 0px solid #d0d7e0;
  outline-offset: 0px;
  transition: all 0.3s;
}

.company-list--item-curt {
  margin: 10px;
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 140%; /* 22.4px */
  color: var(--01_right_blue, #b9cad5);
  letter-spacing: 0.64px;
}

.company-list--item-flex {
  display: -ms-flexbox;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 204px;
  height: 162px;
  min-height: 162px;
  margin: auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.company-list--item-hover {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  width: 100%;
  height: 100%;
  margin: auto;
}

.company-list--item-logo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 160px;
  height: 80px;
  margin-top: 20px;
  transition: transform 0.9s;
}

.company-list--item-txt {
  min-height: 60px;
  margin-top: -20px;
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 18.2px */
  color: var(--01_dark_blue, #0d0f1d);
  text-align: center;
  letter-spacing: 0.52px;
}

.company-list--item-link {
  display: flex;
  width: 81px;
  height: 21px;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  color: var(--01_dark_blue, #0d0f1d);
  letter-spacing: 0.56px;
}

/* 装飾背景用の疑似要素 */
.company-list--item:nth-child(even)::before,
.company-list--item:nth-child(odd)::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  content: "";
  filter: blur(8px);
  opacity: 0.3;
  transition: opacity 0.5s, filter 0.5s;
}

/* 背景画像設定 */
.company-list--item:nth-child(even)::before {
  background: url("/en/img/companies/bg-current-bottom.png") no-repeat left 8px
      bottom 8px / 100% auto,
    url("/en/img/companies/bg-current-top.png") no-repeat top 8px right 8px / 100%
      auto;
}

.company-list--item:nth-child(odd)::before {
  background: url("/en/img/companies/bg-prior-bottom.png") no-repeat left 8px bottom
      8px / 100% auto,
    url("/en/img/companies/bg-prior-top.png") no-repeat top 8px right 8px / 100% auto;
}

.company-list--item-link:hover {
  .view-site {
    text-shadow: 0 0 0 #0d0f1d, 0 -1.5em 0 #0d0f1d;
  }
}

.company-list--item-link:after {
  display: inline-block;
  width: 8px;
  height: 21px;
  margin-top: 6px;
  line-height: 21px;
  vertical-align: bottom;
  content: "";
  background: no-repeat url("/en/img/companies/icon-arrow-outward.svg");
}

.company-list--item-site {
  display: inline-block;
  width: 77px;
  border-bottom: 1px solid#0D0F1D;
}

.view-site {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  gap: 9px;
  width: 73px;
  height: 21px;
  overflow: hidden;
  line-height: 21px;
  color: transparent;
  text-shadow: 0 1.5em 0 #0d0f1d, 0 0 0 #0d0f1d;
  transition: text-shadow 0.3s;
}

@media screen and (min-width: 768px) {
  .bg-acquired .company-list--item-logo {
    margin-top: -1px;
  }

  .company-list--item-logo::before {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    display: block;
    width: 100%;
    height: 30px;
    content: "";
    transition: transform 0.9s, opacity;
    transform: translate(0, 100%);
  }

  .hover-view {
    opacity: 0;
  }

  .company-list--item:hover::before {
    filter: blur(0);
    opacity: 1;
  }

  .company-list--item:hover {
    outline: 8px solid #d0d7e0;
    outline-offset: -7px;

    .company-list--item-logo {
      transform: translate(0, -20px);
    }

    .hover-view {
      opacity: 1;
    }

    .company-list--item:hover::before {
      .company-list--item-logo::before {
        opacity: 0.6;
        transform: translate(0, calc(100% + 20px)) scale(0.7);
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .company {
    width: 100%;
    max-width: 100vw;
    padding: 0;
    margin: 0 auto;
  }
  .company-list {
    gap: 2.0512vw;
    justify-content: space-between;
    padding: 0 2.8205vw;
    /* margin: auto; */
  }

  .company-list--item-logo {
    width: 32.6633vw;
    height: 16.3316vw;
    margin-top: -2.5125vw;
  }

  .company-list--item {
    width: 46.1538vw;
    height: 60vw;
    margin: 0;
    outline: 8px solid #d0d7e0;
    outline-offset: -8px;
  }

  .company-list--item-curt {
    margin: 1.2562vw;
    font-size: 3.2663vw;
    font-weight: 400;
    line-height: 140%;
    letter-spacing: 0.1306vw;
  }

  .company-list--item-flex {
    justify-content: flex-start;
    width: 42.7135vw;
    height: auto;
    min-height: auto;
    margin: 9.2307vw 0 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
  }

  .company-list--item-hover {
    width: 44.1025vw;
    height: 57.9487vw;
  }

  .company-list--item-txt {
    width: 40.201vw;
    min-height: auto;
    max-height: 15.0753vw;
    margin-top: -1.2562vw;
    margin-bottom: 3.0769vw;
    font-size: 3.015vw;
    font-weight: 300;
    line-height: 130%;
    letter-spacing: 0.1206vw;
  }

  .company-list--item-link {
    display: flex;
    flex-direction: column;
    gap: 1.5045vw;
    align-items: flex-end;
    justify-content: center;
    width: 19.3467vw;
    height: 5.5276vw;
  }

  .company-list--item-link:after {
    display: inline-block;
    gap: 1.5075vw;
    width: 2.01vw;
    margin-top: -5.5276vw;
    vertical-align: bottom;
    content: "";
    background: no-repeat url("/en/img/companies/icon-arrow-outward.svg");
  }

  .view-site {
    font-size: 3.2663vw;
    font-style: normal;
    font-weight: 300;
    line-height: 140%;
    letter-spacing: 0.1306vw;
  }

  .company-list--item:nth-child(even) .company-list--item-hover {
    background: url("/en/img/companies/bg-current-bottom.png") no-repeat left 0px
        bottom 0px / 100% auto,
      url("/en/img/companies/bg-current-top.png") no-repeat top right 0px / 100% auto,
      #ffffff;
    transition: background 0.5s;
  }

  .company-list--item:nth-child(odd) .company-list--item-hover {
    background: url("/en/img/companies/bg-prior-bottom.png") no-repeat left 0px
        bottom 0px / 100% auto,
      url("/en/img/companies/bg-prior-top.png") no-repeat top right 0px / 100% auto,
      #ffffff;
    transition: background 0.5s;
  }
}
.top-founder {
  padding-bottom: 0;
}
.top-founder .ttl-area {
  padding-bottom: 57px;
}

@media screen and (max-width: 768px) {
  .top-founder .ttl-area {
    padding: 0 3vw 2.45vw;
    text-align: left;
  }
}
