/*========= hero =========*/
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18% 0 10% 0;
  background-color: var(--sub);
}

.hero-kenelephant-munyu__content img {
  width: 210px;
}

.hero__logo {
  width: 80%;
  max-width: 100%;
}

.hero-pokkoshi__content {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  margin-top: 32px;
}

.hero-pokkoshi__spike {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 82%;
  max-width: 100%;
  z-index: 80;
}

.hero-pokkoshi__character {
  position: absolute;
  left: 52%;
  bottom: 20px;
  width: 84%;
  max-width: 100%;
  z-index: 90;
  transform: translateX(-50%) scale(0);
}

.is-bounce {
  animation: bounceStrong 0.8s ease-out forwards;
}

@keyframes bounceStrong {
  0%   { transform: translate(-50%, 60px) scale(0.8); }
  40%  { transform: translate(-50%, -30px) scale(1.15); }
  60%  { transform: translate(-50%, 15px) scale(0.95); }
  75%  { transform: translate(-50%, -8px) scale(1.05); }
  88%  { transform: translate(-50%, 4px) scale(0.98); }
  100% { transform: translate(-50%, 0) scale(1); }
}

.hero-kenelephant-munyu__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--main);
  font-weight: bold;
  margin-top: 7.2%;
}

.hero-kenelephant-munyu__content .collaboration-mark,
.hero-kenelephant-munyu__content p {
  margin-top: -1%;
  font-size: 20px;
}

/*========= about =========*/
.about {
  font-weight: bold;
  margin: 25% auto 0;
}

.about-circle {
  padding: 25% 0;
}

.about-content {
  position: relative;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1/ 1;
  border-radius: 50%;
  margin: 0 auto;
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 10%;
}

.about-character {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  transform-origin: center center;
  translate: -50% -50%;
}

.about-title h2 {
  font-size: 1.875rem;
}

.about-text {
  margin-top: 4%;
}

.about-text p {
  line-height: 1.75;
  font-family: var(--font-sub);
}
.pokkoshi-lead__action {
  margin-top: 1rem;
}


/*========= character =========*/
.character-content__entrance {
  width: 64%;
  margin: 6% auto 0;
}

.character-btn {
  margin: 6% auto 0;
}


/*========= goods =========*/
.goods-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.goods-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4%;
  margin: 4% 5% 5%;
}

.goods-list__content img {
  border-radius: 10px;
}

.goods-list__content a {
  display: block;
  text-align: center;
}

.goods-item__name {
  text-align: justify;
  margin-top: 3%;
}



/*========= news =========*/
.news {
  margin-top: 22%;
}

.news-wrapper {
  max-width: 88%;
  margin: 4% auto 0;
  padding: 4% 6% 7%;
  border-radius: 12px;
  background-color: var(--sub);
}

.news-tabs {
  display: flex;
  gap: 2%;
  margin: 6% 0 4%;
}

.news-tabs__icon {
  padding:  1% 3%;
  border-radius: 40px;
  border: solid 2px var(--black);
  background-color: var(--white);
  font-size: 0.875rem;
  font-weight: bold;
}

.news-tabs__icon.active {
  background-color: var(--main);
  color: var(--white);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}


.news-list li {
  width: 100%;
  background-color: var(--white);
  padding: 10px 16px;
  border-radius: 12px;
}

.news-meta {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 3%;
  padding-bottom: 2%;
  border-bottom: dashed 1px var(--black);
}

.news-date {
  font-weight: bold;
}

.news-category {
  font-size: 0.825rem;
  line-height: 1;
  font-weight: bold;
  padding: 1% 3%;
  border-radius: 24px;
  border: solid 1px var(--black);
}

.news-text {
  margin-top: 2%;
  font-size: 0.875rem;
}

.news-empty {
  display: none;
  margin-top: 24px;
  text-align: center;
  color: #666;
  font-size: 1rem;
}

.news-link {
  color: #2174b4;
  text-decoration: underline;
  font-weight: bold;
}


/*========= shop =========*/
.shop {
  margin-bottom: 35%;
}

.shop-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 5%;
}

.shop-list,
.shop-online {
  display: flex;
  gap: 4%;
  margin-top: 4%;
}

.shop-online {
  width: 50%;
}


/* =========================================================
friends decor
========================================================= */
/* friends decor（goods） */
.friends__character--popponpoppin {
  bottom: -8%;
  left: 4%;
  width: 24%;
}

/* friends decor（news） */
.friends__character--pipipin {
  top: 0;
  right: 17%;
  width: var(--character-size-normal);
}

.friends__character--pachichi {
  top: 5%;
  right: 4%;
  width: var(--character-size-normal);
}

.friends__character--hyahyani-,
.friends__character--kyakyani- {
  width: var(--character-size-normal);
  bottom: -3%;
}

.friends__character--hyahyani- {
  left: 9.7%;
}

.friends__character--kyakyani- {
  left: 23.6%;
}

/* friends decor（shop） */
.friends__character--pukikin {
  width: var(--character-size-normal);
  right: 14.7%;
}

/* =========================================================
SP対応（767px以下）
========================================================= */
@media (max-width:767px){
  .character-btn {
    display: block;
    margin: 6% auto 0;
  }

  .hero {
    padding-bottom:7%;
    padding-top: clamp(100px, 28vw, 214px);
  }

  .hero-kenelephant-munyu__content p,.collaboration-mark {
    font-size: clamp(14px, 5vw, 64px);
  }

  .hero-kenelephant-munyu__content img {
    width: clamp(150px, 40vw, 306px);
  }

  .about-title h2 {
    font-size: clamp(20px, 8vw, 64px);
  }
  .about-title p {
    font-size: clamp(16px, 5vw, 40px);
  }
  .about-text p {
    font-size: clamp(14px, 4vw, 28px);
  }

}

/* =========================================================
PC 大サイズ対応（1440px以上）
========================================================= */
@media (min-width:1440px) {
  .btn a {
    padding: 4px 8px 4px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-sub);
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--white);
  }

  .about-text p {
    font-size: 1.3rem;
  }

  .subtitle {
    font-size: 1.5rem;
    margin-top: 26px;
    font-weight: 800;
    color: var(--main);
    line-height: 1;
  }

  .hero-kenelephant-munyu__content img{
    width: 190px;
  }

  .hero-kenelephant-munyu__content{
    font-size: 1.2rem;
  }

  .hero-kenelephant-munyu__content p,.collaboration-mark {
    font-size: 24px;
  }

  .hero-kenelephant-munyu__content img {
    width: 280px;
  }

  .about-title h2 {
    font-size: clamp(20px, 10vw, 40px); 
  }
  .about-title p {
    font-size: clamp(16px, 8vw, 28px);   
  }
  .about-text p {
    font-size: clamp(14px, 4vw, 20px); 
  }
}