@charset "UTF-8";
/* Loading背景画面設定　*/
body {
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

.sp {
  display: none;
}

#splash {
  /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 999;
  background: #0c66b2;
  text-align: center;
  color: #fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width: 260px;
}

/* fadeUpをするアイコンの動き */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*========= レイアウトのためのCSS ===============*/
h1 {
  font-size: 1.2rem;
  line-height: 2rem;
}

h2 {
  font-size: 3rem;
  color: #94723c;
  font-family: 'Monsieur La Doulaise', cursive;
  font-family: 'Fleur De Leah', cursive;
  font-weight: normal;
}

#container p.lead {
  font-size: 2.4rem;
  margin: 4rem auto;
}

h2,
#container p,
small {
  margin: 0 0 30px 0;
}

/*以下フェードイン表示の指定*/
.fadein {
  opacity: 0;
  animation: fadein 6s ease forwards;
}

@keyframes fadein {
  100% {
    opacity: 1;
  }
}

/*以下遅延の指定*/
.p01 {
  animation-delay: 2.5s;
}

.p02 {
  animation-delay: 3s;
}

.p03 {
  animation-delay: 3.5s;
}

.p04 {
  animation-delay: 4s;
}

.p05 {
  animation-delay: 4.5s;
}

.p06 {
  animation-delay: 5s;
}

.p07 {
  animation-delay: 5.5s;
}

.p08 {
  animation-delay: 6.0s;
}

small {
  display: block;
  text-align: center;
}

/*========= 左固定レイアウトのためのCSS ===============*/
/*左と右を囲う全体のエリア*/
#wrapper {
  position: relative;
  /*position stickyの基点にするため relativeをかける*/
  display: flex;
  /*左エリア、右エリア横並び指定*/
  flex-wrap: wrap;
  /*ボックスの折り返し可*/
}

/*左エリア*/
#fixed-area {
  /*左固定記述*/
  position: -webkit-sticky;
  /*Safari用*/
  position: sticky;
  padding: 2rem;
  top: 0;
  /*横半分50%　縦を100vhにする*/
  width: 30%;
  height: 100vh;
  /*装飾のためのCSS*/
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-content: flex-end;
  color: #0c66b2;
}

#fixed-area .name-card-gif img {
  width: 100%;
  object-fit: cover;
}

#fixed-area .prof {
  margin-bottom: 3rem;
}

/*右エリア*/
#container {
  /*横半分50%にする*/
  width: 70%;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#container {
  background: linear-gradient(-45deg, #f0bfb1, #eeb2c9, #8ecce2, #91e0ce);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  display: block;
  text-align: center;
  color: #fff;
  padding: 8rem 5rem 3rem;
}

#container section {
  margin-bottom: 8rem;
}

#container section .sign {
  text-align: right;
  margin: 4rem 3rem;
}

#container section .sign img {
  object-fit: contain;
  text-align: center;
  width: 200px;
}

/*右各セクション 装飾のためのCSS*/
/*＝＝＝＝＝＝＝＝＝＝＝768px以下の見え方＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media screen and (max-width: 768px) {
  #wrapper {
    display: block;
    /*display:flex;を解除*/
  }
  #fixed-area {
    position: relative !important;
    /*position stickyを解除*/
    width: 100%;
    /*横幅を100%にして1列に見せる*/
    height: 40vh;
    /*縦幅を100vh⇒40vh　※任意の高さに設定可能*/
  }
  #container {
    width: 100%;
    /*横幅を100%にして1列に見せる*/
    padding: 1rem;
  }
  #fixed-area {
    height: 100vh;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}
