/*タマヤ株式会社*/
/* 製品紹介 Layout
------------------------------------------------------------ */
/* 共通
------------------------------------------------------------ */
@media screen and (min-width:280px) {
  #products h2 {
    font-weight: 300;
    text-align: center;
    font-size: 28px;
    line-height: 1em;
    margin-bottom: 50px;
  }
  .ttl_en {
    font-size: 16px;
  }
#products h3{
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 30px
  }
    .intro_box{
        margin: auto;
        line-height: 2em;
    }
        .intro_box p{
            width: 95%;
            margin: auto;
    }

    .intro_box li{
        margin-bottom: 20px;
    }
    .intro_box li:last-child{
        margin-bottom: 0;
    }
    .intro_txt{
        font-size: 15px
    }
    #products .item_area{
        padding-top: 0!important;
    }
    .item_box{
        width: 95%;
        margin: 30px auto;
    }
    .item_photo,
    .item_txt_box{
       width: 100%;
    }
    .item_photo{
        margin-bottom: 10px;
    }
    .item_txt_box{
        margin-bottom: 50px;
    }
    .item_name{
        font-size: 18px;
        margin-bottom: 1em;
    }
    .item_txt{
        line-height: 2em;
    }
    #others .intro_box{
        margin-top: 40px;
        text-align: center;
    }
    #others .item_name{
        text-align: center;
    }
    .scroll-target{
        position: relative;
    }
    .scroll-target::before{
        content: "";
  display: block;
  height: 80px;       /* 固定ナビの高さと同じにする */
  margin-top: -80px;  /* 同じ値で打ち消す */
  visibility: hidden;

    }
}
/* 
------------------------------------------------------------ */
@media screen and (min-width:767px) {
#products h3{
    font-size: 22px;
    margin-bottom: 50px
  }
    .item_box{
        width: 100%;
        align-items: center;
        margin-bottom: 150px;
    }
    .item_box:last-child{
        margin-bottom: 50px;
    }
    .item_photo{
        width: 40%;
        padding-right: 40px;
        box-sizing: border-box;
        margin-bottom: 0
    }
    .item_txt_box{
       width: 60%;
    }
    #others .item_name{
        text-align: left;
    }
    #others .item_txt02{
        margin-top: 1em;
    }
    #others .item_box{
        align-items:flex-start;
    }

}
@media screen and (min-width:980px) {
    .products_nav_area{
        padding-bottom: 0!important;
    }
    .products_nav_box{
        width: 90%;
        margin: 20px auto;
        justify-content:center;
    }
    .products_nav_box .products_nav_btn{
        padding-right: 12px;
        border-right: solid 1px;
        margin-right: 12px;
        line-height: 15px;
    }
    .products_nav_box .products_nav_btn:last-child{
        padding-right: 0;
        border-right: none;
    }
.products_nav_btn a{
    position: relative;
    display: block;
    text-decoration: none;
    z-index: 100;
}
.products_nav_btn a:hover {
    color: #333;
}
.products_nav_btn a::after {
  position: absolute;
  bottom: -12px;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #333;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .5s;
}

.products_nav_btn a:hover::after {
  transform: scale(1, 1);
}
}




