@charset "UTF-8";
@import url("base.css");
/*共通設定-------------------------------------------------------------------------------------------------------------------------------------*/
/*基本設定*/
/*メイン*/
h1 {
  background-color: #000;
  color: #fff;
  font-size: 156%;
  padding: 0.25em 2%;
  margin: 2em auto 0; }

#blog {
  margin: 5em auto 0; }
  #blog #blog_list_wrap {
    margin: 0 auto;
    /*ページャーcss*/ }
    #blog #blog_list_wrap #blog_list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      border-bottom: 1px solid #000;
      padding: 0 0 5em; }
      #blog #blog_list_wrap #blog_list::after {
        content: "";
        display: block;
        width: 31.333%; }
      #blog #blog_list_wrap #blog_list li {
        width: 31.333%;
        box-sizing: border-box;
        border: 5px solid #000;
        padding: 1em 2%; }
        #blog #blog_list_wrap #blog_list li:nth-child(n+4) {
          margin: 2em 0 0; }
        #blog #blog_list_wrap #blog_list li figure {
          margin: 0 0 1em; }
        #blog #blog_list_wrap #blog_list li figure {
          position: relative;
          width: 100%;
          /*　トリミングしたい枠の幅（固定にしたい場合はサイズを入力）　*/
          padding-top: 75%;
          /*　トリミングしたい枠の高さを比率で指定。（固定にしたい場合はサイズを入力）　*/
          margin: 0 auto 1em; }
          #blog #blog_list_wrap #blog_list li figure img {
            /* 画像を上下左右に中央配置する（絶対指定） */
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            object-fit: cover; }
        #blog #blog_list_wrap #blog_list li span {
          display: block;
          border-bottom: 1px solid #000;
          margin: 0 0 0.25em; }
        #blog #blog_list_wrap #blog_list li a {
          color: #000;
          text-decoration: none;
          font-weight: bold; }
          #blog #blog_list_wrap #blog_list li a:hover, #blog #blog_list_wrap #blog_list li a:active {
            color: #d71518;
            text-decoration: none; }
    #blog #blog_list_wrap .pager {
      width: 100%;
      margin: 4em 0 0;
      position: relative;
      height: 3em; }
    #blog #blog_list_wrap .pager ul {
      display: flex;
      position: absolute;
      top: 0%;
      left: 0%; }
    #blog #blog_list_wrap .pager ul li {
      margin: 0 5px; }
    #blog #blog_list_wrap .pager ul li span, #blog #blog_list_wrap .pager ul li a {
      display: block;
      padding: 0.6em 1em;
      border: 1px solid #bfbfbf;
      box-sizing: border-box; }
    #blog #blog_list_wrap .pager ul li a {
      color: #000;
      text-decoration: none; }
    #blog #blog_list_wrap .pager ul li a:hover {
      background: #d71518;
      color: #FFF; }
    #blog #blog_list_wrap .pager ul .current {
      background-color: #d71518;
      color: #fff; }

/*フッター*/
/*共通設定ここまで-------------------------------------------------------------------------------------------------------------------------------------*/
/* pc */
@media screen and (min-width: 1100px) {
  /*ヘッダー*/
  /*メイン*/
  h1, #blog {
    width: 1080px; }

  #blog_list_wrap {
    width: 830px; }

  /*フッター*/ }
/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media screen and (max-width: 1099px) {
  /*ヘッダー*/
  /*メイン*/
  h1, #blog {
    width: 90%; }

  #blog_list_wrap {
    width: 90%; }

  /*フッター*/ }
/* tablet以下共通 ------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 1024px) and (max-width: 1099px) {
  /*ヘッダー*/
  /*メイン*/
  /*フッター*/ }
/* tablet以下共通ここまで ------------------------------------------------------------------------------------------*/
/* tablet1  */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/
  #blog_list_wrap {
    /*ページャー*/ }
    #blog_list_wrap .pager ul li span, #blog_list_wrap .pager ul li a {
      display: block;
      padding: 0.6em 1em;
      border: 1px solid #bfbfbf;
      box-sizing: border-box; }
    #blog_list_wrap .pager ul li:nth-child(1) a, #blog_list_wrap .pager ul li:last-child a {
      padding: 0.6em 0;
      width: 70px;
      text-align: center; }

  /*フッター*/ }
/* tablet2  */
@media only screen and (max-width: 767px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/
  h1 {
    font-size: 130%; }

  #blog {
    margin: 3em auto 0; }
    #blog #blog_list_wrap {
      margin: 0 auto;
      /*ページャー*/ }
      #blog #blog_list_wrap #blog_list {
        flex-direction: column;
        padding: 0 0 3em; }
        #blog #blog_list_wrap #blog_list li {
          width: 80%;
          margin: 0 auto; }
          #blog #blog_list_wrap #blog_list li:nth-child(n+2) {
            margin: 2em auto 0; }
      #blog #blog_list_wrap .pager ul li:nth-child(1) a, #blog #blog_list_wrap .pager ul li:last-child a {
        padding: 0.6em 0;
        width: 40px;
        text-align: center; }
      #blog #blog_list_wrap .pager ul li {
        margin: 0 2.7px; }
      #blog #blog_list_wrap .pager ul li span, #blog #blog_list_wrap .pager ul li a {
        display: block;
        padding: 0.6em 0.5em;
        border: 1px solid #bfbfbf;
        box-sizing: border-box; }

  /*フッター*/ }
/* smartPhone1 */
@media only screen and (max-width: 499px) {
  /*基本設定*/
  /*ヘッダー*/
  /*メイン*/
  /*フッター*/ }
