@charset "utf-8";

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

li {
  list-style: none;
}

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


html {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: scroll; -webkit-overflow-scrolling: touch;
	scroll-behavior: smooth;
}


body {
  font-family: 'Poppins', sans-serif;
}

main {
  width: 100%;
  position: relative;
}

main::after {
  position: absolute;
  width: 100%;
  height: 100%;
  content: "";
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  z-index: 10;
  animation: open 1.5s ease-in 1s forwards;
}

@keyframes open {
  100% {
    width: 0;
    opacity: 0;
  }
}

header {
  width: 100%;
  padding: 0 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  color: rgb(92, 64, 51,0.6);
  z-index: 100;
}

.logo {
  color: #ffffffca;
  text-shadow: 2px 2px 0px #0000007a;
}

.toggle-menu {
  display: none;
}

.site-menu {
  width: 60%;
  text-align: right;
}

.site-menu a {
  margin-left: 10%;
  font-weight: bold;
  display: inline-block;
}

.parallax_wrapper {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  perspective: 300px;
}

.hero_top {
  width: 100%;
  height: 100vh;
  background-color: #ade26c;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 5rem;
  color: #4b1d1d;
}

.attention {
  color: #fefefe;
  font-size: 2rem;
}

.sitename {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  letter-spacing: 10px;
}

.mojih2 {
  position:absolute;
  top: 10%;
}

.moji {
  position: absolute;
  top: 25%;
  color:blanchedalmond;
  line-height: 2;
  text-align: center;
}

.parallax_group {
  width: 100%;
  height: 100vh;
  position: relative;
  transform-style: preserve-3d;
}

.parallax_group .layer {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.parallax_group .base {
  background-image: url(../image/balloons-1046658_1920.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(-300px) scale(2.1);
}

.parallax_group .mid {
  color: rgb(97, 37, 37);
  font-size: 2rem;
  letter-spacing: 3;
  font-weight: bold;
  font-family: monospace;
  transform: translateZ(0);
  height: auto;
}

.title1 {
  font-size: 8rem;
  letter-spacing: 3.5px;
  font-family: 'Poppins', sans-serif;
  z-index: 120;
  text-align: center;
  color: #fff;
}

.title1:hover {
  color: yellow;
}

.title1-p {
  color: #ffffffca;
}

#top {
  z-index: 0;
}

#group1 {
  z-index: -1;
  position: sticky;
  top: 0;
  left: 0;
}

#group2 > .mid {
  background-color: #f6836f;
}

/*
footer {
  height: 5%;
  width: 100%;
  background-color: rgb(92, 64, 51);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}*/

.footer {
  position: fixed;
  bottom: 1%;
  height: 8%;
  width: 100%;
  background-color:rgb(92, 64, 51,0.8);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button {
  position: fixed;
  bottom: 10%;
  right: 1%;
  z-index: 120;
}


@media (max-width: 800px) {

  .attention,.sitename {
    margin-left: 5%;
    margin-right: 5%;
  }

  .sitename {
    font-size: 4rem;
  }

  .toggle-menu {
    width: 40px;
    aspect-ratio: 1;
    background-image: url(../image/menu-regular-24.png);
    background-repeat: no-repeat;
    background-size: cover;
    border: none;
    background-color: transparent;
    filter: invert(100%);
    display: block;
  }

  .site-menu {
    width: 100%;
    height: fit-content;
    background-color: #fc7777af;
    background: linear-gradient(180deg, rgb(204, 236, 108) 0%, rgb(216, 249, 71) 30%, rgba(42, 206, 91, 0) 100%);
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    text-align: center;
    line-height: 3;
    padding: 10%;
    display: none;
  }

  .toggle-close {
    width: 40px;
    aspect-ratio: 1;
    background-image: url(../image/angle-small-right.png);
    background-size: cover;
    filter: invert(100%);
    margin: 0 auto;
  }

  .site-menu.show {
    display: block;
  }

  .parallax_wrapper h2 {
    font-size: 2.5rem;
  }

  .parallax-group h2 {
    font-size: 1.5rem;
  }
  
  .contentsText {
    width: 100%;
    margin-left: 30px;
    font-size: inherit;
  }
  
  .title1-p {
    margin-left: 5%;
    margin-right: 5%;
    font-size: 1.2rem;
  }
 
  .title1 {
    font-size: 3.5rem;
    margin-top: 3%;
  }

  .moji {
    top: 20%;
    font-size: 1.6rem;
    line-height: 1.5;
  }

  .footer > p {
    text-align: center;
    font-size: 0.8rem;
  }


}