@charset "utf-8";

.title {
  height: 300px;
  background-image: url(./images/dantai-top.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.title h1 {
  padding-top: 70px;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  line-height: 60px;
  color: white;
  text-shadow: 3px 3px 5px #000000;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

.header-logo:hover {
  border-width: 2px;
  border-color: #1302fc;
}
.header-site-menu {
  font-family: ＭＳ Ｐ明朝;
  font-weight: bold;
}
.link-button:hover {
  color: #1302fc;
  font-family: ＭＳ Ｐゴシック;
}
.site-menu {
  font-family: ＭＳ Ｐ明朝;
}
.link-buttonf:hover {
  color: #f8fc02;
  font-family: ＭＳ Ｐゴシック;
  font-weight: bold;
}

.activity img {
  width: 450px;
}

.toptext {
  width: 900px;
  margin-left: 150px;
  margin-top: 50px;
  margin-bottom: 50px;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
} 

.activity-text {
  max-width: 800px;
  margin-top: 30px;
  margin-left: 100px;
}

.activity-text h2 {
  font-size: 22px;
  font-weight: bold;
  line-height: 30px;
}

.activity-text p {
  font-size: 18px;
  line-height: 25px;
  margin-top: 7px;
  margin-left: 30px;
}

.entry-box {
  padding-left: 50px;
  font-size: 18px;
  line-height: 25px;
}
ol.entry-box li {
  position: relative;
  list-style-type: none;
}
ol.entry-box li:before {
  position: absolute;
  right: calc(100% + 0.5rem);  /* 0.5remは連番とテキストとの余白 */
  content: "(" counter(list-item) ")";
}
.grentry {
  height: 150px;
  width: 700px;
  display: flex;
  justify-content: space-around;
  padding-top: 15px;  
}
.grentry-smbox p{
  font-size: 15px;
}

.toiawase-button {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 50px;
  font-size: 18px;
}
.link-toiawase {
  background-color: #f4dd64;
  display: inline-block;
  min-width: 250px;
  line-height: 50px;
  border-radius: 25px;
}
.link-toiawase:hover {
  background-color: #d8b500;
}

.footer {
  margin-top: 100px;
}

@media (max-width: 800px) {
  .title h1 {
    font-size:35px;
  }
  .toptext {
    width: 450px;
    margin-left: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: 16px;
  }
  .activity-text {
    max-width: 450px;
    margin-top: 20px;
    margin-left: 20px;
  }
  .activity-text h2 {
    font-size: 18px;
    font-weight: bold;
    line-height: 22px;
  }
  .activity-text p {
    font-size: 15px;
    line-height: 20px;
    margin-top: 5px;
    margin-left: 10px;
  }
  .footer {
    margin-top: 50px;
  }

}
