/*　Details */

/*------------------------------
	PC
------------------------------*/

@media screen and (min-width: 768px) {
    #contact{
        margin-top: 20px;
    }
    #contact table{
        width: 100%;
        margin-top: 50px;
        font-size: 1.6rem;
    }
    #contact table th{
        width: 25%;
        padding-top: 1em;
        padding-bottom: 1em;
        position: relative;
        padding-left: 6.5rem;
        vertical-align: middle;
    }
    #contact table td{
        padding-top: 1em;
        padding-bottom: 1em;
    }
    #contact table tr{
        background: #F5F5F5;
    }
    #contact table tr:nth-child(2n){
        background: #FFFFFF;
    }
    #contact input[type="text"]{
      width: 94%;
    }
    #contact input[type="email"]{
      width: 94%;
    }
    span.required{
        background: #276d7a;
        color: #FFFFFF;
        font-size: 1.4rem;
        text-align: center;
        line-height: 1.5;
        position: absolute;
        left: 1.5rem;
        width: 42px;
    }
    select{
        padding: 0 200px 0 10px;
        font-size: 1.6rem;
    }
    #contact hr{
        border-bottom: 3px solid #333333;
        border-top: none;
        border-left: none;
        border-right: none;
        padding-bottom: 50px;
    }
    button.button {
        width: 290px;
        height: 68px;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border:2px solid #276d7a;
        background: #276d7a;
        color: #FFFFFF;
        font-size: 1.4rem;
        text-align: left;
        text-indent: 2em;
        cursor: pointer;
    }
    button.button:after {
        content: '';
        display: inline-block;
        position: relative;
        top: -1px;
        left: 160px;
        width: 7px;
        height: 7px;
        vertical-align: middle;
        margin-left: 5px;
        border: #FFFFFF 2px solid;
        border-top: none;
        border-left: none;
        transform: rotate(-45deg);
    }
    button.button:hover:after {
        border: #276d7a 2px solid;
        background: #FFFFFF;
        border-top: none;
        border-left: none;
    }
    .form_bottom{
        text-align: center;
        padding-top: 50px;
    }
    button.button:hover {
        background-color: #FFFFFF;
        color: #276d7a;
    }
    button.button{
        display: inline-block;
    }
    .form_txt{
        text-align: center;
        display: inline-block;
        margin-right: 50px;
    }
}
/*------------------------------
	SP
------------------------------*/
@media screen and (max-width: 767px) {
    #contact{
        margin-top: 5vw;
        width: 94%;
        margin-right: auto;
        margin-left: auto;
    }
    #contact table{
        width: 100%;
        margin-top: 3vw;
        font-size: 3.4vw;
    }
    #contact table th{
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        position: relative;
        padding-left: 10vw;
        vertical-align: middle;
        display: block;
    }
    #contact table td{
        padding-bottom: 1em;
        display: block;
        padding-right: 1em;
        padding-left: 1em;
    }
    #contact table tr{
        background: #F5F5F5;
    }
    #contact table tr:nth-child(2n){
        background: #FFFFFF;
    }
    #contact input[type="text"]{
      width: 94%;
    }
    #contact input[type="email"]{
      width: 94%;
    }
    span.required{
        background: #276d7a;
        color: #FFFFFF;
        font-size: 2.0vw;
        text-align: center;
        line-height: 1.5;
        position: absolute;
        left: 2.0vw;
        width: 7vw;
    }
    select{
        padding: 0 40vw 0 2vw;
        font-size: 3.4vw;
    }
    #contact hr{
        border-bottom: 3px solid #333333;
        border-top: none;
        border-left: none;
        border-right: none;
        padding-bottom: 5vw;
    }
    button.button {
        width: 80%;
        height: 50px;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border:2px solid #276d7a;
        background: #276d7a;
        color: #FFFFFF;
        font-size: 3.4vw;
        text-align: left;
        text-indent: 2em;
        cursor: pointer;
    }
    button.button:after {
        content: '';
        display: inline-block;
        position: relative;
        top: -1px;
        left: 58%;
        width: 7px;
        height: 7px;
        vertical-align: middle;
        margin-left: 5px;
        border: #FFFFFF 2px solid;
        border-top: none;
        border-left: none;
        transform: rotate(-45deg);
    }
    button.button:hover:after {
        border: #276d7a 2px solid;
        background: #FFFFFF;
        border-top: none;
        border-left: none;
    }
    .form_bottom{
        text-align: center;
        padding-top: 5vw;
        margin-bottom: 10vw;
    }
    button.button:hover {
        background-color: #FFFFFF;
        color: #276d7a;
    }
    button.button{
        display: inline-block;
    }
    .form_txt{
        text-align: center;

    }
}
