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

.pc_none{
    display: block !important;
}
.tbl_none{
    display: none !important;
}
.sp_none{
    display: none !important;
}

/* レイアウト */

.l-contents{
    list-style:none;
}

.l-contents a{
	transition: all 0.3s ease 0s;
		display: block;
}

.l-contents img{
	transition: all 0.3s ease 0s;
}

.l-contents h2{
	width: 1000px;
	margin: 0px auto ;
	text-align: left;
}

.l-gallery-block-wrapper {
    margin-bottom: 64px;
    font-family:Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;

}
.l-style-whole {
    font-size: 0px;
}

.l-style-whole img {
    width: 100%;
    max-width: 500px;
}

.ttl_box{
	display: block;
    float: left;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

.title-sub {
    padding: 40px 20px;
    text-align: justify;
	color: #000;
    font-size: 14px;
    line-height: 1.6;
    font-family:Avenir , "Open Sans" , "Helvetica Neue" , Helvetica , Arial , Verdana , Roboto , "游ゴシック" , "Yu Gothic" , "游ゴシック体" , "YuGothic" , "ヒラギノ角ゴ Pro W3" , "Hiragino Kaku Gothic Pro" , "Meiryo UI" , "メイリオ" , Meiryo , "ＭＳ Ｐゴシック" , "MS PGothic" , sans-serif;
}

.main_box{
	display: block;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 100%;
}
.main_box img{
	display: block;
    margin: 0 auto 0;
    overflow: hidden;
    position: relative;
}

.m-zoomintxt {
    position: relative;
}
.m-zoomintxt .m-zoomintxt-cap{
    font-size: 14px;
    border-bottom: 1px solid #fff;
    opacity:0;
	position: absolute;
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
    left: 50%;
	transform: translate(-50%,-50%);
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
    line-height: 1.5;/*行の高さを1.5にする*/
}

.l-dgallery-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


@media screen and (min-width: 641px) {

.title-sub {
    margin-top: 0;
		color: #000;
}

.title-sub {
    text-align: center;
}

.l-gallery-block {
    display: flex;
}

.l-style-whole {
    width: 322px;
    margin-bottom: 1rem;
}

.l-gallery-block.l-reverse {
    flex-direction: row-reverse;
}

.m-zoomintxt-mask {
	position: relative;
	display: block;/*画像をくくるspanタグをブロック要素にする*/
    line-height: 0;/*行の高さを0にする*/
    overflow:hidden;/*拡大してはみ出る要素を隠す*/
}

.m-zoomintxt-mask::before {
	content:"";
	position: absolute;
	z-index:2;
	top:0px;
	left:0px;
	width: 100%;
    height: 100%;
	background:rgba(0,0,0,0.28);/*背景色*/
	opacity:0;
    transition: all 0.2s linear;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.m-zoomintxt:hover .m-zoomintxt-mask::before{
	opacity:1;
}
.m-zoomintxt img {
	transform: scale(1);
	filter: blur(0);
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.m-zoomintxt:hover img{/*hoverした時の変化*/
	transform: scale(1.05);/*拡大の値を変更したい場合はこの数値を変更*/
}

.m-zoomintxt:hover .m-zoomintxt-cap {/*hoverした時の変化*/
	opacity:1;
}

}


@media screen and (max-width: 640px) {
/* 表示領域が640px未満の場合に適用するスタイル */
    .pc_none{
    display: none !important;
}
    .tbl_none{
    display: block !important;
}
    .sp_none{
    display: block !important;
}
.main_box{
    height: 400px;
}

.main_box img{
    width: 100%;
}

.l-contents h2{
    text-align: left;
    margin: 0 auto;
    width: 100%;
}
.l-contents h2 img{
    width: 100%;
}

.main_box{
    height: auto;
    margin: 0;
}
.main_box img{
    margin: 0;
}

.l-style-whole {
    width: 48%;
    margin-bottom: 1rem;
}

}
