@charset "utf-8";
/* CSS Document */
html {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1c1c1c;
}
body {
  padding: 0;
  font-size: 16px;
  line-height: 24px;
}
.fadein {
  animation: fadein-anim 0.7s ease 0s 1 normal;
}
@keyframes fadein-anim {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
h1, h2, h3, h4 {
   color: #495057;
  font-family: "リュウミン B-KL";
}
h2.line {
  font-size: 20px;
  display: flex;
  align-items: center;
}
h2.line::before {
  margin-right: 20px;
}
h2.line::after {
  margin-left: 20px;
}
h2.line::before, h2.line::after {
  content: "";
  height: 10px;
  flex-grow: 1;
  background-color: #333;
}
.contenedor {
  padding: 0;
  width: 100%;
}
.contenedor .carrusel {
  padding: 0;
  display: flex;
  overflow: hidden;
}
.imagenes-transformables {
  height: 400px;
  min-width: 1%;
  width: 33.33%;
  max-width: 50%;
  transition: all 1s ease;
  background-size: cover;
  background-position: center center;
}
.imagenes-transformables:hover {
  max-width: 80%;
  min-width: 50%;
  transition: min-width 1s ease;
  -webkit-transition: min-width 1s ease;
  -moz-transition: min-width 1s ease;
  -ms-transition: min-width 1s ease;
  -o-transition: min-width 1s ease;
}
.imagenes-transformables:hover .fade {
  background-color: rgba(0, 0, 0, .4);
  width: auto;
  height: 100%;
  transition: background-color .5s ease;
  padding: 1em;
  display: flex;
}
.imagenes-transformables:hover .fade .border-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: font-size 1s ease;
}
.imagenes-transformables .fade {
  width: auto;
  height: 100%;
  display: flex;
}
.imagenes-transformables .fade .border-text {
  width: 100%;
  height: 90%;
  margin: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  color: #000;
  font-size: 2rem;
  cursor: pointer;
  text-decoration: none;
}
/*縦書き*/
.japanText {
  writing-mode: vertical-rl;
  display: inline-block;
  font-size: 2rem;
  font-family: "リュウミン B-KL";
  text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0-1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
}
h3.japanText {
    padding-top: 50px;
}

/*flex*/
.parent {
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.head {
  justify-content: space-around;
}
.head h1 {
  margin: 50px auto;
}
.head .small {
  font-size: 14px;
  line-height: 18px;
  padding: 20px 20px 0 50px;
}
.main {
  justify-content: center;
}
.main .txt {
  padding: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  background: url("images/bg.png") no-repeat 50% #f9f8ff;
  background-size: 300px;
}
#about .txt {
    margin: 2em auto;
}
.main div {
  display: block;
  flex-basis: 50%;
    text-align: center;
}

#about .grid {
  margin: 0;
  padding: 0;
	display: -webkit-flex;
  display: flex;
  list-style: none;
}


#about .grid-cell {
  margin: 5px;
  padding: 0px;
    display: flex;
justify-content: center;
}
@media screen and (max-width: 800px) {
    #about .grid {
    display: block;
            margin: 10px auto;
}}

#about .flexible {
  flex: 1;
}

#about .fixed {
  width: 300px;
}
@media screen and (max-width: 800px) {
    #about .fixed {
  width: 100%;
}}

#about .grid-cell p {
  display: block;
  margin: 0;
  padding: 20px;
  color: #fff;
  text-decoration: none;
}
@media screen and (max-width: 1230px) {
.main div {
    display: block;
    flex-basis: 50%;
    height: 500px;
    }}
    @media screen and (max-width: 800px) {
    .main div {
    display: block;
    flex-basis: 100%;
    height: 500px;
  }}
div.producttxt {
    display: flex !important;
}
/*.main img {
  max-width: 100%;
  object-fit: cover;
}*/
.right {
  flex-direction: row-reverse
}
#content {
  margin: 50px auto;
}
@media screen and (max-width: 800px) {
    #content {
  margin: 0px auto;
}}
/*top画像*/
.image-trim {
  position: relative;
  overflow: hidden;
  padding-top: 60%; /* 比率 */
}
.image-trim img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*aboutimg*/
.aboutimg img{width: 100%;height: 300px;object-fit: cover;}
@media screen and (max-width: 800px) {
  .parent, .main {
    flex-wrap: wrap;
  }
  .head h1 {
    margin: auto;
  }
  header h1 img {
    width: 350px;
  }
  header .small {
    display: none;
  }
  .right {
    flex-direction: row-reverse
  }
  .main div {
    height: 100%;
  }
}
@media screen and (max-width: 768px) {
  /*.parent, .main {
    display: block;
  }*/
  .main div {
    display: block;
    flex-basis: 100%;
  }
  header h1 {
    height: 75px;
  }
  header h1 img {
    width: 250px;
    margin: 10px;
  }
  header .small {
    display: none;
  }
}
/*h*/
h3 {
  font-size: 25px;
  line-height: 38px;
  font-weight: bold;
}
/*p*/
p {
  margin: 50px
}
/*botton*/
a.btn {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: .5rem 2rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: #0A0041;
}
a.btn:hover {
  color: #0A0041;
  background: #f9f8ff;
}
/*背景飾り*/
.kazari {
  background: url("images/bg.png") no-repeat 50%;
  background-size: 300px;
}
.kazari2 {
  background: url("images/bg.png") no-repeat 50% 15%;
  background-size: 300px;
}
/*左*/
.lefttxt{text-align: left;}
/*テーブル*/
table {border-collapse: collapse;width: 100%;margin: 1em auto;}
table th,table td {padding: 0.5em;border: 1px solid #ccc;vertical-align: top;text-align: left;}
table th {background: #f9f8ff;width: 20%;}
table td {background: #fff;}
@media only screen and (max-width:480px) {
table th,table td {display: block;width: auto;border-bottom: none;}
table tr:last-child {border-bottom: 1px solid #ccc;}
}

/*メニュー*/
ul li ul {
  margin-top: 20px;
}
.mainView {
  width: 100vw;
  height: 100vh;
}
.aboutView {
  width: 100vw;
 /* height: 100vh;*/
    max-width: 980px;
    margin:0 auto;
}
/*ハンバーガーボタン*/
.el_humburger {
  padding-top: 1px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 20px 0;
  cursor: pointer;
  pointer-events: auto;
  color: #000;
  text-align: center;
  background: #f9f8ff;
}
.el_humburger h2 {
  display: inline-block;
  vertical-align: middle;
  height: 60px;
  width: 100px;
}
@media screen and (max-width: 840px) {
  .el_humburger {
    display: block;
    right: 0;
    top: 0;
    padding-top: 20px;
    width: 85px;
    height: 85px;
  }
  .el_humburger h2 {
    display: none;
  }
  #factory .el_humburger {
    display: none;
  }
}
.el_humburger_wrapper {
  margin-bottom: 5px;
  width: 42px;
  display: inline-block;
  background: #fff;
  padding: 5px;
}
@media screen and (max-width: 840px) {
  .el_humburger_wrapper {
    margin-bottom: 5px;
    width: 30px;
  }
}
.el_humburger_text {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-family: "游ゴシック Medium", YuGothic, "Yu Gothic", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__menu {
  display: none;
}
.el_humburger_text.el_humburger_text__close {
  display: none;
}
.js_humburgerOpen .el_humburger_text.el_humburger_text__close {
  display: block;
}
@media screen and (max-width: 840px) {
  .el_humburger_text {
    font-size: 10px;
    padding-top: 2px;
  }
}
@media screen and (max-width: 840px) {
  .el_humburger_text svg path {
    -webkit-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    -o-transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    transition: all 200ms cubic-bezier(0.16, 0.52, 0.25, 1);
    fill: #000;
  }
}
@media screen and (max-width: 840px) {
  .js_humburgerOpen .el_humburger_text svg path {
    fill: #000;
  }
}
.el_humburger span.el_humburger_bar {
  display: block;
  width: 100%;
  margin: 0 auto 9px;
  height: 1px;
  background: #000;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.el_humburger span.el_humburger_bar:last-child {
  margin-bottom: 0;
}
.js_humburgerOpen .el_humburger span.el_humburger_bar {
  background: #000;
}
@media screen and (max-width: 840px) {
  .el_humburger span.el_humburger_bar {
    left: 0;
    top: 0;
    background: #000;
  }
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.top {
  -webkit-transform: translateY(9px) rotate(-45deg);
  -ms-transform: translateY(9px) rotate(-45deg);
  transform: translateY(9px) rotate(-45deg);
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.middle {
  opacity: 0;
}
.js_humburgerOpen .el_humburger span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-11px) rotate(45deg);
  -ms-transform: translateY(-11px) rotate(45deg);
  transform: translateY(-11px) rotate(45deg);
}
.el_humburgerButton.el_humburgerButton__close {
  top: 2%;
  right: 2%;
}
.el_humburgerButton__close span.el_humburger_bar {
  display: block;
  width: 35px;
  margin: 0 auto;
  height: 4px;
  background: #000;
}
.el_humburgerButton__close span.el_humburger_bar.top {
  -webkit-transform: translateY(5px) rotate(-45deg);
  -ms-transform: translateY(5px) rotate(-45deg);
  transform: translateY(5px) rotate(-45deg);
}
.el_humburgerButton__close span.el_humburger_bar.bottom {
  -webkit-transform: translateY(-6px) rotate(45deg);
  -ms-transform: translateY(-6px) rotate(45deg);
  transform: translateY(-6px) rotate(45deg);
}
.navi {
  position: fixed;
  right: 0;
  height: 100%;
  background-color: rgba(249, 248, 255, 0.9);
  width: 0;
  z-index: 3;
  padding-top: 100px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 600ms ease-out;
  -o-transition: all 600ms ease-out;
  transition: all 600ms ease-out;
  overflow: hidden;
}
.js_humburgerOpen .navi {
  width: 450px;
}
@media screen and (max-width: 840px) {
  .js_humburgerOpen .navi {
    width: 100%;
    padding: 100px 5% 0;
  }
}
.navi_item {
  margin-bottom: 28px;
  font-size: 20px;
  font-family: "Marcellus", serif !important;
  white-space: nowrap;
  margin-left: 90px;
}
.navi_item.op_innerLink {
  cursor: pointer;
}
@media screen and (max-width: 840px) {
  .navi_item {
    margin-left: 0;
    font-size: 18px;
  }
}
/*map*/
#map {
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}
#map .inner {
  position: relative;
  height: 0;
  padding-top: 56.25%;
  overflow: hidden;
}
#map .inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 960px) {
    map {
  width: 98%;
}
  #map .inner {
    padding-top: 75%;
  }
}
@media (max-width: 600px) {
  #map .inner {
    padding-top: 100%;
  }
}
footer {
  background: #0a0041;
  height: 300px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/*問い合わせ*/
.red-field {
    background: #D9534F;
    color: white;
    padding: 4px !important;
}
.normal-field{
    background: #337AB7;
    color: white;
    padding: 4px !important;
}