

@media screen and (min-width: 641px) {

#container #list_simplepage2{margin: 0;
padding-right: 160px;
position: relative;}


h2.akiya-title{background: url("/images/akiya/akiya_top.jpg") no-repeat 0px 0px;
width: 763px;
height: 260px;
text-indent: -9999px;
display: block;
margin-bottom:10px;}

#akiya_top_wid{
float:left;
width:460px;
height:160px;}

#left_bcon{float:left;
           margin:25px 10px 0 5%;
           width:260px;}

#akiya_top_wid h3{
text-align:left;
width:90%;
border-left:4px solid #fff;
font-size: 16px;
margin: -1px -1px -5px;
padding: 5px 0px 0px 40px;
font-weight: normal;
background-image: url(/images/menu_bar.gif);
background-repeat: no-repeat;
}

#akiya_top_wid h3 img{position: absolute;
left: 250px;}


#akiya_top_wid ul{text-align:left;
overflow: auto;
height: 100px;
margin: 11px 0;
width: 100%;
padding-top:5px;
}

#akiya_top_wid li{
list-style: none;
padding-left: 35px;
font-size:10pt;
}


#akiya_top2_wid{
float:left;
margin-left:5%;
width:260px;
height: 390px;
background: #fff;
border: 1px solid #9acd32;
border-radius: 5px;
padding: 10px; }

#akiya_top2_wid h3{
text-align:left;
width:210px;
border-left:4px solid #fff;
font-size: 16px;
margin: -1px -1px -5px;
padding: 5px 0px 0px 40px;
font-weight: normal;
background-image: url(/images/menu_bar.gif);
background-repeat: no-repeat;
}

#akiya_top2_wid .textwidget{
text-align:left;
overflow: auto;
height: 340px;
margin-top: 11px;
width: 96%;
padding-left:5px;
padding-right:5px;
padding-top:5px;
font-size:10pt;
}



.clear_top_akiya{clear:both;}

#akiya_top3_wid{width:780px;
                display:block;
                margin-top:10px;}


.j_map{background-image: url(/images/akiya/j_map.gif);
background-repeat: no-repeat;
background-position: 0 0;
display:block;position: relative;
width: 460px;
height: 450px;
border: 1px solid white;
z-index:10;
font-size:9pt;
float:left;}

.j_map ul{width:38px;
display:block;
          }


.j_map ul li{float: left;
width: 36px;
height: 18px;
margin: 1px 1px 1px 1px;
text-align:center;
background-color:#fff;
border-radius: 4px;
display:block;
}

.j_map ul li a{color:#6b8e23;
text-decoration: none;
display:block;}

.j_map ul li  a:link { color:#6b8e23; }

.j_map ul li  a:visited { color:#000; }

.j_map ul li  a:hover, a:active { color:#ff0000;
								text-decoration: underline;
								background-color:#f3ffd8; }



ul.hokkaido{ position:absolute;
          left: 375px;
          top: 20px;
          padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}


ul.tohoku{
       position:absolute;
       left: 325px;
       top: 130px;
       padding: 3px 1px 3px 1px;
       list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;
       width: 76px;}


ul.kanto{
       position:absolute;
       left: 320px;
       top: 235px;
       padding: 3px 1px 3px 1px;
          background-color:#FFCC33;
	      border-radius: 8px;
       list-style: none;}

ul.hokuriku{
       position:absolute;
       left: 215px;
       top: 65px;
       padding: 3px 1px 3px 1px;
       list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}

ul.tokai{left: 220px;
       top: 323px;
       padding: 3px 1px 3px 1px;
       position:absolute;
       list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;
       width: 76px;}
          

ul.kinki{
       position:absolute;
       left: 152px;
       top: 110px;
       padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}
          

ul.chugoku{
       position:absolute;
       left: 85px;
       top: 157px;
       padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}
          

ul.shikoku{
       position:absolute;
       left: 120px;
       top: 345px;
       padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;
          width:76px;}
          
          
ul.kyushu{
       position:absolute;
       left: 15px;
       top: 237px;
       padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}
          
          
ul.okinawa{
       position:absolute;
       left: 15px;
       top: 90px;
       padding: 3px 1px 3px 1px;
          list-style: none;
          background-color:#FFCC33;
	      border-radius: 8px;}


/* カスタム部分（県別空き家バンク紹介） */

table#akiya_ken{margin:0;
                padding:0;
                border-collapse: separate;
                border-spacing: 0;}
                
table#akiya_ken tr{margin:0;
vertical-align: top;
                padding:0;}

table#akiya_ken td{
vertical-align: top;
line-height: 1.0;
padding: 0.5em;
margin: 0;
white-space: normal;
}

#akiya_ken td#ak_k_1{}
								
#akiya_ken td#ak_k_2{border-top:solid #ccc 1px;
					  border-bottom:solid #ccc 1px;}

#akiya_ken td#ak_k_2 img{max-width:200px;
                         max-height:150px;}
								
#akiya_ken td#ak_k_3{ border-bottom:solid #ccc 1px;
                      width:auto;}

#akiya_ken td#ak_k_3 img{max-width:200px;
                         max-height:150px;}
								
#akiya_ken td#ak_k_4{ border-bottom:solid #ccc 1px;
                      padding-top:15px;
                      font-size:10pt;
                      width:300px;}
								
#akiya_ken td#ak_k_5{ border-bottom:solid #ccc 1px;
					  text-align:center;}
								
#akiya_ken td#ak_k_6{ border-bottom:solid #ccc 1px;
					  border-right:solid #ccc 1px;
					   text-align:center;}
								

#city_list{width:680px;
           margin-left:50px;}
           
#ak_biko{font-size:10pt;
         width:690px;
         margin-left:60px;}

#kub_ken_ss{
  background-image: url("/images/shop/shop_bukken.gif");
  background-repeat: no-repeat;
  background-color: #FFF;
  background-size: 100%;
  border: none;
  width: 100%;
  padding-top: 18.5%;
  text-align: center;
  display: block;
  font: 0/0 a;
  text-shadow: none;
  color: rgba(0, 0, 0, 0);}


}


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

#akiya_ken td#ak_k_1{margin-top:10px;}

#akiya_ken td{width:100%;
              display:block;}

#img_fl{width:100%;
        }

#img_fl img{width:90%;
            max-width:200px;}

#akiya_ken td#ak_k_3{ width:auto;
                      display:block;
                      text-align:center;}

								
#akiya_ken td#ak_k_4{ width:auto;
                      display:block;
                      font-size:9pt;
                      padding:2px 8% 2px 8%;}
								
#akiya_ken td#ak_k_5{ width:auto;
                      display:block;
                      text-align:center;
                      border-bottom:2px solid #ccc;}

#kub_ken_ss{
  background-image: url("/images/shop/shop_bukken.gif");
  background-repeat: no-repeat;
  background-color: #FFF;
  background-size: 100%;
  border: none;
  width: 100%;
  max-width:272px;
  padding-top: 18.5%;
  text-align: center;
  font: 0/0 a;
  text-shadow: none;
  color: rgba(0, 0, 0, 0);}

}

