@charset "UTF-8";
/*
  Base
*/
body {
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 18px;
  color: #505050;
  line-height: 1.75rem;
}

@media (max-width: 30em) {
  body {
    font-size: 14px;
    line-height: 1.5rem;
  }
  body h1 {
    font-size: 1.5rem;
  }
}
h1 {
  font-size: 2rem;
}

h1 a {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "IBM Plex Sans JP", sans-serif;
  color: #333;
}

a {
  text-decoration: underline;
  color: #333;
}

a:hover {
  color: black;
  border-bottom: none;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

blockquote {
  margin: 10px 20px 10px;
  padding: 0px 15px;
  border-left: 0.25em solid #ccc;
  color: #999;
  line-height: 1.5;
}

hr {
  border-top: 1px solid #ccc;
}

/*
  Tables
*/
table {
  border-collapse: collapse;
  margin-bottom: 30px;
  width: 100%;
}

table, th, td {
  border: 1px solid black;
}

th, td {
  padding: 15px;
  text-align: left;
}

/*
  Code
*/
code,
pre {
  font-family: "Source Code Pro", monospace;
}

code {
  padding: 0.25em 0.5em;
  font-size: 0.8rem;
  background-color: #f5f5f5;
  border-radius: 3px;
}

pre {
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: pre;
  white-space: pre-wrap;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
}

pre code {
  padding: 0;
  font-size: 100%;
  color: inherit;
  background-color: transparent;
}

/* Horizontal code overflow fix */
pre.highlight {
  white-space: pre;
  overflow-x: auto;
}

/* Pygments via Jekyll */
.highlight {
  margin-bottom: 1rem;
  border-radius: 4px;
}

.highlight pre {
  margin-bottom: 0;
}

/* Gist via GitHub Pages */
.gist .gist-file {
  font-family: "Source Code Pro", monospace !important;
}

.gist .markdown-body {
  padding: 15px;
}

.gist pre {
  padding: 0;
  background-color: transparent;
}

.gist .gist-file .gist-data {
  font-size: 0.8rem !important;
  line-height: 1.4;
}

.gist code {
  padding: 0;
  color: inherit;
  background-color: transparent;
  border-radius: 0;
}

/*
  Site container
*/
.container {
  margin-left: auto;
  margin-right: auto;
  width: 615px;
}

.content-container {
  margin-bottom: 4rem;
}

/*48em*/
@media (max-width: 768px) {
  .container {
    width: 90vw;
  }
}
/*
  Header
*/
.header {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 4rem;
  font-family: "IBM Plex Sans JP", sans-serif;
}

.header a:hover {
  color: black;
}

.header-title a {
  font-size: 2rem;
  text-decoration: none;
  color: #505050;
}

.header-subtitle {
  color: #999;
}

/*
  Menu
*/
.menu {
  padding-top: 0.5rem;
  display: block;
}

.menu-content {
  float: left;
}

.menu-content a {
  color: #999;
  font-size: 1rem;
  padding-right: 10px;
}

.social-icons {
  float: right;
}

.social-icons a {
  color: #999;
  font-size: 1rem;
}

@media (max-width: 30em) {
  .social-icons {
    float: left;
    padding-top: 0px;
  }
  .menu-content {
    margin-bottom: 5px;
  }
}
/*
  Footer
*/
.footer {
  color: #999;
  text-align: center;
  margin: 2rem;
}

.footer a {
  color: #999;
  padding: 10px;
  text-decoration: none;
}

.footer a:hover {
  color: #333;
}

.footer-description {
  display: block;
  margin-top: 3px;
  margin-bottom: 1rem;
  color: #999;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 0.8rem;
}

/*
  Posts
*/
.posts-container {
  margin-bottom: 5rem;
  padding: 0px;
  list-style: none;
}

/*
  Thumbnail
*/
.thumbnail-container {
  max-width: 100%;
  overflow: hidden;
  border-radius: 5px;
  margin-bottom: 25px;
}

.thumbnail-container img {
  margin-top: -11.5%;
  margin-bottom: -11.5%;
}

/*
  Pagination
*/
.pagination {
  overflow: hidden;
  font-family: "IBM Plex Sans JP", sans-serif;
  text-align: center;
}

.pagination a {
  text-decoration: none;
}

.pagination-button {
  color: #999;
  border: 1px solid #e0e0e0;
  padding: 15px 45px;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}

.pagination-active {
  color: black;
}

.pagination-active:hover {
  background-color: #e0e0e0;
}

/*
  Post
*/
.post-date {
  display: block;
  margin-top: 3px;
  margin-bottom: 1rem;
  color: #999;
  font-family: "IBM Plex Sans JP", sans-serif;
  font-size: 0.8rem;
}

@media (max-width: 30em) {
  .posts h1 {
    font-size: 1.5rem;
  }
}
.related {
  padding-bottom: 2rem;
}

.related-posts {
  padding-left: 0px;
  list-style: none;
}

.related-posts a {
  text-decoration: none;
}

/*
  Social media icons
*/
.sharing-icons a {
  padding-right: 10px;
}

.fa-envelope {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-envelope:hover {
  color: #f39c12;
}

.fa-twitter {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-twitter:hover {
  color: #00aced;
}

.fa-instagram {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-instagram:hover {
  color: #375989;
}

.fa-github {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-github:hover {
  color: #343434;
}

.fa-linkedin {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-linkedin:hover {
  color: #0073a4;
}

.fa-facebook {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-facebook:hover {
  color: #3d5b99;
}

.fa-pinterest {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-pinterest:hover {
  color: #bd081c;
}

.fa-medium {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-medium:hover {
  color: #00AB6C;
}

.fa-codepen {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-codepen:hover {
  color: black;
}

.fa-rss-square {
  padding: 5px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
}
.fa-rss-square:hover {
  color: #ff6600;
}

/*注釈のボックス*/
.box_mention {
  padding: 0.2em 1em;
  margin: 1em 0;
  color: #232323;
  background: #fafafa;
  border-left: solid 6px #d2d2d2;
}

/*行間を広げる*/
body {
  line-height: 1.85; /* 1.8〜2.0くらいが「ゆったりとした読書」に最適です */
}

/*文字間を広げる*/
body {
  letter-spacing: 0.02em; /* ほんの少しだけ広げるのがコツです */
}

/* 色付き見出し(モノトーン) */
h2 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-bottom: 1.2px solid #333; /* 細い黒線で境界を作る */
  padding-bottom: 0.5rem;
  margin-top: 3rem;
  color: #111;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700; /* 少しだけ太くして存在感を出す */
  color: #444; /* 少し濃くして視認性を上げる */
  border-bottom: 1px dotted #ccc; /* 繊細な点線で、本文との区切りを明確に */
  padding-bottom: 0.2rem;
  margin-top: 2rem;
}

/* ポートフォリオ用の簡易グリッド */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 横に並べる */
  gap: 15px; /* 写真の隙間 */
  margin-top: 2rem;
}

.portfolio-img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* 写真の比率を保ったまま枠に収める */
  filter: grayscale(20%); /* ほんの少し彩度を落としてUnderstatedに */
  transition: 0.3s;
}

.portfolio-img:hover {
  filter: grayscale(0%); /* ホバーで色が鮮やかになる演出 */
}

/* サイドバー */
@media (min-width: 1100px) {
  /* 外枠：ここを「記事＋サイドバー」のセットの入れ物にする */
  .site-layout {
    display: flex; /* 横並びにする */
    justify-content: center; /* ★このセット全体を画面の中央に寄せる */
    align-items: flex-start; /* 上端で揃える */
    max-width: 100%; /* 画面幅いっぱいを使いつつ中央寄せ */
    margin: 0 auto;
    padding: 40px 20px;
  }
  /* 記事コンテナ（左側） */
  .container {
    flex: 0 1 650px; /* 記事の幅。お好みで 600px〜700px に調整 */
    margin: 0 !important; /* 余計な中央寄せを解除 */
  }
  /* サイドバー（右側） */
  .sidebar {
    flex: 0 0 240px; /* サイドバーの幅を固定 */
    margin-left: 60px; /* 記事とサイドバーの間の「固定の余白」 */
    display: block; /* PCで表示 */
    position: sticky; /* スクロール追従（不要なら消してOK） */
    top: 40px;
  }
}
/* スマホ・タブレットではサイドバーを隠す */
@media (max-width: 1099px) {
  .sidebar {
    display: none;
  }
}
/* タグ表示の装飾 */
/* タグ全体の囲い */
.post-tags {
  margin-top: -0.5rem; /* 見出しに少し近づける */
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 個別のタグ */
.tag {
  border-radius: 6px !important; /* ボタンと同じ数値に合わせる */
  font-size: 0.75rem; /* 小さく、控えめに */
  font-family: monospace; /* 技術手帳のような雰囲気に */
  color: #888; /* 薄いグレー */
  background: #f4f4f4; /* ほんのりグレーの背景 */
  padding: 2px 8px;
  border-radius: 3px; /* わずかに角を丸める */
  letter-spacing: 0.05em;
  transition: 0.3s;
}

.tag:hover {
  color: #333; /* ホバーで少しだけ濃くする */
  background: #eee;
}

/*更新・アプデ日時を等幅フォントにする*/
.post-meta-data-inline {
  /*  margin: 0.125rem 0;
    padding: 0.25rem 0; */
  border-bottom: 1px solid #eee; /* 下線だけでシンプルに */
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace !important;
  display: flex;
  flex-wrap: wrap; /* スマホで溢れた時に折り返すように */
  align-items: center;
  gap: 12px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.meta-label {
  font-size: 0.7rem !important;
  font-weight: bold;
  color: #aaa;
  letter-spacing: 0.05em;
}

.meta-value {
  font-size: 0.9rem !important;
  color: #555;
}

.meta-separator {
  color: #ddd;
  font-size: 0.8rem;
}

.post-meta-data-inline {
  /*margin-top: 1.5rem;     見出しとの間 */
  margin-bottom: 1.5rem !important; /* ★点線の下、本文までの余白をたっぷりと */
  padding-bottom: 0.5rem;
  border-bottom: 1px dotted #ddd; /* 点線にしている場合 */
}

/* サイドバーのタグリンク */
.sidebar-tags {
  display: flex;
  flex-direction: column; /* 縦に並べてリスト感を出す（お好みでflex-wrapに） */
  gap: 8px;
}

.tag-link {
  font-family: "SFMono-Regular", Consolas, monospace !important;
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  transition: 0.2s;
}

.tag-link:hover {
  color: #333;
  padding-left: 5px; /* ホバーで少し動く遊び心 */
}

.tag-count {
  font-size: 0.7rem;
  color: #aaa;
}

/* タグページのリスト表示 */
.archive-group h2 {
  border-bottom: 1px solid #333;
  margin-top: 3rem;
  padding-bottom: 5px;
}

.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
  font-family: "SFMono-Regular", Consolas, monospace !important;
}

.post-date {
  color: #aaa;
  font-size: 0.9rem;
}

/* 記事下のタグ（リンク）のスタイル */
.post-tags a.tag {
  text-decoration: none; /* 下線を消す */
  display: inline-block;
  transition: all 0.3s ease;
}

.post-tags a.tag:hover {
  background-color: #333; /* ホバー時に黒っぽく */
  color: #fff !important; /* 文字を白く */
  transform: translateY(-2px); /* わずかに浮き上がるアニメーション */
}

/* ページネーション全体の囲い */
.pagination {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 4rem 0;
  font-family: "SFMono-Regular", Consolas, monospace !important;
}

/* ボタン共通のスタイル */
.pagination a, .pagination span {
  padding: 8px 20px;
  border-radius: 6px;
  border: 1.5px solid #ddd; /* 薄いグレーの枠線 */
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
  background: transparent; /* 背景は塗らずに白（透過） */
}

/* マウスを乗せた時（ホバー） */
.pagination a:hover {
  border-color: #333; /* 枠線を濃く */
  color: #333;
  background: #f9f9f9;
}

/* リンクがない時（1ページ目でのNewerなど）は非表示にするか、さらに薄くする */
.pagination span {
  cursor: default; /* 普通の矢印に戻る */
  opacity: 0.5; /* 代わりに色を薄くして「押せない感」を出す */
}

/* サイトタイトルの基本状態 */
.site-title a,
header h1 a {
  color: #333; /* 元の色（モノトーン案に合わせて濃いグレー） */
  text-decoration: none;
  /* ★ふわっとさせる魔法の1行（0.3秒かけて変化させる） */
  transition: color 0.3s ease-in-out;
}

/* カーソルを乗せた時（ホバー）の状態 */
.site-title a:hover,
header h1 a:hover {
  /* お好みの色を指定してください */
  color: #FF6A2A !important; /* 少し薄くして「光った」ような印象に */
  /* もしアクセントカラーを入れるなら、以前のオレンジ（#ff8c00など）もアリです */
}

/* 自動生成される目次（#markdown-toc）のスタイル */
#markdown-toc {
  border: 1px solid #eee;
  padding: 1.5rem 1.5rem 1.5rem 2.5rem;
  background: #f9f9f9;
  border-radius: 6px;
  font-size: 0.9rem;
  list-style-type: none;
  color: #666;
  margin-bottom: 2rem;
}

#markdown-toc::before {
  content: "CONTENTS"; /* 目次のタイトル */
  display: block;
  font-weight: bold;
  font-size: 0.75rem;
  color: #aaa;
  margin-left: -1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

#markdown-toc li {
  margin-bottom: 0.5rem;
  list-style: none !important; /* 2階層目（2.1.など）の記号も消す */
}

#markdown-toc a {
  text-decoration: none;
  color: #444;
}

#markdown-toc a:hover {
  text-decoration: underline;
}

/* 戻るボタン・スムーズにスクロールさせる魔法の1行 */
html {
  scroll-behavior: smooth;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #333; /* モノトーン案に合わせて黒 */
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px; /* ボタンに合わせた角丸 */
  font-family: "SFMono-Regular", Consolas, monospace;
  opacity: 0.6;
  transition: opacity 0.3s;
  z-index: 1000;
}

.back-to-top:hover {
  opacity: 1;
}

/*関連するポストの表示(タグに基づいた)*/
.bottom-index {
  /* サイドバーよりも少し背景を濃くして「記事の延長線上」であることを示す */
  background: #f0f0f0;
  border-left: 4px solid #333; /* アクセントの左線 */
  padding: 1.5rem 1.5rem;
  margin-top: 1.75rem;
}

.bottom-index h3 {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #555;
}

/* 画面の横幅が 768px 以下のとき文字を大きくする（一般的なスマホ・タブレット） */
@media screen and (max-width: 768px) {
  /* 記事全体のベース文字サイズをアップ */
  body {
    font-size: 16px; /* 標準より少し大きめに設定 */
    line-height: 2; /* 行間も広げて読みやすく */
  }
  /* 記事本文の文字サイズ */
  .post-content {
    font-size: 1.1rem;
  }
}

/*# sourceMappingURL=main.css.map */