@media screen and (min-width:800px) {
/* 850pxがのぞましい */
html{
  font-size: calc(100% + ((1vw - .85rem) * 0.5));
}
html,body{
  font-family: 'Roboto Slab', serif;
  font-family: "Sawarabi Gothic";
}
* {
  margin: 0;
  padding: 0;
}
body{
 margin: 0;
}
.header{
  height: 60px;
  margin: 0  auto;
  width: 100%; 
  overflow: hidden;
}
.header-title{
  font-size: 350%;
  background: #004679;
  text-align: center;
  line-height: 60px;
  vertical-align: middle;
  height: 100%;
  width: 30%;
  float: left;
  color: #fff;
  margin: 0;
  padding: 0;
}
.name{
  background: #58656e;
  height: 100%;
  text-align: center;
  color: #fff;
  width: 70%;
  float: right;
}
.header-logo-menu{
  display:none;
}

.pc_navi{
  width: 100%;
  height: 60px;
  margin: 0;
  padding: 0;
}
.pc_navi li{
  display: inline-block;
  vertical-align: middle;
  width: 50%;
  height: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.pc_navi > li > a{
  width: 100%;
  color: #FFFFFF;
  transition: color 0.1s linear;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
	line-height: 60px;
	padding: 0;
}
.pc_navi > li:hover{
  /* background-color: #487ca3; */
  background-color: #d6d680;
}

.main-wrap{
  margin:0 auto;
  width: 100%;
  overflow: hidden;
}
.sidebar{
  background: #e9e9e9;
  height: 100%;
  text-align: center;
  color: #000;
  width: 30%;
  float: left;
}
.bottle{
  width: 100%;
}
.main{
  background: white;
  height: 100%;
  text-align: center;
  color: #000;
  width: 70%;
  float: right;
}

.tabs{
  display: block;
  overflow: hidden;
  width: 100%;
  height: 45px;
  margin: 0;
  padding: 0;
}

/* .tabs > li{
  color: #FFF;
  background-color: #58656e;
  display: inline-block;
  vertical-align: middle;
  width: 50%;
  height: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.tabs > li  > span{
  color: #FFFFFF;
  transition: color 0.1s linear;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
	line-height: 45px;
	padding: 0;
}
.tabs> li:hover{
  background-color: #d6d680;
} */

#content_main .article{
  font-size: 11px;
  margin: 5px 5px 0px 5px ;
  height:150px;
  background:#487ca3;
}
#content_main .article figure {
	float: left; 
	height: 150px;
  width: 150px; 
  box-sizing: border-box;
}
#content_main .article figure img {
	border-radius: 5px;
	height: 140px;
  width: 140px;
  padding: 5px 5px 0px 7px;
}
/* 記事一覧の詳細部分 */
#content_main .article-info {
  padding: 5px;
  display: inline-block;
  color: white;
  line-height: 210%;

}
#content_main .article-category{
  background-color: #d6d680;
  border-radius: 15px;
  color: #0a0017;
  padding: 5px 8px 5px 8px;
  /* padding: 2.5px 5px 2.5px 5px; */
}
#content_main .article-date {
  margin-bottom: 1.2rem;
	color: #FFFFFF;
  margin-left: 1rem;
}
.article-info h1{
  
  margin-bottom: 1.2rem;
  margin: 5px;
}
.article-info p {
  color: white;
}

.footer{
  background: #004679;
  height: 30px;
  line-height: 30px;
  margin:0 auto;
  width: 100%;
  text-align: center;
  vertical-align: middle;

}
.copyright{
  color: white;
  font-size: 90%;
}
.sns_box > span{
  font-size: 17px;
  text-align: center;
  vertical-align: middle;
}
.sns_box > span > a{
  text-decoration: none;
}
#twitter:hover{
  color: #657786;
  transition-duration: 280ms;
  transition-timing-function: ease;
}
#slideshare:hover{
  color: #0077b5;
  transition: all 280ms ease;
}
#github:hover{
  color: #6e5494;
  transition: all 280ms ease;
}
}

@media screen and (min-width:501px) and (max-width:799px) {
  /*tabletとsmartphone用のcssを記述*/
  html{
    font-size: calc(100% + ((1vw - .48rem) * 0.5));
  }

  html,body{
    font-family: 'Roboto Slab', serif;
    font-family: "Sawarabi Gothic";
  }
  * {
    margin: 0px;
    padding: 0px;
  }
  body{
   margin: 0;
  }
  .header{
    height: 60px;
    margin: 0  auto;
    width: 100%;
    overflow: hidden;
  }
  .header-title{
    size: 100px;
    margin: 0  auto;
    /* background: #0a0017; */
    background-color: #004679;
    line-height: 60px;
    height: 100%;
    text-align: center;
    width: 90%;
    float: left;
    color: #fff;
  }
  .name{
    size: 100px;
    margin: 0  auto;
    background: #0a0017;
    height: 100%;
    text-align: center;
    width: 10%;
    float: right;
    color: #fff;
  }
  .pc_navi{
    display: none;
  }
  
  .header-logo-menu{
    background-color: #bdbdbd;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    width: 100%;
  }

  #nav-drawer {
    position: relative;
  }
  
  /*チェックボックス等は非表示に*/
  .nav-unshown {
    display:none;
  }
  
  /* アイコンのスペース */
  #nav-open {
    display: inline-block;
    width: 100%;
    height: 60px;
    vertical-align: middle;
  }
  
  /*ハンバーガーの形をCSSで表現*/
  #nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 5px;/*線の太さ*/
    width: 65%;/*長さ*/
    bottom: 67%;
    left: 17.5%;
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
  }
  #nav-open span:before {
    bottom: -12px;
    left: 0%;
    width: 100%;  
  }
  #nav-open span:after {
    bottom: -24px; 
    left: 0%;
    width: 100%; 
  }

  /*閉じる用の薄黒箇所*/
  #nav-close {
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
  }
  /*メニューの中身*/
  #nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 90%;
    max-width: 60%;/*最大幅（お好みで調整を）*/
    height: 100%;
    background: #fff;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);
  }
  /*チェックがついたら表示させる*/
  #nav-input:checked ~ #nav-close {
    display: block;
    opacity: .5;
  }

  #nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
  }

  .mini{
    color: #404040;
    border-left: solid 6px #0a00bb;/*左側の線*/
    border-bottom: solid 2px #dadada;/*下に灰色線*/
    background: whitesmoke;
    margin-bottom: 5px;/* 下のバーとの余白 */
    line-height: 1.5;
    padding: 0.5em;
    list-style-type: none!important;/*ポチ消す*/
    font-weight: bold;
  }

  .main-wrap{
    height: 900px;
    margin:0 auto;
    width: 100%;
    overflow: hidden;
  }
  .sidebar{
    display:none;
    /* visibility:hidden; */
  }
  .main{
    background: white;
    height: 100%;
    color: #000;
    width: 100%;
    text-align: center;
  }
  .footer{
    background: #004679;
    height: 30px;
    line-height: 30px;
    margin:0 auto;
    width: 100%;
    text-align: center;
    vertical-align: middle;
  
  }
  .copyright{
    color: white;
    font-size: 90%;
  }
  .sns_box > span{
    font-size: 17px;
    text-align: center;
    vertical-align: middle;
  }
  .sns_box > span > a{
    text-decoration: none;
  }
  #twitter:hover{
    color: #657786;
    transition-duration: 280ms;
    transition-timing-function: ease;
  }
  #slideshare:hover{
    color: #0077b5;
    transition: all 280ms ease;
  }
  #github:hover{
    color: #6e5494;
    transition: all 280ms ease;
  }
  #content_main .article{
    font-size: 11px;
    margin: 5px 5px 0px 5px ;
    height:150px;
    background:#487ca3;
  }
  #content_main .article figure {
    float: left; 
    height: 150px;
    width: 150px; 
    box-sizing: border-box;
  }
  #content_main .article figure img {
    border-radius: 5px;
    height: 140px;
    width: 140px;
    padding: 5px 5px 0px 7px;
  }
  /* 記事一覧の詳細部分 */
  #content_main .article-info {
    padding: 5px;
    display: inline-block;
    color: white;
    line-height: 210%;
  
  }
  #content_main .article-category{
    background-color: #d6d680;
    border-radius: 15px;
    color: #0a0017;
    padding: 5px 8px 5px 8px;
    /* padding: 2.5px 5px 2.5px 5px; */
  }
  #content_main .article-date {
    margin-bottom: 1.2rem;
    color: #FFFFFF;
    margin-left: 1rem;
  }
  .article-info h1{
    
    margin-bottom: 1.2rem;
    margin: 5px;
  }
  .article-info p {
    color: white;
  }
  
  }
  @media screen and (max-width:500px) {
    /*tabletとsmartphone用のcssを記述*/
    html{
      font-size: calc(100% + ((1vw - .85rem) * 0.5));
    }
  
    html,body{
      font-family: 'Roboto Slab', serif;
      font-family: "Sawarabi Gothic";
    }
    * {
      margin: 0px;
      padding: 0px;
    }
    body{
     margin: 0;
    }
    .header{
      height: 60px;
      margin: 0  auto;
      width: 100%;
      overflow: hidden;
    }
    .header-title{
      size: 100px;
      margin: 0  auto;
      /* background: #0a0017; */
      background-color: #004679;
      line-height: 60px;
      height: 100%;
      text-align: center;
      width: 90%;
      float: left;
      color: #fff;
    }
    .name{
      size: 100px;
      margin: 0  auto;
      background: #0a0017;
      height: 100%;
      text-align: center;
      width: 10%;
      float: right;
      color: #fff;
    }
    .pc_navi{
      display: none;
    }
    
    .header-logo-menu{
      background-color: #bdbdbd;
      display: block;
      margin: 0;
      padding: 0;
      overflow: hidden;
      width: 100%;
    }
  
    #nav-drawer {
      position: relative;
    }
    
    /*チェックボックス等は非表示に*/
    .nav-unshown {
      display:none;
    }
    
    /* アイコンのスペース */
    #nav-open {
      display: inline-block;
      width: 100%;
      height: 60px;
      vertical-align: middle;
    }
    
    /*ハンバーガーの形をCSSで表現*/
    #nav-open span, #nav-open span:before, #nav-open span:after {
      position: absolute;
      height: 5px;/*線の太さ*/
      width: 65%;/*長さ*/
      bottom: 67%;
      left: 17.5%;
      border-radius: 3px;
      background: #555;
      display: block;
      content: '';
      cursor: pointer;
    }
    #nav-open span:before {
      bottom: -12px;
      left: 0%;
      width: 100%;  
    }
    #nav-open span:after {
      bottom: -24px; 
      left: 0%;
      width: 100%; 
    }
  
    /*閉じる用の薄黒箇所*/
    #nav-close {
      display: none;
      position: fixed;
      z-index: 99;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: black;
      opacity: 0;
      transition: .3s ease-in-out;
    }
    /*メニューの中身*/
    #nav-content {
      overflow: auto;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999;
      width: 90%;
      max-width: 60%;/*最大幅（お好みで調整を）*/
      height: 100%;
      background: #fff;
      transition: .3s ease-in-out;
      -webkit-transform: translateX(-105%);
      transform: translateX(-105%);
    }
    /*チェックがついたら表示させる*/
    #nav-input:checked ~ #nav-close {
      display: block;
      opacity: .5;
    }
  
    #nav-input:checked ~ #nav-content {
      -webkit-transform: translateX(0%);
      transform: translateX(0%);
      box-shadow: 6px 0 25px rgba(0,0,0,.15);
    }
  
    .mini{
      color: #404040;
      border-left: solid 6px #0a00bb;/*左側の線*/
      border-bottom: solid 2px #dadada;/*下に灰色線*/
      background: whitesmoke;
      margin-bottom: 5px;/* 下のバーとの余白 */
      line-height: 1.5;
      padding: 0.5em;
      list-style-type: none!important;/*ポチ消す*/
      font-weight: bold;
    }
  
    .main-wrap{
      height: 900px;
      margin:0 auto;
      width: 100%;
      overflow: hidden;
    }
    .sidebar{
      display:none;
      /* visibility:hidden; */
    }
    .main{
      background: white;
      height: 100%;
      color: #000;
      width: 100%;
      text-align: center;
    }
    .footer{
      background: #004679;
      height: 30px;
      line-height: 30px;
      margin:0 auto;
      width: 100%;
      text-align: center;
      vertical-align: middle;
    
    }
    .copyright{
      color: white;
      font-size: 90%;
    }
    .sns_box > span{
      font-size: 17px;
      text-align: center;
      vertical-align: middle;
    }
    .sns_box > span > a{
      text-decoration: none;
    }
    #twitter:hover{
      color: #657786;
      transition-duration: 280ms;
      transition-timing-function: ease;
    }
    #slideshare:hover{
      color: #0077b5;
      transition: all 280ms ease;
    }
    #github:hover{
      color: #6e5494;
      transition: all 280ms ease;
    }
    #content_main .article{
    
      font-size: 10px;
      margin: 5px 5px 0px 5px ;
      height:135px;
      background:#487ca3;
    }
    #content_main .article figure {
      /* float: left; 
      height: 150px;
      width: 150px; 
      box-sizing: border-box; */
      display: none;
    }
    #content_main .article figure img {
      border-radius: 5px;
      height: 140px;
      width: 140px;
      padding: 5px 5px 0px 7px;
    }
    /* 記事一覧の詳細部分 */
    #content_main .article-info {
      padding: 5px;
      display: inline-block;
      color: white;
      line-height: 210%;
    
    }
    #content_main .article-category{
      background-color: #d6d680;
      border-radius: 15px;
      color: #0a0017;
      padding: 5px 8px 5px 8px;
      /* padding: 2.5px 5px 2.5px 5px; */
    }
    #content_main .article-date {
      margin-bottom: 1.2rem;
      color: #FFFFFF;
      margin-left: 1rem;
    }
    .article-info h1{
      
      margin-bottom: 1.2rem;
      margin: 5px;
    }
    .article-info p {
      color: white;
    }
    
    }
