@charset "utf-8";

#loading {
    position: fixed;
    z-index: 9999;
    background: #fff;
    width: 100vw;
    height: 100dvh;
    top: 0; left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeOut 1.5s 5.25s forwards;
  }
  
  .loading-img {
    width: 240px;
    height: 240px;
    object-fit: contain;
    display: block;
  }

  .rotating {
    animation: logoFade 2s linear infinite;
  }

  @keyframes fadeOut {
    0%   {opacity: 1;}
    100% {opacity: 0;
          visibility: hidden;}
}

  @keyframes logoFade {
    0%   { opacity: 0;}
    60%  { opacity: 1;}
    100% { opacity: 0;}
  }

.index-hero {
  max-width: 1000px;
  display: block;
  padding: 1.5rem 0 2.25rem;
  margin: 0 auto;
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: 6px;
  color: #ffffff;
  text-shadow: 2px 2px 2px #677589;
}


/* == ポメラニアンの画像 == */
.slider {
  position: relative;

  width: 440px;
  margin: 0 auto;
}

.slider img:first-child {
  position: absolute;

  /* animation: top-img 5s linear infinite; */

  animation-name: top-img;
  animation-duration: 5s;
  animation-delay: 8s;
  animation-fill-mode: forwards;
  
}

@keyframes top-img {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.slider img:last-child {
  opacity: 0;

  /* animation: btm-img 5s linear infinite; */

  animation-name: btm-img;
  animation-duration: 5s;
  animation-delay: 10s;
  animation-fill-mode: forwards;
}

@keyframes btm-img {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* == ポメラニアンの画像 ここまで　== */

.intro-txt {
    padding: 10rem 0;
    font-size:  2rem;
    font-weight: 400;
    letter-spacing: 0.25rem;
    line-height: 1.75;
    color: #ffffff;
    text-shadow: 2px 3px 3px #533127;
    background-image: url(../images/logo_sample4.png);
    background-repeat: no-repeat;
    background-position: center;
}

.news-list {
    padding-bottom: 2.5rem;
    font-size: 1.25rem;
}

.image-list {
    padding-left: 0;
    list-style-type: none;
}

.image-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 0;
    font-size: 0.5em;
}

.image-list {
    grid-template-columns: repeat(5, 1fr);
}

.more {
    display: flex;
    justify-content: right;
    font-size: 1.2rem;
}
