@charset "UTF-8";

/* BANNER */
.bx-viewport {
  padding-top: 60px;
  z-index: 1;
}

.bx-controls {
  display: none;
}

.top-banner-one {
  position: relative;
}

.banner-one-catch {
  position: absolute;
  top: 75%;
  transform: translateY(-75%);
  margin: auto;
}

.banner-one-main {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.banner-one-main img {
  width: 85%;
}

.banner-one-sub {
  font-size: 22px;
  font-weight: bold;
  color: #FFFFFF;
  text-shadow: 0 0 3px var(--black);
  text-align: center;
}

.top-banner-two {
  position: relative;
}

.banner-two-catch {
  position: absolute;
  top: 85%;
  transform: translateY(-85%);
  margin: auto;
}

.banner-two-main {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.banner-two-main img {
  width: 85%;
}

.banner-two-sub {
  font-size: 22px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
}

.top-banner-three {
  position: relative;
}

.banner-three-catch {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin: auto;
}

.banner-three-main {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.banner-three-main img {
  width: 85%;
}

.banner-three-sub {
  font-size: 22px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: center;
}

/* MAIN */
.about-one-wrapper {
  margin-top: 50px;
  margin-bottom: 100px;
}

.about-one-text {
  margin-bottom: 60px;
}

.about-one-text h2 {
  margin-bottom: 20px;
}

.about-one-text p {
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-one-text span {
  line-height: 2.0;
  font-weight: bold;
}

.about-one-autobody, .about-one-printing {
  margin-bottom: 30px;
}

.about-one-autobody img, .about-one-printing img {
  margin-bottom: 20px;
}

.about-one-autobody h3, .about-one-printing h3 {
  margin-bottom: 10px;
}

.about-one-autobody p, .about-one-printing p {
  margin-bottom: 10px;
  line-height: 1.2;
}

.about-one-links {
  display: block;
  height: 30px;
  width: 100%;
  line-height: 30px;
  text-align: center;
}

.about-banner {
  width: 100%;
  height: 250px;
  margin-bottom: 100px;
  background-color: var(--green);
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.about-banner h2 {
  margin-bottom: 30px;
  line-height: 1.2;
  font-style: italic;
}

.about-banner p {
  width: 80%;
  margin: 0 auto;
  line-height: 1.2;
  font-style: italic;
}

.certificate-wrapper {
  margin-bottom: 100px;
}

.certificate-panel {
  margin-bottom: 40px;
}

.certificate-panel p {
  margin-bottom: 20px;
  text-align: center;
}

.certificate-panel p img {
  max-height: 200px;
  max-width: 80%;
}

.certificate-panel h3 {
  margin-bottom: 20px;
  text-align: center;
}

.units-wrapper {
  margin-bottom: 100px;
}

.units-title h2 {
  width: 100%;
  padding: 20px 0;
  margin-bottom: 40px;
  text-align: center;
  font-style: italic;
  background-color: var(--green);
  color: #FFFFFF;

}

.units-wrapper h3 {
  margin-bottom: 40px;
  text-align: center;
  font-style: italic;
  color: var(--green);
}

.unit-panel {
  margin-bottom: 50px;
}

.unit-panel p.panel-image-wrapper {
  text-align: center;
}

.unit-panel p img {
  max-height: 300px;
}

.unit-panel h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--gray);
  font-weight: bold;
}

.unit-panel h5 {
  margin-bottom: 10px;
  font-size: 18px;
  color: var(--green);
}

.unit-panel p {
  margin-bottom: 20px;
  min-height: 60px;
  line-height: 1.2;
}

.unit-panel-more {
  width: 165px;
  height: 40;
  margin: 0 auto;
  display: block;
  line-height: 40px;
  text-align: center;
  border: 1px solid var(--green);
}

.units-comparison {
  width: 100%;
  height: 45px;
  margin: 0 auto;
  display: block;
  color: #FFFFFF;
  background-color: var(--gray);
  line-height: 45px;
  text-align: center;
  box-sizing: border-box;
}

.units-comparison:hover {
  color: var(--gray);
  background-color: #FFFFFF;
  border: 1px solid var(--gray);
}

.movie {
  width: 100%;
  height: calc(((100vw * 0.9) * 315 / 560) + 100px);
  margin-bottom: 100px;
  background-color: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
}

.movie-wrapper {
  width: 90%;
}

.movie iframe {
  width: 100%;
  height: calc((100vw * 0.9) * 315 / 560);
}

.customer-wrapper {
  margin-bottom: 100px;
}

.customer-wrapper h2, .tradeshow-wrapper h2, .news-wrapper h2 {
  margin-bottom: 40px;
  color: var(--green);
  text-align: center;
}

.customer-panel {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid var(--black);
  box-sizing: border-box;
}

.customer-panel-comment {
  min-height: 320px;
  line-height: 1.2;
}

.customer-panel-name {
  font-weight: bold;
}

.tradeshow-image-wrapper {
  margin-bottom: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tradeshow-image-inner-left {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tradeshow-image-inner-left a:first-of-type {
  margin-bottom: 16px;
}

.tradeshow-image-inner-left a:nth-of-type(n + 2) {
  width: calc((100% - 16px) / 2);
  margin-bottom: 16px;
}

.tradeshow-image-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.news-wrapper {
  margin-bottom: 200px;
  display: none;
}

.news-inner dl {
  margin-bottom: 30px;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.news-inner-row {
  padding: 16px;
  border-top: 1px dotted var(--black);
}

.news-inner-row:first-of-type {
  border-top: none;
}

.news-inner-row:nth-of-type(n + 4) {
  display: none;
}

.news-inner-row dt {
  margin-bottom: 6px;
  font-weight: bold;
}

#news-btn {
  width: 200px;
  height: 40px;
  margin: 0 auto;
  text-align: center;
  line-height: 40px;
  position: relative;
}

#news-btn:after {
  display: block;
  font-family: "Font Awesome 5 Free";
  content: "\f0da";
  font-size: 26px;
  font-weight: 900;
  color: #FFFFFF;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 16px;
  margin: auto;
}

#news-btn.click::after {
  content: "\f0d7";
}

#news-btn:hover:after {
  color: var(--green);
}




@media screen and (min-width: 451px) {

  /* BANNER */
  header {
    height: auto;
  }

  /* MAIN */
  main {
    display: block;
  }

  .about-one-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .about-one-text {
    width: 75%;
  }
  
  .about-one-autobody, .about-one-printing {
    width: calc((100% - 16px) / 2);
  }
  
  .about-banner {
    height: 170px;
  }

  .about-banner h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .about-banner p {
    width: 100%;
    font-size: 18px;
  }

  .certificate-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .certificate-panel {
    width: calc((100% - 16px) / 2)
  }

  .certificate-panel .panel-image-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .units-series {
    display: flex;
    justify-content: space-between;
  }

  .units-2000 .units-series {
    display: flex;
    justify-content: center;
  }

  .unit-panel {
    width: calc((100% - 16px) / 2);
  }

  .unit-panel .panel-image-wrapper {
    min-height: 300px;
  }

  .unit-panel h5 {
    min-height: 35px;
  }

  .units-comparison {
    max-width: 494px;
  }

  .movie {
    height: calc(((100vw * 0.9) * 315 / 560) + 200px);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .movie-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .movie-wrapper iframe {
    height: calc((100vw * 0.9) * 315 / 560);
  }
  
  .movie-link {
    width: 100%;
    margin: 40px 0 0;
    display: flex;
    justify-content: center;
  }
  
  .movie-link a {
    padding: 20px 40px;
  }

  .customer-panel-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .customer-panel {
    width: calc((100% - 32px) / 3);
  }

  .customer-panel-comment {
    min-height: 440px;
  }

  .tradeshow-image-inner-left, .tradeshow-image-inner-right {
    width: calc((100% - 16px) / 2);
  }

  .news-inner {
    max-width: 80%;
    margin: 0 auto;
  }

}

@media screen and (min-width: 545px) {

  /* BANNER */
  .banner-one-catch {
    position: absolute;
    top: 90%;
    left: 35%;
    transform: translateY(-75%);
    margin: auto;
  }
  
  .banner-one-main {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .banner-one-main img {
    width: 60%;
  }
  
  .banner-one-sub {
    font-size: 22px;
    font-weight: bold;
/*    color: var(--gray);*/
    text-align: left;
  }

  .banner-two-catch {
    position: absolute;
    top: 95%;
    left: 10%;
    transform: translateY(-85%);
    margin: auto;
  }
  
  .banner-two-main {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .banner-two-main img {
    width: 85%;
  }
  
  .banner-two-sub {
    font-size: 22px;
    font-weight: bold;
    text-align: left;
  }

  .banner-three-catch {
    position: absolute;
    top: 75%;
    transform: translateY(-75%);
    margin: auto;
  }
  
  .banner-three-main {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
  }
  
  .banner-three-main img {
    width: 85%;
  }
  
  .banner-three-sub {
    font-size: 22px;
    font-weight: bold;
    color: var(--gray);
    text-align: left;
  }

  /* MAIN */

}

@media screen and (min-width: 1004px) {

  header {
    display: flex;
    flex-wrap: wrap;
  }

  .g-nav {
    position: static;
    top: 0;
    order: 2;
  }

  /* BANNER */
  .bx-viewport {
    padding-top: 0;
    min-height: calc(100vw * 9 / 16 - 60px);
    max-height: calc(100vw * 9 / 16 - 60px);
    /* max-width: 1400px; */
  }

  .banner-one-catch {
    width: 600px;
    position: absolute;
    top: 75%;
    right: 5%;
    transform: translateY(-75%);
    margin: auto;
  }

  .banner-one-main img {
    width: 85%;
  }

  .banner-one-sub {
    font-size: 26px;
  }

  .banner-two-catch {
    width: 600px;
    position: absolute;
    top: 85%;
    transform: translateY(-85%);
    left: calc((100vw / 2) - 502px);
    margin: auto;
  }

  .banner-two-main img {
    width: 85%;
  }

  .banner-two-sub {
    font-size: 26px;
  }

  .banner-three-catch {
    width: 600px;
    position: absolute;
    top: 75%;
    transform: translateY(-75%);
    left: calc((100vw / 2) - 502px);
    margin: auto;
  }

  .banner-three-main img {
    width: 85%;
  }

  .banner-three-sub {
    font-size: 26px;
  }

  /* MAIN */
  .about-one-wrapper {
    margin-top: 100px;
  }

  .about-one-text {
    width: calc(40% - 16px);
  }
  
  .about-one-autobody, .about-one-printing {
    width: calc((60% - 32px) / 2);
    margin-bottom: 0;
  }

  .certificate-panel {
    width: calc((100% - 48px) / 4);
  }

  .units-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .units-wrapper h2 {
    width: 100%;
  }

  .units-3000 {
    width: calc(((100% - 32px) / 3) * 2 + 16px);
  }

  .units-2000 {
    width: calc((100% - 32px) / 3);
  }

  .units-2000 .unit-panel {
    width: 100%;
  }

  .movie {
    max-height: 765px;
    height: calc(((100vw * 0.9) * 315 / 560) + 200px);
  }

  .movie-wrapper iframe {
    max-width: 1004px;
    max-height: 565px; 
    height: calc((100vw * 0.9) * 315 / 560);
  }

  .customer-panel-comment {
    min-height: 260px;
  }

  .news-inner {
    max-width: 664px;
  }

}