/* journalページのCSS */

.wrapper {
  max-width: 1200px;
  padding: 20px 0;
}

.container {
  max-width: 1200px;
  padding: 0;
}

.crumbs {
  display: inline-block;
  background-color: white;
  list-style-type: none;
  margin: 8px 0;
  padding-right: 8px;
}

body.midnight .crumbs {
  background-color: initial;
}

.crumbs ul {
  margin: 0;
  padding: 0;
}

.crumb {
  display: inline-block;
}

body.midnight .crumb a {
  color: rgb(13, 110, 253);
}

.crumb a::after {
  display: inline-block;
  color: #000;
  content: '>';
  font-size: 80%;
  font-weight: bold;
  padding: 0 3px;
}

body.midnight .crumb,
body.midnight .crumb a:after {
  color: white;
}

.crumbs {
  display: inline-block;
  background-color: white;
  list-style-type: none;
  margin: 8px 0;
  padding-right: 8px;
}

body.midnight .crumbs {
  background-color: initial;
}

.crumbs ul {
  margin: 0;
  padding: 0;
}

.crumb {
  display: inline-block;
}

body.midnight .crumb a {
  color: rgb(13, 110, 253);
}

.crumb a::after {
  display: inline-block;
  color: #000;
  content: '>';
  font-size: 80%;
  font-weight: bold;
  padding: 0 3px;
}

body.midnight .crumb,
body.midnight .crumb a:after {
  color: white;
}

#main-title {
  background: url(../img/AOKEI_keirin_news.png) no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
  height: 200px;
  margin: 0;
  padding: 0;
}

#main-content {
  /*display: none;
  background-color: white;
  color: #053075;*/
  margin-bottom: 15px;
  padding: 30px 40px;
}

#racetitle {
  display:none;
}
/*
#main-content h2 {
  border-bottom: 15px solid #053075;
  border-radius: 6px;
  margin-bottom: 30px;
  font-weight: bold;
}
*/

#main-content h3 {
  color: #000;
  font-weight: bold;
  padding: 2%;
  font-size: 35px;
}

#main-content p {
  display: inline-block;
  margin-bottom: 0;
  font-size: 20px;
}

#main-content a {
  display: inline-block;
  margin-top: 30px;
  font-size: 25px;
  padding: 10px 32px;
  text-align: center;
  color:#fff;
  text-decoration: none;
}

#main-content .l-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  justify-content: flex-start;
}

#main-content .l-list li {
  flex-basis: calc(17% - 10px);
  list-style: none;
  text-align: center;
}

.l-list-item {
  margin-left: 5px;
}

.u-button {
  background-color: #ca75ff;
  width: 110px;
  height: 60px;
  border-radius: 10px;
  box-shadow: 0 5px 0 #851111;
}

#main-content .u-button:hover {
  opacity: 0.7;
}

@media screen and (max-width: 800px) {
  .container {
    padding: 0 2%;
  }

  #main-title {
    height: 100px;
  }

  #main-content {
    width: 100%;
  }

  #main-content .l-list li {
    flex-basis: 100%;
    margin-left: 0;
  }

  .u-button {
    width: 80%;
  }

  #main-content a {
    margin-top: 20px;
  }

  div h1 span,
  div h1 {
    font-size: 24px;
  }
}

@media screen and (max-width: 400px) {
  #main-title {
    height: 70px !important;
  }
}

@media screen and (min-width: 400px) and (max-width: 500px) {
  #main-title {
    height: 80px !important;
  }
}

@media screen and (min-width: 500px) and (max-width: 800px) {
  #main-title {
    height: 110px !important;
  }
}

@media screen and (min-width: 800px) and (max-width: 1000px) {
  .wrapper {
    width: 100%;
    margin: 0 auto;
  }

  #main-content .l-list li {
    flex-basis: calc(32% - 10px);
  }

  #main-content .l-list-item {
    margin-left: 15px;
  }

  .u-button {
    width: 180px;
  }
}

/*
@media screen and (min-width: 1001px) {
  .wrapper {
    width: 80%;
    margin: 0 auto;
  }
}
*/