@charset "utf-8";
.mainvisual{
  margin: 0 auto;
  padding-bottom: 30px;
  background: var(--page_color_thin);
}
.mainvisual h1{
  width: fit-content;
  font-size: 180%;
  letter-spacing: 1px;
  line-height: 1.7;
  font-weight: normal;
  color: #fff;
  padding: 20px 10px;
  position: relative;
  z-index: 0;
}
.mainvisual h1::before{
  content: '';
  width: 120%;
  height: 100%;
  background: var(--page_color);
  position: absolute;
  top: 0%;
  right: 100%;
  z-index: -1;
  transition: all 0.5s ease-in-out;
}
.mainvisual.active h1::before{
  right: -10%;
}
.lead{
  padding: 0 10px 30px;
  margin-bottom: 30px;
  background: var(--page_color_thin);
}
.lead .text{
  letter-spacing: 1px;
  line-height: 2;
  margin-bottom: 10px;
}
.lead .text span{
  display: inline-flex;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.lead .text span::before{
  content: '';
  width: 100%;
  height: 20%;
  background: #ffc8a3;
  position: absolute;
  bottom: 5%;
  right: 100%;
  z-index: -1;
  transition: all 0.5s ease-in-out;
}
.lead.active span::before{
  right: 0%;
}
.link-list{
  margin-bottom: 120px;
}
.link-list ul{
  width: 95%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
}
.link-list ul li{
  width: 90%;
  margin-bottom: 50px;
  position: relative;
  z-index: 0;
}
.link-list ul li:nth-last-of-type(odd){
  margin: 0 0 50px auto;
}
.link-list ul li:nth-last-of-type(odd) p{
  text-align: right;
  margin: 0 0 0 auto;
}
.link-list ul li .name{
  display: block;
  width: fit-content;
  font-size: 125%;
  letter-spacing: 1px;
  line-height: 2;
  background: linear-gradient(transparent 70%, var(--item-color) 70% 85%, transparent 85%);
}
.link-list ul li .phrase,
.link-list ul li:nth-last-of-type(odd) .phrase{
  margin-bottom: 10px;
}
.link-list ul li .img-box{
  width: 100%;
  height: auto;
  aspect-ratio: 17/9;
  position: relative;
  overflow: hidden;
}
.link-list ul li .img-box img{
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.link-list ul li a{
  display: block;
  color: #535353;
  color: #000;
}
.link-list ul li a p{
  text-align: center !important;
  padding: 7px 0px 10px;
  background: var(--item-color);
}

/* TOPスクリプト */
@keyframes carousel-left {
  from {
      left: 0;
  }
  to {
      left: -10%;
  }
}
@keyframes carousel-right {
  from {
      left: 0;
  }
  to {
      left: 10%;
  }
}
@keyframes carousel-up {
  from {
      top: 0;
  }
  to {
      top: -10%;
  }
}
@keyframes carousel-zoom {
  from {
      transform: scale(1);
  }
  to {
      transform: scale(2);
  }
}
@keyframes carousel-fade-in {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
@keyframes carousel-fade-out {
  from {
      opacity: 1;
  }
  to {
      opacity: 0;
  }
}
@keyframes carousel-width {
  from {
      width: 0;
  }
  to {
      width: 100%;
  }
}
@keyframes carousel-gradient-up {
  0% {
      background-position: 0% 0%;
  }
  100% {
      background-position: 0% 100%;
  }
}
@keyframes carousel-gradient-left {
  0% {
      background-position: 0% 0%;
  }
  100% {
      background-position: 100% 0%;
  }
}
@keyframes carousel-gradient-right {
  0% {
      background-position: 100% 0%;
  }
  100% {
      background-position: 0% 0%;
  }
}
.carousel {
  position: relative;
  height: 30vh;
  overflow: hidden;
  z-index: 0;
}
.carousel .carousel-element {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.carousel .carousel-element img, .carousel .carousel-element video {
  width: 100%;
  position: absolute;
  animation-duration: 10s;
  animation-timing-function: cubic-bezier(0, 1, 0, 1);
  animation-fill-mode: both;
  animation-name: carousel-left;
  transform: scale(1.2);
}
.carousel .carousel-indicators {
  position: absolute;
  bottom: 1em;
  width: 100%;
  padding-right: 1em;
  box-sizing: border-box;
  text-align: right;
}
.carousel .carousel-indicator {
  display: inline-block;
  box-sizing: border-box;
  min-width: 1rem;
  min-height: 1rem;
  font-size: 0.5em;
  font-weight: bold;
  line-height: 1;
  color: #ffffff;
  border-color: #ffffff;
  border-style: solid;
  border-width: 0.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  background-color: rgba(255,255,255,0);
  transition: background-color 500ms ease 0s;
  text-align: center;
}
.carousel .carousel-indicator.active {
  color: #888888;
  background-color: rgba(255,255,255,1);
}
.carousel .carousel-start {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  animation: carousel-fade-in 1000ms linear 0s 1 both,
  carousel-fade-out 500ms linear 1000ms 1 forwards;
}
.carousel .carousel-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 1em;
  background-color: #00ff00;
  animation: carousel-width 1000ms linear 0s 1 both;
}
.carousel .carousel-front {
  position: absolute;
  left: 0;
  bottom: 0;
  display: none;
}
.carousel .carousel-overlay {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}