@charset "UTF-8";

.flex-tayori,
.flex-events {
  position: relative;
  z-index: 0;
}

.item:hover {
  box-shadow: 0 0 0 3px #0000ff inset;
  box-shadow: 0 0 0 3px -webkit-link inset;
  box-shadow: 0 0 0 3px -moz-hyperlinkText inset;
}

.item img {
  position: relative;
  z-index: -1;
}

.item a {
  color: #000000;
  display: block;
  height: 100%;
  text-decoration: none;
  width: 100%;
}

.item a:hover p,
.item a:focus p {
  text-decoration: underline;
}

.item time {
  padding-left: 5px;
}

.item p {
  border-top: 1px dashed #aaaaaa;
  padding: 5px;
}

.item p title {
  display: block;
}

.item-description {
  padding: 5px;
}

.item-description p {
  color: #0000ff;
  color: -webkit-link;
  color: -moz-hyperlinkText;
  font-size: medium;
  font-weight: bold;
  margin: 0;
}

.item-description time {
  color: #000000;
  font-size: x-small;
}

.flex-events {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.flex-events .item {
  border: 1px solid #808080;
  box-sizing: border-box;
  height: 260px;
  margin-bottom: 10px;
  margin-right: 5px;
  width: calc((100% - 10px) / 3);
}

.flex-events > .item img {
  height: 172px;
  object-fit: cover;
  vertical-align: bottom;
  width: 100%;
}

.flex-events .item:nth-child(3n) {
  margin-right: 0;
}

.flex-tayori {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.flex-tayori > .item {
  border: 1px solid #808080;
  box-sizing: border-box;
  margin-bottom: 10px;
  margin-right: 10px;
  width: calc((100% - 10px) / 2);
}

.flex-tayori > .item:nth-child(2n) {
  margin-right: 0;
}

.flex-tayori > .item > p {
  color: #0000ff;
  color: -webkit-link;
  color: -moz-hyperlinkText;
  font-size: medium;
  font-weight: bold;
  margin: 0;
  text-align: center;
}

.flex-tayori > .item img {
  height: auto;
  width: 100%;
}

.flex-tayori .item-description p {
  color: #0000ff;
  color: -webkit-link;
  color: -moz-hyperlinkText;
  font-size: medium;
  font-weight: bold;
  margin: 0;
  text-align: center;
}
