/* <system section="theme"> */
@import url("https://hatenablog.com/css/theme/hbm-text/style.css");
/* </system> */


/*メインカラム記事一覧タイトル行数設定（トップページ）*/
#main-inner .urllist-title-link {
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*メインカラム記事一覧タイトル行数設定（トップページ以外）*/
#main-inner .archive-entries .entry-title-link{
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/*サブカラム 記事一覧タイトル行数設定*/
#box2-inner .urllist-title-link{
  max-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* フォント設定 */
body, html {
    font-family: -apple-system,'Noto Sans JP', sans-serif,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;
}

/* ランキングサムネなし対応 */
.urllist-item-inner.entries-access-ranking-item-inner {
    margin-left: 40px;
}
.entries-access-ranking .entries-access-ranking-item:before {
    top: 0;
    left: 0;
}

/* 運営会社ロゴ */
.blog-header .company-heading {
  color: #2864f0;
}

/* ヘッダーメディア名 */
.blog-title-heading a {
  color: #2864f0;
}

/* ヘッダー */
.blog-header {
  color: #333;
}

/* ナビゲーションリンク */
.navbar-list a {
  color: #333;
}

/* ナビゲーションリンク（スマホのみ）*/
@media (max-width: 767px) {
.navbar-list a {
  color: #333;
}
}

/* ナビゲーションリンク（マウスオーバー時 & タップ時）*/
.navbar-list a:hover {
  color: #333;
  background-color: #f1f5ff;
}

/* ナビゲーションリンク（スマホのみ、項目タップ時）*/
@media (max-width: 767px) {
.navbar-list a:hover {
  color: #333;
  background-color: #f1f5ff;
}
}

/* ハンバーガーボタン（スマホのみ）*/
.navbar-toggle-btn-icon line {
  stroke:  #2864f0;
}

/* ハンバーガーボタン：オープン後の背景色（スマホのみ）*/
.navbar-toggle-btn:hover:after {
  background-color: rgb(233, 231, 231,.08);
}

/* フッター（company logo & フッタリンク）*/
.footer a {
  color: #333;
}

/* フッター（フッタリンク間の区切り縦線 & コピーライトと背景色）*/
.footer {
  color: #333;
}

/* ページトップへ戻る（スマホのみ） */
.btn-back-top {
  background-color: #333;
}

/* モジュールタイトル（サイドバーのこのメディアについて）*/
.about-blog-title,
/* モジュールタイトル（メインカラム、サイドバーの人気記事、関連記事、カテゴリー、ピックアップ、リンク）*/
.hatena-module-title,
/* モジュールタイトル（メインカラム、サイドバーの最新記事、月別アーカイブ）*/
.hatena-module-title a,
/* モジュールタイトル（メインカラム、記事上、記事下配置の最新記事モジュール）*/
#main .hatena-module-title a,
/* モジュールタイトル（メインカラム、記事上、記事下配置の最新記事以外のモジュール）*/
#main .hatena-module-titile {
  color: #464343;
}

/* サイドバーモジュールタイトル下のライン */
.hatena-module-title {
  border: 0;
  padding-bottom: 0;
  margin-bottom: .8em;
}

/* モジュールタイトル（メインカラム、記事上、記事下配置の最新記事モジュール）*/
#main .hatena-module-title {
  font-size: 1.4em;

}

/* カテゴリータグ  */
.categories a,
.entry-category-link,
.hatena-module-category .hatena-urllist li a,
.page-archive .categories a,
.urllist-category-link {
  color: #333;
  background-color: #e9e7e7;
}

/* カテゴリータグ（マウスオーバー時 & タップ時）*/
.categories a:hover,
.entry-category-link:hover,
.hatena-module-category .hatena-urllist li a:hover,
.page-archive .categories a:hover,
.urllist-category-link:hover {
  background-color: #f7f5f5;
}

/* もっと見るボタン  */
.urllist-see-more a {
  color: #333;
  border-color: #333;
}

/* もっと見るボタン（マウスオーバー時 & タップ時）*/
.urllist-see-more a:hover {
  background-color: #333;
  border-color: #333;
}

/* contentのmargin-topを調整 */
#content {
  margin-top: 1.5em;
}
@media (min-width: 768px) {
  #content {
      margin: 2em auto auto;
  }
}

@media (min-width: 768px) {
  .page-archive .archive-entry:before {
    width: 32%;
    padding-bottom: 32%;
  }
}
/* サムネイルなし調整のため サムネイル右表示 */
.urllist-with-thumbnails li .urllist-image {
  margin: 0 0 0.7em 0.7em;
  float: right;
}

.urllist-item {
  position: relative;
}
.urllist-date-link,
.urllist-category-link,
.urllist-entry-body
 {
  position: relative;
  z-index: 1;
}

.urllist-entry-body {
  pointer-events: none;
}

.urllist-title-link:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.page-archive .archive-entry {
  padding-left: 0;
}
.page-archive .archive-entry:before {
  background-color: #e9e7e7;
  content: "";
  width: 30%;
  height: 0;
  padding-bottom: 30%;
  display: block;
  float: right;
  margin-left: 3%;
  margin-right: 0;
}
@media (min-width: 768px) {
  .page-archive .archive-entry:before {
    width: 32%;
    padding-bottom: 32%;
  }
}
.page-archive .entry-thumb {
  right: 0;
  left: initial;
}


/* ロゴ画像による調整 */
.blog-header {
  padding: 0;
}
.blog-description {
  margin-bottom:1em;
}

/* 記事下 関連記事レイアウト調整 */
#main .customized-footer .related-entries.hatena-urllist>li {
  width: 100%;
  margin-bottom: 0;
}
#main .entry-footer .hatena-module-related-entries .related-entries-title {
  margin: .7em 0;
}

/* PICK UP */
#main .hatena-module-recent-entries.category-ピックアップ .urllist-with-thumbnails {
  display: flex;
}

#main .hatena-module-recent-entries.category-ピックアップ .urllist-item {
  background: #f7f5f5;
  width: 49%;
  aspect-ratio: 16/9;
  border-radius: 0.25rem;
  overflow: hidden;
  border: 1px solid #e9e7e7;
}
#main .hatena-module-recent-entries.category-ピックアップ .urllist-item-inner {
  position: relative;
  width: 100%;
  height: 100%;
}
#main .hatena-module-recent-entries.category-ピックアップ .urllist-item-inner:before {
  content: '';
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  transition-property: background-color;
  transition-duration: .2s;
  pointer-events: none;
}
#main .hatena-module-recent-entries.category-ピックアップ .urllist-item-inner:hover:before {
  background: rgba(255,255,255,0.4);
}
#main .hatena-module-recent-entries.category-ピックアップ .urllist-item-inner:after {
  content: "";
  z-index: 3;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.9);
  height: 0.5rem;
}

#main .hatena-module-recent-entries.category-ピックアップ .urllist-image-link {
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  overflow: hidden;
}

#main .hatena-module-recent-entries.category-ピックアップ .urllist-image {
  width: initial;
  max-width: initial;
  height: 100%;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#main .hatena-module-recent-entries.category-ピックアップ .urllist-title {
  z-index: 3;
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.5rem 0.5rem 0;
  background: rgba(255,255,255,0.9);
  max-height: 3.5rem;
  font-size: 1rem;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  display: box;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}

#main .hatena-module-recent-entries.category-ピックアップ .urllist-title:hover {
  text-decoration: none;
}


/* 技術発表資料のスライドを大きくする */
.speakerdeck-iframe {
  width: 100%;
}

iframe[src^='https://www.slideshare.net/'] {
  width: 100%;
  margin: 0;
}


/* リンク色 */
.entry-content a,
.breadcrumb-link,
.breadcrumb-child-link,
.pager a {
  color: #285ac8;
}

.entry-content a:hover,
.breadcrumb-link:hover,
.breadcrumb-child-link:hover,
.pager a:hover {
  color: #23418c;
  opacity: 1;
}
/* 記事本文 */
.entry-content p {
  line-height: 1.8;
  }
.entry-content li + li {
  margin-top: 0.5em;
}

/* 日付リンク */
.archive-date a, .date a, .urllist-date-link a {
  color: #6e6b6b;
}

/* ブログ名テキストリンク対策 */
header#blog-title {
    display: none;
}