/* ============================================================
   faq.css ― よくある質問（トップ・一覧・詳細）
   方針：グレー基調・装飾最小。オレンジは選択状態(active)のみ。
   既存サイトのCSSと衝突する場合は #_ww_main_contents 等で
   スコープを付けて読み込む。
   ============================================================ */

/* ---- 共通：タグ・バッジ ---- */
.faq-tag,
.faq-list-cat {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    line-height: 1.6;
    color: #777;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
}
a.faq-tag:hover {
    color: #555;
    border-color: #bbb;
    text-decoration: none;
}
.faq-list-cat {
    margin-left: 8px;
    font-size: 11px;
    padding: 1px 8px;
}

/* ---- 共通：Qリスト ---- */
ul.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.faq-list > li {
    padding: 10px 2px;
    border-bottom: 1px solid #eee;
    line-height: 1.7;
}
ul.faq-list > li:first-child {
    border-top: 1px solid #eee;
}
ul.faq-list > li > a {
    color: #333;
}
ul.faq-list > li > a:hover {
    color: #e07b39;
    text-decoration: none;
}

/* ---- トップ・一覧：入口／絞り込みナビ（タグクラウド型・bulletなし） ---- */
.faq-top-tags,
.faq-top-cats,
.faq-top-new {
    margin-top: 35px;
}
.faq-top-tags h2,
.faq-top-cats h2,
.faq-top-new h2,
.faq-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e5e5;
}
.faq-top-tags ul,
.faq-top-cats ul,
.faq-filter ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.faq-top-tags ul li,
.faq-top-cats ul li,
.faq-filter ul li {
    display: inline-block;
    margin: 0 8px 8px 0;
}
.faq-top-tags ul li a,
.faq-top-cats ul li a,
.faq-filter ul li a {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
}
.faq-top-tags ul li a:hover,
.faq-top-cats ul li a:hover,
.faq-filter ul li a:hover {
    color: #333;
    border-color: #aaa;
}

/* 絞り込みナビ */
.faq-filter {
    margin: 20px 0 30px;
}
.faq-filter-label {
    font-size: 13px;
    font-weight: bold;
    color: #999;
    margin: 15px 0 8px;
}
.faq-filter ul li.active a {
    color: #fff;
    background: #e07b39;
    border-color: #e07b39;
}

/* ---- 詳細ページ ---- */
.faq-detail {
    margin-top: 10px;
}
.faq-detail-label {
    font-size: 12px;
    color: #999;
    margin: 0 0 6px;
}
.faq-detail-q {
    font-size: 24px;
    line-height: 1.5;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e5e5e5;
}
.faq-detail-a {
    font-size: 15px;
    line-height: 2;
    color: #333;
}
.faq-detail-meta {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dotted #ddd;
}
.faq-detail-meta .faq-tag {
    margin: 0 6px 6px 0;
}

/* 同じ分類の質問 */
.faq-related {
    margin-top: 45px;
}
.faq-related-more {
    margin-top: 12px;
    font-size: 13px;
    text-align: right;
}
.faq-related-more a {
    color: #777;
}
.faq-related-more a:hover {
    color: #e07b39;
    text-decoration: none;
}

/* ---- 詳細ページ：サイド ---- */
.faq-side-block {
    margin-bottom: 30px;
}
.faq-side-title {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
}
ul.faq-tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.faq-tag-list > li {
    margin: 0 0 6px;
}
ul.faq-tag-list > li > a {
    display: block;
    padding: 5px 10px;
    font-size: 13px;
    color: #555;
    background: #f7f7f7;
    border-radius: 2px;
    text-decoration: none;
}
ul.faq-tag-list > li > a:hover {
    color: #333;
    background: #efefef;
}

/* 0件表示 */
.faq-empty {
    margin: 30px 0;
    color: #999;
}

.faq-side {
    margin-top: 30px;
}
.faq-detail {
    margin-top: 30px;
}