h1 a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	opacity: 0.7;
	cursor: pointer;
}

.red {
	color: red;
}

#wrapper {
	width: 850px;
	margin: 50px auto 0;
}

header ul {
	display: flex;
	list-style: none;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-evenly;
	align-items: center;
	margin-bottom: 35px;
}

header ul li a {
	text-decoration: none;
	color: #000000;
	padding: 0 84px;
}

header ul li:nth-child(2) {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

h1 {
	position: relative;
}





footer {
	padding: 20px 0;
}
footer p {
	text-align: center;
	font-size: 10px;
}





/* TOP専用装飾 */
body.top #ctsbox table{
    text-align: center;
    margin: auto;
    width: 100%;
}

body.top #ctsbox ul {
	list-style: none;
	padding: 0;
}

body.top #ctsbox li {
	margin-top: 15px;
}

#ctsbox {

	font-size: 14px;
}
#ctsbox ul {
	padding-left: 20px;
}
body.top #ctsbox table tr {
	display: block;
	border-bottom: 1px dotted gray;
}

body.top #ctsbox table td {
	padding: 16px 8px;
	letter-spacing: 1px;
	text-align: left;
}

body.top #ctsbox table th {
	width: 150px;
    font-size: 16px;
    text-align: left;
    padding-left: 85px;
}

.contactList {
	list-style: none;
	padding: 0 !important;
	margin-top: 0;
}


/* お問い合わせ装飾 */

body.contact .formTable input, body.contact .formTable textarea {
	width: 100%;
	padding: 4px;
	font-size: 14px;
	box-sizing: border-box;
}

body.contact #formWrap p {
	font-weight: bold;
	text-align: center;
}
body.contact .formTable {
	width: 80%;
	margin: auto;
}

body.contact .formTable tr th {
	width: 27%;
    text-align: center;
	background-color: #F2F2F2;
}
body.contact .formTable th, body.contact .formTable td {
	
}
body.contact .formTable tr:last-child td{
	font-size: 0;
}
body.contact .formTable textarea {
	height: 200px;
}

body.contact .thanksMsg {
	text-align: center;
}