@charset "utf-8";
/* PC基本設定--------------------------------------------------*/
@media only screen and (min-width:768px) {
  /*ハンバーガーメニューを表示させず、PC用のメニューのみ表示*/
  .hamburger-menu, .nav-sp {
    display: none;
  }
}
/* スマホ基本設定--------------------------------------------------*/
@media only screen and (max-width:767px) {
  /*フォントサイズ*/
  html { /*基本フォントサイズを10pxに指定*/
    font-size: 62.5%;
  }
  body {
    font-size: 3rem;
  }
  /*見出し*/
  h1 {
    padding-left: 30px;
    font-size: 3rem;
  }
  h2 {
    font-size: 2.6rem;
    border-bottom: none;
    padding-top: 10px;
  }
  h3 {
    font-size: 2rem;
  }
  /*段落*/
  p {
    margin: 5px 0 20px;
  }
  /*文字サイズ小*/
  span.small {
    font-size: 2rem;
  }
  /* ナビゲーション--------------------------------------------------*/
  /* PC用ナビゲーションを非表示*/
  #navigation {
    display: none;
  }
  #navigation_sp {
    width: 100%;
    height: auto;
    margin: 20px auto;
    padding-top: 20px;
    text-align: center;
  }

  /* スマホ用ハンバーガーメニュー */
  .hamburger-menu {
    position: absolute;
    right: 20px;
    top: 20px;
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 100;
  }
  .hamburger-menu_line { /*真ん中の1本*/
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    background-color: #FFF;
    position: relative;
    transition: all 0.5s;
  }
  .hamburger-menu_line::before, .hamburger-menu_line::after { /*上下1本ずつ*/
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 3px;
    background-color: #FFF;
    position: absolute;
    transition: all 0.5s;
  }
  .hamburger-menu_line::before { /*上の1本*/
    transform: translateY(-10px);
  }
  .hamburger-menu_line::after { /*下の1本*/
    transform: translateY(10px);
  }
  /* ハンバーガーメニューを×印にする*/
  .hamburger-menu.open .hamburger-menu_line {
    background-color: transparent;
  }
  .hamburger-menu.open .hamburger-menu_line::before {
    transform: rotate(45deg);
  }
  .hamburger-menu.open .hamburger-menu_line::after {
    transform: rotate(-45deg);
  }
  /* ナビゲーション */
  .nav-sp {
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0 30px;
    background-color: rgba(20, 63, 143, 1);
    text-align: left;
    transition: left 0.5s;
    z-index: 99;
    font-size: 2rem;
  }
	.nav-sp ul {
    width: 100%;
	padding:0;
	margin-bottom:10px;
  }
	.nav-sp li {
    background: url("../images/menu_cup.png") no-repeat 30px center;
  }
	.nav-sp li a {
    display: block;
	padding:12px 0 12px 80px;
	border-bottom: 1px solid #fff;
  }
	.nav-sp a {
    text-decoration: none;	
  }
	.nav-sp a:link {
    color:#fff;	
  }
	.nav-sp a:visited {
    color:#fff;	
  }
.nav-sp p {
    font-size: 1.6rem;
	padding:0 20px;
	color: #fff;
	}
.nav-sp p.title {
	font-size: 2.4rem;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	}
  .nav-sp.open {
    left: 0;
	}
	
  /*構成要素設定--------------------------------------------------*/
  body {
    width: 100%;
    min-width: 100%;
    background: none;
    overflow-x: hidden;
  }
  #container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 1.6rem;
  }
  #contents_top {/*トップページ*/
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
  #contents {/*下層ページ*/
     width: 92%;
    margin: 30px auto 10px;
    padding: 0;
    box-sizing: border-box;
	font-size: 1.6rem;
    min-height: 300px; /*thanksページの下部に余白を作り、横スクロールしないための設定*/
  }
  /*ヘッダ--------------------------------------------*/
  #header {
    height: 160px;
	background: #0097D7 url(../images/header_sp.png) no-repeat bottom center;
	background-size: 92%;
  }
  #header_inner { /*ヘッダ内枠*/
    width: 100%;
    height: auto;
  }
#header_iso_area img { /*isoエリア*/
    width: 55%;
  }
  #header_logo_area { /*ロゴ（会社名）エリア*/
    width: 70%;
    top: 50px;
	right:0;
  }
  #header_logo_area span.bold {
    font-size: 3.6rem;
  }
  #header_logo_area span.yugen { /*「有限会社」を小さく*/
    font-size: 2rem;
  }
  #header_logo_area a, a:link {
    transition: none;
  }
	
/*流れるヘッダテキスト（上段）*/
#text1 {
  top: 10%;
  left: 50%;
  transform: translate(-50%, -90%);
  background:rgba(0, 151, 215, 0.4);
}
/*流れるヘッダテキスト（下段）*/
#text2 {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -75%);
  background:rgba(0, 151, 215, 0.4);
}
/*流れるヘッダテキスト（トップページ上段）*/
div#header_top #text1 {
  top: 25%;
  left: 50%;
  transform: translate(-50%, -75%);
  background:rgba(0, 151, 215, 0.3);
}
/*流れるヘッダテキスト（トップページ下段）*/
div#header_top #text2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background:rgba(0, 151, 215, 0.3);
}
  /*フッター----------------------------------------------*/
  #footer1 {
    width: 100%;
    height: auto;
    box-sizing: border-box;
  }
  #footer1 div.to_right { /*ページトップに戻るボタンを固定*/
    position: fixed;
    right: 20px;
    bottom: 5px;
    z-index: 999;
  }
  #footer1 div.to_right img { /*ページトップに戻るボタンのサイズ*/
    width: 10vw;
  }
  /*フッタ2（ナビ、会社名、所在地、コピーライト等）*/
  #footer2 {
    height: 160px;
  }
  #footer2_inner {
    width: 95%;
    height: 160px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 20px 0 0;
    font-size: 1.6rem;
    background: #0097D7 url(../images/footer2.png) no-repeat center 80px;
    background-size: 100%;
  }
  ul#footer_navi { /*フッターナビを非表示*/
    display: none;
  }
  #copy { /*コピーライト*/
    width: auto;
	 margin: 0 auto;
	line-height: 1.3;
  }
  /*画像関係--------------------------------------------------*/
  img {
    width: 100%;
    max-width: 100%;
    height: auto;
    text-align: center;
  }
  .img-responsive {
    max-width: 100%;
    height: auto;
  }
  img.sp_non { /*スマホで非表示*/
    display: none;
  }
  img.midashi {
    width: 60vw;
  }
  /*個別設定--------------------------------------------------*/
  /*トップページ-------------------------------*/
  #header_top { /*ヘッダ*/
    margin-top: 3px;
	height:200px;
  }

  /*右から流れるヘッダテキスト*/
  #text1 img {
    width: 80vw;
  }
  #text2 img {
    width: 80vw;
  }
/*スライドショー*/
div.infiniteslide1 ul {
  margin: 10px 0 0 0;
}
  /*ご挨拶*/
  #welcome {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    font-size: 1.8rem;
  }
	
  /*業務内容紹介エリア*/
  #business {
	width: 100%;
    margin: 20px auto;
    padding: 0;
    border-bottom: none;
  }
  div.image_nav1 { /*画像リンクエリア（右から移動）*/
    margin: 10px 0 10px;
    padding-bottom: 10px;
    opacity: 1;
  }
  .move1 { /*画像エリアを右から移動させない*/
    animation: none;
  }
  #business p {
    padding: 0 20px;
    font-size: 1.6rem;
    text-align: left;
  }
  
  div.bigbutton_left { /*大きな円形ボタン（左）*/
  left: 10px;
  top: 3px;
}
div.bigbutton_right { /*大きな円形ボタン（右）*/
  right: 10px;
  top: 3px;
}
	div.bigbutton_left img,div.bigbutton_right img { /*大きな円形ボタン*/
    width: 45%;
  }
  /*お知らせエリア*/
  #info {
    width: 92%;
    margin: 0 auto 20px;
    padding: 10px 0;
	 text-align: left;
  }
  #info h2 {
    padding-bottom: 20px;
    font-size: 2.6rem;
    background: url("../images/top/text_information.png") no-repeat left 30px;
  }
 #info table {
	margin:10px 0 0 20px;
  font-size: 1.6rem;
}
#info table td.date {/*日付セル*/
	vertical-align: top;
}
  /*各エリア共通の本文エリア*/
  div.top_inner {
    width: 85%;
    margin-left: 15%;
    padding: 0 30px;
  }
  div.top_inner h2 {
    ;
  }
  /*企業理念*/
  #concept {
    clear: both;
    width: 100%;
    padding: 20px;
    font-size: 2rem;
    line-height: 1.6;
    border-radius: none;
  }
  #concept h2 {
    margin: 0 auto 10px;
    font-size: 3rem;
  }
  #concept .popup {
    opacity: 1;
  }
  #concept .image_popup {/*ポップアップさせない*/
  animation: none;
}
  /*ISOロゴ*/
  div.iso_logo img {
    width: 40%;
  }
/*下層ページ共通-------------------------------------------*/
/*タイトル円形ボタン*/	
 div#title_button {
  left: 15px;
  top: 280px;
width:25%;
  z-index: 98;
  animation: title_button 1s ease-out 0s 1 forwards;
  opacity: 0;
}
	div#title_button img {
  width: 100%;
}
	
  /*フォーム関係*/
  label {
    display: inline-block !important; /*チェックボックスの途中で改行させない*/
  }
  input[type="checkbox"] {}
	
/*ごあいさつのページ-----------------------------------*/
/*ヘッダ画像*/
#header_message {
  margin-top: 3px;
  height: 200px;
}
 #message {
    margin: 0 auto;
    line-height: 1.6;
	 border:none;
  }
 #message p {
	 font-size:1.8rem;
  }
	
#name { /*社長の肩書と名前*/
  padding-top: 10px;
  font-size: 2rem;
}
#profile { /*社長のプロフィール*/
width:92%;
  padding:10px 0 20px;
  font-size: 1.6rem;
}
#profile h2 {
font-size:2.6rem;
margin-bottom:10px;
  padding-bottom: 10px;
  background: url("../images/message/text_profile.png") no-repeat left 25px;
}
#message div.to_left {
  float:none;
   margin: 0 auto;
}
	
/*専務へのインタビュー*/
div#interview {
  width: 100%;
	margin:0 auto;
	font-size: 1.6rem;
}
div#interview h2 {
  padding-bottom: 30px;
  font-size: 2.6rem;
	height: 30px;
  background: url("../images/quality/text_interview.png") no-repeat 45px 35px;
}
div#interview h2 img { /*マイクのイラスト*/
  padding-right: 10px;
  width: 10%;
}
div#interview div.to_right { /*専務の画像を右よせしない*/
  float:none;
  margin:0 auto 20px;
font-size: 1.6rem;
	
}

/*事業内容のページ------------------------------------------*/
/*ヘッダ画像*/
#header_enterprise {
  margin-top: 3px;
  height: 200px;
}
div#enterprise {
  width: 100%;
  margin: 20px auto;
}
div#enterprise p {
  font-size:1.8rem;
}
div#enterprise h2.example {/*製作事例の見出し*/
  padding-bottom: 30px;
  font-size: 2.6rem;
  background: url("../images/enterprise/text_example.png") no-repeat left 35px;
}
div#enterprise h2 {/*作業工程の見出し*/
  padding-bottom: 30px;
  font-size: 2.6rem;
  background: url("../images/enterprise/text_process.png") no-repeat left 35px;
}
/*作業工程*/
#enterprise .popup {
  opacity: 1;
}
#enterprise .image_popup {/*ポップアップさせない*/
  animation: none;
}
.process {
  height: auto;
  margin: 20px auto;
	padding:20px;
	font-size: 1.6rem; 
}
.process_arrow img {/*下向き矢印*/
	width:5%;
}

/*会社概要のページ------------------------------------------*/
/*ヘッダ画像*/
#header_company {
  margin-top: 3px;
  height: 200px;
}

/*テーブル*/
table#company {
  margin: 30px auto 30px;
  font-size: 1.6rem;
}
/*登録証*/
#registration h2 {
  padding-bottom: 30px;
  font-size: 2.6rem;
  background: url("../images/company/text_registration.png") no-repeat left 35px;
}
#registration div.to_left,#registration div.to_right {
  float:none;
  width:95%;
  margin: 0 auto 30px;
  font-size: 1.6rem;
}
#registration div.to_left img {/*品質マネジメントシステム*/
  width:100%;
  padding-bottom: 6px;
}
#registration div.to_right img {/*ハサップ（画像を小さく）*/
  width:60%;
  padding-bottom: 6px;
}

/*生産実績*/
#customer {
  font-size: 1.6rem;
}
#customer h2 {
  padding-bottom: 30px;
  font-size: 2.6rem;
  background: url("../images/company/text_customer.png") no-repeat left 35px;
}
/*Googleマップ*/
#map h2 {
  padding-bottom: 30px;
  font-size: 2.6rem;
  background: url("../images/company/text_map.png") no-repeat left 35px;
}
#map .popup{
  opacity: 1;
}
#map iframe {
  width:100%;
}
#map dl {
  margin: 0 0 0 30px;
}
#map dd {
  margin: 0 0 5px 20px;
  font-size: 1.3rem;
}

/*品質管理のページ------------------------------------------*/
/*ヘッダ画像*/
#header_quality {
  margin-top: 3px;
  height: 200px;
}
div#quality p {
  font-size:1.8rem;
}
h2.quality {
  padding-bottom: 30px;
font-size: 2.6rem;
  background: url("../images/quality/text_policy.png") no-repeat left 35px;
}
div#quality ul {
  padding-top: 0;
}
h2.environment {
  padding-bottom: 30px;

  font-size: 2.6rem;
  background: url("../images/quality/text_environment.png") no-repeat left 35px;
}
	
#environment .popup {
    opacity: 1;
  }
#environment .image_popup {/*ポップアップさせない*/
  animation: none;
}

/*動画・画像と説明（1行分）*/
div.quality {
  margin: 0 0 30px;
  display: block;
  border: none;
  background-color: none;
}
div.quality iframe {/*YouTube埋め込み動画*/
  width:100%;
}
div.quality div {
  display: block;
  vertical-align: middle;
  width: 90%;
  margin:0 auto;
}
div.quality div img {
 padding-top:40px;
}
div.quality p {
  display: block;
  text-align: center;
  width: 90%;
  font-size: 1.6rem;
}

/*包装機械設備・検査機械設備のページ------------------------------------------*/
/*ヘッダ画像*/
#header_machine {
  margin-top: 3px;
  height: 200px;
}

#machine h2 {
	height:auto;
	margin-bottom: 10px;
padding-bottom: 30px;
  font-size: 2.6rem;  
}
#machine h2.packaging {/*包装機械設備見出し*/
  background: url("../images/machine/text_packaging.png") no-repeat left 15px;
}
#machine h2.inspection {/*検査機械設備見出し*/
  background: url("../images/machine/text_inspection.png") no-repeat left 15px;
}
#machine h3 {
  font-size: 2rem;
  background: url("../images/machine/circle.png") no-repeat left center;
}
	
#machine .popup{
  opacity: 1;
}
#machine .image_popup {
  animation: none;
}

div.machine1 { /*2列左側機械画像*/
  float: none;
  margin: 0 0 20px 0;
}
div.machine2 { /*2列右側機械画像*/
  float: none;
  margin: 0 0 20px 0;
}
div.machine3 { /*3列左側・中央機械画像*/
  float: none;
  margin: 0 0 20px 0;
}
div.machine4 { /*3列右側機械画像*/
 float: none;
  margin: 0 0 20px 0;
}
	
div.machine1 img ,div.machine2 img,div.machine3 img,div.machine4 img {
  width:100%;
}

/*お問い合わせのページ-----------------------------------*/
#contact {
  width: 100%;
}
#contact p { /*入力項目*/
  font-size:1.8rem;
}
#contact span.small{
  font-size:1.4rem;
}  
#contact input[type="text"], input[type="email"] { /*入力欄*/
  width: 100%;
  height: 50px;
}
#contact input[type="email"] { /*メール入力欄*/
  margin: 10px 0;
}
#contact input[type="submit"],#contact input[type="reset"]  { /*送信ボタン*/
height: auto;
margin-top:20px;
font-size: 1.4rem;
}
.wpcf7 input,.wpcf7 textarea {
font-size: 1.8rem;
}
.wpcf7 input[type="submit"],.wpcf7 input[type="reset"] { /*コンタクトフォーム用*/
width:30%;
}
	
/*個人情報保護方針（プライバシーポリシー）のページ----------------*/
#privacy {
  width: 100%;
}
#privacy h2 {
  font-size: 2rem;
}
#privacy p {
  margin-bottom: 10px;
}
}

/* スマホ横向き設定=================================================*/
@media screen and (max-width: 1024px) and (orientation: landscape) {
	
/*ヘッダ--------------------------------------------*/
#header {
    height: 180px;
	background: #0097D7 url(../images/header_sp.png) no-repeat bottom center;
	background-size: 92%;
  }
#header_iso_area img { /*isoエリア*/
    width: 40%;
  }
#header_logo_area { /*ロゴ（会社名）エリア*/
    width: 50%;
    top: 45px;
	right:20px;
	font-size: 4rem;
	text-align: right;
  }

/*流れるヘッダテキスト（下段）*/
#text2 {
  top: 30%;
  transform: translate(-50%, -40%);
}
	
/*フッター----------------------------------------------*/
#footer1 img {/*ページトップへ戻るボタン*/
  width:8%;
}	
#footer2 {/*会社名、所在地、コピーライト等）*/
    height: 160px;
  }
#footer2_inner {
    height: 160px;
    background: #0097D7 url(../images/footer2.png) no-repeat center center;
	background-size: 90%;
  }
	
/*トップページ-------------------------------------------*/
div.bigbutton_left { /*大きな円形ボタン（左）*/
  left: 10px;
  top: 10px;
}
div.bigbutton_right { /*大きな円形ボタン（右）*/
  right: 10px;
  top: 10px;
}
div.bigbutton_left img,div.bigbutton_right img { /*大きな円形ボタン*/
    width: 70%;
}
#info table {/*お知らせ*/
  margin:20px 0 0 20px;
  font-size: 1.8rem;
}	
	
/*下層ページ共通-------------------------------------------*/
/*タイトル円形ボタン*/	
 div#title_button {
  left: 20px;
  top: 210px;
  width:20%;
}	
	
/*ごあいさつのページ-----------------------------------*/
#message div.to_left {/*社長の画像を左寄せ*/
  float:left;
  margin:0 10px 10px 0;	
}
	
/*専務へのインタビュー*/
div#interview div.to_right { /*専務の画像を右寄せ*/
  float:right;
  margin: 0 0 10px 10px;
}
	
/*品質管理のページ------------------------------------------*/
div#quality p {
  font-size:1.8rem;
}	
	
}