@charset "utf-8";

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

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


/* コンテンツ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.centor {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}

h3 {
  font-family: Futura , "Century Gothic" , sans-serif;
  margin: 40px 0px 20px 80px;
  font-size: 30px;
}
.listA,.listB,.listC,.listD,.listE,.listF {
  margin: 0 80px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  
}
.image {
  margin: 0;
  height: 200px;
  width: 200px;
  border-radius: 15px;
  box-shadow: 0px 10px 12px -1px rgba(109, 109, 109, 0.5)
}


/* リンクタグ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.border2 {
  border-top: 4px dotted black;
}
.link {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  margin: 35px 0 35px 0;
}
.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;
}


/* ズームインアニメーション ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.image {
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 1 forwards;
}
 
@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* 光るホバーアニメーション */
.image {
  opacity: 1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.image::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -100px;
  left: 0;
  width: 30px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.image:hover::before {
  animation: kiran 0.8s linear 1;
}
 
@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}


/* 3カラム モバイル版まで ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
@media (max-width: 1200px) {
  .listA,.listB,.listC,.listD,.listE,.listF {
    margin: 0;
    display: grid;
    max-width: 660;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px
  }
  h3 {
    margin: 40px 0px 20px 0px;
  }
}

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

  .link {
    display: flex;
    flex-direction: column;
    margin: 8px 0 8px 0;
  }
  .box { 
    margin: 8px;
  }
  
  h3 {
    margin: 40px 0px 20px 0px;
  }
  .listA,.listB,.listC,.listD,.listE,.listF {
    margin: 0%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
  }

  .image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 140px;
    width: 140px;

  }

}

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

  .grid img { 
    margin: 15px 8px 30px 8px;
  }
}