@charset "utf-8";

/* ------------------------------------------------------------------
header
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  header{
    width: 1080px;
    margin: auto;
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
  }
  header .logo{
    width: 200px;
    margin: auto;
  }
}
@media only screen and (max-width:767.98px) {
  header{
    width: 90%;
    margin: auto;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
  }
  header .logo{
    width: 140px;
    margin: auto;
  }
}

/* ------------------------------------------------------------------
footer
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  footer{
    width: 1080px;
    margin: auto;
    padding: 40px 0;
  }
  footer address{
    display: block;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    letter-spacing: 0.1em;
  }
}
@media only screen and (max-width:767.98px) {
  footer{
    width: 90%;
    margin: auto;
    padding: 20px 0;
  }
  footer address{
    display: block;
    text-align: center;
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0.1em;
  }
}

/* ------------------------------------------------------------------
main
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  main{
    width: 1080px;
    margin: auto;
  }
  main .ttl{
    text-align: center;
    padding: 80px 0;
  }
  main .ttl h1{
    font-size: 30px;
    margin: 0 0 20px;
  }
  main .ttl p{
    line-height: 1.8;
  }
  .note{
    width: 90%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 40px;
    margin: 20px auto 0;
    box-sizing: border-box;
  }
  .note ul li{
    list-style: disc;
    font-size: 14px;
    margin: 0 0 0 20px;
  }
}
@media only screen and (max-width:767.98px) {
  main{
    width: 90%;
    margin: auto;
  }
  main .ttl{
    padding: 40px 0;
  }
  main .ttl h1{
    font-size: 20px;
    margin: 0 0 15px;
    text-align: center;
  }
  main .ttl p{
    font-size: 12px;
    line-height: 1.8;
  }
  .note{
    width: 90%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin: 20px auto 0;
    box-sizing: border-box;
  }
  .note ul li{
    list-style: disc;
    font-size: 10px;
    margin: 0 0 0 10px;
  }
}

/* ------------------------------------------------------------------
form
------------------------------------------------------------------ */
form#mail_form {
	width: 1080px;
	margin: 0 auto;
	padding: 20px 0;
	background: #f9f9f9;
  border-radius: 5px;
	font-size: 16px;
	line-height: 1.8;
}
form#mail_form dl {
	width: 90%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
	margin: 0 auto;
	border-top: 1px solid #ddd;
}
form#mail_form dl:first-child{
	border: none;
}
form#mail_form dl dt {
	width: 30%;
	padding: 20px;
  font-weight: bold;
	text-align: right;
  box-sizing: border-box;
}
form#mail_form dl dd {
	width: 70%;
	padding: 20px;
  box-sizing: border-box;
}

/* -- for JavaScript ここから -- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	display: inline-block;
	float: left;
  font-size: 14px;
	color: #ffffff;
	padding: 3px 10px;
	border-radius: 3px;
}
form#mail_form dl dt span.required {
	background: #d9534f;
	border: 1px solid #d43f3a;
}
form#mail_form dl dt span.optional {
	background: #337ab7;
	border: 1px solid #2e6da4;
}
form#mail_form dl dd span.error_blank,
form#mail_form dl dd span.error_format,
form#mail_form dl dd span.error_match {
	display: block;
	color: #ff0000;
	margin-top: 3px;
}

span.loading {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border-top: 5px solid rgba( 255, 255, 255, 0.2 );
	border-right: 5px solid rgba( 255, 255, 255, 0.2 );
	border-bottom: 5px solid rgba( 255, 255, 255, 0.2 );
	border-left: 5px solid #ffffff;
	-webkit-transform: translateZ( 0 );
	-ms-transform: translateZ( 0 );
	transform: translateZ( 0 );
	-webkit-animation: load-circle 1.0s linear infinite;
	animation: load-circle 1.0s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -30px;
	margin-left: -30px;
}
@-webkit-keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}
@keyframes load-circle {
	0% {
		-webkit-transform: rotate( 0deg );
		transform: rotate( 0deg );
	}
	100% {
		-webkit-transform: rotate( 360deg );
		transform: rotate( 360deg );
	}
}

/* -- form item ここから -- */

form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"],
form#mail_form select{
  font-size: 16px;
	max-width: 100%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
	-webkit-appearance: none;
	font-family: inherit;
  box-sizing: border-box;
}
form#mail_form input[type="text"]:focus,
form#mail_form input[type="email"]:focus,
form#mail_form input[type="tel"]:focus,
form#mail_form textarea:focus {
	box-shadow: 0px 0px 5px #ccc;
	border: 1px solid #ccc;
}
form#mail_form ul li input[type="radio"],
form#mail_form ul li input[type="checkbox"] {
	margin: 0px 10px 0 0;
}
form#mail_form textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 200px;
	padding: 8px;
	resize: vertical;
	border: 1px solid #ddd;
	border-radius: 5px;
	background: #fff;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
  box-sizing: border-box;
}
form#mail_form ul {
	list-style-type: none;
}
form#mail_form ul li label:hover {
	cursor: pointer;
}

/* -- width ここから -- */

form#mail_form input#name_1,
form#mail_form input#company{
	width: 80%;
}
form#mail_form input#busho,
form#mail_form input#yakushoku{
	width: 60%;
}
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
	width: 80%;
}
form#mail_form input#phone{
	width: 60%;
}
form#mail_form input#postal + a {
	display: inline-block;
  vertical-align: middle;
	padding: 4px 15px;
  margin: -2px 0 0;
	border: 1px solid #46b8da;
	border-radius: 5px;
	background: #5bc0de;
	font-size: 100%;
	color: #ffffff;
	text-decoration: none;
}
form#mail_form input#postal + a:hover {
	cursor: pointer;
	background: #31b0d5;
	border: 1px solid #269abc;
}
form#mail_form p#form_submit {
	width: 90%;
	margin: 0 auto;
	padding: 40px 0;
	border-top: 1px solid #cccccc;
}
form#mail_form input[type="button"] {
	padding: 15px 60px;
	border-radius: 5px;
	background: #024bbc;
	font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.2em;
	color: #fff;
	font-family: inherit;
	-webkit-appearance: none;
	cursor: pointer;
}
form#mail_form input[type="button"]:hover {
	background: #222;
}
form#mail_form input#form_submit_button {
  display: block;
	margin: auto;
}








/* -- responsive -- */

@media screen and ( max-width: 1000px ) {

form#mail_form {
  width: 100%;
	font-size: 16px;
}
form#mail_form dl {
  display: block;
}
form#mail_form dl dt {
	width: auto;
	float: none;
	text-align: left;
	padding: 15px 0 5px;
  font-size: 14px;
	font-weight: bold;
  overflow: hidden;
}
form#mail_form dl dd {
	width: auto;
	float: none;
	border-top: none;
	padding: 0px 0px 20px;
}
form#mail_form dl dt span {
	font-weight: normal;
}


/* -- for JavaScript ここから -- */

form#mail_form dl dt span.required,
form#mail_form dl dt span.optional {
	margin-right: 1em;
	margin-bottom: 0.5em;
	padding: 3px 8px;
	border-radius: 3px;
  font-size: 10px;
}
form#mail_form input[type="text"],
form#mail_form input[type="email"],
form#mail_form input[type="tel"] {
	margin-top: 0px;
}
form#mail_form input#postal + a {
	padding: 6px 15px 5px;
}
form#mail_form input#form_submit_button {
  width: 100%;
	padding: 15px 0px;
  display: block;
}
form#mail_form p#form_submit {
	padding: 20px 0;
}

/* -- width ここから -- */

form#mail_form input#name_1,
form#mail_form input#company{
	width: 100%;
}
form#mail_form input#busho,
form#mail_form input#yakushoku{
	width: 100%;
}
form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
	width: 100%;
}
form#mail_form input#phone{
	width: 100%;
}

}

/* ------------------------------------------------------------------
select-wrap
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  .select-wrap {
    position: relative;
  }
  .select-wrap:before {
    z-index: 1;
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
    border: 7px solid transparent;
    border-top-color: #333;
    margin: 5px 0 0;
    pointer-events: none;
  }
  .select-wrap select {
    outline:none;
    text-overflow: '';
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    appearance: button;
    appearance: none;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
  }
  .select-wrap select::-ms-expand {
    display: none;
  }
  .select-wrap select:-moz-focus-inner {
    border: 0;
  }
  .select-wrap select::-moz-focusring { 
    color: transparent; 
    text-shadow: 0 0 0 #999;
  }
}

@media only screen and (max-width:767.98px) {
  .select-wrap {
    position: relative;
  }
  .select-wrap:before {
    z-index: 1;
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
    border: 7px solid transparent;
    border-top-color: #333;
    margin: 5px 0 0;
    pointer-events: none;
  }
  .select-wrap select {
    outline:none;
    text-overflow: '';
    vertical-align: middle;
    appearance: button;
    appearance: none;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    border-radius: 0;
    box-sizing: border-box;
  }
  .select-wrap select::-ms-expand {
    display: none;
  }
  .select-wrap select:-moz-focus-inner {
    border: 0;
  }
  .select-wrap select::-moz-focusring { 
    color: transparent; 
    text-shadow: 0 0 0 #999;
  }
  .ui-widget-content{
    font-size: 125% !important;
  }
}

/* ------------------------------------------------------------------
thanks
------------------------------------------------------------------ */
@media print,screen and (min-width:768px) {
  div#thanks {
    width: 1080px;
    margin: 80px auto 0;
    line-height: 1.8;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 80px;
    text-align: center;
    box-sizing: border-box;
  }
  div#thanks h1,
  div#thanks h2 {
    font-size: 24px;
    margin: 0 0 20px;
  }
  div#thanks p {
    margin: 0 0 40px;
  }
  div#thanks .btn a{
    display: inline-block;
    padding: 10px 40px;
    background: #222;
    color: #fff;
  }
}

@media only screen and (max-width:767.98px) {
  div#thanks {
    margin: 40px auto 0;
    line-height: 1.8;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 40px;
    box-sizing: border-box;
  }
  div#thanks h1,
  div#thanks h2 {
    font-size: 20px;
    margin: 0 0 20px;
    text-align: center;
  }
  div#thanks p {
    margin: 0 0 20px;
  }
  div#thanks .btn a{
    display: block;
    padding: 10px 0;
    background: #222;
    color: #fff;
    text-align: center;
  }
}



