@charset "UTF-8";
body {
  font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif; }

/* close btn */
.richlink-close {
  border: 1px solid #ddd;
  height: 28px;
  width: 28px;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 30px;
  background: #fff; }
  .richlink-close:before, .richlink-close:after {
    content: '';
    height: 2px;
    width: 15px;
    display: block;
    background: #aeaeae;
    border-radius: 10px;
    position: absolute;
    top: 13px;
    right: 6px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg); }
  .richlink-close:after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg); }

.richlink-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis; }

iframe body {
  margin: 0; }

.richlink {
  max-width: 498px;
  max-height: 162px;
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  line-height: 1.5; }
  .richlink a {
    text-decoration: none;
    color: #333; }
  .richlink:hover {
    cursor: pointer;
    background: #eee;
    -webkit-filter: grayscale(1);
    /* Webkit */
    filter: gray;
    /* IE6-9 */
    filter: grayscale(1);
    /* W3C */ }

.richlink-inner {
  max-height: 134px;
  padding: 10px;
  overflow: hidden; }

.richlink-img {
  width: 100px;
  height: 100px;
  text-align: center;
  float: left;
  margin-right: 10px; }

.richlink-title {
  font-size: 16px;
  margin: 0;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis; }

.richlink-intro {
  font-size: 13px;
  margin: 0 !important; }

.richlink-info {
  font-size: 12px;
  clear: both;
  border-top: 1px solid #eee;
  position: relative; }
  .richlink-info img {
    width: 24px;
    height: 24px;
    background: #eee; }
  .richlink-info ul {
    padding: 5px 0 5px 5px;
    margin: 0;
    list-style: none; }
  .richlink-info li {
    display: inline-block;
    vertical-align: middle;
    line-height: .9em;
    margin: 0 5px 0 0; }
    .richlink-info li.richlink-meta {
      line-height: 1em; }

/*
下記は hatena を参考にしたもの
akamai通す場合はおそらくこちらのような形にする必要がある

@import "base.richlink";

.richlink {
  width: 100%;
  max-height: 158px;
  position: relative;
  background: #fff;
  border: 1px solid #eee;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  line-height: 1.5;
  a {
    text-decoration: none;
    color: #333;
    &:hover {
      text-decoration: underline;
      color: #457abb;
    }
  }
}

.richlink-inner {
  max-height: 134px;
  padding: 14px;
  overflow: hidden;
}

.richlink-img {
  width: 100px;
  height: 100px;
  text-align: center;
  float: left;
  margin-right: 10px;
}

.richlink-description {
}

.richlink-title {
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
  max-height: 47px;
  font-weight: bold;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.richlink-intro {
  font-size: 13px;
  margin: 0 !important;
  line-height: 1.3;
  max-height: 38px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.richlink-info {
  font-size: 12px;
  clear: both;
  border-top: 1px solid #eee;
  position: relative;
  img {
    width: 24px;
    height: 24px;
    background: #eee;
  }
  ul {
    padding: 5px 0 5px 14px;
    margin: 0;
    list-style: none;
  }
  li {
    display: inline-block;
    vertical-align: middle;
    line-height: .9em;
    margin: 0 5px 0 0;
  }
}
*/
