@charset "UTF-8";

/* ---------------------------------------------------------------------
 * ギャラリーページ
 * --------------------------------------------------------------------- */
.pages_main_title{background: url("../images/motoimaizumi/bg.jpg") no-repeat center top;background-size: 1920px auto;}

.pages_main_title h2{font-size: 38px;letter-spacing: 0.1em;text-indent: 0.1em;line-height: 1; padding: 0px 0 16px;}
.pages_main_title h2 span{font-size: 16px}
.body_area{text-align: center;}
#body_gallery {
position: relative;
width: 100%;
min-width: 961px;
text-align: center;
padding-bottom: 30px;
color: #000;background: url("../images/motoimaizumi/bg.jpg") no-repeat center top;background-size: 1920px auto;
}

/*===============================================================================
===============================================================================*/
@media screen and (min-width: 768px) { /*PC設定*/

.body_area_inner{width:1200px;margin: auto;padding: 0px 0 50px;}

#gallery_image {
width: 100%;
min-width: 961px;
text-align: center;
margin: 0;
position: relative;
overflow: hidden; }
#gallery_image .inner {
position: relative;
width: 961px;
height: 673px;
margin: 0 auto; }
#gallery_image li {
margin-left: -231px;
position: absolute;
top: 0;
left: 0;
display: none; }
#gallery_image li img{width: 1404px;height: auto}
#gallery_image li.current {
display: block; }

#gallery_navi {
width: 100%;
max-width: 1410px;
position: absolute;
top: 32%; 
left: 0;
right: 0;
margin: auto; }

#gallery_navi_left a:hover, #gallery_navi_right a:hover {
-ms-filter: "alpha( opacity=70 )";
filter: alpha(opacity=70);
opacity: 0.7;
display: block; }

#gallery_navi_left {
position: absolute;
left: 50px;
z-index: 2; }

#gallery_navi_right {
position: absolute;
right: 50px;
z-index: 2; }

#gallery_area {
width: 100%;
}

#gallery_thums { 
/*width: 961px;*/
width: 960px;
margin: 31px auto 0px;
overflow: hidden; font-size:0px;}
#gallery_thums li {margin: 0 25px 20px 0; width:170px; display:inline-block; font-size:13px;vertical-align: top;}
#gallery_thums li img{width: 100%;height: auto}
#gallery_thums li a{color: #000}
#gallery_thums li a.current, #gallery_thums li a:hover {
-ms-filter: "alpha( opacity=50 )";
filter: alpha(opacity=50);
opacity: 0.5;
display: block; }
#gallery_thums li a.current {
pointer-events: none; }
#gallery_thums li:nth-child(5n) {
margin: 0; }
#gallery_thums .caption {
text-align:center;
font-size: 12px;
line-height:1.6em;
height: 40px;
margin: 3px 0 0; }

}

/*===============================================================================
===============================================================================*/
@media screen and (max-width: 767px) {/*スマホ設定*/
.pages_main_title .breadcrumb{display: none;}
.pages_main_title .inner{ width:90%;padding: 0;margin: auto}

.pages_main_title h2{font-size: 22px;padding: 0px 0 10px;margin-bottom: 0px;text-indent: 0em;}
.pages_main_title h2 span{font-size: 13px}

.body_area{ padding-top: 0px; padding-bottom: 0px;text-align: center;}

#container {padding-bottom: 0; }
#body_gallery {
position: relative;
overflow: hidden;
text-align: center;min-width: 100%}

#body_gallery .body_area_inner { width: 90%;margin: auto;font-size: 12px;padding: 0px 0 0;}


#gallery_image {
position: relative;
width: 100%;
padding-top: 40px;
text-align: center;
margin: 0 auto;}

#gallery_image li {
display: none;
position: absolute;text-align:center;
top: 0;
left: 0; }
#gallery_image li img{width: 100%!important;height: 260px!important;object-fit: cover}
#gallery_image li.current {
display: block; }
#gallery_image img{ width:100%; height:auto;}
#gallery_image li div{ color:#000;font-size: 16px; margin-top: 20px; text-align:center;
font-family: "游明朝体", "Yu Mincho", YuMincho, "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
line-height: 1.0;font-weight: bold; letter-spacing: 2px;
	 -webkit-transform: rotate(0.001deg);
-ms-transform: rotate(0.001deg);
transform: rotate(0.001deg);}
#gallery_navi {
width: 100%;
position: absolute;
top: 23%;}

#gallery_navi_left {
position: absolute;
top: 0;
left: 0;
/*left: 7px;*/
z-index: 2; }

#gallery_navi_right {
position: absolute;
top: 0;
/*right: 7px;*/
right: 0;
z-index: 2; }

#gallery_navi_left img,
#gallery_navi_right img{
	width: 60%;
	height: auto;
}

#gallery_area {
width: 100%;
}

#gallery_thums {
/*width: 468px;*/
width: 65%;
/*width: 140px;*/
margin: 10px auto 0px auto;
padding: 0;
overflow: hidden; }
#gallery_thums li {
/*width: 38px;
height: 38px;*/
width: 30px;
height: 30px;
margin: 0 10px 20px;
display: inline-block;vertical-align: top}
#gallery_thums li a {
background: url(../images/gallery/sp/thums.png) no-repeat 0 0;
background-size: cover;
/*width: 38px;
height: 38px;*/
width: 30px;
height: 30px;
display: block; }

#gallery_thums li a.current {
background: url(../images/gallery/sp/thums_current.png) no-repeat 0 0;background-size: cover; }

#gallery_thums .caption {
display: none; }

}
