/* SP */
@media screen and (max-width: 640px) {
	#main {
		width: 100%;
		padding: 0 10px 60px 10px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
}

/* PC */
@media all and (min-width: 641px) {
	#main {
		width: 940px;
		margin: 0 auto;
		padding-left: 30px;
		padding-right: 30px;
		border-left: 1px solid #d7d7d7;
		border-right: 1px solid #d7d7d7;
	}
}


/*---------- pan ----------*/

.pan {
	width: 100%;
	height: 40px;
	display: table-cell;
	vertical-align: middle;
}
.pan ul li {
	float: left;
}
.pan a {
	color: #555;
	text-decoration: underline;
}

/* SP */
@media screen and (max-width: 640px) {
	.pan {
		font-size: 14px;
	}
}

/* PC */
@media all and (min-width: 641px) {
	.pan {
		font-size: 12px;
	}
}


/*---------- pagetitle ----------*/

.captitle {
	margin-bottom: 10px;
	display: block;
}

.pagetitle {
	margin-top: 25px;
	font-size: 30px;
	font-weight: bold;
	color: #00004a;
}

.subtitle {
	width: 100%;
	margin: 30px 0 20px;
	padding-bottom: 5px;
	font-size: 22px;
	font-weight: bold;
	color: #00004a;
	border-bottom: 1px solid #d7d7d7;
}

.subtitle-img {
	margin-bottom: 20px;
}

/* SP */
@media screen and (max-width: 640px) {
	.pagetitle {
		font-size: 22px;
	}
	.subtitle-img {
		width: 100%;
	}
}


/*---------- table ----------*/

table{
	margin: 20px 0;
}
table tr {
	border-top: 1px solid #d7d7d7;
}
table tr:last-child {
	border-bottom: 1px solid #d7d7d7;
}
table th,
table td {
	vertical-align: middle;
	padding: 12px;
}
table th {
	text-align: center;
}

.remedy1 .th1 {
	background: #f5cadd;
	color: #9E2137;
}
.remedy1 .th2 {
	background: #c2dfc7;
	color: #1f863f;
}
.remedy1 tr:nth-child(1),
.remedy1 tr:nth-child(2) {
	border-top: none;
}
.remedy1 td {
	text-align: center;
}

.table-g th {
	background: #fcfbfb;
}

/* SP */
@media screen and (max-width: 640px) {
	.remedy1,
	.table-g {
		width: 100%;
	}
	.remedy1 {
		font-size: 14px;
	}
	.table-g {
		border: 1px solid #d7d7d7;
	}
	.table-g th,
	.table-g td {
		width: 100%;
		display: block;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
	.table-g th {
		border-bottom: 1px solid #d7d7d7;
	}	
}

/* PC */
@media all and (min-width: 641px) {
	.remedy1,
	.table-g {
		width: 90%;
	}
	.table-g th {
		width: 15%;
		border-left: 1px solid #d7d7d7;
		border-right: 1px solid #d7d7d7;
	}
	.table-g td {
		border-right: 1px solid #d7d7d7;
	}
}


/*---------- graybox ----------*/

.graybox {
	padding: 15px;
}
.graybox {
	margin: 15px 0;
	background: #fcfbfb;
	border: 1px solid #d7d7d7;
	display: inline-block;
}

@media screen and (max-width: 640px) {
	.graybox {
		width: 100%;
		display: block;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
	}
}


/*---------- page-ul ----------*/

.page-ul li {
	float: left;
	margin: 10px 10px 0 0;
}

.page-ul li a {
	padding: 10px 20px 10px 37px;
	display: block;
	border-radius: 7px;
	background: url(../img/icon.png) no-repeat 17px 13px #00004a;
	color: #fff;
}

@media screen and (max-width: 640px) {
	.page-ul li {
		width: 100%;
	}
	.page-ul li:nth-child(2n) {
		margin: 10px 0 0 0;
	}
	.page-ul li a {
	background: url(../img/icon.png) no-repeat 12px 13px #00004a;
		padding: 10px 0 10px 33px;
	}
}



/*--------------------------------------------------
facility
--------------------------------------------------*/

.gaiyo tr {
	border-top: 1px dotted #bababa;
}
.gaiyo tr:first-child {
	border-bottom: 1px dotted #bababa;
}
.gaiyo th {
	padding-left: 20px;
	font-weight: normal;
	text-align: left;
}
.gaiyo td {
	line-height: 200%;
}

/* SP */
@media screen and (max-width: 640px) {
	.gaiyo {
		width: 100%;
	}
	.gaiyo th {
		width: 30%;
	}
	.gaiyo td {
		padding: 10px 20px 10px 0;
	}
}

/* PC */
@media all and (min-width: 641px) {
	.gaiyo {
		width: 910px;
		margin: 0 auto;
		padding: 10px 0;
	}
	.gaiyo th {
		width: 220px;
	}
	.gaiyo td {
		padding: 10px 0 10px;
	}
}



/*--------------------------------------------------
contact
--------------------------------------------------*/

.formTable tr {
	border-top: 1px dotted #bababa;
}
.formTable tr:last-child {
	border-bottom: none;
}
.formTable th {
	font-weight: normal;
}
input,
textarea {
	font-size: 13px;
	background-color: #f8f8f8;
	border: 1px solid #d7d7d7;
}
.inputtext,
textarea {
	padding: 5px;
}
.mail_button {
	width: 105px;
	height: 44px;
	background: url(../img/index_contactbtn.png) no-repeat 0 0;
	border: 0px;
	border-style: none;
	outline: none;
	cursor: pointer;
}

/* SP */
@media screen and (max-width: 640px) {
	.formTable {
		width: 100%;
	}
	.formTable th {
		display: block;
		padding-top: 10px;
		text-align: center;
	}
	.formTable td {
		display: block;
		padding: 0 0 15px 0;
		text-align: center;
	}
	.formTable tr:last-child {
		border-bottom: none;
	}
	.formTable tr:last-child td {
		padding: 15px 0;
	}
	.formTable .inputtext {
		width: 90%;
		height: 30px;
	}
	.formTable textarea {
		width: 90%;
		max-width: 90%;
		height: 300px;
		max-height: 300px;
	}
	iframe#contact{
		width: 100%;
		margin: 10px 0 15px;
	}
}

/* PC */
@media all and (min-width: 641px) {
	.formTable {
		width: 900px;
		font-size: 90%;
	}
	.formTable th {
		width: 220px;
		padding-left: 20px;
		text-align: left;
	}
	.formTable td {
		padding: 10px 0 10px;
	}
	.inputtext {
		width: 300px;
	}
	textarea {
		width: 650px;
		max-width: 650px;
		height: 150px;
	}


}
