.mainvisual {
  display: flex;
}

.mainvisual-row-left,
.mainvisual-row-right {
  width: 4.2%;
}

.mainvisual-row-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mainvisual-row-left p {
  min-width: unset;
  white-space: nowrap;
}

.siteurl {
  transform: rotate(90deg);
  letter-spacing: 4.8px;
}

.mainvisual-row-center {
  position: relative;
  flex-basis: 91.6%;
}

@keyframes zoomUp {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.2);
  }
}

.add-animation {
  animation: zoomUp 10s linear 0s normal both;
}

.mainvisual-image img {
  width: 100%;
  height: calc(85vh - 60px);
  min-height: 420px;
  object-fit: cover;
}
.slick-list {
  background: #fff;
}

.subject-area {
  position: absolute;
  bottom: 0;
  left: 5%;
  width: 70%;
}

.pc-subject {
  display: block;
}

.tab-subject {
  display: none;
}

.subject-tit {
  margin-top: 40px;
}

.subject-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 50px;
}

.subject-buttons a {
  position: relative;
  flex-basis: 360px;
  padding: 20.5px 0;
  display: inline-block;
  text-align: center;
  transition: .3s;
}

.mainvisual-bottom {
  position: relative;
  height: 12vh;
  min-height: 70px;
  width: 100%;
}

.mainvisual-blank {
  position: relative;
  z-index: -1;
  top: -15vh;
  height: 15vh;
  min-height: 90px;
  width: 100%;
}

.scrolldown {
  position: absolute;
  right: 0%;
  bottom: 3.8vh;
  height: 50px;
}

.scrolldown::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  right: 30px;
  height: 8.5vh;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

.scrolldown span {
  position: absolute;
  right: -15px;
  top: -7vh;
  letter-spacing: 4.8px;
  transform: rotate(90deg);
  white-space: nowrap;
}

@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:5vh;
		opacity: 1;
	}
	100%{
		height:0;
		top:8vh;
		opacity: 0;
	}
}

@media(max-width: 1130px) and (min-width: 768px) {
  .subject-buttons {
    width: 700px;
  }
}

@media(max-width: 1024px) and (min-width: 768px) {
  .mainvisual-row-left p {
    display: none;
  }
  
  .mainvisual-image img {
    height: calc(60vh - 120px);
  }
  
  .mainvisual-bottom {
    height: 40vh;
  }
  
  .pc-subject {
    display: none;
  }

  .tab-subject {
    display: block;
  }
  
  .subject-area {
    position: relative;
    top: -10vh;
    width: 91%;
  }
  
  .subject-buttons {
    width: 95%;
    max-width: 700px;
    flex-wrap: unset;
  }
}

@media(max-width: 767px) {
  .mainvisual-blank {
    top: unset;
  }
  .mainvisual-row-center {
    flex-basis: unset;
    padding-bottom: 4.5vh;
  }
  .subject-area {
    position: relative;
    left: 0;
    bottom: 1.5%;
    width: 100%;
  }

  .tab-subject {
    display: none;
  }
  .subject-tit {
    text-align: center;
    margin-top: 4vh;
  }
  .mainvisual-image {
    margin-bottom: unset;
  }
  .mainvisual-image img {
    height: 352px;
  }
  .subject-subtit {
    width: 65%;
    margin: auto;
    text-align: center;
  }
  
  .subject-buttons a {
    transition: none;
  }
}

@media(max-height: 600px) {
  .mainvisual-blank {
    top: -90px;
    height: 180px;
  }
  
  .scrolldown {
    bottom: 0;
  }
  
  .scrolldown span {
    top: -60px;
  }
  
  @keyframes pathmove{
    0%{
      height:0;
      top:0;
      opacity: 0;
    }
    30%{
      height:30px;
      opacity: 1;
    }
    100%{
      height:0;
      top:50px;
      opacity: 0;
    }
  }
}