@charset "utf-8";
/* ==========================================================
   OB会アーカイブシステム Release1.0
   archive.css
========================================================== */

/* ----------------------------------------------------------
   全体
---------------------------------------------------------- */

body{
    background:#f8f9fa;
    color:#333;
    line-height:1.8;
	padding-top:85px;
}

main{
    min-height:70vh;
}

.container {
    max-width:1500px!important;
}

/* ----------------------------------------------------------
   リンク
---------------------------------------------------------- */

a{
    transition:.2s;
}

a:hover{
    text-decoration:none;
}

/* ----------------------------------------------------------
   カード
---------------------------------------------------------- */

.card{
    border:1px solid #e5e5e5;
}

.card-title{
    font-size:1.15rem;
    line-height:1.5;
    font-weight:600;
}

.card-img-top{
    width:100%;
    height:220px;
    object-fit:cover;
}

/* ----------------------------------------------------------
   記事本文
---------------------------------------------------------- */

.archive-article{

    background:#fff;

    padding:30px;

    border:1px solid #ddd;

    border-radius:6px;
}

.archive-body img{

    max-width:100%;

    height:auto;
}

.archive-body table{

    width:100%;

    margin:20px 0;
}

.archive-body iframe{

    max-width:100%;
}

.archive-body pre{

    white-space:pre-wrap;
}

.archive-body p{

    margin-bottom:1rem;
}

.archive-body h1,
.archive-body h2,
.archive-body h3,
.archive-body h4{

    margin-top:2rem;

    margin-bottom:1rem;

    font-weight:600;
}

.archive-body ul,
.archive-body ol{

    margin-bottom:1rem;
}
/* =========================================================
   記事本文内の画像
   ========================================================= */

.archive-article img {
    max-width: 100% !important;
    height: auto !important;
}

/* ----------------------------------------------------------
   パンくず
---------------------------------------------------------- */
/*------------------------------------
  パンくず
------------------------------------*/

.breadcrumb {
    background-color: #fff;
    /*padding-left: 0;*/
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #888;
    padding: 0 8px;
}

.archive-breadcrumb-home {
    display: inline-block;
    background-color: #4a90cc;
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.5;
}

.archive-breadcrumb-home:hover {
    background-color: #3d82bb;
    color: #fff !important;
}

/* ----------------------------------------------------------
   フッター
---------------------------------------------------------- */

footer{

    background:#fff;
}

/* ----------------------------------------------------------
   スマホ
---------------------------------------------------------- */

@media (max-width:767px){

.archive-article{

    padding:20px;
}

.card-img-top{

    height:180px;
}

}

/* ==========================================================
   OB Archive Viewer
   Release 1.3
   Category Menu
   ========================================================== */

.category-card .card-header{
    font-size:1rem;
    font-weight:600;
}

.category-card .list-group-item{
    padding:.75rem 1rem;
}

.category-card button{
    color:#343a40;
    text-decoration:none !important;
}

.category-card button:hover{
    text-decoration:none;
    color:#0056b3;
}

.category-card .collapse-icon{
    display:inline-block;
    width:18px;
    text-align:center;
    transition:.2s;
}

.category-card .badge{
    font-weight:normal;
}

.category-card .cat2{
    margin-top:.35rem;
    margin-left:1.25rem;
}

.category-card .cat3{
    margin-left:2.2rem;
    margin-top:.2rem;
    font-size:.90rem;
    color:#666;
}

.category-card .cat3 .badge{
    font-size:.75rem;
}

.category-card a {
    text-decoration:none;
}

.category-card a:hover {
    text-decoration:none;
    color:#0056b3 !important;
}
.category-active {
    display: inline-block;
    font-weight: 700;
    color: #0056b3 !important;
    background: #e9f3ff;
    border-left: 4px solid #007bff;
    padding: 3px 8px;
    border-radius: 3px;
}

/* ==========================================================
   カテゴリメニュー
   Collapse操作ボタン
   Release2.0
========================================================== */


.archive-category .category-toggle {

    width: 42px;
    height: 42px;

    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

}


.archive-category .category-toggle i {

    font-size: 1rem;

}



.archive-category .category-level1 {

    margin-bottom: 4px;

}


.archive-category .category-level2 {

    margin-left: 12px;

}


.archive-category .category-level3 {

    margin-left: 24px;

}


.archive-category .category-level3-link {

    padding-left: 10px;

}

/* ==========================================================
   Category toggle button
   Release2.0
   操作範囲拡大
========================================================== */


.archive-category .category-toggle {

    width: 44px;
    height: 44px;

    padding: 0;

    margin-right: 4px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

}


.archive-category .category-toggle i {

    font-size: 1.1rem;

}
/* ==========================================================
   小カテゴリ表示
   縦並び固定
   Release2.0
========================================================== */

.archive-category .category-level3-link {

    display: flex;

    width: 100%;

    align-items: center;

}


.archive-category .category-level3-link span:first-child {

    flex: 1;

}
/* ==========================================================
   カテゴリ階層表示調整
   Release2.0
========================================================== */


/* ----------------------------------------------------------
   大カテゴリ
---------------------------------------------------------- */

.archive-category .category-level1 {

    margin-bottom: 8px;

}


.archive-category .category-level1 > a {

    font-weight: bold;

}


/* ----------------------------------------------------------
   中カテゴリ
---------------------------------------------------------- */

.archive-category .category-level2 {

    margin-left: 18px;

    margin-top: 4px;

    margin-bottom: 4px;

}


/* 中カテゴリの行間 */
.archive-category .category-level2-link {

    padding-top: 6px;

    padding-bottom: 6px;

}



/* ----------------------------------------------------------
   小カテゴリ
---------------------------------------------------------- */

.archive-category .category-level3 {

    margin-left: 24px;

}


.archive-category .category-level3-link {

    padding-top: 5px;

    padding-bottom: 5px;

}


/* 小カテゴリのドット */
.archive-category .category-level3-link i {

    margin-right: 4px;

}
/* ==========================================================
   カテゴリ階層インデント調整
   Release2.0
========================================================== */


/* 大カテゴリ
   矢印ボタンがあるため左位置を基準化
---------------------------------------------------------- */

.archive-category .category-level1 {

    padding-left: 0;

}



/* 中カテゴリ
---------------------------------------------------------- */

.archive-category .category-level2 {

    margin-left: 36px;

}



/* 小カテゴリ
---------------------------------------------------------- */

.archive-category .category-level3 {

    margin-left: 60px;

}

/* ==========================================================
   記事一覧 1行表示
========================================================== */


.archive-list-item {

    display: flex;

    align-items: center;

    width: 100%;

    padding: 12px 8px;

    border-bottom: 1px solid #ddd;

    gap: 12px;

}


/* 開催日 */

.archive-list-date {

    width: 180px;

    flex-shrink: 0;

    color: #666;

    font-size: 0.9rem;

}


/* タイトル */

.archive-list-title {

    color: #333;

    text-decoration: none;

    font-size: 1.2rem;

    margin-right: 8px;

    line-height: 1.6;

}


.archive-list-title:hover {

    color: #007bff;

    text-decoration: underline;

}



/* カテゴリ */

.archive-list-category {

    white-space: nowrap;

    flex-shrink: 0;


}



.archive-list-category .badge {

    margin-left: 4px;

    font-weight: normal;

}

.breadcrumb {

    font-size: 0.85rem;

    margin-bottom: 10px;

}

/* スマホ */
@media (max-width:767.98px) {


    .archive-list-item {

        display: block;

        padding: 12px 5px;

    }


    /* 開催日 */

    .archive-list-date {

        display: block;

        width: auto;

        margin-bottom: 6px;

        font-size: 0.85rem;

    }



    /* タイトル */

    .archive-list-title {

        display: inline;

        font-size: 1rem;

        line-height: 1.5;

    }



    /* バッジ */

    .archive-list-category {

        display: inline;

        margin-left: 5px;

        white-space: normal;

    }


}

/*==================================================
  記事 前後ナビ
==================================================*/

.article-nav-card{

    color:#212529;

    transition:.2s;

    border:1px solid #dee2e6;

}


.article-nav-card:hover{

    text-decoration:none;

    border-color:#0d6efd;

    box-shadow:0 .25rem .75rem rgba(0,0,0,.12);

    transform:translateY(-2px);

}


.article-nav-card .card-body{

    min-height:95px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}

/*==================================================
  同カテゴリ記事
==================================================*/

.related-list .list-group-item{

    padding:.45rem .75rem;

    font-size:.88rem;

    line-height:1.3;

}

.related-list .small{

    font-size:.72rem;

    margin-bottom:2px;

}

.related-list .list-group-item{

    border-left:0;
    border-right:0;

}
.related-list .active{

    background:#eef6ff;

    color:#0d6efd;

    border-left:4px solid #0d6efd;

}

.archive-card-img {

    height:180px;

    object-fit:cover;

}

/* スマホ右メニュー */

#mobileCategoryMenu {

    position: fixed;

    top:0;

    right:-320px;

    width:320px;

    height:100vh;

    background:#fff;

    z-index:1050;

    overflow-y:auto;

    transition:.3s;

    box-shadow:-3px 0 10px rgba(0,0,0,.15);

}


#mobileCategoryMenu.open {

    right:0;

}



#menuOverlay {

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.4);

    z-index:1040;

}


#menuOverlay.open {

    display:block;

}

.mobile-category-inner{

    padding:20px;

}

@media(min-width:992px){

    #mobileCategoryMenu,
    #menuOverlay {

        display:none!important;

    }

}


/*==================================================
  ページトップ
==================================================*/

#pageTop{

    position:fixed;

    right:20px;

    bottom:20px;

    width:56px;

    height:56px;

    display:none;          /* ←これが重要 */

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#0d6efd;

    color:#fff;

    font-size:1.6rem;

    box-shadow:0 2px 8px rgba(0,0,0,.25);

    z-index:2000;

}

#pageTop:hover{

    color:#fff;

    text-decoration:none;

}

/*==================================================
  固定ヘッダー
==================================================*/

header{

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    z-index: 1030;

    background: #fff;

    box-shadow: 0 2px 6px rgba(0,0,0,.08);

}header .container{

    padding-top:10px!important;

    padding-bottom:10px!important;

}
/* ペッダ追加CSS　現行サイトとの統一感*/
/* ==========================================================
   ヘッダー
   ========================================================== */

header.border-bottom.bg-light {
    background-color: #eeeeee !important;
    border-bottom: none !important;
}

header.border-bottom.bg-light .container {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}


/* ----------------------------------------------------------
   ヘッダー直下の青いバー
---------------------------------------------------------- */

header.border-bottom.bg-light::after {
    content: "";
    display: block;
    height: 18px;
    background-color: #4a90cc;
}


/* ----------------------------------------------------------
   ロゴ
---------------------------------------------------------- */

.archive-header-logo {
    height: 48px;
    width: auto;
}


/* ----------------------------------------------------------
   タイトル
---------------------------------------------------------- */

header.border-bottom h1 {
    margin-bottom: 0;
}

header.border-bottom h1 a {
    color: #111 !important;
    text-decoration: none !important;
}


/* ----------------------------------------------------------
   検索
---------------------------------------------------------- */

header.border-bottom .form-control {
    border: 1px solid #4a90cc;
    border-right: none;
    box-shadow: none;
}

header.border-bottom .btn-primary {
    background-color: #4a90cc;
    border-color: #4a90cc;
}

header.border-bottom .btn-primary:hover {
    background-color: #3d82bb;
    border-color: #3d82bb;
}


/* ----------------------------------------------------------
   スマホ メニューボタン
---------------------------------------------------------- */

header.border-bottom .btn-outline-primary {
    color: #4a90cc;
    border-color: #4a90cc;
}

header.border-bottom .btn-outline-primary:hover {
    background-color: #4a90cc;
    border-color: #4a90cc;
}
/*==================================================
  カテゴリ一覧ページ
==================================================*/
.archive-category-badge{

    font-size:.95rem;

    padding:.45rem .8rem;

    font-weight:600;

    border-radius:20px;

    min-width:110px;

    text-align:center;

}

/* クラブ活動 */
.archive-cat-club{
    background:#007bff;
    color:#fff;
}

/* 行事 */
.archive-cat-gyoji{
    background:#28a745;
    color:#fff;
}

/* HOVCボランティア */
.archive-cat-hovc_b{
    background:#fd7e14;
    color:#fff;
}

/* HOVCキャリア */
.archive-cat-hovc_c{
    background:#6f42c1;
    color:#fff;
}

/* 会員の広場 */
.archive-cat-hiroba{
    background:#17a2b8;
    color:#fff;
}


/*==================================================
  旧HTML表示
==================================================*/

.archive-body{

    overflow-x:auto;

}

.archive-body table{

    max-width:100%;

}

.archive-body img{

    max-width:100%;

    height:auto;

}

/* =====================================================
   旧ホームページビルダー記事
===================================================== */

.archive-old-title{

    background:#4b64d5;

    color:#fff;

    font-size:1.25rem;

    font-weight:bold;

    padding:12px 18px;

    margin:0 0 20px;

    border-radius:4px;

}

.article-body img{

    max-width:100%;

    height:auto;

}

.article-body table{

    margin:20px 0;

}

.article-body td,
.article-body th{

    vertical-align:middle;

}

/* ==========================================================
   サイドバーのタイトル
   ========================================================== */

.card-header {
    background-color: #4a90cc;
    color: #fff;
    border-bottom: none;
}

.card-header strong {
    color: #fff;
}

/* ==========================================================
   フッター
   ========================================================== */

footer {
    background-color: #000 !important;
    color: #fff!important;
}

/* ==========================================================
   右メニュー　もっと見るボタン
   ========================================================== */

/* 関連記事：閉じる表示は初期状態では非表示 */
.related-more-close {
    display: none;
}


/* =========================================================
   中カテゴリカード
   ========================================================= */

.category-card-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
    height: 100%;
}

.category-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card-link:hover .category-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.category-card-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.category-card .card-body {
    padding: 12px 14px;
}

.category-card-title {
    font-weight: bold;
    font-size: 1rem;
    color: #333;
    margin-bottom: 4px;
}

.category-card-count {
    font-size: 0.85rem;
    color: #777;
}
/* 大カテゴリ見出しはカードの横に回り込ませない */
.archive-page-title {
    clear: both;
}

.archive-page-title p {
    clear: both;
}

/* =========================================================
   中カテゴリカード：スマートフォン
   ========================================================= */

@media (max-width: 767.98px) {

    .category-card-link {
        margin-left: 8px;
        margin-right: 8px;
    }

    .category-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        min-height: 58px;
    }

    .category-card-image {
        width: 80px;
        height: 58px;
        flex-shrink: 0;
        object-fit: cover;
    }

    .category-card .card-body {
        padding: 9px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .category-card-title {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    .category-card-count {
        margin-left: 10px;
        white-space: nowrap;
    }

}

/* =========================================================
   現行サイトへのリンク
   ========================================================= */

.current-site-banner {
    border-radius: 6px;
    overflow: hidden;
}

.current-site-banner a {
    display: block;
    padding: 14px 16px;
    background-color: #eeeeee;
    color: #333;
    text-decoration: none !important;
    border: 1px solid #ddd;
    border-left: 5px solid #4a90cc;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.current-site-banner a:hover {
    background-color: #e5e5e5;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.current-site-banner-title {
    font-weight: bold;
    color: #4a90cc;
    margin-bottom: 5px;
}

.current-site-banner-text {
    font-size: 0.85rem;
    color: #666;
}

.current-site-banner-text .bi {
    margin-left: 4px;
}

/* =========================================================
   アーカイブTOP 大カテゴリ紹介カード
   ========================================================= */

.archive-top-intro {
    margin-top: 20px;
}


/* カード全体 */

.archive-top-category-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none !important;
}


/* カード */

.archive-top-category-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;

    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


/* hover */

.archive-top-category-link:hover
.archive-top-category-card {

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);

    transform: translateY(-2px);

}


/* 代表画像 */

.archive-top-category-image {

    display: block;

    width: 100%;

    height: 150px;

    object-fit: cover;

}


/* カード本文 */

.archive-top-category-body {

    padding: 14px 15px 13px;

}


/* カテゴリ名 */

.archive-top-category-title {

    font-size: 1.1rem;

    font-weight: bold;

    color: #333;

    margin: 0 0 8px;

}


/* 説明 */

.archive-top-category-description {

    font-size: 0.88rem;

    line-height: 1.6;

    color: #666;

    margin: 0 0 12px;

}


/* 下部 */

.archive-top-category-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #eee;

    padding-top: 10px;

}


/* 件数 */

.archive-top-category-count {

    font-size: 0.85rem;

    color: #777;

}


/* もっと見る */

.archive-top-category-more {

    font-size: 0.85rem;

    font-weight: bold;

    color: #4a90cc;

}


.archive-top-category-more .bi {

    margin-left: 3px;

}


/* =========================================================
   スマートフォン
   ========================================================= */

@media (max-width: 767.98px) {


    .archive-top-intro {

        margin-top: 15px;

    }


    .archive-top-category-image {

        height: 130px;

    }


    .archive-top-category-body {

        padding: 12px 14px;

    }


    .archive-top-category-title {

        font-size: 1rem;

        margin-bottom: 5px;

    }


    .archive-top-category-description {

        font-size: 0.85rem;

        line-height: 1.5;

        margin-bottom: 10px;

    }


}