/* Summary Section マクロ用スタイル */
.summary-section {
  position: relative;
  background: linear-gradient(135deg, #1a4db3, #3b82f6, #60a5fa);
  padding: 5rem 0;
  width: 100%;
  z-index: 1;
  overflow: hidden;
}

.summary-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  opacity: 0.15;
  z-index: -1;
  animation: pulse 8s ease-in-out infinite alternate;
}

.summary-section::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
  animation: rotate 30s linear infinite;
}

.summary-section .bg-image-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background-size: cover;
  background-position: center left;
  opacity: 0.3;
  z-index: 0;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 20px;
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  filter: grayscale(30%) contrast(110%);
}

.summary-section .container {
  position: relative;
  z-index: 2;
}

.summary-section .section-title {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.05em;
  color: white;
}

.summary-section .lead {
  font-size: 1.25rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  color: white;
  position: relative;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 8px;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.summary-section .lead:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* アニメーション */
@keyframes pulse {
  0% {
    opacity: 0.1;
  }
  100% {
    opacity: 0.2;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .summary-section {
    padding: 3rem 0;
  }

  .summary-section .section-title {
    font-size: 2rem;
  }

  .summary-section .lead {
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 1rem;
  }

  .summary-section .bg-image-overlay {
    width: 100%;
    opacity: 0.1;
    border-radius: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
}
