.index {
  position: relative;
}

.index_block {
  position: relative;
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.index_menu {
  transition: all .5s;
}

.index_photo {
  position: relative;
  width: 330px;
  height: 200px;
  overflow: hidden;
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.2);
  margin: 0 20px;
  transition: all .3s;
  border-radius: 20px;
}

.index_title {
  position: absolute;
  width: 80%;
  height: 100%;
  left: 0;
  top: 0;
  text-align: center;
}

.index_title li {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  line-height: 1;
  font-size: 25px;
}

.index_photo img {
  filter: brightness(80%);
  width: 100%;
  vertical-align: middle;
  transition: all .3s;
}

.index_menu:hover .index_photo img {
  filter: brightness(120%);
  transform: scale(1.1);
  /* 拡大 */
}

.work-section {
  color: #fff;
  padding: 80px 5px;
  font-family: "Segoe UI", sans-serif;
  max-width: 1000px;
  margin: auto;
}

.work-container {
  margin: 0 auto;
}

.work-row {
  position: relative;
  display: block;
  align-items: center;
  gap: 30px;
  margin-bottom: 80px;
  padding: 40px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.work-index {
  position: absolute;
  top: -70px;
  left: -35px;
  font-size: 8rem;
  font-weight: 800;
  color: #3f88d7;
  pointer-events: none;
  user-select: none;
}

.work-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.work-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.work-content p {
  opacity: 0.85;
  line-height: 1.6;
  font-size: 20px;
}


@media (max-width: 1024px) {
  .work-index {
    position: absolute;
    top: -35px;
    left: -20px;
    font-size: 6rem;
  }

  .work-img img {
    height: 250px;
  }
}


/*system*/
.system-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.system-item {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.systemimg {
  overflow: hidden;
  height: 300px;
  border-radius: 20px;
  filter: drop-shadow(4px 4px 6px #29292933);
}

.systemimg::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  /* ← 影の高さを調整 */
  background: linear-gradient(to top, rgb(255 255 255 / 40%),
      /* 下部：濃い影 */
      rgba(0, 0, 0, 0)
      /* 上部：透明 */
    );
  border-radius: 20px;
  pointer-events: none;
}

.apl-detail {
  position: relative;
  padding: 10px;
}

.apl-detail h5 {
  font-size: 20px;
  margin-bottom: 10px;
}

.backimg {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.systemimg:hover .backimg {
  transform: scale(1.08);
}

.logoimg {
  position: absolute;
  left: 15px;
  bottom: 20px;
  z-index: 1;
}

.detailbtn {
  position: absolute;
  z-index: 2;
  padding: 15px 20px;
  background-color: #00000029;
  border-radius: 10px;
  right: 10px;
  bottom: 10px;
  color: #fff;
  backdrop-filter: blur(12px);
}