/* Inputs */
input[type="text"], 
input[type="tel"], 
input[type="email"],
textarea, 
select {
  font-size: 16px;
  line-height: 35px;
  color: #555;
  background-color: #ffffff;
  border: none;
  border-radius: 3px;
  box-sizing: border-box;
  width: 100%;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

textarea {
  height: 150px;
  width: 100%!important;
}

select {
  font-size: 16px;
  cursor: pointer;
  background-size: 40px 60px;
}

.wpcf7-response-output, .wpcf7-mail-sent-ok {
  padding: 20px;
  border-radius: 5px;
}

.wpcf7-response-output {
  background: #ffe9dc;
  border: 1px solid #ff4646!important;
  color: #FF0033;
}

.wpcf7-mail-sent-ok {
  background: #dcffde;
  border: 1px solid #27d177;
  color: #22b768;
}

.wpcf7-not-valid-tip{
  font-size:12px!important;
}

.wpcf7-list-item {
  margin-left: 0;
  padding: 0 20px 2px 0;
  margin: 0!important;
}

 /* クルクル */
.wpcf7-spinner {
  width: 50px !important;  /* クルクルを大きくする */
  height: 50px !important;
  border-width: 4px !important; /* 太くする */
}

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

.wpcf7-list-item-label,
.nodate{
  box-sizing: border-box;
  transition: background-color 0.2s linear;
  position: relative;
  display: inline-block;
  margin: 0 10px 0px 0;
  padding: 0px 8px 0px 35px;
  border-radius: 3px;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
}

/* チェックボックス枠のスタイル */
.wpcf7-list-item-label::after,
.nodate::after{
  transition: border-color 0.2s linear, background-color 0.2s linear;
  position: absolute;
  top: 50%;
  left: 5px;
  display: block;
  margin-top: -10px;
  width: 19px;
  height: 19px;
  border: 3px solid #f1f1f1;
  border-radius: 2px;
  content: '';
  background-color: #f4f4f4;
}

.wpcf7-list-item-label::before,
.nodate::before{
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 11px;
  display: block;
  margin-top: -8px;
  width: 5px;
  height: 9px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  content: '';
  opacity: 0;
  transform: rotate(45deg);
}

input[type=checkbox]:checked + .wpcf7-list-item-label:after,
input[type=checkbox]:checked + .nodate:after{
  background-color: #e60012;
  border-color: #e60012;
}

input[type=checkbox]:checked + .wpcf7-list-item-label:before,
input[type=checkbox]:checked + .nodate:before{
  opacity: 1;
  z-index: 5;
}

/* Button */
.btn4 p{
  position: relative;
}

.btn4 input[type="submit"] {
	background: rgba(0,0,0,0.8); 
	background: -moz-linear-gradient(left,  rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.8) 100%);
	background: -webkit-linear-gradient(left,  rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,0.8) 0%,rgba(0,0,0,0.8) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=1 );
	position: relative;
	margin: 0 0 0;
	border: none;
	display: block;
  box-sizing: border-box;
  color: #ffffff;
  font-size: 17px;
  line-height: 34px;
  font-weight: 500;
  border-radius: 5px;
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  padding: 10px 10px 30px 10px;
  text-align: center;
}

.btn4 p::before{
  position: absolute;
  content: 'Send mail ';
  color: #ffffff;
  font-size: 14px;
  line-height: 26px;
  width: 100%;
  text-align: center;
  top: 40px;
  left: 0;
  z-index: 1;
}

.btn4 input[type="submit"]:hover{
	background: rgba(0,0,0,1); 
	background: -moz-linear-gradient(left,  rgba(0,0,0,1) 0%, rgba(0,0,0,1) 100%);
	background: -webkit-linear-gradient(left,  rgba(0,0,0,1) 0%,rgba(0,0,0,1) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,1) 0%,rgba(0,0,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000',GradientType=1 );
  border: none;
  color: #ffffff;
}

.wpcf7-form.submitting .btn4 input[type="submit"] {
  background: rgba(0,0,0,.4); 
	background: -moz-linear-gradient(left,  rgba(0,0,0,.4) 0%, rgba(0,0,0,.4) 100%);
	background: -webkit-linear-gradient(left,  rgba(0,0,0,.4) 0%,rgba(0,0,0,.4) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,.4) 0%,rgba(0,0,0,.4) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#eeeeee',GradientType=1 );
    cursor: not-allowed;
    opacity: 0.6;
}

/* Sent Form */
form.sent .con_form, form.sent .btn4, form.sent p{
  display: none !important;
}

/* Media Queries */
@media screen and (max-width: 700px) {
  .btn4 input[type="submit"] {
    width: 100%;
  }
  input[type="text"], input[type="tel"], input[type="email"], textarea {
    font-size: 15px;
  }
}
