/* -------------------------------- 
Form
-------------------------------- */
.top-form {
  width:100%;
  margin:0px auto 0px auto;
  font-size:14px;
  box-sizing: border-box;
    padding: 20px;
    border-radius: 5px;
	-webkit-border-radius: 5px;
    line-height: 1em;
}
@media screen and (max-width: 740px){
	.top-form {
		padding:0px;
	}
}
.key_form{
	padding:5px 10px 0px 10px;
}
@media screen and (max-width: 680px){
	.key_form{
		padding:5px 0px 0px 0px;
	}
}
.top-form:after{
  clear: both;
  content: "";
  display: table;
}
.top-form a{
  color: #2c97de;
  text-decoration: none;
}
.top-form fieldset {
  margin:0px 0px 10px 0px;
}
.top-form fieldset:after{
  display:block;
  clear:both;
}
.top-form fieldset table{
  margin:0px 0px 0px 0px;
  padding:0px 0px 0px 0px;
  font-size:14px;
  width:100%;
}
.top-form fieldset table th{
  margin:0px 0px 0px 0px;
   padding:0px 0px 0px 0px;
  text-align:center;
  background-color:#22b073;
  border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	width:93px;
	color:#ffffff;
	vertical-align:middle;
}
.top-form fieldset table td{
  margin:0px 0px 0px 0px;
  padding:0px 10px 0px 10px;
  width:auto;
  color:#333333;
}
.top-form fieldset table td.w22{
  width:22%;
}
.top-form fieldset table td.w40{
  width:40%;
}
.top-form fieldset table td.w45{
  width:45%;
}
.top-form fieldset table td.w100{
  width:100%;
}
.ggbox{
margin:10px;
  background-color:#22b073;
  font-size:12px;
   border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	 padding:10px;
	 line-height:250%;
}
.ggbox span{
  width:100%;
  background-color:#ffffff;
 color:#333333;
  padding:5px;
   border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	margin:3px 3px 3px 3px;
}
.ggbox a span{
 color:#333333;
}
.ggbox a:hover span{
 color:#22b073;
}
.ggbox a.gy_over span,.ggbox a:hover.gy_over span{
 color:#22b073;
 font-weight:bold;
}
@media screen and (max-width: 680px){
	.top-form fieldset table th{
		display:block;
	  	width:97%;
		  padding:5px;
		  margin-bottom:10px;
	}
	.top-form fieldset table td{
		display:block;
		width:100%;
	}
	.top-form fieldset table td.w22{
	  width:95%;
	}
	.top-form fieldset table td.w40{
	  width:95%;
	}
	.top-form fieldset table td.w45{
	  width:95%;
	}
}
.top-form div{
  /* form element wrapper */
  position: relative;
  margin:0px 0px;
}
.top-form input, .top-form select, .top-form label,{
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  color: #2b3e51;
}
.top-form input[type="text"],
.top-form select{
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.top-form input[type="text"],
.top-form select{
  /* general style for input elements */
  padding: 12px 12px 12px 38px;
  border: 1px solid #cfd9db;
  background-color: #ffffff;
  border-radius: .25em;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.top-form input[type="text"] {
  display: block;
  width: 85%;
}
.key_box{
	position:relative;
	margin:0px 0px 0px 0px;
}
.key_btn{
	position:absolute;
	right:10px;
	top:5px;
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
}
.top-form input[type="text"]:focus,
.top-form select:focus{
  outline: none;
  /*border-color: #2c97de;*/
  border-color: #333333;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.2);
}
.top-form .top-select {
  /* select element wapper */
  position: relative;
}
.top-form .top-select::after {
  /* プルダウン用矢印 */
  content: '';
  position: absolute;
  z-index: 1;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  display: block;
  width: 16px;
  height: 16px;
  background: url("../images/form/cd-icon-arrow2.svg") no-repeat center center;
  pointer-events: none;
}
.top-form select{
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  background-color:#ffffff;
}
.top-form select::-ms-expand{
  display: none;
}
.top-form .top-form-list{
  margin-top: 16px;
  width:100%;
  text-align:left;
  margin:0px 0px 0px 0px;
  padding:8px 0px 0px 0px;
}
.top-form .top-form-list::after{
  clear: both;
  content: "";
  display: table;
}
.top-form .top-form-list li{
  /* wrapper for radio and checkbox input types */
  display: inline-block;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin: 0 15px 16px 0;
  float: left;
}
.top-form .top-form-list li.yy{
  margin:0px 15px 0px 0px;
  padding:0px 0px 0px 0px;
}
.top-form .top-form-list li.font12 label{
  font-size:12px;
}
.top-form input[type=radio],
.top-form input[type=checkbox] {
  /* hide original check and radio buttons */
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  opacity: 0;
  z-index: 2;
}
.top-form input[type="radio"] + label,
.top-form input[type="checkbox"] + label {
  padding-left: 24px;
  cursor:pointer;
}
.top-form input[type="radio"] + label::before,
.top-form input[type="radio"] + label::after,
.top-form input[type="checkbox"] + label::before,
.top-form input[type="checkbox"] + label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -8px;
  width: 16px;
  height: 16px;
}
.top-form input[type="radio"] + label::before,
.top-form input[type="checkbox"] + label::before {
  border: 1px solid #cfd9db;
  background: #ffffff;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
}
.top-form input[type="radio"] + label::before,
.top-form input[type="radio"] + label::after {
  border-radius: 50%;
}
.top-form input[type="checkbox"] + label::before,
.top-form input[type="checkbox"] + label::after {
  border-radius: .25em;
}
.top-form input[type="radio"] + label::after,
.top-form input[type="checkbox"] + label::after {
   /*background-color: #2c97de;*/
   background-color: #00903d;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.4);
  display: none;
}
.top-form input[type="radio"] + label::after {
  /* custom image for radio button */
  background-image: url("../images/form/cd-icon-radio.svg");
}
.top-form input[type="checkbox"] + label::after {
  /* custom image for checkbox */
  background-image: url("../images/form/cd-icon-check.svg");
}
.top-form input[type="radio"]:focus + label::before,
.top-form input[type="checkbox"]:focus + label::before {
  /* add focus effect for radio and check buttons */
  box-shadow: 0 0 5px rgba(44, 151, 222, 0.6);
}
.top-form input[type="radio"]:checked + label::after,
.top-form input[type="checkbox"]:checked + label::after {
  display: block;
}
.top-form input[type="radio"]:checked + label::before,
.top-form input[type="radio"]:checked + label::after,
.top-form input[type="checkbox"]:checked + label::before,
.top-form input[type="checkbox"]:checked + label::after {
  -webkit-animation: cd-bounce 0.3s;
  -moz-animation: cd-bounce 0.3s;
  animation: cd-bounce 0.3s;
}
.top-form input[type="submit"],.top-form input[type="reset"],.top-form input[type="button"] {
  /* button style */
  display:block;
	border: none;
	background: #22b073;
	border-radius:25px;
	-webkit-border-radius:25px;
	-moz-border-radius:25px;
	width:250px;
	box-sizing: border-box;
	padding:10px 25px 10px 40px;
	margin:10px auto 10px auto;
	color: #ffffff;
	font-weight: bold;
	cursor: pointer;
	background-image:url('../images/btn/bicon_search.png');
	background-repeat:no-repeat;
	background-position:15px 13px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-appearance: none;
	-moz-appearance: none;
	-ms-appearance: none;
	-o-appearance: none;
	appearance: none;
	font-size:16px;
	text-decoration:none;
	text-align:center;
}
.top-form input[type="reset"],.top-form input[type="button"] {
  margin:10px 10px 10px auto;
}
#ggboxsbmt{
	width:540px;
	margin:10px auto 10px auto;
}
#ggboxsbmt input[type="submit"]{
  	float:left;
	  margin:10px 10px 10px 10px;
}
#ggboxsbmt input.btn_com{
	  background-image:url('../images/btn/bicon_check.png');
}
#ggboxsbmt input[type="submit"] .btn_se{
  	float:left;
	  margin:10px 10px 10px 10px;
}
.top-form input[type="submit"]:hover,.top-form input[type="reset"]:hover,.top-form input[type="button"]:hover {
  	background: #b1b1b1;
	background-image:url('../images/btn/bicon_search.png');
	background-repeat:no-repeat;
	background-position:15px 13px;
	text-decoration:none;
}
.top-form input[type="submit"]:focus,.top-form input[type="reset"]:focus,.top-form input[type="button"]:focus {
  outline: none;
  background: #b1b1b1;
	background-image:url('../images/btn/bicon_search.png');
	background-repeat:no-repeat;
	background-position:15px 13px;
	text-decoration:none;
}
.top-form input[type="submit"]:active,.top-form input[type="reset"]:active,.top-form input[type="button"]:active {
  -webkit-transform: scale(0.9);
  -moz-transform: scale(0.9);
  -ms-transform: scale(0.9);
  -o-transform: scale(0.9);
  transform: scale(0.9);
}

@-webkit-keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
  }
}
@-moz-keyframes cd-bounce {
  0%, 100% {
    -moz-transform: scale(1);
  }
  50% {
    -moz-transform: scale(0.8);
  }
}
@keyframes cd-bounce {
  0%, 100% {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
  }
}
/* -------------------------------- 

Custom icons

-------------------------------- */
.top-form .icon input, .top-form .icon select{
  padding:5px 0px 5px 40px;
  background-color:#ffffff;
}
.top-form .icon input[type="text"]{
  padding:5px 0px 8px 40px;
  width:90%;
  font-size:16px;
}
.top-form .area {
  background: url("../images/form/cd-icon-area.svg") no-repeat 8px center;
}
.top-form [required].area {
  background: url("../images/form/cd-icon-area.svg") no-repeat 8px center, url("../images/form/cd-required.svg") no-repeat top right;
}
.top-form .search {
  background: url("../images/form/cd-icon-search.svg") no-repeat 8px center;
  font-size:14px;
}
.top-form [required].search {
  background: url("../images/form/cd-icon-search.svg") no-repeat 8px center, url("../images/form/cd-required.svg") no-repeat top right;
}
.top-form select{
  background: url("../images/form/cd-icon-budget2.svg") no-repeat 8px center;
  font-size:14px;
}
.top-form .budget {
  background: url("../images/form/cd-icon-budget2.svg") no-repeat 10px center;
}
.budget option{
	padding:0px;
	margin:0px;
}
select option{
	padding:0px;
	margin:0px;
}
@media screen and (max-width:768px){
	.top-form{
		width:auto;
		margin:0px;
	}
	.key_form{
		width:88%;
	}
	.key_btn{
		position:absolute;
		right:-40px;
		top:3px;
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
	}
	.top-form .top-select {
	  /* select element wapper */
	  position: relative;
	  margin:0px 0px 5px 0px;
	}
	.top-form .top-select::after {
		  /* プルダウン用矢印 */
		  right:30px;
	}
}
@media screen and (max-width:680px){
	.key_btn{
		position:absolute;
		right:-50px;
		top:5px;
		margin:0px 0px 0px 0px;
		padding:0px 0px 0px 0px;
	}
}
@media screen and (max-width:580px){
	#ggboxsbmt{
		width:95%;
		margin:10px auto 10px auto;
	}
	#ggboxsbmt input[type="submit"]{
		  float:left;
		  width:220px;
		  margin:10px 10px 10px 10px;
	}
}
@media screen and (max-width:480px){
	#ggboxsbmt input[type="submit"]{
		  float:none;
		  margin:10px 10px 10px 10px;
	}
}
@media screen and (max-width:420px){
	.top-form input[type="text"] {
	  display: block;
	  width: 80%;
	}
	
}