@charset "utf-8";

/* ────────────────────── *
 *                                              *
 * タイトル                                     *
 *                                              *
 * ────────────────────── */

#title {
    width: 100%;
    padding-top: 80px;
    margin-bottom: 20px;
    position: relative;
}
#title h1 {
    font-size: 44px;
    line-height: 1;
    text-align: center;
}

/* ────────────────────── *
 *                                              *
 * 一覧                                         *
 *                                              *
 * ────────────────────── */

#list {
    padding: 50px 0 100px;
}

/* 一覧 */
#list .inner #blog-list {
    margin-bottom: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
#list .inner #blog-list .article {
    font-size: 16px;
    width: 300px;
    margin-left: 50px;
    margin-bottom: 60px;
}
#list .inner #blog-list .article:nth-of-type(3n+1) {
    margin-left: 0;
}
#list .inner #blog-list .article figure {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid #b9b9c2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#list .inner #blog-list .article figure img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}
#list .inner #blog-list .article p.category {
    font-weight: 700;
    margin-bottom: 15px;
}
#list .inner #blog-list .article p.category a {
    color: #fff;
    background: #b09e86;
    display: inline-block;
    padding: 7px 15px;
}
#list .inner #blog-list .article dl dt {
    margin-bottom: 5px;
}
#list .inner #blog-list .article dl dd {
    font-size: 18px;
    line-height: 1.8;
}
#list .inner #blog-list .article dl dd a {
    color: #000;
}
#list .inner #blog-list .article dl dd a:hover {
    text-decoration: underline;
}

/* ページネーション */
#list .inner ol#pagination {
    font-size: 20px;
    margin: 0 auto 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
#list .inner ol#pagination li {
    text-align: center;
    width: 40px;
}
#list .inner ol#pagination li a {
    color: #000;
    vertical-align: middle;
    display: table-cell;
    width: 40px;
    height: 40px;
}
#list .inner ol#pagination li a:hover {
    color: #fff;
    background: #000;
}
#list .inner ol#pagination li span {
    color: #fff;
    background: #000;
    vertical-align: middle;
    display: table-cell;
    width: 40px;
    height: 40px;
}

/* カテゴリ */
ul#categories {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    clear: both;
    width: 685px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
ul#categories li {
    width: 160px;
    margin-left: 15px;
    margin-bottom: 15px;
}
ul#categories li:nth-child(4n+1) {
    margin-left: 0;
}
ul#categories li a {
    color: #b09e86;
    display: block;
    padding: 10px;
    border: 2px solid #b09e86;
    border-radius: 5px;
}
ul#categories li a:hover {
    color: #fff;
    background: #b09e86;
}

/* ────────────────────── *
 *                                              *
 * 詳細                                         *
 *                                              *
 * ────────────────────── */

#detail {
    padding: 0 0 70px;
}
#detail .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}
#detail .inner article {
    width: 680px;
}
#detail .inner article dl#property {
    font-size: 16px;
    margin-bottom: 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#detail .inner article dl#property dt a {
    font-weight: 700;
    color: #fff;
    background: #b09e86;
    display: inline-block;
    padding: 7px 15px;
}
#detail .inner article dl#property dd {
    margin-left: 15px;
}
#detail .inner article > h2 {
    font-size: 28px;
    line-height: 1.5;
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid #b1b1b1;
}
#detail .inner article #blog-body {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}
#detail .inner article #blog-body p {
    margin-bottom: 30px;
}
#detail .inner article p.btn-more {
    max-width: none;
    margin: 0 auto 30px;
}
#detail .inner article ul#pagination {
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#detail .inner article ul#pagination li {
    width: 50%;
    flex-shrink: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#detail .inner article ul#pagination li:nth-child(2) {
    border-left: 1px solid #b1b1b1;
}
#detail .inner article ul#pagination li a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#detail .inner article ul#pagination li.prev a {
    padding-right: 20px;
}
#detail .inner article ul#pagination li.next a {
    padding-left: 20px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
#detail .inner article ul#pagination li span.arrow {
    font-size: 18px;
    line-height: 40px;
    color: #fff;
    background: #000;
    text-align: center;
    width: 40px;
    height: 40px;
    margin-right: 15px;
    flex-shrink: 0;
}
#detail .inner article ul#pagination li.next span.arrow {
    margin-left: 15px;
}

/* カテゴリ */
#detail .inner #categories {
    width: 270px;
    flex-shrink: 0;
}
#detail .inner #categories h3 {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #b09e86;
}
#detail .inner #categories ul {
    font-size: 16px;
    line-height: 1.5;
}
#detail .inner #categories ul li {
    border-bottom: 1px dashed #ccc;
}
#detail .inner #categories ul li a {
    display: block;
    padding: 10px 0;
}
#detail .inner #categories ul li a:hover {
    background: rgba(204,204,204,0.3);
}

/* ────────────────────── *
 *                                              *
 * 前のページに戻る                             *
 *                                              *
 * ────────────────────── */

#back-index {
    clear: both;
    padding: 50px 0 90px;
}
