@charset "utf-8";

body {
  overflow-x: hidden;
  margin: 0;
  min-height: 100vh;
  background-color: #ffffff;
 
  display: flex;
  flex-direction: column;
}


/* ヘッダー ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.head {
  width: auto;
  height: 150px;
  /* background: linear-gradient(rgba(2, 223, 239, 0.5), rgba(248, 240, 0, 0.4)); */
  background: linear-gradient(rgba(101, 2, 239, 0.5), rgba(248, 240, 0, 0.4));
  display: flex;
}
.n {
  margin:  70px 0px 5px 50px; 
}
img[src="images/icon_N.png"] {
  width: 50%; 
}

/* コンテンツ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.centor {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.grid {
  display: flex;
  justify-content: center;
}
.grid img { 
  border-radius: 15px;
  box-shadow: 0px 10px 12px -1px rgba(109, 109, 109, 0.5);
  margin: 40px 8px 40px 8px;
}

/* リンクタグ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.border2 {
  border-top: 4px dotted black;
}
.link {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  margin: 35px 0px 35px 0px;
}
.box {
  background-color: rgba(86, 0, 206, 0.795);
  width: 180px;
  height: 50px;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center; 
}
.box:hover {
  background-color: rgba(157, 91, 250, 0.933);
}
a { 
  color: #ffffff; 
  text-decoration: none;
  text-align:center;
  font-size: 20px   
}

.border3 {
  border-top: 4px dotted black;
}

/* フッター ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 130px;
  background: linear-gradient(rgba(248, 240, 0, 0.4),rgba(101, 2, 239, 0.5));    
}
.foot {
  font-family: Futura , "Century Gothic" , sans-serif;
}


/*スライドインアニメーション ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.itemA,.itemC,.itemE {
  animation: slideIn1 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
  }
   
  @keyframes slideIn1 {
    0% {
      transform: translateY(-180px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
    }
    40%,100% {
      opacity: 1;
    }
  }

.itemB,.itemD {
    animation: slideIn2 1s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
  }
   
  @keyframes slideIn2 {
    0% {
      transform: translateY(180px);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
    }
    40%,100% {
      opacity: 1;
    }
  }



/* モバイル版 375x667 ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */  
@media (max-width: 650px) {
  body {
    overflow-x: hidden;
  }
  .head {
    height: 90px;
  }
  .n {
    margin:  15px 0px 5px 50px; 
  }
  h1 {
    margin:  45px 0px 5px -50px; 
  }

  .grid img { 
    margin: 12px 8px 20px 8px;
  }

  .link {
    display: flex;
    flex-direction: column;
    margin: 8px 0 8px 0;
  }
  .box { 
    margin: 8px;
  }

  .itemA,.itemB,.itemC,.itemD,.itemE {
    animation:none
  }
  .itemA,.itemB,.itemD,.itemE {
  display:none
  }
}

/* SE 320px ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media (max-width: 320px) {
  
  .n {
    margin:  15px 0px 5px 30px; 
  }
  h1 {
    margin:  45px 0px 5px -50px; 
  }


  .grid img { 
    margin: 15px 8px 30px 8px;
    overflow-x: hidden;
  }
  .itemC {
    display: flex;
    justify-content: center;
  }
  .itemC img {
    width: 320px;
  }

  .itemA,.itemB,.itemC,.itemD,.itemE {
    animation:none
  }
}