@charset "UTF-8";
/*

    OFFSHORE Theme Contact Form

*/

/* ---------------------------------------------------------

    SECTION

------------------------------------------------------------ */
/*
html {
    font-size: 62.5%;
    color: #333333;
}

* {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.6;
    font-family: 'メイリオ', Meiryo, serif;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
*/

.textCenter {
    text-align: center;
}

.dispBlock {
	display: block !important;
}

.dispNone {
	display: none !important;
}

.errorBgColor {
	background-color: #F5A9A9;
}

#contactform * {
    font-size: 1.4rem;
    font-weight: normal;
    line-height: 1.6;    
}

#contactform table {
    width : 600px;
    margin: 20px auto;
}
#contactform td, th {
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
#contactform ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select,
textarea {
    padding: 2px;
    border: #ddd solid 1px;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
    margin-right: 10px;
}

input[type="email"],
textarea {
    width: 100%;
}
input[type="submit"] {
    padding: 4px 12px;
    border: 2px solid #aaa;
}

#contactform h1 img {
    display: block;
    margin: 20px auto;
}

#contactform .privacypolcy {
    width: 760px;
    height: 230px;
    margin: 0 auto 50px auto;
    padding: 12px 25px;
    overflow: auto;
    border: 1px solid #666666;
}

#contactform .privacypolcy dd {
    margin-bottom: 30px;
}
#contactform .privacypolcy dd>div {
    margin-bottom: 26px;
}

#contactform .privacypolcy dd table {
    width: auto;
    margin-top: 20px;
    border-collapse: collapse;
}
#contactform .privacypolcy dd table tr {
    border-bottom: 1px solid #A2A2A2;
}
#contactform .privacypolcy dd table tr:first-child {
    border-top: 1px solid #A2A2A2;
}
#contactform .privacypolcy dd table th,
#contactform .privacypolcy dd table td {
    padding: 12px 15px;
    background-color: #FFFFFF;
}
#contactform .privacypolcy dd table th {
    width: 160px;
    background-color: #CCCCCC;
    font-weight: bold;
}


/* ---------------------------------------------------------

    RESPONSIVE

------------------------------------------------------------ */

@media (max-width: 767px) {
    
    * {
        font-size: 1.2rem;
    }
    header img {
        width: 87px;
        height: auto;
    }
    #contactform table {
        width : 100%;
        margin: 20px auto;
    }
    #contactform td, th {
        display:block;
    }
    #contactform th {
        font-weight: bold;
        padding: 2px 2px 0 2px;
    }
    
    #contactform .privacypolcy {
        width: 100%;
        height: 330px;
        margin: 0 auto 30px auto;
        padding: 6px 12px;
        overflow: auto;
        border: 1px solid #666666;
    }
}
