@charset "utf-8";
/*全体の設定
---------------------------------------------------------------------------*/
body {
  color: #333; /*全体の文字色*/
  margin: 0px;
  padding: 0px;
  font: 16px/1.7 "Arial", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif; /*文字サイズ・行間・フォント設定*/
  background: #FFF; /*背景色*/
}
h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {
  margin: 0px;
  padding: 0px;
}
ul {
  list-style-type: none;
}
img {
  border: none;
}
input, textarea, select {
  font-size: 1em;
}
form {
  margin: 0px;
}
table {
  border-collapse: collapse;
  font-size: 100%;
  border-spacing: 0;
}
/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
  color: #333; /*リンクテキストの色*/
}
a:hover {
  color: #b10f0f; /*マウスオン時の文字色（全体）*/
  text-decoration: none; /*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.pb120 {
  padding-bottom: 120px;
}
/*bodyの直接の子要素のh1タグ（ページ最上段にあるh1）設定
---------------------------------------------------------------------------*/
.head_redline {
  background: #C83636; /*背景色*/
}
.head_redline h1 {
  margin: 0 auto;
  padding-left: 18px;
  font-size: 14px; /*文字サイズ*/
  color: #FFF; /*文字色*/
  text-align: left; /*右寄せ*/
  max-width: 1300px;
  line-height: 1.6;
}
/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#head_container {
  max-width: 1300px; /*コンテナー幅*/
  margin-right: auto;
  margin-left: auto;
}
/*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
header {
  width: 100%; /*ブロックの幅*/
}
/*h1ロゴの設定*/
header h1 {
  padding: 16px 0px 16px 16px; /*上、右、下、左側へあける余白*/
  position: absolute;
}
header h1 img {
  display: block;
}
/*上部のメインメニュー
---------------------------------------------------------------------------*/
nav#menubar {
  left: 0;
  top: 20px;
  width: auto;
  align-items: center;
  height: 80px;
  padding: 0 20px 0 280px;
  font-size: 14px;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: flex-end;
}
nav#menubar ul {
  display: flex;
  justify-content: flex-end;
  height: 100%;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}
/*メニュー１個ごとの設定*/
nav#menubar ul li {
  text-align: center; /*文字を中央に揃える*/
  font-weight: bold; /*文字を太字にする設定*/
  margin-bottom: 20px; /*メニューの下にあけるスペース*/
  padding: 28px 50px 0 0;
}
/*お問合せリンクの設定*/
nav#menubar ul li.head_contact {
  border: solid 1px #333;
  margin: 22px 0 20px 0;
  padding: 10px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
nav#menubar ul li.head_contact::before {
  display: inline-block;
  margin-right: 5px;
  content: '';
  background: url(../img/Mailicon.png) no-repeat 50% 50%;
  background-size: cover;
  width: 16px;
  height: 16px;
}
nav#menubar ul li a {
  color: #333; /*文字色*/
  text-decoration: none;
  display: block;
  -webkit-transition: 0.5s; /*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
  transition: 0.5s; /*同上*/
}
/*マウスオン時の設定*/
nav#menubar ul li a:hover {
  opacity: 0.7;
}
/*コンテンツ（main,sub,sideを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
  width: 100%;
}
/*コンテンツin（main,subを囲むブロック）
---------------------------------------------------------------------------*/
#contents-in {
  max-width: 1000px;
  margin: 0 auto;
}
/*メインコンテンツ（中央ブロック）
---------------------------------------------------------------------------*/
#main {
  /*float: right;*/ /*右側に回り込み*/
  width: 100%; /*メインコンテンツ幅*/
  padding-bottom: 30px;
  text-align: center;
}
/*mainコンテンツのh2タグ設定*/
#main h2 {
  font-size: 44px;
  font-weight: bold;
  line-height: 0.8;
  padding: 120px 0 20px;
}
#main span {
  display: block;
  font-size: 16px;
  color: #8E8E8E;
  font-weight: bold;
  padding: 0 0 120px;
}
/*mainコンテンツの段落タグ設定*/
#main p {
  padding: 0.5em 10px 1em; /*左から、上、左右、下への余白*/
}
/*お問合せボタン
---------------------------------------------------------------------------*/
.contact_btn_wrap {
  text-align: center;
  margin-top: 220px;
  margin-bottom: 220px;
}
.contact_btn_wrap h3 {
  font-weight: bold;
  font-size: 26px;
}
.contact_btn_wrap p {
  margin-bottom: 20px;
}
.contact_btn_wrap a {
  border: solid 1px #707070;
  padding: 14px 0;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
}
.btn_in {
  display: flex;
  justify-content: space-between;
  width: 740px;
  margin: 0 auto;
}
.btn_in > a {
  flex: 0 48%;
}
.contact_btn_wrap a:hover {
  background: #C83636;
  color: #fff;
}
.tel::before {
  display: inline-block;
  margin-right: 5px;
  content: '';
  background: url(../img/tel.png) no-repeat 50% 50%;
  background-size: cover;
  width: 16px;
  height: 16px;
}
/*ホバーで画像を切り替える*/
.tel:hover::before {
  display: inline-block;
  margin-right: 5px;
  content: '';
  background: url(../img/tel_hover.png) no-repeat 50% 50%;
  background-size: cover;
  width: 16px;
  height: 16px;
}
.form::before {
  display: inline-block;
  margin-right: 5px;
  content: '';
  background: url(../img/Mailicon.png) no-repeat 50% 50%;
  background-size: cover;
  width: 16px;
  height: 16px;
}
/*ホバーで画像を切り替える*/
.form:hover::before {
  display: inline-block;
  margin-right: 5px;
  content: '';
  background: url(../img/Mailicon_hover.png) no-repeat 50% 50%;
  background-size: cover;
  width: 16px;
  height: 16px;
}
/*フッター設定
---------------------------------------------------------------------------*/
footer {
  clear: both;
  text-align: center;
  color: #FFF; /*文字色*/
}
footer .pr {
  display: block;
  font-size: 80%;
}
footer a {
  text-decoration: none;
  color: #FFF;
}
footer a:hover {
  color: #FFF;
}
.footer_top {
  background: #F9F9F9; /*背景色*/
  padding: 60px 0;
  position: relative;
}
.footer_top img {
  width: 244px;
  margin-bottom: 10px;
}
.footer_top ul {
  margin: 0 auto;
  width: 90%;
  display: block;
}
.footer_top li {
  font-size: 16px;
  display: inline-block;
  padding: 0 10px;
}
.footer_top a {
  color: #333;
}
.footer_top a:hover {
  color: #333;
  opacity: 0.7;
}
.footer_bottom {
  background: #C83636; /*背景色*/
  padding: 30px 0;
}
/*テーブル１
---------------------------------------------------------------------------*/
.ta1 {
  width: 100%;
}
.ta1, .ta1 td, .ta1 th {
  border: 1px solid #CCC; /*テーブルの枠線の幅、線種、色*/
  line-height: 2;
}
/*テーブル内の右側*/
.ta1 td {
  padding: 10px;
}
/*テーブル内の左側の見出し部分*/
.ta1 th {
  width: 140px;
  padding: 10px;
  text-align: center;
  background-color: #f1f1f1; /*背景色*/
}
/*テーブル１行目に入った見出し部分*/
.ta1 th.tamidashi {
  width: auto;
  text-align: left;
  background-color: #bebebe; /*背景色*/
}
/*テーブルのキャプション設定*/
.ta1 caption {
  padding: 10px;
  border-top: 1px solid #CCC; /*上側の線の幅、線種、色*/
  border-right: 1px solid #CCC; /*右側の線の幅、線種、色*/
  border-left: 1px solid #CCC; /*左側の線の幅、線種、色*/
  text-align: left;
  background-color: #e9ddae; /*背景色（古いブラウザだとここの色のみが出ます）*/
  background-image: -webkit-gradient(linear, left top, left bottom, from(#efe6c5), to(#e9ddae)); /*グラデーション*/
  background-image: -webkit-linear-gradient(#efe6c5, #e9ddae); /*同上*/
  background-image: linear-gradient(#efe6c5, #e9ddae); /*同上*/
  font-weight: bold; /*文字を太字にする設定*/
}
/*ボタン横並び*/
.input-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}
/*ボタンの設定*/
input[type="submit"], input[type="button"], input[type="reset"] {
  background-color: #FFF; /*背景色（古いブラウザだとここの色のみが出ます）*/
  border: 2px solid #000;
  color: #000;
}
/*ボタンのマウスオン時の設定*/
input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
  color: #FFF;
  border: none;
  background-color: #676767; /*背景色（古いブラウザだとここの色のみが出ます）*/ /*文字色*/
}
/*PAGE TOP設定
---------------------------------------------------------------------------*/
#pagetop {
  clear: both;
  position: absolute;
  bottom: 0;
  right: 4%;
}
#pagetop a {
  background-color: #C83636; /*背景色*/
  float: right;
  padding: 10px 15px 0;
}
/*マウスオン時*/
#pagetop a:hover {
  opacity: 0.7;
}
#pagetop a img {
  width: 30px;
}
/*その他
---------------------------------------------------------------------------*/
.clear {
  clear: both;
}
figcaption {
  font-size: 11px;
}
img {
  max-width: 100%;
  height: auto;
}
#menubar_hdr {
  display: none;
}
/*index.html
---------------------------------------------------------------------------*/
.top_img {
  position: relative;
}
.top_img img {
  width: 100%;
}
.message {
  position: absolute;
  top: 30%;
  left: 14%;
  color: #C83636;
  font-weight: bold;
}
.message h1 {
  font-size: 50px;
  line-height: 1.5;
}
.message span {
  border: solid 5px #C83636;
  padding: 0 20px;
}
.message p {
  font-size: 20px;
  width: 71%;
  margin-top: 15px;
}
.top_1stFactory h3 {
  font-size: 28px;
  font-weight: bold;
  text-align: start;
}
#main .top_1stFactory span {
  text-align: start;
  padding: 0;
}
#main .top_1stFactory p {
  text-align: start;
  padding: 30px 0 10px;
}
.top_Factory_flex {
  display: flex;
  justify-content: space-between;
}
.top_Factory_flex > div {
  flex: 0 0 29%;
  box-shadow: 0px 1px 4px 0px #ddd;
  padding: 30px 0px;
  margin: 15px 0;
}
.Factory_img {
  width: 70%;
  margin: 0 auto;
}
.Factory_img img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.robolink{
  text-align: center;
  margin-top: 80px;
}
/*company.html
---------------------------------------------------------------------------*/
.compny_ttl {
  position: absolute;
  top: 40%;
  left: 18%;
  color: #fff;
  font-size: 52px;
  font-weight: bold;
  line-height: 0.6;
}
.compny_ttl span {
  font-size: 20px;
}
.message_wrap h3 img {
  padding: 0 0 120px;
}
.message_text {
  padding-bottom: 160px;
}
.message_text h4, .message_text p {
  text-align: start;
}
.message_text h4 {
  padding: 0.5em 10px 0;
  font-size: 22px;
}
.message_text p {
  font-size: 18px;
  line-height: 1.8;
}
.message_text img {
  float: right;
  padding-right: 10px;
  padding-top: 30px;
}
.c_table_wrap {
  clear: both;
}
#main .c_table_wrap h2 {
  padding-bottom: 20px;
}
#main .c_table_wrap span {
  padding-bottom: 80px;
}
.c_table_wrap table {
  margin: 0 auto;
  width: 100%;
  font-size: 18px;
}
.c_table_wrap table tr {
  border-top: solid 1px #707070;
  border-bottom: solid 1px #707070;
}
.c_table_wrap table th, .c_table_wrap table td {
  padding: 20px;
}
.c_table_wrap table th {
  background: #F9F9F9;
  width: 30%;
  vertical-align: middle;
  font-weight: bold;
}
.c_table_wrap table td {
  text-align: start;
  padding-left: 32px;
}
/*-----------------------------------------------------------------------------
お問い合わせフォーム
----------------------------------------------------------------------------*/
.pb60 {
  padding-bottom: 60px;
}
.txt-center {
  text-align: center;
}
.mb0 {
  margin-bottom: 0;
}
#formWrap {
  width: 1000px;
  box-sizing: border-box;
  border: 1px solid #707070;
  padding: 70px 70px 0 70px;
  margin: 120px auto 40px;
}
.black {
  color: #000;
}
.factory_ttl {
  position: absolute;
  top: 40%;
  left: 7%;
  color: #fff;
  font-size: 52px;
  font-weight: bold;
  line-height: 0.6;
}
.factory_ttl h1 span {
  font-size: 20px;
}
.send-txt {
  font-size: 37px;
  margin: 50px auto;
  text-align: center;
  font-weight: bold;
}
.contact-txt {
  margin-bottom: 100px;
}
/*-------------------------
	工場への電話エリア
	-------------------------*/
.contact-factory {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-bottom: 1px solid #707070;
  padding-bottom: 30px;
  position: relative;
}
#formWrap ul {
  list-style-type: none;
  line-height: 1.2;
  padding-left: 0;
}
.contact-factory li {
  padding-left: 30px;
}
.adress::before {
  content: url(../img/contact-top-tel.png);
  display: inline-block;
  width: 34px;
  height: auto;
  position: relative;
  top: 35px;
  left: -5px;
}
/*-------------------------
	flowエリア
	-------------------------*/
.contact-flow ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  padding-top: 20px;
}
.contact-flow li {
  width: 256px;
  height: 60px;
  text-align: center;
  border: 1px solid #707070;
  line-height: 60px;
}
.factory {
  font-size: 18px;
  font-weight: bold;
}
.contact-tel-number {
  font-size: 28px;
  font-weight: bold;
}
.open-time {
  display: inline-block;
  padding: 5px 10px;
  background-color: #707070;
  color: #fff;
  padding-right: 10px;
  line-height: 20px;
}
.holiday {
  line-height: 1.7;
}
/*-------------------------
	formエリア
	-------------------------*/
input[type="text"], textarea {
  background: #F0F3F5;
  border: none;
  width: 100%;
  height: 50px;
}
textarea {
  height: 200px;
}
input[type="submit"], input[type="button"] {
  position: relative;
  height: 60px;
  width: 250px;
  text-align: center;
  display: block;
  margin: 0 20px 40px;
  font-size: 18px;
  cursor: pointer;
  background: #000 url(img/long-arrow.png) no-repeat right 18px top 50%;
  background-size: 36px;
  transition: all 0.3s ease;
  color: #fff;
}
::placeholder {
  padding: 15px;
  font-family: 游ゴシック;
}
#formWrap dt {
  font-size: 16px;
  font-weight: bold;
  padding-bottom: 6px;
}
#formWrap dd {
  margin-left: 0px;
  padding-bottom: 50px;
  width: 100%;
}
.required {
  color: red;
}
#current {
  background-color: #C73636;
  color: #fff;
  border: 1px #C73636 solid;
}
/*---------------------------------------------------------------------------------------
                                       工場
---------------------------------------------------------------------------------------*/
#main-factory {
  max-width: 1000px;
  box-sizing: border-box;
  color: #000000;
  line-height: 1.5;
  margin: 120px auto;
}
.lv2 {
  text-align: center;
  margin-bottom: 60px;
  margin-top: 100px;
}
.lv2-en {
  font-size: 46px;
  font-weight: bold;
}
.lv2-jan {
  font-size: 16px;
  font-weight: bold;
  color: #707070;
}
.sec-box {
    max-width: 95%;
    margin: 0 auto 50px;
}
.black {
  color: #000;
}
.factory_ttl {
  position: absolute;
  top: 40%;
  left: 7%;
  color: #fff;
  font-size: 52px;
  font-weight: bold;
  line-height: 0.6;
}
.factory_ttl h1 span {
  font-size: 20px;
}
/*----------------------------
	第二工場の特徴
	---------------------------*/
.feature {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 0;
}
.flex-item {
  box-sizing: border-box;
  padding: 15px;
  line-height: 1.8;
}
.image-feature {
  box-sizing: border-box;
  width: 40%
}
.greeting-txt {
  width: 58%;
}
.lv3 {
  color: #C83636;
  letter-spacing: 2px;
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1.1;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
}
.feature:nth-child(odd) {
  flex-direction: row-reverse;
}
.feature:not(:last-child) {
  margin-bottom: 80px;
}
/*----------------------------
	私たちのビジネス
	---------------------------*/
.business-box {
  position: relative;
  width: 100%;
  margin: 0 auto;
  color: #707070;
}
.business {
  height: 600px;
}
.business:first-child {
  height: 700px;
}
.business:last-child {
  height: 500px;
}
.business-image {
  width: 61%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}
.business-txt {
  line-height: 1.8;
}
.txt-box {
  border: 5px solid #C83636;
  padding: 21px 33px 31px 67px;
  width: 32%;
  position: absolute;
  top: 140px;
  left: 56%;
}
.txt-box-r {
  border: 5px solid #C83636;
  background-color: #C83636;
  color: #fff;
  padding: 34px 67px 35px 36px;
  width: 36%;
  position: absolute;
  top: 100px;
  left: 0;
}
.business-deco {
  font-size: 39px;
  color: #C83636;
  text-align: right;
  letter-spacing: 3px;
  font-family: 'Open Sans', sans-serif;
}
.business-deco img {
  width: 15vw;
  max-width: 210px;
  min-width: 190px;
}
.business-lv3, .business-lv3-r {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}
.business-lv3-r {}
.business-image-r {
  width: 58%;
  position: absolute;
  top: 0;
  left: 42%;
  z-index: 100;
}
.business-deco-r {
  font-size: 39px;
  color: #fff;
  letter-spacing: 3px;
  font-family: 'Open Sans', sans-serif;
}
.business-deco-r img {
  width: 14vw;
  max-width: 210px;
  min-width: 160px;
  text-align: left;
}
/*----------------------------
	工場設備
	---------------------------*/
.facility ul, .facility ul ul {
  list-style-type: none;
}
.facility{
  margin-top: 30px;
}
.facility ul {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.facility ul li{
  width: 32%;
}
.facility ul ul {
  display: block;
  min-width: 32%;
}
.facility ul ul li {
    font-size: 16px;
    width: 95%;
}
.facility-img {
  border: 1px solid #707070;
  padding: 15px;
  max-width: 95%;
  box-sizing: border-box;
}
.facility-lv3 {
  text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 60px auto 30px;
    border-top: 1px solid #707070;
    padding-top: 30px;
}
.facility-lv3-2{
  font-size: 20px;
  font-weight: bold;
}
.facility-list {
  width: 100%;
}
.facility-list {
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
}
.facility-list tr {
  border-bottom: 1px solid #cccccc;
}
.facility-list tr:last-child {
  border: none;
}
.facility-list th {
  font-weight: bold;
  width: 20%;
  background-color: #eee;
}
.facility-list th, .facility-list td {
  padding: 25px;
}
.facility-have {
  margin-bottom: 20px;
}
.facility-name {
  width: 1000px;
  line-height: 1em;
  display: table;
  margin: 0 auto 30px;
}
.facility-name dt {
  width: 35%;
  background: #707070;
  color: #fff;
  display: table-cell;
  float: left;
  padding: 10px;
  border: 1px solid #999;
  border-right: none;
}
.facility-name dd {
  display: table-cell;
  float: left;
  padding: 10px;
  border: 1px solid #999;
  width: 55%;
}
.facility-name .bdr-none {
  border-bottom: none;
}
.facility-lv4 {
  /*font-weight: bold;*/
  font-size: 1.2rem;
}
.facility-table{
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  width:920px;
  text-align: left;
  border-collapse: collapse;
 }

.facility-table-r{
  border-bottom: 1px solid  #333; 
}
.txt-right{
  text-align: right;
}
.facility-mokuji a{
  text-decoration: none;
}
/* 006 ロボット導入動画の上にあるボタン*/
.button006{
  margin-top: 50px;
}

.button006 a {
  background: #eee;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 10px 25px;
  color: #313131;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
.button006 a:before {
  content: '';
  position: absolute;
  top: calc(50% - 2px);
  right: -2em;
  transform: translateY(calc(-50% - 2px)) rotate(30deg);
  width: 12px;
  height: 2px;
  background-color: #C83636;
  transition: 0.3s;
}
.button006 a:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -2em;
  transform: translateY(-50%);
  width: 60px;
  height: 2px;
  background-color: #C83636;
  transition: 0.3s;
}
.button006 a:hover:before, .button006 a:hover:after {
  right: -2.5em;
}
.button006 a:hover {
  background: #edf6ff;
  color: #080808;
}
.rbt-vtr{
  text-align: center;
  margin-bottom: 50px;
}
video{
  width: 400px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
.facility-mokuji{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.name{
  text-align: right;
}
/*---------------------------------------------------------------------------
 第一工場
-------------------------------------------------------------------------*/
.first-factory-bissiness {
  display: flex;
  width: 100%;
  justify-content: flex-end;
	padding-bottom: 10px;
}
.first-factory-img-group {
  width: 48%;
  padding-right: 10px;
}
.f-factory-tosou {
  width: 100%;
}
.f-factory-kakou {
  width: 62%;
}
.f-right {
  float: right;
}
.txt-box01 {
  border: 5px solid #C83636;
  padding: 21px 33px 31px 67px;
}
.sp-txt-box01 {
  width: 48%;
}
/*ここからタブレット用（768px～1000px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (min-width:769px) and (max-width:1000px) {
  /*bodyの直接の子要素のh1タグ（ページ最上段にあるh1）設定
---------------------------------------------------------------------------*/
  .head_redline, .head_redline h1 {
    display: none;
  }
  /*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
  #head_container {
    width: auto;
    margin-right: 6px;
    margin-left: 6px;
  }
  /*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
  header {
    text-align: center;
  }
  /*h1ロゴの設定*/
  header h1 {
    padding: 16px 0px 16px 4px; /*上、右、下、左側へあける余白*/
  }
  /*上部のメインメニュー
---------------------------------------------------------------------------*/
  nav#menubar {
    padding: 0 10px 0 190px;
  }
  /*メニューブロック全体の設定*/
  nav#menubar ul {}
  /*メニュー１個ごとの設定*/
  nav#menubar ul li {
    width: 16%; /*メニュー幅*/
    margin-bottom: 0;
    border-bottom: 1px solid #dcdcdc; /*メニューの下側の線の幅、線種、色*/
    box-sizing: border-box;
    padding: 10px;
    margin-top: 8px;
    border: none;
  }
  nav#menubar ul li a {
    padding: 10px 0px; /*メニュー内の余白。上下、左右。*/
  }
  /*最初のメニューの設定*/
  nav#menubar ul li:first-child {
    border-left: none;
  }
  /*英語表記の設定*/
  nav#menubar ul li a span {
    display: none; /*表示させない設定*/
  }
  /*最後のメニューの設定*/
  nav#menubar ul li:last-child {
    width: 24%;
    margin-bottom: 20px;
  }
  /*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
  #contents {
    width: auto;
  }
  /*contents-in,main,subコンテンツ
---------------------------------------------------------------------------*/
  #contents-in {
    width: 740px;
  }
  /*index.html
---------------------------------------------------------------------------*/
  .message {
    top: 14%;
    left: 6%;
  }
  .message p {
    width: 62%;
  }
  /*company.html
---------------------------------------------------------------------------*/
  .c_table_wrap table th, .c_table_wrap table td {
    width: 100%;
    display: block;
    padding: 10px 0;
    text-align: center;
    line-height: 1.9;
  }
  iframe {
    width: 100%;
    height: 70%;
  }
  /*その他
---------------------------------------------------------------------------*/
  #pagetop a {
    margin-right: 10px;
  }
  /*footerコンテンツ
---------------------------------------------------------------------------*/
  .footer_top img {
    width: 244px;
  }
  .footer_top ul {
    width: 90%;
    display: block;
  }
  .footer_top li {
    font-size: 16px;
    display: inline-block;
    padding: 0 10px;
  }
}
/*ここからスマートフォン用（768px以下）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width : 768px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  /*bodyの直接の子要素のh1タグ（ページ最上段にあるh1）設定
---------------------------------------------------------------------------*/
  .head_redline, .head_redline h1 {
    display: none;
  }
  /*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
  #head_container {
    width: auto;
    margin-right: 6px;
    margin-left: 6px;
    padding: 0 0 15px;
  }
  /*ヘッダー（サイト名ロゴが入ったブロック）
---------------------------------------------------------------------------*/
  header {
    text-align: center;
  }
  /*h1ロゴの設定*/
  header h1 {
    padding: 20px 0px 20px 0px; /*上、右、下、左側へあける余白*/
    position: inherit;
  }
  header h1 img {
    display: inline-block;
    max-width: 50%; /*画面に対して画像を50％の幅に*/
    height: auto;
    float: left;
    padding: 0 0 15px 10px;
  }
  /*上部のメインメニュー
---------------------------------------------------------------------------*/
  nav#menubar {
    width: 100%;
    display: inline-block;
    padding: 0;
  }
  /*メニューブロック全体の設定*/
  nav#menubar ul {
    display: inline-block;
    border-top: 1px solid #dcdcdc; /*メニューブロックの上側の線の幅、線種、色*/
    margin-bottom: 20px;
  }
  /*メニュー１個ごとの設定*/
  nav#menubar ul li {
    float: none;
    width: 100%; /*メニュー幅*/
    margin-bottom: 0;
    border-right: none;
    border-bottom: 1px solid #dcdcdc; /*メニューの下側の線の幅、線種、色*/
    box-sizing: border-box;
    padding: 10px 0;
  }
  nav#menubar ul li.head_contact {
    margin: 0;
    border: none;
    border-bottom: 1px solid #dcdcdc;
  }
  nav#menubar ul li a {
    padding: 10px 0px; /*メニュー内の余白。上下、左右。*/
  }
  /*最初のメニューの設定*/
  nav#menubar ul li:first-child {
    border-left: none;
  }
  /*英語表記の設定*/
  nav#menubar ul li a span {
    display: none; /*表示させない設定*/
  }
  /*コンテンツ（main,subを囲むブロック）
---------------------------------------------------------------------------*/
  #contents {
    width: auto;
  }
  /*contents-in,main,subコンテンツ
---------------------------------------------------------------------------*/
  #main {
    margin: 0 auto;
    width: 92%;
  }
  #main h2 {
    font-size: 2em;
    padding: 30px 0 10px;
  }
  #main span {
    padding: 0 0 30px;
  }
  /*テーブル１
---------------------------------------------------------------------------*/
  /*テーブル内の右側*/
  .ta1 td {
    width: auto;
    padding: 2px;
  }
  /*テーブル内の左側の見出し部分*/
  .ta1 th {
    width: 100px;
    padding: 2px;
  }
  /*service.html内の一覧の各ブロック
---------------------------------------------------------------------------*/
  /*ボックス内の段落タグ設定*/
  #main section.list article p {
    margin-left: 0;
  }
  /*ボックス内の写真設定*/
  #main section.list article figure img {
    width: 40%;
    height: auto;
    margin-right: 5px;
  }
  /*その他
---------------------------------------------------------------------------*/
  /*メニュー折りたたみ設定*/
  #top #menubar_hdr {
    display: none;
  }
  #menubar_hdr {
    display: inline;
    position: absolute;
    top: 25px;
    right: 4%;
    width: 30px;
  }
  /*index.html
---------------------------------------------------------------------------*/
  .message {
    top: 12%;
    left: 7%;
    margin: 0 auto;
    display: block;
  }
  .message h1 {
    font-size: 1.7em;
    line-height: 1.7;
  }
  .message span {
    border: solid 3px #C83636;
    padding: 0 6px;
  }
  .message p {
    max-width: 80%;
    font-size: 0.9em;
    margin-top: 10px;
  }
  .top_1stFactory:first-of-type {
    padding-bottom: 30px;
  }
  .top_1stFactory h3 {
    font-size: 1.2em;
  }
  #main .top_1stFactory span {
    font-size: 0.9em;
    padding: 0 0 5px;
  }
  #main .top_1stFactory p {
    padding: 12px 0 10px;
  }
  .top_Factory_flex > div {
    display: flex;
    flex-direction: row;
    text-align: start;
    box-shadow: 0px 1px 4px 0px #ddd;
    margin: 6px 0;
    padding: 10px 0;
  }
  .Factory_img {
    width: 100%;
    margin: 0;
  }
  .contact_btn_wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    width: 100%;
    z-index: 2;
  }
  .contact_btn_wrap a {
    font-size: 0.9em;
  }
  .btn_in {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .btn_in > a {
    flex: 0 50%;
  }
  .contact_btn_wrap .tel, .contact_btn_wrap .form {
    width: 50%;
    padding: 15px 0;
    background: #fff;
  }
  .contact_btn_wrap h3, .contact_btn_wrap p {
    display: none;
  }
  .form::before {
    height: 12px;
  }
  /*company.html
---------------------------------------------------------------------------*/
  .compny_ttl {
    top: 50%;
    left: 5%;
    font-size: 25px;
    line-height: 0.7;
  }
  .compny_ttl span {
    font-size: 11px;
  }
  .message_wrap h3 img {
    padding: 30px 0;
    max-width: 92%;
  }
  .message_text {
    padding-bottom: 90px;
  }
  .message_text h4 {
    font-size: 1em;
  }
  .message_text p {
    font-size: 0.9em;
  }
  .message_text img {
    max-width: 55%;
    padding-top: 4px;
  }
  #main .c_table_wrap h2 {
    padding-bottom: 10px;
  }
  #main .c_table_wrap span {
    padding-bottom: 30px;
  }
  .c_table_wrap table th, .c_table_wrap table td {
    width: 100%;
    display: block;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.9;
  }
  iframe {
    width: 100%;
    height: 70%;
    margin-top: 10px;
  }
  /*お問合せボタン
---------------------------------------------------------------------------*/
  .contact_btn_wrap a:hover {
    background: #fff;
    color: #333;
  }
  /*footerコンテンツ
---------------------------------------------------------------------------*/
  footer {
    margin-bottom: 56px;
    margin-top: 30px;
  }
  .footer_top img {
    max-width: 70%;
  }
  .footer_top ul {
    width: 90%;
    display: block;
  }
  .footer_top li {
    font-size: 0.9em;
    display: inline-block;
    padding: 0 10px;
  }
  .footer_bottom {
    padding: 15px 0;
  }
  footer small {
    font-size: 0.8em;
  }
  .contact_mb {
    margin-bottom: 0;
  }
}
/*-----------------------------------
	960px以下
	--------------------------------*/
@media screen and (max-width:960px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }
  .contact-flow li {
    width: 30%;
    height: auto;
  }
  input[type="text"], textarea {
    width: 100%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    display: block;
    width: 100%;
    height: 60px;
  }
}
/*-----------------------------------
	768px以下
	--------------------------------*/
@media screen and (max-width:768px) {
	#main-factory {
    margin: 90px auto;
}
  .sp-title {
    text-align: center;
    padding: 50px auto;
    font-size: 46px;
  }
  .title-ja {
    font-size: 16px;
    font-weight: normal;
  }
  .m-center-contact {
    margin: 70px auto 60px;
    width: 30%;
  }
  .sp-top {
    text-align: center;
  }
  .m-center {
    margin: 80px auto 0;
    width: 40%;
  }
  .lv2 {
    margin-bottom: 30px;
    margin-top: 100px;
  }
  .lv3 {
    font-size: 26px;
  }
  .facility ul {
    display: flex;
    align-items: baseline;
  }
  .facility ul li {
    width: 32%;
  }
  .facility-img {
    width: 100%;
  }
  .facility ul ul {
    display: block;
    min-width: 32%;
  }
  .facility ul ul li {
    padding-left: 10px;
    font-size: 12px;
    width: 100%;
  }
  .facility-lv4 {
    padding-left: 2.5%;
  }
  .facility-name {
    display: block;
    width: 95%;
    margin: 0 auto 40px;
  }
  .facility-name dt {
    display: block;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
  }
  .facility-name dd {
    display: block;
    box-sizing: border-box;
    padding: 15px;
    width: 100%;
    text-align: center;
  }
  .facility-name:after {
    content: "";
    display: block;
    visibility: hidden;
    clear: both;
  }
  .business {
    height: 900px;
  }
  .business:last-child {
    height: 850px;
}
  .business-box {
    height: auto;
    margin: 0 auto 50px;
  }
  .business-box img {
    position: unset;
    width: 100%;
  }
  .sp-txt-box {
    border-bottom: 3px solid #C83636;
    border-left: 3px solid #C83636;
    border-right: 3px solid #C83636;
  }
  .sp-txt-box-r {
    background-color: #C83636;
  }
  .txt-box {
    position: unset;
    border: none;
    border-top: none;
    width: 85%;
    margin: 0 auto;
    margin-top: -20px;
    padding: 54px 28px 66px;
  }
  .txt-box-r {
    position: unset;
    border-top: none;
    width: 85%;
    margin: 0 auto;
    margin-top: -20px;
    padding: 54px 28px 66px;
  }
  .business-deco, .business-deco-r {
    font-size: 44px;
  }
  .business-lv3, .business-lv3-r {
    font-size: 25px;
    padding-bottom: 7px;
  }
  .business-image-r {
    left: 45%;
  }
  /*----------------------------
	第二工場の特徴
	---------------------------*/
	.feature{
		padding-bottom: 0;
	}
  .feature:not(:last-child) {
    margin-bottom: 0px;
}
  .sp-txt-box01 {
    width: 100%;
  }
  .first-factory-bissiness {
    display: block;
  }
  .first-factory-img-group {
    width: 100%;
    box-sizing: border-box;
    padding-right: 0;
  }
  .txt-box01 {
    border-top: none;
    border-bottom: 3px solid #C83636;
    border-left: 3px solid #C83636;
    border-right: 3px solid #C83636;
    width: 85.2%;
    padding: 30px 7%;
  }
  .f-factory-tosou {
    width: 100%;
    margin-bottom: -2%;
  }
}
/*-----------------------------------
	640px以下
	--------------------------------*/
@media screen and (max-width:640px) {
  #formWrap {
    padding: 30px;
    margin: 50px auto;
  }
  .m-center-contact {
    margin: 50px auto 30px;
    width: 40%;
  }
  .contact-factory > div {
    display: block;
    border: 1px solid #707070;
    padding: 0 20px 20px;
    margin: 20px auto;
  }
  .contact-factory {
    display: block;
  }
  .contact-first-factory {
    margin: 0 auto;
  }
  .contact-factory ul {
    margin: 0 auto;
  }
  .factory {
    font-size: 16px;
  }
  .contact-tel-number {
    font-size: 24px;
  }
  /*ボタン横並び*/
  .input-flex {
    display: block;
    margin: 30px auto;
    text-align: center;
    width: 100%;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    height: 50px;
    margin: 0 auto 20px;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
    height: 30px;
  }
  table.formTable td {
    margin-bottom: 20px;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
  body {
    font-size: 14px;
  }
  .feature {
    display: block;
    width: 95%;
    margin: 0 auto;
	    padding-bottom: 20px;
  }
  .image-feature {
    width: 100%;
    padding-bottom: 0;
  }
  .lv3 {
    font-size: 25px;
  }
  .feature:not(:last-child) {
    margin-bottom: -4px;
  }
  .flex-item {
    width: 100%;
  }
  .facility ul ul {
    text-align: left;
  }
  .facility ul ul li {
    width: 70%;
  }
  .flex-item {
    padding-left: 0;
    padding-right: 0;
  }
  .lv2 {
    margin-top: 50px;
  }
  #main-factory {
    margin: 70px auto;
  }
	.sec-box {
    max-width: 94%;
    margin: 0 auto 60px;
}
  /*----------------------------
	私たちのビジネス
	---------------------------*/
  
	 .business-box{
    height: auto;
    margin: 0 auto 20px;
  }
  .business-box img {
    position: unset;
    width: 100%;
  }
	.business-box:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}
  .sp-txt-box {
    border-bottom: 3px solid #C83636;
    border-left: 3px solid #C83636;
    border-right: 3px solid #C83636;
  }
  .sp-txt-box-r {
    background-color: #C83636;
  }
	.sp-txt-box:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
}
  .txt-box {
    position: unset;
    border: none;
    border-top: none;
    width: 83%;
    margin: 0 auto;
    margin-top: -11px;
    padding: 30px 18px;
  }
.txt-box01 {
    width: 84.5%;
}
  .txt-box-r {
    position: unset;
    border-top: none;
    width: 80%;
    margin: 0 auto;
    margin-top: -20px;
    padding: 30px 29px;
  }
  .business-deco, .business-deco-r {
    font-size: 30px;
    margin-top: 20px;
  }
  .business-lv3, .business-lv3-r {
    font-size: 20px;
  }
  .business-txt, .business-txt-r {
    font-size: 14px;
  }
  .business {
    height: auto;
  }
  .business:last-child {
    height: auto;
	  padding-bottom: 20px;
  }
  .business-deco-r img {
    width: 15vw;
    max-width: 200px;
    min-width: 150px;
    text-align: left;
  }
	/*.feature:not(:last-child) {
    margin-bottom: 40px;
}*/
	.first-factory-bissiness {
   
    padding-bottom: 25px;
}
  /*-------------------------------
	工場設備
	--------------------------------*/
  .facility ul {
    display: block;
    margin-bottom: 30px;
  }
  .facility ul ul {
    text-align: left;
  }
  .facility ul li {
    display: inline-block;
    margin: 0 auto;
    width: 100%;
	  text-align: center;
  }
  .facility ul ul li {
    padding-left: 17px;
    font-size: 18px;
    width: 95%;
    text-align: left;
}
  .facility-list th, .facility-list td {
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #cccccc;
    font-size: 14px;
  }
  .lv2-en {
    font-size: 43px;
  }
  .facility-lv3 {
    font-size: 22px;
	  margin: 40px auto 20px;
  }
}
@media screen and (max-width:375px) {
  .txt-box-r {
    padding: 30px 29px;
  }
  .lv2-en {
    font-size: 35px;
  }
  .facility ul ul {
    padding-left: 0;
  }
  .facility ul ul li {
    padding-left: 10px;
    font-size: 16px;
    width: 100%;
  }
  .business-lv3, .business-lv3-r {
    font-size: 15px;
    margin-bottom: 0;
  }
}
@media screen and (max-width:320px) {
  /*-----------------------------------------------------------------------------
お問い合わせフォーム
----------------------------------------------------------------------------*/
  #formWrap p {
    text-align: left;
  }
  .contact-factory > div {
    padding: 10px 30px 20px 30px;
  }
  .adress::before {
    content: "";
  }
  .open, .holiday, .manager {
    font-size: 12px;
  }
  .contact-factory li {
    padding-left: 0;
  }
  .factory {
    font-size: 14px;
  }
  .contact-tel-number {
    font-size: 20px;
  }
  .contact-flow {
    padding-bottom: 20px;
  }
  .lv3 {
    font-size: 24px;
  }
	.facility-lv4 {
    font-size: 1.1rem;
}
  .txt-box {
    padding: 30px 33px;
  }
  .txt-box-r {
    padding: 30px 18px;
  }
  .facility ul ul {
    padding-left: 0;
  }
	.facility ul ul {
    margin-bottom: 20px;
}
  
  .facility ul ul li {
    padding-left: 10px;
    font-size: 16px;
    width: 100%;
  }
  .business {
    height: auto;
    margin-bottom: 20px;
  }
  .business-deco img {
    width: 13vw;
    max-width: 180px;
    min-width: 160px;
  }
}