/* Inputs */
input[type="text"], input[type="tel"], input[type="email"],
textarea, select {
  font-size: 16px;
  line-height: 40px;
  color: #555;
  background-color: #eeeeee;
  border: 1px solid #eeeeee;
  border-radius: 3px;
  box-sizing: border-box;
  width: 100%;
  padding: 2px 0 2px 10px;
}

textarea {
  height: 150px;
}

select {
  font-size: 16px;
  height: 35px;
  line-height: 35px;
  background-color: #eeeeee;
  border: 1px solid #eeeeee;
  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 {
  position: absolute!important;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50px !important;  /* クルクルを大きくする */
  height: 50px !important;
  border-width: 4px !important; /* 太くする */
}

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

.wpcf7-list-item-label {
  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: 20px;
  font-weight: 500;
}

/* チェックボックス枠のスタイル */
.wpcf7-list-item-label::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: 1px solid #eeeeee;
  border-radius: 2px;
  content: '';
  background-color: #eeeeee;
}

.wpcf7-list-item-label::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{
  background-color: #0086d1;
  border-color: #0086d1;
}

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

/*ラジオボックス*/
input[type=radio] {
  display: none;
}

input[type=radio] + .wpcf7-list-item-label {
  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;
  font-size: 20px;
  font-weight: 500;
  vertical-align: middle;
  cursor: pointer;
  color: #333333;
}

/* ラジオボックス枠のスタイル */
input[type=radio] + .wpcf7-list-item-label::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: 1px solid #eeeeee;
  border-radius: 5px;
  content: '';
  background-color: #eeeeee;
}

input[type=radio] + .wpcf7-list-item-label::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=radio]:checked + .wpcf7-list-item-label::after {
  background-color: #0086d1;
  border-color: #0086d1;
}

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

/* Button */
.btn3 {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 5px;
  z-index: 1; /* ← 追加 */
  cursor: pointer;
  background: linear-gradient(to right, rgba(0,134,209,1), rgba(74,201,227,1));
}

.btn3 input[type="submit"] {
	background: transparent; /* ← 背景は親が担当するので透明に */
	border: none;
  color: #ffffff;
  font-size: 22px;
  padding: 15px 50px 15px 20px;
  width: 100%;
  text-align: center;
  font-family: 'Yu Gothic', '游ゴシック', 'Noto Sans JP', sans-serif;
  border-radius: 5px;
  z-index: 3;
  position: relative;
  transition: color 0.4s ease;
}

.btn3::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #ffffff;
  z-index: -1;
  transition: width 0.4s ease;
}

.btn3:hover::after {
  width: 100%;
  border-radius: 5px;
  z-index: 2;
  border: 1px solid #0086d1;
}

.btn3::before {
  content: '';
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff url(images/ar_blue.png) no-repeat center center;
  background-size: 20px;
  position: absolute;
  right: 10px;
  top: 13px;
  transition: background 0.4s ease;
  z-index: 3;
}

.btn3:hover input[type="submit"] {
  color: #0086d1;
}

.btn3:hover::before {
  background-image:
    url(images/ar_white.png),
    linear-gradient(to right, rgba(0,134,209,1), rgba(74,201,227,1));
  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: 20px, cover;
}

.wpcf7-form.submitting .btn3 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;
}

.btn4 input[type="button"] {
	background: rgba(0,0,0,.7); 
	background: -moz-linear-gradient(left,  rgba(0,0,0,.7) 0%, rgba(0,0,0,.7) 100%);
	background: -webkit-linear-gradient(left,  rgba(0,0,0,.7) 0%,rgba(0,0,0,.7) 100%);
	background: linear-gradient(to right,  rgba(0,0,0,.7) 0%,rgba(0,0,0,.7) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#585858', endColorstr='#585858',GradientType=1 );
	border: none;
  color: #ffffff;
  font-size: 22px;
  padding: 15px 10px;
  width: 130px;
  text-align: center;
  font-family: 'Yu Gothic', '游ゴシック', 'Noto Sans JP', sans-serif;
  border-radius: 5px;
  z-index: 3;
  position: absolute;
  left: 0;
  top: 0;
}

.btn4 input[type="button"]:hover {
	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 );
}

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

@media screen and (max-width: 850px) {
.btn4 input[type="button"] {
  width: 90px;
}
} 
@media screen and (max-width: 700px) {
.btn3 input[type="submit"] {
  width: 100%;
  font-size: 17px;
  line-height: 30px;
}
  
.btn3::before {
  top: 11px;
}

.btn4{
  width: 300px;
  margin: 10px auto 0;
}
  
.btn4 input[type="button"] {
  width: 100%;
  font-size: 17px;
  position: relative;
  left: 0;
  top: 0;
}
  
input[type="text"], input[type="tel"], input[type="email"], textarea {
  font-size: 15px;
  line-height: 34px;
  padding: 2px 0 2px 10px;
}

.wpcf7-list-item-label {
  font-size: 17px;
}

input[type=radio] + .wpcf7-list-item-label {
  font-size: 17px;
}
}
