@charset "utf-8";
/* CSS Document */
#sec4 {
  background-image: url("images/sec4back.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 0;
}
.sec4container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 50px;
  overflow: hidden;
}
.text-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: clamp(10px, 3vw, 16px);
  line-height: 25px;
}
.text-block span {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
  transition-delay: var(--delay);
  margin: 0 -100px 0 0;
}
.text-block.visible span {
  opacity: 1;
  transform: translateY(0);
}
.text-block strong {
  font-weight: bold;
}
.text-block .bigger {
  font-size: 1.5em;
  font-weight: bold;
  color: #ff6600;
}
.image-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.image-item {
  max-width: 300px;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}
.image-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.image-item:nth-child(1) {
  margin: 30px 0 0 -180px;
  transition-delay: 0.5s;
}
.image-item:nth-child(2) {
  margin: -50px -80px 20px 0;
  transition-delay: 1.0s;
}
.image-sp {
  display: none;
}
@media (max-width: 600px) {
  .image-item {
    display: none;
  }
  .image-sp {
    display: block;
    width: 90%;
    margin: 0 auto 0 auto;
  }
  .sec4container {
    flex-direction: column;
    padding: 30px 0;
  }
  .text-block {
    margin: 0 0 0 -90px;
  }
}