/* Style for PCs */
@media screen and (min-width: 1025px) {
  /*-----------------------------------------------------------------*/
  /* Stock */
  /*-----------------------------------------------------------------*/
  #stnlist {
    display: flex;
    flex-wrap: wrap;
  }
  #stnlist a.partslist {
    width: 18%;
    height: auto;
    display: block;
    float: left;
    margin: 1%;
    margin-bottom: 20px;
  }
  #stnlist a.partslist {

    display: block;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    border-bottom: 5px solid #333;
  }
  #stnlist a.partslist img.stnimg {
    width: 100%;
    height: auto;
    display: block;
  }
  #stnlist a.partslist .stnbox {
    width: auto;
    height: auto;
    display: block;
    padding: 4% 8%;
  }
  #stnlist a.partslist .stnbox h2 {
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    color: #222;
    padding: 0;
    border-bottom: 1px solid #222;
    margin-bottom: 5px;
  }
  #stnlist a.partslist .stnbox h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h3.partsname {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h4 {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 3px;
    min-height: 2.8em;
    color: #666;
    min-height: 45px;
  }
  #stnlist a.partslist .stnbox dl {
    margin-bottom: 10px;
  }
  #stnlist a.partslist .stnbox dl dt {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #666;
    width: 40%;
    height: 20px;
    display: block;
    float: left;
  }
  #stnlist a.partslist .stnbox dl dd {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #333;
    width: 100%;
    height: 20px;
    display: block;
    border-bottom: 1px dotted #666;
    padding-left: 45%;
    text-align: right;
  }
  #stnlist a.partslist .stnbox p.stn_price {
    font-size: 12px;
    line-height: 40px;
    text-align: right;
    width: 60%;
    height: 40px;
    display: block;
    float: right;
    margin: 0 !important;
    color: #990000;
  }
  #stnlist a.partslist .stnbox p.stn_price strong {
    font-size: 20px;
    line-height: 40px;
    text-align: right;
  }
  #stnlist a.partslist .stnbox img.stnic {
    width: auto;
    display: block;
    float: left;
  }
}
/* Style for TabletPCs */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  /*-----------------------------------------------------------------*/
  /* Stock */
  /*-----------------------------------------------------------------*/
  #stnlist {
    display: flex;
    flex-wrap: wrap;
  }

	
  #stnlist a.partslist {
    width: 23%;
    height: auto;
    display: block;
    float: left;
    margin: 1%;
    margin-bottom: 20px;
  }	
	
  #stnlist a.partslist {

    display: block;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    border-bottom: 5px solid #333;
  }
  #stnlist a.partslist img.stnimg {
    width: 100%;
    height: auto;
    display: block;
  }
  #stnlist a.partslist .stnbox {
    width: auto;
    height: auto;
    display: block;
    padding: 4% 8%;
  }
  #stnlist a.partslist .stnbox h2 {
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    color: #222;
    padding: 0;
    border-bottom: 1px solid #999;
    margin-bottom: 5px;
  }
  #stnlist a.partslist .stnbox h3 {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h3.partsname {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h4 {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 3px;
    min-height: 2.8em;
    color: #666;
    min-height: 45px;
  }
  #stnlist a.partslist .stnbox dl {
    margin-bottom: 10px;
  }
  #stnlist a.partslist .stnbox dl dt {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #666;
    width: 40%;
    height: 20px;
    display: block;
    float: left;
  }
  #stnlist a.partslist .stnbox dl dd {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #333;
    width: 100%;
    height: 20px;
    display: block;
    border-bottom: 1px dotted #666;
    padding-left: 45%;
    text-align: right;
  }
  #stnlist a.partslist .stnbox p.stn_price {
    font-size: 12px;
    line-height: 40px;
    text-align: right;
    width: 60%;
    height: 40px;
    display: block;
    float: right;
    margin: 0 !important;
    color: #990000;
  }
  #stnlist a.partslist .stnbox p.stn_price strong {
    font-size: 20px;
    line-height: 40px;
    text-align: right;
  }
  #stnlist a.partslist .stnbox img.stnic {
    width: auto;
    display: block;
    float: left;
  }
  .cls {
    display: none;
  }
  #stock-menu-smp {
    display: none;
  }
}
/* Style for TabletPCs */
@media screen and (min-width: 481px) and (max-width: 768px) {
  /*-----------------------------------------------------------------*/
  /* Stock */
  /*-----------------------------------------------------------------*/

	
	
  #stnlist a.partslist {
   width: 47.8%;
    height: auto;
    display: block;
    float: left;
   margin: 1%;
    margin-bottom: 20px;
  }	
	
	
	
	
  #stnlist {
    display: flex;
    flex-wrap: wrap;
  }
  #stnlist a.partslist {

    display: block;
    background-color: #fff;
    box-shadow: 0px 0px 10px #ccc;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    overflow: hidden;
    text-decoration: none;
    border-bottom: 5px solid #333;
  }
  #stnlist a.partslist img.stnimg {
    width: 100%;
    height: auto;
    display: block;
  }
  #stnlist a.partslist .stnbox {
    width: auto;
    height: auto;
    display: block;
    padding: 4% 8%;
  }
  #stnlist a.partslist .stnbox h2 {
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    color: #222;
    padding: 0;
    border-bottom: 1px solid #222;
    margin-bottom: 5px;
  }
  #stnlist a.partslist .stnbox h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h3.partsname {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h4 {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 3px;
    min-height: 2.8em;
    color: #666;
  }
  #stnlist a.partslist .stnbox dl {
    margin-bottom: 10px;
  }
  #stnlist a.partslist .stnbox dl dt {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #666;
    width: 40%;
    height: 20px;
    display: block;
    float: left;
  }
  #stnlist a.partslist .stnbox dl dd {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #333;
    width: 100%;
    height: 20px;
    display: block;
    border-bottom: 1px dotted #666;
    padding-left: 45%;
    text-align: right;
  }
  #stnlist a.partslist .stnbox p.stn_price {
    font-size: 12px;
    line-height: 40px;
    text-align: right;
    width: 60%;
    height: 40px;
    display: block;
    float: right;
    margin: 0 !important;
    color: #990000;
  }
  #stnlist a.partslist .stnbox p.stn_price strong {
    font-size: 20px;
    line-height: 40px;
    text-align: right;
  }
  #stnlist a.partslist .stnbox img.stnic {
    width: auto;
    display: block;
    float: left;
  }
  .cls {
    display: none;
  }
  #stock-menu-smp {
    display: none;
  }
  /* Container DIV */
  .simply-scroll {
    width: 100%;
    height: 200px;
  }
  /* Clip DIV */
  .simply-scroll .simply-scroll-clip {
    width: 100%;
    height: 200px;
  }
  /* Explicitly set height/width of each list item */
  .simply-scroll .simply-scroll-list li {
    float: left; /* Horizontal scroll only */
    width: 355px;
    height: 200px;
  }
  .simply-scroll .simply-scroll-list li img {
    width: 100%;
    height: auto;
    display: block;
  }
  .linebox02 {
    width: 98%;
    height: auto;
    display: block;
    float: left;
    box-shadow: 0px 0px 10px #999;
    padding: 3%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    margin: 1% 1% 20px;
  }
  .linebox02 p {
    margin-bottom: 0 !important;
  }
  /* Shop information */
  #pdsm {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
  }
  #pbsm-body {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 60px 5%;
    display: flex;
    flex-wrap: wrap;
  }
  .pbsn_title {
    width: 100%;
    height: 50px;
    display: block;
  }
  #pbsm-body .pbsn_title h2 {
    font-family: 'Open Sans Condensed', sans-serif;
    display: block;
    font-size: 22px;
    font-weight: 400;
    line-height: 50px;
    color: #fff;
    letter-spacing: 5px;
    width: 50%;
    height: 50px;
    padding: 0 20px;
    float: left;
  }
  #pbsm-body .pbsn_title p {
    width: 100%;
    height: 50px;
    display: block;
    text-align: right;
    float: right;
  }
  #pbsm-body .pbsn_title p a {
    width: 100%;
    height: 50px;
    display: block;
    color: #990000;
    text-decoration: none;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 50px;
    padding-right: 20px;
  }
  #pbsm-body .pbsn_title p a:hover {
    color: #990000;
  }
  #pbsm-body .pbsm0mm {
    width: 50%;
    height: auto;
    display: block;
    float: left;
    padding: 1px;
  }
  #pbsm-body .pbsm0mm .pbsm0_sin {
    width: auto;
    height: auto;
    display: block;
    text-decoration: none;
    background-color: #111;
    padding: 20px;
  }
  #pbsm-body .pbsm0mm .pbsm0_sin1 {
    width: auto;
    height: auto;
    display: block;
    text-decoration: none;
    background-color: #000;
    padding: 20px;
    border: 1px solid #990000;
  }
  #pbsm-body .pbsm0mm h3 {
    font-size: 14px;
    line-height: 1.3em;
    font-weight: bold;
    margin-bottom: 3px;
    color: #fff;
  }
  #pbsm-body .pbsm0mm h3 a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }
  #pbsm-body .pbsm0mm p {
    color: #ddd;
    font-size: 8pt;
    line-height: 1.4em;
  }
  #pbsm-body .pbsm0mm a {
    color: #990000;
  }
  #pbsm-body .pbsm0mm a:hover {
    color: #990000;
    text-decoration: underline;
  }
  /* 基本 */
  #msp {
    width: 100%;
    height: auto;
    display: block;
  }
  #mmcc {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0 auto;
  }
  #mmcc_na {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0 auto;
  }
  #mmtable {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
    margin: 0 auto;
  }
  #mmleft {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px dotted #999;
  }
  #mmright {
    width: 100%;
    height: auto;
    display: block;
    padding: 50px 5% 50px;
  }
  .mmbody {
    width: 100%;
    height: auto;
    display: block;
    padding: 50px 3%;
  }
  /*------------------------------------------------------------------------*/
  /* サイドメニュー*/
  #mmright h3 {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    color: #990000;
  }
  #mmright ul {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 40px;
  }
  #mmright ul li {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px dotted #666;
    font-size: 12px;
    line-height: 1.5em;
  }
  #mmright ul li a {
    width: 100%;
    height: auto;
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 10px;
  }
  #mmright ul li a:active {
    color: #fff;
    background-color: #990000;
  }
  /* サイドメニュー ウィジェット */
  #mmright li.widget-container {
    border-bottom: none;
  }
  #mmright li.widget-container ul li {
    border-bottom: none;
  }
  #mmright li.widget_categories a, #mmright li.widget_recent_entries a, #mmright li.widget_archive a {
    border-bottom: 1px dotted #666;
  }
  #mmright li.widget_calendar a {
    padding: 0;
  }
  #mmright ul.children {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    text-indent: 1em;
  }
  /*------------------------------------------------------------------------*/
  /* 納車ブログ（一覧）　*/
  ul#uv-list {
    display: flex;
    flex-wrap: wrap;
  }
  #uv-list li {
    display: block;
    float: left;
    height: auto;
    width: 50%;
  }
  #uv-list li a {
    /*    border-radius: 5px;*/
    display: block;
    height: auto;
    margin: 5px;
    padding: 10px;
    text-decoration: none;
    width: auto;
    text-decoration: none;
  }
  #uv-list li a:hover {
    background-color: #990000;
  }
  #uv-list li a img {
    width: 100%;
    height: auto;
    display: block;
  }
  #uv-list li p {
    height: auto;
    line-height: 1.5em !important;
    margin: 5px 0 0 !important;
    width: auto;
    color: #fff;
  }
  /*------------------------------------------------------------------------*/
  /* ブログ（一覧）　*/
  #archivelist li {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px dotted #666;
  }
  #archivelist li a {
    width: 100%;
    height: auto;
    display: block;
    text-decoration: none;
    padding: 20px;
  }
  #archivelist li a:active {
    background-color: #f0f0f0;
  }
  #archivelist li a img {
    width: 30%;
    height: auto;
    display: block;
    float: left;
  }
  #archivelist li a .alm {
    width: 70%;
    height: auto;
    display: block;
    float: right;
    padding: 0px 0px 0px 35px;
  }
  #archivelist li a .alm h2 {
    font-size: 18px;
    font-weight: normal;
    line-height: 1.5em;
    margin-bottom: 5px;
    color: #fff;
  }
  #archivelist li a .alm p {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5em;
    color: #fff;
  }
  /*------------------------------------------------------------------------*/
  /* ブログ記事 */
  #postdetail {
    width: 100%;
    height: auto;
    display: block;
    padding: 20px 2%;
  }
  #blogtitle0 {
    width: 100%;
    height: auto;
    display: block;
    padding: 0px 0px 15px 10px;
    border-bottom: 2px solid #666;
  }
  #blogtitle0 h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5em;
    color: #fff;
    margin-bottom: 5px;
  }
  #blogtitle0 .btm0 {
    width: 100%;
    height: auto;
    display: block;
    padding: 5px;
    text-align: right;
  }
  #blogtitle0 .btm0 p {
    font-size: 12px;
    line-height: 1.5em;
    color: #999;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    float: left;
    margin-right: 10px;
  }
  #blogtitle0 .btm0 p strong {
    font-size: 0.8em;
    line-height: 1.5em;
    color: #990000;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
  }
  #postbody {
    width: 100%;
    height: auto;
    display: block;
    padding: 30px 2%;
  }
  #postbody .imgfr {
    width: 40%;
    float: right;
    margin: 0 0 1em 3em;
  }
  #postbody .imgfl {
    width: 30%;
    float: left;
    margin: 0 3em 1em 0;
  }
  /*stock menu*/
  #stock-menu-pc, #stock-menu-smp {
    margin-bottom: 2%;
  }
  ul.flex-box {
    background-color: #343434;
    display: -webkit-flex;
    display: flex;
  }
  .flex-box li {
    text-align: center;
    -webkit-flex: 1 1 0;
    flex: 1 1 0;
  }
  .flex-box li a {
    border-bottom: 1px dotted #666;
    border-right: 1px dotted #666;
    color: #fff;
    display: block;
    font-size: 12px;
    height: 40px;
    line-height: 40px;
    text-decoration: none;
    width: 100%;
  }
  .flex-box li a:hover {
    background-color: #990000;
    color: #fff;
  }
  .bbn li a {
    border-bottom: none;
  }
  .flex-box li a.brn {
    border-right: none;
  }
  #stnlist a.partslist .stnbox p.stn_price {
    color: #990000;
  }
  a.show-txt span.en {
    display: inline;
  }
  /*a.show-txt:hover span.en {
	display: none;
}*/
  a.show-txt span.jp {
    display: none;
  }
  /*a.show-txt:hover span.jp {
	display: inline;
	color: #fff;
}*/
  .select-page {
    background-color: #990000;
  }
  ul.flex-box li.select-page a.show-txt {
    color: #FFFFFF;
  }
  #stock-menu-pc ul.flex-box {
    background-color: #343434;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }
  #stock-menu-pc ul.flex-box li {
    float: left;
  }
  #stock-menu-pc ul.flex-box li.fbmc {
    text-align: center;
    width: 100%;
    height: 40px;
    display: block;
  }
  #stock-menu-pc ul.flex-box li.fbmc1 {
    text-align: center;
    /*width:16.6666667%;*/
    width: 20%;
    height: 40px;
    display: block;
    float: left;
  }
}
/* Style for Smartphonea */
@media screen and (max-width: 480px) {
  /*-----------------------------------------------------------------*/
  /* Stock */
  /*-----------------------------------------------------------------*/
  #stnlist {
    display: flex;
    flex-wrap: wrap;
  }
  #stnlist a.partslist {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 20px;

    
  }
  #stnlist a.partslist {

    display: block;
   /* background-color: #fff;*/
    overflow: hidden;
    text-decoration: none;
 
  }
	
  #stnlist a.partslist .a-inner{

 background-color: #fff;
	

	  margin-bottom: 20px;
  }
	
	
  #stnlist a.partslist .border-b{
	  border-bottom: 1px solid #999;
	  }
  #stnlist a.partslist img.stnimg {
    width: 25%;
    height: auto;
    display: block;
    float: left;
  }
  #stnlist a.partslist .stnbox {
    width: 70%;
    height: auto;
    display: block;
    padding: 0;
    float: right;
	  padding: 0 20px 20px 20px;
  }
  #stnlist a.partslist .stnbox h2 {
    font-size: 12px;
    line-height: 1.4em;
    font-weight: bold;
    color: #222;
  }
  #stnlist a.partslist .stnbox h3 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4em;
    color: #333;
  }
  #stnlist a.partslist .stnbox h3.partsname {
    font-size: 12px;
    font-weight: bold;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #333;
  }
  #stnlist a.partslist .stnbox h4 {
    font-size: 0.9em;
    font-weight: normal;
    line-height: 1.4em;
    margin-bottom: 5px;
    color: #666;
  }
  /*
#stnlist a.partslist .stnbox dl {
	display: none;
}
#stnlist a.partslist .stnbox dl dt {
	display: none;
}
#stnlist a.partslist .stnbox dl dd {
	display: none;
}
*/
  #stnlist a.partslist .stnbox dl {
    margin-bottom: 10px;
  }
  #stnlist a.partslist .stnbox dl dt {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #666;
    width: 40%;
    height: 20px;
    display: block;
    float: left;
  }
  #stnlist a.partslist .stnbox dl dd {
    font-size: 0.8em;
    line-height: 20px;
    font-weight: normal;
    color: #333;
    width: 100%;
    height: 20px;
    display: block;
    border-bottom: 1px dotted #666;
    padding-left: 45%;
    text-align: right;
  }
  #stnlist a.partslist .stnbox p.stn_price {
    font-size: 12px;
    line-height: 40px;
    text-align: right;
    width: 60%;
    height: 30px;
    display: block;
    float: right;
    margin: 0 !important;
    color: #990000;
  }
  #stnlist a.partslist .stnbox p.stn_price strong {
    font-size: 20px;
    line-height: 30px;
    text-align: right;
	  
	  
	  
  }
  #stnlist a.partslist .stnbox img.stnic {
    width: auto;
    display: block;
    float: left;
  }
  #stock-menu-pc {
    display: none;
  }
}