.Title{
    font-size: 24px;
    padding: 1rem 0 1rem 1.5rem;
    border-left: 1.5rem solid deepskyblue;
    margin-bottom: 1rem;
}


.contents{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 300px;
}

.MainContent{
    grid-row: 1;
    grid-column: 1;
}


.sidebar{
    grid-row: 1;
    grid-column: 2;
    margin-left: 20px;
    position: relative;
}

.sidebar-content{
    margin-bottom: 1rem;
    position: sticky;
    top: 100px;
    right: 0;
}

.sidebar-content > *{
    padding-left: 16px;
    line-height: 2rem;
}

.sidebar-content h2{
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.sidebar-content .chapter{
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 3px;
}


.sidebar-content .views-row {
    font-size: 14px;
    margin: 0.2rem 0;
}
.sidebar-content ul li{
    font-size: 12px;
}



.FlexWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
}

.FlexItem {
    width: 210px;
    margin-bottom: 2rem;
    display: grid;
    grid-template-rows: max-content auto;
    grid-template-columns: auto 48px;
}

.FlexItem.EmptyBox {
    border: none;
}

.Image {
    grid-row: 1;
    grid-column: 1/3;
}

.Image img {
    vertical-align: middle;
    width: 100%;
    border-radius: 8px 8px 0 0;
}

.Name {
    grid-row: 2;
    grid-column: 1;
    font-size: 14px;
    background-color: dodgerblue;
    color: #fff;
    padding: 0.5rem;
    border-radius: 0 0 0 8px;
}

.Number {
    grid-row: 2;
    grid-column: 2;
    background-color: #999;
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    border-radius: 0 0 8px 0;
}

.Name span.id {
    display: inline-block;
    border: 1px solid #000;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: normal;
    margin-right: 0.5rem;
    background-color: #000;
}

.comments{
    display: none;
}


@media screen and (max-width: 768px){
    .navbar .logo{
        padding: 0 5px 0 10px;
    }
    /* ヘッダー部分 */
    div.main-container.container {
        width: 100%;
    }

    div#navbar-collapse {
        width: 90%;
        /* background-color: #eee; */
        margin: 0 auto;
        }

    .navbar-nav {
        margin: 0;
        text-align: right;
    }

    .navbar-nav li a {
        margin-top: 0px!important;
        display: inline-block;
    }

    header#navbar {
        width: 100%!important;
    }

    .container > .navbar-header {
        margin: 0;
    }
    /* フッター部分 */
    .adwin .sitemap{
        width: 90%;
    }

    .region.region-content{
        width: 90%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;

    }

    .Title{
        font-size: 18px;
        font-weight: bold;
        border-left: 1rem solid deepskyblue;
    }

    .contents {
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: auto;
    }

    .sidebar {
        grid-row: 2;
        grid-column: 1;
        margin-left: 0;
    }

    .FlexItem {
        width: 180px;
        margin-bottom: 2rem;
        display: grid;
        grid-template-rows: max-content auto;
        grid-template-columns: auto 36px;
    }

    .Name {
        grid-row: 2;
        grid-column: 1;
        font-size: 12px;
        background-color: dodgerblue;
        color: #fff;
        padding: 0.5rem;
    }

    .Name span.id {
        display: inline-block;
        border: 1px solid #000;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        text-align: center;
        line-height: unset;
        margin-right: 0.5rem;
        background-color: #000;
        font-size: 12px;
    }

    .Number {
        grid-row: 2;
        grid-column: 2;
        background-color: #999;
        color: #fff;
        text-align: center;
        padding: 0.5rem;
        font-size: 12px;
    }
}