@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);



body {
		 font-family: 'Noto Sans JP', sans-serif;
		 font-size: 85%;
}
body,div,pre,p,blockquote,
form,
dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,
embed,object {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	/*font-size: 100.01%;*/
}

body {
	background: #eee;
	color: #333333;
}
h1 {

	font-size: 200%;
	text-align: center;
	padding: 20px;
}
h1 a {
	color: #444;
	text-decoration: none;
}
h1 a:hover {
	color: #888;
	text-decoration: underline;
}
h2 {
	font-size: 200%;
	margin-bottom: 0.5em;
	margin-left: 5%;
  margin-right: 5%;
}

h3 {
	 border-bottom: 2px solid #ccc;
	 font-size: 120%;
	 margin: 0 0 5px;
	 padding: 5px 0;
	 line-height: 30px;
	 margin-left: 5%;
   margin-right: 5%;

}

p {
	margin-bottom: 1em;
margin-left: 5%;
margin-right: 5%;
}



.clearfix:before,
.clearfix:after {
    content:"";
    display:table;
}
.clearfix:after {
    clear:both;
}
.clearfix {
    zoom:1;
}

#article {
	background: #fff;
	padding: 60px;
	height: 2000px;
	margin: 0 auto 60px;
	width: 680px;
}
#page-top {
	text-align: right;
	margin-top: 20px;
}
#page-top a {
	color:#666;
	text-decoration: none;
}
#page-top a:hover {
	text-decoration: underline;
}


/* ======================================== */
.nav {
	padding: 0 20px;
	margin: 0 auto 60px;
	width: 760px;
	font-size: 65%;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #333;
	background: -moz-linear-gradient(top, #666, #333);
	background: -webkit-gradient(linear, left top, left bottom, from(#666), to(#333));
	background: -o-linear-gradient(top, #666, #333);
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
}
.nav li {
	list-style: none;
	float: left;
}
.nav li a {
	text-decoration: none;
	color: #fff;
	padding: 8px 12px;
	display: block;
	width: 100px;
}
.nav li a:hover {
	background: #666;
}

/* サブナビゲーション */
.nav li ul {
	display: none;
	position: absolute;
	font-size: 75%;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
	-webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
	box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.3);
}
.nav li ul li {
	float: none;
}
.nav li ul li a {
	background: #444;
}
.nav li ul li:last-child a {
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}

.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	-o-border-radius: 0;
	z-index: 10000;
}

.address{
	display: block;
}

div{
		margin-left: 5%;
		margin-right: 5%;
		margin-bottom: 20px;
}

.address div{
	margin-left: 0;
	margin-right: 0;
	min-width: 40%;
}

.image{
	max-width: 250px;
}

.toptitle{
	text-align: center;
}



img {
width:auto;
max-width: 100%;
height: auto;
}

#toptext{
  border:solid 5px #3092c0;
  width:300px;
  margin:20px auto;
  border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
  padding:10px;
	height: 150px;
}

.top img {
		max-width: 80%;
width:auto;
height: auto;
}
.toplogo img{
	/*max-width: 70%;*/
	width:auto;
	height: auto;
}
.logo{
	    margin-top: 5px;
			margin-left: 5%;
			margin-bottom: 0;
}

table {
  width: 90%;
  border-spacing: 0 5px;
  /*font-size:14px;*/
}
table th {
  color: #fff;
  padding: 8px 15px;
  background: #258;
  background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%);
  font-weight: bold;
  border-left:1px solid #258;
  border-top:1px solid #258;
  border-bottom:1px solid #258;
  line-height: 120%;
  /*text-align-last: justify;*/
  text-align: center;
  text-shadow:0 -1px 0 rgba(34,85,136,0.9);
	border-right:1px solid #258;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
	border-radius: 5px 0 0 5px;
}

table td {
  padding: 8px 15px;
	width: 60%;
  border-bottom: 1px solid #258;
  text-align: center;
	border-right: 1px solid #258;
	box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(8,8,8,0.3) inset;
	border-radius: 0 5px 5px 0;
}

table tr {
  background: #fff;
}
/*table tr:nth-child(2n+1) {
  background: #f1f6fc;
}*/


.flex{
	display: flex;
	align-items: center;
	margin-top: 20px;

}
.flex2{
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	margin-top: 50px;
}

.desk_img{
	padding-top: 15px;
}

.stock div{
	margin: 0px;
	width: 50%;
	margin-right: 10px;

}

.stock{

 display: flex;
 flex-direction: row;
 color:#222;
 position: relative;
 padding:5px;
 box-shadow: 10px 10px 6px -6px #777;
 margin-right: 20px;
}

.link{
display: block;
position: absolute;
top: 0;
left: 0;
height:100%;
width: 100%;
border:0;
}

.objname {
	border-bottom: none;
}

.pricetag{

	border-bottom: none;
	font-size: 1.7em;
	margin-bottom: 20px;
}


span.senen {
    font-size: 0.7em;
}

.co_name{
	font-size: 2em;
}

.price_color{
	color:rgb(233, 126, 37);
	  font-weight: bold;
}

#price{
	margin-top: 10px;
	margin-bottom:0px;
	/*text-align: center;*/
}

 .topp{
	margin-top: 25px;
}

td:last-child { border-bottom: 1px solid #4f4d47;}

/*ギャラリー部分*/
#photo_container{

}
#photo_container ul{
	display: flex;
	list-style: none;
	flex-wrap:wrap;
}
#photo_container li{
	margin: 10px;
}
#main_photo{
  max-width: 100%;
}

.flex_return{
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-self: flex-end;
}

#back{
	margin: 5px;
	margin-top: 30px;
	margin-right: 20px;
	margin-bottom: 30px;
	width: 80%;
	text-align: right;
}

#back a{
	color: #446e98;
  padding: 8px 15px;
  background: #dbdef4;
  background:-moz-linear-gradient(rgba(34,85,136,0.7), rgba(34,85,136,0.9) 50%);
	border-right:1px solid #258;
  border-left:1px solid #258;
  border-top:1px solid #258;
  border-bottom:1px solid #258;
	text-decoration: none;
  line-height: 120%;
  text-align: center;
  text-shadow:0 -1px 0 #888;
  box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
	border-radius: 5px;

}

.info tr{
	line-height: 1em;
}

.title{
	margin: 0;
	display:flex;
	align-items: baseline;
}
.title p{
	margin: 0;
}

#ggmap{
	margin: 15px;
	margin-right: 30px;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-content {
	margin: 0;
  flex: 1;
}
html {
  height: 100%;
}

footer{
		background-color:#888;
		box-shadow: 2px 2px 1px rgba(0,0,0,0.1),0px 1px 1px rgba(255,255,255,0.3) inset;
		border-radius: 5px;
		text-shadow:0 -1px 0 black;


}

#footer{
	margin-bottom: 0;
	display: flex;
	justify-content: space-around;
	color: #fff;

}

#footer a{
	text-decoration: none;
	color: #fff;
	text-shadow:0 -1px 0 black;
}

h1{
	background: #eee;
text-shadow: 2px 4px 3px rgba(0,0,0,0.3);
}
/*.title h2{
	margin-right: auto;
}*/

#description{

  border: 1px solid #aaa;
	border-radius: 5px;
	margin: 20px;
	  background: #fff;
}

#description p{
		padding: auto;
}

@media (min-width: 950px) {
	.address{
		display: flex;
		justify-content: space-between;
	}
}

@media screen and (max-width: 770px) {
.flex,.title{
	display: block;
}

.title p{
	margin-left: 20px;
}

	.stock{
		display: block;
	}

	.stock div{
		width: auto;
		margin: auto;
	}
	/*#demo01 table { width: 100%; border:none; padding: 10px;margin-top: 0;}
	#demo01 thead { display: none;}
	#demo01 th {
	    border-top: 1px solid #4f4d47;
	    display: block;
			padding: 2px;

	}
	#demo01 td {
	    border : 1px solid #4f4d47;
	    display: block;
	    padding: 2px;
	}*/
	/* tdのデザイン */
/*#demo01 td:nth-of-type(1) { background-color: #61c5bb; color: #fff;}*/
/*#demo01 td:last-child { border-bottom: 1px solid #4f4d47;}*/

/*td:beforeのデザイン*/
/*#demo01 td:before {
    background-color:  #61c5bb;
    color: #4f4d47;
    display: block;
}*/

/* contentでタイトルを追加 */
/*#demo01 td:nth-of-type(1):before { content: "年式";}
#demo01 td:nth-of-type(2):before { content: "距離";}
#demo01 td:nth-of-type(3):before { content: "排気量";}
#demo01 td:nth-of-type(4):before { content: "車検";}
#demo01 td:nth-of-type(5):before { content: "修復歴";}*/

}
