@charset "utf-8";

/* 
-------------------------------------------*/
.page_head__title {
  margin-bottom: 0.5em;
}
.page_head__title small {
  color: #777;
  display: block;
  font-size: 1.75rem;
  /* font-weight: normal; */
  margin: 0.2em auto 0;
  line-height: 1.2;
  letter-spacing: 0.05em;
}
.page_head__title b {
  color: #000;
  font-size: 3.5rem;
  font-size: 4rem;
  font-weight: normal;
  letter-spacing: 0.05em;
}
.dev{
  padding: 5em 0 3em;
}

/* bg_anime
-------------------------------------------*/ 
.bg_anime {
  position: absolute;
  width: 100%;
  z-index: 1;
  top: 19em;
  transform: translateY(-17%);
}
.bg_anime img {
  height: 260px;
  width: 100%;
}

/* 戻るボタン
-------------------------------------------*/ 
.jq_btn.back > span {
  border-color: #ccc;
  display: block;
  font-size: 1.4rem;
  margin: 5em auto 0;
  text-align: center;
  width: 80%;
}
.jq_btn.back > span:before {
  background: #8aba29;
}


/* ==============================
  記事一覧
============================== */
#dev > h1 {
  font-size: 1.8rem;
  margin: 0 auto 2em;
  }
  #dev ul {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
  }
  #dev ul li {
    background: #eee;
    width: calc(100% / 3 - 1em);
    margin: 0 0.5em 1em;
    text-align: left;
  }
  #dev ul li a {
    display: block;
    padding: 1em;
  }
  #dev ul li article figure {
    background-position: center center;
    background-size: 100% auto;
    display: block;
    height: 140px;
    margin: 30px 40px;
    text-align: center;
  }
  #dev ul li article h1 {
    color: #1A9F3D;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.6;
  }
  #dev ul li article small {
    display: block;
    font-weight: normal;
  }
  #dev ul li article small .cate {
    background: #1A9F3D;
    color: #fff;
    display: inline-block;
    line-height: 100%;
    margin-right: 5px;
    padding: 3px;
    vertical-align: middle;
  }
  #dev ul li article p {
    font-size: 1.2rem;
    margin-top: 1em;
  }


/* ==============================
  記事一覧（カテゴリなど）
============================== */
#dev.list {
  padding-top: 2em;
}


/* ==============================
  記事
============================== */
#detail.base_contents {
  margin-right: 5em;
  text-align: left;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}
#detail .content__r,
#detail .content__l{
	display: inline-block;
}
/* メニュー
------------------------------------------- */
#detail .content__r{
  background: #eee;
  padding: 1.5em;
  width: 25%;
  }
  #detail .content__r_box {
    margin-bottom: 3em;
  }
  #detail .content__r_box:nth-last-of-type(1) {
    margin-bottom: 0;
  }
  #detail .content__r_box h4 {
    margin: 0 0 0.5em;
  }
  #detail .content__r_box ul li a {
    display: block;
    font-size: 13px;
    font-size: 1.3rem;
  }
  
  /* new */
  #detail .content__r_box.new ul {
    border-top: 1px #ccc solid;
    border-left: 1px #ccc solid;
    border-right: 1px #ccc solid;
    margin-bottom: 1em;
  }
  #detail .content__r_box.new ul li {
    padding: 0.5em 0.75em;
    border-bottom: 1px #ccc solid;
  }
  #detail .content__r_box.new ul li a {
    line-height: 1.5;
  }
  #detail .content__r_box.new ul li a time {
    color: #999;
    display: inline-block;
    width: 100%;
    font-size: 1.2rem;
    font-weight: normal;
  }
  /*  */
  #detail .content__r_box.new .search {
    position: relative;
    }
    #detail .content__r_box.new .search input[type='text'] {
      border: 1px solid #ccc;
      border-radius: 5px;
      background: #fff;
      padding: 0.1em 30px 0.1em 0.5em;
      width: 100%;
    }
    #detail .content__r_box.new .search input[type='text']::placeholder {
      color: #ccc;
    }
    #detail .content__r_box.new .search input[type='submit'] {
      -webkit-appearance: none;
      background: url(/img/dev/side_search.svg) center center no-repeat;
      background-size: cover;
      cursor: pointer;
      height: 20px;
      margin: auto;
      position: absolute;
      text-indent: -999px;
      width: 20px;
      top: 0;
      right: 0.5em;
      bottom: 0;
    }

  /* cate */
  #detail .content__r_box.cate h4 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5em;
    padding-bottom: 0.25em;
  }
  #detail .content__r_box.cate ul li {
    margin-bottom: 0.5em;
  }
  
  /* mem */
  #detail .content__r_box.mem h4 {
    border-bottom: 1px solid #ccc;
    margin-bottom: 0.5em;
    padding-bottom: 0.25em;
    }
    #detail .content__r_box.mem h5 {
      font-size: 1.4rem;
      font-weight: 200;
      margin-bottom: 0.5em;
    }
    #detail .content__r_box.mem ul {
      margin-bottom: 2em;
    }
    #detail .content__r_box.mem ul:nth-last-of-type(1) {
      margin-bottom: 0;
    }
    #detail .content__r_box.mem ul li {
      margin-bottom: 2px;
    }
    #detail .content__r_box.mem ul li span {
      background-color: #fff;
      background-position: center center;
      background-size: cover;
      border-radius: 100%;
      display: inline-block;
      height: 30px;
      margin-right: 0.5em;
      overflow: hidden;
      position: relative;
      vertical-align: middle;
      width: 30px;
    }
    #detail .content__r_box.mem ul li span img {
      margin: auto;
      max-height: 100%;
      max-width: 100%;
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
    }


/* 記事
------------------------------------------- */
#detail .content__l {
  width: 50%;
  margin: 0 auto;
  }
  #detail .content__l article .detail__head {
    margin: 0 auto 3em;
  }
  #detail .content__l article .detail__head h1 {
    color: #1A9F3D ;
    font-size: 24px;
    font-size: 2.4rem;
    font-weight: bold;
  }
  #detail .content__l article .detail__head > div {
    border-top: 1px #1A9F3D solid;
    display: block;
    font-size: 1.2rem;
    margin: 0.2em 0 0 0;
    overflow: hidden;
    padding: 0.75em 0 0.2em 0;
    width: 100%;
  }
  #detail .content__l article .detail__head > div .jq_writer {
    display: inline-block;
  }
  #detail .content__l article .detail__head > div .jq_writer a:after {
    content: "・";
  }
  #detail .content__l article .detail__head > div .jq_writer a:nth-last-of-type(1):after {
    display: none;
  }
  #detail .content__l article .detail__head > div .jq_writer a span {
    background-color: #eee;
    background-position: center center;
    background-size: cover;
    border-radius: 100%;
    display: inline-block;
    height: 30px;
    overflow: hidden;
    margin-right: 0.5em;
    position: relative;
    vertical-align: middle;
    width: 30px;
  }
  #detail .content__l article .detail__head > div > span {
    float: right;
    margin-top: 0.5em;
    margin-left: 0.5em;
  }
  #detail .content__l article .detail__head > div .cate {
    background: #1A9F3D;
    color: #fff;
    display: inline-block;
    line-height: 100%;
    margin-right: 5px;
    padding: 3px 5px;
    text-decoration: none;
  }
  #detail .content__l article .main_ph {
    margin: 0 auto 2em;
    text-align: center;
  }

  /*  */
  #detail .content__l article .detail__body h2 {
    border-bottom: 1px solid #1A9F3D;
    color: #1A9F3D ;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 1em 0 0.5em;
    padding: 0.25em;
  }
  /*  */
  #detail .content__l article .detail__body h3 {
    border-left: 5px solid #1A9F3D;
    color: #1A9F3D ;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 1em 0 0.25em;
    padding-left: 0.5em;
  }
  /*  */
  #detail .content__l article .detail__body h4 {
    color: #1A9F3D ;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.6;
    margin: 1em 0 0.25em;
  }
  #detail .content__l article .detail__body .sub_contents h4 {
    margin-top: 0;
    text-align: left;
  }

  /*  */
  #detail .content__l article .detail__body div.sub_contents {
    margin: 0 0 2em;
  }
  /*  */
  #detail .content__l article .detail__body .float_photo {
    margin-top: 1em;
    overflow: hidden;
    text-align: center;
  }
  #detail .content__l article .detail__body .float_photo img {
    margin-bottom: 1em;
  }
  #detail .content__l article .detail__body .float_photo.float_right img {
    float: right;
    margin-left: 1em;
    max-width: 50%;
  }
  #detail .content__l article .detail__body .float_photo.float_left img {
    float: left;
    margin-right: 1em;
    max-width: 50%;
  }
  #detail .content__l article .detail__body .float_photo h4 {
    text-align: left;
  }
  #detail .content__l article .detail__body .float_photo div {
    text-align: left;
  }
  /* 参考サイト */
  #detail .content__l article .detail__body .site a {
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    overflow: hidden;
    padding: 1em;
  }
  #detail .content__l article .detail__body .site img {
    float: left;
    margin-right: 1em;
  }
  #detail .content__l article .detail__body .site a:hover span {
    text-decoration: underline;
  }
  /* 引用 */
  #detail .content__l article .detail__body .from {
    background: #eee;
    border-radius: 5px;
    color: #aaa;
    min-height: 3.5em;
    padding: 1em;
    padding-left: 3.5em;
    position: relative;
  }
  #detail .content__l article .detail__body .from:before {
    content: "“";
    color: #ccc;
    font-size: 5em;
    font-weight: bold;
    line-height: 100%;
    position: absolute;
    top: 1rem;
    left: 1rem;
  }
  /*  */
  #detail .content__l article .detail__body iframe.sub_contents {
    min-height: 400px;
    width: 100%;
  }
  /*  */
  #detail .content__l article .detail__body pre code.hljs {
    border-radius: 5px;
  }

/* 20181031 テーブルスタイル */
table.intro01 {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  line-height: 1.5;
  border: 1px solid #ccc;
}
table.intro01 thead {
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
  background: #aaa;
}
table.intro01 thead th {
  padding: 10px;
  font-weight: bold;
  vertical-align: top;
  color: #fff;
}
table.intro01 thead th:nth-child(2) {
  width: 10%;
}
table.intro01 thead th:nth-child(n+2) {
  border-left: 1px solid #ccc;
}
table.intro01 tbody th {
  width: 25%;
  padding: 10px;
  font-weight: bold;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
  /* background: #f7f7f7; */
}
table.intro01 td {
  padding: 10px;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
}
table.intro01 td:nth-child(n+2) {
  border-left: 1px solid #ccc;
}

.main_photo.use {
  display: inherit;
}

.main_photo.none {
  display: none;
}
/*--- mobileonly ---*/
@media screen and (max-width: 54.786em) {

  /* 
  ------------------------------------------- */
  .page_head {
    margin-bottom: 7em;
  }
  .page_head__title small {
    font-size: 1.2rem;
  }
  .page_head__title b {
    font-size: 2.15rem;
    font-size: 2.65rem;
  }
  .dev {
    padding: 0;
  }


  /* bg_anime
  -------------------------------------------*/ 
  .bg_anime {
    top: 14.25em;
  }
  .bg_anime img {
    height: 100px;
  }

  /* 戻るボタン
  -------------------------------------------*/ 
  .jq_btn.back > span {
    font-size: 1.2rem;
    margin: 3em auto;
  }

  /* ==============================
    記事一覧
  ============================== */
  #dev ul {
    width: 100%;
  }
  #dev ul li {
    margin: 0 0 1em;
    width: 100%;
  }
  #dev ul li article figure {
    background: none;
    float: right;
    height: auto;
    margin: 0 0 10px 10px;
    width: 30%;
  }
  #dev ul li article h1 {
    font-size: 1.6rem;
    margin-bottom: 0.25em;
    width: calc(70% - 10px);
  }
  #dev ul li article small {
    font-size: 1.1rem;
    width: calc(70% - 10px);
  }
  #dev ul li article p {
    clear: both;
  }


  /* ==============================
    記事一覧（カテゴリなど）
  ============================== */
  #dev.list {
    font-size: 1.6rem;
    padding-top: 0;
  }
  
  
  /* ==============================
    記事
  ============================== */
  #detail.base_contents {
    margin: 0 auto;
    display: block;
    overflow: hidden;
  }
  #detail .content__r,
  #detail .content__l{
  	display: block;
    width: 100%;
  }
  /* メニュー
  ------------------------------------------- */
  #detail .content__r{
    margin-bottom: 20px;
  }
  #detail .content__r_box.cate ul li {
    margin-bottom: 0.75em;
  }
  #detail .content__r_box.mem ul li {
    margin-bottom: 0.5em;
  }
  /* new */
  #detail .content__r_box.new .search input[type='text'] {
    font-size: 16px;
  }

  /* 記事
  ------------------------------------------- */
  #detail .content__l {
    margin: 0 auto;
    }
    #detail .content__l article .detail__body {
    }
    #detail .content__l article .detail__head h1 {
      font-size: 2rem;
      line-height: 1.4;
      text-align: left;
    }
    #detail .content__l article .detail__head > div {
      font-size: 1.2rem;
      text-align: left;
    }
    
    /*  */
    #detail .content__l article .detail__body h2 {
      font-size: 1.6rem;
    }
    /*  */
    #detail .content__l article .detail__body h3 {
      font-size: 1.6rem;
    }
    /*  */
    #detail .content__l article .detail__body h4 {
      font-size: 1.4rem;
    }

    /* 参考サイト */
    #detail .content__l article .detail__body .site img {
      width: 30%;
    }
    
    /*  */
    #detail .content__l article .detail__body iframe.sub_contents {
      min-height: 250px;
    }


}
