﻿@charset "utf-8";

/* company/info マージン調整 */
.company-info .main-content .context{
  padding: 50px 0 0;
}
.company-info .main-content .context:first-child{
  padding: 25px 0 0;
}

#bg {
  background-image: url('../images/common/bg02.jpg');
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  background-size: cover;
  background-attachment: fixed;
  -webkit-transition: all 2s;
  transition: all 2s;
}

#wrap-outer {
  position: relative;
  z-index: 2;
}

/* 扉ページ */
#main.index header p {
  width: 200px;
  margin: 0 auto;
}
  #main.index header p img {
    display: block;
    width: 100%;
    height: auto;
  }

#main.index .context-inner {
  margin-top: 6rem;
}
  #main.index .context-inner:nth-of-type(1) {
    margin-top: 3rem;
  }

  #main.index .context-inner p{
    padding: .5rem 0 0;
  }

/* 会社情報 */
#main.company-info .main-content .context .item {
  padding: 1.5rem 0;
}
#main.company-info .item h3 {
  font-weight: bold;
  font-size: 1.6rem;
}
#main.company-info .item figure {
  margin: 1rem 0 0;
  padding: 0 0 1rem;
}
#main.company-info .item figure img {
  display: block;
  width: 100%;
  height: auto;
}
#main.company-info .item figcaption {
  text-align: right;
  margin: .5rem 0 0;
}

#main.company-info .main-content #history.context #pack {
  display: none;
}
#main.company-info .main-content #history.context #btn-oc {
  display: block;
  background-color: #333;
  text-align: center;
  width: 50%;
  max-width: 280px;
  margin: 2rem auto 0;
  padding: .8rem 1rem .5rem;
  font-size: 1.3rem;
}
#main.company-info .main-content #history.context .close {
  display: none;
}
#main.company-info .main-content #history.context .active .close {
  display: block;
}
#main.company-info .main-content #history.context .active .open {
  display: none;
}

.equipment.page .main-content .context .item.item_fix01{
  margin-top: 3rem;
  border-top: 1px solid #333;
}
.quality_environment_policy .img_fix01{
  display: block;
  width: 216px;
}
.quality_environment_policy .img_fix01 img{
  display: block;
  width: 100%;
  height: auto;
}

/* 英語版：ローカルナビ */
#en #main .lnav ul {
  margin: 0;
}
#en #main .lnav li {
  float: none;
  width: 100%;
  margin: 15px 0 0;
}

@media screen and (min-width: 641px) {
  #btn-oc:hover {
    cursor: pointer;
  }
}

@media screen and (max-width: 420px) {
  #main.company-info .item h3 {
    font-weight: bold;
    font-size: 1.4rem;
  }
}


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

  #bg{
    background: none;
  }

  #bg::before{
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-transform: translate3d(0, 0, -1px);
    transform: translate3d(0, 0, -1px);
    width: 100%;
    height: 100vh;
    background: url('../images/common/bg02.jpg') center/cover no-repeat;
    -webkit-background-size: cover;
  }

}