/*----------------------


トップページ


-----------------------*/

/* ---------------------

Hero
var1

------------------------ */
/* heroタイトル */
.HeroTtl_Box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: absolute;
  z-index: 3;
  top: 0px;
  left: 100px;
  color: #fff;
}

@media (max-width: 576px) {
  .HeroTtl_Box {
    justify-content: flex-start;
    height: auto;
    top: auto;
    bottom: 9vh;
    left: 30px;
  }
}

/* タイトル下の小さいテキスト */
.HeroTtl_Box > h2 {
  font-size: clamp(1.5rem, 8vw, 2rem);
  display: inline-block;
  letter-spacing: 0.016em;
  line-height: 1.47;
  margin-top: 0;
  line-height: 1.7;
  font-family: 'Shippori Mincho', serif;
  font-weight: 400;
  text-shadow: 0px 0px 14px #000000c2;
}

@media (min-width: 576px) {
  .HeroTtl_Box > h2 {
    margin-top: 0;
    line-height: 1.7;
    font-size: clamp(2rem, 2vw, 4rem);
  }
}

@media (min-width: 992px) {
  .HeroTtl_Box > h2 {
    font-size: clamp(2rem, 3.4vw, 4rem);
  }
}

.HeroTtl_Box > h2 > span {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.04em;
}

/* 社訓モーダル */
.PhilosophyModal_MottoImg {
  width: 100%;
}

/*---------------------------------- 
  
  
  hero
  var2
  
  --------------------------------- */
.Hero_Wrap {
  height: 100vh;
  width: 100%;
  position: relative;
}

@media (max-width: 786px) {
  .Hero_Wrap {
    height: 100vh;
  }
}

.swiper {
  height: 100%;
}

.swiper-slide img {
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
}
/* 次へ */
.mySwiper_Next,
.mySwiper_Prev {
  /* border: 1px solid #fff; */
  background-color: #ffffff3c;
  border-radius: 50%;
  height: 36px;
  width: 36px;
}
.mySwiper_Next {
  right: 20px;
}
.mySwiper_Prev {
  left: 20px;
}
.mySwiper_Next::after,
.mySwiper_Prev::after {
  font-size: 22px;
}

/*-------------------------------
   index.php 製品カテゴリ
  --------------------------------- */

#Index_ProductCate_Wrap {
  overflow-x: scroll;
  margin-left: auto;
}

@media screen and (max-width: 1400px) {
  #Index_ProductCate_Wrap {
    width: calc((((100% - 1140px) / 2) - (1.5rem * 0.5)) + 1140px);
  }
}
@media screen and (width < 1200px) {
  #Index_ProductCate_Wrap {
    width: calc((((100% - 960px) / 2) - (1.5rem * 0.5)) + 960px);
  }
}
@media screen and (max-width: 992px) {
  #Index_ProductCate_Wrap {
    margin-right: 54px;
    width: calc((((100% - 720px) / 2) - (1.5rem * 0.5)) + 670px);
  }
}
@media screen and (max-width: 768px) {
  #Index_ProductCate_Wrap {
    width: calc((((100% - 500px) / 2) - (1.5rem * 0.5)) + 464px);
  }
}

@media screen and (min-width: 1400px) {
  #Index_ProductCate_Wrap {
    width: calc((((100% - 1320px) / 2) - (1.5rem * 0.5)) + 1320px);
  }
}
@media (max-width: 576px) {
  #Index_ProductCate_Wrap {
    width: calc(100% - (54px + 1rem));
  }
}
#Index_ProductCate_List {
  display: flex;
}

.Index_ProductCate_Item {
  display: block;
  color: var(--black);
  margin-right: 16px;
  border: 1px solid var(--blue);
  background-color: #ffffff;
}
@media screen and (max-width: 768px) {
  .Index_ProductCate_Item {
    margin-right: 9px;
  }
}
.Index_ProductCate_Item a {
  color: var(--black);
  display: flex;
  flex-direction: column;
}

/* カテゴリ画像 */
.Index_ProductCate_Item img {
  object-fit: cover;
  width: 328px;
  /* height: 259px; */
  /* margin-bottom: 1.25rem; */
}

@media screen and (max-width: 768px) {
  .Index_ProductCate_Item img {
    width: 145px;
  }
}

.Index_ProductsCate span {
  font-weight: bold;
  font-size: 1.25rem;
  display: inline-block;
  margin-right: 1rem;
}

@media screen and (max-width: 768px) {
  .Index_ProductsCate span {
    font-size: 0.8rem;
    display: inline-block;
    border-bottom: 1px solid var(--black);
  }
}

.Index_ProductsTxt {
  font-size: 1rem;
  margin-right: 1rem;
}

@media screen and (max-width: 768px) {
  .Index_ProductsTxt {
    font-size: 0.7rem;
  }
}

/*-------------------------------
   index.php サスティナビリティ
  --------------------------------- */
.Sustainability_TtlIcon {
  width: 192px;
  height: 192px;
  border: 1px solid var(--black);
  border-radius: 100%;
  background-color: #fff;
  display: inline-block;
  margin-right: 20px;
  padding: 20px;
}

@media screen and (max-width: 768px) {
  .Sustainability_TtlIcon {
    width: 80px;
    height: 80px;
    padding: 7px;
  }
}

.Sustainability_CircleImg {
  width: 50vw;
  height: 50vw;
  object-fit: contain;
  transform: translateY(-16px);
}

@media screen and (max-width: 992px) {
  .Sustainability_CircleImg {
    width: 100vw;
    height: 100vw;
    position: absolute;
    z-index: -1;
    opacity: 0.4;
    top: 261px;
    left: 0;
    transform: translateY(0px);
  }
}

/* 
  
  トップページセクションタイトル
  
  */
.SecTtl_Wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.SecTtl_Wrap.Sustainability {
  justify-content: unset;
}

.Sec_Ttl h3 {
  line-height: 1;
  height: 52px;
  font-size: 3rem;
  font-weight: bold;
}

.Sec_Ttl img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: 0% 0%;
}

@media screen and (max-width: 768px) {
  .Sec_Ttl h3 {
    height: 30px;
    font-size: 2rem;
  }
}

.Sec_Ttl span {
  font-size: 1rem;
  display: block;
  margin-top: 0.5em;
}

@media screen and (max-width: 768px) {
  .Sec_Ttl span {
    font-size: 0.8rem;
  }
}

/* リンクボタン */
.Sec_More {
  display: block;
  width: 100px;
  border-bottom: 5px solid var(--blue);
  padding-bottom: 0.6em;
  color: var(--black);
  position: relative;
  font-weight: bold;
  margin-left: auto;
}

.Sec_More::before {
  content: '';
  position: absolute;
  right: 0;
  top: 40%;
  transform: translateY(-50%);
  background-color: var(--black);
  border-radius: 50%;
  width: 1.4em;
  height: 1.4em;
}

.Sec_More::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 36%;
  transform: rotate(-45deg) translateY(-50%);
  background-color: var(--black);
  width: 0.6em;
  height: 0.6em;
  background-color: transparent;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
}

.MoreDetail {
  color: var(--black);
  font-weight: bold;
  position: relative;
  display: block;
}

.MoreDetail.Philosophy {
  color: var(--white);
}

.MoreDetail > span {
  display: inline-block;
  position: relative;
  top: 0.8em;
  left: 10px;
  border: 3px solid #cacaca;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 100%;
}

.MoreDetail.Philosophy > span {
  border-color: var(--white);
}

.MoreDetail > span::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 26px;
  top: 10%;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: #00ffff;
}
#Index_ProductCate_Wrap.Scrollbar {
  scrollbar-color: var(--blue) var(--white);
  /*fire fox用 [thumb track ]*/
  scrollbar-width: auto;
  /*fire fox用 太さ(thin or auto)*/
}

/* fire fox以外 スクロールバー設定 --------------- */
#Index_ProductCate_Wrap.Scrollbar::-webkit-scrollbar {
  width: 10px;
  /* fire fox以外 太さ */
}

/* 全体の色 track */
#Index_ProductCate_Wrap.Scrollbar::-webkit-scrollbar-track {
  background-color: var(--white);
  /* fire fox以外 track色 */
}

/* つまみ = thumb */
#Index_ProductCate_Wrap.Scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--blue);
  /* fire fox以外 thumb色 */
}
