@charset "utf-8";
/* CSS Document */
/*============================================================================

日新機械製作所 @css

==============================================================================*/
/*--------------------------------------------------

共通

---------------------------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #323232;
  background: #fff;
  padding: 0;
  margin: 0;
}
body a {
  color: #04C;
  text-decoration: underline;
}
body a:hover {
  color: #999;
}
img {
  backface-visibility: hidden;
}
/* SP */
.wraper {
  margin: 0;
  padding: 0;
  width: 100%;
}
/*-----------------------------------------------

index page

------------------------------------------------*/

/*
header
---------------------------------------*/

.header_info_sp {
  display: block;
  padding-top: 40px;
  margin: -20px 0 40px 0;
}
  
.header_info_pc {
  display: none;
} 

.header_info_sp h1 img {
  width: 50%;
  margin: 0 0 10px 10px;
}

.header_img {
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
}

.header_img img {
  width: 100%;
}

.header_img p {
  font-size: 1.5rem;
  font-family: "Sawarabi Mincho", serif;
  font-weight: bold;
  line-height: 1.8em;
  color: #fff;
  position: absolute;
  top: 15%;
  left: 5%;
}

/*　グローバルメニュー　*/

#g-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: -120%;
  left: 0;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #91dfe3;
  /*動き*/
  transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/

#g-nav.panelactive {
  top: 0;
}

/*ナビゲーションの縦スクロール*/

#g-nav.panelactive #g-nav-list {
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh; /*表示する高さ*/
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/

#g-nav ul {
  /*ナビゲーション天地中央揃え*/
  width: 63%;
  position: absolute;
  z-index: 999;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}

/*リストのレイアウト設定*/

#g-nav li {
  font-size: 1rem;
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color: #000;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

#g-nav dl {
  width: 80%;
  text-align: center;
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#g-nav dl dt {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
}

#g-nav dl dd {
  margin: 0;
}

#g-nav dl dd h3 {
  font-size: 1.2rem;
  margin-bottom: 3px;
}

#g-nav dl dd h4 {
  font-size: 0.9rem;
  margin-bottom: 3px;
}

#g-nav dl dd h5 {
  font-size: 1.2rem;
}

/*========= ボタンのためのCSS ===============*/

.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 60px;
  height: 60px;
}

/*×に変化*/

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 40%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 40%;
}


/*
lead
---------------------------------------*/
.lead_box {
  width: 100%;
  padding-top: 20px;
  margin: -20px auto 40px;
}

.lead_cont_1 {
  width: 90%;
  margin: 0 auto 30px;
}

.lead_cont_1 h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.lead_cont_1 p {
  font-size: 1.1rem;
  line-height: 1.8em;
  margin-bottom: 15px;
}

/*
共通BOX
---------------------------------------*/
.set_box_1 {
  margin-bottom: 40px;
}
.set_box_1 h2 {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1d454f;
  text-align: center;
  position: relative;
  margin-bottom: 35px;
}

.set_box_1 h2::before {
  background-color: #18aaa6;
  bottom: -10px; /* 線の位置 */
  content: "";
  height: 3px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 30px; /* 線の長さ */
}

.set_box_1 h3 {
  width: 70%;
  font-size: 1.1rem;
  font-weight: normal;
  text-align: center;
  background: #0aa5a1;
  margin: 0 auto;
}

.set_box_1 h3 a::after {
  content: '>';
  padding-left: 10px;
}

.set_box_1 h3 a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
}

.set_box_1 h3 a:hover {
  background: #046966;
}

.set_box_1 p {
  font-size: 1.1rem;
  line-height: 1.8em;
  margin-bottom: 30px;
}

.set_box_1 ul {
}

.set_box_1 ul li {
  font-size: 1.1rem;
  line-height: 1.8em;
  list-style-position: inside;
  margin-bottom: 20px;
}

.set_box_1 dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1rem;
  border-bottom: dotted 1px #999;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.set_box_1 dt {
  width: 30%;
  font-weight: 500;
}

.set_box_1 dd {
  width: 60%;
}

/*
共通BOX 画像
---------------------------------------*/
.image_box_1 {
  width: 90%;
  margin: 0 auto;
}

.image_box_1 figure {
  width: 100%;
  margin: 0 auto 35px;
}

.image_box_1 figure img {
  width: 100%;
  margin-bottom: 7px;
}

.image_box_1 figure figcaption {
  font-size: 1rem;
  text-align: center;
  color: #666;
}

/*
強み
---------------------------------------*/
.strength_box {
  width: 100%;
}

.strength_cont_1 {
  width: 100%;
}

.strength_cont_2 {
  width: 100%;
  background: #f1f1f1;
  padding: 30px 5%;
}

/*
加工内容
---------------------------------------*/
.process_cont {
  width: 100%;
  padding: 30px 5%;
  margin: 0 auto;
}

/*
機械設備
---------------------------------------*/
.facility_cont {
  width: 100%;
  background: #f1f1f1;
  padding: 30px 5%;
}

/*
採用案内
---------------------------------------*/
.recruit_cont {
  padding: 30px 0;
}

.recruit_img {
  width: 100%;
  margin: 0 auto 30px;
}

.recruit_summary {
  width: 90%;
  background: #e5f5f5;
  padding: 20px;
  margin: 0 auto;
}

/*
会社概要
---------------------------------------*/
.company_cont {
  padding: 20px 5%;
}

/*
問い合わせ
---------------------------------------*/
.inquiry_box {
  width: 90%;
  background: #ee8a48;
  border-radius: 10px;
  padding: 15px;
  margin: 30px auto;
}

.inquiry_box dl {
  color: #fff;
  text-align: center;
}

.inquiry_box dl dt {
  font-size: 1rem;
  line-height: 1.8em;
  margin-bottom: 20px;
}

.inquiry_box dl dd {
}

.inquiry_box dl dd p {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 15px;
}

/*
アクセスMAP
---------------------------------------*/
.access_map {
  width: 100%;
  height: 350px;
  padding-top: 20px;
  margin: -20px auto 0;
}

/*
footer
---------------------------------------*/
.footer {
  width: 100%;
  color: #fff;
  text-align: center;
  background: #0aa5a1;
  padding: 30px 5%;
}

.footer h2 {
  font-size: 1.4rem;
  font-weight: normal;
  margin-bottom: 20px;
}

.footer h5 {
  font-size: 0.8rem;
  font-weight: normal;
}

.footer p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/*
トップへ戻る
---------------------------------------*/
#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 5px;
  bottom: -50px;
  background: #095b68;
  opacity: 0.8;
  border-radius: 50%;
}

#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f077';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -15px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/*
強み　ページ
---------------------------------------*/
.strength_page_cont_2 {
  width: 90%;
  margin: 60px auto;
}

.strength_page_cont_2 dl {
  margin-bottom: 50px;
}

.strength_page_cont_2 dl dt {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.7em;
  border-bottom: solid 1px #08b7bf;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.strength_page_cont_2 dl dd {
  font-size: 1.2rem;
  line-height: 1.7em;
}

@media print, screen and (min-width: 769px) {

/* PC */

/*-----------------------------------------------

index page

------------------------------------------------*/

/*
header
---------------------------------------*/

.header_info_sp {
  display: none;
}
  
.header_info_pc {
  display: block;
  margin: 0 auto 60px;
} 

/* heade logo */
.header_logo {
  width: 100%;
  height: 150px;
  padding: 20px 30px 0;
}

.header_logo img {
  width: 300px;
  position: absolute;
  top: 40px;
  left: 30px;
}
  
.header_logo dl {
  width: 400px;
  height: 150px;
  text-align: center;
  color: #fff;
  background: #ee8a48;
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  padding: 25px 0;
  margin: 0;
}
  
.header_logo dl dt {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
  
.header_logo dl dd {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}


/* catch img */
.header_img {
  width: 100%;
}

.header_img img {
  width: 100%;
}
  
.header_img p {
  font-size: 2.4rem;
  font-family: "Sawarabi Mincho", serif;
  font-weight: bold;
  line-height: 2em;
  color: #fff;
  position: absolute;
  top: 30%;
  left: 10%;
}

.gnav_pc {
  width: 100%;
  background: #cef4f3;
  padding: 13px 0 20px;
}
  
.gnav_pc ul {
  display: flex;
  justify-content: center;
}
  
.gnav_pc ul li {
  display: inline-block;
  font-size: 1rem;
  font-weight: bold;
  margin: 0 1%;
}
  
.gnav_pc ul li a {
  color: #323232;
  text-decoration: none;
  border-bottom: solid 3px #18aaa6;
  padding-bottom: 3px;
}
  
.gnav_pc ul li a:hover {
  text-decoration: none;
  border-bottom: solid 3px #ee8a48;
  padding-bottom: 3px;
}

/*
lead
---------------------------------------*/
.lead_box {
  width: 100%;
  padding-top: 20px;
  margin: -20px auto 40px;
}

.lead_cont_1 {
  width: 800px;
  margin: 0 auto 50px;
}

.lead_cont_1 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.lead_cont_1 p {
  font-size: 1.1rem;
  line-height: 1.8em;
  margin-bottom: 15px;
}

/*
共通BOX
---------------------------------------*/
.set_box_1 {
  margin-bottom: 50px;
}
.set_box_1 h2 {
  font-size: 2rem;
  font-weight: 500;
  color: #1d454f;
  text-align: center;
  position: relative;
  margin-bottom: 70px;
}

.set_box_1 h2::before {
  background-color: #18aaa6;
  bottom: -10px; /* 線の位置 */
  content: "";
  height: 3px; /* 線の高さ */
  left: 50%; /* 線の中央寄せ */
  position: absolute;
  transform: translateX(-50%); /* 線の中央寄せ */
  width: 70px; /* 線の長さ */
}

.set_box_1 h3 {
  width: 300px;
  font-size: 1.1rem;
  font-weight: normal;
  text-align: center;
  background: #0aa5a1;
  overflow: hidden;
  padding: 0;
  margin: 100px auto 0;
}

.set_box_1 h3 a::after {
  content: '>';
  padding-left: 10px;
}

.set_box_1 h3 a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
}

.set_box_1 h3 a:hover {
  background: #046966;
}

.set_box_1 p {
  font-size: 1.1rem;
  line-height: 1.8em;
  margin-bottom: 30px;
}

.set_box_1 ul {
}

.set_box_1 ul li {
  font-size: 1.1rem;
  line-height: 1.8em;
  list-style-position: inside;
  margin-bottom: 20px;
}

.set_box_1 dl {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1rem;
  border-bottom: dotted 1px #999;
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.set_box_1 dt {
  width: 30%;
  font-weight: 500;
}

.set_box_1 dd {
  width: 60%;
}

/*
共通BOX 画像
---------------------------------------*/
.image_box_1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.image_box_1 figure {
  width: 25%;
  margin: 0 2% 35px;
}

.image_box_1 figure img {
  width: 100%;
  margin-bottom: 7px;
}

.image_box_1 figure figcaption {
  font-size: 1rem;
  text-align: center;
  color: #666;
}

/*
強み
---------------------------------------*/
.strength_box {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  background: #f1f1f1;
  margin: 0 auto;
}

.strength_cont_1 {
  width: 50%;
  order: 1
}

.strength_cont_2 {
  width: 50%;
  order: 0;
  background: #f1f1f1;
  padding: 110px 10% 0;
}

/*
加工内容
---------------------------------------*/
  .process_box {
    padding: 60px 0;  
  }
  
  .process_cont {
  width: 1000px;
  padding: 0 5%;
  margin: 0 auto;
}

/*
機械設備
---------------------------------------*/
.facility_cont {
  width: 100%;
  background: #f1f1f1;
  padding: 60px 5%;
}

/*
採用案内
---------------------------------------*/
.recruit_cont {
  padding: 70px 0;
}
  
.recruit_cont_inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 1200px;
  margin: 0 auto 100px;
  }

.recruit_img {
  width: 36%;
  margin: 0 4% 0 0;
}
  
 .recruit_txt {
    width: 60%;
   padding: 0;
  }

.recruit_summary {
  width: 800px;
  background: #e5f5f5;
  padding: 30px;
  margin: 0 auto;
}

/*
会社概要
---------------------------------------*/
.company_cont {
  width: 800px;
  padding: 70px 0;
  margin: 0 auto;
}

/*
問い合わせ
---------------------------------------*/
.inquiry_box {
  width: 700px;
  background: #ee8a48;
  border-radius: 10px;
  padding: 10px 0;
  margin: 30px auto;
}

.inquiry_box dl {
  color: #fff;
  text-align: center;
}

.inquiry_box dl dt {
  font-size: 1.2rem;
  line-height: 1.8em;
  margin-bottom: 20px;
}
  
.inquiry_box dl dt br {
  display: none;
}

.inquiry_box dl dd {
}

.inquiry_box dl dd p {
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

/*
アクセスMAP
---------------------------------------*/
.access_map {
  width: 100%;
  height: 600px;
  margin: -20px auto 0;
}
  
/*
footer
---------------------------------------*/
.footer {
  width: 100%;
  color: #fff;
  text-align: center;
  background: #0aa5a1;
  padding: 50px 5%;
}

.footer h2 {
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 20px;
}

.footer h5 {
  font-size: 0.8rem;
  font-weight: normal;
}

.footer p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
  
/*
強み　ページ
---------------------------------------*/
.strength_page_cont_2 {
  width: 1000px;
  margin: 80px auto;
}

.strength_page_cont_2 dl {
  margin-bottom: 50px;
}

.strength_page_cont_2 dl dt {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.7em;
  border-bottom: solid 1px #08b7bf;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.strength_page_cont_2 dl dd {
  font-size: 1.2rem;
  line-height: 1.7em;
}
}
