/* ==================================================
   BASE
================================================== */

@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@400;500&display=swap");

:root {
  --hero-sky: #bae7ff;
  --hero-green: #e0eccb;
  --hero-animal-duration: 0.6s;
  --hero-animal-initial-delay: 0.15s;
}

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

html,
body {
  margin: 0;
  min-width: 320px;
}

html {
  scroll-behavior: smooth;
}

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

/* PCのみ改行 */
.br-pc {
  display: inline;
}

/* SPのみ改行 */
.br-sp {
  display: none;
}

@media (max-width: 799px) {
  .br-pc {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}

/* ==================================================
   HERO
================================================== */

.hero {
  overflow-x: clip;
  background-color: #fff;
}

.hero__stage {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 1280 / 948;
  container-type: inline-size;
  background-color: var(--hero-sky);
}

.hero__frame,
.hero__cloud,
.hero__animal,
.hero__title,
.hero__lead,
.hero__foreground {
  position: absolute;
  margin: 0;
}

.hero__frame {
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
}

@media (min-width: 800px) {
  .hero__frame {
    left: -1px;
    width: calc(100% + 2px);
    max-width: none;
  }
}

.hero__clouds {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.hero__cloud {
  left: var(--left);
  top: var(--top);
  width: var(--width);
  animation: hero-cloud-float var(--float-duration) ease-in-out
    var(--float-delay) infinite alternate;
}

/* Cloud positions and motion tuning */
.hero__cloud--01 {
  --left: 1.954%;
  --top: 17.56%;
  --width: 16.237%;
  --float-y: -16px;
  --float-duration: 6.2s;
  --float-delay: -1.8s;
}
.hero__cloud--02 {
  --left: 17.917%;
  --top: 34.914%;
  --width: 12.332%;
  --float-y: 12px;
  --float-duration: 5.4s;
  --float-delay: -4.1s;
}
.hero__cloud--03 {
  --left: 22.116%;
  --top: 8.105%;
  --width: 13.891%;
  --float-y: -14px;
  --float-duration: 6.8s;
  --float-delay: -0.7s;
}
.hero__cloud--04 {
  --left: 34.911%;
  --top: 59.071%;
  --width: 9%;
  --float-y: 10px;
  --float-duration: 5.8s;
  --float-delay: -3.4s;
}
.hero__cloud--05 {
  --left: 49.97%;
  --top: 23.451%;
  --width: 13.891%;
  --float-y: -18px;
  --float-duration: 6.5s;
  --float-delay: -2.5s;
}
.hero__cloud--06 {
  --left: 55.623%;
  --top: 55.986%;
  --width: 9.687%;
  --float-y: 15px;
  --float-duration: 5.2s;
  --float-delay: -0.9s;
}
.hero__cloud--07 {
  --left: 70.156%;
  --top: 9.866%;
  --width: 11.445%;
  --float-y: -11px;
  --float-duration: 5.9s;
  --float-delay: -4.7s;
}
.hero__cloud--08 {
  --left: 71.882%;
  --top: 31.46%;
  --width: 12.204%;
  --float-y: 17px;
  --float-duration: 6.9s;
  --float-delay: -2.1s;
}
.hero__cloud--09 {
  --left: 88.616%;
  --top: 18.997%;
  --width: 10.667%;
  --float-y: -13px;
  --float-duration: 5.6s;
  --float-delay: -3.8s;
}

.hero__animals {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.hero__animal {
  left: var(--left);
  top: var(--top);
  width: var(--width);
}

.js .hero:not(.is-active) .hero__animal {
  opacity: 0;
  transform: translate(var(--enter-x), var(--enter-y));
}

.js .hero.is-active .hero__animal {
  animation: hero-animal-enter var(--hero-animal-duration) linear both;
  animation-delay: calc(var(--hero-animal-initial-delay) + var(--delay));
}

/* Animal positions and entrance tuning */
.hero__animal--giant-panda {
  --left: -17.757%;
  --top: 24.386%;
  --width: 34.768%;
  --enter-x: -28%;
  --enter-y: 26%;
  --delay: 0s;
}
.hero__animal--manul-cat {
  --left: -1.175%;
  --top: 48.66%;
  --width: 22.096%;
  --enter-x: -24%;
  --enter-y: 30%;
  --delay: 0.12s;
}
.hero__animal--polar-bear {
  --left: -3.909%;
  --top: 61.12%;
  --width: 38.46%;
  --enter-x: -15%;
  --enter-y: 26%;
  --delay: 0.24s;
}
.hero__animal--raccoon-dog {
  --left: 31.136%;
  --top: 66.64%;
  --width: 19.108%;
  --enter-x: -5%;
  --enter-y: 34%;
  --delay: 0.36s;
}
.hero__animal--guinea-pig {
  --left: 49.612%;
  --top: 67.133%;
  --width: 16.214%;
  --enter-x: 4%;
  --enter-y: 36%;
  --delay: 0.48s;
}
.hero__animal--southern-tamandua {
  --left: 65.557%;
  --top: 58.396%;
  --width: 27.155%;
  --enter-x: 22%;
  --enter-y: 28%;
  --delay: 0.6s;
}
.hero__animal--red-panda {
  --left: 77.679%;
  --top: 46.478%;
  --width: 31.109%;
  --enter-x: 24%;
  --enter-y: 28%;
  --delay: 0.72s;
}
.hero__animal--sea-otter {
  --left: 85.945%;
  --top: 25.375%;
  --width: 21.699%;
  --enter-x: 24%;
  --enter-y: 24%;
  --delay: 0.9s;
}

.hero__title {
  z-index: 4;
  left: 25.322%;
  top: -3.356%;
  width: 49.356%;
}

.hero__sign {
  width: 100%;
}

.hero__lead {
  z-index: 4;
  left: 25.005%;
  top: 35.393%;
  width: 52%;
  color: #2666c8;
  font-family: "Kiwi Maru", serif;
  font-size: 2.03125cqw;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: -0.06em;
  text-align: center;
  text-shadow: none;
}

.hero__foreground {
  z-index: 5;
  left: 0;
  top: 63.65%;
  width: 100%;
  pointer-events: none;
}

/* Animations */

@keyframes hero-cloud-float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(var(--float-y));
  }
}

@keyframes hero-animal-enter {
  0% {
    opacity: 0;
    transform: translate(var(--enter-x), var(--enter-y));
    animation-timing-function: cubic-bezier(0.22, 0.75, 0.3, 1);
  }
  70% {
    opacity: 1;
    transform: translate(
      calc(var(--enter-x) * -0.025),
      calc(var(--enter-y) * -0.025)
    );
    animation-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* Responsive */

@media (max-width: 799px) {
  .hero__stage {
    aspect-ratio: 1125 / 1070;
  }

  .hero__title {
    left: 19.337%;
    top: -3.226%;
    width: 60.943%;
  }
  .hero__lead {
    left: 15%;
    top: 34.512%;
    width: 70%;
    font-size: 3.28889cqw;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  .hero__cloud--01 {
    --left: 1.958%;
    --top: 13.931%;
    --width: 16.235%;
  }
  .hero__cloud--02 {
    --left: 9.527%;
    --top: 28.811%;
    --width: 12.33%;
  }
  .hero__cloud--03 {
    --left: 22.118%;
    --top: 6.569%;
    --width: 13.889%;
  }
  .hero__cloud--04 {
    --left: 21.317%;
    --top: 58.224%;
    --width: 7.396%;
  }
  .hero__cloud--05 {
    --left: 49.077%;
    --top: 24.073%;
    --width: 13.889%;
  }
  .hero__cloud--06 {
    --left: 58.207%;
    --top: 65.537%;
    --width: 8.12%;
  }
  .hero__cloud--07 {
    --left: 70.153%;
    --top: 7.941%;
    --width: 11.444%;
  }
  .hero__cloud--08 {
    --left: 75.349%;
    --top: 30.689%;
    --width: 12.202%;
  }
  .hero__cloud--09 {
    --left: 88.21%;
    --top: 20.297%;
    --width: 13.889%;
  }

  .hero__animal--giant-panda {
    --left: -19.905%;
    --top: 30.487%;
    --width: 38.283%;
  }
  .hero__animal--manul-cat {
    --left: -3.87%;
    --top: 53.433%;
    --width: 24.244%;
  }
  .hero__animal--polar-bear {
    --left: -8.881%;
    --top: 65.474%;
    --width: 42.285%;
  }
  .hero__animal--raccoon-dog {
    --left: 29.664%;
    --top: 70.201%;
    --width: 20.941%;
  }
  .hero__animal--guinea-pig {
    --left: 50.341%;
    --top: 70.826%;
    --width: 17.781%;
  }
  .hero__animal--southern-tamandua {
    --left: 65.326%;
    --top: 62.566%;
    --width: 29.803%;
  }
  .hero__animal--red-panda {
    --left: 79.243%;
    --top: 50.059%;
    --width: 34.068%;
  }
  .hero__animal--sea-otter {
    --left: 85.01%;
    --top: 29.255%;
    --width: 23.74%;
  }

  .hero__foreground {
    top: 71.697%;
  }
}

/* ==================================================
   MENU
================================================== */

.menu {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
  background-color: var(--hero-green);
}

.menu::before {
  content: "";
  position: absolute;
  z-index: 6;
  top: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--hero-green);
  pointer-events: none;
}

.menu__inner {
  position: relative;
  width: min(100%, 1280px);
  margin-inline: auto;
  padding-top: min(2.734375vw, 35px);
  padding-bottom: min(3.75vw, 48px);
  container-type: inline-size;
}

.menu__nav {
  position: relative;
  z-index: 11;
  display: flex;
  justify-content: center;
  gap: min(2.1875cqi, 28px);
}

.menu__link {
  display: block;
  flex: 0 0 min(10.625cqi, 136px);
  width: min(10.625cqi, 136px);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu__link img,
.menu__errata img {
  width: 100%;
  height: auto;
}

.menu__errata {
  position: absolute;
  z-index: 11;
  top: max(-104px, -8.125vw);
  left: 2.86661%;
  display: block;
  width: min(21.09375cqi, 270px);
  transition: opacity 0.2s ease;
}

.menu__link:focus-visible,
.menu__errata:focus-visible {
  border-radius: 8px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .menu__link:hover {
    transform: translateY(-2px) scale(1.02);
  }

  .menu__errata:hover {
    opacity: 0.75;
  }
}

/* ==================================================
   ZOO MAP
================================================== */

.zoo-map {
  position: relative;
  width: min(100%, 1280px);
  margin-top: max(-26.0595vw, -333.56px);
  margin-inline: auto;
  overflow: clip;
}

.zoo-map::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: var(--hero-green);
  pointer-events: none;
}

.zoo-map__field {
  position: relative;
  width: 100%;
  aspect-ratio: 2560 / 5977;
}

.zoo-map__decoration,
.zoo-map__news,
.zoo-map__title,
.zoo-map__intro,
.zoo-map__animal,
.zoo-map__keeper {
  position: absolute;
  margin: 0;
}

.zoo-map__decoration {
  z-index: 6;
  inset: 0;
  display: block;
}

.zoo-map__decoration img,
.zoo-map__news,
.zoo-map__title,
.zoo-map__animal img,
.zoo-map__keeper {
  width: 100%;
  height: auto;
}

.zoo-map__news,
.zoo-map__title,
.zoo-map__intro,
.zoo-map__animal,
.zoo-map__keeper {
  left: var(--left);
  top: var(--top);
  width: var(--width);
}

@media (min-width: 800px) {
  .zoo-map__news,
  .zoo-map__title,
  .zoo-map__intro,
  .zoo-map__animal,
  .zoo-map__keeper {
    top: calc(var(--top) * 6086 / 5977);
  }
}

.zoo-map__news,
.zoo-map__title,
.zoo-map__intro {
  z-index: 8;
}

.zoo-map__news {
  --left: 77.1023%;
  --top: 1.4762%;
  --width: 19.7953%;
}

.zoo-map__title {
  --left: 6.6062%;
  --top: 10.4026%;
  --width: 32.5625%;
}

.zoo-map__intro {
  --left: 34.2687%;
  --top: 14.7259%;
  --width: 33.9633%;
  color: #6d4428;
  font-family: "Kiwi Maru", serif;
  font-size: min(1.875vw, 24px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: nowrap;
}

.zoo-map__intro-sp {
  display: none;
}

.zoo-map__animal {
  z-index: 7;
  display: block;
  transition: transform 0.2s ease;
}

.zoo-map__animal img {
  display: block;
  pointer-events: none;
}

.zoo-map__animal:focus-visible {
  z-index: 10;
  border-radius: 8px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

/* Animal markers */

.zoo-map__animal--manul-cat {
  --left: 4.6953%;
  --top: 22.2816%;
  --width: 29.7203%;
}

.zoo-map__animal--giant-panda {
  --left: 30.5078%;
  --top: 18.2024%;
  --width: 34.282%;
}

.zoo-map__animal--polar-bear {
  --left: 65.5875%;
  --top: 21.6642%;
  --width: 31.4133%;
}

.zoo-map__animal--raccoon-dog {
  --left: 28.8445%;
  --top: 30.7723%;
  --width: 34.2594%;
}

.zoo-map__animal--southern-tamandua {
  --left: 64.7609%;
  --top: 33.4433%;
  --width: 32.5148%;
}

.zoo-map__animal--sea-otter {
  --left: 5.0883%;
  --top: 41.0641%;
  --width: 26.632%;
}

.zoo-map__animal--guinea-pig {
  --left: 32.5867%;
  --top: 41.3224%;
  --width: 32.6734%;
}

.zoo-map__animal--red-panda {
  --left: 63.2281%;
  --top: 47.5859%;
  --width: 35.1797%;
}

.zoo-map__animal--asian-small-clawed-otter {
  --left: 3.8281%;
  --top: 56.7884%;
  --width: 26.6273%;
}

.zoo-map__animal--capybara {
  --left: 31.1242%;
  --top: 56.1298%;
  --width: 36.2016%;
}

.zoo-map__animal--seal {
  --left: 66.5266%;
  --top: 60.1702%;
  --width: 25.2164%;
}

.zoo-map__animal--koala {
  --left: 33.5203%;
  --top: 67.9948%;
  --width: 30.4688%;
}

.zoo-map__animal--meerkat {
  --left: 9.0867%;
  --top: 75.5271%;
  --width: 30.0555%;
}

.zoo-map__animal--american-beaver {
  --left: 48.1352%;
  --top: 77.1167%;
  --width: 44.7383%;
}

/* Keepers */

.zoo-map__keeper {
  z-index: 9;
  pointer-events: none;
}

.zoo-map__keeper--southern-tamandua {
  --left: 57.4492%;
  --top: 36.7177%;
  --width: 6.5641%;
}

.zoo-map__keeper--capybara {
  --left: 60.3055%;
  --top: 63.9622%;
  --width: 6.3805%;
}

.zoo-map__keeper--koala {
  --left: 36.8273%;
  --top: 78.4377%;
  --width: 5.5875%;
}

.zoo-map__keeper--american-beaver {
  --left: 82.4008%;
  --top: 84.7779%;
  --width: 8.2766%;
}

.zoo-map__keeper--guinea-pig {
  --left: 51.8266%;
  --top: 51.072%;
  --width: 8.0195%;
}

@media (hover: hover) {
  .zoo-map__animal:hover {
    transform: translateY(-3px) scale(1.01);
  }
}

@media (max-width: 799px) {
  /* MENU - SP */

  .menu__inner {
    padding-top: 10px;
    padding-bottom: 6vw;
  }

  .menu__nav {
    gap: 3.98035cqi;
  }

  .menu__link {
    flex-basis: 19.15163cqi;
    width: 19.15163cqi;
  }

  .menu__errata {
    position: relative;
    top: auto;
    left: auto;
    width: 46.22222%;
    margin-top: 3.02222vw;
    margin-left: 6.9097%;
  }

  /* ZOO MAP - SP */

  .zoo-map {
    margin-top: calc(-10px - 45.6611vw);
  }

  .zoo-map__field {
    aspect-ratio: 1125 / 4669;
  }

  .zoo-map__news {
    --left: 71.3022%;
    --top: 6.4384%;
    --width: 25.5893%;
  }

  .zoo-map__title {
    --left: 5.7102%;
    --top: 10.1577%;
    --width: 45.6489%;
  }

  .zoo-map__intro {
    --left: 19.8844%;
    --top: 15.1504%;
    --width: 59.4498%;
    font-size: 3.1111vw;
  }

  .zoo-map__intro-pc {
    display: none;
  }

  .zoo-map__intro-sp {
    display: inline;
  }

  .zoo-map__animal--manul-cat {
    --left: 4.9636%;
    --top: 18.1763%;
    --width: 41.6036%;
  }

  .zoo-map__animal--giant-panda {
    --left: 47.8631%;
    --top: 20.6907%;
    --width: 47.9893%;
  }

  .zoo-map__animal--polar-bear {
    --left: 51.3938%;
    --top: 31.1928%;
    --width: 43.9742%;
  }

  .zoo-map__animal--raccoon-dog {
    --left: 4.4969%;
    --top: 28.8122%;
    --width: 47.9582%;
  }

  .zoo-map__animal--southern-tamandua {
    --left: 6.3031%;
    --top: 36.2022%;
    --width: 45.5164%;
  }

  .zoo-map__animal--sea-otter {
    --left: 54.8702%;
    --top: 40.5389%;
    --width: 37.2809%;
  }

  .zoo-map__animal--guinea-pig {
    --left: 4.6916%;
    --top: 44.963%;
    --width: 45.7378%;
  }

  .zoo-map__animal--red-panda {
    --left: 45.688%;
    --top: 53.1714%;
    --width: 49.2453%;
  }

  .zoo-map__animal--asian-small-clawed-otter {
    --left: 4.9636%;
    --top: 53.6719%;
    --width: 37.2747%;
  }

  .zoo-map__animal--capybara {
    --left: 44.0329%;
    --top: 63.3296%;
    --width: 50.6756%;
  }

  .zoo-map__animal--seal {
    --left: 54.8089%;
    --top: 72.3031%;
    --width: 35.2996%;
  }

  .zoo-map__animal--koala {
    --left: 6.1849%;
    --top: 79.4376%;
    --width: 42.6507%;
  }

  .zoo-map__animal--meerkat {
    --left: 9.0524%;
    --top: 67.03%;
    --width: 42.0729%;
  }

  .zoo-map__animal--american-beaver {
    --left: 28.2756%;
    --top: 85.8539%;
    --width: 62.6267%;
  }

  .zoo-map__keeper--southern-tamandua {
    --left: 0.9982%;
    --top: 35.142%;
    --width: 8.2382%;
  }

  .zoo-map__keeper--capybara {
    --left: 90.0222%;
    --top: 70.0229%;
    --width: 7.2596%;
  }

  .zoo-map__keeper--koala {
    --left: 14.7004%;
    --top: 88.5365%;
    --width: 7.8133%;
  }

  .zoo-map__keeper--american-beaver {
    --left: 87.2329%;
    --top: 91.5372%;
    --width: 9.5324%;
  }

  .zoo-map__keeper--guinea-pig {
    --left: 2.4809%;
    --top: 50.4406%;
    --width: 10.3209%;
  }
}

/* ==================================================
   ANIMAL CAROUSEL
================================================== */

.animal-detail {
  --text-width-pc: 26.2953%;
  --text-width-sp: 60.3156%;
  --product-height-pc: min(6.40625cqi, 82px);
  --product-height-sp: 9.3333vw;
  --nav-width-pc: 4.4984%;
  --nav-width-sp: 8.0747%;
  --visual-center-pc: 64.8477%;
  --visual-center-sp: 50.5031%;
  --visual-stage-height-pc: 34.2313cqi;
  --visual-stage-height-sp: 56.7887cqi;
  width: min(100%, 1280px);
  margin-inline: auto;
  overflow: clip;
  background-color: #fff;
  scroll-margin-top: 0;
}

.animal-detail__swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  container-type: inline-size;
}

.animal-detail__swiper .swiper-wrapper {
  display: flex;
}

.animal-detail__slide {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--visual-stage-height-pc) auto;
  align-items: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 4.1117cqi 0 4.6875cqi;
}

/* Animal-specific visual settings */

.animal-detail__slide--manul-cat {
  --visual-width-pc: 38.3172%;
  --visual-width-sp: 63.5636%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--giant-panda {
  --visual-width-pc: 37.5023%;
  --visual-width-sp: 62.2119%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--polar-bear {
  --visual-width-pc: 41.1313%;
  --visual-width-sp: 68.2318%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--raccoon-dog {
  --visual-width-pc: 42.1336%;
  --visual-width-sp: 69.8946%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--southern-tamandua {
  --visual-width-pc: 44.3031%;
  --visual-width-sp: 73.4936%;
  --visual-x-pc: -0.78125%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--sea-otter {
  --visual-width-pc: 37.275%;
  --visual-width-sp: 61.8348%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--guinea-pig {
  --visual-width-pc: 35.3648%;
  --visual-width-sp: 58.666%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--red-panda {
  --visual-width-pc: 35.8789%;
  --visual-width-sp: 59.5188%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--asian-small-clawed-otter {
  --visual-width-pc: 33.7063%;
  --visual-width-sp: 55.9146%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--capybara {
  --visual-width-pc: 38.4805%;
  --visual-width-sp: 63.8345%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--seal {
  --visual-width-pc: 38.0117%;
  --visual-width-sp: 63.0569%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--koala {
  --visual-width-pc: 33.2969%;
  --visual-width-sp: 55.2356%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--meerkat {
  --visual-width-pc: 41.1258%;
  --visual-width-sp: 68.2227%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__slide--american-beaver {
  --visual-width-pc: 34.5695%;
  --visual-width-sp: 57.3467%;
  --visual-x-pc: 0%;
  --visual-y-pc: 0cqi;
  --visual-x-sp: 0%;
  --visual-y-sp: 0cqi;
}

.animal-detail__name {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.animal-detail__visual {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: var(--visual-width-pc);
  margin-left: calc(var(--visual-center-pc) + var(--visual-x-pc));
  transform: translate(-50%, var(--visual-y-pc));
}

.animal-detail__text {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  width: var(--text-width-pc);
  margin-top: 1.9188cqi;
  margin-left: 15%;
}

.animal-detail__visual img,
.animal-detail__text img {
  width: 100%;
  height: auto;
}

.animal-detail__product-link {
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  display: block;
  width: fit-content;
  height: var(--product-height-pc);
  margin-top: 4.0096cqi;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.animal-detail__product-link img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
}

/* Navigation */

.animal-detail__nav {
  position: absolute;
  z-index: 5;
  top: 22.3617cqi;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-width-pc);
  height: auto;
  padding: 0;
  aspect-ratio: 57.43 / 63.23;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.animal-detail__nav img {
  width: 100%;
  height: auto;
}

.animal-detail__prev {
  left: 9.2117%;
}

.animal-detail__next {
  right: 9.2125%;
}

.animal-detail__nav:disabled,
.animal-detail__nav.swiper-button-disabled {
  opacity: 0.8;
  cursor: default;
}

.animal-detail__nav.swiper-button-lock {
  display: flex;
}

.animal-detail__product-link:focus-visible,
.animal-detail__nav:focus-visible {
  border-radius: 8px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .animal-detail__product-link:hover {
    opacity: 0.82;
    transform: translateY(-2px);
  }

  .animal-detail__nav:not(:disabled):hover {
    opacity: 0.75;
  }
}

/* Responsive */

@media (max-width: 799px) {
  .animal-detail__slide {
    grid-template-rows: var(--visual-stage-height-sp) auto auto;
    padding: 7.7609cqi 0 4.4444cqi;
  }

  .animal-detail__visual {
    grid-row: 1;
    width: var(--visual-width-sp);
    margin-left: calc(var(--visual-center-sp) + var(--visual-x-sp));
    transform: translate(-50%, var(--visual-y-sp));
  }

  .animal-detail__text {
    grid-row: 2;
    width: var(--text-width-sp);
    margin-top: 4.7256cqi;
    margin-left: 19.8418%;
  }

  .animal-detail__product-link {
    grid-row: 3;
    height: var(--product-height-sp);
    margin-top: 5.4707cqi;
  }

  .animal-detail__nav {
    top: 64.8836cqi;
    width: var(--nav-width-sp);
  }

  .animal-detail__prev {
    left: 8.3244%;
  }

  .animal-detail__next {
    right: 6.5787%;
  }
}

/* Reduced motion (BASE / HERO / ZOO MAP / ANIMAL CAROUSEL) */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__cloud,
  .js .hero.is-active .hero__animal {
    animation: none;
  }

  .js .hero:not(.is-active) .hero__animal {
    opacity: 1;
    transform: none;
  }

  .zoo-map__animal {
    transition: none;
  }

  .zoo-map__animal:hover {
    transform: none;
  }

  .animal-detail__swiper .swiper-wrapper,
  .animal-detail__swiper .swiper-slide,
  .animal-detail__product-link {
    transition-duration: 0s !important;
  }

  .animal-detail__product-link:hover {
    transform: none;
  }
}

/* ==================================================
   ITEM
================================================== */

.item-section {
  width: min(100%, 1280px);
  margin-inline: auto;
  overflow: clip;
  background-color: #fdd7a8;
}

.item-section__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 3050;
  container-type: inline-size;
}

.item-section__background,
.item-section__heading,
.item-section__lead,
.item-section__row,
.item-section__cta {
  position: absolute;
  margin: 0;
}

.item-section__background,
.item-section__heading img,
.item-section__row,
.item-section__cta img {
  width: 100%;
  height: auto;
}

.item-section__background {
  z-index: 1;
  left: 1.6688%;
  top: 4.7059%;
  width: 95.2883%;
}

.item-section__heading {
  z-index: 2;
  left: 29.1195%;
  top: 2.2911%;
  width: 41.7266%;
}

.item-section__lead {
  z-index: 3;
  top: 11.4675%;
  left: 50%;
  width: 51.4734%;
  color: #825a2b;
  font-family: "Kiwi Maru", serif;
  font-size: 3.125cqw;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.item-section__row {
  z-index: 4;
  left: var(--left);
  top: var(--top);
  width: var(--width);
}

.item-section__row--01 {
  --left: 9.6391%;
  --top: 16.9902%;
  --width: 82.5078%;
}

.item-section__row--02 {
  --left: 8.9203%;
  --top: 34.9079%;
  --width: 83.4977%;
}

.item-section__row--03 {
  --left: 15.2133%;
  --top: 49.3813%;
  --width: 76.9438%;
}

.item-section__row--04 {
  --left: 8.9656%;
  --top: 66.9262%;
  --width: 81.2836%;
}

.js .item-section__row,
.js .line-stamp__list {
  opacity: 0;
  transform: translate3d(0, 5.46875cqw, 0);
  transition:
    opacity 1.5s ease,
    transform 1.5s ease;
}

.js .item-section__row.is-visible,
.js .line-stamp__list.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.item-section__cta {
  z-index: 5;
  left: 33.3656%;
  top: 93.1534%;
  display: block;
  width: 33.5938%;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.item-section__cta:focus-visible {
  border-radius: 8px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .item-section__cta:hover {
    opacity: 0.82;
    transform: translateY(-2px);
  }
}

/* Reduced motion (ITEM / LINE STAMP) */

@media (prefers-reduced-motion: reduce) {
  .js .item-section__row,
  .js .line-stamp__list {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .item-section__cta {
    transition: none;
  }

  .item-section__cta:hover {
    transform: none;
  }
}

/* ==================================================
   LINE STAMP
================================================== */

.line-stamp {
  width: min(100%, 1280px);
  margin-inline: auto;
  overflow: clip;
  background-color: #fff;
}

.line-stamp__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 1524.62;
  container-type: inline-size;
}

.line-stamp__border,
.line-stamp__heading,
.line-stamp__lead,
.line-stamp__list,
.line-stamp__cta,
.line-stamp__animal,
.line-stamp__sign,
.line-stamp__grass,
.line-stamp__notes {
  position: absolute;
  margin: 0;
}

.line-stamp__border,
.line-stamp__heading img,
.line-stamp__list,
.line-stamp__cta img,
.line-stamp__animal,
.line-stamp__sign,
.line-stamp__grass img {
  width: 100%;
  height: auto;
}

.line-stamp__border {
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
}

.line-stamp__heading {
  z-index: 2;
  top: 6.6567%;
  left: 50%;
  width: 45.8891%;
  transform: translateX(-50%);
}

.line-stamp__lead {
  z-index: 2;
  top: 17.8359%;
  left: 50%;
  width: 48.9398%;
  color: #915e41;
  font-family: "Kiwi Maru", serif;
  font-size: 2.265625cqw;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  transform: translateX(-50%);
  white-space: nowrap;
}

.line-stamp__list {
  z-index: 2;
  top: 25.6615%;
  left: 11.0719%;
  width: 77.8562%;
}

.line-stamp__cta {
  z-index: 3;
  top: 76.9451%;
  left: 33.2031%;
  display: block;
  width: 33.5938%;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.line-stamp__animal {
  z-index: 3;
  top: 78.9233%;
  left: 5.9086%;
  width: 17.3922%;
}

.line-stamp__sign {
  z-index: 3;
  top: 77.6626%;
  left: 72.9492%;
  width: 22.4922%;
}

.line-stamp__grass {
  z-index: 1;
  top: 87.4034%;
  left: 0;
  display: block;
  width: 100%;
}

.line-stamp__notes {
  z-index: 4;
  top: 91.6287%;
  left: 50%;
  width: max-content;
  max-width: 90%;
  color: #6d4428;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Helvetica Neue",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    sans-serif;
  font-size: 1.328125cqw;
  font-weight: 400;
  line-height: 1.65;
  transform: translateX(-50%);
  white-space: nowrap;
}

.line-stamp__notes p {
  margin: 0;
}

.line-stamp__cta:focus-visible {
  border-radius: 8px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .line-stamp__cta:hover {
    opacity: 0.82;
    transform: translateY(-2px);
  }
}

/* Responsive */

@media (max-width: 799px) {
  .line-stamp__stage {
    aspect-ratio: 1125 / 1823.98;
  }

  .line-stamp__heading {
    top: 6.3246%;
    width: 55.0667%;
  }

  .line-stamp__lead {
    top: 18.5039%;
    width: 78.7191%;
    font-size: 3.55556cqw;
  }

  .line-stamp__list {
    top: 28.4625%;
    left: 7.1787%;
    width: 85.6418%;
  }

  .line-stamp__cta {
    top: 69.9229%;
    left: 30.3253%;
    width: 40.3556%;
  }

  .line-stamp__animal {
    top: 78.2788%;
    left: 9.4329%;
    width: 20.8702%;
  }

  .line-stamp__sign {
    top: 78.7235%;
    left: 61.4293%;
    width: 31.2889%;
  }

  .line-stamp__grass {
    top: 86.8469%;
  }

  .line-stamp__notes {
    top: 92.376%;
    font-size: 1.77778cqw;
    line-height: 1.5;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .line-stamp__cta {
    transition: none;
  }

  .line-stamp__cta:hover {
    transform: none;
  }
}

/* ==================================================
   FOOTER
================================================== */

.footer {
  display: flex;
  width: min(100%, 1280px);
  height: min(14.0625vw, 180px);
  margin-inline: auto;
  container-type: inline-size;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: #251E1C;
  background-color: #ffd854;
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
  font-weight: 400;
  text-align: center;
}

.footer__logo {
  display: block;
  width: 20.78125cqw;
  margin-top: 2.80469cqw;
  flex: 0 0 auto;
  transition: opacity 0.2s ease;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__notice,
.footer__copyright {
  margin-bottom: 0;
  font-size: 1.171875cqw;
  line-height: 1.5;
}

.footer__notice {
  width: 63.143cqw;
  margin-top: 1.44141cqw;
  white-space: nowrap;
}

.footer__copyright {
  margin-top: 0.05156cqw;
}

.footer__logo:focus-visible {
  border-radius: 4px;
  outline: 3px solid #2666c8;
  outline-offset: 4px;
}

@media (hover: hover) {
  .footer__logo:hover {
    opacity: 0.82;
  }
}

/* Responsive */

@media (max-width: 799px) {
  .footer {
    height: 14.04444vw;
    min-height: 115px;
  }

  .footer__logo {
    width: clamp(180px, 24.93689cqw, 280.54px);
    margin-top: 2.31644cqw;
  }

  .footer__logo img {
    width: 100%;
  }

  .footer__notice,
  .footer__copyright {
    font-size: 10px;
  }

  .footer__notice {
    width: 82.35556cqw;
    margin-top: 1.62311cqw;
    white-space: normal;
  }

  .footer__copyright {
    margin-top: 0.536cqw;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .footer__logo {
    transition: none;
  }
}
