@charset "utf-8";
/* CSS Document */

* {
	box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, h7,
ul, li,
dl, dt, dd {
	margin: 0;
	padding: 0;
}

body,
input,
button,
select,
textarea {
	font-size: 1.6rem;
}

ul, li {
	list-style: none;
}

a,
header ul.head_menu li {
	color: #336699;
}
a:hover {
	color: #6699CC;
	text-decoration: none;
}

.red {
	color: #f00;
}

input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
.select,
textarea {
	border:1px solid #ccc;
	width: 100%;
	-webkit-appearance: none;
	border-radius: 0;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
}
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
input[type="submit"],
input[type="button"],
button {
	height: 40px;
	outline: none;
	padding: 0 5px;
}
select {
	height: 38px;
}
input[type="radio"],
input[type="checkbox"],
select,
label {
	cursor: pointer;
}
input[type="radio"],
input[type="checkbox"] {
	border: 1px solid #ccc;
	appearance: none;
	min-width: 1em;
	min-height: 1em;
	vertical-align: middle;
	margin: calc(1.75em / 2 - 1px) 2px 0 2px;
	transform: translateY(-50%);
	position: relative;
}
input[type="radio"],
input[type="radio"]:checked:before {
	border-radius: 100%;
}
input[type="checkbox"] {
	border-radius: 3px;
}
input[type="radio"]:checked:before,
input[type="checkbox"]:checked:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
}
input[type="radio"]:checked {
	border-color: #0085f2;
}
input[type="radio"]:checked:before {
	background-color: #0085f2;
	width: 0.65em;
	height: 0.65em;
	display: block;
	transform: translate(-50%, -50%);
}
input[type="checkbox"]:checked {
	background-color: #0085f2;
	border-color: #0085f2;
}
input[type="checkbox"]:checked:before {
	width: 0.65em;
	height: 0.35em;
	border: 2px solid #fff;
	border-top: none;
	border-right: none;
	box-sizing: border-box;
	transform: translate(-50%, -75%) rotate(-45deg);
}

.email input,
.tel input,
.number input,
.zip input {
	ime-mode: disabled;
}
.tel input[type="text"] {
	width: 300px;
}

::placeholder {
	opacity: 1;
	color: #aaa;
}

textarea.entry_question {
	height:auto;
	font-weight: normal;
    font-size: 16px;
}
textarea {
	height:150px;
}
.year {
	display: inline-block;
	width: auto;
	vertical-align: middle;
}
.select {
	overflow: hidden;
	position:relative;
	background-color: #fff;
	width: 100%;
	padding-right: 30px;
}
.select.short {
	width: auto;
	display: inline-block;
}
.day .select {
	display: inline-block;
	width: auto;
	vertical-align: middle;
}
.select:after {
	position:absolute;
	right: 10px;
	top: 50%;
	transform:translateY(-50%);
	display: block;
	width: 0;
	height: 0;
	content:"";
	border-style: solid;
	border-width: 5px 5px 0 5px;
	border-color: #666 transparent transparent transparent;
	z-index: 0;
}
.select select {
	width: calc(100% + 30px);
	padding-right: 30px;
	border: none;
	background: none;
	appearance: none;
	position: relative;
	z-index: 1;
}

input[type="submit"],
input[type="button"],
button {
	border: none;
	background-color: #336699;
	color:#fff;
	padding: 0 30px;
	cursor: pointer;
}
input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.top_main a:hover,
.main div.list ul.list li .button ul li a:hover,
.main .hospital article + article a:hover,
.main div.company .button a:hover,
.main .access .access_left a:hover,
.main div.manual .button ul li a:hover,
.main .doctors .button ul li a:hover,
.main div.senior .button ul li a:hover {
	opacity: 0.7;
}

th:before,
th:after,
td:before,
td:after {
	display: block;
	margin-top: -1px;
	height: 1px;
	content: "";
}

.img {
	position:relative;
	width:100%;
}
.img img {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.required {
	display: inline-block;
	background-color: #e1617a;
	color: #fff;
	font-size: 1.2rem;
	padding: 0 10px;
	line-height: 100%;
	height: 20px;
	line-height: 20px;
	vertical-align: middle;
}
th .required {
	float: right;
}
div.error-message{
	color:red;
}
