/* Greeting Section */
.greeting {
  padding: 80px 0;
  background: #fff;
}

.greeting__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.greeting__image {
  flex: 0 1 45%;
  min-width: 200px;
  max-width: 50%;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.greeting__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.greeting__image:hover img {
  transform: scale(1.03);
}

.greeting__content {
  flex: 1 1 45%;
  min-width: 300px;
}

.greeting__header {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.greeting__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #b60020;
}

.greeting__title {
  font-size: 2rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px;
}

.greeting__subtitle {
  display: inline-block;
  font-size: 1rem;
  color: #b60020;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.greeting__text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.greeting__text p {
  margin: 0 0 1.5em;
}

.greeting__button {
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .greeting {
    padding: 60px 0;
  }
  
  .greeting__inner {
    flex-direction: column;
    gap: 30px;
  }
  
  .greeting__content {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .greeting__image {
    width: 30%;
    min-width: 200px;
    max-width: 100%;
    margin: 0 auto 20px;
    height: auto;
  }
  
  .greeting__image img {
    height: auto;
    max-height: 300px;
    object-fit: contain;
  }
  
  .greeting__title {
    font-size: 1.8rem;
  }
  
  .greeting__text {
    font-size: 0.95rem;
  }
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.greeting__content {
  animation: fadeInUp 0.8s ease-out;
}

.greeting__image {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}
