#gallerysp { width: 100%; box-sizing: border-box; padding: 0 0 0 4%;}
#photosp { width: 100%; max-width: 675px; position: relative; box-sizing: border-box; padding: 0 4%; margin: 0 auto;}
.sp-mask { position: relative; overflow: hidden; z-index: 10000000;}
.sp-slides { position: relative; -webkit-backface-visibility: hidden; -webkit-perspective: 1000; display: none;}
.sp-slide { position: absolute;}
.sp-image-container { overflow: hidden;}
.sp-image { position: relative; display: block; border: none;}
.sp-no-js { overflow: hidden; max-width: 100%;}
.sp-slide .psp { width: 100%; height: 0; padding-top: 66.66666666666666666667%; margin-top: 16%; background-repeat: no-repeat; -webkit-background-size: contain; background-size: contain; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 2px; -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 2px; -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 2px;}
.sp-slide .psptate { width: 66.66666666666666666667%; height: 0; padding-top: 150%; margin-left: 16%; background-repeat: no-repeat; -webkit-background-size: contain; background-size: contain; box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px 1px; -webkit-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px 1px; -moz-box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 1px 1px;}
/* Thumbnails */
.sp-thumbnails-container { height: 54px; position: relative; overflow: hidden;}
.sp-bottom-thumbnails { margin-top: 10px; padding-bottom: 15px;}
.sp-thumbnails { position: relative; text-align: left; display: none;}
.sp-thumbnail { border: 0; text-align: left;}
.sp-thumbnail-container { box-sizing: border-box; position: relative; display: block; overflow: hidden; float: left;}
.sp-selected-thumbnail { box-sizing: border-box; border: 2px solid rgba(239, 180, 0, 1.0);}
.sph { width: 54px; height: 54px; background-repeat: no-repeat;}
.sp-thumbnail .sph:hover { filter: alpha(opacity=80); -ms-filter: "alpha(opacity=80)"; -moz-opacity: 0.8; opacity: 0.8; cursor: pointer;}
/* Touch Swipe */
.sp-grab { cursor: url(/cook_keibu/img/openhand.cur), move;}
.sp-grabbing { cursor: url(/cook_keibu/img/closedhand.cur), move;}
.sp-selectable { cursor: default;}
/* Arrows */
.sp-arrows { position: absolute;}
.sp-fade-arrows { opacity: 0; -webkit-transition: opacity 0.5s; transition: opacity 0.5s;}
.sp-slides-container:hover .sp-fade-arrows { opacity: 1;}
.sp-arrowset-p, .sp-arrowset-n { position: absolute; top: 0; display: block; width: 2.5%; height: 100%; cursor: pointer;}
.sp-arrowset-p:hover, .sp-arrowset-n:hover { opacity: 0.6; filter: alpha(opacity=60); -ms-filter: "alpha(opacity=60)"; -moz-opacity: 0.6; -khtml-opacity: 0.6;}
.sp-horizontal .sp-arrows { width: 100%; left: 0; top: 0; height: 85%; display: block;}
.sp-arrow { position: absolute; display: block; width: 100%; height: 50px; top: 43%;}
/*.sp-horizontal .sp-previous-arrow { left: 0;}
.sp-horizontal .sp-next-arrow { right: 0;}*/
.sp-arrowset-p { left: 0;}
.sp-arrowset-n { right: 0;}
.sp-previous-arrow:before, .sp-previous-arrow:after, .sp-next-arrow:before, .sp-next-arrow:after { content: ''; position: absolute; width: 50%; height: 50%; background-color: rgba(239, 180, 0, 1.0);}
.sp-previous-arrow:before { left: 5%; top: 0; -webkit-transform: skew(145deg, 0deg); -ms-transform: skew(145deg, 0deg); transform: skew(145deg, 0deg);}
.sp-previous-arrow:after { left: 5%; top: 50%; -webkit-transform: skew(-145deg, 0deg); -ms-transform: skew(-145deg, 0deg); transform: skew(-145deg, 0deg);}
.sp-next-arrow:before { right: 5%; top: 0; -webkit-transform: skew(35deg, 0deg); -ms-transform: skew(35deg, 0deg); transform: skew(35deg, 0deg);}
.sp-next-arrow:after { right: 5%; top: 50%; -webkit-transform: skew(-35deg, 0deg); -ms-transform: skew(-35deg, 0deg); transform: skew(-35deg, 0deg);}
.ie8 .sp-arrow, .ie7 .sp-arrow { width: 0; height: 0;}
.ie8 .sp-arrow:before, .ie8 .sp-arrow:after, .ie7 .sp-arrow:before, .ie7 .sp-arrow:after { content: none;}
.ie8.sp-horizontal .sp-previous-arrow, .ie7.sp-horizontal .sp-previous-arrow { border-right: 20px solid #f68750; border-top: 20px solid transparent; border-bottom: 20px solid transparent;}
.ie8.sp-horizontal .sp-next-arrow, .ie7.sp-horizontal .sp-next-arrow { border-left: 20px solid #f68750; border-top: 20px solid transparent; border-bottom: 20px solid transparent;}
/*nojs*/
.njt { width: 90%; margin: 10px auto; line-height: 140%; font-size: 90%; text-align: center;}
#photosp0 ul:before, #photosp0 ul:after { content: ""; display: table;}
#photosp0 ul:after { clear: both;}
#photosp0 li { width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, 1.0); float: left;}


/*etc*/
.mn_gallery-all .mn_gallery-sp { width: 100%; height: 100%; position: absolute; top: 0; left: 0; display: block; border-radius: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; background: rgba(0, 0, 0, 0); border: 2px solid rgba(255, 194, 0, 0.6); color: rgba(217, 0, 0, 1.0); filter: opacity(50%); -webkit-filter: opacity(50%); -moz-filter: opacity(50%); -ms-filter: opacity(50%);}
.mn_gallery-all .mn_gallery-sp a { width: 100%; height: 100%; display: block; border-radius: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; background: rgba(0, 0, 0, 0); border: 2px solid rgba(255, 194, 0, 0); color: rgba(217, 0, 0, 0);}
.mn_gallery-all .mn_gallery-sp a, .mn_gallery-all .mn_gallery-sp a:hover { cursor: default; pointer-events: none;}

#gallery h1:before { position: absolute; top: -15px; left: 0; display: block; content: ''; width: 50%; max-width: 380px; height: 0; padding-top: 10.526315789474%; background-repeat: no-repeat; -webkit-background-size: contain; background-size: contain; background-image: url(../img/sub.png);}

#gallery .udl { border-bottom: 2px dotted rgba(255, 255, 255, 0.6); padding-bottom: 30px;}
#gallery h2 { text-align: center;}
#gallery .con_nkm0:not(:last-child) { background: rgba(255, 255, 255, 1.0); color: rgba(0, 0, 0, 1.0); padding: 15px 20px; margin: 10px auto;}

#gallery .con_nkm0 #archivesp:before, #gallery .con_nkm0 #archivesp:after { content: ""; display: table;}
#gallery .con_nkm0 #archivesp:after { clear: both;}
#gallery .con_nkm0 #archivesp { width: 100%;}
#gallery .con_nkm0 #archivesp li { box-sizing: border-box; width: 18%; margin: 5px 2% 5px 0; float: left; position: relative; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#gallery .con_nkm0 #archivesp li .acvpsp { width: 100%; height: 0; padding-top: 100%; position: relative; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#gallery .con_nkm0 #archivesp li .acvpsp span { width: 100%; height: 50%; text-align: center; margin: auto; text-align: center; display: block; position: absolute; top: 0; bottom: 0; left: 0; font-size: 150%; font-weight: bold;}
#gallery .con_nkm0 #archivesp li .acvpsp a { box-sizing: border-box; width: 100%; height: 100%; display: block; position: absolute; top: 0; left: 0; background: rgba(255, 255, 255, 1.0); color: rgba(0, 0, 0, 1.0); border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#gallery .con_nkm0 #archivesp li .acvpsp a:hover { background: rgba(255, 234, 0, 1.0); color: rgba(220, 61, 80, 1.0); border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px;}
#gallery .con_nkm0 #archivesp .lnkoff .acvpsp a { box-sizing: border-box; background: rgba(50, 50, 50, 1.0); cursor: default; pointer-events: none; border-radius: 10px; -webkit-border-radius: 10px; -moz-border-radius: 10px; color: rgba(100, 100, 100, 1.0);}

/*for_W480-*/
@media screen and (min-width: 480px) {
#gallery .con_nkm0 #archivesp li { width: 8%; margin: 5px 2% 5px 0;}
}

/*for_W680-*/
@media screen and (min-width: 680px) {
#gallery #sphotosp .sphotoall { width: 45%; float: left; margin: 5px 0 15px 3%;}
#gallery .con_nkm0:not(:last-child) { padding: 25px 30px;}
}

/*for_W980-*/
@media screen and (min-width: 980px) {
#gallery #sphotosp .sphotoall { width: 45%; float: left; margin: 5px 0 20px 4%;}
}