@charset "utf-8";

* {
  box-sizing: border-box;
  vertical-align: bottom;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	-webkit-text-size-adjust: 100%;
	font-family: Verdana, "Helvetica Neue", "Helvetica", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ ProN W3",  "メイリオ", "Meiryo", "ＭＳ　Ｐゴシック", "Arial", "Verdana", "sans-serif";
	color: #222;
	background-image: url("../img/bg-l.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: top center ;
	z-index: 1;
	background-attachment: fixed ;
}


a img {
  border: none;
}


a {
	color: #d9e3ef ;
	-webkit-transition: all .5s ease;
	transition: all .5s ease;
	text-decoration: none ;
}



/* ------------------------------
	ヘッダー
------------------------------ */
.overlay {
    position: relative;
	width: 100% ;
}

.overlay img {
	width: 100% ;
}

.overlay img.lg {
	display: block ;
}
.overlay img.xs {
	display: none ;
}

.now {
    position: absolute;
	bottom: 30% ;
	left: 100px ;
	color: #FFF ;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.9) ;
}

.now h2 {	
	font-size: 2.5rem ;
	font-weight: bold ;
	float: right ;
	margin-bottom: 5px ;
}
.now h2 span {
	color: #FF0 ;
}

.now h3 {
	clear: both ;
	font-size: 2rem ;
	float: right ;
	font-weight: bold ;
}

.now h3 span {
	color: #FF0 ;
	font-weight: bold ;
	font-size: 3.2rem ;
}

.to-inq {
	position: absolute;
	bottom: 30px ;
	right: 30px ;
	font-size: 1.8rem ;
	font-weight: bold ;
}

.to-inq a {
	display: block ;
	/*background: #D80000 ;*/
	background: #FFF ;
	padding: 10px 20px ;
	border: 2px solid #D80000 ;
	color: #d80000 ;
	border-radius: 10px ;
}

.to-inq a:hover {
	/*background: #1D009F ;*/
	background: #D80000 ;
	color: #FFF ;
}

.to-inq .est {
	margin-right: 20px ;
}

.to-inq .est,
.to-inq .inq {
	float: left ;
}

.green-s {
	background: #38B0A5 ;
	padding: 10px 0 ;
	box-shadow: 0 5px 7px 0 rgba(0, 0, 0, 0.5);
	/*z-index: 5 ;
	position: relative ;*/
	text-align: center ;
}

.container-2  p {
	text-align: center ;
	font-size: 1.3rem ;
	line-height: 1.8 ;
}

.green-s img {
	max-width: 300px ;
}

.green-s p {
	font-size: 3rem ;
	color: #FFF ;
	font-weight: bold ;
}

button.send {
	padding: 15px 30px ;
	font-size: 1.2rem ;
	background:  #ff6666 ;
	color: #FFF ;
	border: none ;
	font-weight: bold ;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.5) ;
}

button.send:hover {
	cursor: pointer;	
background: #F00 ;
}

button.reset {
	padding: 15px 30px ;
	font-size: 1.2rem ;
	background:  #a9a9a9 ;
	color: #FFF ;
	border: none ;
	font-weight: bold ;
	text-shadow: none;
}

button.reset:hover {
	cursor: pointer;	
background: #6f6f6f ;
}

@media only screen and (min-width: 769px) {
	.to-inq {
	right: 30px ;
}
	
	.hidden-lg {
		display:inline-flex;
		justify-content: right;
		right: 30px ;

	}
}

@media only screen and (max-width: 768px) {
	.overlay {
		display: flex;
  align-items: center;
  justify-content: center;
	}
	
	.overlay img.lg {
		display: none ;
	}
	.overlay img.xs {
		display: block;
	}
	
	.now {
	top: 20% ;
	left: 0;
	right: 0;
	margin: auto;
		text-align: center ;
		margin-bottom: 20px ;
	}
	
	.to-inq {
	bottom: 15% ;
		left: auto ;
		right: auto ;
		text-align: center ;
}
	
	.now h2 {
	float: none ;
		font-size: 2rem ;
	}
	
	.now h3 {
	clear: both ;
	float: none ;
		font-size: 2rem ;
	}
	
	.now h3 span {
	font-size: 2.8rem ;	
	}
	
	.to-inq a {
	display: block ;
	max-width: 70% ;
		margin: auto;
		font-size: 1.8rem ;
}

}

.patent {
	background: whitesmoke ;
	margin: 50px ;
	padding: 30px ;
	border: 1px solid rgba(0,64,150,1.00) ;
	font-size: 1.5rem ;
}

.patent span {
	font-size: 1.8rem ;
	color: #F00 ;
	font-weight: bold ;
}

#goto_top {
    position: fixed;
    right: 20px;
    bottom: 50px;
}

#goto_top a {
	padding: 5px 10px ;
    border-radius: 5px;
	background: #F00;
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

#goto_top a:hover {
	background: #00204b;
}

.inq-select {
		display: flex;
    justify-content: center;
    align-items: center;
    width: 100% ;
	padding: 0 0 50px  ;
	
}

.inq-select a {
	display: block ;
	margin: 30px;
    padding: 50px;
	font-size: 2.5rem ;
	font-weight: bold ;
}

.inq-select a {
	background: #FFF ;
	color: #D80000 ;
	border: 3px solid #D80000 ;
	border-radius: 10px ;
}

.inq-select a:hover {
	background: #D80000 ;
	color: #FFF ;
}

@media only screen and (max-width: 768px) {
	.inq-select {
		display: flex;
		flex-flow:column ;
    width: 100% ;
	padding: 0 0 50px  ;
	
}

.inq-select a {
	display: block ;
	text-align: center ;
	width: 80% ;
    padding: 20px;
}

}