body{
    background-image: url(cork.JPG);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
  
#header{
    position: fixed;/*追従ナビのためpositionをfixedにする*/
    z-index: 5;
    top:0;/*ポジション設定topを0*/
    left:0;
    height: 3.8vw;/*headerの高さを指定*/
    width:100%;/*position:fixed;にしたため、横幅100%を設定*/
    background:#333;
    color:#fff;
    text-align: center;
    padding: 18px;
}

@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

h1 {
 font-family: 'Sacramento', cursive;
 font-size: 2vw;
}


.tytle3{
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Pacifico', cursive;
  font-size: 3.5vh;
}


.notemother{
  display: block;
  width: 75vw;
  border: solid 1px; 
  position: relative;left: 50%;
  transform: translateX(-50%);
  border-color: #fffbf2;
}

.flex{
 display: flex;
}



.note1{
  display: block;
  position: relative;left: auto;
  width: 37.5vw;
  background-color: #fffbf2; /* 背景色 */
  background-image: linear-gradient(180deg, #ccc 1px, transparent 1px); /* 罫線の色と太さ  */
  background-size: 100% 2.5em; /* 行の高さ */
  line-height: 2.5em; /* 文字の高さ */
  padding-bottom: 1px; /* 最終行の下にも罫線を引く */
  border-bottom: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  overflow: hidden;
  
  animation-name:zoomOutAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}


.note2{
  display: block;
  position: relative;left: 0;
  width: 37.5vw;
  background-color: #fffbf2; /* 背景色 */
  background-image: linear-gradient(180deg, #ccc 1px, transparent 1px); /* 罫線の色と太さ  */
  background-size: 100% 2.5em; /* 行の高さ */
  line-height: 2.5em; /* 文字の高さ */
  padding-bottom: 1px; /* 最終行の下にも罫線を引く */
  
  animation-name:zoomOutAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}



/*========= ページトップのためのCSS ===============*/

/*リンクの形状*/
#page-top a{
  display: flex;
  justify-content:center;
  align-items:center;
  background:#942D2F;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: #fff;
  text-align: center;
  text-transform: uppercase; 
  text-decoration: none;
  font-size:0.6rem;
  transition:all 0.3s;
}

#page-top a:hover{
  background: #777;
}

/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 10px;
  bottom:10px;
  z-index: 2;
    /*はじめは非表示*/
  opacity: 0;
  transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }
  to {
    opacity: 1;
  transform: translateY(0);
  }
}

/*　下に下がる動き　*/

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
    opacity: 1;
  transform: translateY(0);
  }
  to {
    opacity: 1;
  transform: translateY(100px);
  }
}


@keyframes zoomOutAnime{
  from {
	 transform: scale(1.01);
  }

  to {
      transform:scale(1);
  }
}


/*表題付箋紙*/

.inline_box2 {
  width: 90vw;
  height: 16vw;
  position: relative; right: 20%; top: 20%;
  overflow: auto;
  background: #fef263;
  border: 0rem solid #494a41;
  padding: 10px;
}

.contents{
  text-decoration: underline;
  font-size: 0.8vw;
}
 
.photo1-1{
  width: 40%;  height: 100%;
  position: relative; left: 20%; 
  overflow: hidden;
}

.photo1-2{
  width: 30%;  height: 100%;
  position: relative; left: 40%; 
  overflow: hidden;
}




/* アニメーションスタートの遅延時間を決めるCSS*/

.delay-time02{
  animation-delay: 0.2s;
}
  
.delay-time04{
  animation-delay: 0.4s;
}
  
/*==================================================
スタート時は要素自体を透過0にするためのopacity:0;を指定する
===================================*/
  
.box{
    opacity: 0;
}
  
/*==================================================
動き自体の指定：今回は「ふわっ」
===================================*/
  
.fadeUp {
  animation-name:fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}
@keyframes fadeUpAnime{
 from {
  opacity: 0;
  transform: translateY(100px);
  }
  
  to {
  opacity: 1;
  transform: translateY(0);
  }
}