
/* 画像がふわふわするアニメーション */
@keyframes fuwafuwa {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
/* このクラスをつけると回転を無限に繰り返します */
.anime-fuwafuwa {
  animation: 3s fuwafuwa infinite;
  height: 80vh;
  margin-top: -5vh;
}

html {
  scroll-behavior: smooth;
}
span {
  display: inline-block;
}
.gmap {
  width: 100%;
  height: 50vh;
}
main{
  scrollbar-width: none; /*Firefox対応のスクロールバー非表示コード*/  
  -ms-overflow-style: none;/*Internet Explore対応のスクロールバー非表示コード*/
}
main::-webkit-scrollbar{
  display: none;
}

/* aタグの青文字を無効に */
a{
    text-decoration: none;
    display: block;
  }

  body{
    box-sizing: border-box;
  }

/*---------- NAV BAR ----------*/
.side-navbar {
  width: 170px;
  height: 100vh;
  position: fixed;

  margin-left: -300px;
  background-color: rgba(242, 242, 242, 0.75);
  transition: 0.5s;
  z-index: 999;
}

.navbar-brand:hover{
  opacity: 0.6;
}

.nav-item {
  width: fit-content;
}

.nav-link:active,
.nav-link:focus,
.nav-link:hover {
  opacity: 0.6;
  width: fit-content;
}

.current{
  border-bottom: solid 1px #333;
  box-sizing: border-box;
}

.active-nav {
  margin-left: -2px;
}

/*---------- ANIMATION TRANSITION ----------*/
#top3 {
  height: 30vw;
  z-index: 2;
  transition: 1.2s;
}

img#top3_small {
  height: 85vw;
  z-index: 2;
  transition: 1.2s;
}

#top3:hover {
  transition: 1.2s;
}

img#top3_small:hover {
  transition: 1.2s;
}


#shake_hands {
  transition: 1.2s;
}

#shake_hands:hover {
  transition: 1.2s;
}

.gizanami {
  animation: 0.85s ease-in-out gizanami;
  max-width: 150px;
  height: auto;
}

.gizanami:hover {
  animation: 0.85s ease-in-out gizanami-hover;
  animation-iteration-count: 1;
}

@keyframes gizanami {
  from {transform: rotate(0);}
  to {transform: rotate(360deg);}
}

@keyframes gizanami-hover {
  from {transform: rotate(0);}
  to {transform: rotate(360deg);}
}

.discussion {
  width: 40vw;
  margin-bottom: -5%;
  transition: 1.2s;
}

.shake_hands2 img {
  margin-left: 55%;
  height: 30em;
  transition: 1.2s;
}

.shake_hands2_small img {
  margin-left: 45%;
  height: 20em;
  transition: 1.2s;
}

.ladder img {
  margin-left: 50%;
  height: 26em;
  transition: 1.2s;
}

.ladder_small img {
  margin-left: 45%;
  height: 20em;
  transition: 1.2s;
}

.holding_pyramid:hover{
  animation-name: rotate;
  animation-duration: 5s;
}

.holding_pyramid_small{
  animation-name: rotate;
  animation-duration: 5s;
}

.books:hover{
  animation-name: rotate;
  animation-duration: 5s;

}
.books_small:hover{
  animation-name: rotate;
  animation-duration: 5s;

}

@keyframes rotate{
  0%{transform: rotate(0deg);}
  50%{transform:rotate(10deg);}
  100%{transform: rotate(0deg);}
}


/*---------- STRIPES ----------*/
.rounded-pill {
  color: rgb(135, 156, 212);
  font-weight: bold;
  border: 3px solid white;
  background-color: white;
  filter: drop-shadow(5px 3px rgb(115, 136, 192));
  transition: all 0.3s;
  font-size: 1em;
  margin-bottom: 0.5em;
  white-space: nowrap;
}

.rounded-pill:hover {
  color: white;
  font-weight: bold;
  border: 3px solid white;
  background-color: rgb(165, 186, 242);
  filter: drop-shadow(5px 3px #db98b8);
}

.rounded-pill-red {
  color: rgb(254, 72, 90);
  font-weight: bold;
  border: 3px solid white;
  background-color: white;
  filter: drop-shadow(5px 3px rgba(165, 3, 3, 0.6));
  transition: all 0.3s;
  font-size: 1em;
  margin-bottom: 0.5em;
  white-space: nowrap;
}

.rounded-pill-red:hover {
  color: white;
  font-weight: bold;
  border: 3px solid white;
  background-color: rgb(254, 72, 90);
  filter: drop-shadow(5px 3px rgb(241, 197, 14));
}

.rounded-pill-blue {
  color: rgb(0, 126, 255);
  font-weight: bold;
  border: 3px solid white;
  background-color: white;
  filter: drop-shadow(5px 3px rgba(101, 101, 162, 0.6));
  transition: all 0.5s;
  font-size: 1em;
  margin-bottom: 0.5em;
  white-space: nowrap;
}

.rounded-pill-blue:hover {
  color: white;
  font-weight: bold;
  border: 3px solid white;
  background-color: rgb(0, 126, 255);
  filter: drop-shadow(5px 3px rgb(238, 114, 203));
}

.rounded-pill-mint{
  color: #60DAC7;
  filter: drop-shadow(5px 3px rgba(23, 121, 128, 0.6));
}

.rounded-pill-mint:hover{
  background-color: #60DAC7;
  filter: drop-shadow(5px 3px rgba(22, 91, 131, 0.884));
}

.rounded-pill-orange{
  color: #F7B142;
  filter: drop-shadow(5px 3px rgba(194, 128, 6, 0.6));
}

.rounded-pill-orange:hover{
  background-color: #F7B142;
  filter: drop-shadow(5px 3px rgba(93, 178, 248, 0.801));
}


.about {
  /*  親要素  */
  width: 100%;
  background-color: transparent;
  position: relative;
}

.about>.card {
  /*  子要素  */
  position: relative;
  z-index: 20;
  /* max-width: 75%; */
}

.back_stripe1 {
  /*  子要素  */
  position: absolute;
  z-index: 19;
  margin-left: 5%;
  top: 5%;
  width: 100%;
  height: 105%;
  background-size: 30px 30px;
  background-image: linear-gradient(to right bottom,
      transparent 20%,
      #c2e5ff 20%,
      #c2e5ff 30%,
      transparent 30%,
      transparent 45%,
      #c2e5ff 45%,
      #c2e5ff 55%,
      transparent 55%,
      transparent 70%,
      #c2e5ff 70%,
      #c2e5ff 80%,
      transparent 80%,
      transparent 100%);
}

.about .holding_pyramid {
  /*  子要素  */
  position: absolute;
  z-index: 21;
  margin-left: clamp(10em, 25vw, 40vw);
  top: 15vh;
  height: 50vw;
  max-height: 600px;
}

.about .holding_pyramid_small {
  position: absolute;
  z-index: 21;
  top: 70%;
  height: 40vw;
  margin-left: clamp(20em, 40vw, 40vw);
}

.line_red {
  /*  子要素  */
  position: absolute;
  z-index: 22;
  top: 95%;
  height: 10%;
}

.maru {
  background-color: #fe485a;
  color: white;
  font-size: 36px;
  font-family: "Barlow Condensed", sans-serif;
  height: 75px;
  width: 75px;
  border-radius: 50%;
  line-height: 75px;
  text-align: center;
}

.maru-s{
  color: white;
  font-size: 24px;
  font-family: "Barlow Condensed", sans-serif;
  border-radius: 50%;
  text-align: center;
}

.history-body {
  position: relative;
  z-index: 20;
  background-color: white;
}

.back_stripe2 {
  /*  子要素  */
  position: relative;
  z-index: 19;
  height: 12em;
  background-size: 30px 30px;
  background-image: linear-gradient(to right bottom,
      transparent 20%,
      #fe485a 20%,
      #fe485a 30%,
      transparent 30%,
      transparent 45%,
      #fe485a 45%,
      #fe485a 55%,
      transparent 55%,
      transparent 70%,
      #fe485a 70%,
      #fe485a 80%,
      transparent 80%,
      transparent 100%);
}

.shake_hands2 {
  /*  子要素  */
  position: relative;
  z-index: 21;
  height: 0;
  top: -20em;
}

.shake_hands2_small {
  /*  子要素  */
  position: relative;
  z-index: 21;
  height: 0;
  top: -17em;
}

.ladder {
  /*  子要素  */
  position: relative;
  z-index: 21;
  height: 0;
  top: -20em;
}

.ladder_small {
  /*  子要素  */
  position: relative;
  z-index: 21;
  height: 0;
  top: -17em;
}

.relative{
  height: 0;
  position: relative;
}

.books {
  /*  子要素  */
  position: absolute;
  z-index: 21;
  top: -4em;
  margin-left: 55%;
  height: 25rem;
  transition: 1.2s;
}

.books_small {
  /*  子要素  */
  position: absolute;
  z-index: 21;
  height: 200px;
  margin-left: 60vw;
  top: -2em;
  transition: 1.2s;
}

.circle1 {
  /*  子要素  */
  position: relative;
  z-index: 3;
  height: 45vh;
  width: 45vh;
  top: -15em;
  margin-left: 2em;
  border-radius: 50%;
  background-color: powderblue;
}

.back_stripe3 {
  /*  子要素  */
  position: relative;
  z-index: 2;
  height: 110vh;
  top: -15em;
  margin-left: -5vw;
  background-size: 75px 75px;
  background-image: linear-gradient(to right bottom,
      transparent 20%,
      white 20%,
      white 30%,
      transparent 30%,
      transparent 45%,
      white 45%,
      white 55%,
      transparent 55%,
      transparent 70%,
      white 70%,
      white 80%,
      transparent 80%,
      transparent 100%);
}

.back_stripe4 {
  /*  子要素  */
  position: relative;
  z-index: 19;
  height: 12em;
  background-size: 30px 30px;
  background-image: linear-gradient(to right bottom,
      transparent 20%,
      rgb(165, 186, 242) 20%,
      rgb(165, 186, 242) 30%,
      transparent 30%,
      transparent 45%,
      rgb(165, 186, 242) 45%,
      rgb(165, 186, 242) 55%,
      transparent 55%,
      transparent 70%,
      rgb(165, 186, 242) 70%,
      rgb(165, 186, 242) 80%,
      transparent 80%,
      transparent 100%);
}

.circle2 {
  /*  子要素  */
  position: relative;
  z-index: 2;
  height: 40vh;
  width: 40vh;
  top: -22em;
  margin-left: 53vw;
  border-radius: 50%;
  background-color: #fe485a;
}

.stepup img {
  position: relative;
  z-index: 20;
  height: 25rem;
  top: -24rem;
  margin-left: 60%;
}

.stepup_small img {
  position: relative;
  z-index: 20;
  height: 15rem;
  top: -15rem;
  margin-left: 60%;
}

/* トップへ戻るボタン */
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #879cd4;
  border: 3px solid white;
  border-radius: 50%;
  margin: 20px;
  z-index: 999;
}

#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'FontAwesome';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -22px;
  bottom: 0;
  right: 0;
  left: -6px;
  margin: auto;
  text-align: center;
}

#page_top:hover{
  border: 3px solid white;
  filter: drop-shadow(5px 3px rgb(115, 136, 192));
}

.goaisatsu{
  display: flex;
}
.goaisatsu_media{
  display: none;
}
.btn_history_media{
  display: none;
}

/* 文字1字さげ */
.indent {
  text-indent: -1em;
  padding-left: 1em;
}

/* *********************************** */
@media (max-width: 1020px) {
.navbar-brand/*HOMEの文字位置*/{
  margin: 0 auto;
  position: absolute;
  top:23%;
  left: 8%;
}

}
/* *********************************** */
/* *********************************** */
@media (max-width: 768px) {
  #top3/*メインビジュアルのイラスト*/{
    display: block;
    object-fit: contain;
    margin-left: -20vw;
  }
  .goaisatsu{
    display: none;
  }
  .goaisatsu_media{
    display: block;
  }
  .btn_history{
    display: none;
  }
  .btn_history_media{
    display: block;
  }
  .discussion {
    width: 70vw;
  }
}
