@charset "utf-8";

/* トップページ
------------------------------------------------------------*/
.header {
	text-align: center;
}

h1.title {
	position: relative;
	display: inline-block;
	margin-bottom: 3em;
}

h1.title:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;/*線の上下位置*/
  display: inline-block;
  width: 60px;/*線の長さ*/
  height: 2px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #164097;
}

#mainnav li a {
	color: #666666;
	font-family: 'Noto Sans JP', Arial, Verdana, 游ゴシック, YuGothic,'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', メイリオ, Meiryo,sans-serif;
}

#mainnav li a:hover {
	transition: color .3s;
	text-decoration: none;
	color: #164097;
}

/* 会社案内
------------------------------------------------------------*/
section header {
	text-align: center;
}

section header h1 {
		position: relative;
	display: inline-block;
	margin-bottom: 2em;
}

section header h1:before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;/*線の上下位置*/
  display: inline-block;
  width: 60px;/*線の長さ*/
  height: 2px;/*線の太さ*/
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);/*位置調整*/
  background-color: #164097;
}

.post h2 {
margin: 0 auto 30px;
font-size: 130%;
text-align: left;
     position: relative;
     padding: 2px 0 0.2em 0.7em;
     border-bottom: 1px solid #666666;
     color: #164097;
}
 
.post h2::after {
     position: absolute;
     top: 0.2em;
     left:0;
     content: '';
     width: 5px;
     height:1.8em;
     background-color: #164097;
}
.post table {
	width: 100%;
}

.post table th {
	padding: 10px 20px;
	color: #333333;
	background-color: #fef5e5;
	font-weight: normal;
}

.post table td {
	padding: 10px 20px;
}

.post h3 {
	font-size: 120%;
	color: #164097;
	border-bottom: none;
	margin-bottom: 0;
}
@media screen and (max-width: 480px){
.post table th {
	padding: 10px 2px 10px 5px;
	font-size: 90%;
	line-height: 1.5;
}
}

/* 取扱商品
------------------------------------------------------------*/
a.fancybox:hover img {
  opacity: 0.7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)";
}

.simple_square_btn2 {
	display: block;
	position: relative;
	width: 160px;
	padding: 0.8em;
	text-align: center;
	text-decoration: none;
	color: #164097;
	background: #fff;
	border:1px solid #164097;
}
.simple_square_btn2:hover {
	 background: #164097;
         color: #fff;
	 cursor: pointer;
	 text-decoration: none;
}
.button {display:inline-block; margin: 0 10px;}
.link {text-align:center;}

.simple_square_btn5 {
	display: block;
	position: relative;
	width: 180px;
	padding: 0.8em 1.0em;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: #000;
}
.simple_square_btn5:hover {
	 opacity:0.8;
	 cursor: pointer;
	 text-decoration: none;
}


/* お問い合わせ
------------------------------------------------------------*/
.red {
	color: red;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="zip"],
select,
textarea,
.field {
  display: block;
  width: 92%;
  height: 45px;
  margin-bottom: 0;
  padding: 0 12px;
  border: 0;
  border-radius: 3px;
  background-color: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 1em;
  vertical-align: middle;
  line-height: 45px;
  border: 1px #bababa solid;
 }

input[type="tel"],
input[type="zip"] {
  width: 50%;
  }
 
 textarea {
  max-width: 100%;
  min-height: 120px;
  line-height: 1.5em;
  padding: 0.5em;
  overflow: auto;
}

input[type="submit"], input[type="reset"], input[type="button"] {
	padding: 10px 20px;
}
