/* CSS Document */
#Formbox {
	width:990px;
	margin:0 auto;
	background: rgba(255,255,255, 0.8);
	box-sizing: border-box;
	padding: 1em ;
	border-radius: 1em;
	color: #000;
	text-shadow: none;
}

main article section h2 {
	text-shadow:1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000;
}

main article section h3 {
    text-shadow: 1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000;
}


#Formbox dl {
	text-align: justify;
}

#Formbox dl dt {
	border-bottom: 1px dotted #666;
}

#Formbox dl dd {
	margin-left: 1rem;
}


input, button, textarea, select {
	margin: 0;
	padding: 0;
	background:#FFF;
	border: none;
	border-radius: 0;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

em {
	font-style: normal;
	color: rgba(191,0,3,1.00);
	font-weight: 700;
}

fieldset {
	border:none;
	width:98%;
	margin: 0 auto;
	text-align: justify;
}

input[type="radio"] { 
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
	appearance:checkbox;  }

input[type="checkbox"] { 
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
	appearance:checkbox;  }

input[type="checkbox"].date { display: none; }

input[type="checkbox"].date + label {
  display: inline-block;
  position: relative;
  padding:0.1em 1em 0 2em;
  margin-bottom: 15px;
  color: #000;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
	font-size: 2.4rem;
}

input[type="checkbox"].date + label:last-child { margin-bottom: 0; }

input[type="checkbox"].date + label:before {
  content: '';
  display: block;
  width: 1.6em;
  height: 1.6em;
  border: 2px solid rgba(244,94,96,1.00);
  position: absolute;
  left: 0.2em;
  top: 0.1em;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"].date:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

input[type="radio"].radio-input{
  display: none;
}
input[type="radio"].radio-input + label{
  padding-left: 1.2em;
  position:relative;
  margin-right: 1.2em;
}
input[type="radio"].radio-input + label::before{
  content: "";
  display: block;
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #999;
  border-radius: 50%;
}
input[type="radio"].radio-input:checked + label{
  color: #d01137;
}
input[type="radio"].radio-input:checked + label::after{
  content: "";
  display: block;
  position: absolute;
  top: 0.475em;
  left: 0.15em;
  width: 0.75em;
  height: 0.75em;
  background: #d01137;
  border-radius: 50%;
}

 
input[type="checkbox"].passwordCheck {
      cursor: pointer;
      opacity: 0; 
      position: absolute;
      right: 5px;
      width: 30px;
      height: 30px;
}
 
.iconEye::after {
      background: url() no-repeat 96%;
      background-size: contain;
      content: '';
      display: block;
      width: 30px;
      height: 30px;
}
 input[type="password"],
input[type="text"],
 input[type="number"],
 input[type="tel"],
 input[type="email"],
 textarea {
	width:30em;
	padding:3px 6px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none;
	border: 1px solid #aaa;
	-webkit-transition: all .3s;
	transition: all .3s;
	font-size:16px;
}

 	 input[type="password"],
input[type="text"]:focus,
 input[type="number"]:focus,
 input[type="tel"]:focus,
 input[type="email"]:focus,
 textarea:focus {
	box-shadow: 0 0 7px #e56c69;
	border: 1px solid #e56c69;
}
textarea {
	margin-top: 5px;
}
input.num {
	width:4em;
}

input.name {
	width:6em;
}

 input#no {
	width:8em;
}

 ul#zip li ,
 ul#tel li {
	float:left;
	
}

 ul#zip li::before ,
 ul#tel li::before {
	content:"-";
}
	
 ul#zip li.zipadd::before, 
 ul#zip li:first-child::before ,
 ul#tel li:first-child::before {
	content:"";
}

 ul#zip li.zipadd input  {
	font-size:14px;
	width: 6em;
	padding:2px 10px;
	margin-left:1em;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:#e56c69;
	color:#FFF;
	cursor:pointer;
}

 ul#zip li input ,
 ul#tel li input {
	width:4em;
}

 ul#campaign li ,
 ul#present li {
	margin:5px;
}

 ul.note li {
	font-size:1.4rem;
	text-indent:-1em;
	margin-left:1em;
}

 select {
	font-size:1.6rem;
	width: 30%;
	padding:2px 10px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 1px solid #999;
	background: #eee;
	background: -webkit-linear-gradient(top, #fff 0%,#fcc 100%);
	background: linear-gradient(to bottom, #fff 0%,#fcc 100%);
}

select::-ms-expand {
  display: none;
}

 ul li em {
	color:#F00;
}
	
 input[type="button"] {
	font-size:2rem;
	width: auto;
	padding:2px 10px;
	margin:0px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:rgba(204,53,55,1.00);
	color:#FFF;
	cursor:pointer;
}

input[type="submit"] {
	font-size:2.4rem;
	width: 50%;
	padding:2px 10px;
	margin:10px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:rgba(204,53,55,1.00);
	color:#FFF;
	cursor:pointer;
}

 input[type="submit"]:hover {
	 background:rgba(248,182,183,1.00);
	 color: rgba(204,53,55,1.00);
	 transition: 0.3s;
}

 button.submit {
	font-size:2.4rem;
	width: 50%;
	padding:2px 10px;
	margin:10px auto;
	text-align:center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius:3px;
	background:#e56c69;
	color:#FFF;
	cursor:pointer;
}

 textarea {
	width:98%;
	height:10em;
}

.postcard {
	float: right;
}

.attention {
	text-align:justify;
	padding:10px;
	margin:1em 5em;
}

.center ,
.textcenter {
	text-align: center;
}

main p.top a {
	color: #ffffff;
}


@media only screen and (max-width : 999px){
	#FormBox {
		width:99%;
		margin:0 auto;
	}
	
	fieldset {
		width:100%;
		margin: 0;
		padding: 0;
	}
	 input[type="password"],
	 input[type="text"],
	 input[type="number"],
	 input[type="tel"],
	 input[type="email"],
	 textarea {
		width:96%;
	}
	
	div.formnote img {
		width:99%;
		height: auto;
	}
	.attention {
		text-align:justify;
		padding:10px;
		margin:1em 1em;
	}
	div#form {
		padding:0px;
	}

	 input[type="submit"] ,
	button.submit {
		width:80%;
		font-size: 2rem;
	}
	dd.address span {
		display: block;
	}

	input.num {
		width:4em;
	}

	input.name {
		width:5em;
	}
	
	input[type="checkbox"].date + label {
		width:35%;
		float: left;
		display: block;
		padding-left:2em ; 
		padding-right: 0
	}
	h2 {
		clear: both;
	}
}

