@charset "utf-8";
/* CSS Document */
h2#submainvisual .submainvisual_in {
	background-image: url(../images/mirais/mir_ttl_bg.jpg);
}
#tabs {
	width: 100%;
	margin-bottom: 30px;
	border-bottom: 5px solid #3d6f0d;
}
#tabs li a {
	display: block;
	float: left;
	width: 49%;
	margin-left: 2%;
	padding: 15px 0 8px;
	color: #fff;
	font-size: 15px;
	font-size: 1.5rem;
	text-align: center;
	background: #888;
	letter-spacing: 2px;
	line-height: 1;
	border-radius: 8px 8px 0 0;
}
#tabs li:first-child a {
	margin-left: 0;
}
#tabs li a.selected, #tabs li a:hover {
	background: #3d6f0d;
}
.sec+.sec {
	margin-top: 80px;
}
#mirais #subttl {
	margin-bottom: 50px;
	text-align: center;
	opacity: 0;
}
h3 {
	margin-bottom: 30px;
}
#mirais #subttl dd {
	margin: 20px 0 0;
	color: #8dbc65;
	font-size: 25px;
	font-size: 2.5rem;
	font-weight: bold;
}
#mirais p {
	margin-bottom: 30px;
	line-height: 1.8;
}
#mirais #teisyaku #shurui {
	width: 100%;
	padding-bottom: 10px;
}
#mirais #teisyaku table {
	width: 100%;
	margin-bottom: 10px;
	border-collapse: collapse;
}
#mirais #teisyaku table caption, #mirais #teisyaku dt {
	margin-bottom: 10px;
	font-weight: bold;
	font-size: 18px;
	font-size: 1.8rem;
	text-align: left;
}
#mirais #teisyaku .koumoku th {
	padding: 15px 5px;
}
#mirais #teisyaku .koumoku th.naname {
	position: relative;
	width: 100px;
	z-index: -1;
	padding: 0;
	box-sizing: border-box;
	border: 1px solid #777;
}
.diagonal {
	height: 100%;
	width: 100%;
	border-top: solid gray 1px;
}
.rightDown {
	transform: matrix(1, 0.32, 0, 1, 0, 0);
}
#mirais #teisyaku .koumoku th.naname span {
	position: absolute;
	z-index: 2;
}
#mirais #teisyaku .koumoku th.naname span.kou1 {
	top: 5px;
	right: 8px;
}
#mirais #teisyaku .koumoku th.naname span.kou2 {
	bottom: 5px;
	left: 8px;
}
#mirais #teisyaku th, #mirais #teisyaku td {
	padding: 10px;
	text-align: center;
	border: 1px solid #777;
}
#mirais #teisyaku th {
	background-color: #b7dcbc;
}
#mirais #teisyaku td.ippan {
	background: #fffcd1;
}
#mirais #teisyaku td {
	width: 21%;
	font-size: 12px;
	font-size: 1.2rem;
}
#mirais #teisyaku dl {
	margin-bottom: 30px;
}
#mirais #teisyaku dd {
	padding: 10px;
	color: #7DAB51;
	font-size: 20px;
	font-size: 2rem;
	font-weight: bold;
	border: 2px solid #7DAB51;
	text-align: center;
}
#mirais #merit #merit_detail {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	padding: 30px;
	background: #eee;
	border-radius: 10px;
}
#mirais #merit #merit_detail dl {
	width: 496px;
	padding-top: 10px;
	padding-bottom: 10px;
}
#mirais #merit #merit_detail dl+dl {
	width: 483px;
	margin-left: 27px;
	padding-left: 27px;
	border-left: 1px solid #888;
}
#mirais #merit #merit_detail dl dt {
	margin-bottom: 25px;
	padding: 5px 5px 3px;
	text-align: center;
	font-size: 18px;
	font-size: 1.8rem;
	background: #fff;
	font-weight: bold;
}
#qa {
	margin: 80px 0;
}
#qa dl {
	margin: 0 0 5px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #ccc;
}
#qa a {
	color: #cc0000;
	text-decoration: underline;
}
#qa a:hover {
	color: #ff3232;
	text-decoration: underline;
}
#qa dt {
	position: relative;
	margin: 0;
	padding: 8px 45px 5px 35px;
	background: url(../images/mirais/q.jpg) no-repeat left 9px;
	background-size: 18px;
}
/*#qa dt span {
	position: absolute;
	top: 17%;
	right: 10px;
}*/
#qa dd {
	/*height: 0;*/
	margin: 0;
	padding: 0 0 0 35px;
	background: url(../images/mirais/a.jpg) no-repeat left 3px;
	background-size: 18px;
	line-height: 1.7;
	overflow: hidden;
}
#qa dd div span {
	color: #c40101;
}
#qa dd div ul {
	margin-top: 10px;
}
#qa dd div li+li {
	margin-top: 5px;
}
/*#qa dt, #allopen, #allclose {
	cursor: pointer;
	display: block;
}*/
#btn {
	height: 40px;
	margin: 0 auto 20px auto;
}
#btn div {
	float: left;
	width: 230px;
	height: 20px;
	margin-right: 30px;
	padding: 12px 0;
	color: #ffffff;
	text-align: center;
	font-size: 15px;
	font-size: 1.5rem;
	background: #666;
}
#btn div#allclose {
	margin-right: 0;
}
#allopen span, #allclose span {
	font-size: 13px;
	font-size: 1.3rem;
}
#allopen:hover, #allclose:hover {
	background: #999;
}

@media screen and (max-width:1199px) {
#btn {
	width: 100%;
}
#btn div {
	width: 45%;
	margin-right: 10%;
}
}

@media screen and (max-width:970px) {
#mirais #teisyaku .koumoku th:nth-child(3) {
	font-size: 95%;
}
.rightDown {
	transform: matrix(1, 0.39, 0, 1, 0, 0);
}
#mirais #teisyaku .tokuyaku td, #mirais #teisyaku .youto td {
	text-align: left;
}
#mirais #teisyaku .tokuyaku td br, #mirais #teisyaku .youto td br {
	display: none;
}
#mirais #merit #merit_detail dl {
	width: 51%;
	padding-top: 3%;
	padding-bottom: 3%;
}
#mirais #merit #merit_detail dl+dl {
	width: 49%;
	margin-left: 2%;
	padding-left: 2%;
	box-sizing: border-box;
}
#mirais #merit #merit_detail dl dt {
	font-size: 1.8vw;
}
#mirais #merit #merit_detail img {
	width: 100%;
}
}

@media screen and (max-width:750px) {
#tabs li a {
	width: 49.5%;
	margin-left: 1%;
}
.sec+.sec {
	margin-top: 8%;
}
#mirais #subttl {
	margin-bottom: 5%;
}
#mirais #subttl dt {
	width: 70%;
	margin: 0 auto;
}
#mirais #subttl dd {
	font-size: 5.5vw;
}
#mirais #subttl img {
	width: 100%;
}
#mirais h3 {
	margin-bottom: 5%;
}
#mirais p {
	margin-bottom: 5%;
	text-align: left;
	line-height: 1.5;
}
#mirais #teisyaku #shurui {
	width: 100%;
	overflow-y: hidden;
	overflow-x: scroll;
}
#mirais #teisyaku table {
	width: 750px;
}
#mirais #teisyaku table caption, #mirais #teisyaku dt {
	font-size: 1.5rem;
}
#mirais #teisyaku .koumoku th:nth-child(3) {
	font-size: 100%;
}
#mirais #teisyaku dd {
	padding: 3% 1%;
	font-size: 3.5vw;
}
#mirais #merit #merit_detail {
	display: block;
	padding: 5%;
}
#mirais #merit #merit_detail dl {
	width: 100%;
	padding: 0;
}
#mirais #merit #merit_detail dl+dl {
	width: 100%;
	margin-top: 5%;
	margin-left: 0;
	padding-top: 5%;
	padding-left: 0;
	border-left: none;
	border-top: 1px solid #888;
}
#mirais #merit #merit_detail dl dt {
	font-size: 4vw;
}
#mirais #merit #merit_detail dd {
	width: 95%;
	margin: 0 auto;
}
#qa {
	margin: 8% 0;
}
#qa dt {
	padding: 7px 45px 8px 35px;
	line-height: 1.5;
}
#qa dd {
	padding: 0 0 0 35px;
	line-height: 1.5;
}
}

@media screen and (max-width:640px) {
#mirais #subttl dt {
	width: 80%;
}
#btn {
	height: 52px;
}
#btn div {
	width: 46%;
	height: 32px;
	margin-right: 8%;
	padding: 10px 0 10px;
	background-size: contain;
	line-height: 1.2;
}
#allopen span, #allclose span {
	display: block;
	margin-top: 2px;
}
#allopen:hover, #allclose:hover {
	background-size: contain;
}
}

@media screen and (max-width:640px) {
#tabs li a {
	font-size: 3.5vw;
}
}
