@charset "UTF-8";
.font_round {
  font-family: "M PLUS Rounded 1c", sans-serif;
}
.nm_head .nav-moomin .nav-moomin__brand .navbar-brand {
  width: 185px;
}
.topic-slider {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.topic-slider::after {
    content:none;
}
.full-width-block {
    overflow: unset;
}
.youtube-outer {
    padding-top: 6em;
    padding-bottom:6em;
}
.youtube {
    width: 100%;
    aspect-ratio: 6 /4;
  }
  .youtube iframe {
    width: 100%;
    height: 100%;
  }
  .moominbaby-theme {
    color:#17806E;
  }
  .moominbaby-tittle {
    color:#fff;
    font-size: 2.5rem;
  }
  .adj_center {
    align-items: center;
  }
  .card-book__title.moominbaby-tittle {
    font-size: 3rem;
  }
  .card-book .card-book__content p:last-of-type {
    line-height: 2;
  }
  .card-book .card-book__image {
    max-width: 100%;
  }
  .nav-tabs {
    justify-content: center;
    border: none;
    padding-bottom: 30px;
  }
  .nav-tabs .nav-link {
    border: none;
    text-transform:capitalize;
    display: inline-block;
    padding: 0;
    margin: .5rem 1rem;
  }
  .nav-tabs .nav-item:nth-child(1) .nav-link {
    color: #d47e55;
  }
  .nav-tabs .nav-item:nth-child(2) .nav-link {
    color: #679dbd;
  }
  .nav-tabs .nav-item:nth-child(3) .nav-link {
    color: #f2a5b8;
  }
  .nav-tabs .nav-item:nth-child(4) .nav-link {
    color: #f1d678;
  }
  .nav-tabs .nav-link.active {
    border: none;
    text-decoration: underline;
  }
  .nav-tabs .nav-link:nth-child(1).active {
    color: #d47e55;
  }
  .nav-tabs .nav-link:nth-child(2).active {
    color: #679dbd;
  }
  .nav-tabs .nav-link:nth-child(3).active {
    color: #f2a5b8;
  }
  .nav-tabs .nav-link:nth-child(4).active {
    color: #f1d678;
  }
  .moominbaby .nav-item:last-child:after {
    content: none;
  }

.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}
  .alignitem_center {
    align-items: center;
  }
  .card-book .card-book__half.card-book__half-1>div {
    width: 100%;
  }
  .nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
    border: none;
  }
  .nav-item a.moominbaby-theme {
    font-size: 1.2rem;
  }
  .btn-moominbaby {
    background:#fff4c7;
    color:#679dbd;
    font-weight: bold;
}
  .fc_news_adjust .btn, .fc_news_adjust .btn-basic, .fc_news_adjust .btn-highlight {
    display: inline-flex;
  }
  .articles-block.fanclub-news-more {
    margin-top:0;
  }
  a.btn-moominbaby,a:focus.btn-moominbaby,a:visited.btn-moominbaby,a:hover.btn-moominbaby{
    color: #fff!important;
  }
  .fc_news_adjust a.btn-moominbaby {
    color: #a8d3e2!important;
  }
  @media (max-width: 768px) {
  .topic-slider {
    padding-bottom: 0;
  }
  .youtube-outer {
    padding-top: 3em;
    padding-bottom: 3em;
}
}
.card-news .card-news__title a {
  color: #679dbd;
}
.teaser-date {
    color: #679dbd;
}

.moominbaby_kv {
  background: #f7f7f0;
  position: relative;
}
.moominbaby_about {
  position: relative;
  text-align: center;
  padding-bottom: 18rem;
}
.about-outer {
  padding: 10px;
}
.abouttext {
  margin-top: 20px;
  color: #756d6e;
  margin-bottom:3rem;
}
.abouttext_img {
  height: 30px;
  vertical-align: baseline;
}
.about-ttl {
  color: #d1d1cd;
  font-size: 2.5rem;
}
.btn-baby {
  background-color: #679dbd;
  color: #fff;
}
.about1 {
  position: absolute; /* すでに設定済み */
  top: 0;
  right: 0;
  width: 25%;
    z-index: 110;
}

.about2 {
  position: absolute; /* すでに設定済み */
  top: 0;
  left: 0%;
  width: 25%;
  z-index: 110;
}

.floating-image {  
  opacity: 0;           /* 初期は非表示 */
  transition: opacity 1s ease-in-out; /* フェードインアニメーション */
}

.floating-image.visible {
  opacity: 1;           /* 表示 */
}


.about-slider {
  position: relative;
  background: #f7e8a9;
}
/* スライド画像を幅60%、中央寄せ、角丸30px */
.topic-slider__image {
  display: block;
  width: 60%;
  max-width: 100%;       /* 幅が画面を超えないように */
  margin: 0 auto;        /* 中央寄せ */
  border-radius: 30px;   /* 角丸 */
  transition: transform 0.3s; /* スライドアニメーションを少し滑らかに */
  overflow: hidden;
  margin-bottom: 2vw;
}

/* Swiperスライド自体を中央揃え */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* レスポンシブ：スマホでは幅90%に縮小 */
@media (max-width: 768px) {
  .slide-image {
    width: 90%;
  }
  .topic-slider__image {
    width: 80%;
  }
}

.topic-slider .swiper-button-next,
.topic-slider .swiper-button-prev {
  width: 50px;    /* 画像の幅 */
  height: 50px;   /* 画像の高さ */
  background-size: contain;   /* 画像をボタンにフィット */
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;       /* 縦中央 */
  transform: translateY(-50%);
  z-index: 10;    /* スライドの上に表示 */
}

/* 次へボタン */
.topic-slider .swiper-button-next {
  right: 8vw;
  background-image: url('/moomin/assets/images/moominbaby/next-arrow.png'); /* 独自画像 */
}

/* 前へボタン */
.topic-slider .swiper-button-prev {
  left: 8vw;
  background-image: url('/moomin/assets/images/moominbaby/prev-arrow.png'); /* 独自画像 */
}
@media (max-width: 768px) {
.topic-slider .swiper-button-next,
.topic-slider .swiper-button-prev {
  width: 6vw;
  height: 6vw;
}

/* 次へボタン */
.topic-slider .swiper-button-next {
  right: 4vw;
}

/* 前へボタン */
.topic-slider .swiper-button-prev {
  left: 4vw;
}
}

.swiper-pagination-bullet {
  width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 16px));
  height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 16px));
}
.topic-slider.swiper-horizontal .swiper-pagination .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 1;
}
.topic-slider.swiper-horizontal .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #d47e55;
}
.topic-slider .swiper-arrow {
  border: none;
}
.card-product .card-product__title {
  color: #000;
}
.card-product .card-product__price {
  color: #d47e55;
}
.nav-tabs .nav-item {
  background: #fff;
  border-radius: 25px;
  margin-right: 10px;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  background-color: inherit;
}





.about_fs {
  background-image: url(/moomin/assets/images/moominbaby/fs_bk.png);
  padding-top: 9vw;
    padding-bottom: 12vw;
    background-color: #fff;
}
.about_fs_ttl {
  font-size: 2.5rem;
  color: #756d6e;
}
.block-products {
  background-color: #f7f7f0;
  border-radius: 40px;
}

.fanclub-news {
  background: #a8d3e2;
}





.newsbaby {
  padding-top: 30px;
  background: #fff;
  border-radius: 30px;
}




/* KV */
.main-visual {
  position: relative;
  width: 100%;
  height: 60vw;
  overflow: hidden;
  background: #f7f7f0;
}

/* 全画像共通設定 */
.slide {
  position: absolute;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* 1枚目：全面表示 */
.slide1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2〜7枚目：領域内に自由配置 */
.slide2 { top: 5%; left: 50%; width: 48%; transform: translateX(-50%); }
.slide3 { top: 14%; left: 50%; width: 60%; transform: translateX(-50%); }
.slide4 { 
bottom: 25%;
    left: 18%;
    width: 27%; }
.slide5 {  
    bottom: 25%;
    right: 20%;
    width: 21%; }
.slide6 { bottom: 28%;
    left: 52%;
    width: 9%;
    transform: translateX(-50%);}
.slide7 { bottom: 19%; left: 50%; width: 48%; transform: translateX(-50%); }

/* 8枚目：最終フルスクリーン */
.slide8 { 
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 33%;
}

.slide9 { 
  top: 13%;
  left: 5%;
  width: 9%;
}
.slide10 { 
  bottom: 26%;
  left: 8%;
  width:  7%;
}
.slide11 { 
  top: 15%;
  right: 8%;
  width: 7%;
}
.slide12 { 
  bottom: 11%;
  right: 4%;
  width: 12%;
  z-index: 10;
}


/* 表示時 */
.active {
  opacity: 1;
}

/* 振動アニメーション */
@keyframes shake {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  20% { transform: translate(-50%, -6px) rotate(-2deg); }
  40% { transform: translate(-50%, 4px) rotate(2deg); }
  60% { transform: translate(-50%, -3px) rotate(-1.5deg); }
  80% { transform: translate(-50%, 2px) rotate(1deg); }
}
.shake {
  animation: shake 0.8s ease-in-out;
}

/* 波形 */
.wave-wrapper1 {
    position: absolute;
    width: 100%;
    height: 8vw;
    overflow: hidden;
    bottom: -4vw;
    left: 0;
    height: 24vw;
}
.wave-divider1 {
  position: absolute;
  bottom: -1vw; /* 下に少しはみ出す（重なり量を調整） */
  left: 0;
  width: 100%;
  height: 10vw;
  background: url("/moomin/assets/images/moominbaby/wave1.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 1;
}
.deg1 {
    transform-origin: center bottom;
    transform: rotate(-3deg) scale(1.1);
    bottom: 0;
}
.wave-divider2 {
  position: absolute;
  top: -9vw; /* 下に少しはみ出す（重なり量を調整） */
  left: 0;
  width: 100%;
  height: 10vw;
  background: url("/moomin/assets/images/moominbaby/wave2.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.wave-divider3 {
  position: absolute;
  bottom: -5vw; /* 下に少しはみ出す（重なり量を調整） */
  left: 0;
  width: 100%;
  height: 10vw;
  background: url("/moomin/assets/images/moominbaby/wave3.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 1;
}

.wave-wrapper4 {
position: absolute;
    width: 100%;
    overflow: hidden;
    top: -21vw;
    left: 0;
    height: 24vw;
}
.wave-divider4 {
  position: absolute;
  top: -9vw; /* 下に少しはみ出す（重なり量を調整） */
  left: 0;
  width: 100%;
  height: 10vw;
  background: url("/moomin/assets/images/moominbaby/wave4.png") no-repeat center bottom;
  background-size: 100% 100%;
  z-index: 1;
}
.deg4 {
    transform-origin: center bottom;
    transform: rotate(3deg) scale(1.1);
    bottom: 0;
    top: auto;
}

.wave-wrapper5 {
position: absolute;
    width: 100%;
    overflow: hidden;
    bottom: -21vw;
    left: 0;
    height: 24vw;
}

.deg5 {
    transform-origin: center bottom;
    transform: rotate(177deg) scale(1.1);
    bottom: auto;
    top: -10vw;
}



  @media (max-width: 990px) {
    .main-visual {
      height: 65vw;
    }
    .moominbaby_about {
      padding-bottom:10rem;
    }
  }
  @media (max-width: 768px) {
    .moominbaby_about {
              padding-bottom: 3rem;
    }
    .about-ttl {
      font-size: inherit;
      margin-bottom:30vw;
    }
    .abouttext {
      font-size: 2rem;
    }
    .about-slider {
    }
    .topic-slider {
      padding-bottom: 2rem;
    }
    .topic-slider.swiper-horizontal .swiper-pagination {
      bottom: 0rem;
    }
    .full-width-block {
      padding-bottom: 2rem;
    }
    .swiper-pagination-bullet {
      width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));
    height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));
    }
    .about_fs {
      padding-top: 14vw;
      padding-bottom: 14vw;
    }
    .about1 {
    top: 11vw;
    right: 23vw;
    width: 28%;
    }
    .about2 {
    top: 12vw;
    left: 16vw;
    width: 29%;
    }
  .about_fs_ttl,.moominbaby-tittle {
    font-size: inherit;
  }
  }

/*キャラ追従 */
  :root {
--move-range: 20px; /* 揺れ幅 */
--duration: 6s; /* アニメ速度 */
}
body {
margin: 0;
height: 200vh;
}


.char {
position: fixed;
z-index: 9999;
pointer-events: none;
animation: float var(--duration) ease-in-out infinite;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.char.active {
  opacity: 1;
}
.slide9 { 
  top: 13%;
  left: 5%;
  width: 9%;
}
.slide10 { 
  bottom: 26%;
  left: 8%;
  width:  7%;
}
.slide11 { 
  top: 15%;
  right: 8%;
  width: 7%;
}
.slide12 { 
  bottom: 11%;
  right: 4%;
  width: 12%;
  z-index: 10;
}

.char.tl { 
  top: 13%;
  left: 5%;
  width: 9%;
  animation-delay: 0.5s;
  z-index: 150;
 }
.char.tr { 
  top: 13%;
  right: 5%;
  width: 9%;
  animation-delay: 1.5s;
    z-index: 150;

 }
.char.bl { 
  bottom: 13%;
  left: 5%;
  width: 9%;
  animation-delay: 3s;
    z-index: 150;

 }
 .char.br { 
  bottom: 13%;
  right: 5%;
  width: 9%;
  animation-delay: 4.5s;
    z-index: 150;

 }


.char img {
width: 100%;
height: 100%;
object-fit: contain;
filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}


@keyframes float {
0% { transform: translate(0, 0) rotate(0deg); }
20% { transform: translate(var(--move-range), -var(--move-range)) rotate(4deg); }
40% { transform: translate(-var(--move-range), var(--move-range)) rotate(-4deg); }
60% { transform: translate(var(--move-range), var(--move-range)) rotate(3deg); }
80% { transform: translate(-var(--move-range), -var(--move-range)) rotate(-3deg); }
100% { transform: translate(0, 0) rotate(0deg); }
}


/*subページ*/
.moominbaby_sub_kv {
  background: #f9cfcf;
  text-align: center;
  padding-bottom: 12vw;
  position: relative;
  padding-top: 4vw;
}
.moominbaby_sub_kv img {
  width: 80%;
  max-width: 950px;
}
.concept-outer {
  position: relative;
  z-index: 100;
  background: #fff;
  padding-bottom: 30vw;
}
.concept-ttl {
  font-size: 2.5rem;
  color: #a8d3e2;
  text-align: center;
}
.concept-outer .abouttext {
  font-size: 2rem;
  color: #756d6e;
  text-align: center;
  line-height: 2.5;
}
.concept-outer .about1 {
position: absolute;
    bottom: 10vw;
    right: 25%;
    width: 25%;
    top: auto;
}
.concept-outer .about2 {
      position: absolute;
    bottom: 10vw;
    left: 25%;
    width: 25%;
        top: auto;
}


.original-outer {
  background:#a8d3e2 ;
  position: relative;
  z-index: 100;
  padding-bottom: 1vw;
}
.original-outer .container-fluid {
  position: relative;
  z-index: 100;
}
.original-ttl {
  font-size: 2.5rem;
  color: #fff4c7;
  text-align: center;
}
.original-outer .original_img {
  margin: 0 auto;
}
.original-outer .original_img {
  width: 50%;
}
.original-outer .abouttext {
  font-size: 2rem;
  color: #fff;
  text-align: center;
}
.family-outer {
  background-image: url(/moomin/assets/images/moominbaby/fs_bk.png);
  padding-top: 14vw;
}
.family-ttl {
  font-size: 2.5rem;
  color: #756d6e;
  text-align: center;
}
.family_container {
  display: flex;
  background: #f7f7f0;
  border-radius: 30px;
  padding: 20px 35px;
  margin-bottom: 30px;
  gap:5%;
}
.family_img_box {
    width: 30%;
}
.family_text_box {
  width: 65%;
}
.family_text_box h3 {
  font-size: 2.5rem;
  color: #756d6e;
  margin-bottom: 0.5rem;
}
.family_text_box p {
  font-size: 1.4rem;
  font-weight: normal;
}
.family_container:nth-child(even) {
  flex-direction: row;
}

/* 偶数番目: テキスト → 画像 */
.family_container:nth-child(odd) {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
.concept-outer .abouttext {
  font-size: 1.5rem;
}
.original-outer .abouttext {
  font-size: 1.5rem;
}
.family_text_box h3 {
  font-size: 2rem;
}
.family_text_box p {
  font-size: 1.2rem;
}
.family_container {
  flex-wrap: wrap;
  justify-content: center;
}
.family_img_box {
  width: 60%;
  margin-bottom: 0.5rem;
}
.family_text_box {
  width: 100%;
  text-align: center;
}
.original-outer .original_img {
  width: 65%;
}
.char.bl {
  top: 34%;
  bottom: auto;
}
.char.tr {
  top: 25%;
  bottom: auto;
}
.char.br {
  top: 45%;
  bottom: auto;
}
.navbar-collapse {
  position: relative;
  z-index:
   1000;
}
.newsbaby {
  width: calc(100% - 50px);
}
}

.babyft {
  margin-top: 30px;
}