@charset "utf-8";
/*!
 * sub CSS
 * ---------------------------------------------
 * 下層ページのcss
 * 
 */

/*===================================
	element	
=====================================*/

.required {
    color: #ff0000;
}
.contactInfo {
    margin-bottom: 2em;
    padding: 1.5em 0;
    border: solid 2px #e5e5e5;
    text-align: center;
}
.contactInfo dt {
    margin-bottom: 1em;
}
.contactInfo dd {
    display: inline-block;
    /*margin-right: 2em;*/
}
.contactInfo a {
    color: #408ff0;
    text-decoration: underline;
}
.contactInfo a:hover {
    text-decoration: none;
}

/*  definList
---------------------------------*/

.definList dd span {
    display: inline-block;
    font-size: 85%;
}
.txt1 + span {
    margin-top: 0.5em;
}
select {
    margin-right: 1em;
    margin-bottom: 20px;
}
.checkboxList li {
    display: inline-block;
    vertical-align: top;
    width: 40%;
    margin-bottom: 10px;
}
.btn {
    margin-top: 50px;
    text-align: center;
}
/*  form parts
---------------------------------*/

input[type="text"],button,input[type="submit"],select,textarea {
    border: none;
    background: none;
    border: solid 1px #ccc;
    background: #fff;
}
input[type="text"],button,select {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
}
input[type="checkbox"] {
    display: inline-block;
    vertical-align: middle;
    margin: -3px 5px 0 0;
}
button {
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 0;
    border-radius: 5px;
    cursor: pointer;
}
textarea {
    width: 100%;
    height: 16em;
}
.txt1 {
    width: 80%;
}
.txt2 {
    width: 100px;
}
input[type="submit"] {
    display: inline-block;
    height: auto;
    margin: 0 10px;
    padding: 1.5em 3em;
    line-height: 0;
    border-radius: 5px;
    background: #1766cb;
    color: #fff;
    font-size: 140%;
    cursor: pointer;
    transition: .7s;
}
.pc input[type="submit"]:hover {
    opacity: .7;
}

/*  error
---------------------------------*/

.errorMessage {
    margin-bottom: 2em;
    padding: 1em;
    border: solid 1px #ff0000;
    color: #ff0000;
    text-align: center;
}
.errorMessage dt {
    margin-bottom: 0.5em;
    font-weight: 500;
}
.errorMessage dd {
    font-size: 120%;
}
input[type="text"].error {
    background: #ffcccc;
}

/*  確認
---------------------------------*/

.confirm div.btn form {
    display: inline;
}
input[type="submit"].back {
    background: #ccc;
}

/*  サンクス
---------------------------------*/

.thanks .sec {
    padding-top: 100px;
    font-size: 140%;
    text-align: center;
}
.btn.toHome a {
    background: #1766cb;
}

/************************************************************************************
smaller than 660px
*************************************************************************************/
@media screen and (max-width: 660px) {
	
	/*===================================
        element	
    =====================================*/

    .contactInfo dd {
        display: block;
        margin-right: 0;
    }
	
	/*  definList
    ---------------------------------*/

    .checkboxList li {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
	
	/*  form parts
    ---------------------------------*/
    
    input[type="text"],button,select {
        height: 50px;
        line-height: 50px;
    }
    button {
        width: 130px;
        margin: 20px 0 0 0;
    }
    textarea {
        width: 520px;
        height: 10em;
    }
    .txt1 {
        width: 520px;
    }
    .txt2 {
        width: 130px;
    }
	
    /*  確認
    ---------------------------------*/

    .confirm input[type="submit"] {
        padding: 1.5em 2.5em;
    }
    
    /*  サンクス
    ---------------------------------*/

    .thanks .sec {
        text-align: left;
    }

}