/* ヒーローセクション 専用CSS */
.common-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--light-color);
}

.common-hero .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    z-index: -2;
    transform: scale(1.1);
    opacity: 0;
    animation: fadeInImage 1.5s ease-in-out forwards;
    animation-delay: 0.2s;
}

.parallax-bg img.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.1);
  opacity: 0;
  animation: fadeInImage 1.5s ease-in-out forwards;
  animation-delay: 0.2s;
}

.common-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.common-hero-content {
    width: 100%;
    padding: 120px 0 0;
    position: relative;
}

.common-hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.common-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 700px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

.highlight {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.common-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent-color);
    z-index: -1;
    opacity: 0.6;
}


.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--light-color);
    opacity: 0.8;
    animation: fadeInUp 0.8s ease forwards 1s;
}

.scroll-indicator span {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 2px solid var(--light-color);
    border-bottom: 2px solid var(--light-color);
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
}

@keyframes scrollArrow {
    0% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.4;
    }

    50% {
        transform: rotate(45deg) translate(10px, 10px);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
  .common-hero {
    height: auto;
    padding: 60px 0 40px;
  }

  .common-hero-title {
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .common-hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .breadcrumb {
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
  }
}

@keyframes fadeInImage {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}