
html {
	min-width: 250px;
	overflow-y: scroll;
}

body {
	-webkit-text-size-adjust: 90%;
	width: 100%;
}

body:before {
	background: url(images/bg_nn_sp.jpg) center no-repeat;
	background-size: cover;
	content: "";
	display: block;
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	-webkit-text-size-adjust: 90%;
	width: 100%;
	z-index: -1;
}

div.df,
span.df {
	display: none;
}

span.sp,
div.sp {
	display: inline;
}

h2.img {
	padding-bottom: 10px;
	text-align: center;
}

p {
	line-height: 1.8em;
}

p.spjustify {
	text-align: justify;
}

span.link-btn a,
span.link-btn-prev a,
span.link-btn-next a,
span.link-btn-w a,
div.page a.next,
div.page a.prev,
div.body a.link-btn,
a.link-btn,
a.link-btn-prev,
a.link-btn-w {
	display: block;
	margin: 5px 0px;
	padding: 10px 20px;
	text-align: center;
	width: auto;
}

a.link-btn {
	font-size: 100%;
}

ul.list li {
	background-position: 5px 16px;
	line-height: 1.5em;
	padding: 8px 0px 8px 22px;
}

.spwideimg {
	height: auto;
	width: 100%;
}

ul.photos li {
	display: block;
	margin: auto;
	width: auto;
}

ul.photos li img {
	height: auto;
	width: 100%;
}

ul.photos li.c {
	padding: 5px 0px;
}

/***********************************************************************/
table.list-table th {
	font-size: 85%;
	padding: 10px 15px;
	white-space: nowrap;
	width: auto;
}

table.list-table td {
	padding: 10px 15px;
}

ul.photos {
	margin: 0px auto;
	width: 100%;
}

ul.photos li {
	display: inline-block;
	padding: 5px 2%;
	width: 46%;
}

ul.photos li img {
	height: auto;
	width: 100%;
}

/***********************************************************************/
div.works-list ul li {
	margin: 0px;
	padding: 5px 2%;
	width: 46%;
}

div.works-list ul li a {
	width: 100%;
}

div.works-list ul li a img {
	height: auto;
	max-width: 242px;
	width: 100%;
}

/***********************************************************************/
#header {
	height: auto;
	padding: 15px 20px 20px 20px;
}

#header div.logo {
	text-align: right;
	width: auto;
}

#header div.logo img {
	height: auto;
	max-width: 120px;
	width: 100%;
}

#header h1 {
	background-image: none;
	border-bottom: 3px dotted white;
	color: white;
	font-size: 35px;
	margin-top: -5px;
	padding: 10px 0px;
	text-align: center;
}

#header h1 span {
	display: block;
	margin: -5px 0px 0px 0px;
}

#container {
	padding: 30px 20px 70px 20px;
	width: auto;
}

#footer {
	padding: 0px;
	text-align: center;
	width: 100%;
}

#footernav {
	border-bottom: none;
	border-top: 1px solid white;
	padding: 0px;
	width: 100%;
}

#footernav li {
	border-bottom: 1px solid white;
	border-left: none;
	border-right: none;
	display: block;
	padding: 0px;
}

#footernav li a {
	background: #ef9800 url(images/footernav_sp_li.png) no-repeat right 15px center;
	border: none;
	color: white;
	display: block;
	font-size: 100%;
	padding: 10px 0px;
	text-decoration: none;
}

#footer h3,
#footer p#footer-tel,
 #footer p#footer-fax,
  #footer p#footer-open {
	text-align: center;
}

#footer p#footer-tel a {
	font-weight: bold;
	text-decoration: none;
}

 #footer p#footer-open {
	padding-top: 10px;
}

#copyright {
	text-align: center;
}

#pagetop a {
	border-radius: 0;
	height: 80px;
	position: static;
	text-align: center;
	width: auto;
}

