/*
 * jQuery FlexSlider v2.5.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 * 
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
  font-family: 'flexslider-icon';
  src: url('fonts/flexslider-icon.eot');
  src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus,
.flex-slider2 a:hover,
.flex-slider2 a:focus, {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
.flex-pauseplay span {
  text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider_top {
  margin: 0;
  padding: 0;
}
.flexslider_top .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider_top .slides img {
  /*width: 100%;
  height:auto;
  max-width:500px;
  height:300px;*/
  display: block;
}
.flexslider_top .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider_top .slides {
  display: block;
}
* html .flexslider_top .slides {
  height: 1%;
}
.no-js .flexslider_top .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/

/*画像のCSS*/
.flexslider_top{
  width:100%;
  height:520px;
  /* margin: 45px 0 0 0; */
  background: #ffffff;
  /*border: 4px solid #ffffff;*/
  position: relative;
  /*zoom: 1;*/
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}

@media only screen and (min-width: 774px) {
  .flexslider_top {
    margin: 35px 0 0 0;
  }
}

.flexslider_top .slides {
  zoom: 1;
}

.slides h3{
	padding-top:20px;
	padding-left:25px;
	padding-bottom:10px;
}

.slides p{
	padding:15px 25px 0 25px !important;
	font-size:80%;
}

.flexslider_top .slides img {
  /*height: auto;
  max-width:600px;
  max-height:460px;
  width:100%;
  height:auto;*/
  /*padding:10px;*/
  margin-left:auto;
  margin-right:auto;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}

/*進む戻るボタンの設定*/
.flex-direction-nav a {
  /*background-image:url(/image/factory/next.png);*/
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 40%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  /*color: rgba(0, 0, 0, 0.8);*/
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


/*.flex-direction-nav a:before {
  font-family: "flexslider-icon";
  font-size: 40px;
  display: inline-block;
  content: '\f001';
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}



.flex-direction-nav a.flex-next:before {
  content: '\f002';
}*/


.flex-direction-nav .flex-prev {
  background-image:url(/image/factory/prev.png);
  left: -50px;
}
.flex-direction-nav .flex-next {
  background-image:url(/image/factory/next.png);
  right: -50px;
  text-align: right;
}
.flexslider:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
}



/* .flex-pauseplay a {
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  bottom: 10px;
  right: 20%;
  opacity: 0.8;
  z-index: 10;
  overflow: hidden;
  cursor: pointer;
  color: #000;
}
.flex-pauseplay a:before {
  font-family: "flexslider-icon";
  font-size: 20px;
  display: inline-block;
  content: '\f004';
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  content: '\f003';
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 532px;
  text-align: center;
} */
.flex-control-nav li {
  /*background:url(/image/factory/slide_button1.png) no-repeat;*/
  margin: 0 4px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}






/*スライドボタン*/
.flex-control-paging li a {
  width: 31px;
  height: 31px;
  cursor: pointer;
  display: block;
  color:#B4E9BA;

 /* background: #006666;
  background: rgba(42, 96, 102, 0.5);*/
  
  font-weight:bold;
  text-indent: -9999px;
  
 /* -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;*/
}


.flex-control-paging li a:hover {
  background: #333;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a.flex-active {
  background: #006666;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}

/* ====================================================================================================================
 * BASE STYLES 2
 * ====================================================================================================================*/
.flexslider2{
  margin: 0;
  padding: 0;
}
.flexslider2 .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}
.flexslider2 .slides img {
  /*width: 100%;
  height:auto;
  max-width:500px;
  height:300px;*/
  display: block;
}
.flexslider2 .slides:after {
  content: "\0020";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
html[xmlns] .flexslider2 .slides {
  display: block;
}
* html .flexslider2 .slides {
  height: 1%;
}
.no-js .flexslider2 .slides > li:first-child {
  display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME 2
 * ====================================================================================================================*/

/*画像のCSS*/
.flexslider2{
  width:100%;
  height:520px;
  margin: 45px 0 0 0;
  background: #ffffff;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
  box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider2 .slides {
  zoom: 1;
}
.slides h3{
	padding-top:20px;
	padding-left:25px;
	padding-bottom:10px;
}
.slides p{
	padding:15px 25px 0 25px !important;
	font-size:80%;
}
.flexslider2 .slides img {
  border:2px solid #CCC;
  margin-left:auto;
  margin-right:auto;
}
.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.loading .flex-viewport {
  max-height: 300px;
}
.carousel li {
  margin-right: 5px;
}
.flex-direction-nav {
  *height: 0;
}
/*進む戻るボタンの設定*/
.flex-direction-nav a {
  text-decoration: none;
  display: block;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  position: absolute;
  top: 45%;
  z-index: 10;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.flex-direction-nav .flex-prev {
  background-image:url(/image/factory/prev.png);
  left: -50px;
}
.flex-direction-nav .flex-next {
  background-image:url(/image/factory/next.png);
  right: -50px;
  text-align: right;
}
.flexslider2:hover .flex-direction-nav .flex-prev {
  opacity: 0.7;
  left: 10px;
}
.flexslider2:hover .flex-direction-nav .flex-prev:hover {
  opacity: 1;
}
.flexslider2:hover .flex-direction-nav .flex-next {
  opacity: 0.7;
  right: 10px;
}
.flexslider2:hover .flex-direction-nav .flex-next:hover {
  opacity: 1;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
}
.flex-pauseplay a {
  display: block;
  width: 40px;
  height: 40px;
  overflow: hidden;
  position: absolute;
  right: 30%;
  bottom: 10px;
  right: 10px;
  opacity: 0.8;
  z-index: 10;
  cursor: pointer;
  color: #000;
}
@media only screen and (min-width: 960px){
  .flex-pauseplay a{
    bottom: -5px;
  }
}
.flex-pauseplay a:before {
  display: inline-block;
  width:40px;
  height: 40px;
  content: "";
  background-image: url('../image/slider/stop.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.flex-pauseplay a:before img{
  width: 50px;
}
.flex-pauseplay a:hover {
  opacity: 1;
}
.flex-pauseplay a.flex-play:before {
  display: inline-block;
  width:40px;
  height: 40px;
  content: "";
  background-image: url('../image/slider/reproduction.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.flex-control-nav {
  width: 100%;
  position: absolute;
  bottom: 532px;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
@media only screen and (min-width: 960px){
  .flex-control-nav{
    width: 100%;
  }
}
.flex-control-nav li {
  margin: 0 4px;
  display: inline-block;
  zoom: 1;
  *display: inline;
}
/*スライドボタン*/
.flex-control-paging li a {
  width: 31px;
  height: 31px;
  cursor: pointer;
  display: block;
  color:#B4E9BA;
  font-weight:bold;
  text-indent: -9999px;
}
.flex-control-paging li a:hover {
  background: #333;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.flex-control-paging li a.flex-active {
  background: #006666;
  background: rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
  cursor: default;
}
.flex-control-thumbs {
  margin: 5px 0 0;
  position: static;
  overflow: hidden;
}
.flex-control-thumbs li {
  width: 25%;
  float: left;
  margin: 0;
}
.flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: .7;
  cursor: pointer;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.flex-control-thumbs img:hover {
  opacity: 1;
}
.flex-control-thumbs .flex-active {
  opacity: 1;
  cursor: default;
}



/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {
    opacity: 1;
    left: 10px;
  }
  .flex-direction-nav .flex-next {
    opacity: 1;
    right: 10px;
  }
}



@media only screen and (min-width:240px) and (max-width:773px) {
	
.flex-direction-nav .flex-prev {
    left: -100px;
    opacity: 1;
}

.flex-direction-nav .flex-next {
    opacity: 1;
    right: -100px;
}

.flex-direction-nav a {
    cursor: pointer;
    display: block;
    height: 40px;
    margin: -20px 0 0;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    top: 25%;
    transition: all 0.3s ease-in-out 0s;
    width: 40px;
    z-index: 10;
}	

.factory div.flexbox{
  padding: 50px 20px 15px 15px;
}


.flex-control-nav li{
	margin:5px 4px;
}

	
}


.flexslider_top .slides a[href$=".pdf"] {
  padding: 0;
  display: inline-block;
  background: none;
}

.flexslider_top.top_page {
  height: auto;
  padding: 0 0 60px;
  margin: 0 0 20px;
}

.top_page .flex-control-nav {
  bottom: -0px;
}

.top_page .flex-control-paging li {
  background-color: black;
  margin: 0 10px 10px 0;
}
.top_page .flex-control-paging li:last-child{
  margin: 0;
}
.top_page .flex-control-paging li a {
  width: 31px;
  height: 15px;
  cursor: pointer;
  display: inline-block;
  color: #B4E9BA;
  background-color: #a9a9a9;
  font-weight: bold;
}
@media only screen and (min-width: 950px){
  .top_page .flex-control-paging li a{
    width: 120px;
    height: 65px;
    background-size: cover;
    background-position: center;
  }
  .top_page .flex-control-nav {
  bottom: -30px;
}
.top_page .flex-control-paging li:nth-child(1) a{
  background-image: url(/image/slider/mv1_s.jpg);
}
.top_page .flex-control-paging li:nth-child(2) a{
  background-image: url(/image/slider/mv2_s.jpg);
}
.top_page .flex-control-paging li:nth-child(3) a{
  background-image: url(/image/slider/mv3_s.jpg);
}
.top_page .flex-control-paging li:nth-child(4) a{
  background-image: url(/image/slider/mv4_s.jpg);
}
.top_page .flex-control-paging li:nth-child(5) a{
  background-image: url(/image/slider/mv5_s.jpg);
}
}

.top_page .flex-control-paging li a,
.top_page .flex-control-paging li a:hover,
.top_page .flex-control-paging li a:active {
  border-radius: 0;
}
.top_page .flex-control-paging li a{
  opacity: .3;
}
.top_page .flex-control-paging li a.flex-active{
  opacity: 1;
}
/* .top_page .flex-control-paging li a.flex-active::before{
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffa202;
  opacity: .6
} */

.top_page .flex-control-paging li a:hover,
.top_page .flex-control-paging li a.flex-active {
  background-color: #ffa202;
}

.top_page .flex-direction-nav .flex-next {
  background-image: url(/image/slider/next.png);
}

.top_page .flex-direction-nav .flex-prev {
  background-image: url(/image/slider/prev.png);
}

.top_page .flex-direction-nav a {
  top: 50%;
  margin-top: -40px;
}

.top_page.flexslider_top .slides img {
  /*border: 1px solid #e5e5e5;*/
  border: 0;
  box-sizing: border-box;
}

.top_page.flexslider_top .flex-direction-nav {
  width: 100%;
  display: block;
  bottom: auto;
  position: absolute;
  top: 57%;
}

.top_page.flexslider_top .flex-direction-nav .flex-next {
  right: 10px !important;
  opacity: 0.9;
  bottom: 50px;
  top: auto;

}

.top_page.flexslider_top .flex-direction-nav .flex-prev {
  left: 10px !important;
  opacity: 0.9;
  bottom: 50px;
  top: auto;

}

@media only screen and (max-width: 773px) {
  .top_page .flex-control-nav {
    top: auto !important;
  }

  .top_page.flexslider_top .flex-direction-nav .flex-next {
    right: 0 !important;
  }

  .top_page.flexslider_top .flex-direction-nav .flex-prev {
    left: 0 !important;
  }

  .top_page .flex-direction-nav {
    display: none;
  }
}