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





.flex_start{
display: flex;
flex-wrap: wrap;
}

.inq_title {
	display: block;
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 700;
    margin: 0px auto 4%;
    background-color:  #3e1801;
    color: #FFF;
    letter-spacing: 0.5em;
    font-size: 42px;
	padding: 4% 2%;
	border-bottom: 5px solid #9e8226;
	border-top: 5px solid #9e8226;
}


@media screen and (max-width: 979px) {
.inq_title {
   margin: 0px auto 4%;
    letter-spacing: 0.2em;
    font-size: 24px;
	border-bottom: 3px solid #9e8226;
	border-top: 3px solid #9e8226;
}
}

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

/***************************************
-------------- CONTACT --------------
***************************************/
.thanks_mess{
	display: block;
	width: 94% !important;
	margin: 0 auto 50px;
}

.thanks_mess h4{
	display: block;
	width: 100% !important;
	margin: 0 auto 20px;
	text-align: center !important;
	border-bottom: 1px solid #7d0000;
	padding-bottom: 10px !important;
	font-size: 24px;
}





form {
	display: block;
  width: 100%;
  margin: auto;
  padding: 0;
  box-sizing: border-box;
}
.mailform {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

form dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding-bottom: 5px;
}
form dd {
  width: 100%;
	text-align: left;
}
form dd.check,
form dd.upload,
form dd.select {
  width: 100%;
}
form dd.check label,
form dd.upload input {
}

form dd.select select {
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #333;
    box-sizing: border-box;
    vertical-align: bottom;
}
#mailformpro select {
    padding: 8px;
    border: 1px solid #333;
    font-size: 1rem;
    box-sizing: border-box;
}
button[type="submit"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: min(75%, 400px);
    padding: 15px;
    border: none;
    background: #9e8226;
    color: #FFF;
    text-align: center;
    margin: 4% auto 0rem;
    border-radius: 12px;
	font-size: 24px;
}
button[type="submit"]:hover {
	cursor: pointer; 
	background: #7d0000;
}

#mailformpro input[type="checkbox"] {
  all: revert;
}

p.subtitle {
  display: block;
  text-align: center;
  margin: 0 auto 4%;
}

span.must {
  display: block;
  width: 48px;
  text-align: center;
  background: #7d0000;
  color: #FFF;
  border-radius: 4px;
  margin-right: 10px;
	font-size: 16px;
	padding: 5px 0;
}
/* =======================
  SP
======================== */
@media screen and (max-width: 979px) {
  .mailform {
    flex-wrap: wrap;
  }
  form dt {
    margin-bottom: 5px;
  }
  form dt,form dd {
    width: 100%;
  }
.thanks_mess h4{
	font-size: 20px;
}	
span.must {
	font-size: 14px;
	padding: 3px 0;
}
	
button[type="submit"] {
    border-radius: 8px;
	font-size: 20px;
}
}