@charset "UTF-8";

body {
	margin: 0;
	font-family: 'メイリオ'		/* Windows環境フォント「メイリオ」 */
    'Hiragino Kaku Gothic Pro', sans-serif;	/* MacOS環境フォント「ヒラギノ角ゴ」 */
    /*background-color: rgb(60, 95, 192);*/
    /*background-color: rgb(164, 206, 240);*/
    background-color: white;
}

html, body { height: 100%; }

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #333;  
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  border-bottom: solid 3px #cce4ff;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  margin: 0px 0px 25px;
  margin-block-start: 0px;
  padding: 10px 0px;
  background-image: url("img/geometric.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 15px 7px rgba(0,0,0, .5); /* シャドウ */
  }
   
  h1:after {
  position: absolute;
  content: " ";
  display: block;
  width: 20%;
  }
  .h1_mini {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
  }


  #contact h2 {
    padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
    color: #494949;/*文字色*/
    background: #f4f4f4;/*背景色*/
    border-left: solid 5px #7db4e6;/*左線*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
    text-align: left;
  }

  #business h2 {
    margin: 0;
    color: black;
  }

  #about h4 {
    position: relative;
    width: 250px;
    margin: 40px 0px;
    padding: 0.25em 1em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    margin-left: auto;
    margin-right: auto;
    color: black;
  }
  #about h4:before, #about h4:after {
    content: '';
    position: absolute;
    top: -7px;
    width: 2px;
    height: -webkit-calc(100% + 14px);
    height: calc(100% + 14px);
    background-color: black;
  }
  #about h4:before {
    left: 7px;
  }
  #about h4:after {
    right: 7px;
  }
  #business h4 {
    display: inline-block;
    margin: 0;
    margin-right: 10px;
    color: black;
  }

/* ----------------- PC表示用 ---------------------*/
@media screen and (min-width: 897px) { 

 .header{
    margin-top: 0px;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #fff;
    /*background-image:url(img/mechanics.jpg);*/
    display: flex;
    flex-direction: column;
    align-items: center;
	  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); 
  }
  .header__inner{
    width: 95%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header__logo{
    flex: none;
    width: 40%;
    height: auto;
  }
  .header__navgroup{
    margin-left: auto;
    display: flex;
    flex: none;
  }
  .header__navgroup > * + *{
    margin-left: 30px;  /* 60px */
  }
  .header__navitem{
    font-size: 16px;
    font-weight: 600;
    color: #333;
  }
  .header__toggle{
   position: fixed;
    z-index: 2;
   top: 0;
   left: 0;
   background: #fff;
   color: #fff;
   text-align: center;
   transform: translateY(-100%);
   transition: all 0.6s;
   width: 100%;
  }

  #main_index {
    width: 100%;
    height: calc(100% - 80px);
    margin: 0 auto;
    background-color: white;
    text-align: center;
    border-radius: 15px;
  }

  #main {
    width: 100%;
    padding: 0 calc(50% - 500px);
    box-sizing: border-box;
    background-color: white;
    /*background-image: url("img/drawing-pad.jpg");*/
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 15px;
    font-size: 18px;
    /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
    /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
  }
  #main p {
    text-align: left;
    color: #414040;
  }

  #about .main_sentence{
    width: calc(60% - 30px);
    margin: 10px 10px 30px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #about .main_img{
    width: calc(40% - 30px);
    margin: 10px 10px 10px 10px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #about .message p {
    color: rgb(56, 56, 56);
    text-align: center;
  }
  #about .message_last1 {
    margin: 0;
    text-indent: 10em;
  }
  #about .message_last2 {
    margin: 0;
    margin-bottom: 15px;
    text-indent: 15em;
  }
  
  #business .main_sentence{
    width: calc(60% - 30px);
    margin: 10px 10px 30px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #business .main_img{
    width: calc(40% - 30px);
    margin: 50px 10px 50px 10px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .wrap {
    width: 90%;     
    margin: 0 auto; /* 上下0　左右auto */
}

#about{  
  display: flex;  
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

#business{
  display: flex;  
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

#product {
  display: flex;  
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
#product div.pict {
  width: calc(33.3% - 30px);
  padding: 10px;
  margin: 5px;
  /*outline: 1px solid black;*/
  box-shadow: 0 0 3px #aaa;
  background-color: white;
}
#product h3 {
  margin: 5px 0px;
  padding: 0px 10px 0px;
  color: rgba(20, 20, 20, 0.836);
  text-align: center;
}
#product .h3_mini {
  font-size: 10px;
  font-weight: 300;
  color: rgba(20, 20, 20, 0.836);
}
#product div p {
  margin: 0;
  padding: 10px 10px 0px;
}
.pict img {
    width: 100%;
    transition-duration: 0.3s;
}
.pict img:hover {
    transform: scale(1.05,1.05);
    opacity: 0.6;
}
#product ul, ol {
  padding: 0;
  position: relative;
}
#product ul li, ol li {
  color: black;
  border-left: solid 8px orange;/*左側の線*/
  background: whitesmoke;/*背景色*/
  margin-bottom: 5px;/*下のバーとの余白*/
  line-height: 0.8;
  border-radius: 0 15px 15px 0;/*右側の角だけ丸く*/
  padding: 0.5em;
  list-style-type: none!important;
  text-align: left;
  color: #6b6060;
  font-size: 14px;
}

/***** tableデザイン *****/
table{
  width: 100%;
  border-spacing: 0;
}
table th{
  border-bottom: solid 2px #fb5144;
  padding: 15px 0;
}
table td{
  border-bottom: solid 2px #ddd;
  text-align: center;
  padding: 15px 0;
  color: rgb(50, 50, 50);
}

/***** フッター *****/
.foot-wrap{
  background-color: #333;
  color: #fff;
  text-align: center;
} 
.foot-wrap .menu-left, .menu-center, .menu-right{
  display: inline-block;
  width: 25%;
  margin: 50px auto;
  text-align: left;
} 
.menu-left, .menu-center, .menu-right{
  font-size: 14px;
}
.foot-wrap ul{
  list-style: none;
  padding: 0;
  line-height: 30px;
  color: rgb(185, 185, 185);
}
.foot-wrap li{
  text-indent: 15px;
  text-align: left;
}
.foot-wrap h3{
  border-bottom: 3px solid #2ac5b3;
  padding: 10px;
  font-size: 1.2em;
} 
.foot-wrap a{
  text-decoration: none;
  color: rgb(185, 185, 185);
}
.foot-wrap a:hover{
  color: deeppink;
}
.foot-wrap .cmark{
  display: block;
  padding: 10px;
  border-top: 1px solid gray;
  width: 80%;
  margin: 0 auto;
  color: gray;
} 
@media screen and (max-width: 900px){
  .foot-wrap .menu-left, .menu-center, .menu-right{
    display: flex;
    flex-direction: column;
    width: 50%;
  }
  .foot-wrap .cpr{
    display: inline;
  }
}
ul.footer-menu li {
    display: inline;
}
/***** ここまでフッター *****/

} /* ------------- PC表示終了 -----------------*/


/* ------------- スマホ表示（横） -----------------*/
@media screen and (max-width: 896px) {

  .header{
   margin-top: 0px;
   position: relative;
   top: 0;
   left: 0;
   width: 100%;
   height: 90px;
   background: white;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); 
 }
 .header__inner{
   width: 95%;
   height: 100%;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 .header__logo{
   flex: none;
   width: 80%;
   height: auto;
 }
 .header__navgroup{
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background: rgb(230, 230, 230);
  color: #000;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
  padding-bottom: 1em;
 }
 .header__navgroup > * + *{
   margin-left: 30px;  /* 60px */
 }
 .header__navitem{
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  font-size: 1.1em;
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px dotted #333;
 }
 .header__navitem:last-child{
  padding-bottom: 0;
  border-bottom: none;
 }
 .header__navitem {
  display: block;
  color: #000;
  padding: 1em 0;
 }
 .header__toggle {
  display: block;
  position: fixed;    /* bodyに対しての絶対位置指定 */
  right: 13px;
  top: 12px;
  width: 42px;
  height: 51px;
  cursor: pointer;
  z-index: 3;
  background: #666;
  text-align: center;
 }
 .header__toggle span {
  display: block;
  position: absolute;    /* .navToggleに対して */
  width: 30px;
  border-bottom: solid 3px #eee;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  left: 6px;
}

.header__toggle span:nth-child(1) {
  top: 9px;
}

.header__toggle span:nth-child(2) {
  top: 18px;
}

.header__toggle span:nth-child(3) {
  top: 27px;
}

.header__toggle span:nth-child(4) {
  border: none;
  color: #eee;
  font-size: 9px;
  font-weight: bold;
  top: 34px;
}
 /* 最初のspanをマイナス45度に */
 .header__toggle.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.header__toggle.active span:nth-child(2),
.header__toggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

 .header__navgroup.active{
  transform: translateY(0%);
 }
 
  #main_index {
    width: 100%;
    max-width: 896px;
    height: 500px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
    border-radius: 15px;
  }
  
  #main {
    width: 100%;
    max-width: 896px;
    box-sizing: border-box;
    background-color: white;
    /*background-image: url("img/drawing-pad.jpg");*/
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 15px;
    font-size: 18px;
    /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
    /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
  }
  #main p {
    text-align: left;
    color: #414040;
  }

  #about .main_sentence {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  #about .main_img {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  #about .message {
    width: 95%;
    margin: 0 auto;
  }
  #about .message p {
    font-size: 0.8em;
    color: rgb(56, 56, 56);
    text-align: left;
  }
  #about .message_last1 {
    margin: 0;
    text-indent: 15em;
  }
  #about .message_last2 {
    margin: 0;
    text-indent: 18em;
  }
  #business .main_sentence{
    width: 95%;
    margin: 10px 10px 30px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #business .main_img{
    width: 0%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

/***** tableデザイン *****/
table{
  width: 100%;
  border-spacing: 0;
}
table th{
  border-bottom: solid 2px #fb5144;
  padding: 10px 10px;
}
table td{
  border-bottom: solid 2px #ddd;
  text-align: center;
  padding: 10px 0;
  color: rgb(50, 50, 50);
}

.wrap {
  width: 100%;     
  margin: 0 auto; /* 上下0　左右auto */
}

#about{  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}

#business{
display: flex;  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}

#product {
display: flex;  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
#product div.pict {
width: 95%;
padding: 10px;
margin: 5px;
/*outline: 1px solid black;*/
box-shadow: 0 0 3px #aaa;
background-color: white;
}
#product h3 {
margin: 5px 0px;
padding: 0px 10px 0px;
color: rgba(20, 20, 20, 0.836);
text-align: center;
}
#product .h3_mini {
font-size: 10px;
font-weight: 300;
color: rgba(20, 20, 20, 0.836);
}
#product div p {
margin: 0;
padding: 10px 10px 0px;
}
.pict img {
  width: 100%;
  transition-duration: 0.3s;
}
.pict img:hover {
  transform: scale(1.05,1.05);
  opacity: 0.6;
}
#product ul, ol {
padding: 0;
position: relative;
}
#product ul li, ol li {
color: black;
border-left: solid 8px orange;/*左側の線*/
background: whitesmoke;/*背景色*/
margin-bottom: 5px;/*下のバーとの余白*/
line-height: 0.8;
border-radius: 0 15px 15px 0;/*右側の角だけ丸く*/
padding: 0.5em;
list-style-type: none!important;
text-align: left;
color: #6b6060;
font-size: 14px;
}

iframe {
  width: 95%;
  height: 480px;
}

#contact h2, p, h5{
  text-align: center;
}

.form-group {
  text-align: center;
}
.form-control {
  margin: 0 auto;
}
.btn-primary {
  display: flex;
  margin: 0 auto;
  text-align: center;
  font-size: 1.4em;
}

/***** フッター *****/
.foot-wrap{
  background-color: #333;
  color: #fff;
  text-align: center;
} 
.foot-wrap .menu-left, .menu-center, .menu-right{
  display: inline-block;
  width: 25%;
  margin: auto;
  text-align: center;
} 
.menu-left, .menu-center, .menu-right{
  font-size: 1.0em;
  text-align: center;
}
.foot-wrap ul{
  list-style: none;
  padding: 0;
  line-height: 30px;
  color: rgb(185, 185, 185);
}
.foot-wrap li{
  text-indent: 15px;
  text-align: center;
}
.foot-wrap h3{
  border-bottom: 3px solid #2ac5b3;
  padding: 10px;
  font-size: 1.2em;
} 
.foot-wrap a{
  text-decoration: none;
  color: rgb(185, 185, 185);
}
.foot-wrap a:hover{
  color: deeppink;
}
.foot-wrap .cmark{
  display: block;
  padding: 10px;
  border-top: 1px solid gray;
  width: 80%;
  margin: 0 auto;
  color: gray;
} 
  .foot-wrap .menu-left, .menu-center, .menu-right{
    display: flex;
    flex-direction: column;
    width: 70%;
    text-align: center;
  }
  .foot-wrap .cpr{
    display: inline;
  }
ul.footer-menu li {
  display: inline;
}
/***** ここまでフッター *****/

} /* ------------- スマホ表示（横）終了 --------------------- */


/* -------- スマホ（縦）表示用 ---------------- */
@media screen and (max-width: 480px) {

  .header{
   margin-top: 0px;
   position: relative;
   top: 0;
   left: 0;
   width: 100%;
   height: 90px;
   background: white;
   display: flex;
   flex-direction: column;
   align-items: center;
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); 
 }
 .header__inner{
   width: 95%;
   height: 100%;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }
 .header__logo{
   flex: none;
   width: 80%;
   height: auto;
 }
 
 .header__navgroup > * + *{
  margin-left: 30px;  
}

 .header__navgroup{
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background: rgb(230, 230, 230);
  color: #000;
  font-weight: 550;
  text-align: center;
  transform: translateY(-100%);
  transition: all 0.6s;
  width: 100%;
  padding-bottom: 1em;
 }
 .header__navitem{
  background: rgb(230, 230, 230);
  margin: 0 auto;
  padding: 0;
  width: 100%;
  font-size: 1.1em;
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px dotted #333;
 }
 .header__navitem:last-child{
  padding-bottom: 0;
  border-bottom: none;
 }
 .header__navitem {
  display: block;
  color: #000;
  padding: 1em 0;
 }

 .header__toggle {
  display: block;
  position: fixed;    /* bodyに対しての絶対位置指定 */
  right: 13px;
  top: 12px;
  width: 42px;
  height: 51px;
  cursor: pointer;
  z-index: 3;
  background: #666;
  text-align: center;
 }
 .header__toggle span {
  display: block;
  position: absolute;    /* .navToggleに対して */
  width: 30px;
  border-bottom: solid 3px #eee;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
  left: 6px;
}

.header__toggle span:nth-child(1) {
  top: 9px;
}

.header__toggle span:nth-child(2) {
  top: 18px;
}

.header__toggle span:nth-child(3) {
  top: 27px;
}

.header__toggle span:nth-child(4) {
  border: none;
  color: #eee;
  font-size: 9px;
  font-weight: bold;
  top: 34px;
}
 /* 最初のspanをマイナス45度に */
 .header__toggle.active span:nth-child(1) {
  top: 18px;
  left: 6px;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.header__toggle.active span:nth-child(2),
.header__toggle.active span:nth-child(3) {
  top: 18px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  transform: rotate(45deg);
}

 .header__navgroup.active{
  transform: translateY(0%);
 }
 
  #main_index {
    width: 100%;
    max-width: 480px;
    height: 480px;
    margin: 0 auto;
    background-color: white;
    text-align: center;
    border-radius: 15px;
  }
  
  #main {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    background-color: white;
    /*background-image: url("img/drawing-pad.jpg");*/
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    border-radius: 15px;
    font-size: 14px;
    /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
    /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
    /* 画像をタイル状に繰り返し表示しない */
    background-repeat: no-repeat;
  }
  #main p {
    text-align: left;
    color: #414040;
  }

  #about .main_sentence {
    width: 95%;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  #about .main_img {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  #about .message {
    width: 95%;
    margin: 0 auto;
  }
  #about .message p {
    font-size: 0.8em;
    color: rgb(56, 56, 56);
    text-align: left;
  }
  #about .message_last1 {
    margin: 0;
    text-indent: 10em;
  }
  #about .message_last2 {
    margin: 0;
    text-indent: 15em;
  }
  #business .main_sentence{
    width: 95%;
    margin: 10px 10px 30px 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #business .main_img{
    width: 0%;
    margin: 0;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

/***** tableデザイン *****/
table{
  width: 100%;
  border-spacing: 0;
}
table th{
  border-bottom: solid 2px #fb5144;
  padding: 10px 10px;
}
table td{
  border-bottom: solid 2px #ddd;
  text-align: center;
  padding: 10px 0;
  color: rgb(50, 50, 50);
}

.wrap {
  width: 100%;     
  margin: 0 auto; /* 上下0　左右auto */
}

#about{  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}

#business{
display: flex;  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}

#product {
display: flex;  
flex-wrap: wrap;
width: 100%;
margin: 0 auto;
overflow: hidden;
}
#product div.pict {
width: 95%;
padding: 10px;
margin: 5px;
/*outline: 1px solid black;*/
box-shadow: 0 0 3px #aaa;
background-color: white;
}
#product h3 {
margin: 5px 0px;
padding: 0px 10px 0px;
color: rgba(20, 20, 20, 0.836);
text-align: center;
}
#product .h3_mini {
font-size: 10px;
font-weight: 300;
color: rgba(20, 20, 20, 0.836);
}
#product div p {
margin: 0;
padding: 10px 10px 0px;
}
.pict img {
  width: 100%;
  transition-duration: 0.3s;
}
.pict img:hover {
  transform: scale(1.05,1.05);
  opacity: 0.6;
}
#product ul, ol {
padding: 0;
position: relative;
}
#product ul li, ol li {
color: black;
border-left: solid 8px orange;/*左側の線*/
background: whitesmoke;/*背景色*/
margin-bottom: 5px;/*下のバーとの余白*/
line-height: 0.8;
border-radius: 0 15px 15px 0;/*右側の角だけ丸く*/
padding: 0.5em;
list-style-type: none!important;
text-align: left;
color: #6b6060;
font-size: 14px;
}

iframe {
  width: 95%;
  height: 480px;
}

#contact h2, p, h5{
  text-align: center;
}

.form-group {
  text-align: center;
}
.btn-primary {
  display: flex;
  margin: 0 auto;
  text-align: center;
  font-size: 1.4em;
}

/***** フッター *****/
.foot-wrap{
  background-color: #333;
  color: #fff;
  text-align: center;
} 
.foot-wrap .menu-left, .menu-center, .menu-right{
  display: inline-block;
  width: 25%;
  margin: auto;
  text-align: center;
} 
.menu-left, .menu-center, .menu-right{
  font-size: 1.0em;
  text-align: center;
}
.foot-wrap ul{
  list-style: none;
  padding: 0;
  line-height: 30px;
  color: rgb(185, 185, 185);
}
.foot-wrap li{
  text-indent: 15px;
  text-align: center;
}
.foot-wrap h3{
  border-bottom: 3px solid #2ac5b3;
  padding: 10px;
  font-size: 1.2em;
} 
.foot-wrap a{
  text-decoration: none;
  color: rgb(185, 185, 185);
}
.foot-wrap a:hover{
  color: deeppink;
}
.foot-wrap .cmark{
  display: block;
  padding: 10px;
  border-top: 1px solid gray;
  width: 80%;
  margin: 0 auto;
  color: gray;
} 
  .foot-wrap .menu-left, .menu-center, .menu-right{
    display: flex;
    flex-direction: column;
    width: 70%;
    text-align: center;
  }
  .foot-wrap .cpr{
    display: inline;
  }
ul.footer-menu li {
  display: inline;
}
/***** ここまでフッター *****/

} /* ------------- スマホ表示（縦）終了 --------------------- */
 


/* 画像を徐々に切り替える */
.album {
	margin: auto;
	background-color: white;
	position: relative;
}

.album img {
	width: 100%;
	animation-name: album;
	-webkit-animation-name: album;
	animation-duration: 10s;
	-webkit-animation-duration: 10s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
	opacity: 0;
}

.album .img1 {
	display: block;
  margin: 0 auto;
}

.album .img2 {
	animation-delay:5s;
	-webkit-animation-delay:5s;
  position: absolute;
	top: 0;
  left: 0;
  margin-top: 80px;
}

@keyframes album {
	0% {
		opacity: 0;
	}
	
	12.5% {
		opacity: 1;
	}

	37.5% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

@-webkit-keyframes album {
	0% {
		opacity: 0;
	}
	
	12.5% {
		opacity: 1;
	}

	37.5% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

/* --- 全体のBOX定義 ---------------------------------------- */

.box {
  position   : relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  margin     : auto;
  overflow   : hidden;
  /* 画像を常に天地左右の中央に配置 */
  background-position: center center;
  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: cover;
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
  background-attachment: fixed;
  /* 画像をタイル状に繰り返し表示しない */
  background-repeat: no-repeat;
}

/* --- 背景の指定 ------------------------------------------- */
.box .bgImg {
  position   : absolute;
  top        : 0;
  left       : 0;
  bottom     : 0;
  right      : 0;
  opacity    : 0;
  animation  : bgAnime 20s infinite;   /* 3画像 × 各5s = 15s */
}

/* --- 段差で背景画像のアニメーションを実行 ----------------- */
.box .src1 {
  background-image : url(img/network-haikei.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: center center;
}
.box .src2 {
  background-image : url(img/electrician.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: center center;
  animation-delay  : 5s;
}
.box .src3 {
  background-image : url(img/monitor.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: center center;
  animation-delay  : 10s;
}

.box .src4 {
  background-image : url(img/architecture.jpg);   /* 背景の画像を指定 */
  background-size: cover;
  background-position: center center;
  animation-delay  : 15s;
}

@keyframes bgAnime {
   0% { opacity: 0; transform: scale(1.3, 1.3); }
   1% { opacity: 1; transform: scale(1.3, 1.3); }
   5% { opacity: 1; transform: scale(1.3, 1.3); }
  21% { opacity: 1; transform: scale(1.0, 1.0); }
  25% { opacity: 1; transform: scale(1.0, 1.0); }
  26% { opacity: 0; }
 100% { opacity: 0; }
}

.box2{
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #5d627b;
  background: white;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  font-size: 2em;
  text-align: center;
}

.box2 p {
  margin: 0; 
  padding: 0;
}

.box3{
  margin:2em 0;
  position: relative;
  padding: 0.5em 1.5em;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  font-size: 2em;
}
.box3:before, .box17:after{
  content: '';
  position: absolute;
  top: -10px;
  width: 2px;
  height: -webkit-calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: black;
}
.box3:before {left: 10px;}
.box3:after {right: 10px;}
.box3 p {
  margin: 0; 
  padding: 0;
}

.box4 {
  width: 60%;
  position: relative;
  padding: 10px 20px;
  text-align: center;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  font-size: 2em;
  }
  
  .box4:before,.box4:after{
  content: '';
  position: absolute;
  top: -8px;
  width: 2px;
  height: calc(100% + 1em);
  background-color: #000;
  }
  
  .box4:before {
  left: 10px;
  }
  
  .box4:after {
  right: 10px;
  }

  .box5 {
    padding: 2px 1em;
    margin: 8px 0px;
    float: left;
    color: #232323;
    font-weight: 500;
    background: #e8fff0e1;
    border-left: solid 10px #7ef765;
  }
  .box5 p {
    margin: 0; 
    padding: 0;
  }

  /* コンテンツ要素のスライドイン */
  @keyframes RSlideIn {
    0% {
      opacity: 0;
      transform: translateX(64px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes LSlideIn {
    0% {
      opacity: 0;
      transform: translateX(-64px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes TSlideIn {
    0% {
      opacity: 0;
      transform: translateY(-64px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  @keyframes BSlideIn {
    0% {
      opacity: 0;
      transform: translateY(64px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .RSlide {
    animation: RSlideIn 1.6s;
  }
  .LSlide {
    animation: LSlideIn 1.6s;
  }
  .TSlide {
    animation: TSlideIn 1.6s;
  }
  .BSlide {
    animation: BSlideIn 1.6s;
  }




/* input 要素 */
#name, #kana, #company, #email, #subject, #email_check, #tel {
  max-width:400px;
}
#address, #body {
  max-width: 640px;
}
/* エラー表示 */
p.error, span.error {
  color: red;
}
/* フォーム要素（Bootstrap4 のスタイルを上書き） */
.form-control {
  border-radius: 0px;
  background-color: #fdfdfd;
  font-size: 14px;
}
.form-control:focus {
  border-color: #aadbe8;
  outline: 0;
  -webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  background-color:#fff;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
  font-size: 13px; 
}
/* Firefox 18- */
:-moz-placeholder {
  font-size: 13px; }
/* Firefox 19+ */
::-moz-placeholder {
  font-size: 13px; }
/* IE 10+ */
:-ms-input-placeholder {
  font-size: 13px; }
::placeholder{ 
  font-size: 13px;
}
textarea.form-control {
  height: 200px;
}


body {
  color: #777;
}
h2 {
  font-size: 20px;
  margin: 0 0 1.5rem;
}
.container {
  width: 100%;
  max-width: 760px;
  margin: 50px auto;
}
#name, #kana, #company, #email, #subject, #email_check, #tel {
  max-width:400px;
}
#address, #body{
  max-width: 640px;
}
p.error, span.error {
  color: red;
}
.form-control {
  border-radius: 0px;
  background-color: #fdfdfd;
  font-size: 14px;
}
.form-control:focus {
	border-color: #aadbe8;
	outline: 0;
	-webkit-box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
	box-shadow: inset 0 0px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.4);
  background-color:#fff;
}
/* Google Chrome, Safari, Opera 15+, Android, iOS */
::-webkit-input-placeholder {
  font-size: 13px; 
}
/* Firefox 18- */
:-moz-placeholder {
  font-size: 13px; }
/* Firefox 19+ */
::-moz-placeholder {
  font-size: 13px; }
/* IE 10+ */
:-ms-input-placeholder {
  font-size: 13px; }
::placeholder{ 
  font-size: 13px;
}
textarea.form-control {
  height: 200px;
}
#send {
  margin-top: 30px;
}

/***** ポップアップの設定はここから *****/
.popup_wrap input {
  display: none;
}

.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.popup_content {
  position: relative;
  align-self: center;
  width: 90%;
  max-width: 900px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  font-size: 1.4em;
  transition: 0.5s;
  _zoom: 1;
}

.popup_content img {
  padding-right: 15px;
  float: left;
}

.popup_content p {
  overflow:hidden;
  text-align: left;
  _zoom: 1;
}

.popup_content_red {
  font-size: 1.8em;
  font-weight: 600;
  line-height: 1.4em;
  color: rgb(255, 0, 0);
}

.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}

.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.open_btn {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 30px;
  margin:10px auto;
  padding: 8px 16px;
  color: #fff;
  background:#0c0d62;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  cursor: pointer;
  transition: .3s ease;

}
.open_btn:hover{
    background:#000;
    color:#fff;
    transition: .3s ease;
} 
/***** ポップアップココまで ******/