@charset "UTF-8";



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



	top slider



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

/*	top_slider
----------------------------------------------- */
#top-slider {
  overflow: hidden;
}

#top-slider ul li img {
  width: 100%;
}

#top-slider .bx-viewport {
  border: 0;
  overflow: visible !important; //両サイドが表示される
}

#top-slider .bx-wrapper {
  width: 1400px !important;
  margin: 0 auto 60px auto;
  box-shadow: none;
  border: none;
}

/*	sp_top_slider
----------------------------------------------- */
#sp-top-slider {
  display: none;
}





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



	content



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

section h3 {
  font-size: 1.5em;
}

section h3 span {
  font-size: 0.5em;
  font-weight: bold;;
}






/*	about
----------------------------------------------- */

#about  h3 span {
  color: #f08300;
}

#about .about-lead {
  margin: 25px 0 0 0px;
  font-size: 0.8em;
  line-height: 1.5em;
}

#about .about-section {
  position: relative;
  margin: 12px 0 0 0;
  width: 100%;
  height: 174px;
}

#about .about-section a {
  display: inline-block;
  opacity: 1.0;
  -moz-animation: none;
  -webkit-animation: none;
  -o-animation: none;
  -ms-animation: none;
  animation: none;
}

#about .about-section a:hover {
  opacity: 1.0;
  -moz-animation: none;
  -webkit-animation: none;
  -o-animation: none;
  -ms-animation: none;
  animation: none;
}

#about .about-section:hover {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  -ms-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

#about .about-section::before {
  content: "";
  display: block;
  position: absolute;
  top: 18px;
  left: 0px;
  width: 18px;
  height: 25px;
  background: url("/lib/img/top/about-section-badge.png") no-repeat;
  background-size: 100%;
}

#about .about-section .text-wrapper {
  height: 174px;
}

#about .about-section .about-section-title {
  font-size: 1.2em;
  color: #ffffff;
  text-align: center;
  width: 588px;
  padding: 40px 0 0 0;
}

#about .about-section .about-text {
  font-size: 0.9em;
  line-height: 1.6em;
  color: #ffffff;
  width: 587px;
  padding: 30px 60px 0 60px;
}

#about .about-section .image {
  width: 412px;
  height: 174px;
  position: absolute;
  overflow: hidden;
}

#about .about-section .image img {
  width: 100%;
}

#about .about-section:nth-of-type(1) {
  background-color: #f08300;
  margin: 31px 0 0 0;
}

#about .about-section:nth-of-type(1):hover {
  background-color: #e25400;
}

#about .about-section:nth-of-type(1) .image {
  right: 0;
}

#about .about-section:nth-of-type(2) {
  background-color: #00a040;
}

#about .about-section:nth-of-type(2):hover {
  background-color: #006800;
}

#about .about-section:nth-of-type(2)::before {
  left: inherit;
  right: 0px;
  background-size: 100%;
  transform: scale(-1, 1);
}

#about .about-section:nth-of-type(2) .image {
  left: 0;
}

#about .about-section:nth-of-type(2) .text-wrapper {
  margin: 0 0 0 412px;
}


#about .about-section:nth-of-type(3) {
  background-color: #006cb8;
}

#about .about-section:nth-of-type(3):hover {
  background-color: #00009d;
}

#about .about-section:nth-of-type(3) .image {
  right: 0;
}

#about .about-section:hover .image img {
  width: 110%;
  margin-left: -5%;
  margin-top: -2.25%;
  -webkit-transition-duration: 0.25s;
  -moz-transition-duration: 0.25s;
  -ms-transition-duration: 0.25s;
  -o-transition-duration: 0.25s;
  transition-duration: 0.25s;
}

/*	playvideo
----------------------------------------------- */
.play-video {
  text-align: center;
  margin-top: 82px;

  margin-bottom: 82px;
}

/*	news
----------------------------------------------- */
#news {
  margin: 82px 0 0 0;
  padding: 42px 0;
  background: #f4f4f4;

  /*display: none;*/
}

#news h3 span {
  color: #00a040;
}

#news .to-list-button {
  position: absolute;
  top: 0px;
  right: 0px;
}

#news .to-list-button a {
  font-size: 0.8em;
  display: block;
  width: 205px;
  height: 34px;
  background: url('/lib/img/top/to-list-button.png') no-repeat;
  background-size: 100%;
  padding: 11px 10px;
}

#news ul {
  margin: 28px 0 0 0;
  display: flex;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
}

#news ul li {
  margin: 0 0 0 20px;
  overflow: hidden;
}

#news ul li:nth-of-type(1) {
  margin: 0;
}

#news ul li a {
  display: block;
  width: 235px;
  height: 306px;
  background: #ffffff;
}

#news ul li img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#news ul li .tmb-wrapper {
  overflow: hidden;
  height: 152px;
  position: relative;
}

#news ul li .text-wrapper {
  padding: 15px;
}

#news ul li .date {
  font-size: 0.8em;
}

#news ul li .title {
  line-height: 1.4em;
  font-size: 0.9em;
  font-weight: bold;
  margin: 8px 0 0 0;
}

#news ul li .caption {
  font-size: 0.9em;
  line-height: 1.5em;
  margin: 15px 0 0 0;
}



/*	case
----------------------------------------------- */
#case {
  padding: 42px 0 98px 0;

  /*display: none;*/
}

#case h3 span {
  color: #00a040;
}

#case .to-list-button {
  position: absolute;
  top: 0px;
  right: 0px;
}

#case .to-list-button a {
  font-size: 0.8em;
  display: block;
  width: 205px;
  height: 35px;
  background: url('/lib/img/top/to-list-button.png') no-repeat;
  background-size: 100%;
  padding: 11px 10px;
}

#case ul {
  margin: 28px 0 0 0;
  display: flex;
  flex-wrap: wrap;
}

#case ul li {
  margin: 0 0 0 20px;
  overflow: hidden;
}

#case ul li:nth-of-type(1) {
  margin: 0;
}

#case ul li a {
  display: block;
  width: 235px;
  background: #f4f4f4;
}

#case ul li img {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

#case ul li .tmb-wrapper {
  overflow: hidden;
  height: 152px;
  position: relative;
}

#case ul li .text-wrapper {
  padding: 15px;
}

#case ul li .company-name {
  font-size: 0.9em;
  font-weight: bold;
}





/* mediaquery IE
-------------------------------------------------------------------- */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  #news .to-list-button a,
  #case .to-list-button a {
    padding: 13px 10px;
  }
}




/* mediaquery max-width 1400px
-------------------------------------------------------------------- */
@media screen and (max-width: 1400px)  {

  /*	top_slider
  ----------------------------------------------- */
  #top-slider .bx-wrapper {
    width: 1400px !important;
    left: calc(50% - 700px);
    left: -webkit-calc(50% - 700px);
    left: -moz-calc(50% - 700px);
    left: -o-calc(50% - 700px);
  }
}





/* mediaquery max-width 1000px
-------------------------------------------------------------------- */
@media screen and (max-width: 1000px)  {

  /*	top_slider
  ----------------------------------------------- */
  #top-slider .bx-wrapper {
    left: calc(-200px);
    left: -webkit-calc(-200px);
    left: -moz-calc(-200px);
    left: -o-calc(-200px);
  }

}





/* mediaquery max-width 640px
-------------------------------------------------------------------- */
@media screen and (max-width: 640px)  {

  /*	top_slider
  ----------------------------------------------- */
  #top-slider {
    display: none;
  }

  /*	sp_top_slider
  ----------------------------------------------- */
  #sp-top-slider {
    display: inherit;
    margin: 0 0 60px 0;
  }

  #sp-top-slider .bx-wrapper {
    width: 640px !important;
    margin: 0;
    box-shadow: none;
    border: none;
  }





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



  	content



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

  section {
    margin: 40px 0 0 0;
  }

  section h3 {
    font-size: 1.8em;
    line-height: 1.2em;
  }

  section h3 span {
    font-size: 0.6em;
  }

  section .container {
    padding: 0 32px;
    box-sizing: border-box;
  }

  section h3 {
    text-align: center;
  }






  /*	about
  ----------------------------------------------- */
  #about .about-lead {
    font-size: 1.1em;
    line-height: 1.9em;
  }

  #about .about-section {
      height: inherit;
      margin: 40px 0 0 0;
  }

  #about .about-section .image {
    width: 100%;
    height: 244px;
    position: inherit;
  }

  #about .about-section .text-wrapper {
    height: 181px;
  }

  #about .about-section .about-section-title {
    font-size: 1.4em;
    width: 100%;
    padding: 25px 0 0 0;
  }

  #about .about-section .about-text {
    width: 100%;
    padding: 20px 56px 0 56px;
    font-size: 1.0em;
    line-height: 1.8em;
  }

  #about .about-section:nth-of-type(2) .text-wrapper {
    margin: 0;
  }



  /*	play-video
  ----------------------------------------------- */
  .play-video {
      width: 640px;
  }
  .play-video img {
      width: 90%;
  }




  /*	news
  ----------------------------------------------- */
  #news .container {
    padding: 0 32px 85px 32px;
  }

  #news ul {
    margin: 28px 0 0 0;
    display: inherit;
  }

  #news ul li {
    margin: 40px 0 0 0;
  }

  #news ul li a {
    width: 100%;
    height: 186px;
  }

  #news ul li .tmb-wrapper {
    float: left;
    width: 288px;
    height: 186px;
  }

  #news ul li img {
    float: left;
  }

  #news ul li .text-wrapper {
    width: 288px;
    float: right;
  }

  #news ul li .date {
    font-size: 0.9em;
  }

  #news ul li .title {
    font-size: 1.1em;
  }

  #news ul li .caption {
    font-size: 1.1em;
    line-height: 1.6em;
  }

  #news .to-list-button {
    top: inherit;
    left: inherit;
    bottom: 0px;
    left: calc(50% - 144px);
  }

  #news .to-list-button a {
    font-size: 1.1em;
    width: 288px;
    height: 47px;
    background-size: 100%;
    padding: 15px 24px;
  }





  /*	case
  ----------------------------------------------- */
  #case {
    padding: 42px 0 50px 0;
  }

  #case .container {
    padding: 0 32px 55px 32px;
  }

  #case ul li {
    margin: 0 0 30px 38px;
  }

  #case ul li:nth-of-type(2n-1)  {
    margin: 0 0 30px 0;
  }

  #case ul li a {
    width: 269px;
  }

  #case .to-list-button {
    top: inherit;
    left: inherit;
    bottom: 0px;
    left: calc(50% - 144px);
  }

  #case .to-list-button a {
    font-size: 1.1em;
    width: 288px;
    height: 47px;
    background-size: 100%;
    padding: 15px 24px;
  }

  #case ul li .company-name {
    font-size: 1.1em;
  }

}


/*
*  モーダルウィンドウ
*/
.open-youtube {
  display: inline-block;
}
.open-youtube:hover {
  cursor: pointer;
}

.youtube-modal {
  display: none;
}

.youtube-modal .close-youtube-button {
  width: 20px;
  position: fixed;
  z-index: 10000;
  left: calc(50% + 285px);
  top: calc(50% - 157px);
  left: -webkit-calc(50% + 285px);
  top: -webkit-calc(50% - 157px);
  left: -moz-calc(50% + 285px);
  top: -moz-calc(50% - 157px);
  margin: auto;
}

.youtube-modal .close-youtube-button:hover {
  cursor: pointer;
}

.youtube-modal .close-youtube-button img {
  width: 100%;
}

.youtube-modal iframe {
  position: fixed;
  z-index: 9999;
  left: calc(50% - 280px);
  top: calc(50% - 157px);
  left: -webkit-calc(50% - 280px);
  top: -webkit-calc(50% - 157px);
  left: -moz-calc(50% - 280px);
  top: -moz-calc(50% - 157px);
  margin: auto;
  width: 560px;
  height: 315px;
}

.youtube-modal .modal-bg {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  content: "";
  background-color: rgba(0,0,0,0.5);
  width: 100%;
  height: 100%;
}

/* mediaquery max-width 640px
-------------------------------------------------------------------- */
@media screen and (max-width: 640px)  {
  .youtube-modal .close-youtube-button {
    width: 40px;
    position: fixed;
    z-index: 10000;
    left: calc(50% + 285px);
    top: calc(50% - 148px);
    left: -webkit-calc(50% + 240px);
    top: -webkit-calc(50% - 205px);
    left: -moz-calc(50% + 285px);
    top: -moz-calc(50% - 157px);
    margin: auto;
  }
}
