@charset "UTF-8";

/* --------------------------------
  base
-------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------
  page
-------------------------------- */
.lp-page {
  --lp-width: clamp(480px, 35.14vw, 700px);
  position: relative;
  min-height: 100vh;
  background: #fff; 
}

/* =========================
  pc外側
========================= */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-deco {
  position: fixed;
  top: 0;
  bottom: 0;
  width: calc((100vw - var(--lp-width)) / 2);
  overflow: hidden;
  z-index: 1;
}

.lp-deco--left {
  right: calc(50% + (var(--lp-width) / 2));
}

.lp-deco--right {
  left: calc(50% + (var(--lp-width) / 2));
}


/* =========================
  base bg
========================= */
.lp-deco-base,
.deco-scene {
  position: absolute;
  inset: 0;
}

.lp-deco-base img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-illust {
  position: absolute;
  width: clamp(280px, 22vw, 420px);
  height: auto;
  max-width: none;
}


/* =========================
  scene
========================= */
.deco-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}

.deco-scene.is-active {
  opacity: 1;
}


/* =========================
  left / right adjust
========================= */
.scene-illust {
  position: absolute;
  height: auto;
  max-width: none;
}

/* ---------- LEFT scene-a ---------- */

.scene-illust--butterfly{
  width:10%;
  left:10%;
  bottom:52%;
  animation: butterfly-flutter 1.2s ease-in-out infinite;
}

.scene-illust--badger{
  width:27.1%;
  left:24.4%;
  bottom:15.4%;
  animation: badgerWalk 20s ease-in-out infinite;
  animation-delay:-3s;
  transform-origin:center bottom;
}

.scene-illust--fox{
  width:30.7%;
  right:16.9%;
  bottom:24.7%;
  animation: foxWalk 18s ease-in-out infinite;
  transform-origin:center bottom;
}

.scene-illust--bird{
  width:12.2%;
  right:15%;
  bottom:11.2%;
  animation: birdHop 1.6s ease-in-out infinite;
  transform-origin:center bottom;
}

/* ---------- LEFT scene-b ---------- */

.scene-illust--hedgehog{
  width:26.2%;
  left:23%;
  bottom:23.4%;
  animation: hedgehogWalk 18s ease-in-out infinite;
  transform-origin:center bottom;
}

.scene-illust--peter{
  width:24.4%;
  right:23%;
  bottom:12.5%;
  animation: peterSwing 3s ease-in-out infinite;
  transform-origin: center bottom;
}


/* ---------- RIGHT scene-a ---------- */

.scene-illust--butterfly_r{
  width:8.6%;
  left:21.2%;
  bottom:30.7%;
  animation: butterfly-flutter 0.8s ease-in-out infinite;
}

.scene-illust--mousep{
  width:17.2%;
  right:19.2%;
  bottom:29.9%;
}


/* ---------- RIGHT scene-b ---------- */

.scene-illust--mouse{
  width:23%;
  right:14.4%;
  bottom:28.9%;
  animation: peterSwing 3s ease-in-out infinite;
  transform-origin: center bottom;
}

/* =========================
  side title
========================= */
.side-title{
  position:absolute;
  left:50%;
  bottom: clamp(420px, 64vh, 610px);
  width: min(90%, clamp(260px, 26vw, 520px));
  z-index:5;
  opacity:0;
  transform:
    translateX(-50%)
    translateY(12px);
  transition:
    opacity .5s ease,
    transform .5s ease;
}

.side-title.is-active {
  opacity: 1;
  transform:
    translateX(-50%)
    translateY(0);
}

.side-title img {
  width: 100%;
  height: auto;
}

.side-title{
  pointer-events:auto;
}

.side-title a{
  display:block;
  pointer-events:auto;
}


/* --------------------------------
  PC fixed menu
-------------------------------- */

.pc-menu {
  position: fixed;
  top: 30%;
  left: calc(
    50% + (var(--lp-width) / 2) +
    ((100vw - var(--lp-width)) / 4)
  );
  transform: translate(-50%, -50%);
  z-index: 20;
  font-size: clamp(14px, 1.025vw, 20.3px);
  width: 16.43em;
}


.pc-menu__item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 3.43em;
  margin-bottom: 0.86em;
  padding: 0 0.71em 0 3.36em;
  border: 1px solid #003c78;
  border-radius: 999px;
  background: #fff;
  color: #003c78;
  font-size: 1em;
  font-weight: 700;
  line-height: 1.3;
  overflow: hidden;
  transition: color .35s ease;
}

.pc-menu__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #003c78;
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
}

.pc-menu__item:hover,
.pc-menu__item.is-current {
  color: #fff;
}

.pc-menu__item:hover::before,
.pc-menu__item.is-current::before {
  opacity: 1;
}

.pc-menu__text,
.pc-menu__icon {
  position: relative;
  z-index: 1;
}

.pc-menu__icon {
  position: absolute;
  left: 0.36em; /* 5 / 14 */
  top: 50%;
  width: 2.71em; /* 38 / 14 */
  height: 2.71em;
  transform: translateY(-50%);
}

.pc-menu__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* --------------------------------
  SP menu
-------------------------------- */

body.is-menu-open {
  overflow: hidden;
}

.sp-menu {
  display: none;
}

.sp-menu__btn {
  position: fixed;
  top: 30px;
  right: calc((100vw - var(--lp-width)) / 2 + 30px);
  z-index: 101;
  width: 100px;
  height: 100px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #003c78;
  cursor: pointer;
}

.sp-menu__btn span {
  position: absolute;
  left: 50%;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
  transform: translateX(-50%);
  transition:
    top .3s ease,
    transform .3s ease,
    opacity .3s ease;
}

.sp-menu__btn span:nth-child(1) {
  top: 33px;
}

.sp-menu__btn span:nth-child(2) {
  top: 48px;
}

.sp-menu__btn span:nth-child(3) {
  top: 63px;
}

.sp-menu.is-open .sp-menu__btn span:nth-child(1) {
  top: 48px;
  transform: translateX(-50%) rotate(45deg);
}

.sp-menu.is-open .sp-menu__btn span:nth-child(2) {
  opacity: 0;
}

.sp-menu.is-open .sp-menu__btn span:nth-child(3) {
  top: 48px;
  transform: translateX(-50%) rotate(-45deg);
}

.sp-menu__panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding:
  clamp(150px, 18vw, 160px)
  clamp(40px, 7vw, 48px)
  40px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.sp-menu.is-open .sp-menu__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-menu__panel a {
  margin-bottom: clamp(24px, 5vw, 40px);
  color: #003c78;
  font-size: clamp(16px, 4.4vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(-18px);
  transition:
    opacity .45s ease,
    transform .45s ease;
}

.sp-menu.is-open .sp-menu__panel a {
  opacity: 1;
  transform: translateX(0);
}

.sp-menu.is-open .sp-menu__panel a:nth-child(1) { transition-delay: .12s; }
.sp-menu.is-open .sp-menu__panel a:nth-child(2) { transition-delay: .18s; }
.sp-menu.is-open .sp-menu__panel a:nth-child(3) { transition-delay: .24s; }
.sp-menu.is-open .sp-menu__panel a:nth-child(4) { transition-delay: .30s; }
.sp-menu.is-open .sp-menu__panel a:nth-child(5) { transition-delay: .36s; }
.sp-menu.is-open .sp-menu__panel a:nth-child(6) { transition-delay: .42s; }

.sp-menu__panel a {
  transition-delay: 0s;
}

.sp-menu__btn,
.sp-menu__panel a {
  -webkit-tap-highlight-color: transparent;
}

/* --------------------------------
  1050px以下
-------------------------------- */
@media (max-width: 1050px) {
  .pc-menu {
    display: none;
  }

  .sp-menu {
    display: block;
  }

  .deco-scene,
  .side-title {
    display: none;
  }

}

/* --------------------------------
  1050~721px sp menu
-------------------------------- */

@media (max-width: 1050px) and (min-width: 721px) {
  .sp-menu__btn {
    width: 76px;
    height: 76px;
    top: 24px;
    right: calc((100vw - var(--lp-width)) / 2 + 24px);
  }

  .sp-menu__btn span {
    width: 36px;
    height: 3px;
  }

  .sp-menu__btn span:nth-child(1) { top: 24px; }
  .sp-menu__btn span:nth-child(2) { top: 36px; }
  .sp-menu__btn span:nth-child(3) { top: 48px; }

  .sp-menu.is-open .sp-menu__btn span:nth-child(1),
  .sp-menu.is-open .sp-menu__btn span:nth-child(3) {
    top: 36px;
  }

  .sp-menu__panel {
    padding: 120px 36px 32px 60px;
  }

  .sp-menu__panel a {
    font-size: 18px;
    margin-bottom: 18px;
    line-height: 1.4;
  }

}

/* --------------------------------
  main LP
-------------------------------- */
.lp-main {
  position: relative;
  z-index: 1;
  width: var(--lp-width);
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
}

.base-img{
  width:100%;
  height:auto;
  display:block;
}


.img__block{
  position: relative;
}

#popup .img__block{
  overflow: hidden;
}

#bookstore .img__block{
  overflow-x: clip;
  overflow-y: visible;
}

#anniversary .img__block{
  overflow: hidden;
}

#collab .img__block{
  overflow-x: clip;
  overflow-y: visible;
}

.fv-bg-sp{
  display:block;
}

.fv-bg-pc{
  display:none;
}

.main__btn,
.main__btn img,
.accordion__btn,
.accordion__btn img,
.btn-link,
.btn-link img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}


/* --------- アコーディオン --------- */


.accordion__btn {
  position: absolute;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.accordion__btn img {
  display: block;
  width: 100%;
  height: auto;
}

/* present */
.present-detail-btn {
  width: 56%; /* 420 / 750 */
  top: 85%;
  left: 50%;
  transform: translateX(-50%);
}

/* stamp */
.stamp-detail-btn {
  width: 77.33%; /* 580 / 750 */
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  will-change: max-height;
}

.accordion__content img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateZ(0);
}

/* present */
.present-accordion {
  background: #fdf0ed;
}

/* stamp */
.stamp-accordion {
  background: #e7f3fb;
}



/* stamp */
.stamp-open-block{
    position:relative;
}

.stamp-open-btn {
  position: absolute;
  width: 68%;
  left: 50%;
  bottom: calc(100vw * 560 / 750);
  transform: translateX(-50%);
  z-index: 3;
}

@media (min-width: 721px) {
  .stamp-open-btn {
    bottom: calc(var(--lp-width) * 560 / 750);
  }
}

.stamp-open-btn img{
    display:block;
    width:100%;
    height:auto;
}


/* collab */
.collab-accordion-btn {
  width: 53.33%;
  left: 50%;
  bottom: calc(100vw * 70 / 750);
  transform: translateX(-50%);
}

@media (min-width: 721px) {
  .collab-accordion-btn {
    bottom: calc(var(--lp-width) * 70 / 750);
  }
}

.collab-accordion {
  background: #f9efe4; 
}

.collab-open-block {
  position: relative;
}


/* bookstore */
#bookstore .bookstore-accordion-btn {
  width: 64%; /* 480 / 750 */
  left: 50%;
  bottom: calc(100vw * 48 / 750);
  transform: translateX(-50%);
}

@media (min-width: 721px) {
  #bookstore .bookstore-accordion-btn {
    bottom: calc(var(--lp-width) * 48 / 750);
  }
}

#bookstore .bookstore-accordion-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.bookstore-accordion {
  background: #f9efe4;
}

/* --------- アコーディオン --------- */




/* --------- LP共通スライダー --------- */

.lp-slider-block{
  position:relative;
}

.lp-slider{
  position:absolute;
  left:50%;
  width:100%;
  transform:translateX(-50%);
  z-index:3;
}

.lp-slider__mask{
  margin:0 auto;
  overflow:hidden;
}

.lp-slider__window{
  width:100%;
  touch-action:pan-y;
}

.lp-slider__track{
  display:flex;
  transition:transform .35s ease;
}

.lp-slider__slide{
  flex:0 0 100%;
  display:flex;
  justify-content:center;
}

.lp-slider__arrow{
  position:absolute;
  top:47%;
  width:10.67%;          /* 80 / 750 */
  aspect-ratio:1 / 1;
  appearance:none;
  -webkit-appearance:none;
  border:0;
  padding:0;
  background-color:transparent;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  transform:translateY(-50%);
  z-index:4;
  cursor:pointer;
}

.lp-slider__arrow--prev{
  left:10.67%;
  background-image:url("../images/arrow_prev.webp");
}

.lp-slider__arrow--next{
  right:10.67%;
  background-image:url("../images/arrow_next.webp");
}

.lp-slider__dots{
  position:absolute;
  left:50%;
  display:flex;
  gap:10px;
  transform:translateX(-50%);
  z-index:4;
}

.lp-slider__dots button{
  width:10px;
  aspect-ratio:1 / 1;
  appearance:none;
  -webkit-appearance:none;
  padding:0;
  border:0;
  border-radius:50%;
  background:#d9d9d9;
  cursor:pointer;
}

.lp-slider__dots button.is-active{
  background:#53a5d6;
}

/* --------- スタンプラリー用 --------- */

.stamp-slider{
  top:1%;
}

.stamp-slider .lp-slider__mask{
  width:85.33%;          /* 640 / 750 */
}

.stamp-slider .lp-slider__slide img{
  width:calc(var(--lp-width) * 230 / 750);
  height:auto;
}

.stamp-slider .lp-slider__dots{
  bottom:-5.33%;         /* -40 / 750 */
}

.stamp-slider .lp-slider__arrow--prev {
  left: 14%;
}

.stamp-slider .lp-slider__arrow--next {
  right: 14%;
}


@media (max-width:720px){

  .stamp-slider .lp-slider__slide img{
    width:calc(100vw * 230 / 750);
  }

}

/* --------- コラボ用 --------- */

.collab-slider{
  top:3%;
}

.collab-slider .lp-slider__mask{
  width:100%;
}

.collab-slider .lp-slider__slide img{
  width:calc(var(--lp-width) * 280 / 750);
  height:auto;
}

.collab-slider .lp-slider__dots{
  bottom:-5.33%;
}

.collab-slider .lp-slider__arrow {
  top: 40%;
}

@media (max-width:720px){

  .collab-slider .lp-slider__slide img{
    width:calc(100vw * 280 / 750);
  }

}

/* --------- LP共通スライダー --------- */





@media (min-width:1600px){

  .fv-bg-sp{
    display:none;
  }

  .fv-bg-pc{
    display:block;
  }

}

.main__ill{
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.main__ill,
.scene-illust{
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.main__btn{
  position:absolute;
  z-index:3;
  cursor:pointer;
}

.pagetop{
  display:none;
}

.pagetop img{
  width:100%;
}

/* --------------------------------
  main__illust
-------------------------------- */

.fv_title{
  width:85.3%;
  top:2.2%;
  left:50%;
  opacity:0;
  transform:translateX(-50%) translateY(8px);
  animation: fvTitleFade 0.8s ease-out 0.3s forwards;
}

.fv_ill_01{width:10%; top:48%; left:4%;
animation: butterfly-flutter 1.2s ease-in-out infinite;}
.fv_ill_02{width:7%; top:45%; right:58%;
animation: butterfly-flutter 0.8s ease-in-out infinite;}

.main01_ill_01{width:32%; top:40.5%; left:6%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}
.main01_ill_02{width:36%; top:43%; right:3%;
animation: miceMove 2s ease-in-out infinite;}
.main01_ill_03{width:24%; top:86%; left:37%;
animation: squirrelMove 2.4s ease-in-out infinite;
transform-origin: center bottom;}
.main01_btnb{width:73.3%; top:80%; left:50%;transform: translateX(-50%);}

.main02_ill_01{width:14%; top:33%; right:70%;
animation: butterfly-flutter 0.8s ease-in-out infinite;}
.rabbit{
  animation: rabbitJump 2.4s ease-in-out infinite;
}
.main02_ill_02a{width:12.2%; top:29.5%; left:59.4%; animation-delay: 0s;}
.main02_ill_02b{width:13.2%; top:29.3%; left:72%; animation-delay: 1.5s;}
.main02_ill_02c{width:12.4%; top:29.3%; left:85%; animation-delay: 3s;}
.main02_ill_03a{width:18%; top:64.5%; left:2.5%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}
.main02_ill_03b{width:17.5%; top:62.3%; right:64.6%;}
.main02_ill_04{width:25.5%; top:3%; left:36%;
animation: catMove 1.8s ease-in-out infinite;}
.main02_btn{width:77.3%; top:76.3%; left:50%;transform: translateX(-50%);}

.main03_ill_01{
width:33%; top:4.5%; left:25.3%;
animation: 
    peterWalk 8s linear infinite,        /* 8秒かけて左から右へ（1回だけ） */
    peterHop 1.2s ease-in-out infinite;   /* 1.2秒のジャンプを「無限ループ」 */
}
.main03_ill_02{width:8%; top:50%; right:12%;
animation: butterfly-flutter 1.2s ease-in-out infinite;}
.main03_ill_03{width:13.5%; top:36%; left:12%;
animation: birdHop 1.6s ease-in-out infinite;
transform-origin:center bottom;}
.main03_ill_04{width:8%; top:56%; right:12%;
animation: butterfly-flutter 0.8s ease-in-out infinite;}
.main03_ill_05{width:45.33%; top:40%; left:50%;transform:translateX(-50%);
transform-origin:center bottom;animation: glassSwing 2.2s ease-in-out infinite;}
.main03_ill_06{width:10%; top:70%; left:8%;
animation: beeFly 5.8s ease-in-out infinite;transform-origin:center center;}

.main04_ill_01a{width:11.2%; top:8%; left:59%;}
.main04_ill_01b{width:11.3%; top:11.5%; right:21%;}
.main04_ill_02{width:16%; top:8.5%; left:80%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}
.main04_ill_03{width:13%; top:9.8%; right:9%;}
.main04_ill_04{width:31%; top:2%; right:-1%;
animation: catMove 1.8s ease-in-out infinite;}

.main05_ill_01{width:37%; top:-3%; left:-2%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}
.main05_ill_02{width:46%; top:28%; right:34%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}

.main06_ill_01{
  width:66%;top:10%;right:17%;
  opacity:0;
  transform: translate(120%, -15%);
}

.main06_ill_01.is-start{
  animation: trainPeter 3s ease-out forwards;
}

.main07_ill_01{width:18%; top:35%; left:8.5%;
animation: miceMove 2s ease-in-out infinite;}
.main07_ill_02{width:26%; top:-14.5%; right:-1%;
animation: peterSwing 3s ease-in-out infinite;
transform-origin: center bottom;}
.main07_ill_03{width:28%; top:-14%; left:-2%;}

/* --------------------------------
  720px以下 sp
-------------------------------- */
@media (max-width: 720px) {
  html {
    scroll-padding-top: 70px;
  }

  


  .lp-main {
    width: 100%;
    max-width: none;
  }

  .lp-bg {
    display: none;
  }

.sp-menu__btn {
  width: clamp(54px, 13.33vw, 100px);
  height: clamp(54px, 13.33vw, 100px);
  top: clamp(16px, 4vw, 30px);
  right: clamp(12px, 2.67vw, 20px);
}

.sp-menu__btn span {
  width: clamp(26px, 6vw, 46px);
  height: 3px;
}

.sp-menu__btn span:nth-child(1) {
  top: clamp(18px, 4.4vw, 33px);
}

.sp-menu__btn span:nth-child(2) {
  top: clamp(27px, 6.4vw, 48px);
}

.sp-menu__btn span:nth-child(3) {
  top: clamp(36px, 8.4vw, 63px);
}

.sp-menu.is-open .sp-menu__btn span:nth-child(1),
.sp-menu.is-open .sp-menu__btn span:nth-child(3) {
  top: clamp(27px, 6.4vw, 48px);
}

.pagetop{
  display:block;
  position: fixed;
  width: clamp(72px, 14.67vw, 110px);
  right: clamp(12px, 3.73vw, 28px);
  bottom: clamp(12px, 3vw, 24px);
  z-index: 100;
  opacity:0;
  pointer-events:none;
  transition: opacity .3s;
}

.pagetop.is-show{
  opacity:1;
  pointer-events:auto;
}


}