/*
Theme Name: 1250
Description: レスポンシブ用
*/
@media screen and (max-width: 1086px) {
.topitem3{display:none;}
.topitem-sp{
display:block !important;
width: 100% !important;
    padding: 10px !important;
}
.topmenu-fr{
    width: 440px !important;
    justify-content: flex-end !important;
}
}
/* ------ ～ 1000px ------ */
@media screen and (max-width: 1000px) {
  body {min-width: 0;}
  #wrapper {min-width: 0;}
  #contents {float: none;}
  #sidebar {float: none;}
  
  /*  ヘッダー部   */

  #ptitle {text-align: center;}
  /* ------ ヘッダーナビゲーション ------ */
  #gnav nav { width: 100%;}
  
  /*  ヘッダー画像  */
  #mainvisual {min-width: 0;}
  #mainvisual #mainvisual-inner { overflow: hidden;}
  #mainvisual #mainvisual-inner .over-color {display: block; position: absolute; left: 0; top: calc(450/2000*100vw); width: 100%; height: calc(150/2000*100vw);}
  #mainvisual #mainvisual-inner .visual-link {opacity: 1; position: absolute; left: 20px; top: calc(500/2000*100vw); margin-left: 0; font-size:  calc(40/2000*100vw);}
  #plist .plist-inner {width: 100%;}
  #containar {width: 90%; margin: 0 auto;}
  #contents {width: 100%;}
  
  /*  グリッド表示  */
  #grid01-contents, #grid02-contents, #grid03-contents,
  #grid04-contents, #grid05-contents {margin: 0 auto;}
  .item {width: 270px;}
  .item.w2 {width: 540px;}
  .item.r2 {width: 270px;}
  
  /*  サイドバー  */
  #sidebar {float: none;	width: 100%;	margin: 0 auto;	*margin: 0 auto 20px;overflow: hidden;}
  #sidebar-01, #sidebar-02 {display: inline-block; vertical-align: top; width: 48%; margin: 0 0.7% 10px;}
  
  /*  フッター  */
  footer {min-width: 0;}
  #footer-inner {width: 90%;}
  #footer-inner2 {width: auto;}
.footerMenu {
height: auto;
line-height: 1.8;
}

}

/* ------ ～ 1000px ------ */
@media screen and (max-width: 1000px) {
  .item {width: 220px;}
  .item.w2 {width: 440px;}
  .item.r2 {width: 220px;}
  #header-social-button {display: none;}

  /*  ヘッダーナビゲーション  */
  #gnav-social-button {display: block; padding: 30px 0; font-size: 36px; text-align: center; background-color: #222;}
  #gnav-btn {position: absolute; top: 10px; right: 5px; display: block; z-index: 10000;}
  #gnav-btn a {display: block; width: 40px; height: 25px; color: <?php echo $navi_button_color; ?>; line-height: 25px; font-size: 24px; text-align: center; vertical-align: top; text-decoration: none; -webkit-border-radius: 5px;	border-radius: 5px;}
  #gnav nav .menu-item-description{display: none;}
  #gnav {width: 100%; max-width: 100%; margin: 0; font-size: 100%; z-index: 9999; display: none; border: none;}
  #gnav nav {width: 100%;  margin: 0; padding: 0; position: static;}
  #gnav nav  ul {list-style-type: none; height: auto; background-color: #000;}
  #gnav nav ul  li {position: relative; float: none; width: 100%; margin: 0 ; text-align: left; border-right: none; overflow: hidden;}
  #gnav nav > ul > li:first-child {border-left: none;}
  #gnav nav  ul  li a {display: block; padding: 0 3em 0 1em; color: #FFF!important; font-weight: normal; height: 3em; line-height: 3em; text-align: left; text-decoration: none; background: #000 url("img/arrow_04.png") no-repeat right center; border-top: 1px solid #666;}
  #gnav nav > ul > li:last-child a{border-bottom: 1px solid #666;}
  #gnav nav  ul  li  ul {position: static; width: 100%; list-style: none; margin: 0;}
  #gnav nav > ul > li:last-child ul li {left: 0;}
  #gnav nav  ul li  ul li {margin: 0; width: 100%; height: 3em; overflow: hidden;}
  #gnav nav  ul  li  ul li a{padding: 0 3em 0 2em; height: 3em; line-height: 3em; text-align: left; font-size: 100%; font-weight: normal ; background-color: #000; border-bottom: none; border-color: #666!important; overflow: hidden; opacity: 1.0;}
  #gnav nav  ul  li:hover {border-bottom: none;}
  #gnav nav  ul  li:hover >a {color: #FFF!important; background-color: #222!important;}
  #gnav nav  ul  li  ul li:hover a {color: #FFF!important; background-color: #333!important;  border-bottom: none;}
  #gnav nav  ul  li:hover ul li{overflow: visible; height: 3em;}
  #gnav nav  ul  li ul li:hover >a {color: #C06; background-color: #222; opacity: 1.0;}
  #gnav nav .current-menu-item, #gnav nav .current-menu-parent  {border-bottom: none;}



.ttl03{padding:0.1em;
font-size:16px;
line-height: 2.2;
}
  /*  ヘッダー部  */
header{display:block;}
  #ptitle {margin-right: 40px; padding: 0; line-height: 50px; overflow: hidden;}
  #header-social-button {display: none;}
  
  /*  ヘッダー画像  */
  #mainvisual #mainvisual-inner .visual-link {top: calc(500/2000*100vw);}
  

  
  /*  ヘッダー画像  */
  #mainvisual #mainvisual-inner .over-color {display: block; position: absolute; left: 0; top: calc(450/2000*100vw); width: 100%; height: calc(150/2000*100vw);}
  #mainvisual #mainvisual-inner .visual-link {opacity: 1; position: absolute; left: 20px; top: calc(480/2000*100vw); font-size:  calc(45/2000*100vw);}
  
  /*  グリッド表示  */
  .item {width: 220px;}
  .item.w2 {width: 440px;}
  .item.r2 {width: 220px;}
  
  /*  注目記事表示  */
  #at-post-list article h4{position: absolute; top: 80%; left: 0; margin: 0; padding: 0 15px; font-size: 92%; color: #FFF; z-index: 600;}
  
  /*  関連記事リスト */
#related-posts article {width: 32%; margin: 10px 0.2% 0;}
  
  /*  フッター  */
  #footer-inner2 .f-left {width: 47%;}
  #footer-inner2 .f-center {width: 47%;}
  #footer-inner2 .f-right {width: 47%;}

}
@media screen and (max-width: 768px) {

.topitem2 {
    flex-basis: 100% !important;
}
#header-inner {
    width: 100%;
    height: 50px;
}
.sp-none{
display:none !important;
}
.sp-on{
display:block !important;
}
.g_nav{display:none;｝
#gnav{display:block;}
.right-box06{
margin-left:0px !important;
}
.footerMenu {
   height: auto;
    line-height: 1.8;
}
.spimg{width:100%;}
.category .search{display:none;}
.wrapper .search{display:none;}
}
@media screen and (max-width: 685px) {
  /* コンテンツ内広告表示  */
  .ads-left {float: none; display: none; width: 0!important; padding:0 !important;}
  .ads-right {float: none; text-align: center;}
}

@media (max-width: 560px){
#message {
    width: 70%;
}
}

/*  ～479px  */
@media screen and (max-width: 479px) {
  #containar {width: 94%; margin: 0 auto;}
  .alignleft, .alignright {float: none; text-align: center; margin: 0 auto;}
  
  /*  ヘッダー画像  */
  
  #mainvisual #mainvisual-inner .over-color {display: block; position: absolute; left: 0; top: calc(450/1600*100vw); width: 100%; height: calc(150/1600*100vw);}
  #mainvisual #mainvisual-inner .over-color {display: block; position: absolute; left: 0; top: calc(450/1600*100vw); width: 100%; height: calc(150/1600*1000vw);}
  #mainvisual #mainvisual-inner .visual-link {opacity: 1;position: absolute; left: 3vw; top: calc(480/1600*100vw); font-size:  calc(50/1600*100vw);}
  
  /*  コンテンツ  */
  .doc {padding: 1em;}
  .info {padding: 15px 0;}
  h1 {margin: 0; padding: 0.4em 0; font-size: 158%; font-weight: 600; line-height: 1.3em;}
  h2 {margin: 0; padding: 0.4em 0; font-size: 128%; font-weight: 600; line-height: 1.3em;}
  h3 {margin: 0; padding: 0.4em 0; font-size: 122%; font-weight: 600; line-height: 1.3em;}
  h4 {margin: 0; padding: 0.4em 0; font-size: 114%; font-weight: 600; line-height: 1.3em;}
  h5 {margin: 0; padding: 0.4em 0 ;font-size: 108%; font-weight: 600; line-height: 1.3em;}
  h6 {margin: 0; padding: 0.4em 0 ;font-size: 100%; font-weight: 600; line-height: 1.3em;}
  
  /*  グリッド表示  */
  .item {width: 300px;}
  .item.w2 {width: 300px;}
  .item.r2 {width: 300px;}
  #grid-contents article {margin: 0 auto 20px auto;}
  #grid-contents a article h3 {margin: 10px 0 0 0;}
  
  /*  注目記事表示  */
  #at-post-list{width: 100%; text-align: center;}
  #at-post-list article {position: relative; display: block; width: 96%; margin: 10px auto;}
  #at-post-list article h4{top: 78%;}
  
  /*  記事リスト表示  */
  #post-list article {width: 100%; margin: 0; padding: 15px 0 10px;}
  #post-list img {float: none; max-width: none; margin:0 auto 10px; display: block;}
  #post-list-cat  img {max-width: none;}
  
  /*  関連記事リスト  */
  #related-posts article {width: 48%; margin: 10px 0.2% 0;}

/*  コメント  */
 .comments{margin: 10px 0;}
  
/*  SNSシェアボタン  */
  ul#sns_btn{width:100%;}
  ul#sns_btn li a {font-size: 85%;}
  
  /*  サイドバー  */
  #sidebar {float: none;	width: 100%;	margin: 0 auto;	*margin: 0 auto 10px;overflow: hidden;}
  #sidebar-01, #sidebar-02 {display: inline-block; vertical-align: top; width: 100%; margin: 0 0 10px;}
  .sidebar-wrapper {display: block; width: 94%; margin: 0 auto 10px;}
  
  /*  フッター  */
  #footer-inner {width: 100% ;margin: 0 ;padding: 0;}
  #footer-inner nav{width: 100% ; margin: 0; padding: 0;}
  #footer-inner nav ul li {width: 100%; padding: 0; text-align: left; display: block; border: none;*zoom: 1;}
  #footer-inner nav ul li a{display: block; padding: 10px 20px 10px 10px; line-height: 1.5em; font-size: 100%; text-decoration: none;}
  #footer-inner nav ul li a:hover{text-decoration: none;}
  #footer-inner nav ul li:last-child {border-bottom: none;}
  .footer-wrapper h4 {background-color: #CCC; margin: 0!important; padding: 15x 0 !important;}
  .footer-wrapper {width: 100% ; margin: 0; padding: 0;}
  .footer-wrapper ul {margin: 0!important;}
  .footer-wrapper ul li {margin: 0!important; width: 100%; padding: 0!important; text-align: left; display: block; border: none; border-bottom: 1px solid #CCC;}
  .footer-wrapper ul li a{display: block; padding: 10px!important; line-height: 1.5em; font-size: 100%; text-decoration: none;}
  .footer-wrapper ul li a:hover{text-decoration: none;}
  #footer-inner2 .footer-wrapper .tagcloud {padding: 10px;}
  #footer-inner2 .f-left { margin: 0; width: 100%; float: none;}
  #footer-inner2 .f-center {margin: 0; width: 100%; float: none;}
  #footer-inner2 .f-right {margin: 0; width: 100%; float: none;}
  #footer-inner2 .textwidget { padding: 15px;}
  #footer-inner2 {padding: 0!important;}
}
@media screen and (max-width: 440px) {
.topmenu-fr{
    width: 90% !important;
    justify-content: flex-end !important;
}
}