

/* Previous styles remain unchanged */


.pagelink-section {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding: 5rem 0 5rem;
  border-bottom: 1px solid #E5E5E5;
}

.pagelink-section:first-child {
  padding-top: 0;
}
.pagelink-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pagelink-content {
  flex: 1;
}
.pagelink-number {
  display: block;
  color: #92C2E2;
  font-family: 'Roboto' , sans-serif;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.875rem; /* 100% */
  margin-bottom: 0.75rem;
}
.pagelink-type {
  font-family: 'Open Sans', sans-serif;
  display: block;
  margin-bottom: 0.6rem;
  color: #00547D;
font-size: 0.875rem;
font-style: normal;
font-weight: 600;
line-height: 100%; /* 0.875rem */
letter-spacing: 0.0175rem;
}

.pagelink-title {
  margin-bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  color: #002C44;
  font-family:  "noto-sans-cjk-jp", sans-serif;
font-size: 1.875rem;
font-style: normal;
font-weight: 700;
line-height: 100%; /* 1.875rem */
letter-spacing: 0.1125rem;
}

.pagelink-section .circle__button {
  display: none;
}

.pagelink-description {
  margin-bottom: 1.35rem;

color: #002C44;
font-family:  "noto-sans-cjk-jp", sans-serif;
font-size: 0.9375rem;
font-style: normal;
font-weight: 400;
line-height: 1.5625rem; /* 166.667% */
letter-spacing: 0.01875rem;
}

.pagelink-image-link {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
}

.pagelink-image {
  position: relative;
  width: 26.4375rem;
  height: 16.5rem;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.pagelink-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 11rem;
  height: 8rem;
  z-index: 2;
  pointer-events: none;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.pagelink-image-link:hover .pagelink-image {
  transform: scale(1.05);
  opacity: 0.8;
}

.pagelink-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.runners-high .pagelink-image::after {
  opacity: 0.4;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(145, 199, 228, 0.15) 24%, rgba(83, 167, 212, 0.05) 59.1%, rgba(36, 118, 180, 1) 100%);
  box-shadow: 3px 3px 10px 0px rgba(152, 152, 152, 0.84);
}

.runners-high  .pagelink-image::before {
  background-image: url('https://test-evalue.com/wordpress/wp-content/themes/env-coporatesite/src/img/second/circle-runners-logo.svg');

}

.shiners-high .pagelink-image::after {
  background: linear-gradient(to right, rgba(59, 22, 22, 0.1) 0%, rgba(84, 24, 24, 0.27) 44%, rgba(49, 15, 15, 0.5) 69%, rgba(255, 255, 255,0) 100%);
  background-blend-mode: multiply;
  box-shadow: 3px 3px 10px 0px rgba(130, 176, 206, 0.30);
}

.shiners-high  .pagelink-image::before {
  background-image: url('https://test-evalue.com/wordpress/wp-content/themes/env-coporatesite/src/img/second/logo-shiners.webp');

}

.ippusenkin .pagelink-image::after {
  opacity: 0.2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #021018 100%);
  mix-blend-mode: multiply;
}

.ippusenkin .pagelink-image::before {
  background-image: url('https://test-evalue.com/wordpress/wp-content/themes/env-coporatesite/src/img/second/logo-ippusenkin.webp');

}

.pagelink-image img {
  width: 100%;
  height: 16.5rem;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #0B2847;
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.detail-button:hover {
  background-color: #1a3d66;
}

.detail-button::after {
  content: '→';
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.detail-button:hover::after {
  transform: translateX(4px);
}

@media (max-width: 1024px) {

  .pagelink-title {
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 2rem; /* 114.286% */
    letter-spacing: 0.07rem;
  }
  .pagelink-description {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4375rem; /* 164.286% */
    letter-spacing: 0.0175rem;
  }

  .pagelink-type {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01625rem;
    margin-bottom: 0;
  }
  .pagelink-section:last-child {
    border: none;
    padding-bottom: 0;

  }
}

@media (max-width: 768px) {


  .pagelink-section {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
  }



  .pagelink-content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .pagelink-type {
    order: 1;
    font-size: 0.75rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.1; /* 0.75rem */
    letter-spacing: 0.015rem;
  }
  .pagelink-image {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease, opacity 0.3s ease;
  }

  .pagelink-title {
    order: 2;
    margin-bottom: 1rem;
font-size: 1.5625rem;
font-style: normal;
font-weight: 700;
line-height: 1.5; /* 1.5625rem */
letter-spacing: 0.0625rem;
  }

  .pagelink-image-link {
    order: 3;
    width: 100%;
  }

  .pagelink-description {
    order: 4;
    font-size: 0.875rem;
    margin-bottom: 0;
  }

  .pagelink-section .circle__button {
    display: flex;
  }

  .pagelink-section .button-large {
    display: none;
  }
}