@charset "UTF-8";

.under-detail_head {
  border-bottom: 1px solid rgba(112, 112, 112, 0.5);
  padding-bottom: 30px;
  position: relative;
  z-index: 0;
}

.under-detail_head::before {
  background: url(/business/tech/assets/img/common/bg-detail-pattern.svg) no-repeat 0 0/100% 100%;
  content: "";
  height: 210px;
  width: 210px;
  position: absolute;
  right: 25px;
  top: 57px;
  transform: translate(100%, -100%);
  z-index: -1;
}

.under-detail_head .tag {
  pointer-events: none;
}

.under-detail_head_info {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.under-detail_head_info .btn {
  align-self: center;
}

.pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.pagination a {
  font-size: 16px;
}

.pagination a:not(.--active) {
  transition: color 400ms ease;
}

.pagination a:last-child,
.pagination a:first-child {
  height: 36px;
  width: 36px;
  position: relative;
}

.pagination a:last-child::before,
.pagination a:first-child::before {
  content: "";
  height: 15px;
  width: 15px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  transition: border 400ms ease;
}

.pagination a:last-child.--disabled,
.pagination a:first-child.--disabled {
  opacity: 0.3;
  pointer-events: none;
}

.pagination a:first-child::before {
  border-bottom: 3px solid #08287f;
  border-left: 3px solid #08287f;
}

.pagination a:last-child::before {
  border-right: 3px solid #08287f;
  border-top: 3px solid #08287f;
}

.pagination a.--active {
  color: #08287f;
  font-weight: 700;
  pointer-events: none;
}

.line-marker {
  background: #DDEAFF;
}

.relation {
  background-color: #f0f0f0;
  margin-top: 140px;
  padding-bottom: 175px;
  padding-top: 140px;
  position: relative;
  z-index: 0;
}

.relation::before {
  background: url(/business/tech/assets/img/common/bg-relation-pattern.svg) no-repeat 0 0/100% 100%;
  content: '';
  height: 245px;
  width: 210px;
  position: absolute;
  left: 0;
  top: -70px;
  z-index: -1;
}

.relation .relation_wrap {
  display: flex;
  gap: 0 52px;
}

.relation .relation_tab {
  display: flex;
  font-size: 20px;
  flex-shrink: 0;
  flex-direction: column;
  gap: 20px;
  width: 240px;
}

.relation .relation_tab li button {
  background-color: #fff;
  border-radius: 6px;
  color: #666;
  cursor: pointer;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  padding: 13px 20px;
  text-align: left;
  width: 100%;
  transition: all 0.3s;
}

.relation .relation_tab li button[data-active='true'] {
  background-color: #285ae1;
  color: #fff;
  font-weight: 500;
}

.relation .relation_box_wrap {
  position: relative;
  flex: 1;
}

.relation .relation_box {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  opacity: 0;
  transition: opacity 400ms ease;
}

.relation .relation_box:not([data-active='true']) {
  pointer-events: none;
}

.relation .relation_box[data-active='true'] {
  position: relative;
  opacity: 1;
  z-index: 1;
}

.relation .relation_list > li {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 30px;
  transition: all 0.3s;
}

.relation .relation_list > li::before,
.relation .relation_list > li::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  transition: transform 400ms cubic-bezier(0.165, 0.84, 0.44, 1);
}

.relation .relation_list > li::before {
  background: rgba(102, 102, 102, 0.5);
  transform: scaleX(1);
  transform-origin: 100% 50%;
}

.relation .relation_list > li::after {
  background: #285ae1;
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition-delay: 0ms;
}

.relation .relation_list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4.65116%;
}

.relation .relation_list > li > a .arrow-l {
  flex-shrink: 0;
}

.relation .relation_list > li > a .arrow-l::after {
  background: #f0f0f0;
}

.relation .relation_list > li:active::after {
  transform: scaleX(1);
}

.relation .relation_list > li:active > a {
  opacity: 1;
}

.relation .relation_list .report-list-tag {
  border: 1px solid rgba(102, 102, 102, 0.5);
}

.project-case-recommend {
  margin-top: 140px;
  margin-right: auto;
  margin-left: auto;
  max-width: 640px;
}

.project-case-recommend > a {
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  display: flex;
  color: #1a1a1a;
  gap: 65px;
  justify-content: space-between;
}

.project-case-recommend > a figure {
  flex-shrink: 0;
  overflow: hidden;
  width: 220px;
}

.project-case-recommend > a figure img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center center;
  object-position: center center;
  width: 100%;
  transition: transform 400ms ease-out;
}

.project-case-recommend .project-case-recommend_box {
  padding: 40px 0 40px 30px;
}

.project-case-recommend .project-case-recommend_head {
  color: #08287f;
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 14px;
}

.project-case-recommend .project-case-recommend_title {
  font-size: 24px;
  font-weight: 700;
  line-height: calc(36 / 24);
}

.project-case-recommend .project-case-recommend_title strong {
  box-decoration-break: slice;
  /* Firefox用に指定 */
  -webkit-box-decoration-break: slice;
  /* Firefox以外のブラウザ用に指定 */
  background-image: linear-gradient(#285ae1, #285ae1);
  /* 単色 */
  background-size: 0 1px;
  /* 幅(0=見えない状態) | 高さ(=線の太さ) */
  background-position: bottom right;
  /* 右下に配置 */
  background-repeat: no-repeat;
  padding-bottom: 4px;
  transition: background-size 400ms ease-out, color 400ms ease;
}

.project-case-detail_profile_job {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-case-detail_profile_job > li {
  background-color: #3a64cc;
  padding: 3px 6px;
}

@media screen and (min-width: 768px) {
  .under-detail_head_info {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

@media screen and (max-width: 1279.8px) {
  .under-detail_head::before {
    transform: translate(calc((100vw - var(--scrollbar-width) - 974px) / 2 + 62px), -100%);
  }
}

@media (max-width: 1180px) {
  .relation::before {
    height: 154px;
    width: 130px;
    top: -44px;
  }
}

@media screen and (max-width: 966.8px) {
  .under-detail_head::before {
    content: none;
  }
}

@media screen and (max-width: 767.8px) {
  .relation {
    padding-bottom: 100px;
  }

  .relation::before {
    height: 154px;
    width: 130px;
    top: -44px;
  }

  .relation .relation_wrap {
    flex-direction: column;
    gap: 40px 0;
  }

  .relation .relation_tab {
    font-size: 15px;
    flex-direction: row;
    gap: 10px;
    width: 100%;
  }

  .relation .relation_tab li {
    flex: 1;
  }

  .relation .relation_tab li button {
    align-items: center;
    display: flex;
    height: 68px;
    opacity: 1 !important;
    justify-content: center;
    padding: 0;
    text-align: center;
  }

  .relation .relation_tab li span {
    padding: 0 2.66667vw;
  }

  .project-case-recommend {
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 100px;
    max-width: initial;
  }

  .project-case-recommend > a {
    gap: 18px;
  }

  .project-case-recommend > a figure {
    width: 140px;
  }

  .project-case-recommend .project-case-recommend_box {
    padding: 20px 0 20px 15px;
  }

  .project-case-recommend .project-case-recommend_head {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .project-case-recommend .project-case-recommend_title {
    font-size: 16px;
  }

  .project-case-detail_profile_job > li {
    background-color: #08287f;
  }
}

@media (hover: hover) {
  .pagination a:not(.--active):hover {
    opacity: 1;
    color: #285ae1;
  }

  .pagination a:last-child:not(.--disabled):hover::before,
  .pagination a:first-child:not(.--disabled):hover::before {
    border-color: #285ae1;
  }

  .relation .relation_tab li button:hover {
    background-color: #285ae1;
    color: #fff;
    opacity: 1;
  }

  .relation .relation_list > li:hover::before {
    transform: scaleX(0);
  }

  .relation .relation_list > li:hover::after {
    transform: scaleX(1);
    transition-delay: 300ms;
  }

  .relation .relation_list > li:hover > a {
    opacity: 1;
  }

  .project-case-recommend > a:hover {
    opacity: 1;
  }

  .project-case-recommend > a:hover figure img {
    transform: scale(1.05);
  }

  .project-case-recommend > a:hover .project-case-recommend_title strong {
    background-size: 100% 1px;
    /* 幅(100%=文字の長さ) | 高さ(=線の太さ) */
    background-position: bottom left;
    /* 左下に配置 */
    color: #285ae1;
  }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
  .pagination a:not(.--active):hover {
    opacity: 1;
    color: #285ae1;
  }

  .pagination a:last-child:not(.--disabled):hover::before,
  .pagination a:first-child:not(.--disabled):hover::before {
    border-color: #285ae1;
  }

  .relation .relation_tab li button:hover {
    background-color: #285ae1;
    color: #fff;
    opacity: 1;
  }

  .relation .relation_list > li:hover::before {
    transform: scaleX(0);
  }

  .relation .relation_list > li:hover::after {
    transform: scaleX(1);
    transition-delay: 300ms;
  }

  .relation .relation_list > li:hover > a {
    opacity: 1;
  }

  .project-case-recommend > a:hover {
    opacity: 1;
  }

  .project-case-recommend > a:hover figure img {
    transform: scale(1.05);
  }

  .project-case-recommend > a:hover .project-case-recommend_title strong {
    background-size: 100% 1px;
    /* 幅(100%=文字の長さ) | 高さ(=線の太さ) */
    background-position: bottom left;
    /* 左下に配置 */
    color: #285ae1;
  }
}