@charset "UTF-8";


.backgroundImage {
    height: 530px;
    position: relative;
}

.backgroundImage::before {
    background: #fff;
    animation-fill-mode: none;
    animation: none;
}

.formBreadcrumb {
    width: fit-content;
    display: flex;
    margin: 0 auto;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 20px;
}

.formBreadcrumb p {
    opacity: 0.5;
    position: relative;
}

.formBreadcrumb p span {
    display: inline-block;
    width: 105px;
    border-bottom: 4px solid #87888E;
    color: #87888E;
    margin: 10px;
    text-align: center;
    padding-bottom: 10px;
    margin-right: 50px;
}

.formBreadcrumb p.active {
    opacity: 1;
}

.formBreadcrumb p.active span {
    border-bottom: 4px solid #4FB0C6;
    color: #000;
}

.formBreadcrumb p::after {
    position: absolute;
    top: 20px;
    right: 12px;
    content: "　";
    display: inline-block;
    width: 16px;
    height: 14px;
    background: url(../img/arrowImg2.svg) no-repeat;
    background-size: cover;
    background-position: bottom;
}

.formBreadcrumb p:last-child span {
    margin-right: 0;
}

.formBreadcrumb p:last-child::after {
    content: none;
    background: none;
    padding: 0;
    margin: 0;
    width: 0px;
    content: "";
}

.contact .form {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.formFooter.ContactLink {
    background: none;
}

.formFooter h5 {
    font-size: 21px;
    font-weight: 700;
}

.formFooter h5,
.formFooter a,
.formFooter p {
    margin: 5px;
}

.required {
    display: inline-block;
    background: #F75555;
    text-align: center;
    color: #FFF;
    border-radius: 7px;
    width: 68px;
    height: 32px;
    line-height: 30px;
    font-weight: 400;
    margin-left: 20px
}

.contact .form div {
    margin-top: 50px;
}
.contact .form .radioform{
    margin-top: 0px;
    padding-top: 10px;
}
.contact .form div.corporate {
    margin-top: 30px;
}

.contact .form .kindsWap {
    display: inline-block;
    width: 70%;
    vertical-align: middle;
    margin-top: 0px;
}

.contact .form .kinds label {
    vertical-align: top;
}

.contact .form .kindsWap span {
    display: block;
    margin-bottom: 20px;
}

.contact .form .kindsWap input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.contact .form .kindsWap label {
    width: 80%;
    text-align: left;
    vertical-align: middle;
}



.contact .form .kindsWap input[type=radio] {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.contact .form .kindsWap label {
    margin: 5px 0;
    height: 50px;
    cursor: pointer;
    position: relative;
}

.contact .form .kindsWap p {
    width: 100%;
    height: 40px;
    line-height: 30px;
    padding-left: 40px;
    position: relative;
}

.contact .form .kindsWap input[type="radio"]+p::before {
    content: "";
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    width: 30px;
    height: 30px;
    border: 1px solid #666;
    border-radius: 5px;
}

.contact .form .kindsWap input[type="radio"]:checked+p::before {
    background: #4FB0C6;
}

.contact .form .kindsWap input[type="radio"]:checked+p::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 10px;
    width: 10px;
    height: 20px;
    transform: rotate(40deg);
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
}




.contact .form .radioform input[type=checkbox] {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    margin: -1px;
}

.contact .form .radioform p {
    padding-left: 35px;
    height: 30px;
    line-height: 25px;
    position: relative;
}

.contact .form .radioform input[type="checkbox"]+ p::before{
    content: "";
    display: block;
    position: absolute;
    top:1px;
    left: 0;
    width: 25px;
    height: 25px;
    border: 1px solid #666;
    border-radius: 50%;
  }
  .contact .form .radioform input[type="checkbox"]:checked + p::before{
    background: #fff;
  }
.contact .form .radioform input[type="checkbox"]:checked + p::after{
    content: "";
    display: block;
    position: absolute;
    width: 13px;
    height: 13px;
    top: 6.5px;
    left: 6px;
    background: #4FB0C6; 
    border-radius: 50%
  }
  


.contact .form label {
    width: 29%;
    display: inline-block;
}

.contact .form input,
.contact .form textarea {
    width: 70%;
    /*padding: 20px;*/
	padding: 16px;
    margin-top: 5px;
    font-size: 16px;
}

.contact .form select {
    width: 40%;
    padding: 20px;
}

.radioform {
    display: block;
    margin-left: 30%;
    width: 100%;

}

.radioform div {
    display: inline-block;
    width: 45%;
}

.contact .form .radioform div input {
    width: 10%;
}

.contact .form .radioform div label {
    width: 90%;
    vertical-align: middle;
    margin-top: -10px;
}

.contact .form .radioform div input[type=radio] {
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    display: inline-block;
    margin-right: 10px;
    background: #FFF;
}

.contact .form div .radioform div {
    margin: 0;
    margin-bottom: 20px;
}

.contact .form label.howDid {
    width: 100%;
    margin-bottom: 30px;
}

.contact .form .address textarea {
    resize: none;
    height: 150px;
}
.contact .form .detail{
    margin-bottom: 20px;
}
.contact .form .detail textarea {
    resize: none;
    height: 250px;
}

.contact .form .address label,
.contact .form .detail label {
    vertical-align: top;
}

.contact .ContactLinkBtn {
    line-height: 60px;

}

.contact .ContactLinkBtn span::after {
    display: none;
}

.contact .topIndexLink span:first-child {
    width: 80%;
    display: inline-block;
    padding-left: 15px;
}

.contact .topIndexLink span:nth-child(2):after {
    display: inline-block;
    width: 38px;
    height: 35px;
    content: "　";
    background-image: url("../img/arrowImg2.svg");
    filter: brightness(0) invert(1);
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: middle;
    text-align: right;
}

.thanksText {
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 16px;
}

.thanksText div {
    width: fit-content !important;
    margin: 0 auto !important;
    text-align: center;
}

.thanksText p {
    margin-bottom: 50px;
}

button {
    display: block;
    border: none;
}


.error:valid {
    border: 1px solid #78b12b;
}

.error:invalid {
    border: 1px solid #EE6C6C;
}
label.error#kinds-error,
.radioform div>label{
    padding-left: 0;
}
.radioform div>label:first-child{
    margin-bottom: 20px;
}
/* 操作中、入力値が正しい場合は、不正エラーを消す */

input:focus:valid+.error .invalid {
    border: 1px solid green;
    display: none;
}

.err-column {
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    flex-direction: column;
}


label.error {
    width: 100% !important;
    padding-left: 30%;
    color: #EE6C6C;
    margin: 8px 0 0 0;
}

#howDidErrorText {
    color: #EE6C6C !important;
    margin-left: 10px;
}

.formError {
    display: block;
    width: fit-content;
    font-size: 14px;
    font-weight: 400;
    background: #F75555;
    color: #FFF;
    border-radius: 10px;
    padding: 7px 20px;
    margin: 35px auto;
    text-align: center;
}