@charset "utf-8";
/* CSS Document */

#contents { padding-top:88px; }

.swiper {
    width: 100%;height:100%;
    max-width:700px;max-height:394px;
    /*aspect-ratio:16/9;*/
    margin:0 auto;padding:0;
 }

    .swiper-slide img { width:100%; }
    
    .swiper-pagination { position:relative;margin:30px 0 30px 0;padding:0; }

/* 前への矢印 */
.swiper-button-prev { 
    /*
  left: -50px;top:45%;
*/
    background-color:rgba(0,0,0,0.7);/* ボタンの背景色 */
    width: 50px;
    height: 50px;
    left: 0;/* ボタンを左端にくっつける */
}

/* 次への矢印 */
.swiper-button-next { 
    /*
  right: -50px;top:45%;
*/
    background-color:rgba(0,0,0,0.7);/* ボタンの背景色 */
    width: 50px;
    height: 50px;
    right: 0;/* ボタンを右端にくっつける */
}

.swiper-button-next::after{
    content: '→';/* ボタンの矢印変更 */
    color: #fff;
    font-size: 1.5rem;
}

.swiper-button-prev::after{
    content: '←';/* ボタンの矢印変更 */
    color: #fff;
    font-size: 1.5rem;
}

.s-right-wrap {
  position: relative;
  margin: 0 auto;
}

.s-right-text {
  position: absolute;
/*font-family: "Noto Sans JP", serif;*/
  bottom: 10%;
  left: 5%;
  width: 95%;
  text-align: left;
  color: #333;
  font-size: 5vw;
}

.swiper-slide-active .s-right-text {
  animation: slideFromRight 2s ease 0s 1 normal;
}

 .products_features_box1,  .products_features_box2,
 .products_features_box3,  .products_features_box4,
 .products_features_box5,  .products_features_box6{
    display:flex;
    flex-direction:column;
    justify-content: flex-end;
    width:94%;padding:35% 3% 3% 3%;
    margin-bottom:20px;
    aspect-ratio:3/1;
    background-color: #222;
    background-size: cover;
}

.products_features_box1 { background-image: url("../images/features_top01.jpg"); } 
.products_features_box2 { background-image: url("../images/features_top02.jpg"); }
.products_features_box3 { background-image: url("../images/features_top03.jpg"); }
.products_features_box4 { background-image: url("../images/features_top04.jpg"); }
.products_features_box5 { background-image: url("../images/features_top05.jpg"); }
.products_features_box6 { background-image: url("../images/features_top06.jpg"); }


@keyframes slideFromRight {
  0%, 25% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

/* ページネーション現在地の色 */
.swiper-pagination-bullet-active{
    background-color: #333;
}

.top_section_wrap {
    display:block;
    width:100%;
    background-color: rgba(255,255,255,1.00);
    height:auto;
    padding-bottom:30px;
}

.top_section_block {
    display:flex;flex-direction:column;
    justify-content: flex-end;
    width:100%;height:auto;
    aspect-ratio:50/25;
    padding:0;
    /*background-image:url('../img/cover_company.jpg');*/
    background-size:cover;
    background-repeat:no-repeat;
    background-color:rgba(255,255,255,1.00);
    background-position: right;
}

.sectionBG01 { background-image:url('../img/cover_company.jpg'); }

.top_section_block_title {
    display:block;
    width:90%;
    padding:35px 5% 0 5%;
    max-width:1230px;
    background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    margin:0 auto;
}

.top_section_cover_company { background-image:url('../img/cover_company.jpg'); }

.top_section_cover_info { 
    background-image:url('../img/cover_info.jpg');
    background-position: center;
}
.top_section_cover_features { 
    background-image:url('../img/cover_features.jpg');
    background-position: center;
}

.top_section_cover_technology { 
    background-image:url('../img/cover_technology.jpg');
    background-position: left;
}

.top_section_cover_production { 
    background-image:url('../img/cover_production.jpg');
    background-position: right;
}

.top_section_cover_products { 
    background-image:url('../img/cover_products.jpg');
    background-position: center;
}

.top_section_cover_sustainability { 
    background-image:url('../img/cover_sustainability.jpg');
    background-position: center;
}

.top_section_cover_support { 
    background-image:url('../img/cover_support.jpg');
    background-position: center;
}

.top_section_info {
    display:block;
    width:90%;
    padding:0 5% 25px 5%;
    max-width:1230px;
    background-color:#fff;
    margin:0 auto;
}

.top_section_other {
    display:flex;
    flex-direction: row;
    flex-wrap:wrap;
    width:100%;
    background-color:rgba(28,28,28,1.00);
    margin:0;
    padding:0;
}


.box {
  cursor: pointer;
  /*max-width: 500px;*/
  overflow: hidden;
  position: relative;
  width: 100%;
z-index:1;
}

.box-bg1 { background-image: url('../img/other01.jpg'); }
.box-bg2 { background-image: url('../img/other02.jpg'); }
.box-bg3 { background-image: url('../img/other03.jpg'); }
.box-bg4 { background-image: url('../img/other04.jpg'); }

.box-bg {
background-color:rgba(0,0,0,0.4);
background-blend-mode:darken;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 350px;*/
  transition: transform .6s ease;
  width: 100%;aspect-ratio:10/7;
}

.box:hover .box-bg{
  transform: scale(1.1);
}
.box p {
align-items: center; /* テキストの中央揃え */
text-align: center;
bottom: 0;
font-size:100%;font-weight:500;
color:rgba(255,255,255,1.00); /* テキストの色 */
  display: flex; /* テキストの中央揃え */
  justify-content: center; /* テキストの中央揃え */
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 80%; /* テキストを横幅いっぱいにならないようにする */
  z-index: 2;
}
/* マスク */
.box::before {
  background: rgba(0, 0, 0, .5); /* マスクの色(黒の50%) */
  bottom: 0;
  content: '';
  height: auto;
  left: 0;
  opacity: 0; /* 最初は透明（非表示） */
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease; /* ゆっくりopacityのみへ変化させる */
  width: 100%;

  z-index: 1;
}
.box:hover::before {

  opacity: 1;
}




@media screen and (min-width: 500px) {

    .products_features_box1,  .products_features_box2,
    .products_features_box3,  .products_features_box4,
    .products_features_box5,  .products_features_box6{
        display:flex;
        flex-direction:column;
        justify-content: flex-end;
        width:42%;padding:18% 3% 3% 3%;
        margin-bottom:20px;
        aspect-ratio:3/1;
        background-color: #222;
        background-size: cover;
    }

.top_section_block {
    display:flex;flex-direction:column;
    justify-content: flex-end;
}

.top_section_block_title {
    display:block;
    width:90%;
    padding:35px 5% 0 5%;
    max-width:1230px;
    background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    margin:0 auto;
}

.top_section_info {
    display:block;
    width:90%;
    padding:0 5% 25px 5%;
    max-width:1230px;
    background-color:#fff;
    margin:0 auto;
}

.box {
  cursor: pointer;
  /*max-width: 500px;*/
  overflow: hidden;
  position: relative;
  width: 50%;
z-index:1;
}

.box p {
    font-size:120%;font-weight:500;
}

}

@media screen and (min-width: 1000px) {

#contents { padding-top:0; }

.s-right-text {
  position: absolute;
/*font-family: "Noto Sans JP", serif;*/
  bottom: 5%;
  left: 5%;
  width: 95%;
  text-align: left;
  color: #333;
  font-size: 2vw;
}


 .products_features_box1,  .products_features_box2,
 .products_features_box3,  .products_features_box4,
 .products_features_box5,  .products_features_box6{
    display:flex;
    flex-direction:column;
    justify-content: flex-end;
    width:26%;padding:18% 3% 3% 3%;
    margin-bottom:20px;
    aspect-ratio:3/1;
    background-color: #222;
    background-size: cover;
}

.top_section_wrap {
    display:block;
    width:100%;
    background-color: rgba(255,255,255,1.00);
    height:auto;
    padding-bottom:80px;
}

.top_section_block {
    display:flex;flex-direction:column;justify-content: flex-end;
    width:100%;height:auto;align-items: flex-end;
    aspect-ratio:50/14;
    padding:0;
    /*background-image:url('../img/cover_company.jpg');*/
    background-size:cover;
    background-repeat:no-repeat;
    background-color:rgba(255,255,255,1.00);
}

.box {
  cursor: pointer;
  /*max-width: 500px;*/
  overflow: hidden;
  position: relative;
  width: 25%;
}

.box p {
    font-size:140%;font-weight:500;
}

}