body {
    background-image: url("img/purple-bg.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #ddd;
    font-family: 'Shippori Mincho', "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

h1 {
    color: #ddd;
}

h2 {
    font-size: 1.6em;
}

a {
    color: #ddd;
    text-decoration: none;
}

a:hover {
    color: #999;
}

.text-purple {
    color: mediumpurple;
}

.text-bigger {
    font-size: 1.2em;
    font-weight: bold;
}


/***  Header  ***/
.logo {
    width: 320px;
    margin: 1rem 0;
}

.header-bottom {
    background-color: #666;
    display: block;
    width: 100%;
    height: 1px;
    margin-bottom: 30px;
}




/***  Post List  ***/
.post-item {
    width: 48%;
    margin: 1%;
    /*    border: solid 1px #fff;*/
    padding: 1rem;
}

.post-item .post-img-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    display: inline-block;
    position: relative;
}

.post-item .post-img-thumb::after {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(0, 0, 0, 0.2);
}

.post-item .post-img-thumb img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item .post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 1em;
}

.post-item .post-dsc .post-cat {
    display: inline-block;
    border: solid 1px #999;
    padding: 0 .5rem;
    color: #999;
    font-size: .9em;
    margin-bottom: .5rem;
}

@media only screen and (max-width:576px) {
    .post-item .post-title {
        font-size: .8em;
    }
}

.more-btn {
    display: block;
    width: 100%;
    line-height: 2.5;
    border: mediumpurple solid 1px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    font-size: .8em;
}

.more-btn:hover {
    background: rgba(147, 112, 219, 0.4);
    color: #ddd;
}

.pagination {
    margin: 2rem auto;
}

.pagination .page-item {
    margin: .3em;
}

.pagination .page-link {
    background: rgba(147, 112, 219, 0.4);
    border: none;
    color: #ddd;
}

.pagination .disabled .page-link {
    background: rgba(0, 0, 0, 0.4);

}

.pagination .page-link:hover {
    color: #666;
}




/***  Other Pages  ***/
.post-detail .post-dsc {
    background: rgba(147, 112, 219, 0.4);
    margin: 1rem 0;
    padding: 1rem;

}

.post-detail .post-dsc .post-title {}

.post-detail .post-dsc .post-date {
    text-align: end;
    color: #999;
    font-size: .9em;
}

.post-detail .post-dsc .post-cat {
    display: inline-block;
    border: solid 1px #999;
    padding: 0 .5rem;
    color: #999;
    font-size: .9em;
    margin-bottom: .5rem;
}

.post-detail .post-img {
    width: 100%;
    text-align: center;
}

.post-img img {
    width: 90%;
    margin-bottom: 2rem;
}

.std-btn {
    display: block;
    width: 100%;
    max-width: 350px;
    line-height: 2.5;
    border: mediumpurple solid 1px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    margin: 2rem auto;
}

.std-btn:hover {
    background: rgba(147, 112, 219, 0.4);
    color: #ddd;
}



/*** Sidbars ***/
.side-inner {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    margin-bottom: 30px;
}

.message-sec {
    padding: 3rem 1rem;
}



/*** Sidebar(Right) ***/
.cat-items {
    list-style: none;
    padding-left: 0;
    font-size: .9em;
    margin-bottom: 0;
}

.cat-items .cat-item {
    line-height: 2;
    margin-bottom: .5em;
}

.cat-items .cat-item a {
    display: block;
    border: solid 1px #444;
    margin: .2em;
}

.cat-items .cat-item i {
    color: mediumpurple;
    margin-right: 5px;
}

@media only screen and (max-width:992px) {
    .cat-items {
        display: inline-flex;
        flex-wrap: wrap;
    }

    .cat-items .cat-item {
        width: 25%;
        margin-bottom: auto;
    }
}

@media only screen and (max-width:576px) {
    .cat-items .cat-item {
        width: 33.33%;
    }
}



/*** Sidebar(Left) ***/
.search-sec form input {
    max-width: 200px;
}

.search-sec form button {
    color: #fff;
    background-color: mediumpurple;
    border: 0;
    width: 3rem;
}

.link-item {
    margin-bottom: .5em;
}

.link-item a {
    display: block;
    background: rgba(147, 147, 147, .2);
    padding: .2em;
}

.link-item i {
    color: mediumpurple;
    margin-right: 5px;
}




/*** Banners ***/
.banner {
    text-align: center;
}

.banner img {
    /*width: 100%;*/
}

.square-banner img {
    margin-bottom: .5rem;
}

@media only screen and (max-width:992px) {
    .square-banner-wrapper {
        display: inline-flex;
        flex-wrap: nowrap;
        width: 100%;
        justify-content: center;
    }

    .square-banner {
        width: 25%;
        margin: 0 0 .5rem 0;
        max-width: 125px;
    }
}

@media only screen and (max-width:576px) {

    .square-banner-wrapper {
        flex-wrap: wrap;
    }

    .square-banner {
        width: 50%;
        margin: 0;
    }

    .square-banner img {
        width: 100%;
    }
}

.half-width-banner img {
    margin-bottom: .5rem;
    max-width: 300px;
}

.full-width-banner img {
    /*max-width: 728px;*/
    margin: 1rem 0;
}

.vertical-banner img {
    /*max-width: 160px;*/
    margin-bottom: .5rem;
}

.vertical-banner-sp {
    display: none;
}

@media only screen and (max-width:992px) {
    .vertical-banner {
        display: none;
    }

    .vertical-banner-sp {
        display: block;
    }

    .vertical-banner-sp img {
        display: block;
        max-width: 300px;
        margin: .5em auto;
    }


}



/***  footer  ***/
footer {
    background: rgba(147, 112, 219, 0.4);
    font-size: .8em;
    padding-top: .5rem;
    padding-bottom: 1rem;
}

footer .nav .nav-item a {
    color: #ddd;
    font-size: 1.2em;
}

footer .nav .nav-item a:hover {
    color: #666;
}

footer p {
    text-align: center;
    color: #999;
    margin-top: 2rem;
}
