@charset "UTF-8";
/*
* レイアウト
*/
#features {
  
}
#features .commonBgColor {
  width: 100%;
  background-color: #F5F9FF;
}


/*
* まえがき
*/
#preface {
  position: relative;
  margin: 0;
  padding: 0 0 120px 0;
}
#preface .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}
#preface p {
  flex: 1;
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}
#preface  .wrap {
  position: relative;
  z-index: 2;
}


/*
* 魅力リスト
*/
#charmList {
  margin: 0;
  padding: 0 0 120px 0;
}
/* リスト */
#charmList ul {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin: 0;
  padding: 30px 0;
}
#charmList ul li {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}
/* テキスト部分 */
#charmList ul .body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: calc(50% + 120px);
  margin: 0 -60px 0 0;
  padding: 60px;
  background-color: #FFFFFF;
  border-radius: 8px;
}
#charmList ul .body h4 {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}
#charmList ul .body h4 span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Red Hat Display', sans-serif;
  color: #1B74C1;
  font-size: 60px;
  font-weight: 100;
  line-height: 1;
}
#charmList ul .body h4 span en {
  font-size: 12px;
  font-weight: 700;
}
#charmList ul .body p {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}
/* 写真 */
#charmList ul .pict {
  position: relative;
  aspect-ratio: 879/673;
  width: calc(50% + 60px);
  margin: 0;
  padding: 0;
  z-index: 1;
}
#charmList ul .pict img {
  width: 100%;
  border-radius: 8px;
}
/* 順序 */
#charmList ul li:nth-child(2n) .body {
  order: 2;
}
#charmList ul li:nth-child(2n) .pict {
  order: 1;
}
#charmList ul li:nth-child(2n) .pict img {
  position: absolute;
  left: auto;
  right: -60px;
}


/*
* 未来の社会を支える京都電機器の製品
*/
#products {
  margin: 0;
  padding: 100px 0 120px 0;
  background: linear-gradient(90deg, #32A5ED 0%, #1A74C1 100%);
}
#products .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}
/* タイトル */
#products .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #FFFFFF;
  margin: 0 0 60px 0;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
#products .title en {
  font-family: 'Red Hat Display', sans-serif;
  font-size: 60px;
  font-weight: 100;
  letter-spacing: 0.1em;
}
#products .title strong {
  font-weight: 400;
}
#products p.comment {
  margin: 0 0 60px 0;
  padding: 0;
  color: #FFFFFF;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}
/* リスト */
#products ul.list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}
#products ul.list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(50% - 25px / 2);
  margin: 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
}
#products ul.list .pict {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 20px 0;
  padding: 0;
  border-radius: 8px;
}
#products ul.list .pict span {
  position: absolute;
  z-index: 2;
  top: -10px;
  left: -10px;
  padding: 15px 40px;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  background-color: #1B74C1;
  border-radius: 4px;
}
#products ul.list .pict img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 8px;
}
#products ul.list li h4 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}
#products ul.list p {
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}








/*
* スマホ用 
*/


@media screen and (max-width:992px){

  

  /*
  * まえがき
  */
  #preface {
    padding: 0 0 60px 0;
  }
  #preface p {
    text-align: justify;
    font-size: 15px;
  }


  /*
  * 魅力リスト
  */
  #charmList {
    margin: 0;
    padding: 0 0 60px 0;
  }
  /* リスト */
  #charmList ul {
    gap: 40px;
    margin: 0;
    padding: 0;
  }
  #charmList ul li {
    flex-direction: column;
  }
  /* テキスト部分 */
  #charmList ul .body {
    order: 2;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 20px;
  }
  #charmList ul .body h4 {
    font-size: 15px;
  }
  #charmList ul .body h4 span {
    font-size: 36px;
  }
  #charmList ul .body h4 span en {
    font-size: 8px;
    font-weight: 700;
  }
  /* 写真 */
  #charmList ul .pict {
    order: 1;
    width: calc(100% - 40px);
  }
  #charmList ul .pict img {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    border-radius: 8px;
  }
  /* 順序 */
  #charmList ul li:nth-child(2n) .body {
    order: 2;
  }
  #charmList ul li:nth-child(2n) .pict {
    order: 1;
  }
  #charmList ul li:nth-child(2n) .pict img {
    position: relative;
    left: auto;
    right: auto;
  }


  /*
  * 未来の社会を支える京都電機器の製品
  */
  #products {
    margin: 0;
    padding: 60px 0;
  }
  #products .wrap {
    padding: 0;
  }
  /* タイトル */
  #products .title {
    gap: 20px;
    margin: 0 0 40px 0;
    font-size: 16px;
  }
  #products .title en {
    font-size: 32px;
  }
  #products p.comment {
    margin: 0 0 40px 0;
    text-align: justify;
    font-size: 15px;
  }
  /* リスト */
  #products ul.list {
    flex-direction: column;
    gap: 20px;
    margin: 0 0 60px 0;
    padding: 0;
  }
  #products ul.list li {
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 20px;
  }
  #products ul.list .pict {
    margin: 0 0 20px 0;
  }
  #products ul.list .pict span {
    padding: 10px 30px;
    font-size: 15px;
  }
  #products ul.list .pict img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 8px;
  }
  #products ul.list li h4 {
    font-size: 15px;
  }
  #products ul.list p {
    font-size: 15px;
  }












}
