@charset "UTF-8";
/* CSS Document */

label {
    font-family: a-otf-gothic-bbb-pr6n, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.contacth4 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 50px;
}

.contacth4 span {
    display: block;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.2em;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    display: block;
    margin-top: 10px;
    height: 40px;
    width: 40vw;
}

textarea {
    display: block;
    margin-top: 10px;
    height: 150px;
    width: 40vw;
}

button {
    text-align: center;
}

.checkArea {
    width: 40vw;
    display: flex;
    flex-direction: row;
    justify-content: center;

}

/* エラー表示 */
p.error,
span.error {
    color: red;
    font-size: 10px;
    margin-top: 5px;
}



.contactArea {
    width: 40vw;
}

#agree {
    display: none;

}


.contactp p {
    text-align: center;
    margin-bottom: 10px;
}

#agree:checked + .privacycheck {
    background:#000;
    color: #ffffff; 
}

#agree:checked + .privacycheck a {
    color: #ffffff;
}

.privacycheck {
    display: block;
    float: left;
    margin: 5px;
    width: 40vw;
    height: 45px;
    text-align: center;
    line-height: 45px;
    padding-left: 5px;
    padding-right: 5px;
    cursor: pointer;
    color: #000;
    border: 1px solid #000;
    margin-bottom: 30px;
}



.privacycheck a {
    color: #000;
    text-decoration: underline;
    transition: .3s;
}
.privacycheck a:hover {
opacity: .5;
	transition: .3s;
}


.contactbutton {
    width: 250px;
    font-size: 1em;
    font-weight: bold;
    padding: 20px 30px;
    text-align: center;
    border: none;
    background: #000;
    color: #fff;
    border: solid 1px #000;
}

.contactbutton:disabled {
    color: #CCC;
    background: #fff;
    border: solid 1px #CCC;
} 

.contactbutton:hover {
    opacity: .6;
	transition: .3s;
}




.buttonArea {
    width: 40vw;
    text-align: center;
}




.contactArea span {
    font-size: 14px;
    display: block;
    margin-bottom: 20px;
    color: #fff;
    background: #ccc;
    padding: 10px;
}

.contactArea p {
    margin-bottom: 30px;
    line-height: 1.2em;
}

.contactArea h5 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
}


.confirmbutton {
    width: 150px;
    font-size: 1em;
    font-weight: bold;
    padding: 20px 30px;
    text-align: center;
    border: solid 1px #000;
}

.confirmbutton:hover {
    opacity: .6;
	transition: .3s;
}




.confirmbutton2 {
    width: 250px;
    font-size: 1em;
    font-weight: bold;
    padding: 20px 30px;
    text-align: center;
    background: #000;
    color: #fff;
    margin-left: 30px;
    border: solid 1px #000;
}

.confirmbutton2:hover {
opacity: .6;
	transition: .3s;
}




.confirmButtonArea {
    width: 40vw;
    display: flex;
    justify-content: center;
}


























/* Smart Phone ////////////////////////////////////////////////*/


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

    .form-group input,.form-group select, textarea,
    .checkArea, .privacycheck, .buttonArea, .contactArea, .confirmButtonArea {
        width: 80vw;
    }

  
  
  }
  
  @media screen and (max-width: 600px) {
  
  
    .form-group input,.form-group select, textarea,
    .checkArea, .privacycheck, .buttonArea, .contactArea, .confirmButtonArea {
        width: 80vw;
    }
  
  
    .contacth4 {
        font-size: 16px;
        width: 80vw;

    }
  
    .contacth4 span {
        font-size: 10px;

    }
  
    .confirmButtonArea {
        text-align: center;
 flex-direction: column-reverse;
        justify-content: center;
    }
  

    .confirmbutton {
        margin-top: 20px;
            }


    .confirmbutton2 {
margin-left: 0;
    }
  
  
  }