@charset "UTF-8";
/*
  ---------------
  Works & Partners
  ---------------
*/
.top-works {
}
.top-works__outer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.top-works__inner {
  padding: 120px 0;
}
@media all and (max-width : 768px) {
  .top-works__inner {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.top-works__head {
  border-bottom: 1px solid rgba(25, 109, 180, 0.2);
  padding-bottom: 20px;
  position: relative;
}
.top-works__head p {
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-size: 48px;
  line-height: 1;
  display: inline-block;
}
@media all and (max-width : 768px) {
  .top-works__head p {
    font-size: 36px;
  }
}
.top-works__head h2 {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  margin-left: 20px;
}
.top-works__contents {
  padding-top: 60px;
}
@media all and (max-width : 768px) {
  .top-works__contents {
    padding-top: 20px;
  }
}
.top-works__item-img {
  padding: 10px;
  text-align: center;

  img {
    -o-object-fit: contain;
      object-fit: contain;
    height: 240px;
    width: 220px;
    min-width: 130px;
  }

  &.w-full img {
    width: 320px;
  }

  &.w-thin img {
    width: 180px;
  }
}
@media all and (max-width : 768px) {
  .top-works__item-img {
    padding: 0 100px;

    &.w-full {
      padding: 0 40px;
    }

    &.w-thin {
      padding: 0 120px;
    }
  }
}
@media all and (max-width : 768px) {
  .top-works__item-img img {
    height: 120px;
    width: 100%;
  }
}
.top-works__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 60px;
}
@media all and (max-width : 768px) {
  .top-works__list {
    gap: 20px;
  }
}
.top-works__item {
  width: -webkit-calc((100% - 120px) / 3);
  width: calc((100% - 120px) / 3);
}
@media all and (max-width : 768px) {
  .top-works__item {
    width: 100%;
  }
}
.top-works__item a {
  transition: .2s ease-in-out;

  &:hover {
    opacity: .7;
  }
}
.top-works__item.others .top-works__item-contents {
  position: relative;

  &::after {
    content: url(/resources/images/common/icon_arrow-black-right_01.svg);
    display: block;
    position: absolute;
    transition: .2s ease-in-out;
    top: 25%;
    right: 2px;
  }
}
.top-works__item.others:hover {
  .top-works__item-contents:after {
    transform: translateX(2px);
  }
}
.top-works__item-contents {
  padding-top: 10px;
}
.top-works__item-head-wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  border-bottom: 1px solid rgba(25, 109, 180, 0.2);
  padding-bottom: 12px;
}
@media all and (max-width : 768px) {
  .top-works__item-head-wrap {
    padding-left: 0;
  }
}
.top-works__item-head-wrap .heading-number__number {
  font-family: "Rubik", serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  border: 1px solid rgba(25, 109, 180, 0.2);
  -webkit-border-radius: 10px;
          border-radius: 10px;
  font-size: 14px;
  font-weight: normal;
  line-height: 19px;
  padding: 1px 8px 0;
}
.top-works__item-head-wrap .heading-number__en {
  font-size: 18px;
  line-height: 1;
}
.top-works__item-head-wrap .heading-number__ja {
  font-size: 13px;
  line-height: 1;
  margin-top: 12px;
}
.top-works__others {
  font-size: 16px;
  padding: 20px 0;
  text-align: center;
}
.top-works__others a {
  font-size: 16px;
  text-decoration: underline;
}
.top-works__item-detail {
  margin-top: 12px;
}
.top-works__btn-wrap {
  margin-top: 40px;
}
@media all and (max-width : 768px) {
  .top-works__btn-wrap {
    margin-top: 12px;
  }
}
.top-works__btn {
  display: inline-block;
  background: -webkit-gradient(linear, left top, right top, from(#1F89DF), to(#196DB4));
  background: linear-gradient(90deg, #1F89DF 0%, #196DB4 100%);
  -webkit-border-radius: 25px;
          border-radius: 25px;
  color: #fff;
  font-size: 14px;
  line-height: 50px;
  min-width: 200px;
  padding: 0 50px 0 40px;
  text-align: center;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  position: relative;
}
.top-works__btn:hover {
  opacity: 0.8;
}
.top-works__btn:hover::after {
  -webkit-transform: translate(2px, -50%);
      -ms-transform: translate(2px, -50%);
          transform: translate(2px, -50%);
}
.top-works__btn::after {
  content: url(/resources/images/common/icon_arrow-white-right_01.svg);
  display: inline-block;
  line-height: 1;
  position: absolute;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
  top: 50%;
  right: 16px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}
