@charset "UTF-8";
/*!
  Theme: Tacoms Style
  Author: Based on Hatena Neutral Theme
  Description: tacomsの企業テックブログ用テーマ
  Responsive: yes
*/

/* カラー変数 */
:root {
  --tacoms-primary: #236099;
  --tacoms-secondary: #80C8D1;
  --tacoms-accent: #fddb3a;
  --tacoms-text: #333;
  --tacoms-text-light: #666;
  --tacoms-gray-light: #f8f9fa;
  --tacoms-border: #e0e0e0;
  --tacoms-code-bg: #f5f5f5;
}

/* 基本設定 */
* {
  margin: 0;
  padding: 0;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 100%;
  font-style: normal;
  word-wrap: break-word;
}

a {
  color: var(--tacoms-primary);
  text-decoration: none;
}

a:hover {
  color: var(--tacoms-secondary);
}

/* ブログタイトル */
#blog-title {
  margin: 32px 0 60px;
  background-color: var(--tacoms-gray-light);
  padding: 40px 0;
}

@media screen and (min-width: 992px) {
  #blog-title {
    margin: 0 0 80px;
    padding: 60px 0;
  }
}

#blog-title #blog-title-content {
  width: 90%;
  margin: auto;
  text-align: center;
}

#blog-title #blog-title-content #title {
  line-height: 1;
}

#blog-title #blog-title-content #title a {
  font-size: 24px;
  font-weight: 700;
  color: var(--tacoms-primary);
}

@media screen and (min-width: 992px) {
  #blog-title #blog-title-content #title a {
    font-size: 36px;
  }
}

#blog-title #blog-title-content #blog-description {
  font-size: 14px;
  font-weight: 400;
  color: var(--tacoms-text-light);
  margin: 14px 0 0;
}

@media screen and (min-width: 992px) {
  #blog-title #blog-title-content #blog-description {
    font-size: 16px;
  }
}

/* コンテンツレイアウト - レイアウトの維持に重要なので!important追加 */
#content-inner {
  display: flex !important;
  flex-flow: column;
  justify-content: center;
}

@media screen and (min-width: 992px) {
  #content-inner {
    flex-flow: row !important;
  }
}

#content-inner #main {
  width: auto;
  margin: auto;
}

@media screen and (min-width: 992px) {
  #content-inner #main {
    width: 620px !important;
    margin: 0 32px 0 0 !important;
  }
}

#content-inner #box2 {
  width: auto;
  margin: 0 1em;
}

@media screen and (min-width: 992px) {
  #content-inner #box2 {
    width: 300px !important;
  }
}

/* 記事 */
.entry {
  margin: 0 0 60px;
  padding: 24px 1em 40px;
  background: #fff;
  border: 1px solid var(--tacoms-border);
  border-radius: 8px;
}

.entry .entry-inner .entry-header {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--tacoms-secondary);
}

.entry .entry-inner .entry-header .date a {
  font-size: 14px;
  color: var(--tacoms-text-light);
}

.entry .entry-inner .entry-header .entry-title {
  font-size: 26px;
  margin: 16px 0;
  padding: 0;
  text-align: left;
  color: var(--tacoms-primary);
}

@media screen and (min-width: 992px) {
  .entry .entry-inner .entry-header .entry-title {
    font-size: 32px;
    margin: 24px 0;
  }
}

.entry .entry-inner .entry-header .entry-title a {
  color: var(--tacoms-primary);
}

.entry .entry-inner .entry-header .entry-title a:hover {
  color: var(--tacoms-secondary);
}

/* カテゴリー */
.entry .entry-inner .entry-header .entry-categories .entry-category-link {
  font-size: 12px;
  background: var(--tacoms-gray-light);
  color: var(--tacoms-primary);
  padding: .45em .8em;
  margin: 0 4px 4px 0;
  border-radius: 20px;
  display: inline-block;
}

.entry .entry-inner .entry-header .entry-categories .entry-category-link:hover {
  background: var(--tacoms-secondary);
  color: white;
}

/* 記事本文 */
.entry .entry-inner p {
  font-size: 16px;
  line-height: 1.8;
  margin: 24px 0;
  color: var(--tacoms-text);
}

@media screen and (min-width: 992px) {
  .entry .entry-inner p {
    font-size: 17px;
  }
}

/* 見出し */
.entry .entry-inner h1,
.entry .entry-inner h2,
.entry .entry-inner h3,
.entry .entry-inner h4,
.entry .entry-inner h5,
.entry .entry-inner h6 {
  margin: 40px 0 20px;
  color: var(--tacoms-primary);
}

.entry .entry-inner h2 {
  font-size: 24px;
  padding: 10px 0 10px 15px;
  border-left: 4px solid var(--tacoms-accent);
}

@media screen and (min-width: 992px) {
  .entry .entry-inner h2 {
    font-size: 26px;
  }
}

.entry .entry-inner h3 {
  font-size: 20px;
}

@media screen and (min-width: 992px) {
  .entry .entry-inner h3 {
    font-size: 22px;
  }
}

.entry .entry-inner h4 {
  font-size: 18px;
}

@media screen and (min-width: 992px) {
  .entry .entry-inner h4 {
    font-size: 20px;
  }
}

/* リンク */
.entry .entry-inner p a {
  color: var(--tacoms-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry .entry-inner p a:hover {
  color: var(--tacoms-secondary);
}

/* リスト */
.entry .entry-inner ul,
.entry .entry-inner ol {
  margin: 20px 0;
  margin-inline-start: 1.5em;
}

.entry .entry-inner li {
  line-height: 1.8;
  margin-bottom: 8px;
}

/* 引用 */
.entry .entry-inner blockquote {
  background: var(--tacoms-gray-light);
  border-left: 4px solid var(--tacoms-secondary);
  border-radius: 4px;
  padding: 16px 20px;
  margin: 20px 0;
}

.entry .entry-inner blockquote p {
  margin: 0;
  font-size: 15px;
  color: var(--tacoms-text-light);
}

/* コード */
.entry .entry-inner code {
  background: var(--tacoms-code-bg);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: "Consolas", "Monaco", "Andale Mono", monospace;
  font-size: 14px;
}

.entry .entry-inner pre {
  margin: 20px 0;
  padding: 20px;
  background: var(--tacoms-code-bg);
  border: 1px solid var(--tacoms-border);
  border-radius: 4px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.6;
}

.entry .entry-inner pre code {
  background: transparent;
  padding: 0;
}

/* テーブル */
.entry .entry-inner table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
  border: 1px solid var(--tacoms-border);
  border-radius: 4px;
  overflow: hidden;
  border-collapse: unset;
  border-spacing: 0;
}

.entry .entry-inner table th {
  background: var(--tacoms-gray-light);
  color: var(--tacoms-primary);
  padding: 12px;
  font-weight: 600;
  border-right: 1px solid #fff;
}

.entry .entry-inner table th:last-child {
  border-right: none;
}

.entry .entry-inner table td {
  padding: 12px;
  border-right: 1px solid var(--tacoms-border);
  border-top: 1px solid var(--tacoms-border);
}

.entry .entry-inner table td:last-child {
  border-right: none;
}

/* サイドバー */
.hatena-module {
  background: #fff;
  margin: 0 0 30px;
  padding: 20px;
  border: 1px solid var(--tacoms-border);
  border-radius: 8px;
}

.hatena-module .hatena-module-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px;
  padding-bottom: 10px;
  color: var(--tacoms-primary);
  border-bottom: 2px solid var(--tacoms-secondary);
}

.hatena-module .hatena-module-body {
  font-size: 14px;
}

/* プロフィールモジュール */
.hatena-module-profile .profile-icon {
  border-radius: 50%;
  margin: 0 0 10px;
  border: 2px solid var(--tacoms-secondary);
}

/* カテゴリーモジュール */
.hatena-module-category .hatena-urllist li {
  list-style: none;
  margin: 0 0 10px;
}

.hatena-module-category .hatena-urllist li a {
  color: var(--tacoms-text);
  display: inline-block;
  background: var(--tacoms-gray-light);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
}

.hatena-module-category .hatena-urllist li a:hover {
  background: var(--tacoms-secondary);
  color: white;
}

/* 検索フォーム */
.search-form {
  display: flex;
  border: 1px solid var(--tacoms-border);
  border-radius: 4px;
  overflow: hidden;
}

.search-form .search-module-input {
  width: 100%;
  font-size: 14px;
  border: none;
  padding: 8px 12px;
}

.search-form .search-module-button {
  background: var(--tacoms-primary);
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}

.search-form .search-module-button:hover {
  background: var(--tacoms-secondary);
}

/* ページャー */
.pager {
  margin: 40px 0;
  text-align: center;
}

.pager a {
  display: inline-block;
  padding: 10px 20px;
  margin: 0 5px;
  background: var(--tacoms-primary);
  color: white;
  border-radius: 5px;
}

.pager a:hover {
  background: var(--tacoms-secondary);
}

/* フッター */
#footer {
  padding: 40px 0;
  font-size: 14px;
  text-align: center;
  color: var(--tacoms-text-light);
  border-top: 1px solid var(--tacoms-border);
  margin-top: 60px;
}

#footer a {
  color: var(--tacoms-primary);
}

#footer a:hover {
  color: var(--tacoms-secondary);
  text-decoration: underline;
}

/* アーカイブページ */
.page-archive .archive-entries {
  background: #fff;
  padding: 32px 16px 40px;
  border-radius: 8px;
  border: 1px solid var(--tacoms-border);
}

.archive-entry {
  margin: 0 0 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--tacoms-border);
}

.archive-entry:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.archive-entry .entry-title {
  font-size: 20px;
  margin: 10px 0;
}

.archive-entry .entry-title a {
  color: var(--tacoms-primary);
}

.archive-entry .entry-title a:hover {
  color: var(--tacoms-secondary);
}

.archive-entry .date {
  color: var(--tacoms-text-light);
  font-size: 14px;
}