@charset "utf-8";



/*=========================================================================================================
    Mobile
===========================================================================================================*/
@media only screen and (max-width: 767px) {

/******* section *********/
.main_section .section_title_wrap .section_text p {
  font-size: 4vw;
  line-height: 2em;
  text-align: center;
}

.main_section .section_title_wrap {
  width: 100%;
}

.main_section .section_title_wrap h2 {
  color: #02b7ff;
  font-size: 6vw;
  margin: 1.8em auto;
  text-align: center;
}

.sub_section {
  margin: 5vw auto;
}

.sub_section .subtitle_wrap h4 {
  display: block;
  font-size: 7vw;
  margin: 1em 0;
  padding: 2em 0;
  position: relative;
}

.sub_section .subtitle_wrap h4 span {
  border-bottom: 1px solid;
  display: inline-block;
  left: 50%;
  padding: 0.2em 1em;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.sub_section .subtitle_wrap p {
  font-size: 4vw;
  line-height: 2em;
  text-align: center;
}

/******* Signboard *******/
  #signboard {
    background: url(../images/facility/signboard_sp.png) center center/contain no-repeat;
    width: 100%;
  }

  #signboard > div {
    height: calc(100vw * (2 / 3));
    margin: 0 auto;
    position: relative;
    width: 100%;
  }

  #signboard div div {
    display: none;
  }

/******* TwoFactory ********/
  #TwoFactory .section_image_wrap {
    width: 100%;
  }

  #TwoFactory .section_image_wrap > ul {
    padding: 0;
    width: 100%;
  }

  #TwoFactory .section_image_wrap > ul > li {
    margin: 5vw auto;
    width: 95%;
  }

  #TwoFactory .section_image_wrap > ul > li figure {
    margin: 0;
  }

  #TwoFactory .section_image_wrap > ul > li figure img {
    object-fit: contain;
    width: 100%;
  }

  #machine > ul {
    padding: 0;
  }

  #machine > ul > li {
    margin: 10vw 0;
  }

  #machine > ul figure {
    height: 35vw;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    transition: .5s;
    width: 100%;
  }

  #machine > ul figure:before {
    background: #000;
    content: "";
    display: block;
    height: 100%;
    opacity: .6;
    transition: .5s;
  }

  #machine > ul figure.active {
    height:63vw;
  }

  #machine > ul figure.active:before {
    opacity: 0;
  }

  #machine > ul figure figcaption {
    color: #fff;
    display: block;
    left: 50%;
    position: absolute;
    /* text-align: center; */
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .5s;
    width: 100%;
    z-index: 2;
  }

  #machine > ul figure figcaption:after {
    content: url(../images/facility/clickbutton_sp.svg);
    display: block;
    right: 2vw;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 11vw;
  }

  #machine > ul figure.active figcaption {
    opacity: 0;
  }


  #machine > ul figure figcaption h4 {
    color: #02b7ff;
    font-size: 5vw;
    line-height: 1.5em;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  #machine > ul figure figcaption p {
    font-size: 3vw;
    line-height: 1.5em;
    margin: 0;
    padding: 0 0 0 1em;
  }

  #machine > ul figure img {
    display: block;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: -1;
  }





}





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

  .flex_wrap {
    display: flex;
  }

/******* section *******/
  .main_section {
    margin: 5rem;
  }

  .main_section .section_title_wrap .section_text p {
    font-size: 2rem;
    line-height: 2em;
    text-align: center;
  }

  .main_section .section_title_wrap {
    width: 100%;
  }

  .main_section .section_title_wrap h2 {
    color: #02b7ff;
    font-size: 3em;
    margin: 1.8em auto;
    text-align: center;
  }

  .sub_section {
    margin: 8rem auto;
  }

  .sub_section .subtitle_wrap h4 {
    display: block;
    font-size: 2.5rem;
    margin: 1em 0;
    padding: 2em 0;
    position: relative;
  }

  .sub_section .subtitle_wrap h4 span {
    border-bottom: 1px solid;
    display: inline-block;
    font-family: NotoSans-Md;
    left: 50%;
    padding: 0.2em 1em;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .sub_section .subtitle_wrap p {
    font-size: 1.7em;
    line-height: 2em;
    text-align: center;
  }


/******* Signboard *******/
  #signboard {
    background: url(../images/facility/signboard.png) center center/cover no-repeat;
    width: 100%;
  }

  #signboard > div {
    height: 500px;
    margin: 0 auto;
    position: relative;
    width: 1000px;
  }

  #signboard div div {
    background: rgba(255, 255, 255, .5);
    left:-10%;
    padding: 5em 10em 5em 5em;
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
  }

  #signboard div h2 {
    font-size: 4rem;
    letter-spacing: .1em;
    line-height: 1.5em;
  }

  #signboard div p {
    font-size: 1.7rem;
  }

/****** Two Factory ******/
  #TwoFactory .section_image_wrap {
    width: 100%;
  }

  #TwoFactory .section_image_wrap > ul {
    justify-content: center;
    margin: 50px auto;
    width: 1000px;
  }

  #TwoFactory .section_image_wrap > ul > li {
    padding: 3px;
    width: calc(100% / 3);
  }

  #TwoFactory .section_image_wrap > ul > li figure {
    margin: 0;
  }

  #TwoFactory .section_image_wrap > ul > li figure img {
    object-fit: contain;
    width: 100%;
  }

/******** machine ********/
  #machine > ul > li {
    margin: 100px 0;
  }

  #machine > ul figure {
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    transition: .5s;
    width: 1000px;
  }

  #machine > ul figure:before {
    background: #000;
    content: "";
    display: block;
    height: 100%;
    opacity: .6;
    transition: .5s;
  }

  #machine > ul figure.active {
    height:600px;
  }

  #machine > ul figure.active:before {
    opacity: 0;
  }

  #machine > ul figure figcaption {
    color: #fff;
    display: block;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: .5s;
    width: 100%;
    z-index: 2;
  }

  #machine > ul figure figcaption:after {
    content: url(../images/facility/clickbutton.svg);
    display: block;
    right: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
  }

  #machine > ul figure.active figcaption {
    opacity: 0;
  }


  #machine > ul figure figcaption h4 {
    color: #02b7ff;
    font-family: NotoSans-Md;
    font-size: 2.8rem;
    line-height: 1.5em;
    padding: 0 0 .5em;
  }

  #machine > ul figure figcaption p {
    font-size: 1.4rem;
    line-height: 1.8em;
  }

  #machine > ul figure img {
    display: block;
    object-fit: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: -1;
  }





}
