@charset "utf-8";
/* CSS Document */

.main-visual {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
	margin-bottom: 100px;
}

.main-inner {
  display: grid;
  grid-template-columns: 40% 60%;
  max-width: 100%;
  height: 100%;
}

.main-left {
  display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeInLeft 1.5s 
ease forwards;
    animation-delay: 0.5s;
}
.main-left p {
    font-size: 1.6vw;
    margin: 10px;
}
.main-left .logo {
	width: 25%;
	height: auto;
}
.main-left p,
.main-left .logo {
  opacity: 0;
}

.main-left p:nth-child(1) {
  animation: fadeUp 1s ease forwards;
  animation-delay: 1s;
}

.main-left p:nth-child(2) {
  animation: fadeUp 1s ease forwards;
  animation-delay: 2s;
  margin-bottom: 50px;
}

.main-left .logo {
  animation: fadeUp 1s ease forwards;
  animation-delay: 3s;
}

.main-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 0 0 20px;
}

/* ふわっと */
.main-left,
.main-right {
  opacity: 0;
  transition: opacity 1.5s ease;
}

/* 表示トリガー */
.main-left.show,
.main-right.show {
  opacity: 1;
}

/* Splide画像の大きさ調整 */
.main-right img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .main-inner {
    grid-template-columns: 1fr;
	  padding: 0;
  }
  .main-left, .main-right {
    width: 100%;
	  margin-bottom: 100px;
  }
  .main-left p {
    font-size: 5vw;
}
}

/* アニメーション */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(0px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
