@charset "UTF-8";

.slide-wrapper {
  overflow: hidden;
  height: 100%;
  text-align: center;
  margin-top: 10px;
}
.slider li {
	opacity:0;
  list-style: none;
}
.slider li.intro {
  margin-bottom: 60px;
}
.slider li.slide {
	display: none;
}

.bx-viewport:before,
.bx-viewport:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -100%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 1000;
}

.bx-wrapper .bx-viewport {
	overflow: visible !important;
	left: 0;
	border-width: 0;
	box-shadow: none;
}

.bx-viewport:before {
	right: 100%;
	left: -100%;
}

.bx-viewport:after {
	left: 100%;
	right: -100%;
}

#g-container {
  width: auto;
  margin: 0 auto;
}

.g-container-wrapper {
  width: 800px;
  margin: 0 auto;
}

.recommend-wrapper {
  background-color: #EBFFDC;
  padding:  20px 0;
}

h2 {
  color: #02753C;
  font-size: 2em;
  padding: 20px 0;
  text-align:  center;
}

.ba-wrapper {
  display: -webkit-flex;
  display: flex;
  margin: 0 auto;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.ba-wrapper div {
}

.ba01 {
  width: 303px
}
.ba02 {
  width: 465px;
}
.ba03 {
  width: 250px;
}
.ba04 {
  width: 410px;
}

figure.recommend {
  position: relative;
  float: left;
  overflow: hidden;
  margin: 10px 1%;
/*  min-width: 230px;
  max-width: 300px;*/
  width: 100%;
  color: #000;
  text-align: left;
  font-size: 16px;
  background-color: #fff;
}

figure.recommend * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}
figure.recommend img {
  max-width: 100%;
  backface-visibility: hidden;
  vertical-align: top;
}
figure.recommend:after,
figure.recommend figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
figure.recommend:after {
  content: '';
  background-color: rgba(255, 255, 255, 0.9);
  -webkit-transition: all 0.3s linear;
  transition: all 0.3s linear;
  opacity: 0;
}
figure.recommend figcaption {
  z-index: 1;
  padding: 30px 23px;
}
figure.recommend p {
  opacity: 0;
  top: 50%;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  line-height: 1.4em;
  color: #222;
}
figure.recommend i {
  position: absolute;
  bottom: 0;
  right: 5px;
  padding: 20px 15px;
  font-size: 30px;
  font-style: normal;
  opacity: 0;
  -webkit-transform: translateX(-10px);
  transform: translateX(-10px);
  color: #007A48;  
}
figure.recommend a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
figure.recommend:hover img,
figure.recommend.hover img {
  zoom: 1;
  filter: alpha(opacity=50);
  -webkit-opacity: 0.5;
  opacity: 0.5;
}
figure.recommend:hover:after,
figure.recommend.hover:after {
  opacity: 1;
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  right: 8px;
}

figure.recommend:hover p,
figure.recommend.hover p,
figure.recommend:hover i,
figure.recommend.hover i {
  -webkit-transform: translate(0px, 0px);
  transform: translate(0px, 0px);
  opacity: 1;
}

  .ba-wrapper .sp {
    display: none;
  }

.info-wrapper {
  padding:  30px 0;
}
.news-wrapper {
  display: -webkit-flex;
  display: flex;
  margin: 20px auto 0;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.news-wrapper div {
  width: 23%;
  margin-right: 21px;
  border: solid 1px #ccc;
  text-align: center;
  margin-bottom: 20px;
}
.news-wrapper div:nth-child(4n) {
  margin-right: 0;
}
.news-type {
  width: 85px;
  margin: 0 auto 15px;
  color:  #fff;
  font-size: .9em;
}
#g-contents p.news-type {
  padding: 3px 0;
}
.news-date {
  font-weight: bold;
}

.news-contents {
  text-align: left;
  line-height: 1.4em;
}
#g-contents p.news-contents {
  padding:  0 10px 20px;
}
.news-contents a {
  color: #333;
}
.news-contents a:hover {
  text-decoration: underline;
}
.news-wrapper img {
  max-width: 90%;
  max-height: 120px;
}
.type-news {
  background-color: #F28D25;
}

.type-cam {
  background-color: #30A66A;
}

.type-rd {
  background-color: #4294CD;
}

.type-new {
  background-color: #E45AC9;
}

.type-saiyo {
  background-color: #2761C8;
}

.news-link {
  text-align: right;
  padding-bottom: 20px;
}
.news-link li {
  display: inline-block;
  margin-right: 10px;
}
.news-link li a {
  color: #007947;
  text-decoration: none;
  display: inline-block;
  color: #007A48;
  background: url(../images/customer_ya.svg) no-repeat 0 0;
  background-size: 14px 14px;
  text-decoration: none;
  padding: 0 0 0 16px;
}
.news-link li a:hover {
  text-decoration: underline;
}
/* ----簡易お知らせ機能----*/
#important-news {
  padding: 20px;
  border: solid 3px #73C552;
  background-color: #F4FFED;
  margin-bottom: 30px;
}

#important-news a {
  color: #007A48;
}

#important-news a:hover {
  text-decoration: underline;
}

/* ---------------------------------*/


@media only screen and (max-width: 1024px) {
  .g-container-wrapper {
    width: 748px;
  }

.ba01 {
  width: 32%;
}
.ba02 {
  width: 49%;
}
.ba03 {
  width: 26%;
}
.ba04 {
  width: 43%;
}

figure.recommend {
  position: static;
  float: none;
  overflow: visible;
  margin: 10px 1%;
  min-width: inherit;
  max-width: inherit;
  width: auto;
}
figure.recommend img {
  max-width: none;
  width: 100%;
}
figure.recommend:after,
figure.recommend figcaption {
  position: static;
  display: none;
  opacity: 0;
}
figure.recommend:hover img,
figure.recommend.hover img {
  opacity: 1;
}
figure.recommend:hover:after,
figure.recommend.hover:after {
  opacity: 0;
}

figure.recommend:hover p,
figure.recommend.hover p,
figure.recommend:hover i,
figure.recommend.hover i {
  display: none;
}
  

.news-wrapper div {
  width: 31%;
}
.news-wrapper div:nth-child(4n) {
  margin-right: 20px;
}
.news-wrapper div:nth-child(3n) {
  margin-right: 0;
}

}

@media only screen and (max-width: 768px) {
  #g-contents {
    padding: 0;
  }
  .g-container-wrapper {
    width: 100%;
  }
.ba-wrapper {
  display: block;
  padding:  0 10px;
}
  .ba-wrapper .pc {
    display: none;
  }
  .ba-wrapper .sp {
    display: block;
  }
.ba-wrapper div {
  width: auto;
  padding-bottom: 10px;
}
.news-wrapper {
  padding:  0 10px;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.news-wrapper div {
  width: 48%;
    margin-right:  0;
}
.news-wrapper div:nth-child(4n) {
  margin-right: 0;
}
.news-wrapper div:nth-child(2n) {
  margin-right: 0;
}

}

@media only screen and (max-width: 320px) {
.news-wrapper div {
}
}