/* assets */
/* SCSS */
section {
  font-family: 'Times', 'Times New Roman', serif !important;
}
#pagetitle {
  background: url(/images/page/company/header.jpg) no-repeat;
  background-size: cover;
  height: 220px;
  position: relative;
}

#pagetitle .text {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30px;
  right: 30px;
  margin: auto;
  color: #fff;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#pagetitle h1 {
  font-size: 26px;
  color: #fff;
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.75), 0 0 16px rgba(0, 0, 0, 0.75),
    0 0 16px rgba(0, 0, 0, 0.75);
  font-family: Futura, sans-serif;
}

#pagetitle h1 span {
  font-size: 17px;
  vertical-align: text-top;
  margin-left: 30px;
  letter-spacing: 0;
}

section .btn {
  width: 240px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #3e3e3e;
  border-radius: 25px;
  text-align: center;
  display: block;
  margin: auto;
  position: relative;
  margin-bottom: 30px;
}

section .btn:after {
  content: '';
  width: 15px;
  height: 15px;
  background: url(/images/icon_circle_arrow_black.png);
  background-size: 15px;
  margin: auto 0;
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
}

section .flex {
  display: flex;
}

section h2 {
  border-bottom: 1px solid #000;
  border-top: 1px solid #000;
  text-align: center;
  font-size: 26px;
  /* line-height: 55px; */
  line-height: 1;
  /* height: 55px; */
  padding: 18px 0;
  background: #e5e5e5;
}

section h2 span {
  font-size: 20px;
}

section .catch {
  text-align: center;
  font-size: 26px;
  padding: 40px 0;
}

.bx-wrapper {
  position: relative;
  margin: 0 30px 50px 30px;
}

.bx-viewport {
  overflow: hidden;
}

#slider1.bx-slider {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  transition: transform 0.4s ease;
}

#slider1.bx-slider > .bx-slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.bx-pager {
  position: absolute;
  bottom: -30px;
  width: 100%;
  text-align: center;
  padding-top: 20px;
  font-size: 0;
}

.bx-pager .bx-pager-link {
  background: #666;
  text-indent: -9999px;
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  border-radius: 5px;
  vertical-align: bottom;
}

.bx-pager .bx-pager-link.active,
.bx-pager .bx-pager-link:hover,
.bx-pager .bx-pager-link:focus {
  background: #000;
}

.bx-prev,
.bx-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  outline: 0;
  width: 20px;
  height: 24px;
  text-indent: -9999px;
  z-index: 9999;
  display: block;
}

.bx-prev {
  left: -30px;
  background: url("/images/page/facility/prev.png") no-repeat center center;
  background-size: 20px;
}

.bx-next {
  right: -30px;
  background: url("/images/page/facility/next.png") no-repeat center center;
  background-size: 20px;
}

#design .bx-viewport {
  border: 1px solid #8d8d8d;
}

#design .bx-viewport h3 {
  font-size: 26px;
  line-height: 50px;
  text-align: center;
  margin: 30px 0;
}

#design .bx-viewport h3 span {
  color: #fff;
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 35px;
  background: #000;
  border-radius: 25px;
}

#design .bx-viewport .flex {
  padding: 0 30px 30px 30px;
  justify-content: space-between;
}

#design .bx-viewport .flex .photo {
  width: 49%;
}

#design .bx-viewport .flex .text {
  width: 49%;
}

#design .bx-viewport .flex .text p {
  margin-bottom: 70px;
}

#design .bx-viewport .flex .flex {
  padding: 0;
}

#design .bx-viewport .flex .slide2 {
  width: 49%;
}

#design .bx-viewport .flex .slide2 p {
  margin-bottom: 30px;
}

#design .bx-viewport .flex .slide3 {
  width: 32%;
}

#design .bx-viewport .flex .slide3 p {
  margin-bottom: 30px;
}

#design .bx-viewport .padding {
  padding: 0 30px;
  margin-bottom: 10px;
}

#design .bx-viewport .caption {
  font-size: 10px;
}

.bx-wrapper .bx-controls-direction a {
  margin-top: -56px;
}

#products .inner {
  padding: 75px 140px;
  justify-content: space-between;
  flex-wrap: wrap;
}

#products .product {
  width: 44%;
  margin-bottom: 50px;
}

#products .product img {
  margin-bottom: 15px;
}

#products h3 {
  font-size: 26px;
  margin-bottom: 15px;
  line-height: 1.5;
  text-align: center;
}

#products p {
  font-size: 14px;
  line-height: 1.7;
}

#smallLot .inner {
  padding: 50px 140px;
  display: block;
}

#smallLot .inner .flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

#smallLot .inner .flex .fBox {
  width: 48%;
}

#smallLot .inner .flex .fBox .facility {
  margin-bottom: 50px;
}

#smallLot .ac {
  text-align: center;
}

#smallLot h3 {
  font-size: 26px;
  margin-bottom: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #000;
  padding-bottom: 15px;
}

#smallLot p {
  font-size: 14px;
  line-height: 1.7;
}

#smallLot p span {
  margin: 0 20px;
}

hr {
  border-top: 1px solid #000;
}

#smallLot table {
  width: 100%;
  line-height: 1.6;
}

#smallLot table th {
  font-weight: normal;
  text-align: left;
  white-space: nowrap;
  padding-bottom: 5px;
}

#smallLot table td {
  padding-bottom: 5px;
}

#greeting h3 {
  border-bottom: none;
}

#greeting p {
  font-size: 15px;
  margin-bottom: 20px;
}

#greeting p:last-of-type {
  margin-bottom: 0;
}

#greeting .name {
  font-size: 18px;
  text-align: right;
}

#eco {
  border-bottom: 1px solid #000000;
}

#eco .inner {
  padding: 55px 25px;
}

#eco h3 {
  font-size: 35px;
  margin-bottom: 50px;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-align: center;
}

#eco h4 {
  font-size: 26px;
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: 0.15em;
}

#eco .flex {
  justify-content: space-between;
  flex-direction: row-reverse;
}

#eco .flex .text {
  width: 48%;
}

#eco .flex .image {
  width: 48%;
}

#eco p {
  font-size: 15px;
  line-height: 1.95;
}

section.facility .inner {
  padding: 50px 140px;
}

section.facility .inner h3 {
  font-weight: bold;
  margin-bottom: 20px;
}

section.facility .inner .flex {
  justify-content: space-between;
}

section.facility .outerTbl {
  width: 48%;
}
section.facility .outerTbl th {
  width: 30%;
  background: #e5e5e5;
  text-align: center;
  font-weight: normal;
  border-bottom: 1px solid #aaa9a9;
  vertical-align: middle;
}

section.facility .outerTbl td {
  width: 50%;
  border-bottom: 1px solid #aaa9a9;
  padding: 7px;
  vertical-align: middle;
}

section.facility .outerTbl td table {
  width: 100%;
}

section.facility .outerTbl td table th {
  text-align: left;
  background: none;
  border: none;
  width: 80%;
  white-space: nowrap;
}

section.facility .outerTbl td table td {
  border: none;
  text-align: right;
  padding: 0;
  width: 20%;
}

@media (max-width: 768px) {
  header {
    display: inherit;
  }
  section .flex {
    display: inherit;
  }
  section .catch {
    line-height: 1.5;
  }
  #pagetitle {
    background: url(/images/page/company/sp_header.jpg) no-repeat right;
    background-size: cover;
    height: auto;
    margin-top: 45px;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  #pagetitle .text {
    position: static;
  }
  #pagetitle h1 {
    font-size: 24px;
    line-height: 24px;
    margin-bottom: 30px;
    top: 0;
  }
  #pagetitle h1 span {
    font-size: 15px;
    margin-left: 15px;
  }
  #pagenavi {
    padding: 0;
  }
  #pagenavi ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    position: relative;
  }
  #pagenavi ul li {
    width: 50%;
    border-bottom: 1px solid #020429;
    border-right: none;
  }
  #pagenavi ul li:nth-child(5) {
    border-bottom: none;
  }
  #pagenavi ul li a {
    border-right: 1px solid #020429;
    padding: 15px 0;
  }
  #pagenavi ul li a:before {
    display: none;
  }
  #pagenavi ul li:nth-child(2n) a {
    border-right: none;
  }
  #pagenavi #navi_open {
    background: #6d6d6d;
    text-align: center;
    height: 27px;
  }
  #pagenavi #navi_open img {
    transition: all 0.3s;
  }
  #pagenavi #navi_open.close img {
    transform: rotate(180deg);
  }
  #greeting .inner {
    padding: 20px;
  }
  #greeting h3 {
    font-size: 32px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 20px;
  }
  #greeting p {
    margin-bottom: 30px;
  }
  #eco {
    border-bottom: 1px solid #000;
    padding-bottom: 30px;
  }
  #eco .inner {
    padding: 20px;
  }
  #eco h4 {
    margin-bottom: 15px;
  }
  #eco h3 {
    font-size: 32px;
    letter-spacing: 0;
    text-align: center;
    margin-bottom: 20px;
  }
  #eco .flex .text {
    width: auto;
    margin-bottom: 20px;
  }
  #eco .flex .image {
    width: auto;
  }
  #design .bx-viewport .flex {
    display: block;
    padding: 10px;
  }
  #design .bx-viewport .flex .photo {
    width: auto;
  }
  #design .bx-viewport .flex .text {
    width: auto;
    margin-top: 20px;
  }
  #design .bx-viewport .flex .text p {
    margin-bottom: 20px;
  }
  #design .bx-viewport .flex .slide3 {
    width: auto;
    margin-bottom: 20px;
  }
  #design .bx-viewport .flex .slide3 p {
    margin-bottom: 10px;
  }
  #design .bx-viewport .flex .slide2 {
    width: auto;
    margin-bottom: 20px;
  }
  #design .bx-viewport .flex .slide2 p {
    margin-bottom: 10px;
  }
  #design .bx-viewport h3 {
    line-height: 1.4;
    margin: 15px 0;
  }
  #design .bx-viewport h3 span {
    display: block;
    margin: auto;
  }
  #design .bx-viewport .padding {
    padding: 0 10px;
  }
  .pc {
    display: none !important;
  }
  .caption {
    text-align: right;
  }
  .bx-wrapper {
    margin: 0 10px;
  }
  .bx-wrapper .bx-next {
    background-size: 10px 15px;
    right: -17px;
    display: none;
  }
  .bx-wrapper .bx-prev {
    background-size: 10px 15px;
    left: -17px;
    display: none;
  }
  .bx-wrapper .bx-controls-direction a {
    width: 20px 10px;
    height: 15px;
  }
  #products .inner {
    padding: 20px 10px;
    display: block;
  }
  #products .inner .product {
    width: auto;
  }
  #smallLot .inner {
    padding: 20px 10px;
  }
  #smallLot .inner .flex {
    display: block;
  }
  #smallLot .inner .flex .fBox {
    width: auto;
  }
  #smallLot .ac {
    margin: 20px 0;
  }
  #smallLot .profile h3 {
    text-align: center;
    border-bottom: none;
  }

  section.facility .inner {
    padding: 10px;
  }
  section.facility .outerTbl {
    width: 100%;
  }
  section.facility .outerTbl > tbody > tr > th {
    display: block;
    width: 100%;
  }
  section.facility .outerTbl > tbody > tr > td {
    display: block;
    width: 100%;
  }
}

@media (min-width: 769px) {
  .sp {
    display: none !important;
  }
}
