/* BR */

@media screen and (min-width: 680px){   
  .pc { display:block; }
  .sp { display:none; }
}
@media screen and (max-width: 680px){   
  .pc { display:none; }
  .sp { display:block; }
}

/* base */
main#topics a {
  text-decoration: underline;
  color: #0066ff;
}
.center { text-align: center;}
.bold {font-weight: bold;}
.red {color: #da0000;}
.end {margin: 40px auto; text-align: center; color: #ff0000; font-weight: 900;}


/* Subbox */
.subbox {
  margin: 20px;
  padding: 20px;
  border: solid 1px #000;
  background: #ffcc33;
}

.subbox h4 {
  font-size:1.3em;
  font-weight: bold;
  padding: 10px 0;
  line-height: 1.3em;
}

.subbox h5 {
  font-size:1em;
  font-weight: bold;
  padding: 10px 0;
  line-height: 1.3em;
}

.subbox p {
  font-size: 1.4rem;
  line-height: 22px;
  letter-spacing: 0.05em;
}

.button {
  max-width: 300px;
  border-radius: 20px;
  margin: 30px auto 10px;
  background: #ffcc33;
  text-align: center;
  padding: 20px;
}

.close {
  background: #c8c7c5 !important;
}


/* MARKING LINE */
.linered{background:linear-gradient(transparent 65%, #ffadad 60%); font-weight: bold;}
.lineblue{background:linear-gradient(transparent 65%, #c1e0ff 60%);font-weight: bold;}
.lineyellow{background:linear-gradient(transparent 65%, #fff799 60%);font-weight: bold;}



/* === Custam === */

div.outline {
  margin: 30px auto;
  text-align: center;
}

div.outline h4 {
  width: 340px;
  height: 100px;
  margin: 0 auto;
  text-indent: -9999px;
  background:url("/assets_v2020/images/topics/2411_radiowave_logo.jpg") center 0 no-repeat scroll;
}

div.eventbox {
  width: 93.75%;
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 30px;
  border: solid 1px #000;
  border-radius: 5px;
  font-size: 1.4rem;
  line-height: 22px;
  letter-spacing: 0.05em;  
}

.startline {
  background: #fdffdb;
}
.maadspin {
  margin-bottom: 50px !important;
  background: #dce0ee;
}

.eventbox h5 {
  margin-bottom: 30px;
  padding: 20px 0;
  font-size: 2em;
  line-height: 36px;
  font-weight: bold;
  text-align: center;
  background: #fff;
}

.eventbox h6 {
  padding: 30px 0 20px;
  font-size: 1.4em;
  font-weight: bold;
}

.eventbox p {
  margin-bottom: 10px;
}

.eventbox dl {
  display: flex;
  flex-flow: row wrap;
}
.eventbox dt {
  width: 15%;
  margin-bottom: 10px;
  padding-left: 5px;
  font-weight: bold;
}
.eventbox dd {
  width: 80%;
  margin-bottom: 10px;
}

ul.imglist {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
ul.imglist li {
  margin: 30px 5px;
}

ul.imglist img {
  max-width: 180px;
}

div.finish {
  margin: 40px 0 20px;
  padding: 20px 0;
  background: #c0c0c0;
  border-radius: 5px;
  color: #da0000;
  text-align: center;
  font-weight: bold;
}

@media screen and (max-width: 680px){
  div.eventbox{
    width: auto;
    margin: 10px;
    padding: 20px;
  }
  ul.imglist {
    margin-top: 20px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  ul.imglist li {
    margin: 5px;
  }
  
  ul.imglist img {
    max-width: 160px;
  }

  .eventbox dl {
    display: grid;
  }
  .eventbox dt {
    width: 90%;
    margin-bottom: 5px;
    padding-left: 5px;
    font-weight: bold;
  }
  .eventbox dd {
    width: 90%;
    margin-bottom: 20px;
    padding-left: 5px;
  }

}
