/* パンくずデザイン */
.bc-container {
  background-color: rgb(220, 220, 220);
  margin-bottom: 15px;
}

.bc-container .breadcrumbs {
  position: relative;
  max-width: 1280px;
  padding: 10px 10px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0;
}

/* ワンカラムデザイン */
.center {
  max-width: 920px;
  margin: 0 auto;
}

/* 会社概要 */
.corporate-box {
  padding: 30px;
}

.kaisha-gaiyou .main-content {
  display: block;
  padding: 0px 15px;
}

div#map-canvas1 {
  padding: 20px 0;
}

/* タイトル帯 */
.kaisha-gaiyou .title {
  margin: 0 auto;
  background-color: #fff;
  max-width: 920px;
  font-size: 20px;
  border-left: 5px solid #3333a8;
  padding: 15px 20px;
  background-color: #e7e7e7;
  line-height: 1.4;
  background-image: radial-gradient(#d9d9d9 20%, rgba(0, 0, 0, 0) 0%), radial-gradient(#d9d9d9 20%, rgba(0, 0, 0, 0) 0%);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
  -moz-background-size: 5px 5px;
  -o-background-size: 5px 5px;
  -webkit-background-size: 5px 5px;
  background-size: 5px 5px;
}

.kaisha-gaiyou .title h2 {
  background-color: revert;
}

/* ヘッダーデザイン変更 */
.contact-container {
  margin-bottom: 10px;
}

.header-cnt1.hmd ul li,
.header-cnt1.hmd ul li {
  display: flex;
}

a.man::before {
  background: url(../images/man.svg) center center/contain no-repeat;
}

a.man {
  margin: 0 10px;
}

.header-cnt1.hmd ul a {
  background: none;
  display: block;
  padding: 0 21px;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  color: #1E1C1C;
  text-decoration: none;
}

.header-cnt1.hmd ul li:first-child:before,
.header-cnt1.hmd ul li:after {
  content: "";
  width: 3px;
  height: 24px;
  background-image: radial-gradient(#7d7d7d, transparent 1px);
  background-position: 0 0;
  background-size: 5px 4px;
}

/* フッターデザイン */
h3.blog-title {
  border-bottom: 1px solid #6c6c6c;
  margin-bottom: 0;
  padding: 10px 0;

}

footer li.menu-item {
  border-bottom: 1px solid #6c6c6c;
  margin: 0;
}

footer li.menu-item a {
  position: relative;
  /* Needed for absolute positioning of the arrow */
  /* Add some space for the arrow */
  width: 100%;
  padding: 10px 0px 10px 10px;
}

footer li.menu-item a::after {
    content: "";
    display: inline-block; /* Make the pseudo-element behave like an inline box */
    width: 7px;
    height: 7px;
    border-top: 1px solid #fff;
    border-right: 1px solid #FFF;
    transform: rotate(45deg);
    position: absolute; /* Position the arrow relative to the link */
    right: 10px; /* Adjust as needed */
    top: 50%; /* Center vertically */
    transform: translateY(-50%) rotate(45deg); /* Adjust for vertical centering and rotation */
}

footer li.menu-item :hover{
  transition: 2s;
  background: #8d8989;
}

/* 記事 */
.category-label.child-category-label {
    opacity: 0.7; /* ラベル全体（文字も含む）が半透明になる */
}

/* カテゴリー絞り込みフィルターのコンテナ */
.category-filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* カテゴリー間の余白 */
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

/* 各カテゴリーの基本スタイル */
.category-filter-container a {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

/* カテゴリーにマウスを乗せた時のスタイル */
.category-filter-container a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

/* 選択されている（アクティブな）カテゴリーのスタイル */
.category-filter-container a.active {
    /* CSS変数を再利用 */
    background-color: rgb(var(--category-color-r, 0), var(--category-color-g, 115), var(--category-color-b, 170));
    color: #fff;
    border-color: transparent;
    font-weight: bold;
}

/* 記事一覧　記事個別＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */
.custom-sidebar-blog {
        --sidebar-accent-color: rgb(var(--category-color-r, 0), var(--category-color-g, 115), var(--category-color-b, 170));
        --sidebar-accent-color-light: rgba(var(--category-color-r, 0), var(--category-color-g, 115), var(--category-color-b, 170), 0.1);
        width: 100%;
        font-family: sans-serif;
    }
    .custom-sidebar-blog .widget-container { margin-bottom: 30px; }
    .custom-sidebar-blog .widget-title { font-size: 1.25rem; font-weight: bold; padding-left: 10px; border-left: 5px solid var(--sidebar-accent-color); margin-bottom: 20px; }
    .custom-sidebar-blog .recommended-posts-list { list-style: none; padding: 0; margin: 0; }
    .custom-sidebar-blog .recommended-posts-list li { margin-bottom: 15px; }
    .custom-sidebar-blog .recommended-posts-list .post-item-link { display: flex; align-items: flex-start; text-decoration: none; color: #333; }
    .custom-sidebar-blog .recommended-posts-list .post-thumbnail { flex-shrink: 0; width: 80px; height: 80px; margin-right: 15px; }
    .custom-sidebar-blog .recommended-posts-list .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
    .custom-sidebar-blog .recommended-posts-list .post-content { flex-grow: 1; }
    .custom-sidebar-blog .post-category-tag { display: inline-block; background-color: var(--sidebar-accent-color-light); color: var(--sidebar-accent-color); padding: 3px 8px; border-radius: 4px; font-size: 0.75rem; margin-bottom: 8px; }
    .custom-sidebar-blog .post-title { font-size: 0.9rem; font-weight: bold; line-height: 1.5; margin: 0; }
    .custom-sidebar-blog .category-button-list { list-style: none; padding: 0; margin: 0; }
    .custom-sidebar-blog .category-button-list li { margin-bottom: 10px; }
    .custom-sidebar-blog .category-button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 15px; border: 2px solid var(--sidebar-accent-color); color: var(--sidebar-accent-color); border-radius: 8px; background-color: #fff; font-size: 1rem; font-weight: bold; text-decoration: none; transition: all 0.2s ease-in-out; box-sizing: border-box; }
    .custom-sidebar-blog .category-button:hover,
    .custom-sidebar-blog .category-button.active {
        background-color: var(--sidebar-accent-color);
        color: #fff;
    }
    .custom-sidebar-blog .category-button .arrow-icon { font-weight: bold; }
        /* 年別アーカイブのリンクをカテゴリーボタンと同じデザインにする */
    .custom-sidebar-blog .category-button-list li a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 15px;
        border: 2px solid var(--sidebar-accent-color);
        color: var(--sidebar-accent-color);
        border-radius: 8px;
        background-color: #fff;
        font-size: 1rem;
        font-weight: bold;
        text-decoration: none;
        transition: all 0.2s ease-in-out;
        box-sizing: border-box;
    }
    .custom-sidebar-blog .category-button-list li a:hover {
        background-color: var(--sidebar-accent-color);
        color: #fff;
    }
    .banner img {
    margin: auto;
    height: 227px;
    object-fit: cover;
    width: 100%;
    display: none;
}

.page-title {
    background: #00000057;
    padding: 10px;
    width:100%;
}

/* 記事個別デザイン */
/* =================================================================
   記事個別ページ（.entry-content）のスタイル
   ================================================================= */

/* 記事本文全体の基本的な設定 */
.entry-content {
    /* フォント設定 (游ゴシック、ヒラギノ角ゴ、メイリオなど、PCに一般的に入っている読みやすいフォントを指定) */
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    
    /* 文字サイズ (16px〜18pxが一般的) */
    font-size: 17px;

    /* 行の高さ (文字サイズの1.7〜1.8倍が読みやすい) */
    line-height: 1.8;

    /* 文字色 (真っ黒(#000)より、少し柔らかいダークグレーが見やすい) */
    color: #333;
}

/* 段落（<p>タグ）のスタイル */
.entry-content p {
    /* 段落の下に一行分の余白を設ける */
    margin-bottom: 1.8em; /* line-heightと同じ値にすると、ちょうど一行分のスペースになります */
}

/* 見出し（h2, h3, h4タグ）のスタイル */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    /* 見出しの上の余白を広めにとり、前の文章との区切りを明確にする */
    /* margin-top: 2.5em; */
    /* 見出しの下の余白は少し狭めにする */
    margin-bottom: 1em;
    /* 見出しの文字色を少し濃くする */
    color: #222;
    /* 下線を引いてアクセントに */
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.4em;
    line-height: 1.5; /* 見出しの行間は少し詰める */
}

.entry-content h2 {
    font-size: 1.5em; /* 基本文字サイズの1.5倍 */
}

.entry-content h3 {
    font-size: 1.3em; /* 基本文字サイズの1.3倍 */
}

.entry-content h4 {
    font-size: 1.1em; /* 基本文字サイズの1.1倍 */
}


/* 太字（<strong>タグ）のスタイル */
.entry-content strong {
    /* 背景色を少しつけて目立たせる（マーカー風） */
    background: linear-gradient(transparent 60%, #e6f7ff 60%);
    font-weight: bold; /* 念のため太字を再指定 */
    color: #111; /* 太字の箇所を少し濃くする */
}

/* 引用（<blockquote>タグ）のスタイル */
.entry-content blockquote {
    margin: 1.5em 10px;
    padding: 1em 1em 1em 1.5em;
    border-left: 5px solid #e0e0e0;
    background: #f9f9f9;
    color: #555;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

/* リスト（<ul>, <ol>タグ）のスタイル */
.entry-content ul,
.entry-content ol {
    /* padding-left: 1.5em; */
    margin-bottom: 1.8em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

@media (max-width: 767px) {
  .sp-nobr{
    display: none;
  }
 }