body {
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 3.5s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0
  }

  100% {
    opacity: 1
  }
}

@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 400;
  src: url('/font/NotoSansCJKjp-Regular.woff') format('woff'),
      url('/font/notosanscjkjp_regular.eot')  format('eot');
  font-display: swap;
}
@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 700;
  src: url('/font/notosanscjkjp_bold.woff') format('woff'),
      url('/font/notosanscjkjp_bold.eot')  format('eot');
  font-display: swap;

}
@font-face {
  font-family: 'NotoSansCJKjp';
  font-style: normal;
  font-weight: 900;
  src: url('/font/NotoSansCJKjp-Black.woff') format('woff'),
      url('/font/notosanscjkjp_black.eot')  format('eot');
  font-display: swap;
}


body {
  font-family: 'NotoSansCJKjp', "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  width: 1400px;
  margin: 0 auto;
  text-align: center;
}


a {
  text-decoration: none;
}

a:hover {
  opacity: 0.6;
}

a:link {
  color: #515151;
}

a:visited {
  color: darkgray;
}


.header-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  margin-top: 200px;
}


.Comment {
  text-align: center;
  font-family: 'NotoSansCJKjp', "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  margin-top: -20px;
  background-color: #e2e2e2;
  width: 100%;
  height: 320px;
  color: #515151;
  line-height: 250%
}

.text {
  padding-top: 25px;
}

.squre {
  width: 1100px;
  padding-top: 50px;
  margin: 0 auto;
}


article {
  width: 300px;
  height: 300px;
  text-align: center;
  float: left;
  padding: 30px;
  margin-top: 50px;
}

.squre-image {
  object-fit: cover;
  width: 200px;
  height: 200px;
  border-radius: 10px;
  -webkit-transition: .2s ease-in-out;
  transition: .2s ease-in-out;
}

h2:hover {
  opacity: 0.6;
}

h2 {
  width: 80%;
  margin: 0 auto;
  height: auto;
  font-size: 18px;
  font-family:"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
}

h3{
  text-align: right;
  font-size: 12px;
  font-family: 'NotoSansCJKjp', "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  color: gray;
  margin-top: 3px;
  padding-right:30px;
}

.pagination {
  display: inline-block;
  height: 100px;
  padding: 20px;
  margin-top: 100px;
  margin-bottom: 0px;
}

.pagination a {
  width: 10px;
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color .3s;
  border: solid #ddd 1px;
}

.pagination a.active {
  background-color: skyblue;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}


footer {
  font-family: 'NotoSansCJKjp', "Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, sans-serif;
  width: 1400px;
  height: 300px;
  color: #515151;
  line-height: 250%
}

.icon-image {
  clear: both;
  width: 1400px;
}

.icon {
  width: 64px;
  height: 64px;
  float: left;
  margin: 200px;
}

.copyright {
  margin-bottom: 100px;
}




/*メディアクエリ*/
@media screen and (max-width:800px) {
  body {
    width: 100%;
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
  }

  .comment {
    width: 100%;
    height: auto;
  }

  .text {
    margin: 0 auto;
    width: 90%;
  }

  .squre {
    width: 100%;
  }

  article {
    height: 300px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    margin-top: 50px;
  }

  h2 {
    font-size: 16px;
    width: 70%;
    max-width: 300px;
    margin: 0 auto;
  }

  h3{
    margin-top: 0px;
      padding-right:70px;
  }
  
  footer {
    max-width: 100%;
    clear: both;
    width: 100%;
  }

  .icon-image {
    width: 100%;
    margin: 0 auto;
  }

  .icon {
    width: 11%;
    height: auto;
    margin: 11%;

  }

  .copyright {
    text-align: center;
    width: 100%;
  }

}