body.subhome{
 background-color:#ffffcc;
 color:#000000;
}

.bgWhite{
 background-color:#ffffff;
}

/*背景色*/
.conttd1{ background-color:#fff0f5;}
.conttd2{ background-color:#e0ffff;}

/*hr で影なし 幅5*/
hr.noshade5{
 border: 0 none;
 height:5px ;
 color: #a9a9a9;
 background-color:#a9a9a9;
}

@media screen and (min-width:640px){
 /* for PC*/

 div#title{width:417px;}

 img.titlepc{
  width: 417px;
  height:160px;
 }

 table#menu{
  width:600px;
 }

 table#menu td.leftp{width:200px;}
 table#menu td,rightp{width:600px;}

 img.btn{width:100px;heigt:38px;}

 table#inmenu{
  width:400px;
  background-color:#fffff0;
 }

 table#inmenu td{width:400px;height:50px;}

}

@media screen and (max-width:640px){
/* for smart phone or Tablet device*/

 div#title{width:60vw;}

 img.titlepc{
  width:60vw;
  height:auto;
  max-width: 417px;
  max-height:160px;
 }

 table#menu{
  width:90vw;
  max-width:600px;
 }

 table#menu td.leftp{width:30vw; max-width:200px;}
 table#menu td.rightp{width:60vw; max-width:400px;}

 img.btn{width:90%; height:auto; max-width:100px;max-heigt:38px;}

 table#inmenu{
  width:60vw;
  max-width:400px;
  background-color:#fffff0;
 }

  table#inmenu td{width:60vw;max-width:400px;height:auto;}
}

/*100px以下の幅をもったブロック要素を中央へ*/
.endcentBlock{
 width: 100px;
 margin: 0 auto; 
}