@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
} 
body {
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
	font-size:18px;
	word-wrap: break-word;
	overflow-wrap:break-word;
	color:#333333;
}
img{
	vertical-align:bottom;
}
h1,h2,h3,h4,h5{
	font-size:100%;
}
ul{
	list-style-type: none;
}
a{
	text-decoration: none;
}
#wrap{
	width:100%;
	margin:0 auto;
    overflow: hidden;
}
/*header*/
header {}
header h1 {
	font-size: 14px;
	padding: 5px;
}
#header {
	width: 100%;
	max-width: 1280px;
	margin:0 auto;
	position: relative;
}
#header #logo {
	width:30%;
	margin:30px auto;
}
#header #mail_btn {
	width:7%;
	position: absolute;
	top:0px;
	right:3%;
}
#contact {
	background:#ed7713;
	padding: 70px 0;
}
#contact_wrap {
	width:80%;
	margin: 0 auto;
	max-width: 1024px;
}
#contact_wrap p {
	color:#fff;
	text-align: right;
}
#contact_wrap p a {
	color:#fff;
	text-decoration: underline;
}
#contact_wrap p a:hover {
	color:red;
	text-decoration: none;
}
#contact_wrap form {
	text-align: center;
}
#contact_wrap form .cate_box {
	width:50%;
	display: inline-block;
}
#contact_wrap form .cate_box h3 {
	color:#fff;
	display: inline-block;
	width:24%;
	margin-right: 1%;
	font-size: 80%;
	text-align: right;
}
#contact_wrap form .cate_box input {
	width:73%;
	padding:5px 1%;
	font-size: 18px;
	margin-bottom: 30px;
	border:1px solid #761c18;
	box-sizing: border-box;
	display: inline-block;
}
#contact_wrap form .cate_box2 h3 {
	color:#fff;
	font-size: 80%;
}
#contact_wrap form .cate_box2 textarea {
	width:100%;
	padding:5px 2%;
	font-size: 18px;
	margin-bottom: 30px;
	border:1px solid #761c18;
}
#contact_wrap form input[type="submit"],
#contact_wrap form input[type="reset"] {
	width:30%;
	margin:10px 2%;
	background: #999999;
	color:#fff;
	padding: 10px 1%;
	-webkit-appearance:none;
	font-family: "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック", sans-serif;
	border:5px double #fff;
	margin-bottom: 50px;
}
/*footer*/
footer {
	background:#999999;
	color:#fff;
	text-align: center;
	padding:10px 0;
}
footer a {
	color:#fff;
}
/*その他*/
.clearfix:after{
	content:".";
	visibility:hidden;
	display:block;
	height:0;
	clear:both;
}
.hide {
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.pchide {
	display: none;
}
.text {
	display: inline-block
}
.red {
	color:red;
	font-weight: normal;
}
.txt120 {
	font-size: 120%;
}
/*ページトップに戻る*/
#page-top {
	position: fixed;
	bottom: 40px;
	right:30px;
}
#page-top a {
	width:80px;
	display:block;
}
/*ここからタブレット用（～800px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:800px){
body {
	font-size:16px;
}
header h1 {
	font-size: 12px;
}
#header #logo {
	width:35%;
}
#header #mail_btn {
	width:9%;
}
/*contact*/
#contact {
	padding: 50px 0;
}
}
/*ここからミニタブレット用（～650px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:650px){
#header #logo {
	width:38%;
}
#header #mail_btn {
	width:10%;
	top:0px;
}
/*contact*/
#contact_wrap form {
	text-align: center;
}
#contact_wrap form .cate_box {
	width:100%;
	display: block;
}
#contact_wrap form .cate_box2 h3 {
	color:#fff;
	display: inline-block;
	width:24%;
	margin-right: 1%;
	font-size: 80%;
	text-align: right;
}
#contact_wrap form .cate_box2 textarea {
	width:73%;
	padding:5px 1%;
	font-size: 18px;
	margin-bottom: 30px;
	border:1px solid #761c18;
	box-sizing: border-box;
	display: inline-block;
	vertical-align: top;
}
#contact_wrap form input[type="submit"],
#contact_wrap form input[type="reset"] {
	width:40%;
	margin:10px 2%;
}
#company_wrap {
	width:90%;
}
#company #f_logo {
	width:50%;
	margin:0 auto;
}
#company #f_address {
	width:90%;
}
.pchide {
	display: block;
}
.sphide {
	display: none;
}
/*ページトップに戻る*/
#page-top {
	right:10px;
}
#page-top a {
	width:60px;
}
}
/*ここからスマホ用（～415px）環境の設定
---------------------------------------------------------------------------*/
/*表示を切り替えるウィンドウサイズの指定*/
@media (max-width:415px){
#header #logo {
	width:45%;
}
#header #mail_btn {
	width:12%;
	top:0px;
}
#contact_wrap form .cate_box h3,
#contact_wrap form .cate_box2 h3 {
	display: block;
	width:100%;
	margin-right: 0%;
	text-align: center;
}
#contact_wrap form .cate_box input,
#contact_wrap form .cate_box2 textarea {
	width:98%;
	display: block;
}
#contact_wrap form input[type="submit"],
#contact_wrap form input[type="reset"] {
	width:60%;
}	
}