* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.social-links {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

.social-link {
  display: block;
  width: 50px;
  height: 50px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  transition: background-color 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.social-link:hover img {
  transform: scale(1.15);
}

.social-link:hover::before {
  background-color: rgba(255, 255, 255, 0.4);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  body {
    padding: 0x;
  }
  
  .social-links {
    gap: 25px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .social-links {
    gap: 25px;
  }
  
  .social-link {
    width: 35px;
    height: 35px;
  }
}