/* ページ固有のスタイル */

/* Hero Section のスタイル */
.hero-section {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-description {
  max-width: 800px;
  line-height: 1.8;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 3rem;
}

.hero-description-white {
  max-width: 800px;
  line-height: 1.8;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 3rem;
}

.hero-title-container {
  margin-top: 10rem;
}

.hero-title-container-white{
  color: white;
}

.title-text {
  font-size: 4.5rem;
  line-height: 1.2;
  margin: 0.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .title-text {
    font-size: 3rem;
  }
  
  .hero-section {
    padding: 4rem 1.5rem;
  }
}

.animation-hero{
  background-color: gray;
  position: absolute;
  right: 0px;
  height: 300px;
  width: 300px;
  bottom: 0px;
}

.animation-space{
  background-color: white;
  position: absolute;
  right: 700px;
  height: 300px;
  width: calc(100% - 700px);
  bottom: 0px;
  z-index:5;
}

/* 幾何学的な背景 */

.dark-geometric-bg {
  position: relative;
  background-color: #1a1a1a;
  overflow: hidden;
}

.dark-geometric-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(50, 50, 50, 0.2) 0%, rgba(30, 30, 30, 0) 50%);
  z-index: 0;
}

/* VISIONセクションのスタイル */
.vision-section {
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.vision-content {
  position: relative;
  z-index: 2;
}

.vision-item, .mission-item, .value-item {
  position: relative;
}

.vision-item, .value-item {
  margin: 150px 300px;
  padding: 2rem 1rem;
  overflow: visible;
}

.vision-title, .mission-title, .value-title {
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.4;
  padding: 0.2rem 0;
}

.vision-subtitle, .mission-subtitle, .value-subtitle {
  font-size: clamp(1.5rem, 1vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  margin-top: 1rem;
  color: #333;
  white-space: nowrap;
  overflow: visible;
  line-height: 1.3;
  padding: 0.5rem 0;
  word-break: keep-all;
}

.vision-description, .mission-description, .value-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  max-width: 800px;
}

.mission-item {
  border-radius: 8px;
  padding: 2rem 0;
  margin: 2rem 0;
  overflow: visible;
}

/* MISSIONアイテムのコンテナとレイアウト */
.mission-container {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  min-height: 500px;
}

.mission-image-container {
  flex: 0 0 300px;
  position: relative;
  margin-right: -50px;
  z-index: 10;
}

.mission-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-content {
  flex: 1;
  border-radius: 8px;
  padding-left: 80px;
  display: flex;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.mission-content > .mission-content-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 80px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  min-height: 100%;
}

/* サービスページ */
.service-card {
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-placeholder {
  height: 150px;
  background-color: rgba(255, 255, 255, 0.05);
}

.service-list {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  min-height: 400px;
  position: relative;
}

.service-list h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-list h4 {
  font-size: 30px;
  margin-bottom: 10px;
}

.service-list p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* サービスタイトル */
.service-title-container {
  position: relative;
  padding-top: 20px;
}

.service-image {
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

.service-number {
  position: absolute;
  top: -80px;
  left: 0;
  font-size: 8rem;
  color: white;
  font-weight: bold;
}

.service-title-container h2 {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding-left: 60px;
}

.service-container{
  position: relative;
  z-index: 1;
}

.service-text {
  margin: 30px 60px;
  /* typography */
  font-size: 1.2rem;
  line-height: 1.625;   /* leading-relaxed (text-2xl の既定 2rem を上書き) */
  font-weight: 550;     /* font-semibold */
}

/* 採用ページ */
.recruit-top{
  text-align: center;
  font-size: 3rem;
}

.recruit-content-wrapper{
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 0px;
  flex-wrap: wrap;
}

.recruit-content-wrapper > .view-more-button{
  position: absolute!important;
  bottom: 150px;
  left: 70px;
}

.recruit-card{
  margin: 20px;
  border-radius: 10px;
  overflow: hidden;
  width: 90%;
  height: 65%;
}

.recruit-charm-title{
  font-size: 33px;
  font-weight: bold;
}

.recruit-charm-title-sub{
  font-size: 20px;
  font-weight: bold;
}

.rectuit-box{
  width: 100%;
  overflow: hidden;
  margin: 30px;
  display: flex;
  flex-direction: column;
}

.rectuit-box img{
  border-radius: 35px;
  width: 100%;
  height: auto;
}

.recruit-area {
  width: 100vw;
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 5;
  overflow-x: auto;
}

.recruit-content-box{
  margin: 20px 10px 10px 10px;
  padding: 20px;
}

.recruit-content-box h3{
  font-size: 2.4rem;
}

@keyframes scrollPhotos {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-50%);
  }
}

.photo-scroller {
  will-change: transform;
}

.charm{
  padding-bottom: 140px;
}

.charm p{
  margin: 30px;
}

/* スクロールアニメーション用 */
.photo-scroller {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

@keyframes scrollPhotos {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-100%);
  }
}

/* タイムライン */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #9B2226;
  border: 2px solid #fff;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: #ddd;
}

/* フッターリンク */
.footer-link {
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #b71c1c;
}

/* 幾何学的な装飾 */
.geo-shape {
  position: absolute;
  opacity: 0.3;
}

.geo-shape.red {
  color: #b71c1c;
}

.geo-shape.blue {
  color: #0d47a1;
}

/* 背景の装飾シェイプ */
.shape {
  position: absolute;
  width: 100px;
  height: 100px;
  opacity: 0.1;
  z-index: -1;
}

.shape-1 {
  top: 10%;
  left: 5%;
  background-color: #ff0000;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-2 {
  top: 50%;
  right: 5%;
  background-color: #0000ff;
  border-radius: 70% 30% 30% 70% / 70% 30% 70% 30%;
}

.shape-3 {
  bottom: 10%;
  left: 40%;
  background-color: #ff0000;
  border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%;
}

/* 実績アイテム */
.achievement-item {
  display: flex;
  flex-direction: row;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  width: 100%;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 実績画像コンテナ */
.achievement-image-container {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  width: 35%;
  flex-shrink: 0;
  margin: 20px;
}

/* 実績画像 */
.achievement-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* 画像オーバーレイ */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.achievement-item:hover .image-overlay {
  opacity: 1;
}

.overlay-content {
  text-align: center;
  color: white;
}

.achievement-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  width: 65%;
}

.achievement-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.1);
  margin-left: 0.5rem;
}

.achievement-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.achievement-item p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .achievement-item {
    flex-direction: column;
  }
  
  .achievement-image-container {
    width: 89%;
    min-height: 200px;
  }
  
  .achievement-content {
    width: 100%;
  }
}

/* 幾何学模様コンテナ */
.geometric-shapes {
  position: relative;
}

/* 幾何学模様の形 */
.geometric-shape {
  position: absolute;
  width: 60px;
  height: 60px;
  opacity: 0.2;
  z-index: -1;
}

/* 赤い形 */
.shape-red {
  background-color: #ff0000;
}

/* 青い形 */
.shape-blue {
  background-color: #0000ff;
}

.achievement-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.achievement-item p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

/* Aboutセクション */
.about {
  background-color: #F4F4F4;
  z-index:1!important;
  padding: 200px 20px;
  position: relative;
  overflow: hidden;
  max-height: 1000px;
  padding-bottom:300px;
}

.about h2 {
  font-size: 4rem;
  font-weight: bold;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin-left: 10px;
  position: relative;
  z-index: 10;
}

.about-title {
  font-size: 2.3rem;
  font-weight: bold!important;
  margin: 1rem 0 1rem 4rem;
}

.about-text {
  line-height: 1.7;
}

.view-more {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.view-more .circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
}

.view-more .circle svg {
  width: 12px;
  height: 12px;
  fill: #000;
}

/* ニュースページ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ニュースタイトル */
.news-title {
  font-size: 1.2rem;
  font-weight: bold;
}

/* ニュースパラボラパス */
.news-parabola path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: dash 2s ease-out forwards;
}

.news-parabola path:nth-child(1) {
  animation-delay: 0s;
}

.news-parabola path:nth-child(2) {
  animation-delay: 0.3s;
}

.news-parabola path:nth-child(3) {
  animation-delay: 0.6s;
}

/* NEWSセクションのスタイル */
.news-section {
  position: relative;
  overflow: visible; /* 変更: はみ出しを許可 */
}

.news-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0px 0 0 600px;
  padding: 0; /* 変更: 両側のパディングを削除 */
  overflow: hidden; /* 変更: はみ出しを許可 */
}

.news-container > .view-more-button{
  position: absolute;
  bottom: 70px;
  left: 50px;
}

/* カードスタイル */
.news-card {
  position: relative;
  background-color: #fff;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  border-radius: 2rem 0 0 2rem;
  padding: 20px 0 20px 70px; /* 変更: 右側のパディングを削除 */
  width: calc(100% + 100px); /* 変更: 右に100px広げる */
  margin-left: 0;
  margin-right: 0; /* 変更: マージンを使用しない */
  z-index: 2;
  display:flex;
}

/* 見出し */
.news-heading {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* ニュースリスト */
.news-list {
  list-style: none;
  padding: 0;
  max-width: calc(100% - 70px); /* 変更: 右側にスペースを確保 */
  flex:1;
}

.news-item {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.news-itembox {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  height: 100px;
  background-color: gray;
  z-index: 1;
}

.news-date {
  font-size: 16px;
  margin-right: 40px;
  min-width: 120px;
}

.news-title {
  font-size: 16px;
  color: #333;
}

/* VIEW MOREボタン */
.view-more-button {
  margin-top: 40px;
  z-index: 10;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .news-grid{
    grid-template-columns: initial!important;
    margin: 50px!important;
  }

  .news-card {
      margin-right: 0;
      padding: 40px 30px;
  }
  
  .news-heading {
      font-size: 32px;
  }
  
  .background-text {
      font-size: 100px;
  }
  
  .news-item {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .news-date {
      margin-bottom: 5px;
  }
}

@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}

/* ミッションページ */
.mission {
  position: relative;
  padding: 4rem 0;
  background-color: #fff;
  overflow: hidden;
}

.mission h2 {
  position: absolute;
  z-index: 2;
  font-size: 1.8rem;
  font-weight: bold;
}

/* ニュースセクション */
.news {
  position: relative;
  padding: 4rem 0;
}

.news h2 {
  font-size: 1.8rem;
  font-weight: bold;
}

/* ビジネスページ */
.business {
  position: relative;
  padding: 4rem 0;
  background-color: #f5f5f5;
  overflow: hidden;
}

.business-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1200px;
}

.diagonal-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
}

/* サービスページ */
.service {
  position: relative;
  padding: 4rem 0;
}

.service h2 {
  font-size: 1.8rem;
  font-weight: bold;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: #f5f5f5;
  padding: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: bold;
}

.service-card h4 {
  font-size: 1rem;
  font-weight: normal;
}

.service-card p {
  font-size: 0.9rem;
  margin-top: 1rem;
} 

.flex-box{
  display: flex;
  align-items: center;
  justify-content: center;
}

.sub-title{
  font-size: 4rem;
}

.service-section{
  background-color: #111;
  padding: 120px 0 80px;
}

.achievements-section{
  background-color: #111;
}

.achievements-section-white{
  background-color: #f8f8f8;
}

/* サービスヘッダーとスクロールテキスト */
.service-header-wrapper {
  position: relative;
  margin-bottom: 2rem;
  height: 7.5rem;
}

.service-title {
  position: relative;
  z-index: 2;
}

.scrolling-text-background {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.scrolling-text {
  position: absolute;
  white-space: nowrap;
  font-size: 7.5rem;
  font-weight: bold;
  opacity: 0.45;
  color: white;
  animation: scrollText 30s linear infinite;
  letter-spacing: -0.02em;
  top: 50%;
  transform: translateY(-50%);
  width: 200%;
  text-align: left;
}

.scrolling-text-white {
  position: absolute;
  white-space: nowrap;
  font-size: 7.5rem;
  font-weight: bold;
  opacity: 0.15;
  color: #555;
  animation: scrollText 30s linear infinite;
  letter-spacing: -0.02em;
  top: 50%;
  transform: translateY(-50%);
  width: 200%;
  text-align: left;
}

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

@media (max-width: 768px) {
  .scrolling-text {
    font-size: 5.25rem;
    opacity: 0.18;
  }
  
  .service-header-wrapper {
    height: 3rem;
    z-index: 0;
  }
}

.menu{
  position: relative;
  z-index:3;
}

/* VIEW MOREボタンスタイル */
.view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: transparent;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  position: relative;
  text-decoration: none;
  min-width: 120px;
  transition: all 0.3s ease;
}

.view-more-btn .fas {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.view-more-btn:hover {
  background-color: #b71c1c;
  border-color: #b71c1c;
  color: #fff;
}

.view-more-btn:hover .fas {
  transform: translateX(3px);
}

/* 横スクロールコンテナ */
.scroll-container {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
  overflow: hidden;
  z-index: 1;
  cursor: grab;
}

.infinite-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.scroll-items {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  animation: scrollLoop 30s linear infinite;
  will-change: transform;
  user-select: none;
  transform: translateZ(0);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.scroll-items::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-320px * 5)); /* アイテム5つぶんの幅 = item width(300px) + gap(20px) */
  }
}

/* スクロールアイテム */
.scroll-item {
  flex: 0 0 auto;
  width: 300px;
  flex-shrink: 0;
  pointer-events: auto;
}

.achievement-card {
  position: relative;
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.achievement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.achievement-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.scroll-indicator {
  position: absolute;
  right: 0;
  bottom: -30px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  animation: fadeInOut 2s infinite;
}

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

.scroll-items:hover {
  animation-play-state: paused;
}

/* スクロールコンテナにマウスが乗ったときのカーソル表示 */
.scroll-container:active {
  cursor: grabbing;
}

@media (max-width: 768px) {
  .scroll-item {
    width: 250px;
  }
  
  @keyframes scrollLoop {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-270px * 5)); /* モバイル用に調整 */
    }
  }
}

/* CEOメッセージセクション */
.about-ceo-section {
  background-color: #f8f8f8;
  position: relative;
}

.about-ceo-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 3rem;
}

.about-ceo-image-container {
  padding-top: 25px;
  flex: 0 0 300px;
}

.about-ceo-image {
  width: 280px;
  height: 280px;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-ceo-content {
  flex: 1;
  padding-top: 1rem;
}

.about-ceo-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  letter-spacing: 1.5px;
  position: relative;
}

.about-ceo-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #9B2226;
}

.about-ceo-message {
  margin-bottom: 2rem;
}

.about-ceo-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.2rem;
}

.about-ceo-signature {
  text-align: right;
  margin-top: 2rem;
}

.about-ceo-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

@media (max-width: 768px) {
  .about-ceo-container {
    flex-direction: column;
    gap: initial;
  }
  
  .about-ceo-image-container {
    margin: 0 auto;
  }
}

/* 採用の流れのスタイル */
.recruitment-flow-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruitment-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
  position: relative;
}

.recruitment-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 80px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: #3b5998;
  z-index: 1;
}

.step-circle {
  width: 80px;
  height: 80px;
  background-color: #3b5998;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 40px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.step-text {
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.step-content {
  padding: 0;
  border-radius: 8px;
  flex: 1;
  margin-top: 10px;
}

.step-title {
  font-size: 25px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  background-color: #d3d3d3;
  padding: 20px 30px;
  border-radius: 8px;
  margin: 0 0 15px 0;
}

.step-description {
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0 30px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .recruitment-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .recruitment-step:not(:last-child)::after {
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    height: 40px;
  }
  
  .step-circle {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .step-content {
    margin-top: 0;
    width: 100%;
  }

}

.japanese-text{
  margin-top: 300px!important;
  font-size: 25px!important;
  font-weight: initial!important;
}

