@charset "utf-8";

/*
  共通
*/

body {
  color: #4a4849;
}

img {
  display: inline-block;
  vertical-align: bottom;
  max-width: 100%;
}

/* h2のリセット */
#main h2 {
  width: auto;
  margin: 0;
  padding: 0;
  border: none;
  font-weight: normal;
  background: none;
  font-size: 1em;
  text-align: inherit;
}

/* h3のリセット */
#main h3 {
  width: auto;
  padding: 0;
  border: none;
  font-weight: normal;
  background: none;
  font-size: 1em;
  border-radius: 0;
}

/* pのリセット */
#main p {
  padding: 0;
}

/*スマホとタブレットのみに適用*/
@media (max-width: 979px) {
 .sp-tablet-none {display: none;}
}

/*タブレットとPCのみに適用*/
@media (min-width: 768px) {
 .tablet-pc-none {display: none;}
}

/*スマホのみに適用*/
@media (max-width: 767px) {
 .sp-none {display: none;}
}

/*タブレットのみに適用*/
@media (min-width: 768px) and (max-width: 979px) {
 .tablet-none {display: none;}
}

/*PCのみに適用*/
@media (min-width: 980px) {
 .pc-none {display: none;}
}

@media (min-width: 767px) {
  body {
    min-width: 1000px;
  }
}

/*
  header
*/

header .inner h1 img {
  vertical-align: inherit;
}

/*
  main-img
*/

.main-img {
  margin-bottom: 10%;
}

@media (min-width: 767px) {
  .main-img {
    margin-bottom: 5%;
  }
}


/*
  overview
*/

.overview {
  padding: 0 10px;
}

#main .overview-title {
  margin: 0 auto 5%;
  text-align: center;
}

#main .overview h3 {
  margin-bottom: 3%;
  padding-bottom: 2%;
  font-size: 16px;
  border-bottom: 1px solid #957b43;
}

#main .overview h3:before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 10px;
  background: #54b5d7;
  vertical-align: middle;
}

.overview h3 .attention {
  font-size: 0.7em;
  color: #C30D23;
}

.overview section {
  margin-bottom: 30px;
}

.prize-list li {
  margin-bottom: 30px;
}

.department-list dt {
  margin-bottom: 10px;
  counter-increment : chapter;
}

.department-list dt:before {
  content: counter(chapter);
  display: inline-block;
  margin-right: 10px;
  padding: 3px 12px;
  font-size: 1em;
  vertical-align: middle;
  background: #ece9dc;
}

.department-list dd {
  margin-bottom: 30px;
}

#main .overview p .attention {
  font-size: 0.9em;
  color: #c30d23;
  margin-top: 5px;
  padding-left: 1em;
  text-indent: -1em;
  display: inline-block;
}

.to-entryform a {
  width: 80%;
  margin: 0 auto;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  line-height: 36px;
  display: block;
  background: #008f4c;
}

@media (min-width: 767px) {
  .overview {
    padding: 0 65px;
  }

  #main .overview h3 {
    margin-bottom: 15px;
    padding-bottom: 0;
    font-size: 22px;
  }

  #main .overview p {
    font-size: 18px;
  }

  .overview section {
    margin-bottom: 60px;
  }

  .prize-list {
    display: flex;
  }

  .prize-list li {
    margin: 15px 10px 15px 0;
    align-items: flex-end;
  }

  .department-list {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .department-list dt {
    width: 32%;
    font-size: 16px;
  }

  .department-list dd {
    width: 66%;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .to-entryform a {
    width: 300px;
    font-size: 22px;
    line-height: 50px;
  }

  .to-entryform a:hover {
    opacity: .8;
  }
}
