@charset "utf-8";

.wrapper {
grid-template-rows: 19vh 21vh 60vh;
}

/* ヘッダー
------------------------------------------------------------*/

.up-container {
  width: 80%;
  margin: 0px auto 0px;
  display: table;
}
.up-container h2{
  display: table-cell;
	width:20%;
	padding-top:10px;
	vertical-align: top;
}
.up-container .contact-box{
  display: table-cell;
	width:80%;
	padding:15px 20px 0 0;
	vertical-align: middle;
}
.up-container h2 img{
	width:100%;
max-width:161px;
	height:auto;
}





/* form
------------------------------------------------------------*/
.bottom-container {
  width: 1180px;
  margin: 0 auto;
}

/* フォーム
------------------------------------------------------------*/
input[type="text"], textarea {
  vertical-align: middle;
  width: 99%;
	max-width: 400px;
  line-height: 26px;
  height: 26px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}
textarea {
  height: auto;
  line-height: 1.5;
  width: 99%;
	max-width: 550px;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  padding: 3px 10px;
  background-color: #0E0E0E;
  background-image: linear-gradient(to bottom, #999, #333);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 100%;
  color: #fff;
}
input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
  cursor: pointer;
  background-image: none;
  background-color: #333;
}
*:first-child + html input[type="submit"] {
  padding: 3px;
}
.formTable {
  width: 100%;
  margin-bottom: 20px;
}
.formTable th {
  padding: 5px 10px;
  width: 30%;
  vertical-align: top;
text-align: right;
}
.formTable td {
  padding: 5px 10px;
  line-height: 150%;
  vertical-align: top;
	width: 70%;
}
.btn{
	text-align: center;
}
@media (max-width: 1350px) {
.wrapper {
grid-template-rows: 15vh 21vh 64vh;
}

.up-container {
  display: table;
	width: 100%;
  width: 920px;	
  margin: 0 auto;
}
.up-container .contact-box{
  display: table-cell;
	width:80%;
	padding:15px 30px 0 0;
	vertical-align: middle;
}	
.contact-box p{
font-size:95%;
}

/* bottom-container
------------------------------------------------------------*/
.bottom-container {
  display: table;
	width: 100%;
  margin: 0 auto;
	font-size:85%;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  padding: 5px 10px;
  line-height: 1.4;
  font-size: 80%;
  color: #fff;
}
}

@media screen and (max-width: 960px), screen and (max-height: 620px) { 
.wrapper {
grid-template-rows: none;
	min-width:1050px;
}
.title-box {
    width: 35%;
    max-width: 300px; /*!important*/
    height: auto;
    max-height: 100%;
    margin: 0px auto 0px;
    padding: 0;
  }	
.up-container {
  display: table;
	width:35%;
  margin: 0;
}

.up-container h2{
  display: block;
	width:100%;
	padding:0px 0px 10px 40px;	
}
.up-container .contact-box{
  display: block;
	width:100%;
	padding:0px 15px 0 40px;
}	

.contact-box p{
font-size:100%;
}	
.bottom-container {
  display: table;
	width: 30%;
  margin: 0 auto;
	font-size:100%;
}	
/* form
------------------------------------------------------------*/
.formTable {
  width: 100%;
  margin-bottom: 15px;
	display: block;
}
.formTable th {
  padding: 0px 0px 0;
  width:100%;
  vertical-align: top;
text-align: left;
	display: block;
}
.formTable td {
  padding: 0px 0px 5px;
  line-height: 120%;
  vertical-align: top;
  width:100%;
	display: block;
}
input[type="text"], textarea {
  vertical-align: middle;
  width: 100%;
  max-width: 400px;
  line-height: 26px;
  height: 26px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}
textarea {
  height: auto;
  line-height: 1.5;
  width: 100%;
  max-width: 400px;
}
.btn{
text-align: left;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  padding: 4px 10px;
  background-color: #0E0E0E;
  background-image: linear-gradient(to bottom, #999, #333);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 90%;
  color: #fff;
	margin-left: 80px;
}	
}
@media screen and (max-height: 620px) { 
/* form
------------------------------------------------------------*/
.formTable {
  width: 100%;
  margin-bottom: 5px;
	display: block;
}
.formTable th {
  padding: 0px 0px 0;
  width:100%;
  vertical-align: top;
text-align: left;
	display: block;
}
.formTable td {
  padding: 0px 0px 5px;
  line-height: 100%;
  vertical-align: top;
  width:100%;
	display: block;
}
input[type="text"], textarea {
  vertical-align: middle;
  width: 100%;
  max-width: 300px;
  line-height: 20px;
  height: 26px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}
textarea {
  height: 50px;
  line-height: 1.5;
  width: 100%;
  max-width: 300px;
}
}

@media screen and (max-height: 620px) { 
.formTable th {
font-size:90%;
}
}
/*@media (max-width: 650px) {

.wrapper {
  width:1080px;
  display: grid;
grid-template-rows: 14% 25% 61%;
  height: 89vh;
	padding-left: 80px;
	padding-right:30px;
	padding-top:2%;
}
.bottom-container {
  display: table;
	width: 100%;
  margin: 0 auto;
	font-size:85%;
	position: relative;
}	

.formTable {
  width: 100%;
  margin-bottom: 20px;
}
.formTable th {
  padding: 1px 0px;
  width:9em;
  vertical-align: top;
text-align: left;
}
.formTable td {
  padding: 1px 0px;
  line-height: 150%;
  vertical-align: top;
	width: auto;
}
input[type="text"], textarea {
  vertical-align: middle;
  width: 99%;
	max-width: 400px;
  line-height: 26px;
  height: 26px;
  padding: 1px 5px;
  border: 1px solid #d4d4d7;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  font-size: 100%;
  color: #555;
  background: #fcfcfc;
}
textarea {
  height: auto;
  line-height: 1.5;
  width: 99%;
	max-width: 400px;
}
.btn{
	text-align: left;
	margin-left: 15em;
}
input[type="submit"], input[type="reset"], input[type="button"] {
  padding: 8px 16px;
  background-color: #0E0E0E;
  background-image: linear-gradient(to bottom, #999, #333);
  background-repeat: repeat-x;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  border-radius: 4px 4px 4px 4px;
  border-style: solid;
  border-width: 1px;
  color: #FFFFFF;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset, 0 1px 0 rgba(255, 255, 255, 0.075);
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  line-height: 1.5;
  font-size: 120%;
  color: #fff;
	letter-spacing: 0.3em;
}	
}
*/