@charset "UTF-8";

#specialist{
	border-top:2px solid #B5151D;
	background:url(../specialist/images/specialist_bg.png) repeat-x;
	margin:0 0 50px;
	clear: both;
}
#specialist .ttl{
	text-align:center;
	padding:80px 0 30px;
	margin:0 auto;
	width: 950px;
}
#specialist .ttl img{
	height:100px;
}

#specialist .lead{
	margin:0 auto;
	width: 950px;
	padding:0px 100px 50px;
	font-size:1.1em;
	text-align: center;
}
#specialist .lead img{
	width:50%;
	height:auto;
	float:right;
	margin:0 0 0 20px;
}
#specialist .lead p{
	margin:20px 0 0 0;
}

#specialist .why{
	margin:0 auto;
	width: 950px;
	background-color:#fef1ed;
	padding:20px;
	border-radius:5px;
}
#specialist .why h3{
	font-size:130%;
	margin:0 0 5px;
	line-height:1.5;
}
#specialist .why img{
	width:50%;
	float:right;
	margin:0 0 0 20px;
}

#specialist .list{
	margin:0 auto;
	width: 950px;
}



#specialist .listbox{
	width:31.0%;
	margin:0 0 50px;
}

#specialist .listbox:nth-child(1){
	float:left;
}
#specialist .listbox:nth-child(2){
	float:left;
	margin:0 0 0 3.5%;
}
#specialist .listbox:nth-child(3){
	float:right;
}

#specialist .listbox h3{
	text-align:center;
	color:#B5151D;
	font-size:145%;
	font-weight:bold;
}
#specialist .listbox h3 img{
	display:block;
	margin:0 auto 10px;
	width:50%;
}
#specialist .listbox h3 span{
	display:block;
	font-size:80%;
	margin:30px 0 0 0;
	color:#333;
	font-weight:normal;
}

#specialist .listbox .open{
	font-size:80%;
	margin:10px auto;
	width:100px;
	text-align:center;
	border:1px solid #333;
}

#specialist .listbox > p,
#specialist .listbox .learn,
#specialist .listbox .border,
#specialist .listbox .domain
{
	margin:20px 0;
}
#specialist .listbox > p{
	height:120px;
}

#specialist .listbox .learn {
	position: relative;
	font-size:110%;
	font-weight:bold;
	margin:20px 0 0 20px;
}
#specialist .listbox .learn:before {
	position: absolute;
	left: 60%;
	top: 10px;
	content: " ";
	display: block;
	width: 40%;
	height: 1px;
	background-color: #B5151D;
}
#specialist .listbox .learn:after {
	position: absolute;
	left: -1.2em;
	top: 2px;
	content: "▼";
	display: block;
	font-size: 80%;
	color: #B5151D;
}
#specialist .listbox .learn ul {
	margin:5px 0 0 -1em;
}
#specialist .listbox .learn li {
	position:relative;
	font-size:90%;
	font-weight:normal;
	margin:10px 0 10px 20px;
	line-height: 1.2;
}
#specialist .listbox .learn li:before {
	position:absolute;
	content:"■";
	top:0px;
	left:-18px;
	color: #B5151D;
}

#specialist .listbox .border {
	padding:20px;
	border:1px solid #F99;
}
#specialist .listbox .border p {
	margin:0 0 20px;
}
#specialist .listbox .border h3 {
	font-size:120%;
	margin:0 0 20px;
}
#specialist .listbox .border h4 {
	margin:20px 0 5px;
}

#specialist .listbox .border img {
	display:block;
	width:100%;
}

#specialist .listbox .domain {
	border-top:5px solid #B5151D;
	padding:10px 0 0 0;
	font-weight:bold;
	font-size:105%;
}

#specialist .listbox .domain img {
	width:30px;
	vertical-align:middle;
	margin:0 5px 0 0;
}

.btn a{
	display:block;
	background-color:#B5151D;
	color:#FFF;
	padding:5px;
	margin:0 20%;
	text-align:center;
	font-size:110%;
}





.pagetopBtn {
    width:950px;
    margin: 50px auto;
}

/*--------------------------------------------------------------トップカルーセル関連*/

#topslide{
	width:100%;
	height:500px;
	margin: 0 0 50px;
	overflow:hidden;
	position:relative;
	z-index: 10;
}
.carousel{
	width:100%;
	height:500px;
	overflow:hidden;
}
#topslide div.carousel div{
	height:500px;
	float:left;
	overflow:hidden;
	position:relative;
	background-color: #000;
}
#topslide div.carousel div img{
	width:100%;
	margin:0;
	padding:0;
	z-index: 11;
	opacity: 0.8;
}
#topslide div.carousel div span{
	display: block;
	position: absolute;
	top: 30%;
	width: 100%;
	color: #FFF;
	font-size: 40px;
	text-align: center;
	padding: 20px 0 0 0;
	z-index: 12;
}


#pager {
	position: absolute;
	bottom: 20px;
	width:200px;
	left:50%;
	margin:0 0 0 -100px;
	text-align:center;
}
#pager a {
	display:inline-block;
	margin:0 5px 0 0;
	width:12px;
	height:12px;
	border-radius:13px;
	border:2px solid rgba(181,21,29,0.5);
}
#pager a.selected {
	background-color:rgba(181,21,29,0.5);
}
#pager span {
	display:none;
}
#prev, #next {
	display: block;
	position: absolute;
	height: 500px;
	width: 100px;
	top: 0px;
	line-height: 500px;
	font-size: 70px;
	text-align: center;
	z-index:102;
	color: rgba(181,21,29,0.8) !important;
}


#prev:hover, #next:hover {
	background-color: #333;
	background-color: rgba(255, 255, 255, 0.7);
	opacity:0.5;
	text-decoration: none;
}
#prev {
	left: 0px;
}
#next {
	right: 0px;
}


/**/

.zengakuh {
    width: 860px;
    margin: 0 auto 20px;
    clear: both;
    background-color: #f6f6f6;
    border: 1px solid #ccc;
    padding: 20px;
}
.zengakuh_ttl {
    font-size: 22px;
    color: #333333;
    font-weight: bold;
    text-align: center;
}
.zengakuh_txt {
    text-align: center;
    font-size: 1.2em;
}

@media screen and (max-width: 999px) {
	body {
		box-sizing : border-box;
	  }

	#contents{
		width: 98vw;
		padding: 0;
	}

	#specialist .ttl,#specialist .lead{
		width:90vw;
		padding:5vw;
	}

	#specialist .ttl img {
		width: 90vw;
		height: auto;
	}

	#specialist .list{
		width: 98vw;
	}

	#specialist .listbox > p{
		width: 90vw;
		margin: 0 auto;
	}

	#specialist .listbox:nth-child(1),#specialist .listbox:nth-child(2),#specialist .listbox:nth-child(3){
		float: none;
		margin:0 1vw;
		width:95vw;
	}

	#specialist .why{
		width:90vw;
		padding: 2vw;
	}

	#specialist .why img{
		width:90vw;
		float:none;
		margin:0 1vw;
	}

	.pagetopBtn {
		width:95vw;
		margin: 50px auto;
	}

	.listbox p{
		font-size: 14px;
	}

	#topslide{
		width:100%;
		height:300px;
		margin: 0 0 50px;
		overflow:hidden;
		position:relative;
		z-index: 10;
	}

	#topslide div.carousel div img {
		width: auto;
		height: 100%;
	}

	#topslide div.carousel div span{
		display: block;
		position: absolute;
		top: 20%;
		width: 100%;
		color: #FFF;
		font-size: 20px;
		text-align: center;
		padding: 20px 0 0 0;
		z-index: 12;
	}

	#prev, #next {
		height: 300px;
		width: 50px;
		line-height: 300px;
		font-size: 35px;
	}
}