@charset "utf-8";

/*******************************************************

　トップページ

*******************************************************/
#homeContents #content {
  width: 100%;
}

/*-------------------------------------
　　共通
-------------------------------------*/
/* タイトル */
.sectionTitle {
  font-size: 22px;
  font-weight: bold;
  position: relative;
  margin-bottom: 50px;
  &::before {
    content: attr(title);
    display: block;
    font-size: 74px;
    text-transform: capitalize;
    padding-top: 15px;
    padding-bottom: 60px;
  }
  &::after {
    content: '';
    display: block;
    width: 100px;
    border-bottom: 3px solid var(--subColor);
    position: absolute;
    bottom: 50px;
  }
}
@media screen and (max-width: 1024px) {
  .sectionTitle {
    margin-bottom: 30px;
    &::before {
      font-size: 54px;
      padding-bottom: 50px;
    }
  }
}
@media screen and (max-width: 824px) {
  .sectionTitle {
    font-size: 16px;
    margin-bottom: 30px;
    &::before {
      font-size: 40px;
      padding-bottom: 20px;
    }
    &::after {
      display: none;
    }
  }
}

/* ボタン */
#homeContents section .button {
    text-align: center;
  a {
    font-size: 18px;
    background: var(--btnColor2);
    bobrder: none;
    border: none;
    padding: 12px 30px 12px 40px;
    transition: 0.5s;
    &:hover {
      background: var(--btnColor1);
    }
  }
}
@media screen and (max-width: 824px) {
  #homeContents section .button {
      text-align: center;
    a {
      font-size: 16px;
      padding: 10px 20px 10px 30px;
    }
  }
}

/* コンテンツアニメーション */
@keyframes slideup {
  from { opacity: 0; top: 100px; position: relative; }
  to { opacity: 1; top: 0px; position: relative; }
}
.motion.active {
	animation:slideup 1.0s;
}

/*-------------------------------------
　　スライド
-------------------------------------*/
#mainSlide {
  padding-top: 95px;
  background: url("../images/slide_bg.png") no-repeat center center;
  background-size: cover;
  text-align: center;  
  position: relative;
  &::after {
    content: '';
    display: block;
    background: #D6E6F2;
    height: 60px;
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 
  }
}
.mainSlide {
  margin: 50px 0;
  width: 100%;
  overflow: hidden;
	.slide {
		width: 100%;
		max-width: 1100px;
		margin: auto;
		.flex-viewport {
			overflow: visible !important;
			a {
				display: block;
				padding: 10px;
				img {
					border: 1px solid #FFF;
					border-radius: 5px;
					box-shadow: 5px 5px 10px rgb(0,0,0,0.5);
				}
			}
    	}
	}
}

@media screen and (max-width: 1024px) {
  #mainSlide {
    padding-top: 40px;
  }
  .mainSlide {
    margin: 20px 0;
    img {
    border: 1px solid #FFF;
    border-radius: 0px;
    box-shadow: none;
    }
  }
}
@media screen and (max-width: 824px) {
  #mainSlide {
	.slide {
		max-width: auto;
		.flex-viewport {
			overflow: visible !important;
			a {
				padding: 0px;
				img {
					border-radius: 0px;
					box-shadow: none;
				}
			}
    	}
	}
  }
}

/*-------------------------------------
　　バナーエリア
-------------------------------------*/
.bnrLists {
  list-style: none;
  padding: 0 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  li {
    list-style: none;
    text-align: center;
    margin: 2px;
    background: #FFF;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #FFF;
    display: inline-block;
  }
}
@media screen and (max-width: 824px) {
  .bnrLists {
    display: block;
  }
}

/*-------------------------------------
　　お知らせ
-------------------------------------*/
#news {
  background: url("../images/news_bg.png") no-repeat center center;
  background-color: var(--bgColor2);
  background-size: cover;
  padding: 160px 0 100px 0;
  margin-top: -60px;
  .sectionTitle {
    text-align: center;
    &::after {
      left: calc(50% - 50px);
    }
  }
}
@media screen and (max-width: 1024px) {
  #news {
    padding: 90px 0 50px 0;
    margin-top: -60px;
  }
}

.newsLists {
	display: flex;
	flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
  a {
    display: block;
    color: #000;
    background: #FFF;
    text-decoration: none;
    width: calc(50% - 10px);
    margin-bottom: 20px;
    border-radius: 5px;
    transition: 0.5s;
    &:hover {
      opacity: 0.8;
    }
  }
}
@media screen and (max-width: 824px) {
  .newsLists {
    a {
      width: 100%;
      margin-bottom: 5px;
    }
  }
}

.newsList {
  position: relative;
  padding: 10px;
  padding-left: 160px;
  min-height: 160px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  .title {
    order: 2;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 0;
  }
  .data {
    order: 1;
    margin: 0;
    .cat {
      font-size: 13px;
      border: 1px solid var(--subColor);
      color: var(--subColor);
      border-radius: 20px;
      padding: 1px 10px;
    }
  }
  .text {
    order: 3;
    color: #333;
    margin: 0;
  }
  .pic {
    width: 140px;
    position: absolute;
    left: 10px;
    top: 10px;
	  background: #FFF;
    img {
      min-width: 140px;
      min-height: 140px;
      object-fit: cover;
    }
  }
}
@media screen and (max-width: 1024px) {
  .newsList {
    padding-left: 120px;
    min-height: 120px;
    .title {
      font-size: 16px;
      padding: 5px 0;
    }
    .data {
		font-size: 14px;
		.cat {
		  font-size: 11px;
		  padding: 1px 5px;
		}
    }
    .text {
      font-size: 14px;
    }
    .pic {
      width: 100px;
      img {
        min-width: 100px;
        min-height: 100px;
      }
    }
  }
}

/*-------------------------------------
　　製品ラインナップ
-------------------------------------*/
#products{
  background: url("../images/products_bg.png") no-repeat center center;
  background-size: cover;
  padding: 140px 0px;
  position: relative;
  &::before, &::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
  }
  &::before {
    right: calc(50% - 1000px);
    top: 0;
    border-right: 0;
    border-left: 1000px solid transparent;
    border-top: 200px solid var(--bgColor2);
    border-bottom: 0;
  }
  &::after {
    left: calc(50% - 1000px);
    bottom: 0;
    border-right: 1000px solid transparent;
    border-left: 0;
    border-bottom: 200px solid var(--bgColor2);
    border-top: 0;
  }
  .sectionTitle {
    color: #FFF;
    &::after {
      border-color: #FFF;
    }
  }
}
@media screen and (max-width: 1024px) {
  #products{
    padding: 40px 0px;
    &::before, &::after {
      display: none;
    }
    .sectionTitle {
      text-align: center;
      &::after {
        left: calc(50% - 50px) !important;
      }
    }
  }
}

.productLists {
	display: flex;
  justify-content: space-between;
	flex-wrap: wrap;
  position: relative;
  z-index: 1;
  dl {
    border-radius: 10px;
    text-align: left;
    display: flex;
    flex-direction: column;
    width: calc(25% - 30px);
    margin-bottom: 40px;
    dt.title {
      order: 2;
      font-size: 18px;
      font-weight: bold;
    }
    dd.pic {
      order: 1;
      width: 100%;
      margin-bottom: 10px;
      img {
        width: 100%;
        border-radius: 5px;
      }
    }
  }
  a {
    text-decoration: none;
    color: #FFF;
    transition: 0.5s;
    &:hover {
      text-decoration: underline;
    }
  }
}
@media screen and (max-width: 1024px) {
  .productLists {
    dl {
      width: calc(25% - 10px);
      margin: 0px 0px 10px 0px;
      dt.title {
        font-size: 16px;
        font-weight: normal;
      }
    }
  }
}
@media screen and (max-width: 824px) {
  .productLists {
    dl {
      width: calc(50% - 10px);
      margin: 0px 0px 10px 0px;
    }
  }
}

/*-------------------------------------
　　オーダーメイド事例
-------------------------------------*/
#cases{
  background: #E1EBF2;
  padding: 40px 10px 100px 10px;
  position: relative;
}
@media screen and (max-width: 1024px) {
  #cases{
    background: #E1EBF2;
    padding: 40px 5px 50px 5px;
  }
}
.caseLists {
    dt.title {
      font-size: 18px !important;
      font-weight: bold;
    }
    dd.cat {
      span {
		  font-size: 14px !important;
      }
    }
    dd.pic {
      margin-bottom: 10px !important;
    }
}
@media screen and (max-width: 1024px) {
  .caseLists {
    dl.caseList {
      dt.title {
        font-size: 16px !important;
        font-weight: normal;
      }
		dd.cat {
		  span {
			  font-size: 13px !important;
		  }
		}
    }
  }
}

/* カルーセル設定*/
.carouselWrapper {
	display: block;
  padding: 0;
  margin-bottom: 30px;
  height: 290px;
  margin-left: calc((100% - 1300px) / 2);
  padding-right: calc((100% - 1300px) / 2);
  overflow: hidden;
	position: relative;
	.carouselBlock {
    width: 300px;
		position: absolute;
		top: 0%;
    left: 0%;
    transition: 1s;
		&:nth-of-type(1) {transform: translateX(-110%) translate(0%);}
		&:nth-of-type(2) {transform: translateX(0%) translate(0%);}
		&:nth-of-type(3) {transform: translateX(110%) translate(0%);}
		&:nth-of-type(4) {transform: translateX(220%) translate(0%);}
		&:nth-of-type(5) {transform: translateX(330%) translate(0%);}
		&:nth-of-type(6) {transform: translateX(440%) translate(0%);}
		&:nth-of-type(7) {transform: translateX(550%) translate(0%);}
		&:nth-of-type(8) {transform: translateX(660%) translate(0%);}
	}
}
@media screen and (max-width: 824px) {
  .carouselWrapper {
    display: block;
    margin-left: 0 !important;
    padding-left: 0 !important;
    width: 100%;
    height: 250px;
    .carouselBlock {
    width: 250px;
		&:nth-of-type(1) {transform: translateX(-100%) translate(0%);}
		&:nth-of-type(2) {transform: translateX(5%) translate(0%);}
		&:nth-of-type(3) {transform: translateX(110%) translate(0%);}
		&:nth-of-type(4) {transform: translateX(215%) translate(0%);}
		&:nth-of-type(5) {transform: translateX(320%) translate(0%);}
		&:nth-of-type(6) {transform: translateX(425%) translate(0%);}
		&:nth-of-type(7) {transform: translateX(530%) translate(0%);}
		&:nth-of-type(8) {transform: translateX(635%) translate(0%);}
    }
  }
}

.carouselControl {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 100px;
  right: 50px;
  span {
    margin: 10px;
    cursor: pointer;
  }
  .next, .prev {
    padding: 10px 15px;
    color: #FFF;
    font-weight: bold;
    background: var(--subColor);
    border-radius: 50%;
    transition: 0.5s;
    &:hover {
      background: var(--mainColor);
	 }
  }
}
@media screen and (max-width: 824px) {
  .carouselControl {
    top: 70px;
    right: 10px;
    .next, .prev {
      padding: 5px 10px;
    }
  }
}

/*-------------------------------------
　　ソリューション
-------------------------------------*/
#solution {
  position: relative;
  padding: 0 10px;
  &::before, &::after {
    content: '';
    display: block;
    height: 60px;
    left: -10px;
    width: calc(100% + 10px );
    position: absolute;
  }
  &::before {
    background: var(--bgColor2);
    top: 0;
  }
  &::after {
    background: var(--bgColor1);
    bottom: 0;
  }
}
.solution {
  position: relative;
  z-index: 1;
  background: url("../images/solution_bg.png") no-repeat center bottom;
  background-size: cover;
  padding: 60px 40px;
  border-radius: 10px;
  box-shadow: 5px 5px 10px rgb(0,0,0,0.5);
  display: flex;
  justify-content: space-around;
  .title {
    font-size: 48px;
    color: #FFF;
    font-weight: bold;
    margin-bottom: 50px;
  }
  .button a {
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #DD4411;
    background-color: #DD4411;
    background: linear-gradient(to left, #D77315, #DD4411);
    border-radius: 3px;
    transition: 0.5s;
    &:hover {
      color: #DD4411 !important;
      background: #FFF; 
    }
  }
}
@media screen and (max-width: 1024px) {
  .solution {
  padding: 50px 20px;
    .title {
      font-size: 36px;
      color: #FFF;
      font-weight: bold;
      margin-bottom: 50px;
    }
    .pic {
      width: 40%;
    }
  }
}
@media screen and (max-width: 824px) {
  .solution {
    flex-wrap: wrap;
    padding: 30px 20px 70px 20px;
    justify-content: center;
    position: relative;
    max-width: 580px;
    .title {
      font-size: 28px;
      margin-bottom: 5px;
      br {display: none;}
    }
    .pic {
      width: 100%;
      max-width: 300px;
      text-align: center;
    }
    .button {
      position: absolute;
      width: 100%;
      bottom: 0px;
      text-align: center;
    }
  }
}

