@charset "Utf-8";

/* リセットCSS・全体設定 */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 1s;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

nav,
main,
footer {
  margin: 0 auto;
  width: min(100%, 1000px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
  font-family: "Zen Maru Gothic", serif;
  background-color: #f8eedb;
}

img {
  max-width: 100%;
}

.zen-maru-gothic-regular {
  font-family: "Zen Maru Gothic", serif;
  font-weight: 400;
  font-style: normal;
}

.margin-left30 {
  margin-left: 30px;
}

/* ボタン */
.button {
  background-color: #feea25;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 0 #a09745;
  transition: 0.3s;
}
.button:hover {
  transform: translateY(3px);
  transition: 0.3s;
  box-shadow: none;
}

@keyframes pageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  30% {
    transform-origin: top;
    transform: scaleY(1);
  }

  70% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}
/* オープニングアニメーション */

#load_animation {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background-color: #3a5b72;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#load_animation .load_img {
  padding: 50px 0;
}

#load_animation .load_img img {
  width: 30vh;
  height: auto;
  display: none;
}

#load_animation .loading_gif {
  padding: 50px 0;
}

#load_animation .loading_gif img {
  width: 30vh;
  height: auto;
  display: none;
}
/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 0.15s;
  width: 100%;
}
.header nav {
  width: 400px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 70px;
}
.header h1 {
  width: 300px;
}

.header-icon-moon {
  width: 50px;
}

@media screen and (max-width: 800px) {
  .header-body {
    border-radius: 0 0 40px 40px;
  }
}

@media screen and (max-width: 1535px) {
  .header-body div.header-wide {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media screen and (max-width: 600px) {
  .header-body div.header-wide {
    padding-top: 16px;
    padding-bottom: 16px;
    width: 82%;
  }
}

@media screen and (max-width: 1535px) {
  .header-body div.header-wide .header-logo {
    width: 134px;
  }
  ß .header-body div.header-wide .header-logo img {
    width: 100%;
  }
}

@media screen and (max-width: 1110px) {
  .header-body div.header-wide .header-logo {
    width: 114px;
  }
}

@media screen and (max-width: 600px) {
  .header-body div.header-wide .header-logo {
    width: 90px;
  }
}

/* column */
.column {
  display: flex;
}

.center {
  width: 600px;
}

@media screen and (max-width: 1535px) {
  .center {
    width: 450px;
  }
}

@media screen and (max-width: 600px) {
  .center {
    width: 100%;
  }
}
/* left */
.side-left-li {
  width: 150px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  font-size: 1.3em;
}

.side-left-li li::after {
  content: "";
  display: block;
  border-bottom: 2px dashed #feea25;
  width: 150px;
  height: 10px;
}

.left {
  position: sticky;
  overflow: hidden;
  top: 0;
  height: 100vh;
  width: calc(50% - 300px);
  background-size: cover;
  z-index: 80;
  background-color: #3a5b72;
}
.index-anime {
  top: 0;
  height: 100px;
}
@media screen and (max-width: 1535px) {
  .left {
    width: calc(50% - 225px);
  }
}

@media screen and (max-width: 600px) {
  .left {
    display: none;
  }
}

.left,
.right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
/* right */

.right {
  position: sticky;
  overflow: hidden;
  top: 0;
  height: 100vh;
  width: calc(50% - 300px);
  background-size: cover;
  z-index: 80;
  background-color: #3a5b72;
}
.side-right-img {
  width: min(70%, 1000px);
  margin: 0 auto;
}

@media screen and (max-width: 1535px) {
  .right {
    width: calc(50% - 225px);
  }
}

@media screen and (max-width: 600px) {
  .right {
    display: none;
  }
}

/* center */
/* ファーストビュー */
.main-v {
  height: 80vh;
  display: flex;
  padding-bottom: 5vh;
  background-color: #3a5b72;
}

.main-v img {
  object-fit: cover;
}

.scroll {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.scroll-down {
  width: 2px;
  height: 80px;
  background: #3a5b72;
  animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
  0% {
    transform-origin: top;
    transform: scaleY(0);
  }

  45% {
    transform-origin: top;
    transform: scaleY(1);
  }

  55% {
    transform-origin: bottom;
    transform: scaleY(1);
  }

  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

/* intro */
.intro-text-box {
  background: url(../images/intro.png) no-repeat center;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.intro-text-box h2 {
  line-height: 2em;
  font-size: 1.2em;
}

.intro-text-box p {
  font-size: 0.9em;
}

.intro-story {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.intro-story img {
  margin: 60px auto;
}

.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1;
}
/* おともだち */

.index-friends-box {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 10px;
}

.index-friends-box li {
  width: calc(90vw / 3);
}

.index-friends-box img {
  height: 80px;
  width: auto;
}
.index-friends-text {
  text-align: end;
  margin-right: 50px;
  padding-bottom: 50px;
}

.index-friends-box li:hover {
  transform: translateY(-4px);
  transition: 0.3s;
}

/* えほん */
.index-book {
  margin: 0 auto;
  margin-top: 10px;
  background-color: #fff;
  border-radius: 12px;
  height: 400px;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.index-book h3 {
  font-size: 1.8em;
  margin-top: 10px;
  margin-bottom: 10px;
}
.front-cover {
  width: 300px;
  height: auto;
}

/* おともだちとあそぶ */
#asobu {
  margin: 50px auto;
}
.bubble {
  position: absolute;
  bottom: 200px;
  left: 30px;
  background: #3a5b72;
  color: #fff;
  border: 1.5px solid #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 14px;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
#field {
  position: relative;
  width: 400px;
  height: 300px;
  background-color: #3a5b72;
  background-image: url(../images/tree.png);
  background-position: 50% 0%;
  background-size: 60%;
  background-repeat: no-repeat;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  margin: 20px auto;
}

.asobu-character {
  position: absolute;
  width: 80px;
  height: auto;
}

#panda {
  bottom: 50px;
  left: 50px;
}

#nan {
  bottom: 50px;
  right: 50px;
}

#ball {
  position: absolute;
  width: 50px;
  height: 45px;
  pointer-events: none;
}
/* goods */
.index-goods-list {
  margin-bottom: 50px;
}
.index-goods {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.index-goods img {
  width: 200px;
  height: auto;
}
.price {
  background: url(../images/intro.png) no-repeat;
  background-size: contain;
  width: 200px;
  height: 130px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.rev {
  flex-direction: row-reverse;
}

/* おともだちになる */
.sns-area {
  display: flex;
  justify-content: space-around;
  width: 350px;
  margin: 50px auto;
}

/* お問い合わせ */
.index-contact {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  align-items: center;
  justify-content: space-around;
  width: 400px;
  margin: 20px auto;
  padding: 50px;
  border-radius: 12px;
}

/* footer */
.footer {
  width: 100%;
  color: #fff;
  font-size: 0.7em;
  margin-top: 50px;
}
.footer-logo {
  text-align: center;
}
.footer-tree {
  width: 150px;
  margin: 0 auto;
  margin-bottom: -5px;
}

.footer-back {
  background-color: #3a5b72;
  width: 100%;
  border-radius: 600px 600px 0 0 / 50px 50px 0 0;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-back img {
  width: 50%;
  padding-top: 30px;
  padding-bottom: 10px;
}

.footer-back small {
  padding-bottom: 10px;
}

.footer-text {
  display: flex;
}
.footer-text p {
  padding: 10px;
}

/* 上に戻る */
.gotop {
  position: fixed;
  bottom: 70px;
  right: 100px;
  width: 100px;
  display: none;
  z-index: 1000;
}
