.hero {
  position: relative;
  height: 100vh;
  width: 100vw; /* 画面幅いっぱいに設定 */
  overflow: hidden; /* はみ出る部分を隠す */
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 5%;
}

.hero__logo {
  width: 250px;
  height: auto;
  margin-bottom: 5vh;
  opacity: 1;
  transform: translateY(20px);
  animation: fadeInOut 7s infinite; /* 3秒かけて透過するアニメーションを繰り返す */
}

@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}


.hero__title {
  font-size: 54px;
  line-height: 1.3;
  color: #fff;
  text-align: left;
  position: absolute;
  left: 5%;
  bottom: 20px;
  transform: translateY(0);
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
}

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

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 10s ease-in-out;
  transform: scale(1.1);
}

.hero__image.active {
  opacity: 1;
  transform: scale(1);
}


.scroll-indicator {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  z-index: 10;
}

.scroll-indicator__text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.scroll-indicator__line {
  width: 2px;
  height: 80px;
  background-color: #fff;
  opacity: 0.8;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
      transform: scaleY(0);
      transform-origin: top;
  }
  50% {
      transform: scaleY(1);
      transform-origin: top;
  }
  50.1% {
      transform-origin: bottom;
  }
  100% {
      transform: scaleY(0);
      transform-origin: bottom;
  }
}

@media (max-width: 768px) {
  .hero__title {
      font-size: 36px;
      left: 5%;
      width: 90%;
  }

  .hero__logo {
      width: 180px;
  }

  .scroll-indicator {
      right: 10px; /* 右端に寄せる */
  }

  .scroll-indicator__text {
      font-size: 14px;
  }

  .scroll-indicator__line {
      height: 50px;
  }
}


.new-section {
  background-color: #034060;
  padding: 5vh 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.new-section__content {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.impact-text-container {
  margin: 5vh auto 0;
  text-align: center;
  width: 90%;
  max-width: 1200px;
}

.impact-text {
  font-size: clamp(24px, 5vw, 48px);
  color: #fff;
  text-align: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  margin: 0;
  opacity: 0;
  transform: translateY(50px);
}

.breaking-boundaries {
  font-size: clamp(16px, 2vw, 24px);
  color: #ffffff;
  text-align: center;
  font-family: 'Futura Lt BT', sans-serif;
  margin-top: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s ease-in-out forwards;
}

.line-animation {
  position: relative;
  width: 100%;
  height: 15vh;
  opacity: 0;
  margin: 5vh 0;
}

.line-animation svg {
  width: 100%;
  height: 100%;
}

.line-animation path {
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000;
  stroke-width: clamp(20px, 4vw, 40px);
}

.image-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 5vh auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
}

.shoukai-image {
  width: clamp(150px, 40%, 400px);
  height: auto;
  position: absolute;
  transition: all 0.5s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  opacity: 0;
  border-radius: 15px;
}

.shoukai-image-1 {
  left: 10%;
  transform: rotate(-5deg) translateY(50px);
  z-index: 2;
}

.shoukai-image-2 {
  right: 10%;
  transform: rotate(5deg) translateY(50px);
  z-index: 1;
}

.we-are-grust-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  margin-top: 5vh;
}

.we-are-grust-container::before,
.we-are-grust-container::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  border-top: 2px dashed #fff;
}

.we-are-grust-container::before {
  top: 0;
}

.we-are-grust-container::after {
  bottom: 0;
}

.we-are-grust {
  white-space: nowrap;
  font-size: clamp(36px, 7vw, 72px);
  opacity: 0;
}

.outline-text {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

.solid-text {
  color: #fff;
}

#background-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#svgContainer {
  width: 100%;
  height: auto;
}

#svgContainer svg {
  width: 100%;
  height: auto;
  max-height: 30vh;
}

#svgContainer svg path {
  stroke: #fff;
  stroke-width: clamp(1px, 0.3vw, 3px);
  stroke-dasharray: 100%;
  stroke-dashoffset: 100%;
  transition: stroke-dashoffset 1s ease-in-out;
}

#svgContainer svg.show-stroke path {
  stroke-dashoffset: 0;
}

@media (max-width: 768px) {
  .image-container {
    flex-direction: column;
    height: auto;
  }

  .shoukai-image {
    position: relative;
    left: auto;
    right: auto;
    margin: 10px 0;
  }

  .shoukai-image-1 {
    transform: rotate(-5deg);
  }

  .shoukai-image-2 {
    transform: rotate(5deg);
  }
}

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

@keyframes scrollText {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

@keyframes drawCircleLine {
  0% {
    stroke-dashoffset: 3000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 768px) {
  .new-section {
    padding: 3vh 0;
  }

  .impact-text-container {
    width: 95%;
  }

  .impact-text {
    font-size: 24px; /* モバイル用の固定サイズ */
  }

  .breaking-boundaries {
    font-size: 16px;
  }

  .line-animation {
    height: 10vh;
  }

  .line-animation path {
    stroke-width: 180px;
  }

  .image-container {
    flex-direction: column;
    height: auto;
    margin: 3vh auto;
  }

  .shoukai-image {
    width: 80%;
    max-width: 300px;
    position: relative;
    left: auto;
    right: auto;
    margin: 10px auto;
  }

  .shoukai-image-1 {
    transform: rotate(-5deg);
  }

  .shoukai-image-2 {
    transform: rotate(5deg);
  }

  .we-are-grust-container {
    padding: 15px 0;
    margin-top: 3vh;
  }

  .we-are-grust {
    font-size: 120px; /* サイズを大きく */
  }

  .outline-text {
    -webkit-text-stroke: 0.5px #fff; /* 線を細く */
    color: transparent;
  }

  .we-are-grust {
    font-size: 36px;
  }

  #svgContainer svg {
    max-height: 20vh;
  }
}


/* サービスセクションのスタイル */
.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;
  }
}

.service-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-item {
  background-color: #ffffff;
  color: #333333;
  padding: 40px;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: calc(33.33% - 30px);
  height: 600px; /* 高さを増やしました */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background-color 0.5s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(3, 64, 96, 0.05);
}

.service-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.service-number {
  font-size: 60px;
  color: #034060;
  opacity: 0.2;
  margin-right: 20px;
  font-family: 'Futura Lt BT', sans-serif;
  transition: opacity 0.5s ease;
}

.service-item:hover .service-number {
  opacity: 0.5;
}

.service-header h2 {
  font-size: 28px;
  color: #034060;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  transition: color 0.5s ease;
}

.service-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666666;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  height: 150px; /* 高さを固定。必要に応じて調整してください */
}

.service-images img {
  width: 48%; /* コンテナの幅の48%を占める */
  height: 100%; /* service-imagesの高さいっぱいに */
  object-fit: cover; /* アスペクト比を保ちながら、指定サイズに収まるようにします */
  border-radius: 10px; /* 角を丸くします */
}
.image-placeholder {
  background-color: #e9ecef;
  width: 48%;
  padding-top: 30%;
  border-radius: 10px;
  transition: background-color 0.5s ease;
}

.image-placeholder {
  background-color: #e9ecef;
  width: 48%;
  height: 100%; /* service-imagesの高さいっぱいに */
  border-radius: 10px;
  transition: background-color 0.5s ease;
}

.service-item:hover .image-placeholder {
  background-color: rgba(3, 64, 96, 0.1);
}

.service-button-container {
  text-align: center;
}

.service-button {
  background-color: #034060;
  color: #ffffff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  text-decoration: none;  /* リンクの下線を削除 */
  cursor: pointer;  /* カーソルをポインターに */
  transition: all 0.5s ease;
}

.service-item:hover .service-button {
  background-color: #ffffff;
  color: #034060;
  box-shadow: 0 5px 15px rgba(3, 64, 96, 0.3);
  text-decoration: none;  /* ホバー時も下線を表示しない */
}

.service-button::after {
  content: '→';
  margin-left: 10px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.service-button:hover::after {
  transform: translateX(5px);
}



@media (max-width: 768px) {
  .service-title-container {
    margin: 60px auto 60px; /* モバイル画面では余白を少し小さくする */
  }
  
  .service-section {
    padding: 0 20px 60px; /* モバイル画面では下部のパディングも調整 */
  }
}

@media (max-width: 1200px) {
  .service-item {
      width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .service-item {
      width: 100%;
  }
}

/* アニメーション */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* PEOPLEセクションのスタイル */
.people-section {
    background-color: #034060;
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
    text-align: center;
    position: relative;
}

.section-title .title-bg {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.1);
    display: block;
}

.section-title .title-main {
    font-size: 60px;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.people-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.people-image {
    width: 100%;
    height: 300px; /* 高さを調整 */
    object-fit: cover;
    object-position: top center;
}

.people-info {
    padding: 15px;
    text-align: center;
}

.people-name {
    font-size: 18px;
    margin: 0 0 5px;
    color: #034060;
}

.people-position {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px;
}

.people-role {
    font-size: 14px;
    color: #034060;
    font-weight: bold;
    margin: 0;
}

.button-container {
    text-align: center;
}

.details-button {
    display: inline-block;
    background-color: transparent;
    color: #ffffff;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.details-button:hover {
    background-color: #ffffff;
    color: #034060;
}

/* レスポンシブデザイン用 */
@media (max-width: 1200px) {
    .people-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .people-grid {
        grid-template-columns: 1fr;
    }
    
    .people-image {
        height: 350px;
        object-position: center;
    }
}

.company-section {
  background-color: #f8f9fa;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.company-title-container {
  max-width: 1200px;
  margin: 80px auto 80px;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.company-title {
  position: relative;
  font-family: 'Futura Lt BT', sans-serif;
  line-height: 1;
  text-align: center;
}

.company-title .title-bg {
  font-size: clamp(60px, 10vw, 120px);
  color: #e9ecef;
  display: block;
  position: relative;
  z-index: 1;
}

.company-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;
}

.company-title .title-bg span {
  display: inline-block;
  opacity: 0;
}

.company-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.company-item {
  background-color: #034060;
  color: #ffffff;
  border-radius: 20px;
  text-align: center;
  padding: 40px 30px;
  width: 46%;
  height: 600px; /* サービスアイテムと同じ高さに設定 */
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.company-item:hover {
  transform: translateY(-10px) rotate(3deg) scale(1.05); /* 傾きと拡大縮小を追加 */
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.company-item h2 {
  font-size: 28px;
  font-family: 'Futura Lt BT', sans-serif;
  margin-bottom: 20px;
  position: relative;
  letter-spacing: 2px;
}

.company-item h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.company-item:hover h2::after {
  width: 80px;
}

.company-image-container {
  position: relative;
  margin-bottom: 10%;
  overflow: hidden;
  border-radius: 15px;
  height: 400px; /* 画像コンテナの高さを増やす */
}

.company-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.company-item:hover .company-image {
  transform: scale(1.1);
}

.company-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.company-item:hover .company-logo {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.company-logo img {
  width: 100%;
}

.company-button {
  background-color: #00557f;
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  outline: none;
  margin-top: auto; /* ボタンを下部に配置 */
}

.company-button {
  background-color: #00557f;
  color: #ffffff;
  padding: 15px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none; /* 下線を消す */
  outline: none;
}

.company-button span {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.company-button:hover span {
  transform: translateX(-5px);
}

.company-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.company-button:hover::before {
  transform: translateX(0);
}

.company-button:hover {
  color: #00557f;
  text-decoration: none; /* ホバー時も下線を消す */
}

.button-arrow {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: all 0.3s ease;
}

.company-button:hover .button-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .company-container {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
  }

  .company-item {
    width: 90%;
    max-width: 400px;
    margin-bottom: 40px;
    height: auto;
  }

  .company-image-container {
    height: 300px;
  }

  .company-item h2 {
    font-size: 24px;
  }

  .company-button {
    font-size: 16px;
    padding: 12px 20px;
  }

  .company-logo {
    width: 70%;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .company-item {
    width: 95%;
  }

  .company-image-container {
    height: 250px;
  }

  .company-item h2 {
    font-size: 22px;
  }

  .company-button {
    font-size: 14px;
    padding: 10px 18px;
  }
}


.line-animation {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(-50%);
}




.top-message-section {
  background-color: #034060;
  padding: 120px 0;
  overflow: hidden;
position: relative;
  overflow: hidden;
}

.radial-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title-container {
  margin-bottom: 80px;
  position: relative;
}

.section-title {
  position: relative;
  font-family: 'Futura Lt BT', 'Noto Sans JP', sans-serif;
  line-height: 1;
  text-align: center;
}

.section-title .title-bg {
  font-size: clamp(60px, 10vw, 120px);
  color: rgba(255, 255, 255, 0.1);
  display: block;
  position: relative;
  z-index: 1;
}

.section-title .title-main {
  font-size: clamp(24px, 3vw, 36px);
  color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-weight: bold;
  opacity: 0;
}

.section-title::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(3, 64, 96, 0.7);
  z-index: 1;
}

.top-message, .recruit-section {
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.message-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.person-image {
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.message-text, .recruit-content {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  font-size: 18px;
  line-height: 1.6;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.message-text:hover, .recruit-content:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.message-text {
  width: 50%;
}

.recruit-content, .recruit-image {
  margin-bottom: 40px;
}

.recruit-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.join-to-grust {
  text-align: center;
  margin-top: 80px;
}

.join-to-grust p {
  font-size: 24px;
  margin-bottom: 30px;
  color: #ffffff;
}

.button {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  padding: 15px 40px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: #ffffff;
  transition: all 0.3s ease;
  z-index: -1;
}

.button:hover::before {
  width: 100%;
}

.button:hover {
  color: #034060;
}

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

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

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

.sticky-button {
    position: fixed;
    right: 20px; /* 右からの距離を調整 */
    bottom: 20px; /* 下からの距離を調整 */
    z-index: 1000; /* ボタンを最前面に表示 */
}

.sticky-button .button {
    background-color: #0785c9; /* ボタンの背景色 */
    color: #fff; /* 通常時の文字色を白に */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease; /* 色のアニメーション */
}

.sticky-button .button:hover {
    background-color: #fff; /* ホバー時の背景色を白に */
    color: #0785c9; /* ホバー時の文字色をボタンの元の背景色に変更 */
}