body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
}

a {
  font-weight: bold;
  color: #000000;
}

h1,
h2 {
  text-align: center;
  margin: 40px 0 20px;
  font-size: 1.5rem;
  background: linear-gradient(45deg, #e17055, #00b894);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(225, 112, 85, 0.2);
  position: relative;
}

/* バナー内のh2を黒色にして下線も消す */
.banner h2 {
  color: #000000;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-shadow: none;
}

.banner h2::after {
  display: none;
}

h1::after,
h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, #e17055, #00b894);
  border-radius: 2px;
}

.intro-section {
  text-align: center;
  margin-bottom: 60px;
}

.intro-text,
.section-description {
  color: #000000;
  line-height: 1.6;
  margin: 20px auto;
  max-width: 800px;
  font-size: 1.1rem;
}

.section-description {
  text-align: center;
  margin-bottom: 30px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.character-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 10px rgba(0, 0, 0, 0.06);
}

.character-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.02),
    transparent
  );
  transition: left 0.5s ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.15);
}

.character-card:hover::before {
  left: 100%;
}

.character-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 15px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  overflow: hidden;
  color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.character-card:hover .character-image {
  border-color: #00b894;
  box-shadow: 0 0 20px rgba(0, 184, 148, 0.3);
}

.character-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.character-name {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000000;
}

.survivor-card {
  border-left: 4px solid #00b894;
}

.survivor-card:hover {
  box-shadow: 0 15px 35px rgba(0, 184, 148, 0.15);
}

.hunter-card {
  border-left: 4px solid #e17055;
}

.hunter-card:hover {
  box-shadow: 0 15px 35px rgba(225, 112, 85, 0.15);
}

.character-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #00b894, transparent);
  margin: 60px 0;
  border-radius: 1px;
}

@media (max-width: 768px) {
  .character-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }

  .character-image {
    width: 100px;
    height: 100px;
  }

  .intro-text,
  .section-description {
    font-size: 1rem;
    padding: 0 10px;
  }
}

.loading-placeholder {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
