@media only screen and (max-width: 767px) {
/*   グリッドシステム */
  .m-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }

  .m-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%; }

  .m-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%; }

  .m-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }

  .m-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }

  .m-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }


/* HOME mobile */
  .home #content,
  .blog #content{
    margin:0;
  }
  

  .top-post-list .post-list .entry-content .entry-title{
    font-size:1.1em;
  }
  .top-post-list .post-list .entry-content .description{
    display:none;
  }

/*   header */
  #g_nav{
    display:none;
  }
  #custom_header{
    height:200px;
  }
  #inner-header{
    position:relative;
    padding-top: 52px;
  }
  .mobile_site_description{
    font-size:10px;
    text-align:center;
    color:#fff;
    padding: 0.4em 0 0;
    line-height: 1;
    margin:0;
    -webkit-transform: scale(0.85);
	transform: scale(0.85);
  }
  #logo{
    width:100%;
    height: auto;
    margin: 3px auto 6px;
    font-size: 1.2em;
    position: static;
  }

  #logo a{
    position: static;
    width: 100%;
    height:auto;
    display:block;
  }
  #logo a img{
    max-height: 1.9em;
    max-width: 45%;
    width: auto;
  }

  .subnav{
    position:absolute;
    width: 89%;
    left: auto;
    top:0;
    font-size:12px;
    z-index: 1000000;
  }
  .subnav .site_description{
    float:left;
    margin: 0 0 0 1.5em;
    color:#111;
    font-size: 0.9em;
    position: static;
    display: none;
    bottom: -46px;
    left:100px;
  }
  .subnav form{
    width: 70%;
    margin-top:9px;
    position:static;
    right: auto;
    float:left;
  }
  .subnav form div{
    position:relative;
  }
  .subnav form input{
    width:90%;
    max-width: 90%;
    height:26px;
    line-height: 1.5;
    padding:1% 5%;
  }
  .subnav form button{
    position:absolute;
    font-size:14px;
    right:5px;
    top:5px;
    border:0;
    background:none;
  }

  .subnav .linklist{
    display:none;
  }
  .subnav .contactbutton{
    float: right;
    width: 25%;
    height:52px;
    margin-left:1em;
  }
  .subnav .contactbutton a{
    width:100%;
    height:100%;
    line-height:48px;
    font-size:14px;
    border-radius:0;
    box-shadow:none;
    background: none!important;
    position:static;
    text-align:center;
    border-left: 1px solid rgba(76, 76, 76, 0.32);
  }
  #breadcrumb{
    margin-top: 5px;
  }

  #content {
  margin-top: 1em; }
  .single .authorbox .author-newpost li:nth-child(2n):after,
  .related-box li:nth-child(2n):after{
    content:"";
    display:table;
    clear:both;
  }
  .single .authorbox .author-newpost li:nth-child(2n),
  .related-box li:nth-child(2n){
    zoom:1;
  }


/* footer mobile */
  /* ページトップへ */
  #page-top {
  right: 10px;
  }
  #page-top a {
  background-repeat: no-repeat;
  text-decoration: none;
  width: 38px;
  height: 38px;
  line-height:37px;
  font-size:0.8em;
  }
  .footer-links {
    font-size:0.9em;
  }
  .footer-links ul{
    margin:1em 0 0;
  }
  .footer-links li{
    display:inline;
    margin-right:1em;
  }
  .footer-links li:before{
    font-family: "fontawesome";
    content: '\f0da';
    margin-right: 0.3em;
  }
  .footer-links a{
    text-decoration:none;
  }
  .copyright{
    font-size:0.7em;
    padding:1em 0;
  }

  /* single mobile */
  .single .authorbox .author-newpost li,
  .related-box li{
    width:47%;
    min-height: 250px;
    margin: 0 3% 1% 0;
    float:left;
    position:relative;
  }
  .single .authorbox .author-newpost li .eyecatch,
  .related-box li .eyecatch{
    max-height: 200px;
  }

  .related-box li.related-rightlist{
    zoom: 1;
  }
  .related-box li.related-rightlist:after{
    content:"";
    display:table;
    clear:both;
  }

  /* SNS テキスト非表示 */
  .share.short{
    padding:0 1em;
  }
  .share.short .sns li a .text{
    display:none;
  }
}


@media only screen and (max-width: 480px) {
  #custom_header{
    height:140px;
  }
  .subnav {
    width: 84.5%;
  }
  .subnav form{
    width: 74%;
  }
  .subnav .contactbutton{
    width:20%;
    float:right;
  }
  .subnav .contactbutton a{
    height:52px;
    overflow:hidden;
  }
  .subnav .contactbutton a i{
    display:block;
    font-size:1.4em;
    line-height: 52px;
    margin-right: 0;
    width: auto;
    height: auto;
  }

  #main .article .entry-header,
  #main .article .article-header,
  #main .article .article-footer{
    padding: 0.9em 0.9em 0.8em;
  }
  #main .article .entry-content{
    padding: 0.9em;
    font-size: 0.96em;
}

  .top-post-list .post-list .eyecatch{
    max-height: 70px;
  }

  .single .authorbox .author-newpost li,
  .related-box li{
    min-height: 190px;
  }
  .single .authorbox .author-newpost li .eyecatch,
  .related-box li .eyecatch{
    height: 80px;
  }

  .single .authorbox .inbox,
  .single .related-box .inbox{
    padding:0.9em;
  }
  .single-title,
  .page-title,
  .entry-title {
    font-size:1.2em; }
  
  .add.more{
    margin-left:-0.9em;
  }


  .top-post-list .post-list a{
   padding:0.7em;
  }
  .share.short .sns li a{
    padding:10px 4px;
  }
  .pagination a, .pagination span,
  .page-links a , .page-links ul > li > span{
    font-size:0.85em;
  }
	.alignleft, img.alignleft {
	  margin-right: auto;
	  margin-left: auto;
	  }
	.alignright, img.alignright {
	  margin-right: auto;
	  margin-left: auto;
	  }
	.aligncenter, img.aligncenter {
	  margin-right: auto;
	  margin-left: auto;
	  display: block;
	  clear: both; }
}



/* Portrait tablet to landscape */
@media only screen and (min-width: 768px) and (max-width: 1099px) {
  .t-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }

  .t-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%; }

  .t-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%; }

  .t-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }

  .t-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }

  .t-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }

  .t-1of5 {
    float: left;
    padding-right: 0.75em;
    width: 20%; }

  .t-2of5 {
    float: left;
    padding-right: 0.75em;
    width: 40%; }

  .t-3of5 {
    float: left;
    padding-right: 0.75em;
    width: 60%; }

  .t-4of5 {
    float: left;
    padding-right: 0.75em;
    width: 80%; }
  #logo {
    font-size: 1.1em;
  }
  #slider .bx-wrapper ul li{
    height:255px;
  }
  #custom_header{
    height: 300px;
  }
  .single .authorbox .author-newpost li .eyecatch,
  .related-box li .eyecatch{
    height: 68px;
  }
  .share.short .sns li a .text{
    display:none;
  }
  #scrollfix.fixed{
    max-width: 253px;
  }
  #container.sidebarleft #main{
    padding-right:0;
    padding-left:0.75em;
  }
}


/* Landscape to small desktop */
@media only screen and (min-width: 1100px) {
  .d-all {
    float: left;
    padding-right: 0.75em;
    width: 100%;
    padding-right: 0; }

  .d-1of2 {
    float: left;
    padding-right: 0.75em;
    width: 50%; }

  .d-1of3 {
    float: left;
    padding-right: 0.75em;
    width: 33.33%; }

  .d-2of3 {
    float: left;
    padding-right: 0.75em;
    width: 66.66%; }

  .d-1of4 {
    float: left;
    padding-right: 0.75em;
    width: 25%; }

  .d-3of4 {
    float: left;
    padding-right: 0.75em;
    width: 75%; }

  .d-1of5 {
    float: left;
    padding-right: 0.75em;
    width: 20%; }

  .d-2of5 {
    float: left;
    padding-right: 0.75em;
    width: 40%; }

  .d-3of5 {
    float: left;
    padding-right: 0.75em;
    width: 60%; }

  .d-4of5 {
    float: left;
    padding-right: 0.75em;
    width: 80%; }

  .d-1of6 {
    float: left;
    padding-right: 0.75em;
    width: 16.6666666667%; }

  .d-1of7 {
    float: left;
    padding-right: 0.75em;
    width: 14.2857142857%; }

  .d-2of7 {
    float: left;
    padding-right: 0.75em;
    width: 28.5714286%; }

  .d-3of7 {
    float: left;
    padding-right: 0.75em;
    width: 42.8571429%; }

  .d-4of7 {
    float: left;
    padding-right: 0.75em;
    width: 57.1428572%; }

  .d-5of7 {
    float: left;
    padding-right: 0.75em;
    width: 71.4285715%; }

  .d-6of7 {
    float: left;
    padding-right: 0.75em;
    width: 85.7142857%; }

  .d-1of8 {
    float: left;
    padding-right: 0.75em;
    width: 12.5%; }

  .d-1of9 {
    float: left;
    padding-right: 0.75em;
    width: 11.1111111111%; }

  .d-1of10 {
    float: left;
    padding-right: 0.75em;
    width: 10%; }

  .d-1of11 {
    float: left;
    padding-right: 0.75em;
    width: 9.09090909091%; }

  .d-1of12 {
    float: left;
    padding-right: 0.75em;
    width: 8.33%; }

  .home #content{
    margin-top:2.3em;
  }
  .byline .cat-name{
    background: #4B99B5;
    color:#fff;
    padding: 0.2em 0.9em;
    margin-left: 0.9em;
    font-size: 0.9em;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    border-radius:2px;
  }
  .subnav form{
    width:210px;
    float: right;
    }
  #main{
    width: 65.454545%;
    padding-right: 0;
  }
  .page-full #main{
    width: 100%;
  }
  .page-full #main .article header {
    padding:1.5em 4em;
  }
  .page-full .entry-content {
    padding: 1.8em 4em 4em;
  }
  #sidebar1{
    width: 30.545455%;
    float:right;
  }

  .nav > li {
    width: 150px;
  }
  .nav > li > a {
	display: block;
	color: #ffffff;
	text-decoration: none;
	line-height: 30px;
	background: url(library/images/nav_line_bg.png) no-repeat right center;
  }

  .single .byline .cat-name{
    font-size:0.8em;
    padding-left:1em;
    padding-right:1em;
    position:relative;
    top:-1px;
  }
  .d-1of2 img,
  .d-1of3 img{
    margin-bottom:0.5em;
  }


  .share{
    padding-bottom:10px;
  }
  .share.short{
    margin-top:1em;
    padding-bottom: 0;
  }
  .sns ul {
    margin:0 auto;
    list-style:none;
  }
   .sns li {
    width: 32%;
    margin:0 2% 3% 0;
  }
  .sns li a {
    font-size:0.75em;
    padding:13px 2px;
  }
  .sns li:nth-child(3n) {
    margin-right:0;
  }
}

/*********************
PRINT STYLESHEET
*********************/
@media print {
  * {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important; }

  a, a:visited {
    color: #444 !important;
    text-decoration: underline; }
    a:after, a:visited:after {
      content: " (" attr(href) ")"; }
    a abbr[title]:after, a:visited abbr[title]:after {
      content: " (" attr(title) ")"; }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: ""; }

  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid; }

  thead {
    display: table-header-group; }

  tr, img {
    page-break-inside: avoid; }

  img {
    max-width: 100% !important; }

  @page {
    margin: 0.5cm; }
  p, h2, h3 {
    orphans: 3;
    widows: 3; }

  h2,
  h3 {
    page-break-after: avoid; }

  .sidebar,
  .page-navigation,
  .wp-prev-next,
  .respond-form,
  nav {
    display: none; } }