
body {
	max-width: 480px;
	min-width: 380px;
	-webkit-text-size-adjust: 90%;
}

.df {
	display: none;
}

.sp {
	display: inline;
}

div.sp {
	display: block;
}

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

h2.img {
	background-image: none;
	border-bottom: 6px solid #aa000a;
	font-size: 23px;
	line-height: 1.5em;
	padding: 10px 0;
}

h2.subtitle {
	padding: 40px 0 30px 0;
}

h2.subtitle strong {
	display: block;
	font-size: 32px;
	line-height: 1.5em;
}

h2.subtitle em {
	margin: 0;
}

h3.point {
	padding: 20px 0;
}

h3.point em {
	display: inline-block;
	font-size: 22px;
}

p.spjustify {
	text-align: justify;
}

/***********************************************************************/
table.list-table th {
	border: none;
	display: block;
	margin-top: 15px;
	padding: 10px 0;
	width: auto;
}

table.list-table td {
	border-top: none;
	display: block;
	padding: 10px 15px 15px 15px;
	text-align: center;
}

table.list-table tr.header th,
table.list-table tr.header td {
	background-color: #797979;
	color: black;
}

/***********************************************************************/
table.form-table {
	border-top: 0;
}

table.form-table tr {
	display: block;
	position: relative;
}

table.form-table th {
	border-bottom: 0;
	border-top: 1px dotted white;
	display: block;
	font-size: 100%;
	font-weight: bold;
	padding: 15px 0 5px 5%;
	text-align: left;
	width: 95%;
}

table.form-table td {
	border: none;
	clear: both;
	display: block;
	line-height: 1.5em;
	padding: 10px 10px  30px 10px;
}

table.form-table td.m {
	border: none;
	display: block;
	float: right;
	height: 30px;
	padding: 0;
	padding-top: 10px;
	position: absolute;
	right: 10px;
	top: 5px;
	width: 30px;
}

table.form-table td.m span {
	display: table-cell;
	font-size: 12px;
	line-height: 1em;
	vertical-align: middle;
}

table.form-table td table th {
	background-color: white;
	color: #88724f;
	display: inline-block;
	padding: 5px 20px;
	text-align: right;
	white-space: nowrap;
	width: 30%;
}

table.form-table td table td {
	display: inline-block;
	padding: 5px 0 10px 0;
}

table.form-table td input.size500 {
	width: 100%;
}

table.form-table td input.size300 {
	width: 100%;
}

input {
	margin: 0;
}

textarea {
	width: 100%;
}

input.submit {
	display: block;
	font-size: 20px;
	padding: 15px 5%;
	width: 90%;
}

body#form p.error {
	padding: 30px 20px;
}

body#form table.form-table th,
body#form table.form-table td {
	padding-bottom: 10px;
	padding-top: 10px;
}

body#form table.form-table td {
	padding-bottom: 30px;
	padding-left: 20px;
}

body#form table.form-table td table tr {
	display: table-row;
}

body#form table.form-table td table th {
	background-color: white;
	color: #88724f;
	display: table-cell;
	padding: 5px 10px;
	text-align: right;
	white-space: nowrap;
	width: 30%;
}

body#form table.form-table td table td {
	display: table-cell;
	padding: 5px 10px;
	width: 70%;
}

/***********************************************************************/
div.works {
	display: block;
	padding: 0 20px;
}

div.works h2.subtitle {
	padding: 10px 0 5px 0;
}

div.works div.text {
	display: block;
	width: 100%;
}

ul.works-list {
	display: block;
	margin: 0 auto;
	text-align: center;
	width: 100%;
}

ul.works-list li {
	padding: 10px;
}

ul.works-list li a {
	text-decoration: none;
}

ul.works-list li a span.img {
	display: block;
}

ul.works-list li a span.img img {
	height: auto;
	width: 100%;
}

ul.works-list li a span.text {
	display: block;
	padding: 10px 15px 10px 15px;
}

ul.works-list li a span.text span.date {
	display: block;
	font-weight: 600;
	padding: 10px 0 0 0;
}

ul.works-list li a span.text strong {
	display: block;
	line-height: 2px;
	padding: 10px 0px;
}

ul.works-list li a span.text span.detail {
	display: block;
	font-size: 14px;
	margin: 0 auto;
	text-align: left;
	width: 100%;
}

body#single table.casedetail th {
	border: none;
	display: block;
	padding: 5px;
	width: auto;
}

body#single table.casedetail td {
	border: none;
	display: block;
	padding: 5px 0 10px 0;
	width: auto;
}


body#single div.body {
	padding: 20px;
	width: auto;
}

body#single div.body h2 {
	font-size: 20px;
	margin: 30px 0 10px 0;
}

body#single div.body figure {
	height: auto;
	margin: 10px 0;
	padding: 0;
	width: auto;
}

body#single div.body figure img {
	height: auto;
	width: 100%;
}

body#single div.body figure figcaption {
	font-size: 85%;
	line-height: 1.5em;
}
/***********************************************************************/
#header-tel {
	font-size: 16px;
	margin: 0 auto;
	padding: 20px 0;
	position: fixed;
	right: 0;
	text-align: center;
	width: 100%;
	z-index: 99;
}

#header-tel p {
	text-align: center;
}

#header-tel p a {
	color: white;
	font-size: 170%;
	text-decoration: none;
	width: 100%;
}

#header-tel strong {
	background-color: white;
	display: inline-block;
	margin: 0 auto;
	padding: 7px 5px;
	text-align: center;
}

#header-bg {
	height: 240px;
	position: relative;
}

#header #logo {
	left: 0;
	text-align: center;
	top: 60px;
}

#header #logo img {
	height: auto;
	width: 50%;
}

#sp-icon {
	display: inline;
}

#globalnav {
	background-color: white;
	border-top: 1px solid #f99c00;
	display: none;
	float: none;
	left: 0;
	padding: 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#globalnav ul {
	background-color: white;
	border-radius: 0;
	padding: 50px 0 0 0;
	text-align: center;
}

#globalnav ul li {
	display: block;
	margin: 0;
	padding: 0;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

#globalnav ul li a,
#globalnav ul li:last-child a {
	background: url(images/link_btn_orange.svg) no-repeat right 20px center;
	background-size: 20px;
	border-bottom: 1px solid #f99c00;
	color: #f99c00;
	display: block;
	font-size: 100%;
	padding: 12px 0 11px 40px;
	text-align: left;
	width: auto;
}

#globalnav ul li a:hover,
#globalnav ul li:last-child a:hover {
	background: url(images/link_btn_hover.svg) no-repeat right 30px center;
	background-size: 20px;
	color: #f9a31a;
	filter: alpha(opacity=100);
	-moz-opacity: 1.00;
	     opacity: 1.00;
	padding: 12px 30px 11px 60px;
}

#title {
	font-size: 17px;
	padding-top: 80px;
}

#title-s {
	font-size: 12px;
	padding: 70px 20px 20px 20px;
}

#title-s strong {
	padding: 0 20px;
}

div.main,
div.main-s,
div.spmain {
	padding: 0 20px;
	width: auto;
}

div.contents div.main-s {
	padding: 0;
}

div.contents {
	margin: 0 -10px;
	padding: 30px 15px;
}

#footer-bg {
	background: url(images/footer_bg.jpg) repeat center top;
}

#footer {
	margin: 0 auto;
	padding: 0 0;
	position: relative;
	width: 100%;
}

#footer-address {
	display: block;
	padding: 40px 20px;
	text-align: center;
}

#footer-address a {
	color: white;
	text-decoration: none;
}

#footernav {
	position: static;
}

#footernav ul {
	border-top: 1px solid white;
}

#footernav ul li {
	background-color: #1b4b9c;
	display: block;
}

#footernav ul li a {
	background: url(images/link_btn_standard.svg) no-repeat  right 20px center;
	background-size: 5px;
	border-bottom: 1px solid white;
	color: white;
	display: block;
	font-weight: bold;
	padding: 15px;
	text-align: center;
	text-decoration: none;
}

#footernav ul li a::after {
	position: static;
	width: 100%;
}

p#copyright {
	background-color: #102e5e;
	font-size: 11px;
	padding: 10px;
	text-align: center;
	width: auto;
}

