@charset "UTF-8";


/**
 * Waku Wwaku Base - Blog Stylesheet
 *
 * - Blog
 * - Blog Head
 * - Blog Archive
 * - Blog Pager
 * - Blog More
 * - Blog Detail
 *
 */


/* ----------------------------
  Blog
---------------------------- */
.blog {
  margin-top: 80px;
}

@media screen and (max-width: 767px) {
  .blog {
    margin-top: 36px;
  }
}


/* ----------------------------
  Blog Head
---------------------------- */

/* Background */
.blog-head {
  padding-bottom: 32px;
  position: relative;
}
.blog-head:after {
  content: "";
  display: block;
  width: 235px;
  height: 226px;
  background: url(../img/blog/common/bg-blog.png);
  background-size: contain;
  position: absolute;
  right: 0;
  bottom: -108px;
}

@media screen and (max-width: 750px) {
  .blog-head {
    padding-bottom: 36px;
  }
  .blog-head:after {
    width: 117.5px;
    height: 113px;
    bottom: -46px;
  }
}

/* Heading Icon
---------------------------- */
.blog-head h2 {
  display: inline-block;
  padding-right: 36px;
  position: relative;
}
.blog-head h2:after {
  content: "";
  display: block;
  width: 27px;
  height: 34px;
  background: url(../img/icon/icon-edit.png);
  background-size: contain;
  position: absolute;
  top: -5px;
  right: 0;
}

@media screen and (max-width: 767px) {
  .blog-head h2 {
    padding-right: 18px;
  }
  .blog-head h2:after {
    width: 13.5px;
    height: 17px;
    top: 1px;
  }
}



/* ----------------------------
  Blog Archive
---------------------------- */
.blog-archive {
  position: relative;
}
.blog-archive:after {
  content: "";
  display: block;
  clear: both;
}



/* ----------------------------
  Blog Item
---------------------------- */
.blog-item {
  margin-left: 19px;
  margin-bottom: 19px;
  width: 297px;
  float: left;
  border: 1px solid #F0EEE7;
  background: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
}
.blog-item:nth-child(3n+1) {
  margin-left: 0;
}
.blog-item a {
  display: block;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.4s;
}
.blog-item a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  .blog-item {
    margin-left: 0;
    margin-bottom: 20px;
    width: 100%;
    float: none;
  }
}


/* Blog Item Image
---------------------------- */
.blog-item-image {
  padding-top: 67.4576271%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
}


/* Blog Item No Image
---------------------------- */
.blog-item-noimage {
  background-size: auto 75%;
  background-color: #fff;
  border-bottom: 1px solid #F0EEE7;
}


/* Blog Item Body
---------------------------- */
.blog-item-body {
  padding: 12px 15px 86px;
  position: relative;
}

@media screen and (max-width: 767px) {
  .blog-item-body {
    padding: 10px 15px;
  }
}


/* Blog Item Title
---------------------------- */
.blog-item-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height: 2.8em;
  overflow: hidden;
  line-height: 1.4;
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  .blog-item-title {
    display: block;
    height: auto;
    overflow: visible;
    line-height: 1.5;
    font-size: 14px;
  }
}


/* Blog Item Tag
---------------------------- */
.blog-item-tag {
  padding: 0 15px;
  max-height: 2.9em;
  overflow: hidden;
  line-height: 1.45;
  font-size: 14px;
  color: #ffcb3d;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}
.blog-item-tag ul {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.blog-item-tag li {
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .blog-item-tag {
    margin: 3px 0;
    padding: 0;
    max-height: none;
    overflow: visible;
    line-height: 1.5;
    font-size: 11px;
    position: static;
  }
  .blog-item-tag ul {
    display: block;
    overflow: visible;
  }
}


/* Blog Item Date
---------------------------- */
.blog-item-date {
  padding: 0 15px;
  font-size: 12px;
  color: #696969;
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
}

@media screen and (max-width: 767px) {
  .blog-item-date {
    padding: 0;
    font-size: 11px;
    position: static;
  }
}



/* ----------------------------
  Blog Pager
---------------------------- */
.blog-pager {
  margin-top: 40px;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .blog-pager {
    display: -webkit-box; /* Less than android 4.3 */
    display: -webkit-flex; /* Less than iOS8 */
    display: flex;
    -webkit-box-pack: justify; /* Less than android 4.3 */
    -webkit-justify-content: space-between; /* Less than iOS8 */
    justify-content: space-between;
    -webkit-box-align: center; /* Less than android 4.3 */
    -webkit-align-items: center; /* Less than iOS8 */
    align-items: center;
    margin-top: 36px;
  }
}


/* Blog Pager Arrow
---------------------------- */
.blog-pager-arrow {
  display: inline-block;
  vertical-align: middle;
  font-size: 10px;
}
.blog-pager-arrow a {
  display: block;
  padding: 0 20px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.blog-pager-arrow a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 768px) {
  .blog-pager-arrow {
    width: 48px;
  }
  .blog-pager-arrow img {
    width: 8px;
  }
}


/* Blog Pager Label
---------------------------- */
.blog-pager-label {
  display: none;
}

@media screen and (max-width: 767px) {
  .blog-pager-label {
    display: inline-block;
    font-size: 14px;
  }
}


/* Blog Pager List
---------------------------- */
.blog-pager-list {
  display: inline-block;
  vertical-align: middle;
}
.blog-pager-list li {
  display: inline-block;
}
.blog-pager-list span,
.blog-pager-list a {
  display: block;
  padding: 0 10px;
  font-size: 20px;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.blog-pager-list span {
  color: #fa930e;
}
.blog-pager-list a:hover {
  color: #fa930e;
}

@media screen and (max-width: 768px) {
  .blog-pager-list {
    display: none;
  }
}



/* ----------------------------
  Blog More
---------------------------- */
.blog-more {
  margin-top: 4px;
  text-align: right;
}
.blog-more a {
  display: inline-block;
  vertical-align: top;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}
.blog-more a:hover {
  opacity: 0.6;
}
.blog-more a:before {
  content: "";
  margin-right: 16px;
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 11px;
  border-color: transparent transparent transparent #353535;
  position: relative;
  top: 2px;
}

@media screen and (max-width: 767px) {
  .blog-more {
    margin-top: -4px;
  }
  .blog-more a:before {
    margin-right: 10px;
    border-width: 6px 0 6px 9px;
    top: 1px;
  }
}



/* ----------------------------
  Blog Detail
---------------------------- */
.blog-detail {
  padding: 48px 50px 40px;
  border: 1px solid #F0EEE7;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
  position: relative;
}

@media screen and (max-width: 767px) {
  .blog-detail {
    padding: 0 0 20px;
  }
}


/* Blog Detail Image
---------------------------- */
.blog-detail-image {
  display: none;
}

@media screen and (max-width: 767px) {
  .blog-detail-image {
    display: block;
  }
  .blog-detail-image img {
    max-width: none;
    width: 100%;
  }
}


/* Blog Detail Head
---------------------------- */
.blog-detail-head {
  position: relative;
}
.blog-detail-head h3 {
  padding-bottom: 6px;
  background: url(../img/blog/common/heading-ling.png) repeat-x left bottom;
  line-height: 1.4;
  font-size: 28px;
}

@media screen and (max-width: 767px) {
  .blog-detail-head {
    margin-top: 10px;
    padding: 0 15px;
  }
  .blog-detail-head h3 {
    background-size: 36px auto;
    line-height: 1.5;
    font-size: 14px;
  }
}


/* Blog Detail Util
---------------------------- */
.blog-detail-util {
  margin-top: 20px;
  min-height: 1.5em;
  position: relative;
}
.blog-detail-util ul {
  padding-right: 100px;
  font-size: 14px;
}
.blog-detail-util li {
  display: inline-block;
  vertical-align: top;
}
.blog-detail-util li a {
  display: block;
  color: #ffcb3d;
}
.blog-detail-util li a:hover {
  text-decoration: underline;
}
.blog-detail-util p {
  line-height: 2;
  font-size: 12px;
  color: #696969;
  position: absolute;
  bottom: 0;
  right: 0;
}

@media screen and (max-width: 767px) {
  .blog-detail-util {
    margin-top: 6px;
    min-height: 0;
  }
  .blog-detail-util ul {
    padding-right: 0;
    font-size: 11px;
  }
  .blog-detail-util p {
    font-size: 11px;
    position: static;
  }
}


/* Blog Detail Body
---------------------------- */
.blog-detail-body {
  margin-top: 28px;
  color: #696969;
}
.blog-detail-body:after {
  content: "";
  display: block;
  clear: both;
}
.blog-detail-body > * {
  margin-top: 1em;
}
.blog-detail-body > *:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .blog-detail-body {
    margin-top: 18px;
    padding: 0 15px;
    font-size: 12px;
    color: #353535;
  }
}

/* List */
.blog-detail-body ul,
.blog-detail-body ol {
  padding-left: 2em;
}
.blog-detail-body ul li {
  list-style: disc;
}
.blog-detail-body ol li {
  list-style: decimal;
}

/* Blockquote */
.blog-detail-body blockquote {
  padding-left: 1.5em;
  border-left: 4px solid #dedede;
  font-style: italic;
  color: #999;
}
.blog-detail-body blockquote p {
  margin-top: 1em;
}
.blog-detail-body blockquote p:first-child {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  .blog-detail-body blockquote {
    border-left: 2px solid #dedede;
  }
}

/* Link */
.blog-detail-body a {
  color: #ffcb3d;
}
.blog-detail-body a:hover {
  text-decoration: underline;
}

/* Text */
.blog-detail-body i,
.blog-detail-body em {
  font-weight: normal;
  font-style: italic;
}

/* Image */
.blog-detail-body img + img {
  margin-top: 40px;
}

@media screen and (max-width: 767px) {
  .blog-detail-body img + img {
    margin-top: 1.75em;
  }
}


/* Blog Detail Nav
---------------------------- */
.blog-detail-nav {
  margin-top: 70px;
  position: relative;
}
.blog-detail-nav-double:before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background: #ccc;
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
}
.blog-detail-nav ul {
  display: -webkit-box; /* Less than android 4.3 */
  display: -webkit-flex; /* Less than iOS8 */
  display: flex;
  -webkit-box-pack: justify; /* Less than android 4.3 */
  -webkit-justify-content: space-between; /* Less than iOS8 */
  justify-content: space-between;
  -webkit-box-align: center; /* Less than android 4.3 */
  -webkit-align-items: center; /* Less than iOS8 */
  align-items: center;
}
.blog-detail-nav li {
  max-width: 50%;
}
.blog-detail-nav a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  padding: 0 52px;
  max-height: 2.8em;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  line-height: 1.4;
  font-size: 20px;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.blog-detail-nav a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  .blog-detail-nav {
    margin-top: 46px;
    padding: 0 15px;
  }
  .blog-detail-nav:before {
    display: none;
  }
  .blog-detail-nav a {
    padding: 0 16px;
    font-size: 11px;
  }
}

/* Prev */
.blog-detail-prev {
  margin-right: auto;
}
.blog-detail-prev a {
  background: url(../img/blog/common/icon-prev.png) no-repeat left center;
}

/* Next */
.blog-detail-next {
  margin-left: auto;
}
.blog-detail-next a {
  background: url(../img/blog/common/icon-next.png) no-repeat right center;
}

@media screen and (max-width: 767px) {
  .blog-detail-prev a {
    background-size: 8px auto;
  }
  .blog-detail-next a {
    background-size: 8px auto;
  }
}
