
/* ------ ～ 767px ------ */
@media screen and (max-width: 767px) {
  *{-webkit-appearance: none;}
  /* 基本設定 */
  body {min-width: 0;}
  #wrapper {min-width: 0;}
  #ptitle {height: 40px; padding: 0; line-height: 40px;}
  /*  ヘッダーナビゲーション  */
  #gnav-btn {position: absolute; top: 5px; right: 5px; display: block; z-index: 10000;}
  #gnav-btn a {display: block; width: 40px; height: 30px; line-height: 30px; font-size: 10px; color: #C00; font-weight: 700; text-align: center; text-decoration: none; border: 1px solid #CCC; background-color: #FFF; -webkit-border-radius: 5px;	border-radius: 5px;}
  #gnav {position: static; width: 100%; font-size: 100%; z-index: 99; background-color: #FFF; border-bottom: 1px solid #CCC; display: none;}
  #gnav nav {width: 100%;  margin: 0; padding: 0; position: static; z-index: 1000;}
  #gnav nav ul {list-style-type: none; height: auto;  background-color: #FFF;}
  #gnav nav ul li {position: static; float: none; width: 100%; margin: 0 ; text-align: left; border-left: none; border-top: 1px solid #CCC;}
  #gnav nav ul li a {padding: 0 20px 0 10px!important; color: #666!important; line-height: 2.5rem; text-align: left; background: #FFF url("img/arrow_02.png") no-repeat right center!important;}
  #gnav nav ul > li:last-child > a {border-bottom: 1px solid #CCC;}
  #gnav nav ul li ul {position: static; width: 100%; list-style: none; margin: 0;}
  #gnav nav ul li:last-child ul {width: 100%;}
  #gnav nav ul li ul li{margin: 0; width: 100%; height: 2.5rem; background-color: #FFF; overflow: hidden;}
  #gnav nav ul li  ul li a {height: 2.5rem; line-height: 2.5rem; text-align: left; padding-left: 20px; font-size: 100%; color: #666!important; background-color: #FFF; border-bottom: none; overflow: hidden; opacity: 1.0;}
  #gnav nav ul li ul li:last-child {border-bottom: none!important;}
  #gnav nav ul > li:hover > a {background-color: #F5F5F5!important;;}
  #gnav nav ul li:hover ul li{overflow: hidden; height: 2.5rem; opacity: 1.0;}
  #gnav nav  ul  li ul li:hover a {background-color: #F5F5F5!important;}
  #gnav nav .current-menu-item {border-bottom: none; background-color: #F5F5F5; color: #666;}
  #gnav nav .current-menu-parent {background-color: #FFF; color: #666;}

  /*  ヘッダー画像  */
  #mainvisual {width: 100%; min-width: 0; overflow: hidden;}
  #mainvisual #mainvisual-inner { width: 100%!important; }
  #mainvisual #mainvisual-inner #mainvisual-description {width: 100%; overflow: hidden;}
  
  /*  コンテンツ  */
  #containar {width:100%;}
  #contents {float: none; width : 90% ;}
  #post-list  article .joho {margin-top: 10px;}
   
    /*  販売部分  */
  .sale, .sale2 {margin: 0 15%; padding: 10px!important;}
  .sale01{float: none; width: 100%;}
  .sale02{float: none; width: 100%;}
  .sale01 .shousai {padding-left: 1em; line-height: 1.8em; font-size: 86%; }
  .sale02 .name01 { padding: 10px 0 0; font-size: 148%; color: #333; font-weight: bold; display: block}
  .sale02 .name02 { padding: 5px 0 5px; font-size: 148%; color: #C00; font-weight: bold; line-height: 1.2em; display: block}
  .sale02 .name03 { padding: 5px 0 30px; font-size: 85%; color: #007680; font-weight: bold; display: block}
  .sale02 .cost { padding: 5px 0 15px; font-size: 350%; color: #F00; font-weight: bold; display: block}
  .sale02 .tax { font-size: 120%; color: #C00; font-weight: bold; }
  
  /*  フッター  */
  footer {min-width: 0;}
  #footer-inner {width: 90%;}
  #footer-inner2 {width: 90%;}

  table {display: block; width: auto; overflow-x: auto; white-space: nowrap;}
  table::-webkit-scrollbar{ height: 5px;}
  table::-webkit-scrollbar-track{background: #F1F1F1;}
  table::-webkit-scrollbar-thumb {background: #BCBCBC;}
  
}

@media screen and (max-width: 630px) {
  /* コンテンツ内広告表示  */
  .ads-left {float: none; display: none;}
  .ads-right {float: none; text-align: center;}
}

/* ------ ～479px ------ */
@media screen and (max-width: 479px) {
  .alignleft, .alignright {float: none; text-align: center;}
  
  /*  ヘッダー画像  */
  #mainvisual #mainvisual-inner {width: 160%; margin-left: -30%; overflow: hidden;}
  #mainvisual {margin: 0; padding: 0;}
  #mainvisual ul li {width: 100%;}
  #mainvisual ul li:nth-child(2), #mainvisual ul li:last-child{display: none;}
  
  /*  コンテンツ  */
  #containar {width: 100%; margin: 0 auto; overflow: hidden; z-index: 20;}
  #contents {;width: 100%; margin: 0 auto; padding: 20px 0; background-color: #FFF;}

  
  
  blockquote {font-size: 90%;}
  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;}
  .main-title {font-size: 128%;}
  .post-title {font-size: 128%;}
  .doc {padding: 20px 5%;}
  
  .themes-show .theme-list {width: 50%;}
 
  
/* ------ 投稿リスト表示 ------ */
  #post-list  article{padding: 5px;}
  #post-list  article h4 a {padding: 0 5px;}
  #post-list  article p {padding: 0 5px;}

/* SNSシェアボタン  */
  ul#sns_btn{width:100%;}
  ul#sns_btn li a {font-size: 85%;}
  
  
  /*  フッター  */
  #footer-inner {width: 100% ;margin: 0 ;padding: 0; border-top: 1px solid #C06;}
  #footer-inner nav{text-align: left; margin: 0; padding: 10px 0 0;}
  #footer-inner nav ul li {width: 100%; padding: 0!important; text-align: left; display: block; border: none; border-bottom: 1px solid #CCC;}
  #footer-inner nav ul li {border-left: none;}
  #footer-inner nav ul li a{display: block; padding: 10px!important; line-height: 1.5em; font-size: 100%; text-decoration: none;}
  #footer-inner nav ul li a:hover{text-decoration: none;}
  .footer-wrapper h4 {background-color: #CCC; margin: 0!important; padding: 15px 0!important;}
  .footer-wrapper {width: 100% ; margin: 0; padding: 0;}
  .footer-wrapper ul {margin: 0!important;}
  .footer-wrapper ul li {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 {width: 100%; padding: 0!important;}
  #footer-inner2 h4 {padding: 0.4em 0 0.4em 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 .rank-post {margin: 0 auto; width: 90%!important;}
  #footer-inner2 .tagcloud  {margin-top: 10px;}
  
  /*  販売部分  */
  .sale, .sale2 {margin: 0 2%; padding: 10px!important;}
  .sale01{float: none; width: 100%;}
  .sale02{float: none; width: 100%;}
  .sale01 .shousai {padding-left: 1em; line-height: 1.8em; font-size: 86%; }
  .sale02 .name01 { padding: 10px 0 0; font-size: 148%; color: #333; font-weight: bold; display: block}
  .sale02 .name02 { padding: 5px 0 5px; font-size: 148%; color: #C00; font-weight: bold; line-height: 1.2em; display: block}
  .sale02 .name03 { padding: 5px 0 30px; font-size: 85%; color: #007680; font-weight: bold; display: block}
  .sale02 .cost { padding: 5px 0 15px; font-size: 350%; color: #F00; font-weight: bold; display: block}
  .sale02 .tax { font-size: 120%; color: #C00; font-weight: bold; }
  
  .at-post-list  {display: inline-block; vertical-align: top; width: 96%; height: auto; margin: 10px 0 0; padding: 0; overflow: hidden;}
  
  #suisen {margin: 10px auto; width: 100%;}
  #suisen .suisen-left {display: block; padding-bottom: 15px; width: 100%; text-align: center;}
  #suisen .suisen-right {display: block; vertical-align: top; padding-left: 0; width : 100%;}
  
}
