@charset "utf-8";

/*///////////////////////
 記事一覧ページ
///////////////////////*/
.btrecord_wap{
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
article.btrecord {
    margin-right: 24px;
    width: 348px;
    position: relative;
    margin-bottom: 9rem;
}
article.btrecord a:hover{opacity: 0.8;}
article.btrecord .eyecatch::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url(/images/btrecord/mglass.png);
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: 20px;
    top: 20px;
}
article.btrecord .eyecatch img{
    width: 100%;
    height: 260px;
    object-fit: cover;
} 
article.btrecord:nth-child(2n){margin-right: 0;}
.eyecatch img{ max-width: 100%;}
article.btrecord dl {
    position: absolute;
    bottom: -40px;
    right: 30px;
    min-width: 288px;
    background-color: #fff;
    padding: 1.5em;
    box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.1);
}
article.btrecord dt {
    /* visually-hidden */
    clip: rect(0 0 0 0) !important;
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	white-space: nowrap !important;
	-webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
}

article.btrecord dd {
    padding-left: 25px;
    font-weight: bold;
    line-height: 20px;
    position: relative;
}

article.btrecord dl .btrecord_name {
    font-size: 16px;
    margin-bottom: 10px;
}
article.btrecord dl .btrecord_menseki {
    font-size: 20px;
    letter-spacing: -0.02em;
}
article.btrecord dd::before {
    content: "";
    display: inline-block;
    position: absolute;
    margin-left: -30px;
    position: absolute;
}

article.btrecord .btrecord_name dd::before {
    background: url(/images/btrecord/pin_icon.png) no-repeat;
    width: 21px;
    height: 20px;
    background-size: contain;
}

article.btrecord .btrecord_menseki dd::before {
    background: url(/images/btrecord/square_meter_icon.png) no-repeat;
    width: 18px;
    height: 19px;
    background-size: contain;
    margin-top: 2px;
}

article.btrecord dl dd span,
.slider_title p span{
    font-weight: normal;
    font-size: 14px;
}

@media screen and (max-width: 480px) {
    article.btrecord{
        margin-right:0;
        margin-bottom: 8rem;
    }
    article.btrecord dl{
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
    }
}

/*///////////////////////
 詳細ページ
///////////////////////*/
#fancybox-content article.btrecord{
    width: 600px;
    margin: 0 auto;
}
#fancybox-wrap{width: 100% !important;padding: 0 !important;}
#fancybox-close {
    width: 40px !important;
    height: 40px !important;
    background: transparent url('/images/btrecord/Close_icon.png') !important;
    top: 3rem !important;
    right: 3rem !important;
    background-size: contain !important;
    vertical-align: middle !important;
    content: '' !important;
    display: inline-block !important;
}
#fancybox-outer{
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: none !important;
}
#fancybox-content{   
    margin: auto !important;
    border:none !important;
    background: none !important;
}

@media screen and (max-width: 480px) {
    #fancybox-wrap{left: 0 !important;}
    article.btrecord .eyecatch{
		position: relative;
		overflow: hidden;
		padding-top: 60%;
    }
    article.btrecord .eyecatch img{
    	position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		height: auto;
		transform: translate(-50%, -50%);
    }
    #fancybox-content article.btrecord{width: 100%;}
    #fancybox-content{
        width: 100% !important;
        height: 100% !important;
    }
    #fancybox-content > div{width: 100% !important;}
    .slider_title {
        padding: 2rem 0 2rem 1rem !important;
        width: 77%;
    }
    .slider_title h2 { font-size: 1.8rem !important;}
    .slider_title p { font-size: 1.6rem !important;}
    .slider img{
    	height: auto !important;
    	max-height: 100vw;
    }
    .thumbnail ul {padding-left: 1rem !important; padding-right: 1rem !important;}
    .thumbnail ul li{ width: 20% !important;margin-top: 2rem;}
    .thumbnail ul li img {
        max-width:100%;
        height: 45px !important;
    }
    #fancybox-close{
        top: 2rem !important;
        right: 2rem !important;
    }
}
#fancybox-overlay{
    background-color: rgb(0, 0, 0) !important;
    opacity: 0.9 !important;
}
html.fancybox-active{ overflow: hidden;}

/**/
.slider_title{color: #fff;padding-top: 6rem;padding-bottom: 3rem;}
.slider_title h2{margin-bottom: 0;font-size: 2.4rem;}
.slider_title p{margin-top: 0;font-weight: bold;font-size: 20px;}
.slider img {
	width: 100%;
	height: 400px;
	object-fit: contain;
    vertical-align: bottom;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.appear {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
@keyframes fadeIn {
    0% { opacity: 0.2}
    100% { opacity: 1}
}
@-webkit-keyframes fadeIn {
	0% { opacity: 0.2}
	100% { opacity: 1}
}

/* arrow */
#fancybox-left,#fancybox-right { width: 40px !important;}
#fancybox-left-ico{ background: transparent url(/images/btrecord/Arrow_left.png) !important;left: 30px !important;}
#fancybox-right-ico{background: transparent url(/images/btrecord/Arrow_right.png) !important;left: -30px !important;}
#fancybox-left-ico, #fancybox-right-ico{
    width: 40px !important;
    height: 40px !important;
    background-size: contain !important;
    content: '' !important;
    display: inline-block !important;
}
#fancybox-right-ico{right: 20px !important;}

@media screen and (max-width: 480px) {
    #fancybox-left,#fancybox-right{
        bottom:0 !important;
        height: 10% !important;
    }
    #fancybox-left-ico { left: 10px !important;}
    #fancybox-right-ico{ left: -10px !important;}
}

/* thumbnail */
.thumbnail ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content:space-between;
	-moz-justify-content:space-between;
	justify-content:space-between;
	flex-wrap: wrap;
}
.thumbnail ul::before{
	content:"";
	display: block;
	width:23%;
	order:1;
}
.thumbnail ul::after{
	content:"";
	display: block;
	width:23%;
}
.thumbnail ul li {
    margin-top: 3rem;
	width: 23.5%;
    cursor: pointer;
    -webkit-filter: grayscale(90%);
    filter: grayscale(90%);
}
.thumbnail ul li:hover {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}
.thumbnail ul li.selected {
    -webkit-filter: grayscale(0%);
	filter: grayscale(0%);
	border:solid #beaf87 2px;
}
.thumbnail ul li img {
	width: 100%;
	height: 80px;
	object-fit: cover;
}