@charset "utf-8";

/** ***************************************************************************
 * 一覧ページ
 * ************************************************************************* */

/** ***************************************************************************
 * 一覧
 */

body.page-archive
#blog div.blog ul.list,
body.page-archive
#blog div.blog ul.list li {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-archive
#blog div.blog ul.list li {
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

body.page-archive
#blog div.blog ul.list li ~ li {
  padding-top: 10px;
}

body.page-archive
#blog div.blog ul.list li:nth-last-child(1) {
  border-bottom: none;
}

body.page-archive
#blog div.blog ul.list li a {
  height: 100%;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: transparent;
  position: relative;
  z-index: 1;
}

body.page-archive
#blog div.blog ul.list li a:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:770px) {

  body.page-archive
  #blog div.blog ul.list {
    margin-top: -20px;
    margin-bottom: -20px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
  }

  body.page-archive
  #blog div.blog ul.list li {
    width: calc(100% / 3);
    padding: 10px 0;
  }

  body.page-archive
  #blog div.blog ul.list li ~ li {
    padding-top: 10px;
  }

  body.page-archive
  #blog div.blog ul.list li:nth-last-child(-n+3) {
    border-bottom: none;
  }

}

/** ===========================================================================
 * サムネール
 */

body.page-archive
#blog div.blog ul.list li div.image {
  margin-bottom: 15px;
  text-align: center;
}

/** ===========================================================================
 * タイトル
 */

body.page-archive
#blog div.blog ul.list li div.title {
  margin-bottom: 10px;
  line-height: 1.3;
  font-size: 1.125em;
}

/** ===========================================================================
 * 投稿日
 */

body.page-archive
#blog div.blog ul.list li div.date {
  margin-bottom: 10px;
  font-size: 0.875em;
}

body.page-archive
#blog div.blog ul.list li div.date::before {
  content: '\e932';
  margin-top: -2px;
  margin-right: 0.125em;
  line-height: 1;
  font-family: icomoon;
  font-size: 1.25em;
  vertical-align: middle;
  display: inline-block;
}

/** ===========================================================================
 * カテゴリー
 */

body.page-archive
#blog div.blog ul.list li div.category {
  min-width: 9em;
  padding: 3px 5px;
  color: #fff;
  line-height: 1.2;
  font-size: 0.75em;
  text-align: center;
  border-radius: 4px;
  background-color: #e4007f;
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
}

/** ===========================================================================
 * 内容
 */

body.page-archive
#blog div.blog ul.list li div.content {
  font-size: 0.875em;
}

/** ***************************************************************************
 * 全ての記事を見る
 */

body.page-archive
#blog div.button {
  margin-top: 15px !important;
  text-align: center;
}

body.page-archive
#blog div.button a {
  padding: 8px 2em;
  color: inherit;
  text-decoration: none;
  border-bottom: 2px solid #333;
  display: inline-block;
  position: relative;
  z-index: 1;
}

body.page-archive
#blog div.button a::after {
  content: '\e90f';
  line-height: 1;
  font-family: icomoon;
  position: absolute;
  z-index: 1;
  top: calc(50% - 0.375em);
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s,
    right 0.3s ease-in-out 0.3s;
  visibility: hidden;
  opacity: 0;
  right: 1em;
}

body.page-archive
#blog div.button a:hover::after {
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s,
    right 0.3s ease-in-out 0.0s;
  visibility: visible;
  opacity: 1;
  right: 0.5em;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:770px) {

  body.page-archive
  #blog div.button {
    margin-top: 30px !important;
  }

}

/** ***************************************************************************
 * 詳細ページ
 * ************************************************************************* */

/** ***************************************************************************
 * タイトル
 */

body.page-single
#article div.main-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 0.5em 1em;
  line-height: 1.4;
  font-family: 'NotoSerifCJKjp';
  font-size: 1.25em;
  background-color: #f7f7f7;
}

body.page-single
#article div.main-content h2 + * {
  margin-top: 0;
}

body.page-single
#article div.main-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
  font-family: 'NotoSerifCJKjp';
  font-size: 1.375em;
}

body.page-single
#article div.main-content h3 + * {
  margin-top: 0;
}

body.page-single
#article div.main-content h4 {
  margin-top: 30px;
  margin-bottom: 10px;
  line-height: 1.4;
  font-size: 1.125em;
  font-weight: 600;
}

body.page-single
#article div.main-content h4 + * {
  margin-top: 0;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:770px) {

  body.page-single
  #article div.main-content h2 {
    margin-top: 60px;
    margin-bottom: 30px;
    padding: 1em 1em;
  }

  body.page-single
  #article div.main-content h3 {
    margin-top: 40px;
    margin-bottom: 30px;
  }

}
