/* ヘッダー */
#header{
  box-sizing: border-box;
  padding: 3em 1em;
  background-image: url(../images/common/hearder_background.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 1200px;
  margin: 30px auto;
  text-shadow: none;
}
#header a {
  font-weight: bold;
  color: #545454;

}
@media screen and (max-width: 1260px) {
    #header {
      width: 100%;
    }
}
/* imageキャプション */
.caption{
  font-size: 0.8em !important;
  color: #aaa !important;
}

/* 記事のアイコン */
article.post .icon:before {
  content: '';
  width: 100%;
  height: 100%;
  background: url('../images/common/pin.svg') no-repeat center center;
}

/* 目次 */
.post-toc {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin: 1em 0;
  color: #333;
}

.post-toc ul {
  list-style: none;
  margin: 1em 0em 1em 1em !important;
}

.post-toc ul li {
  padding: 0.1em 0em 0.1em 1em !important;
  margin: 0.3em 0em !important;
  border-left: 2px solid #e5e5e5;
}

/* ファイル名付きコードブロック */
.codeblock-filename{
  background: #eee;
  border: 1px solid #ddd;
  border-bottom: none;
  color: #999;
  padding-left: 15px;
}
.codeblock-filename + .highlight{
  border-top: none;
  margin-top: 0px;
}
.codeblock-filename {
  display: block;
  width: fit-content;       /* テキスト幅に合わせる */
  background: #fff;
  padding: 0.2em 0.5em;
}

/* 検索ボックス */
#local-search-result {
  margin-top: 0.2em;
}

.search-result-item {
  display: block;
  padding: 0.8em;
  margin-bottom: 0.2em;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  border: 1px solid #ddd;
  background-color: white;
}

.search-result-item:hover {
  background-color: #f7f7f7;
  text-decoration: none;
}

.search-result-title {
  font-family: "Lato", Helvetica Neue, Helvetica, Arial, sans-serif;
  margin-bottom: 0.3em;
  font-size: 1.2em;
}

.search-result-snippet {
  font-size: 0.9em;
}

.search-no-result {
  font-style: italic;
  padding: 0.5em;
}
