/*
Theme Name: Twenty Seventeen Child
Template: twentyseventeen
*/

#wrapper {
  margin-top: 0;
}

/* page header */
.eventNotice {
  margin-bottom: 60px;
}
.eventNotice h1 {
  margin: 70px 0 42px;
}
.eventNotice .btns.btnsWandering,
.eventOpencompe .btns.btnsWandering {
  margin-bottom: 20px;
}
.eventNotice .btns.btnsWandering .btn,
.eventOpencompe .btns.btnsWandering .btn {
  width: 200px;
  line-height: 60px;
}
.eventNotice .btns.btnsWandering .btn:last-child,
.eventOpencompe .btns.btnsWandering .btn:last-child {
  width: 300px;
}
.eventNotice .btns.btnsWandering .btn.is-active,
.eventOpencompe .btns.btnsWandering .btn.is-active {
  background: #650124;
  color: #fff;
}
.eventNotice .btns.btnsWandering .btn.is-active a,
.eventOpencompe .btns.btnsWandering .btn.is-active a {
  color: #fff;
}

.eventNotice .eventNewsWrap {
  width: 800px;
  margin: 0 auto;
}
.eventNotice .eventNews {
  display: table;
  padding: 19px 29px 29px;
  font-size: 12px;
}
.eventNotice .eventNewsList {
  position: relative;
  display: table-row;
}
.eventNotice .eventNewsListDate {
  position: relative;
  display: table-cell;
  padding: 0 10px 10px 0;
  border-right: solid 1px #000000;
  font-weight: bold;
}
.eventNotice .eventNewsListDate .date {
  display: none;
}
.eventNotice .eventNewsListNewDate .eventNewsListDate .date {
  display: block;
}
.eventNotice .eventNewsListTitle {
  display: table-cell;
  padding: 0 0 10px 10px;
}
.eventNotice .eventNewsListTitle a {
  display: block;
}


/* footer style */
footer .footerList {
  margin: 0;
  list-style-type: none;
}
footer .footerList dt {
  letter-spacing: 0.1em !important;
}
footer .footerList dd {
  margin: 0 0 10px 0;
}
footer .footerList a {
  display: inline-block;
  font-size: 12px;
  border-bottom: 1px solid #fff;
  letter-spacing: 0.1em !important;
}
.footerInfo {
  margin-bottom: 0;
}
html .footerInfoAddres {
  font-size: 13px;
  letter-spacing: 0.08em !important;
}
html .footerInfoTel {
  margin-bottom: 0;
  letter-spacing: 1.4px !important;
}
footer a:hover,
footer a:active {
  color: #fff;
}

#wpadminbar {
  top: 50px;
}

@media screen and (max-width: 782px) {
  #wrapper {
    margin-top: 0;
  }
  html #wpadminbar {
    position: fixed;
    top: 40px;
    z-index: 10;
  }
  .row {
    padding-left: 5%;
    padding-right: 5%;
  }

  .eventNotice {
    margin-bottom: 30px;
  }
  .eventNotice h1 {
    margin: 40px 0;
  }
  .eventNotice .btns.btnsWandering {
    margin-bottom: 20px;
    text-align: left;
  }
  .eventNotice .btns.btnsWandering:after {
    content: "";
    clear: both;
    display: table;
  }
  .eventNotice .btns.btnsWandering .btn {
    float: left;
    width: 50%;
    line-height: 30px;
    margin: 0 0 12px;
    padding: 0;
    text-align: center;
  }
  .eventNotice .btns.btnsWandering .btn:nth-child(1),
  .eventNotice .btns.btnsWandering .btn:nth-child(2) {
    width: 50%;
  }
  .eventNotice .btns.btnsWandering .btn:last-child {
    width: 100%;
  }
  .eventNotice .btns.btnsWandering .btn:nth-child(even) a {
    border-left: 0;
  }
  .eventNotice .btns.btnsWandering .btn a {
    height: 30px;
    margin: 0;
    padding: 0;
  }

  .eventNotice .eventNewsWrap {
    width: auto;
    margin-bottom: 40px;
  }

  .eventNotice .eventNews {
    display: block;
    padding: 0;
    font-size: 12px;
  }
  .eventNotice .eventNewsList {
    display: block;
    margin-bottom: 18px;
  }
  .eventNotice .eventNewsListDate {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .eventNotice .eventNewsListDate .date {
    display: block;
  }
  .eventNotice .eventNewsListTitle {
    margin: 0 0 0 10px;
    padding: 0;
    display: block;
  }

  /* footer */
  .footerInfo {
    margin-bottom: 12px;
  }
  html .footerInfoAddres {
    margin-bottom: 0;
    font-size: 10px;
  }
  html .footerInfoTel {
    margin-bottom: 12px;
  }
  footer .footerList li a {
    display: inline-block;
    padding: 0 5px;
    border: 0;
  }
}
