@charset "utf-8";
/*****************************
 reset
******************************/
html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section { 
  display:block;
}
body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
ol, ul {
  list-style: none;
  list-style-type: none;
}
*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}
a{text-decoration:none;}

/*****************************
 fontsize
******************************/
/* 12px @ 320px increasing to 16px @ 768px */
@media (min-width: 320px) {
  :root {
    font-size: calc(0.75rem + ((1vw - 3.2px) * 0.4464));
    /* Where: * 0.4464 = 100 * font_Size_Difference / viewport_Width_Difference */
  }
}
/* Prevent font scaling beyond this breakpoint */
@media (min-width: 768px) {
  :root {
    font-size: 14px;
  }
}
/*****************************
 style
******************************/
html {
  height:100%;
}
body{
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Verdana, sans-serif;
  min-height: 100%;
	background-image: url(../img/bg_contact.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-color: #2d2719;
	color:#2A2A2A;
	line-height:1.4;
}
/*****************************
 header
******************************/
#contact header{
	width:100%;
	color:#fff;
	text-align:center;
	margin:0 0 16px;
}
#contact #top-head{
	text-align:center;
	max-width:100px;
	padding:5px 0 0;
	margin:0 auto;
}
#contact #top-head img{
	width:100%;
}
/*****************************
 flame
******************************/
#contact .flame{
	max-width: 750px;
	width:100%;
	margin:0 auto 32px;
    padding: 0 40px 32px;
    position: relative;
    background-color: #e3e2d6;
    border: 2px solid #fff;
}
@media screen and (max-width: 768px){
	#contact .flame{
	max-width: 750px;
	width:100%;
	margin:0 auto 32px;
    padding: 0 20px 32px;
    position: relative;
    background-color: #e3e2d6;
    border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	border-right: none;
	border-left: none;
}
}
#contact h1{
	text-align:center;
	padding:32px 0 16px 0;
	margin:0 0 24px 0;
	background-image:url(../img/title_line.gif);
	background-position:bottom;
	background-repeat:repeat-x;
	color:#988f2e;
	font-weight:bold;
}
#contact h2{
	position:relative;
	border-bottom:2px solid #99861d;
	color:#99861d;
	padding:0 0 5px 25px;
	margin:32px 0 16px;
	font-weight:bold;
}
#contact h2:before{
	content:"";
	background-image:url(../img/icon.gif);
	width:18px;
	height:18px;
	position:absolute;
	left:0;
}

#contact h4{
	color:#007d9c;
	font-weight:bold;
	margin:24px 0 0 0;
}


/*  */
.sub_text_box{
	margin:0 0 32px;
}
.sub_text_box a{
	text-decoration:underline;
}
/*****************************
 btn input
******************************/
input,
select{
	padding:1em 1.9em;
	font-size:medium;
	font-weight: bold;
	-moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}
.form_btn{
	text-align:center;
	margin:32px 0 0 0;
}
.footer_btn{
	text-align:center;
	margin:0 0 24px;
}
.form_btn_set{
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
.form_btn_set input{
	width:48%;
	display:block;
	margin:0 0 16px 5px;
}
@media screen and (max-width: 640px){
	.form_btn_set input{
	width:100%;
	display:block;
	margin-bottom:16px;
}
}
.form_btn_set:after{
	width:48%;
}
.form_btn input,
.footer_btn input,
.form_btn_set input{
	min-width:270px;
	cursor:pointer;
	text-decoration: none;
}
.form_input input{
	box-shadow: 1px 1px 3px 1px rgba(0,0,0,0.2) inset;
	border:1px solid #a9a9a9;
}
.contact_form .form_input p{
	margin:16px 0 0 0 ;	
}
.footer_btn input{
	moz-box-shadow: inset 0px 1px 0px 0px #97c4fe;
    -webkit-box-shadow: inset 0px 1px 0px 0px #97c4fe;
    box-shadow: inset 0px 1px 0px 0px #97c4fe;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #3d94f6), color-stop(1, #1e62d0));
    background: -moz-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
    background: -webkit-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
    background: -o-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
    background: -ms-linear-gradient(top, #3d94f6 5%, #1e62d0 100%);
    background: linear-gradient(to bottom, #3d94f6 5%, #1e62d0 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d94f6', endColorstr='#1e62d0',GradientType=0);
    background-color: #3d94f6;
    border: 2px solid #337fed;
	color:#fff;
}
.form_btn input{
	-moz-box-shadow: inset 0px 1px 0px 0px #ffcf3e;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffcf3e;
    box-shadow: inset 0px 1px 0px 0px #ffcf3e;
    background: #ffb76b; /* Old browsers */
background: -moz-linear-gradient(top, #ffb76b 0%, #ffa73d 0%, #ff7f04 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffb76b 0%,#ffa73d 0%,#ff7f04 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffb76b 0%,#ffa73d 0%,#ff7f04 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffb76b', endColorstr='#ff7f04',GradientType=0 ); /* IE6-9 */
    background-color: #ffb76b;
    border: 2px solid #ffb76b;
    color: #000;
	text-shadow: -1px -1px 0px #ffffff;
}
.form_btn_set input{
	-moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
    -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
    box-shadow: inset 1px 2px 0px 0px #ffffff;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
    background: -moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background: -webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background: -o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background: -ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
    background: linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
    background-color: #ededed;
    border: 2px solid #BCBCBC;
    color: #000;
	text-shadow: -1px -1px 0px #ffffff;
}
@media screen and (max-width: 750px){
	.form_input input{
	width:100%;
}
	.form_btnset{
	display: block;
	justify-content:space-between;
	flex-wrap:wrap;
}
	
	
.form_btnset input{
	width:100%;
	margin:0 0 16px;
}
}
.form_input h3{
	overflow: hidden;
}
.form_input h3 span{
	position: relative;
  display: inline-block;
  margin: 3em 2.5em 0 0;
  padding: 0 1em 0 0;
  text-align: left;
  font-weight:bold;
}
.form_input h3 span::after {
  position: absolute;
  top: 50%;
  content: '';
  width: 400%;
  height: 1px;
  background-color:#0e3962;  
}
.form_input h3 span::after {
  left: 100%;
}

/* 重要箇所 */
.important{
	background-color:#fff;
	border:3px double #D9006C;
	padding:16px 16px 16px 32px;
	margin:16px 0;	
}
.important li{
	position:relative;
}
.important li:before{
	content:"●";
	color:#D9006c;
	position:absolute;
	left:-16px;
}
.important_subtext{
	padding:0 16px 0 32px;
}
.important_subtext li{
	position:relative;
}
.important_subtext li:before{
	content:"※";
	position:absolute;
	left:-16px;
}

.mail_box{
	margin:16px 0;
	width:100%;
}
.mail_box th,
.mail_box td{
	border-bottom:1px solid #000;
	border-top:1px solid #000;
	padding:8px;
}
.mail_box th{
	background-color:#000000;
	color:#fff;
	
}
/*************************
          footer          
*************************/
footer{
	width:100%;
	background-color:#000;
	border-top:1px solid #000;
}
.footer_inner{
	border-top:1px solid #333;
	color:#999999;
}
.footer_inner .footer_link{
	margin:0 0 16px 0;
	text-align:center;
}
.footer_inner .footer_link li{
	display:inline-block;
	margin:10px 20px 0 ;	
}
.footer_inner .footer_link a{
	color:#999999;
}
.footer_inner .copy{
	padding:10px 0;
	text-align:center;
}
.copy img{
	width:60px;
}
@media screen and (max-width: 768px){
	.footer_inner .footer_link{
	margin:0;
	display:flex;
	flex-wrap:wrap;
	text-align:center;
	}
	.footer_inner .footer_link li{
	display:block;
	margin:0 ;
	line-height:42px;
	border-bottom:1px solid #333;
	border-top: none;
	border-left: none;
	width:100%;
	}
	.footer_inner .footer_link a{
	display:block;
	width:100%;
	height:100%;
	color:#999999;
}
}
