
.company_info-catch {
  margin-top: 5em;
  height: 60vh;
}

.text-progress {
  position: relative;
  width: 100%;
  height: auto;
  line-height: 150%;
  margin: 0 auto;
  font-size: 32px;
  font-family: "Libre Baskerville", "Zen Old Mincho", "Baskerville", "Georgia", "Times New Roman", serif;
  text-align: center;
  color: #333;

  background-image: linear-gradient(
		70deg,
		#333  45%, 
		#92D1EB 50%,
    #ADE1DA 51%,
    #CCEEB3 52%,
		#333 55% 
	  );
  background-size: 500% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 6s;
  animation-delay: -0.5s;
}
.text-progress.text--large {
  font-size: 48px;
  margin-top: 80px;
  font-family: "Zen Old Mincho", "Baskerville", "Georgia", "Times New Roman", serif;
  letter-spacing: 0.1em;
}

@keyframes shine {
	0% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

/**/

@keyframes fadeInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


section.top {
  height: 100vh;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.top_title {
  position: absolute;
  opacity: 0;
  transform: scale(0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  object-fit: cover;

  width: 100%;
  height: 100%;
  object-fit: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  animation: showTitle 1s ease-out forwards;
}

.top_title::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.356); /* 黒の透過 */
  z-index: 1;
}

.vision-textbox {
  position: relative;
  z-index: 2;
  margin-left: 2em;
  color: #fff;

  opacity: 0; /* 初期は非表示 */
  transform: translateX(-50px); /* 初期位置 */
  transition: opacity 0.3s, transform 0.3s;
}

.vision-textbox-values {
  margin-left: 0 !important;

}

.vision-textbox.animate-in {
  animation: fadeInFromLeft 1s ease-out forwards;
}

.vision-textbox h1 {
  font-family: "Libre Baskerville", "Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1.5em;
  font-weight: normal;
}

.vision-textbox h3 {
  font-family: "Zen Old Mincho", "Baskerville", "Georgia", "Times New Roman", serif;
  font-size: 1em;
  font-weight: normal;
}

.vision-textbox p {
  font-family: "Noto Sans JP", 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0.15em;
}

.vision-values-h1 {
  margin-top: 1em;
  text-align: center;
}

.vision-values-h3 {
  font-family: "Libre Baskerville", "Baskerville", "Georgia", "Times New Roman", serif !important;
  font-size: 0.8em !important;
  margin: 0;
}

.vision-values-textArea {
  display: flex;
  justify-content: center;
  gap: 4em;
}

.vision-values-left {
  margin-bottom: 1em;
  margin-left: 2em;
}

.vision-values-right {
  margin-bottom: 1em;
  margin-right: 2em;
}

.title1 {
  background-image: url(images/mission\ 1.png);
}

.title2 {
  background-image: url(images/vision\ 1.png);
}

.title3 {
  background-image: url(images/value2\ 1.png);
}

.title4 {
  background-image: url(images/culture2\ 1.png);
}


/*********************会社概要タブエリアここまで*********************/

.scroll_down {
  width: 100%;
  height: 25vh;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; /* 必要なら保持 */
}

.scroll_down:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(180deg,rgba(#000, 0) 0, rgba(#000, .8) 80%, rgba(#000, .8) 100%);
  }

.scroll_down a {
  display: flex;
  position: relative; /* absolute を relative に */
  width: 13px;
  padding: 10px 10px 110px;
  margin: 30px auto;
  color: #333;
  font-size: 14px;
  font-family: 'Josefin Sans', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  writing-mode: vertical-lr;
  transition: .2s;
  overflow: hidden;
}

.scroll_down a:before,
.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  transform: translateX(-50%);
}

.scroll_down a:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #ddd;
}

.scroll_down a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 100px;
  background: #555;
}

.scroll_down a:hover {
  opacity: .5;
}

#type01 a:after {
  animation: sdl01 1.5s cubic-bezier(1, 0, 0, 1) infinite;
}

@keyframes sdl01 {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  50.1% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


/* 初期状態（非表示） */
.fade-target {
  opacity: 0;

  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示アニメーション */
.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* 非表示アニメーション */
.fade-out {
  opacity: 0;
  transform: translateY(30px);
}

/****************/

@media (max-width: 1055px) {
  .text-progress {
    font-size: 28px;
  }

  .text-progress.text--large {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .text-progress {
    font-size: 26px;
  }

  .text-progress.text--large {
    font-size: 32px;
  }

  .vision-textbox {
    margin-left: 0;
    margin: 0 1em;
  }
}



@media screen and (max-width: 768px) {
  .vision-textbox-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 90%;
    margin-left: 1em !important;
    margin-top: 7em;
  }



  .vision-values-textArea {
    position: relative;
    width: 100%;
    min-height: 100vh; /* 高さ調整してね */
    overflow: hidden;
  }

  .vision-values-leftArea,
  .vision-values-rightArea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    margin-top: 0em;
  }

  .vision-values-left {
    margin-right: 2em;
  }

  .vision-values-right {
    margin-left: 2em;
  }
}


@media (max-width: 530px) {
  .vision-values-textArea {
    gap: 1em;
  }

  .vision-values-left,
  .vision-values-right {
    margin-right: 0;
    margin-left: 0;
    margin: 0 auto 1em auto;
  }
}

@media (max-width: 435px) {
  .vision-values-left,
  .vision-values-right {
    margin-right: 0;
    margin-left: 0;
    margin: 0 auto 1em auto;
  }
}