@charset "UTF-8";
/*
 * GROOVE BLOG 独自調整
 * knap.jp/blog の common.css を基調に、GROOVE ブランド部分と
 * 追加コンポーネント（READ MORE / 検索 / 404 / Goodボタン）を調整している。
 */

/* ---- ページ背景（OSダークモード時の暗いキャンバス対策で白を明示）
       ※ body に指定すると z-index:-10 のKV画像が隠れるため html のみ ---- */
html {
  background: #fff;
}

/* ---- ロゴ（テキストロゴ） ---- */
.p-header_logo_link {
  display: block;
  text-decoration: none;
}

.p-header_logo_text,
.p-footer_logo_text {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #000;
}

.p-header_logo_text em,
.p-footer_logo_text em {
  font-style: normal;
  margin-left: 0.4em;
  padding: 0.18em 0.45em;
  background: #000;
  color: #fff;
  font-size: 0.62em;
  vertical-align: 0.12em;
}

.p-footer_logo_text {
  font-size: 3rem;
  color: #fff;
}

.p-footer_logo_text em {
  background: #fff;
  color: #000;
}

/* ---- ヘッダーの現在地 ---- */
.p-header_nav_list_item.is-current .p-header_nav_list_link {
  opacity: 1;
}

.p-header_nav_list_item.is-current .p-header_nav_list_link_wrapper {
  text-decoration: underline;
  text-underline-offset: 0.6rem;
}

/* ---- 記事本文の細部（knapの common.css / page-article.css に無い分のみ） ---- */
.l-single_content img {
  max-width: 100%;
  height: auto;
}

.l-single_content table {
  margin: 5rem 0;
  border-collapse: collapse;
  font-size: 1.6rem;
  line-height: 1.8;
  width: 100%;
}

.l-single_content th,
.l-single_content td {
  border: 0.1rem solid #000;
  padding: 1rem 1.4rem;
  text-align: left;
}

.l-single_content th {
  background: #f5f5f5;
  font-weight: 700;
}

.l-single_content > :first-child {
  margin-top: 0;
}

/* ---- コード（knap原本の .l-single_content code は color 指定が無く
       背景 #1e1e1e に黒文字で見えないため調整） ---- */
/* フェンスブロック（<pre><code>）は knap本来の意匠どおり黒背景＋白文字 */
.l-single_content pre code {
  color: #fff;
}

/* インラインコードは文脈内に収める（原本は display:block が全 code に効くため打ち消し） */
.l-single_content :not(pre) > code {
  display: inline;
  margin: 0;
  padding: 0.1em 0.5em;
  background: #f0f0f0;
  color: #000;
  font-size: 0.9em;
  white-space: normal;
}

/* ---- 検索結果ラベル ---- */
.p-blog-search-label {
  margin: 4rem 0;
  font-size: 1.6rem;
  font-weight: 700;
}

/* ---- 記事が見つからない場合 ---- */
.p-blog-notfound {
  padding: 12rem 0;
  text-align: center;
  font-size: 1.8rem;
  line-height: 2;
}

.p-blog-notfound_link {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.2rem 3.6rem;
  border: 0.1rem solid #000;
  color: #000;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.p-blog-notfound_link:hover {
  background: #000;
  color: #fff;
}
