#mainimage {
  min-height: 200px;
  position: relative;
  overflow: hidden;
}
#mainimage > h1 {
  z-index: 2;
  position: absolute;
  font-size: 88%;
  right: 10px;
  top: 10px;
  text-align: right;
}
#mainimage > h1 > br {
  display: none;
}
#mainimage > h2 {
  display: block;
  z-index: 3;
  position: absolute;
  left: 10px;
  bottom: 70px;
}
#mainimage > a {
  display: block;
  z-index: 3;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  color: #FFF;
  text-decoration: none;
}
#mainimage > div {
  z-index: 1;
  height: 100%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
@media screen and (max-width: 800px) {
  #mainimage {
    min-height: 200px;
    position: relative;
    overflow: hidden;
  }
  #mainimage > h1 {
    z-index: 2;
    position: absolute;
    font-size: 69%;
    line-height: 1.75;
    left: 10px;
    top: 10px;
    text-align: left;
  }
  #mainimage > h1 > br {
    display: block;
  }
  #mainimage > h2 {
    left: 0;
    right: 0;
    top: 40%;
    bottom: auto;
    text-align: center;
  }
  #mainimage > h2 img {
    width: 98%;
    max-width: 374px;
  }
  #mainimage > a {
    bottom: 30px;
  }
  #mainimage > div {
    z-index: 1;
    width: 100%;
    top: 0;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
}

#events {
  position: relative;
  padding: 50px 0;
}
#events h2 {
  text-align: center;
}
#events h2 img {
  width: 226px;
}
#events .titlert {
  position: absolute;
  right: 0;
  width: 175px;
  top: 30px;
  font-size: 88%;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
}
@media screen and (max-width: 800px) {
  #events .titlert {
    display: none;
  }
}
#events > div {
  margin: 30px auto 0;
  width: 1022px;
  border: solid 2px #8A2F2A;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
}
#events > div > a {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
#events > div > a:nth-of-type(1) {
  margin: 10px auto;
  width: 882px;
  color: #000;
  text-decoration: none;
  font-size: 88%;
}
#events > div > a:nth-of-type(1) > p:nth-of-type(1) {
  padding: 15px 25px;
  line-height: 1.5;
}
#events > div > a:nth-of-type(1) > p:nth-of-type(2) {
  padding: 15px 25px;
  border-left: solid 1px #333;
  line-height: 1.5;
}
#events > div > a:nth-of-type(2) {
  justify-content: center;
  font-size: 88%;
  color: #FFF;
  text-decoration: none;
  background-color: #8A2F2A;
  padding: 25px 0;
  width: 140px;
}
@media screen and (max-width: 800px) {
  #events {
    padding: 20px 0 35px;
    margin: 0 auto;
  }
  #events h2 img {
    width: 113px;
  }
  #events > div {
    margin: 15px auto 0;
    width: 94%;
    border: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
  }
  #events > div > a {
    border: solid 2px #8A2F2A;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  #events > div > a:nth-of-type(1) {
    margin: 10px auto 20px;
    width: 100%;
    color: #000;
    padding: 10px;
  }
  #events > div > a:nth-of-type(1) > p:nth-of-type(1) {
    padding: 5px 10px;
  }
  #events > div > a:nth-of-type(1) > p:nth-of-type(2) {
    padding: 5px 10px;
  }
  #events > div > a:nth-of-type(2) {
    font-size: 88%;
    padding: 15px 0;
    width: 250px;
  }
}

#contents {
  position: relative;
  padding: 50px 0;
  background-image: url(../image/top/contents_bg.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}
#contents h2 {
  text-align: center;
}
#contents .titlert {
  position: absolute;
  right: 0;
  width: 175px;
  top: 30px;
  font-size: 88%;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
}
@media screen and (max-width: 800px) {
  #contents .titlert {
    display: none;
  }
}
#contents > div {
  display: flex;
  flex-wrap: wrap;
  margin: 40px auto 0;
  width: 1028px;
}
#contents > div > div:nth-of-type(1) {
  width: 494px;
}
#contents > div > div:nth-of-type(1) img {
  width: 100%;
}
#contents > div > div:nth-of-type(1) > p {
  font-color: #000;
  font-size: 88%;
  line-height: 1.75;
  padding-top: 15px;
}
#contents > div > div:nth-of-type(2) {
  width: 494px;
  margin-left: 40px;
}
#contents > div > div:nth-of-type(2) img {
  width: 100%;
}
#contents > div > div:nth-of-type(2) > p {
  font-color: #000;
  font-size: 88%;
  line-height: 1.75;
  padding-top: 15px;
}
#contents > div > div:nth-of-type(3) {
  width: 1028px;
  margin: 40px auto 40px;
  background-image: url(../image/top/contents_500_bg.jpg);
  background-repeat: no-repeat;
  text-align: center;
  padding: 40px;
}
#contents > div > div:nth-of-type(3) img {
  width: 701px;
}
#contents > div > div:nth-of-type(4) {
  width: 494px;
}
#contents > div > div:nth-of-type(4) img {
  width: 100%;
}
#contents > div > div:nth-of-type(5) {
  width: 494px;
  margin-left: 40px;
}
#contents > div > div:nth-of-type(5) img {
  width: 100%;
}
#contents > div > p {
  font-color: #000;
  font-size: 88%;
  line-height: 1.75;
  padding-top: 15px;
}
#contents > div > p span {
  color: #8A2F2A;
  background-color: #FFF586;
  display: inline-block;
}
@media screen and (max-width: 800px) {
  #contents {
    padding: 30px 0;
  }
  #contents h2 img {
    width: 231px;
  }
  #contents > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto 0;
    width: 100%;
  }
  #contents > div > div:nth-of-type(1) {
    width: 100%;
    text-align: center;
  }
  #contents > div > div:nth-of-type(1) img {
    width: 247px;
  }
  #contents > div > div:nth-of-type(1) > p {
    width: 247px;
    margin: 0 auto;
    text-align: left;
    padding-top: 10px;
  }
  #contents > div > div:nth-of-type(2) {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    text-align: center;
  }
  #contents > div > div:nth-of-type(2) img {
    width: 247px;
  }
  #contents > div > div:nth-of-type(2) > p {
    width: 247px;
    margin: 0 auto;
    text-align: left;
    padding-top: 10px;
  }
  #contents > div > div:nth-of-type(3) {
    width: 100%;
    margin: 20px auto;
    padding: 20px 0;
  }
  #contents > div > div:nth-of-type(3) img {
    width: 100%;
  }
  #contents > div > div:nth-of-type(4) {
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }
  #contents > div > div:nth-of-type(4) img {
    width: 247px;
  }
  #contents > div > div:nth-of-type(5) {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
    text-align: center;
  }
  #contents > div > div:nth-of-type(5) img {
    width: 247px;
  }
  #contents > div > p {
    width: 85%;
    margin: 0 auto;
  }
}

#examples {
  position: relative;
  padding: 50px 0;
}
#examples h2 {
  text-align: center;
}
#examples .titlert {
  position: absolute;
  right: 0;
  width: 175px;
  top: 30px;
  font-size: 88%;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
}
@media screen and (max-width: 800px) {
  #examples .titlert {
    display: none;
  }
}
#examples > div {
  width: 1026px;
  margin: 0 auto;
}
#examples > div > p {
  font-color: #000;
  font-size: 88%;
  line-height: 1.75;
  padding-top: 30px;
}
#examples > div .columndiv {
  width: 1026px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin: 20px auto 20px;
}
#examples > div .columndiv > a {
  display: block;
  width: 315px;
  text-decoration: none;
}
#examples > div .columndiv > a div img {
  width: 100%;
  margin-bottom: 5px;
  display: block;
}
#examples > div .columndiv > a p {
  color: #000;
  font-size: 88%;
  line-height: 1.75;
}
#examples > div .andmorebtn {
  display: block;
  background-color: #8A2F2A;
  border-radius: 3px;
  text-decoration: none;
  color: #FFF;
  font-size: 88%;
  width: 326px;
  height: 35px;
  line-height: 35px;
  margin: 0 auto;
  text-align: center;
}
@media screen and (max-width: 800px) {
  #examples {
    padding: 30px 0;
  }
  #examples h2 {
    text-align: center;
  }
  #examples h2 img {
    width: 264px;
  }
  #examples > div {
    width: 85%;
    max-width: 315px;
    margin: 0 auto;
  }
  #examples > div > p {
    font-color: #000;
    font-size: 88%;
    line-height: 1.75;
    padding: 20px 0 0;
  }
  #examples > div .columndiv {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px auto 0;
    position: relative;
  }
  #examples > div .columndiv > a {
    max-width: 315px;
    width: 100%;
    margin-bottom: 20px;
  }
}

#column {
  position: relative;
  padding: 50px 0;
  background-image: url(../image/top/column_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}
#column h2 {
  text-align: center;
}
#column .titlert {
  position: absolute;
  right: 0;
  width: 175px;
  top: 30px;
  font-size: 88%;
  padding-bottom: 10px;
  border-bottom: solid 1px #000;
  color: #FFF;
  border-color: #FFF;
}
@media screen and (max-width: 800px) {
  #column .titlert {
    display: none;
  }
}
#column > ul {
  width: 936px;
  margin: 40px auto;
}
#column > ul li {
  border-bottom: solid 1px #fff;
}
#column > ul li:nth-of-type(1) {
  border-top: solid 1px #fff;
}
#column > ul li > a {
  display: flex;
  flex-wrap: nowrap;
  padding: 40px 0;
  text-decoration: none;
  color: #FFF;
}
#column > ul li > a > p:nth-of-type(2) {
  padding-left: 40px;
}
#column .andmorebtn {
  display: block;
  background-color: #8A2F2A;
  border-radius: 3px;
  text-decoration: none;
  color: #FFF;
  font-size: 88%;
  width: 326px;
  height: 35px;
  line-height: 35px;
  margin: 0 auto;
  text-align: center;
  background-color: #FFF;
  color: #8A2F2A;
}
#column .nolist {
  text-align: center;
  padding: 50px 0;
}
@media screen and (max-width: 800px) {
  #column {
    position: relative;
    padding: 30px 0;
  }
  #column h2 {
    text-align: center;
  }
  #column h2 img {
    width: 94%;
    max-width: 318px;
  }
  #column > ul {
    width: 94%;
    margin: 20px auto;
    position: relative;
  }
  #column > ul li > a {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
  }
  #column > ul li > a > p {
    width: 100%;
  }
  #column > ul li > a > p:nth-of-type(2) {
    padding-left: 0;
    margin-top: 10px;
  }
}
