/*
 Theme Name:   Shinkou Saku Plazasaku
 Description:  Shinkou Saku Plazasaku Theme
 Author:       -
 Author URI:   http://www.shinkou-saku.or.jp
 Template:     shinkousaku
 Version:      1.0.0
 Text Domain:  shinkou-saku-plazasaku
*/

/*--------------------------
    Contact
----------------------------*/
.page .list,.page .contact{
    margin: 0 auto 50px;
    width: 880px;
}
@media screen and (max-width: 640px){
.page .list,.page .contact {width: 85%;}
}

.list.list_title{
    margin-bottom: 0;
}
.list.list_title p{
    margin-left: auto;
    margin-right: auto;
    width: 95%;
}
.page #main h2+p{
    padding-left: 15px;
}

.page #main h3{
    margin-top: 40px;
    padding: 5px 15px;
    font-weight: lighter;
    border-top: dotted 2px #CD0B49;
    border-bottom: dotted 2px #CD0B49;
}


/*****************************************
    question
******************************************/
.page .qbox{
    margin-bottom: 15px;
    padding: 0 15px;
    border: solid 1px #7A797A;
    border-radius: 10px;
}
.page .question{
    position: relative;
    padding: 15px 45px;
    background: url(./images/contact_q.png) no-repeat left center;
    background-size: 35px;
}

.page .question span{
    position: absolute;
    top: 15px;
    right: 15px;
    color: #CD0B49;
}
.page .question .on,
.page .question .off.none{
    display: none;
}
.page .question .off,
.page .question .on.active{
    display: block;
}

.page .answer hr{
    margin: -15px 0 0 -45px;
    width: 113%;
    background-image: linear-gradient(to right, #7A797A, #7A797A 1px, transparent 1px, transparent 4px);
    background-size: 5px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
    background-color: transparent;
}
/* Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  ::i-block-chrome, .page .answer hr{border-bottom: dotted 2px #7A797A;}
}

.page .answer{
    display: none;
    padding: 15px 45px;
    background: url(./images/contact_a.png) no-repeat left 15px;
    background-size: 35px;
}


/*****************************************
    form
******************************************/
.page table,.page th,.page td{
    position: relative;
    table-layout: auto !important;
    font-weight: lighter;
    border: none !important;
}

.req{
    position: absolute;
    left: 15px;
    padding: 2px 12px;
    color: #fff;
    font-size: 85%;
    background-color: #AF1E22;
    border-radius: 10px;
}
@media screen and (max-width: 640px){
.req{left: 0;}  
}

.contact table{
    margin: 40px auto;
}
.contact tr{
    margin: 0 auto;
    width: 100%;
    background-image: linear-gradient(to right, #7A797A, #7A797A 1px, transparent 1px, transparent 4px);
    background-size: 5px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
    background-color: transparent;
}
/* Safari */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  ::i-block-chrome, .contact tr{border-bottom: dotted 2px #009FB4;}
}
.contact tr:last-child{background-image: none;}

.contact th{
    padding-left: 110px;
    width: 250px;
    vertical-align: top;
}
@media screen and (max-width: 640px){
.contact th{
    padding-left: 0;
    width: 175px;
    text-align: right;
}   
}

.contact input[type="text"], 
.contact input[type="email"], 
.contact input[type="tel"],
.contact input[type="number"], 
.contact textarea{
    background: #fff;
    background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
    border: 1px solid #d1d1d1;
    border-radius: 2px;
    color: #686868;
    padding: 5px;
    width: auto;
}
.contact input+input{
    margin-bottom: 10px;
}
.contact input[type="text"],
.contact input[type="email"],
.contact textarea{
    width: 100%;
}
.contact .mwform-zip-field input[type="text"]{
    width: 100px;
}
.contact .mwform-zip-field input[type="text"]:first-child{
    margin-left: 5px;
}

/* contactBtn ***************************************/
.form_footer{
    margin: 0 auto 100px;
    width: 90%;
}
@media screen and (max-width: 640px){
.form_footer {width: 100%;}
}

.form_footer input{
    height: 65px;
    font-size: 95%;
}
.form_footer input:hover{
    opacity:0.8;
    /*IE7Čşp*/
    filter:alpha(opacity=80);
    /*IE8p*/
    -ms-filter:"alpha(opacity=80)";
}

.contact input[name="submitConfirm"],
.contact input[name="submitBtn"],
.contact input[name="submitBack"],
.contact .resetBtn{
    width: 45%;
    border: none;
    border-radius: 5px;
}
@media screen and (max-width: 640px){
.contact input[name="submitConfirm"],
.contact input[name="submitBtn"],
.contact input[name="submitBack"],
.contact .resetBtn{
    width: 48%;
}
}

.contact input[name="submitConfirm"]{
    background: #CD0B49 !important;
}
.contact input[name="submitBtn"]{
    float: right;
    background: #CD0B49 !important;
}
.contact .resetBtn{
    float: right;
    color: #fff !important;
    font-size: 95%;
    font-weight: 700;
    line-height: 65px;
    letter-spacing: 0.046875em;
    text-align: center;
    background: #782038 !important;
    border-radius: 5px;
    text-transform: uppercase;
}
.contact .resetBtn:hover{
    opacity:0.8;
    /*IE7Čşp*/
    filter:alpha(opacity=80);
    /*IE8p*/
    -ms-filter:"alpha(opacity=80)";
}
.mw_wp_form_confirm .resetBtn{display: none !important;}

.contact input[name="submitBack"]{
    background: #782038 !important;
}