.service-section {
    background-color: #f8f9fa;
    padding: 120px 20px 80px; /* 上部のパディングを120pxに増やしました */
    overflow: hidden;
  }
  
  .service-title-container {
    max-width: 1200px;
    margin: 80px auto 80px;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
  }
  
  .service-title {
    position: relative;
    font-family: 'Futura Lt BT', sans-serif;
    line-height: 1;
    text-align: center;
  }
  
  .service-title .title-bg {
    font-size: clamp(60px, 10vw, 120px);
    color: #e9ecef;
    display: block;
    position: relative;
    z-index: 1;
  }
  
  .service-title .title-main {
    font-size: clamp(35px, 3vw, 24px);
    color: #034060;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
  }
  
  .service-title .title-bg span {
    display: inline-block;
    opacity: 0;
  }
  
  @keyframes fadeInGradient {
    0% {
      opacity: 0;
      color: #ffffff;
    }
    50% {
      opacity: 0.5;
      color: #a8c5d6;
    }
    100% {
      opacity: 1;
      color: #e9ecef;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

/* サービスセクションのスタイル */
body {
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.message-content {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.message-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding: 0 40px;
  position: relative;
}

.message-image {
  flex: 0 0 45%;
  position: relative;
}

.ceo-image {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.message-text {
  flex: 1;
}

.animated-title {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.message-body p {
  font-size: 1.1rem;
  line-height: 1.9;
  margin-bottom: 25px;
  color: var(--text-color);
}

.ceo-signature {
  margin-top: 60px;
  text-align: right;
  font-family: 'Brush Script MT', cursive;
}

.ceo-signature p:last-child {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-top: 10px;
}

@media (max-width: 992px) {
  .message-container {
      flex-direction: column;
  }

  .message-image, .message-text {
      width: 100%;
  }

  .animated-title {
      font-size: 2.5rem;
  }
}

.recruit-section {
    background: linear-gradient(135deg, #f0f5f9 0%, #c9d6df 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.recruit-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 80%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.recruit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.recruit-content {
    text-align: center;
    margin-bottom: 40px;
}

.recruit-content h2 {
    color: #034060;
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.recruit-content p {
    font-size: 1.2rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.4s;
}

.recruit-image {
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recruit-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.recruit-image:hover img {
    transform: scale(1.05);
}

.join-to-grust {
    text-align: center;
}

.join-to-grust p {
    font-size: 1.5rem;
    font-weight: bold;
    color: #034060;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.6s;
}

.join-to-grust .button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #ffffff;
    color: #034060;
    border: 2px solid #034060;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    animation-delay: 0.8s;
}

.join-to-grust .button:hover {
    background-color: #034060;
    color: #ffffff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .recruit-content h2 {
        font-size: 2.5rem;
    }

    .recruit-content p {
        font-size: 1rem;
    }

    .join-to-grust p {
        font-size: 1.2rem;
    }

    .join-to-grust .button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}