body {
  font-family: "Noto Sans JP", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #343434;
  background-color: #E7F0F8;
}

.wrap_primary {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.wide {
  max-width: 1500px;
}

.section {
  padding-top: 80px;
}

.main_area {
  background-image: url(../image/main_background.png);
  background-repeat: repeat;
  background-size: 100% auto;
  background-color: #E7F0F8;
  background-blend-mode: lighten;
  position: relative;
  padding-bottom: 40px;
}

#firstview {
  position: relative;
  z-index: 100;
  max-width: 2000px;
  margin: 0 auto;
  width: 100%;
}

#firstview .title {
  margin: 0;
  padding: 0;
}

#firstview .title img {
  width: 100%;
  height: auto;
  display: block;
}



.section {
  padding-top: 40px;
  margin-top: 60px;
}

.section .inner_wrap {
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px;
  z-index: 1;
  padding-top: 40px;
  padding: 150px 40px 60px 40px;
}


.section .block_title {
  position: absolute;
  max-width: 415px;
  width: 100%;
  left: 0;
  right: 0;
  margin: auto;
  top: -55px;
}

.section .inner_wrap::after {
  background-image: url(../image/table_bg.jpg);
  background-repeat: repeat;
  background-size: 150px auto;
  content: "";
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 20px;
  z-index: -1;
  /* 背景が文字の上に重ならないように最背面に配置します */
}


#summary {
  margin-top: 80px;
}

#summary dl {
  display: flex;
  border-bottom: 3px solid #fff;
  color: #000;
  stroke-dasharray: 2px;
}

#summary dl ul {
  padding: 0;
  display: flex;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

#summary dl li {
  list-style: none;
}

#summary dl li:not(:first-child)::before {
  content: "/";
}

#summary dt,
#summary dd {
  padding: 16px 24px 16px 0;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: bold;
}

#summary dt {
  font-weight: bold;
  flex: 0 0 310px;
  vertical-align: middle;
}


#summary dd {
  text-align: right;
  width: 100%;
}

.attention_area {
  font-size: 24px;
  font-weight: 500;
}

.copyright::before {
  content: "";
  display: block;
  width: 200%;
  height: 50px;
  background-image: url(../image/footer-deco.png);
  background-repeat: repeat-x;
  background-size: auto 100%;
  position: absolute;
  left: -100px;
  top: -10px;
}

.copyright {
  padding: 30px 0 20px 0;
  color: #1B8CA4;
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  position: relative;
  z-index: 100;
  background-image: url(../image/KV_bg.jpg);
  background-repeat: repeat;
  background-size: 500px auto;
}

#photo .inner_wrap {
  padding: 40px;
  text-align: center;
  border-radius: 10px;
}

#photo .inner_wrap::after {
  border-radius: 10px;
}

#photo .inner_wrap img {
  width: 100%;
  height: auto;
  display: block;
}

#prize .block_title {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 0 auto -60px auto;
}

#prize .prize_list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#prize .prize_item img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 765px) {

  main,
  footer {
    overflow: hidden;
    width: 100%;
  }

  .wrap_primary {
    padding: 0 10px;
  }

  .section .block_title {
    max-width: 250px;
  }

  .section .inner_wrap {
    padding: 80px 20px 40px 20px;
  }

  #photo {
    padding-top: 0;
    padding-bottom: 40px;
  }

  #photo .inner_wrap {
    padding: 40px 16px;
  }


  #summary {
    padding-top: 20px;
    margin-top: 40px;
  }

  #summary dl {
    flex-direction: column;
    gap: 0;
  }


  #summary dt,
  #summary dd {
    padding: 16px;
    flex: 1 1 auto;
    text-align: left;
  }

  #summary dt {
    padding-bottom: 0;
  }

  #summary dl ul {
    justify-content: flex-start;
  }

  #prize {
    padding-top: 0;
  }

  #prize .block_title {
    margin: 0 auto -35px auto;
  }

  .attention_area {
    font-size: 90%;
  }

}