.sp-only {
  display: none;
}

/* 背景自動切換え */
.bg-slideshow {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: -webkit-fill-available;
  overflow: hidden;
}

.bg-slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-size: cover;
  background-position: center center;
}

.bg-slideshow-image1 {
  background-image: url(../image/background-top1.png);
  animation-name: image-switch-animation, ink-animation;
  animation-duration: 40s, 10s;
  animation-delay: 0s, 0s;
  animation-timing-function: linear, ease-out;
  animation-iteration-count: infinite, infinite;
  animation-fill-mode: none, forwards;
}

.bg-slideshow-image2 {
  background-image: url(../image/background-top2.png);
  animation-name: image-switch-animation, ink-animation;
  animation-duration: 40s, 10s;
  animation-delay: 10s, 10s;
  animation-timing-function: linear, ease-out;
  animation-iteration-count: infinite, infinite;
  animation-fill-mode: none, forwards;
}

.bg-slideshow-image3 {
  background-image: url(../image/background-top3.png);
  animation-name: image-switch-animation, ink-animation;
  animation-duration: 40s, 10s;
  animation-delay: 20s, 20s;
  animation-timing-function: linear, ease-out;
  animation-iteration-count: infinite, infinite;
  animation-fill-mode: none, forwards;
}

.bg-slideshow-image4 {
  background-image: url(../image/background-top4.png);
  animation-name: image-switch-animation, ink-animation;
  animation-duration: 40s, 10s;
  animation-delay: 30s, 30s;
  animation-timing-function: linear, ease-out;
  animation-iteration-count: infinite, infinite;
  animation-fill-mode: none, forwards;
}

@keyframes image-switch-animation {
  0% {
    opacity: 0;
  }
  1% {
    opacity: 1;
  }
  24% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* インクアニメーション */
@keyframes ink-animation {
  0% {
    filter: blur(20px);
    transform: scale(0.8);
    clip-path: circle(0% at 50% 50%);
  }

  20% {
    filter: blur(5px);
    transform: scale(1.05);
    clip-path: circle(80% at 50% 50%);
  }

  100% {
    filter: blur(0px);
    transform: scale(1);
    clip-path: circle(150% at 50% 50%);
  }
}

/* ページ内容 */
.top-logo {
  display: none;
}

.top-section {
  width: fit-content;
  margin-top: 5rem;
}

.page-title {
  font-size: 7.5rem;
}

.page-title-comment {
  width: 60%;
  max-width: 400px;
  font-size: 2rem;
  text-align: left;
  margin-left: auto;
  margin-right: 0;
}

@media screen and (max-width: 767px) {
  .header {
    position: static;
  }

  .layout-wrapper {
    background-image: none!important;
  }

  .site-content {
    padding-left: 0;
    padding-right: 0;
  }

  .bg-slideshow {
    position: fixed;
    min-height: 100vh;
    height: 100%;
    width: 100%;
    z-index: -1;
  }

  .sp-top-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .top-section {
    margin-top: 0 !important;
    width: 95%;
  }

  .top-logo {
    display: block;
    max-width: 200px;
    margin-bottom: 3rem;
    margin-left: auto;
    margin-right: auto;
  }

  .sp-only {
    display: flex;
    flex-direction: column;
  }

  .pagination {
    display: none;
  }
}
