@charset "UTF-8";

.topbar {
  background-color: #FCD225;
  line-height: 48px;
  text-align: center;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
}

#movie {
  height: 650px;
  background-color: rgb(221, 221, 221);
}

.top_logo {
  width: 59%;
  max-width: 276px;
}

.top_point {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;

  & li {
    display: grid;
    align-items: center;
    width: 31%;
    font-size: 3.2rem;
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 700;
    color: #5CB531;
    border-radius: 100%;
    border: 5px solid;
    aspect-ratio: 1 / 1;
  }
}

#aboutus {
  position: relative;
  margin-bottom: 140px;
}

.topbg {
  background: url(/img/top-bg.jpg) center top no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;

  &::after {
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2;
    background-color: #fff;
    opacity: 0.8;
    animation: bg-change 2.5s forwards;
  }

  & .w-base {
    position: relative;
    z-index: 3;
    animation: logo-change 2.5s forwards;
  }
}

@keyframes bg-change {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0;
  }

  80% {
    opacity: 0.8;
  }

  100% {
    opacity: 0.8;
  }
}

@keyframes logo-change {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 1;
  }
}


#dogrun {
  position: relative;
}

#dog_01 {
  position: absolute;
  width: 160px;
  right: calc(50% - 500px);
  top: -140px;
}

#dog_02 {
  position: absolute;
  width: 138px;
  top: 143px;
  left: calc(50% - 515px);
}

#dog_03 {
  position: absolute;
  width: 90px;
  bottom: -60px;
  left: calc(50% - 345px);
}

#dog_04 {
  position: absolute;
  width: 90px;
  bottom: 0px;
  right: calc(50% - 520px);
}

#news {
  position: relative;
}

.dogrun_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

  & div {
    width: 48%;
  }
}

.txt32_g {
  font-size: 3.2rem;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 700;
  line-height: 1.8;
  color: #5CB531;
}

#btn-group {
  & div:first-of-type {
    background-color: #5CB531;
    padding: 100px 0;
  }

  & div:last-of-type {
    background-color: #FCD225;
    padding: 100px 0;

    & li span {
      color: #707070;
    }
  }
}

.btn2 {
  display: block;

  & :hover {
    opacity: .9;
    transition: .2s;
  }
}

.btn_area {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
  background-color: #F5EFE2;
  border: #fff solid 5px;
  align-items: center;

  & li {
    width: 50%;
  }

  & li span {
    position: absolute;
    display: flex;
    right: 10px;
    bottom: 10px;
    font-size: 1.2rem;
    color: #fff;
  }

  & li span::after {
    font-family: 'Material Icons Round';
    content: "\e5cc";
    padding-top: 1px;
  }
}

.slide_wrap {
  display: flex;
  align-items: center;
  height: 340px;
  overflow: hidden;
}

.slideshow {
  animation: loop-slide 50s infinite linear 1s both;
  display: flex;

  & li {
    width: 310px;
    height: 310px;
    margin: 0 25px;
  }
}

@keyframes loop-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 1029px) {
  #dog_04, #dog_01 {
    right: 0%;
  }

  #dog_02 {
    left: 0%;
  }
}

@media screen and (max-width: 829px) {
  .topbar {
    background-color: #FCD225;
    padding: 12px 5%;
    line-height: 1.5;
    font-size: 1.4rem;
  }

  .top_point {
    display: none;
  }

  #aboutus{
    margin-bottom: 60px;
  }
  
  #dog_01 {
    width: 80px;
    left: 11%;
    top: -24px;
  }

  #dog_02 {
    width: 70px;
    right: 11%;
    left: auto;
    top: -40px;
    bottom: auto;
  }

  #dog_03 {
    width: 46px;
    bottom: -62px;
    left: 17%;
  }

  #dog_04 {
    width: 46px;
    bottom: 0px;
    right: 14%;
  }

  .dogrun_wrap {
    & div {
      width: 100%;
    }
  }

  .txt32_g {
    font-size: 2.2rem;
  }

  .btn_area {

    & li {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    & li:first-of-type {
      aspect-ratio: 2.3 / 1;
    }
  }

  .slide_wrap {
    height: auto;
  }

  .slideshow {
    & li {
      width: 260px;
      height: auto;
      margin: 0 20px;
    }
  }
}