/* figma-css:start nodeId=794:107 */
.uc-ebook-hero {
  position: relative;
  overflow: hidden;
  background-image: url("../../img/uc/ebook-new-graduate/hero-bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 3.236875rem;
}

.uc-ebook-hero .uc-breadcrumbs {
  margin-bottom: 2.4938rem;
}

.uc-ebook-hero__inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 61rem;
  margin-inline: auto;
}

.uc-ebook-hero__header {
  position: relative;
  width: fit-content;
}

.uc-ebook-hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 6.0482rem;
  min-height: 2.8271rem;
  margin: 0 0 0.7637rem;
  background: linear-gradient(104deg, #1cbd94 30.61%, #077a5d 87.76%);
  color: #f1f1f1;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.7464rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1746rem;
  transform: skewX(-7deg);
}

.uc-ebook-hero__badge-text {
  display: block;
}

.uc-ebook-hero__title {
  display: block;
  width: fit-content;
  margin: 0 0 0.6875rem;
  border-bottom: 0.125rem solid #1bb18b;
  color: #1bb18b;
}

.uc-ebook-hero__title-text {
  display: inline-block;
  padding-bottom: 0.15rem;
  font-size: 3.1069rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.3107rem;
  transform: skewX(-7deg);
}

.uc-ebook-hero__subtitle {
  margin: 0;
  color: #1bb18b;
  font-size: 1.6381rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1966rem;
  transform: skewX(-7deg);
}

.uc-ebook-hero__person {
  position: absolute;
  top: -4.75rem;
  right: -22.6583rem;
  z-index: 1;
  display: block;
  width: 41.8125rem;
}

@media screen and (min-width: 768px) and (max-width: 850px) {
  .uc-ebook-hero__person {
    right: -25rem;
  }
}

.uc-ebook-hero__person picture {
  display: block;
  width: 100%;
}

.uc-ebook-hero__person img {
  display: block;
  width: 100%;
  height: auto;
}

.uc-ebook-hero__background {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.uc-ebook-hero__background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.uc-ebook-listing {
  position: relative;
  padding-block: 6.9807rem 6.25rem;
  background-image: url("../../img/uc/ebook-new-graduate/body-bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.uc-ebook-listing::before {
  content: "eBOOK";
  position: absolute;
  top: 30.6682rem;
  right: -12.3313rem;
  z-index: 1;
  color: #d1dae4;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 9.1938rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.6436rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: plus-lighter;
  transform: rotate(90deg);
}

.uc-ebook-listing__inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 70.25rem;
  margin-inline: auto;
}

.uc-ebook-listing__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.uc-ebook-listing__background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.uc-ebook-filter {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  min-height: 4.4375rem;
  margin-bottom: 4.8318rem;
  padding-left: 3.4375rem;
}

.uc-ebook-filter::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background-color: #1bb18b;
  background-image: url("../../img/uc/ebook-new-graduate/filter-tab-current-bg.webp");
  background-repeat: repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.uc-ebook-filter__tab {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 11.375rem;
  min-height: 3.625rem;
  border: 0;
  border-radius: 0.4375rem 0.4375rem 0 0;
  background: transparent;
  color: #1bb18b;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.0675rem;
  text-decoration: none;
}

.uc-ebook-filter__tab::before {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border-radius: inherit;
  padding: 0.125rem;
  background-color: #1bb18b;
  background-image: url("../../img/uc/ebook-new-graduate/filter-tab-current-bg.webp");
  background-repeat: repeat;
  background-size: 50px 50px;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.uc-ebook-filter__tab--current {
  min-height: 4.4375rem;
  background-color: #1bb18b;
  background-image: url("../../img/uc/ebook-new-graduate/filter-tab-current-bg.webp");
  background-repeat: repeat;
  background-size: 50px 50px;
  color: #fff;
}

.uc-ebook-filter__tab--current::before {
  content: none;
}

.uc-ebook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
  margin-bottom: 6.5625rem;
  gap: 0.9375rem 1.0625rem;
}

.uc-ebook-card {
  position: relative;
  min-width: 0;
  min-height: 27.875rem;
  background-color: #fff;
  background-image: url("../../img/uc/ebook-new-graduate/card-bg.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 27.875rem;
}

.uc-ebook-card__background {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 27.875rem;
}

.uc-ebook-card__background-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.uc-ebook-card__link {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 27.875rem;
  padding-bottom: 1.375rem;
  color: #1c1c1c;
  text-decoration: none;
}

.uc-ebook-card__header {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0.5rem 0.8125rem 1.6875rem;
  position: relative;
  z-index: 2;
}

.uc-ebook-card__header::after{
  content:"";
  background: #00B58E;
  width: 92.7%;
  height:1px;
  position:absolute;
  bottom:0;
  left:0;
}

.uc-ebook-card__title {
  min-width: 0;
  margin: 0;
  color: #1c1c1c;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.1188rem;
}

.uc-ebook-card__media {
  position: absolute;
  top: 6.31875rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.uc-ebook-card__thumbnail {
  width: 10.5625rem;
  aspect-ratio: 169 / 227;
  margin: 0 0 0.9375rem;
}

.uc-ebook-card__thumbnail-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uc-ebook-card__tag {
  margin: 0 0 1.375rem;
  color: #1bb18b;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.0563rem;
  text-align: center;
}

.uc-ebook-card__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13.0625rem;
  height: 2.75rem;
  margin-top: auto;
  margin-inline: auto;
  color: #1c1c1c;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.06875rem;
  text-align: center;
  border-radius: 1.75rem;
  border: 0.089375rem solid #5E5E5E;
  background: #FFF;
  box-shadow: 0 0.1875rem 0 0 rgba(0, 0, 0, 0.65);
  transition: 0.3s;
}

.uc-ebook-card__button-text {
  background: linear-gradient(90deg, #5E5E5E 6.7%, #1C1C1C 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 0.3s;
}

.uc-ebook-card__arrow {
  position: absolute;
  top: 50%;
  right: 1.375rem;
  display: block;
  margin-left: 0;
  transform: translateY(-50%);
  color: #1C1C1C;
  font-family: "IBM Plex Sans";
  font-size: 0.745rem;
  font-style: normal;
  font-weight: 600;
  line-height: 170%; /* 20.264px */
  letter-spacing: 0.0446875rem;
  transition: 0.3s;
}

.uc-ebook-card__link:hover .uc-ebook-card__button,
.uc-ebook-card__link:focus-visible .uc-ebook-card__button {
  background-image: linear-gradient(141.04deg, #5e5e5e 17.18%, #1c1c1c 80.38%);
  color: #fff;
}

.uc-ebook-card__link:hover .uc-ebook-card__button-text,
.uc-ebook-card__link:focus-visible .uc-ebook-card__button-text {
  background: none;
  -webkit-text-fill-color: #fff;
}

.uc-ebook-card__link:hover .uc-ebook-card__arrow,
.uc-ebook-card__link:focus-visible .uc-ebook-card__arrow {
  color: #fff;
}

.uc-ebook-listing__pagination {
  margin-top: 0;
  margin-bottom: 5.4188rem;
}

.uc-ebook-listing__advisor-lead {
  width: 90%;
  max-width: 32.375rem;
  margin: 0 auto 1.125rem;
  color: #1c1c1c;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15rem;
  text-align: center;
}

.uc-ebook-listing__advisor-line {
  white-space: nowrap;
}

.uc-ebook-listing__empty {
  margin: 0 0 6.5625rem;
  color: #1c1c1c;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.075rem;
  text-align: center;
}
/* figma-css:end nodeId=794:107 */



@media screen and (max-width: 767.98px) {
  .uc-ebook-hero {
    min-height: 23rem;
    background-image: url("../../img/uc/interview-new-graduate/hero-bg-sp.webp");
    background-position: center top;
  }

  .uc-ebook-hero .uc-breadcrumbs {
    margin-bottom: 1.75rem;
  }

  .uc-ebook-hero__inner {
    width: 90%;
  }

  .uc-ebook-hero__header {
    z-index: 2;
    max-width: 76%;
  }

  .uc-ebook-hero__badge {
    width: 4.75rem;
    min-height: 2.25rem;
    margin-bottom: 0.625rem;
    font-size: 1rem;
  }

  .uc-ebook-hero__title {
    margin-bottom: 0.75rem;
  }

  .uc-ebook-hero__title-text {
    padding-bottom: 0.25rem;
    font-size: 2rem;
    letter-spacing: 0.15rem;
  }

  .uc-ebook-hero__subtitle {
    max-width: 15rem;
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.075rem;
  }

  .uc-ebook-hero__person {
    top: auto;
    right: -0.75rem;
    bottom: 0;
    width: 12.9375rem;
  }

  .uc-ebook-listing {
    padding-block: 3.5rem 4rem;
  }

  .uc-ebook-listing::before {
    content: none;
  }

  .uc-ebook-listing__inner {
    width: 90%;
  }

  .uc-ebook-filter {
    min-height: 3.5rem;
    margin-bottom: 3rem;
    padding-left: 0;
  }

  .uc-ebook-filter__tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 3rem;
    padding-inline: 0.25rem;
    font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
    letter-spacing: 0.03rem;
  }

  .uc-ebook-filter__tab--current {
    min-height: 3.5rem;
  }

  .uc-ebook-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 21.375rem;
    max-width: calc(100% - 1.875rem);
    margin-bottom: 3.25rem;
    gap: 0.9375rem;
  }

  .uc-ebook-listing__pagination {
    margin-top: 0;
    margin-bottom: 4rem;
    transform: none;
  }

  .uc-ebook-listing__advisor-lead {
    width: calc(100% - 1rem);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.7;
    letter-spacing: 0.075rem;
  }

  .uc-ebook-listing__empty {
    margin-bottom: 4rem;
    font-size: 0.875rem;
  }
}
