header {
  height: 50vh;
  margin-bottom: 100px;
  background-image: url(../images/news-food.jpg);
  background-size: cover;
  background-position: center top;
  align-content: center;
  position: relative;
  text-align: center;
}

#topic {
  max-width: 1080px;
  margin: 0 auto 100px auto;
  /* display: flex; */
  background-image: url(../images/news-firefuji.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  /* height: 100vh;   */
}

.box1 {
  margin-left: 50%;
}

.box1 img {
  width: 100%;
  height: 100%;
  padding: 30px 50px 0 0;
  animation: fadeUp 1s ease forwards 0.2s;
  font-size: 32px;
  transform: translateY(30px);
  opacity: 0;
}

@keyframes fadeUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.topic-text {
  text-shadow: 0 0 2px #333;
}

#topic h3 {
  color: white;
  font-size: 3rem;
  /* margin-top: 20px; */
  padding-top: 10px;
}

#topic h4 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

#topic p {
  color: white;
  padding-bottom: 40%;
}

#event {
  padding: 0 4%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.box {
  width: 40%;
  padding-bottom: 40px;
  margin-bottom: 60px;
}

#event h3 {
  font-size: 1.3rem;
  margin: 30px 0;
  text-align: center;
  width: 100%;
}

.animal {
  margin-top: 15px;
}

table {
  margin-top: 15px;
}

tr,
td {
  padding: 5px 5px;
  font-size: 1rem;
  text-align: left;
}

th {
  padding: 5px 0;
  font-weight: normal;
  color: #333;
}

.wrap-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.next-btn {
  font-size: 1.25rem;
  font-weight: 900;
  text-align: center;
  width: inherit;
  color: #143c1a;
  background-color: white;
  border: 2px #143c1a solid;
  padding: 5px 15px;
  margin: 10px 10px;
}

.next-btn:hover {
  color: var(--primary-color);
  font-weight: 400;
  background-color: #143c1a;
  transition: 0.3s;
}

#logo2 {
  width: 80px;
  margin: 0 auto 10px auto;
}

.footerbg {
  min-height: 80vh;
  background-image: url(../images/sky.jpg);
  background-position: center bottom;
  background-size: cover;
  position: relative;
}

@media (max-width: 768px) {
  p {
    font-size: 1rem;
  }

  .box1 {
    margin-left: 0;
  }

  .box1 img {
    width: 100%;
    height: 100%;
    padding: 20px 4% 0 4%;
  }

  .topic-text {
    padding: 0 10%;
  }

  #event {
    flex-direction: column;
  }

  .box {
    width: 100%;
    padding-bottom: 40px;
  }
}

/* 各セクション端～端に広がる時はwidth指定なし section名はidで指定すべし*/
/* 狭めのセクションはmax-width 1080px  padding ~ 4%*/
/* htmlのふわっとは、fadeuptrigger 下から上　fadeuptrigger2 左から右　fadeuptrigger3右から左 */