@charset "utf-8";
/* ==========================================================

title : ホームメイトリサーチ施設詳細　
scope : ユーザー投稿アルバム

last modify : 2016/06/22　227_suzuki 新規作成

========================================================== */

/* ==============================
 基本・リセット
============================== */
body{
	background: #fff !important;
	text-align:center;
	font-family:'ＭＳ Ｐゴシック','MS PGothic',"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",sans-serif;
}
p{
 	margin:0;
}
dt,dd{
	margin:0;
}
.maincol{
	position:relative;
	width:1000px;
	margin:0 auto;
}

.imghover:hover img{
	opacity:0.8;
	-ms-filter: "alpha(opacity=80)";
}

/* ClearFix */
.cf:before,
.cf:after{
  content:"";
  display: table;
}
.cf:after{
  clear:both;
}

@media screen and (max-device-width: 1024px) {
	html,body {
		width:1060px;
		margin:0 auto;
	}
}

/* ==============================
　ページ全体
============================== */
.lay_main{
	width:1000px;
	margin:0 auto;
	font-size:15px;
}


/* ==============================
 ページタイトル
============================== */
.mod_head{
	position: relative;
	width:1000px;
	height: 93px;
	line-height: 93px;
	margin: 13px 0 10px;
	padding: 77px 0 10px 0;
	background: url(../image/bg_header.jpg) no-repeat center bottom;
}
.mod_head .ttl{
	display: inline-block;
	vertical-align: middle;
	margin: -8px 0 0;
	padding: 0;
	font-size: 27px;
	line-height:35px;
	font-weight:bold;
	color:#fff;
	font-family: 'Hiragino Kaku Gothic Pro';
}
.mod_head .ttl.line28{
	font-size:25px;
	line-height:35px;
	margin-top: -1px;
}
.mod_head .ttl.line24{
	font-size:24px;
	line-height:35px;
	margin-top: 5px;
}
.mod_head .logo{
	position: absolute;
	display: block;
	top: 23px;
	left: 22px;
}
.mod_head .logo img{
	display: block;
}

/* ==============================
　リード文
============================== */
.mod_info_top{
	height:34px;
	margin:15px auto;
	padding:0 20px;
	text-align:left;
}
.mod_info_top .txt{
	float:left;
	width:500px;
	line-height:34px;
}

/* ==============================
　レイアウト セレクトボックス
============================== */
.mod_sel_layout{
	float:right;
	width:400px;
	text-align: right;
}
.mod_sel_layout .ttl{
	font-size:15px;
}
.mod_sel_layout .box{
	display: inline-block;
	position: relative;
}
.mod_sel_layout .select{
	box-sizing:border-box;
	width: 113px;
	height:34px;
	line-height:15px;
	padding: 8px 40px 9px 5px;
	margin: 0 auto;
	border: 1px solid #1d558d;
	border-radius: 2px;
	background: #fff url("/pub_photo/image/bg_select_bottom.png") no-repeat scroll right center;
	font-size:15px;
	color: #1d558d;
	cursor: pointer;
}
.mod_sel_layout .list{
	display:none;
	position: absolute;
	box-sizing:border-box;
	width: 113px;
	top: 33px;
	border: 1px solid #1d558d;
	background: #fff;
	text-align: left;
	z-index: 10;
}
.mod_sel_layout .list li{
    border-bottom: 1px dotted #1d558d;
}
.mod_sel_layout .list li:last-child {
    border-bottom: medium none;
}
.mod_sel_layout .list li > a {
    display: block;
    padding: 10px;
    width: 91px;
}
.mod_sel_layout .list li > a:hover {
    background: #ffe6eb none repeat scroll 0 0;
}

/* ==============================
 画像BOX
============================== */
.p_list{
	display: block;
	margin:0 auto 40px;	
}
.p_box{
	float: left;
	border-top: 5px solid #d9d9d9;
	border-left: 5px solid #a7a7a7;
	border-right: 5px solid #a7a7a7;
	border-bottom: 5px solid #666666;
	background:#aaa;
	overflow:hidden;
}
.p_box a{
	position:relative;
	display:block;
	border:1px solid #fff;
}
.p_box a img{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 50px;
	height: 50px;
}
.p_box a:before{
	content:url(/search/image/dtl_new/ico_st_zoom.gif);
	position:absolute;
	right:0;
	bottom: -2px;
}

/*3列レイアウト*/
.col3 .p_box{
	width:318px;
	height:318px;
	margin:0 8px 8px 0;
}
.col3 .p_box:nth-child(3n){
	margin-right:0;
}
.col3 .p_box a{
	width:316px;
	height:316px;
}

/*4列レイアウト*/
.col4 .p_box{
	width:234px;
	height:234px;
	margin:0 8px 8px 0;
}
.col4 .p_box:nth-child(4n){
	margin-right:0;
}
.col4 .p_box a{
	width:232px;
	height:232px;
}

/*5列レイアウト*/
.col5{
	width:997px;
}
.col5 .p_box{
	width:183px;
	height:183px;
	margin:0 8px 8px 0;
}
.col5 .p_box:nth-child(5n){
	margin-right:0;
}
.col5 .p_box a{
	width:181px;
	height:181px;
}

/*6列レイアウト*/
.col6 .p_box{
	width:150px;
	height:150px;
	margin:0 8px 8px 0;
}
.col6 .p_box:nth-child(6n){
	margin-right:0;
}
.col6 .p_box a{
	width:148px;
	height:148px;
}

/* ==============================
 画面下　PRテキストBOX
 =============================== */
.area_mo_box{
	min-height:140px;
	padding: 20px 0;
	background:#fff url(../image/bg_footer.png) repeat-x center bottom;
}
.mo_box {
    background:#fff;
    border:3px solid #d4d4d4;
    margin-bottom: 0;
}

/* ==============================
 このページのトップへ
 =============================== */
.gopagetop{
	width:1000px;
	margin: 20px auto 0;
  overflow: hidden;
}
.gopagetop a{
	display: inline-block;
	float: right;
	height: 25px;
	margin: 0 15px 0 0;
	padding: 0 0 0 25px;
	line-height: 18px;
	background: url(/campaign/image/mrk_gopagetop.gif) no-repeat 0 0;
	font-size:15px;
	text-align:right;
}

/* ==============================
 モーダル表示　コンテンツ
============================== */
.mordal_cont {
		width: 640px;
    background: #fff;
    margin: 0;
    text-align: center;
}
.mordal_cont .center {
    width: 640px;
    margin: 0 auto;
    color: #777;
    line-height: 1;
}
.mordal_cont .photo img {
    max-width: 640px;
    max-height: 480px;
    vertical-align:top;
}
.mordal_cont .area_data {
    position: relative;
    margin: 0 auto;
}
.mordal_cont .data {
    margin: 9px 0 0;
    text-align: left;
    font-size: 0;
}
.mordal_cont .data dt {
    display: inline-block;
    width: 120px;
    color: #1a8175;
    font-size: 14px;
    font-weight: bold;
    text-indent: 15px;
    line-height: 1.4;
    letter-spacing: 0;
}
.mordal_cont .data dd {
    display: inline-block;
    max-width:600px;
    font-size: 14px;
    padding: 0 20px;
    line-height: 1.4;
    word-wrap:break-word;
}
.mordal_cont .data.name {
    margin-right: 148px;
    padding: 6px 0 7px;
    background: #ededed;
    font-size: 17px;
    font-weight: bold;
}
.mordal_cont .data.ttl {
    padding: 3px 0 3px;
    background: #ededed;
}
.mordal_cont .data.user {
    border-bottom: 1px solid #c3dfda;
    padding-bottom: 7px;
}
.mordal_cont .injustice {
    width: 460px;
    margin: 10px auto;
    padding: 0 15px;
    background: #f2f8f7;
}
.mordal_cont .injustice p {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}
.mordal_cont .injustice a {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    padding: 8px 0;
    background: url(/js/fancybox/mrk_alert01.gif) no-repeat 0 center;
    font-size: 13px;
    text-indent: 13px;
}
.mordal_cont .closebtn {
    margin: 10px auto 0;
    padding-bottom: 5px;
}
.mordal_cont .closebtn img {
    cursor: pointer;
}

/* ==============================
 fancybox.css 設定上書き
============================== */
.fancybox-overlay{
	background: #000;
}
.fancybox-skin{
	background:#fff;
	border-radius: 0;
}
.fancybox-nav {
    width: 60px;
}
.fancybox-nav span {
    visibility: visible;
    opacity: 0.5;
	transition: all 0.1s linear 0s;
}
.fancybox-nav:hover span {
    opacity: 1;
}
.fancybox-next {
    right: -70px;
}
.fancybox-prev {
    left: -70px;
}

/* スクロールバー設定  */
.fancybox-iframe::-webkit-scrollbar{
  width: 5px;
  height:5px;
}
.fancybox-iframe::-webkit-scrollbar-thumb{
  border-radius: 5px;
  background: #666;
}
.fancybox-iframe::-webkit-scrollbar-track{
  border-radius: 5px;
  background: #eee;
}