/* 共通設定 */
body {
    font-family : sans-serif;
}

/* globalナビ */
.bg-dark {
    background-color: #69821b !important;
    padding: 0;
}
.navbar-dark .navbar-brand {
    font-size : 1rem;
    padding-left: 0.5rem;
}
.navbar-dark .navbar-nav .nav-link {
    font-size : 0.8rem;
}

/* 横型メニュー */
.plugin-menus .nav-tabs li.nav-item > a {
    color : #ffffff;
    background : transparent;
    padding: 5px 0 0 0;
    display: block;
    height: 100%;
}
.plugin-menus .nav-tabs li.nav-item > a.active {
    border-color : transparent;
}
.plugin-menus .nav-tabs .nav-link {
    border-radius : 0;
}
.plugin-menus .nav-tabs .nav-link.active {
    height: 100%;
    color : #ffffff;
}
.plugin-menus .nav-tabs li.nav-item > a.active,
.plugin-menus .nav-tabs li.nav-item > a:hover {
    background-color: #f5f8fa50;
    border : dashed 2px #ffffff;
}
.plugin-menus .nav-tabs {
    border-collapse : separate;
    border-spacing : 8px;
    width : 100%;
    border-bottom : 0;
}
.plugin-menus .nav-tabs li.nav-item {
    padding: 3px;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    background-color: #69821b;
    border-radius: 10px;
    border-top : 0;
    border-bottom : 0;
    border-left : 0;
    border-right : 0;
}
.plugin-menus .nav-tabs li.nav-item > a {
    border : dashed 2px #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin: 1px;
    font-weight : bold;
}
@media (min-width: 768px) {
    .plugin-menus .nav-tabs {
        display : table !important;
    }
}

/* ページ上部へ戻るボタン */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 80%;
    z-index: 9999;
}
#page-top a {
    display: block;
    background: #69821b;
    color: #fff;
    width: 100px;
    padding: 5px 0;
    text-align: center;
    text-decoration: none;
    font-size: 3rem;
    opacity: 1;
}
#page-top a:hover {
    background: #69821b;
    text-decoration: none;
    opacity: 0.8;
}

/* 縦型（サイド）メニュー */
.plugin-menus .list-group > a.list-group-item {
    color : #ffffff;
    background : #69821b;
    background-image : url(https://bura3.info/images/core/theme/menu/vertical/stitch/opacity.png);
    background-repeat : repeat;
    background-position : center center;
    border-top : dashed 2px #ffffff;
    border-left : dashed 2px #ffffff;
    border-right : dashed 2px #ffffff;
    border-radius : 0;
    text-decoration: none;
}
.plugin-menus .list-group > a.list-group-item:last-child {
    border-bottom : dashed 2px #ffffff;
}
.plugin-menus .list-group > a.list-group-item.active,
.plugin-menus .list-group > a.list-group-item:hover {
    background-image : url(https://bura3.info/images/core/theme/menu/vertical/stitch/opacity_on.png);
    background-color: #69821b;
    border-color : #ffffff;
    z-index : 0;
    text-decoration: none;
}

/* メインエリア リンク */
#ccMainArea a {
    color: #69821b;
    text-decoration: underline;
}
#ccMainArea a:hover {
    color: #69821b80;
    text-decoration: underline;
}

/* ブログ記事タイトル */
header h2 {
    font-size: 1.3rem;
}

/* カード */
.card {
    border : unset;
}

/*
 * カードヘッダー 苔デザイン
 *
 * 【経緯】
 * カードヘッダーを横型メニューと同じ見た目（丸角＋苔色背景＋内側破線ボーダー）にしたかった。
 * 当初、既存の .card-header.bg-default の記述を修正しようとしたが、
 * background-color: unset や ::before の画像など上書きを邪魔する記述が多く難航した。
 *
 * 最終的に「既存コードは触らず、横型メニューのCSSを参考に新規で書いて末尾に追記する」
 * という方針で解決。CSSは後ろに書くほど優先されるため、既存の記述を整理するより
 * シンプルに末尾追記するほうが確実だった。
 *
 * 併せて gray.png（灰色円）と kuina.png（クイナ画像）も非表示とした。
 */
.card-header.bg-default {
    font-size: 1.1rem;
    font-weight: bold;
    background-color: rgba(107, 124, 46, 0.75);
    background-image: none;
    border-radius: 14px;
    padding: 12px 28px;
    position: relative;
    box-sizing: border-box;
    color: #ffffff;
}
.card-header.bg-default::before {
    content: none;
}
.card-header.bg-default::after {
    content: '';
    position: absolute;
    inset: 5px;
    border: 2px dashed rgba(255, 255, 255, 0.65);
    border-radius: 9px;
    pointer-events: none;
}
