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

/* メインコンテンツ
**********************/
#main_contents {
	width: 960px;
		margin: -15px auto 5px auto;
}

#viewer {
    margin: 0 auto;
    width: 900px;
    height: 250px;
    text-align: left;
    overflow: hidden;
    position: relative;
}
 
#viewer img {
    top: 0;
    left: 0;
    position: absolute;
}

/*サイドコンテンツ
*********************/
#side_contents {
	width: 250px;
	height: 720px;
	float: left;
	border: 1px solid #663333;
	border-radius: 10px;
	margin-top: 0;
	margin-right: 5px;
	}
#side_contents h2 {
	background-color:#663333;
	line-height: 35px;
	color: aliceblue;
	text-align: center;
	margin-top: 0;
	border-radius: 5px 5px 0px 0px;
}
#side_contents .side_head{
	background-color:#663333;
	font-size: 20px;
	color: aliceblue;
	text-align: center;
	margin-top: 0px;
	margin-bottom: 10px;
	padding-top: 10px;
	border-radius: 5px 5px 0px 0px;
}
#side_contents .side_head_1{
	background-color:#663333;
	font-size: 18px;
	line-height: 20px;
	color: aliceblue;
	text-align: center;
	margin-top:-10px;
	padding-top:10px;
	padding-bottom: 5px;
	}


#side_contents p {
	font-style: normal;
	font-size: 20px;
	text-align: center;
	line-height: 5px;
	font-weight: bold;
}
#side_contents span {
	font-size: 11px;
	line-height: 10px;
	font-weight: bold;
}
#side_contents .homepage a {
	padding: 5px 15px 3px 18px;
	height: 30px;
	font-size: 12px;
	font-weight: bold;
	background: #B38355;
	text-align: center;
	line-height: 30px;
	text-decoration: none;
	border-radius: 3px;
	color: #FFF;
}
#side_contents .homepage a:hover {
	background: #DEC8B1;
}

#side_contents .form a {
	padding: 5px 15px 3px 18px;
	text-align: center;
	height: 30px;
	font-size: 15px;
	font-weight: bold;
	background: #B38355;
	line-height: 30px;
	text-decoration: none;
	border-radius: 3px;
	color: #FFF;
}
#side_contents .form a:hover {
	background: #DEC8B1;
}

#side_contents .map a{
	padding: 5px 15px 3px 18px;
	height: 30px;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	background: #B38355;
	line-height: 20px;
	text-decoration: none;
	border-radius: 3px;
	color: #FFF;
}
#side_contents .map a:hover {
	background: #DEC8B1;
}

#side_contents .address p {
	font-size: 13px;
	text-align: left;
	padding-left: 20px;
	margin-top: 5px;
}

#side_contents section .access {
	font-size: 12px;
}

/*ミドルコンテンツ
*********************/
#middle_contents {
	display:inline-block;
	width: auto;
	margin-top: 0;
	margin-left: 0px;
}
#middle_contents .lawyer_head {
	font-size: 25px;
	color: #fff;
	width: auto;
	height: 24px;
	line-height: 15px;
	text-align: center;
	padding-top: 13px;
	border-radius: 8px ;
	margin-top: 0px;
	margin-left: 0px;
	margin-bottom: 3px;
	background: #663333;
}
#middle_contents .lawyer_1 {
	width: 670px;
	height: 660px;
	float: left;
	padding: 10px;
	border: solid 1px #663333;
	border-radius: 8px;
	margin-top: 0px;
	margin-right: 2px;
}
#middle_contents .lawyer_photo_1 {
	width: 320px;
	margin-top: 40px;
	margin-left:155px;
	text-align: center;
	border: 1px solid #ccc;
	background: #fff;
	box-shadow: 1px 1px 1px rgba(20,20,20,0.2);
}

#middle_contents .lawyer_name_1 p {
	padding-top: 40px;
	font-size: 18px;
}




/*モーダルここから*/
#modal-content {
	width: 75%;
	margin: 0px;
	padding: 10px 20px;
	position: fixed;
	display: none;
	z-index: 2;
}
#modal-overlay {
	z-index: 1;
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 120%;
	background-color: rgba( 0,0,0, 0.75 );
}
#modal-open .button-link {
	font-size: 5px;
	background: pink;
	border-radius: 20px;
	color: #00f;
	text-decoration: none;
}
.button-link:hover {
	cursor: pointer;
	color: #f00;
}

/*スライドショー*/

#slideshow {
   position: relative;
   width:  900px; /* 画像の横幅に合わせて記述 */
   height: 250px; /* 画像の高さに合わせて記述 */
}
#slideshow img {
   position: absolute;
   top: 0;
   left:0;
   z-index: 8;
   opacity: 0.0;
}
#slideshow img.active {
   z-index: 10;
   opacity: 1.0;
}
#slideshow img.last-active {
   z-index: 9;
}

/********
トップページへ戻るボタン*/
#pageTop {

  position: fixed;
  bottom: 20px;
  right: 30px;
}

 #pageTop a {
  display: block;
  z-index: 999;
  padding: 8px 8px  0 9px;
  border-radius: 30px;
  width: 30px;
  height: 38px;
  background-color: #663333;
  color: #fff;
	font-size: 25px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}

 

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}




