/*----KV----*/


:root {
  --kv-size: 700px;
}

#kv {
  position: relative;
}

.home-logo {
  z-index: 15;
  position: absolute;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.5)30%, rgba(107, 107, 107, 0.6)80%);
  background-size: cover;
  background-position: center;
  object-fit: cover;
  width: 100%;
  height: var(--kv-size);
  padding: 200px 100px;
}

.deco {
  display: inline-block;
  background: linear-gradient(transparent 40%, #ffffffaf 40%);
  padding: 0px 50px 10px 10px;
}

.Heading-1 {
  display: inline-block;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 0.16em;
  border-bottom: double 6px var(--color-black);
}

.Heading-1 span {
  display: inline-block;
}

.Heading-2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
}

#slideshow {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: var(--kv-size);
}

#slideshow img {
  position: absolute;
  z-index: 8;
  opacity: 0.0;
  width: inherit;
  height: inherit;
  object-fit: cover;
}

#slideshow img.active {
  z-index: 10;
  opacity: 1.0;
}

#slideshow img.last-active {
  z-index: 9;
}

.sp_br {
  display: none;
}




/*----スローガン----*/

#slogan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../images/haikei.png);
  background-size: cover;
  background-position: bottom;
  background-attachment: fixed;
  margin: 100px 0;
  padding: 80px 0;
}

.slogan-title {
  margin: 0 50px;
  padding: 10px 50px;
  border-bottom: 4px solid var(--color-skyblue);
  text-align: center;
}

.slogan-title h1 {
  font-size: 4rem;
  display: inline;
  text-align: center;
  font-weight: 600;
}

.slogan-title h1 span {
  color: rgb(255, 0, 0);
}

.slogan-text span {
  color: blue;
}

.slogan-text {
  font-size: 3rem;
  font-weight: 600;
  margin: 10px 0;
}

.slogan-title br {
  display: none;
}





/*----サービス体制について----*/

#service {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 100px;
}

.service-phrase {
  margin: 0 10px 50px;
}

.service-phrase h1 {
  display: inline;
  background-image: linear-gradient(transparent 70%, #00b7ff 70%);
  padding: 5px 50px 5px 10px;
  font-weight: 600;
  font-size: 3.3rem;
}

.service-message {
  border: 1px solid rgba(0, 90, 150, 0.9);
  font-size: 2rem;
  border-bottom: none;
  padding: 20px 15px;
}

.service-box {
  display: flex;
  position: relative;
  border: 1px solid rgba(0, 90, 150, 0.9);
}

.service-card {
  position: relative;
  display: flex;
  height: 550px;
  width: 20%;
  overflow: hidden;
}

.service-card img {
  flex: 1;
  width: 100%;
  object-fit: cover;
}

.service-img2 {
  display: none;
}

.service-text-box1,
.service-text-box2,
.service-text-box3,
.service-text-box4,
.service-text-box5 {
  position: absolute;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  z-index: 10;
  width: 100%;
  height: 50%;
  align-items: center;
}

.service-text-box1,
.service-text-box3,
.service-text-box5 {
  top: 50%;
}

.service-text-box2,
.service-text-box4 {
  bottom: 50%;
}

.service-text-box1 {
  background-image: linear-gradient(rgba(138, 216, 155, 0.9) 10%, rgba(0, 150, 60, 0.9));
}

.service-text-box2 {
  background-image: linear-gradient(rgba(128, 185, 223, 0.9) 10%, rgba(0, 90, 150, 0.9));
}

.service-text-box3 {
  background-image: linear-gradient(rgba(223, 128, 128, 0.9) 10%, rgba(150, 0, 0, 0.9));
}

.service-text-box4 {
  background-image: linear-gradient(rgba(224, 179, 142, 0.9) 10%, rgba(150, 67, 0, 0.9));
}

.service-text-box5 {
  background-image: linear-gradient(rgba(223, 217, 140, 0.9) 10%, rgba(150, 140, 0, 0.9));
}

.service-text-title {
  margin: 15px 0 0;
  display: inline;
  padding: 0 50px 2px;
  border-bottom: 1px solid var(--color-white);
}

.service-text h4 {
  font-weight: 600;
  margin: 0;
  margin-bottom: 10px;
}

.service-text {
  font-size: 1.4rem;
  margin: 10px;
  align-content: center;
  padding: 15px;
  border: 1px solid var(--color-white);
  height: 210px;
}






/*----GX----*/

#gx {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0;
  padding: 50px 0;
  justify-content: center;
}

.gx-banner {
  width: 100%;
  height: 5px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-gray);
  margin: 50px 0;
}

.gx-title {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  border: 5px, solid, var(--color-gray);
  background-color: var(--color-white);
  padding: 30px 100px;
}

.gx-title h1 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.4em;
  text-transform: none;
  text-decoration: none;
}

.gx-box {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin-top: 100px;
  background-image: url(../images/gx_kv.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 600px;

}

.gx-box img {
  position: relative;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.gx-position {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10;
  left: 50%;
  width: 50%;
  height: 100%;
  padding: 40px;
}

.gx-comment2 {
  color: var(--color-white);
  border: 1px solid var(--color-white);
  font-size: 24px;
  line-height: 175%;
  text-align: center;
  padding: 10px 30px;
  margin: 30px;
}

.gx-comment3 {
  margin: 10px 30px;
  display: inline-block;
  color: var(--color-white);
  font-size: 18px;
  line-height: 175%;
}

.gx-link {
  text-align: right;
  margin: 30px 50px;
}









/*----製品紹介----*/

#product {
  position: relative;
  margin: 80px 0;
}

.section-box {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.section-heading1 {
  display: flex;
  position: relative;
  align-items: center;
  margin: 50px 0;
  flex-direction: column;
}

.section-heading1 h3 {
  font-size: 3rem;
  font-weight: 400;
}

.post-card {
  width: 100%;
  display: flex;
  position: relative;
  max-width: 450px;
  align-self: stretch;
  transition: 0.3s;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  border: 2px solid var(--color-gray);
  background-color: var(--color-white);
}

.post-card-image {
  flex: 1;
  width: 350px;
  object-fit: cover;
}

.post-card:hover {
  transform: scale(1.02);
}

.card-text-box {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 12px 24px 24px;
  background-color: var(--color-white);
}

.card-text1 {
  color: var(--color-white);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px 0;
  padding: 8px 10px;
  margin-bottom: 5px;
  width: 100%;
  background-image: linear-gradient(to left, transparent, var(--color-skyblue) 40%);
}

.card-text2 {
  color: var(--color-black);
  font-size: 16px;
  font-style: normal;
  margin-bottom: 16px;
}

.simulation-link {
  display: flex;
  margin: 100px auto;
  justify-content: center;
}

.simulation-link a {
  transition: 0.3s;
}

.simulation-link a:hover {
  transform: scale(1.03);
  box-shadow: 10px 8px 6px var(--color-gray);
}

.simulation-link a img {
  height: 300px;
}


.youtube {
  width: 60%;
  margin: 100px auto;
  aspect-ratio: 16/9;
}

.youtube-text {
  font-size: 24px;
  margin-bottom: 20px;
}


.youtube iframe {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.youtube-link {
  margin: 30px;
  text-align: right;
}

.youtube-btn i {
  margin-left: 5px;
}







/*----お知らせ----*/
#news {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0;
}

#news h2 {
  margin: 30px;
  padding: 0 30px 3px;
   border-bottom: 2px solid var(--color-skyblue);
}

.post-archive_wrapper {
  width: 80%;
  border: 0.1rem solid var(--color-black);
  margin: 30px;
}

.post-date_wrapper {
  position: relative;
  display: flex;
  color: var(--color-black);
  padding: 15px 20px;
  transition: 0.3s;
}

.post-date_wrapper:hover {
  background-color: #f3f3f3;
}

.post_wrapper {
  list-style: none;
  text-decoration: none;
}

.post_wrapper a {
  text-decoration: none;
}

.news-link {
  margin: 30px;
}

.post-date,
.post-cat,
.post-title {
  margin: 0 20px;
  text-decoration: none;
}
 
.post-cat {
  padding-left: 10px;
  border-left: 1px solid var(--color-gray);
}

.post-cat span {
  border-radius: 5px;
  padding: 3px 5px;
  color: var(--color-white);
}


/*--カテゴリーカラー--カテゴリーのスラッグ名で色が付けられます--*/

.product {
  background-color: #00b7ff;
}

.news {
  background-color: #ffc400;
}

.data {
  background-color: #4cca68;
}






/*----注目商品----*/

#faetuerd-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: px 0;
}

.item-card-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 50px;
}

.item-card {
  width: 400px;
  height: 500px;
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 10px;
}

.item-card img {
  flex: 1;
  width: 100%;
  bottom: auto;
  object-fit: cover;
  max-width: 400px;
  cursor: pointer;
  transition-duration: 0.3s;
}

.item-card img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.item-card-text {
  color: var(--color-black);
  font-size: 16px;
  font-style: normal;
  text-align: center;
  font-weight: 600;
  line-height: 14px;
  margin: 16px;
}







/*----スマホ用----*/

@media(max-width: 1230px) {

  /*----KV----*/

  .deco {
    background: #ffffffaf 40%;
    padding: 0 30px 30px 30px;
  }


  .slogan-title br {
    display: block;
  }


  /*----サービス体制について----*/

  .service-box {
    flex-direction: column;
  }

  .service-card {
    width: 100%;
    height: 300px;
  }

  .service-img1 {
    display: none;
  }

  .service-img2 {
    display: block;
  }

  .service-text-box1,
  .service-text-box2,
  .service-text-box3,
  .service-text-box4,
  .service-text-box5 {
    width: 50%;
    height: 100%;
    top: 0;
    bottom: 0;
  }

  .service-text-box1,
  .service-text-box3,
  .service-text-box5 {
    left: 50%;
  }




  /*----GX----*/

  .gx-position {
    left: 0;
    width: 100%;
  }



  /*----製品紹介----*/

  .simulation-link a img {
    height: 200px;
  }

  .youtube {
    width: 90%;
  }


}