.top-hero {
  /* background-color: #fff; */
  position: relative;
  width: 100%;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.top-hero-bg {
  width: 50%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
}

.top-hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 30%, rgba(255, 255, 255, 0.6) 70%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.top-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.top-hero-content {
  position: relative;
  width: 90%;
  max-width: 2000px;
  margin: 0 auto;
  text-align: left;
}

.top-hero-content h1 {
  font-size: 5rem;
  font-weight: bold;
  line-height: 1.2;
}

.top-hero-content p {
  font-size: 1.5rem;
  color: #777;
}

.top-hero-button {
  width: 90%;
  max-width: 2000px;
  text-align: right;
  margin: 0 auto;
}

.top-hero-button a {
  margin-left: auto;
}

.top-content-wrapper {
  width: 90%;
  max-width: 2000px;
  min-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.top-section {
  width: 1200px;
  height: 727px;
  /* background-color: #f0f0f0; */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 8px 4px 20px rgba(0, 0, 0, 0.4), -2px 0px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(50px) rotateX(5deg) rotateY(-15deg);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
  perspective: 1000px;
  transform-origin: left center;
}

.top-section.animate-in {
  transform: translateY(0) rotateX(0deg) rotateY(0deg);
  opacity: 1;
  box-shadow: 4px 2px 15px rgba(0, 0, 0, 0.3);
}


.top-section--right {
  margin-left: auto;
  background-image: url('../assets/images/section-bg--right.png');
}

.top-section--left {
  margin-right: auto;
  background-image: url('../assets/images/section-bg--left.png');
}

.top-section--left.animate-in {
  transform: translateY(0) rotateX(0deg) rotateY(0deg);
  opacity: 1;
  box-shadow: -4px 2px 15px rgba(0, 0, 0, 0.3);
}

.top-section-content {
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-section-title {
  width: 100%;
}

.aboout-content {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.abouot-content-inverse {
  flex-direction: row-reverse;
}

.aboout-content-image {
  width: 40%;
  height: 500px;
  mix-blend-mode: multiply;
  -webkit-blend-mode: multiply;
  -moz-blend-mode: multiply;
  -ms-blend-mode: multiply;
  -o-blend-mode: multiply;
}

.aboout-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

.aboout-content-text {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.aboout-content-text-item {
  width: 100%;
}

.aboout-content-text-item h3 {
  font-size: 2rem;
  color: var(--color-theme);
  font-weight: bold;
  margin-bottom: 50px;
}

.aboout-content-text-item p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #777;
}

.feature-content {
  width: 100%;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.feature-content-item {
  width: 320px;
  height: 500px;
}

.feature-content-item-img {
  height: 50%;
}

.feature-content-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  -webkit-blend-mode: multiply;
  -moz-blend-mode: multiply;
  -ms-blend-mode: multiply;
  -o-blend-mode: multiply;
}

.feature-content-item-text {
  padding-top: 20px;
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-content-item-text h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.feature-content-item-text p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #777;
}

/* スマホ対応のメディアクエリ */
@media (max-width: 768px) {
  
  .top-hero {
    height: 80vh;
    padding: 20px;
  }

  .top-hero-bg {
    width: 100%;
    left: 0;
  }

  .top-hero-bg::after {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.3) 100%);
  }

  .top-hero-content {
    width: 95%;
    margin: 0 auto;
    text-align: left;
  }

  .top-hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .top-hero-content p {
    font-size: 1rem;
    margin-top: 20px;
  }

  .top-hero-button {
    width: 95%;
    text-align: left;
    margin: 0 auto;
    margin-top: 30px;
  }

  .top-content-wrapper {
    width: 95%;
    min-width: auto;
    gap: 50px;
    padding: 0 10px;
  }

  .top-section {
    width: 100%;
    height: auto;
    min-height: 400px;
    transform: none;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
  }

  .top-section-content {
    padding: 30px 20px;
    gap: 30px;
  }

  .aboout-content {
    flex-direction: column;
    gap: 20px;
  }

  .abouot-content-inverse {
    flex-direction: column;
  }

  .aboout-content-image {
    width: 100%;
    height: 250px;
  }

  .aboout-content-text {
    width: 100%;
    gap: 20px;
  }

  .aboout-content-text-item h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .aboout-content-text-item p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .primary-btn-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .feature-content {
    flex-direction: column;
    gap: 30px;
  }

  .feature-content-item {
    width: 100%;
    height: auto;
    min-height: 300px;
  }

  .feature-content-item-img {
    height: 200px;
  }

  .feature-content-item-text {
    height: auto;
    padding-top: 15px;
    gap: 15px;
  }

  .feature-content-item-text h3 {
    font-size: 1.2rem;
  }

  .feature-content-item-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
  .top-hero {
    height: 90vh;
  }
  
  .top-hero-content h1 {
    font-size: 2.8rem;
  }

  .top-hero-content p {
    font-size: 1.1rem;
  }

  .top-content-wrapper {
    width: 95%;
    min-width: auto;
  }

  .top-section {
    width: 100%;
    max-width: 900px;
    height: 600px;
  }

  .feature-content {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature-content-item {
    width: 45%;
    max-width: 400px;
  }
}