@charset "UTF-8";

#wrap {
  width: 100%;
  overflow-x: hidden;
}

#mv_bg {
  margin-top: -100px;
  background: #fff1e1;
}

#mv {
  /*	background:url(../img/index/mv_bg.png) no-repeat;
	background-size: cover;*/
  height: 814px;
  width: 100%;
  min-width: 900px;
  margin-top: 170px;
  z-index: 10;
  position: relative;
}

#mv #mv_bg img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 670px;
  z-index: -1;
}

#mv:before {
  content: "";
  position: absolute;
  left: 0;
  top: -35px;
  height: 718px;
  width: 100%;
  background: url(../img/index/mv_pattern.png);
}

.dog_pos {
  position: absolute;
  left: 50%;
  margin-left: -291.5px;
  top: 112px;
  z-index: 100;
  transform: scale(0.9);
}

#dog_front {
  animation: dog_front 1.5s ease-in-out;
}

#fukidashi {
  position: absolute;
  left: 50%;
  margin-left: -500px;
  top: 165px;
  animation: hand 1.5s ease-in-out forwards;
  animation-delay: 0.5s;
  transform: scale(0);
}

#mv #lead {
  position: absolute;
  left: 50%;
  margin-left: 350px;
  top: 134px;
  animation: hand 1.5s ease-in-out forwards;
  animation-delay: 0.5s;
  transform: scale(0);
}

#mv .comment {
  position: absolute;
  left: 50%;
  margin-left: -151.5px;
  top: 323px;
  z-index: 200;
  transform: scale(0);
  animation: hand 1.5s ease-in-out forwards;
  animation-delay: 0.3s;
}
#balls li img {
  transform: scale(1);
}

#balls li:nth-child(1) img {
  position: absolute;
  left: 20%;
  top: 460px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.5s;
}
#balls li:nth-child(2) img {
  position: absolute;
  left: 22.5%;
  top: 310px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.52s;
}
#balls li:nth-child(3) img {
  position: absolute;
  left: 90%;
  top: 380px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.6s;
}
#balls li:nth-child(4) img {
  position: absolute;
  left: 10%;
  top: 380px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.54s;
}
#balls li:nth-child(5) img {
  position: absolute;
  left: 15%;
  top: 290px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.58s;
}
#balls li:nth-child(6) img {
  position: absolute;
  left: 7.5%;
  top: 160px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.56s;
}
#balls li:nth-child(7) img {
  position: absolute;
  left: 70%;
  top: 190px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.48s;
}
#balls li:nth-child(8) img {
  position: absolute;
  left: 87%;
  top: 310px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.5s;
}
#balls li:nth-child(9) img {
  position: absolute;
  left: 68%;
  top: 410px;
  animation: ball 6.5s ease-in-out infinite;
  animation-delay: 1.54s;
}

@keyframes ball {
  0% {
    transform: scale(0.98) scaleX(1);
  }
  2.75% {
    transform: scale(1.1);
  }
  5.5% {
    transform: scale(1);
  }

  8.25% {
    transform: scale(0.98);
  }
  11% {
    transform: scale(1.1);
  }
  13.75% {
    transform: scale(1);
  }

  16.5% {
    transform: scale(0.98);
  }
  19.25% {
    transform: scale(1.3) scaleX(0);
  }
  22% {
    transform: scale(1);
  }

  30% {
    transform: scale(0.98);
  }
  32.75% {
    transform: scale(1.1);
  }
  35.5% {
    transform: scale(1);
  }

  38.25% {
    transform: scale(0.98);
  }
  41% {
    transform: scale(1.3) scaleX(0);
  }
  43.75% {
    transform: scale(1);
  }

  46.5% {
    transform: scale(0.98);
  }
  49.25% {
    transform: scale(1.1);
  }
  52% {
    transform: scale(1);
  }

  55.75% {
    transform: scale(0.98);
  }
  57.5% {
    transform: scale(1.3) scaleX(0);
  }
  60.25% {
    transform: scale(1);
  }

  63% {
    transform: scale(0.98);
  }
  65.75% {
    transform: scale(1.1);
  }
  68.5% {
    transform: scale(1);
  }

  71.25% {
    transform: scale(0.98);
  }
  74% {
    transform: scale(1.1);
  }
  76.75% {
    transform: scale(1);
  }

  79.5% {
    transform: scale(0.98);
  }
  81.25% {
    transform: scale(1.3) scaleX(0);
  }
  85% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.98) scaleX(1);
  }
}

@keyframes dog_front {
  0% {
    top: 223px;
    transform: scale(0);
  }
  50% {
    top: 223px;
    transform: scale(0);
  }
  60% {
    top: 112px;
    transform: scale(1.1);
  }
  70% {
    top: 112px;
    transform: scale(0.9);
  }
  75% {
    top: 112px;
    transform: scale(0.91);
  }
  80% {
    top: 112px;
    transform: scale(0.9);
  }
}
@keyframes hand {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.1);
  }
  70% {
    transform: scale(0.9);
  }
  75% {
    transform: scale(0.91);
  }
  80% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(0.9);
  }
}

#news {
  background: #fefcf7;
  position: absolute;
  text-align: center;
  font-size: 15px;
  width: 892px;
  padding: 0 16px;
  line-height: 52px;
  left: 50%;
  margin-left: -462px;
  top: 557px;
  z-index: 100;
  border-radius: 40px;
  border: 2px solid #f06c15;
  font-weight: 600;
  height: 52px;
  overflow: hidden;
}

#news li {
  margin-left: 10vw;
  transition: 0.5s;
  opacity: 0;
  height: 0;
  overflow: hidden;
  text-align: center;
}

#news li.on {
  margin-left: 0;
  transition: 0.5s;
  opacity: 1;
  height: 52px;
}
#news li p {
  position: absolute;
}
#news li p.scroll {
  /*	position: relative;*/
}
#hands li:nth-child(1) {
  position: absolute;
  left: 50%;
  margin-left: 145px;
  top: 500px;
  z-index: 150;
  transform: scale(0);
  animation: hand 1.5s ease-in-out forwards;
  animation-delay: 0.2s;
}
#hands li:nth-child(2) {
  position: absolute;
  left: 50%;
  margin-left: -245px;
  top: 500px;
  z-index: 150;
  transform: scale(0);
  animation: hand 1.5s ease-in-out forwards;
  animation-delay: 0.1s;
}

/*   lead
----------------------*/

section#lead {
  position: relative;
  background: url(../img/index/lead_bg_pat.png);
  width: 100%;
  z-index: 1;
  margin-top: -250px;
  padding-bottom: 120px;
  color: #fff;

  .soka {
    width: 946px;
    margin: 0 auto;
    padding-top: 200px;
    text-align: center;
    .inner {
      background: #ffeeca;
      border-radius: 16px;
      padding: 40px 0 48px;
      strong {
        font-size: 20px;
        color: #f06c15;
        font-weight: 700;
      }
      p {
        color: #3b1905;
        margin-top: 4px;
      }
      .btn {
        display: flex;
        align-items: center;
        width: max-content;
        gap: 12px;
        border: none;
        background: url("/img/index/bg_insta.png") no-repeat;
        background-size: cover;
        color: #fff;
        margin-top: 16px;

        img {
          width: 20px;
        }
      }
    }
  }

  .school {
    width: 946px;
    margin: 0 auto;
    padding-top: 32px;
  }
}

#lead h2 {
  font-size: 46px;
  padding-top: 72px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
}

section#lead .img_list {
  width: 990px;
  margin: 56px auto 0;
}

section#lead .img_list li {
  float: left;
  text-align: center;
  font-weight: 600;
  transform: scale(0);
}
section#lead .img_list li:nth-child(1).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.4s;
}
section#lead .img_list li:nth-child(2).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.5s;
}
section#lead .img_list li:nth-child(3).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.6s;
}

section#lead .img_list li img {
  margin-bottom: 24px;
}
section#lead .img_list li strong {
  font-size: 24px;
  line-height: 1.5;
}
section#lead .img_list li:not(:nth-child(3)) {
  margin-right: 28px;
}

section#lead .comment {
  background: #ffeeca;
  border-radius: 16px;
  width: 946px;
  margin: 72px auto 0;
  position: relative;
  padding: 32px 0;
  transform: scale(0);
}

section#lead .comment.on {
  animation: bounce 2s ease-in-out forwards;
}

section#lead .comment .comment_left {
  position: absolute;
  left: 56px;
  bottom: 18px;
}

section#lead .comment .comment_right {
  position: relative;
  padding-left: 256px;
}

section#lead .comment .comment_right h3 {
  color: #f06c15;
  font-size: 20px;
  font-weight: 700;
}

section#lead .comment .comment_right p {
  color: #4d3e37;
}

section#lead .comment {
}

section#lead h2 span {
  opacity: 0;
  display: inline-block;
}

section#lead h2 span.text_animate_on:nth-child(1) {
  animation: lead 0.5s ease-in-out forwards;
}
section#lead h2 span.text_animate_on:nth-child(2) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.05s;
}
section#lead h2 span.text_animate_on:nth-child(3) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.1s;
}
section#lead h2 span.text_animate_on:nth-child(4) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.15s;
}
section#lead h2 span.text_animate_on:nth-child(5) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.2s;
}
section#lead h2 span.text_animate_on:nth-child(6) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.25s;
}
section#lead h2 span.text_animate_on:nth-child(7) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.3s;
}
section#lead h2 span.text_animate_on:nth-child(8) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.4s;
}
section#lead h2 span.text_animate_on:nth-child(9) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.45s;
}
section#lead h2 span.text_animate_on:nth-child(10) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.5s;
}
section#lead h2 span.text_animate_on:nth-child(11) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.55s;
}
section#lead h2 span.text_animate_on:nth-child(12) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.6s;
}
section#lead h2 span.text_animate_on:nth-child(13) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.65s;
}
section#lead h2 span.text_animate_on:nth-child(14) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.7s;
}
section#lead h2 span.text_animate_on:nth-child(15) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.75s;
}
section#lead h2 span.text_animate_on:nth-child(16) {
  animation: lead 0.5s ease-in-out forwards;
  animation-delay: 0.8s;
}

@keyframes lead {
  0% {
    opacity: 0;
    transform: matrix(1, 0, 0.2, 1, 0, -18);
  }
  25% {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 2);
  }
  50% {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, -1);
  }
  75% {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
  100% {
    opacity: 1;
    transform: matrix(1, 0, 0, 1, 0, 0);
  }
}

/*  can
******************************/
#service {
  width: 912px;
  margin: 0 auto 96px;
  position: relative;
}

#service:before {
  content: "";
  background: url(../img/index/can_bar_pat.png);
  height: 14px;
  width: 350%;
  position: absolute;
  margin-top: -14px;
  margin-left: -150%;
  z-index: 100;
  animation: canbar 18s linear infinite;
}

#service h2 {
  color: #f06c15;
  text-align: center;
  line-height: 1.3;
  padding: 0 150px;
  font-size: 40px;
  font-weight: 700;
  background-position: center;
}

#service .service_left {
  float: left;
  width: 100%;
  margin-top: 100px;
  transform: scale(0);
}

#service .service_left.on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0s;
}

#service .service_right li:nth-child(1).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.1s;
}

#service .service_right li:nth-child(2).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.2s;
}
#service .service_right li:nth-child(3).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.3s;
}

#service .service_right li:nth-child(4).on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.4s;
}

#service .service_right {
  float: left;
  width: 100%;
  margin-top: 64px;
}
#service .service_right li:nth-child(2n) {
  margin-left: 64px;
}
#service .service_right li {
  transform: scale(0);
  display: inline-block;
  vertical-align: top;
  width: 420px;
  margin-bottom: 48px;
}
#service .service_right h3 {
  font-size: 24px;
  font-weight: 700;
}

#service .service_right li {
  margin-bottom: 40px;
}

#service .service_right li:nth-child(1):before {
  content: "1";
  background: #f06c15;
  color: #fff;
  width: 39px;
  height: 39px;
  border-radius: 20px;
  line-height: 39px;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}
#service .service_right li:nth-child(2):before {
  content: "2";
  background: #f06c15;
  color: #fff;
  width: 39px;
  height: 39px;
  border-radius: 20px;
  line-height: 39px;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}
#service .service_right li:nth-child(3):before {
  content: "3";
  background: #f06c15;
  color: #fff;
  width: 39px;
  height: 39px;
  border-radius: 20px;
  line-height: 39px;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}
#service .service_right li:nth-child(4):before {
  content: "4";
  background: #f06c15;
  color: #fff;
  width: 39px;
  height: 39px;
  border-radius: 20px;
  line-height: 39px;
  display: inline-block;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
}
#service a.btn {
  width: 260px;
  margin: 16px 0;
}

#service .service_right li h3 {
  margin-left: 12px;
  display: inline-block;
  margin-bottom: 16px;
}

@keyframes canbar {
  0% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

/* service
******************************/

#friends {
  text-align: center;
  margin-bottom: 120px;
}

#friends .fri_title {
  background: url(../img/index/lead_bg_pat.png);
  width: 100%;
  color: #fff;
  text-align: center;
  padding-bottom: 96px;
}
#friends .fri_title > * {
  transform: scale(0);
}
#friends .fri_title.on > * {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0s;
}

#friends .fri_title h2 {
  font-size: 40px;
  padding-top: 64px;
  padding-bottom: 16px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
}

#friends ul.list {
  width: 946px;
  margin: 0 auto 40px;
  margin-top: -64px;
  background: url(../img/index/fri_bg_pat.png) #fff;
  border: #fff solid 2px;
  border-radius: 16px;
  height: 394px;
  transform: scale(0);
}
#friends ul.list.on {
  animation: bounce 2s ease-in-out forwards;
  animation-delay: 0.2s;
}

#friends ul.list .fri_left {
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  width: 505px;
  float: left;
}
#friends ul.list .fri_left img {
  border-radius: 12px 0 0 12px;
}
#friends ul.list .fri_right {
  float: left;
  width: 400px;
  padding-left: 56px;
}

#friends ul.list .fri_right {
  text-align: left;
}

#friends ul.list .fri_right h3 {
  margin-top: 64px;

  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

#friends ul.list .fri_right span {
  font-size: 16px;
}

#friends ul.list .fri_right strong {
  color: #f06c15;
  font-weight: 600;
}

#friends ul.list .fri_right p {
  margin-top: 24px;
}

#friends ul.list .fri_right a {
  color: #f06c15;
  border: 2px #f06c15 solid;
  margin-top: 32px;
  line-height: 50px;
  display: inline-block;
  padding: 0 24px;
  font-weight: 500;
  border-radius: 40px;
}

#friends a.btn {
  width: 320px;
}

#bnr {
  padding: 64px 0;
  background: #ffeeca;
}

#bnr ul {
  width: 946px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

#bnr ul li.line2 {
  display: flex;
  width: 100%;
}

a.btn02 {
  width: 400px;
}
