/* = #gallery
--------------------------------------------------- */
#gallery {
  font:12px 'Hiragino Sans','ヒラギノ角ゴシック','Hiragino Kaku Gothic','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  font-weight: 100;
  margin: 30px auto;
}
#gallery * {
  box-sizing: content-box;
}
#gallery > div {
	position: relative;
	z-index: 1;
  overflow: hidden;
  color: white;
  padding: 5px 0;
  margin: 0 -5px;
}
#gallery ul,
#gallery li {
  list-style: none;
  padding: 0;
}
#gallery li {
  width: 25%;
  padding: 5px;
  box-sizing: border-box !important;
  float: left;
  display: block;
  overflow: hidden;
}
@media (max-width: 480px) {
  #gallery ul {
    padding: 0 12px;
  }
  #gallery li {
    width: 100%;
  }
}
#gallery li .wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}
#gallery li .wrap > .img {
  position: relative;
  z-index: 1;
  display: block;
}
#gallery li .content {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  text-align: right;
}
#gallery li .content * {
  line-height: 1.5;
}
#gallery li .content > .img {
  width: 17%;
  height: 17%;
  display: inline-block;
  margin: 0 2% 2% 0;
  border-radius: 10%;
  box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.5);
}
#gallery li .content aside {
  background-color: rgba(0,0,0,0.6);
  padding: 2%;
  font-size: 90%;
  box-sizing: border-box;
  text-align: left;
  position: relative;
}
#gallery li .content aside .icon {
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 2px solid;
  position: absolute;
  right: 10px;
  bottom: 10px;
  -webkit-shape-outside: circle();
  shape-outside: circle();
  shape-margin: 1rem;
}
#gallery li .content aside .name span {
  font-size: 90%;
  color: #aaa;
}
#gallery li .content aside pre {
  white-space: pre-wrap;
  font-weight: inherit;
  font-family: inherit;
  font-size: 90%;
  color: #aaa;
  overflow: hidden;
  height: 3em;
}
#gallery li .content aside .date {
  font-size: 90%;
  color: #aaa;
}
#gallery li .content aside .date .star {
  color: yellow;
}
#gallery li .content aside .date .retweet {
  color: red;
}

/* = #gallery .next
--------------------------------------------------- */
#gallery .next {
  text-align: center;
  text-decoration: underline;
  padding: 10px;
  display: block;
  clear: both;
}
#gallery .next img {
  width: 1px;
  height: 1px;
  opacity: 0.1;
}