/**************************************************************************************************************


    お問い合せ / Contact


**************************************************************************************************************/

#IndexBox{
  background-image: url(../images/contact/bg.jpg);
  background-attachment: fixed;
  background-position:  0 50%;
  background-size: 100% auto;
  background-repeat: no-repeat;
}

#IndexBox #IndexBoxInner{
    background-color: rgba(0,0,0,.5);
}

#IndexBox #IndexBoxInner h2.title{
    color: #ffffff;
}

#ContactBox input,
#ContactBox textarea{
     border: none;
     background-color: #efefef;
     width: 100%;
     padding: 10px 7px;
     font-family: "Hiragino Maru Gothic W5 JIS2004", "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, Verdana, "ＭＳ Ｐゴシック", "MS P Gothic", san-serif;
}

#ContactBox input[type=checkbox]{
    width: auto;
}

#ContactBox textarea{
    height: 137px;
    padding: 10px 10px;
}

#ContactBox{ padding: 0 0 0 0; }
    #ContactBox dl{
        margin-bottom: 12px;
    }
    #ContactBox dl:last-child{
        margin-bottom: 0;
    }
    
    #ContactBox dl dt{ font-size: 16px; line-height: 26px; margin-bottom: 5px; }

    #ContactBoxForm .error{
        color: #cc0000;
    }


    #ContactBoxFormPrivacy{
        width:100%;
        background: #ffffff;
        overflow: auto;
        height: 300px;
        border: #aaaaaa 1px solid;
        margin: 25px 0 10px 0;
    }


    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner{
        display: table;
        width:96%;
        height: 100%;
        padding: 2%;
    }

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner .tit{
        text-align: center;
        font-size: 18px;
        margin-bottom: 10px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner .msg{
        margin-bottom: 10px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl{
        margin-bottom: 12px;
    }

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl dt{
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 5px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner dl dd{
        padding-left: 12px;
    }
    
    

    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner a.btnClose{
        display: block;
        width: 120px;
        padding: 7px 10px;
        margin: 30px auto 0 auto;
        border: #999999 2px solid;
      border-radius: 25px;
        text-align: center;
        font-size: 14px;
    }
    #ContactBoxFormPrivacy #ContactBoxFormPrivacyInner a.btnClose span{
        background: url(../images/icon/ico_form_close.svg) no-repeat 0 50%;
        background-size: 12px auto;
        display: block;
    }


    #ContactBoxFormPrivacyTxts{
        width: 100%;
    margin:0 auto;
    padding:0;
    }


    
    /* 個人情報保護方針の同意 */
    #ContactBoxForm p.privacy{ margin: 10px 0 0 0; padding: 7px 0; }
    #ContactBoxForm p.privacy a{ text-decoration: underline; }
    #ContactBoxForm p.privacy label{ display: block; cursor: pointer; }











    
    
    #ContactBox-Confirm{
        display: table;
        width: 100%;
        position: fixed;
        height: 100%;
        z-index: 999999;
        top: 0;
        left: 0;
        background: rgba(0,0,0,0.3);
        
    }
    
    
    #ContactBox-Confirm-MessageBox{
        background-color: #ffffff;
      border-radius: 5px;
        padding: 30px 15px;
        
    }
    
    
    #ContactBox-Confirm-MessageBox .ContactBox-Confirm-message{
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }
    

    #ContactBox-Confirm-MessageBox ul li span{
        text-align: center;
        padding: 10px 0;
        display: block;
        cursor: pointer;
        color: #ffffff;
        border-radius: 5px;
        transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -webkit-transition: 0.3s ease-in-out;
    }

    #ContactBox-Confirm-MessageBox ul li span.button-y{ background-color: #4cb05e; }
    #ContactBox-Confirm-MessageBox ul li span.button-y:hover{ background-color: #5cc06e; }
    
    #ContactBox-Confirm-MessageBox ul li span.button-n{ background-color: #666666; }
    #ContactBox-Confirm-MessageBox ul li span.button-n:hover{ background-color: #767676; }



    #ContactBoxFormComplete{
        /*
        position: absolute;
        top: 0;
        left: 0;
        */
        width:100%;
        /*height: 100%;*/
        background: #ffffff;
        /*z-index: 100;*/
    }


    #ContactBoxFormComplete #ContactBoxFormCompleteInner{
        display: table;
        width:100%;
        /*height: 100%;*/
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner p{
        display: table-cell;
        vertical-align: middle;
        padding: 0 20px;
        text-align: center;
    }

    #ContactBoxFormComplete #ContactBoxFormCompleteInner p span.tit{
        display: block;
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }


    #ContactBoxFormComplete #ContactBoxFormCompleteInner a{
        display: block;
        width: 120px;
        padding: 7px 10px;
        margin: 30px auto 0 auto;
        border: #999999 2px solid;
      border-radius: 25px;
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner a span{
        background: url(../images/icon/ico_form_close.svg) no-repeat 0 50%;
        background-size: 12px auto;
        display: block;
    }













    
  
/*=======================================================================================================================

    PC

=======================================================================================================================*/

@media screen and (min-width:640px){
    
    
    /* エラー時のページ内アンカー
    -------------------------------------------------------------------------------------------------------------------*/
    .anchor{ position: absolute; margin-top: -80px; }
    
    
    #ContactBoxForm{ padding: 20px; position: relative; }

    #ContactBoxInner{ width: 980px; background-color: #ffffff; margin: 30px auto 0 auto; display: table; table-layout: fixed; }
    
    
    /* メッセージ
    -------------------------------------------------------------------------------------------------------------------*/
    #ContactMessage{ margin-bottom: 35px; }
    #ContactMessage .message{ font-size: 20px; line-height: 36px; text-align: center; }
    #ContactMessage .caution{ display: table; margin: 15px auto 0 auto; }
        
    
    /* 確認画面
    -------------------------------------------------------------------------------------------------------------------*/
    #ContactBox-Confirm-Inner{ display: table-cell; vertical-align: middle; width: 500px; margin: 0 auto; padding: 0 10px; }
    #ContactBox-Confirm-Inner #ContactBox-Confirm-MessageBox ul{ display: table; width: 100%; table-layout: fixed; margin-top: 15px; }
    #ContactBox-Confirm-Inner #ContactBox-Confirm-MessageBox ul li{ display: table-cell; padding: 0 10px; }
    #ContactBox-Confirm-Inner #ContactBox-Confirm-MessageBox ul li:first-child{ padding: 0 5px 0 0; }
    #ContactBox-Confirm-Inner #ContactBox-Confirm-MessageBox ul li:last-child{ padding: 0 0 0 5px; }
    
    
    
    /* 送信ボタン
    -------------------------------------------------------------------------------------------------------------------*/
    .btnSend{ display: block; margin: 15px auto 0 auto; }
    .btnSend p{ width: 200px; display: block; margin: 0 auto; position: relative; }
    .btnSend .loading{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../images/icon/ico_form_loader.gif) no-repeat 50% 50% rgba(237, 237, 237, 0.9);
    }
    .btnSend p a{
        display: block;
        padding: 10px 0;
        text-align: center;
        border: #4cb05e 3px solid;
        text-decoration: none;
        background-color: #4cb05e;
        color: #ffffff;
        border-radius: 5px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }
    .btnSend p a:hover { background-color: #ffffff; border-color: #4cb05e; color: #4cb05e; }

    
}  
    














/************************************************************************************************************************

    SP

************************************************************************************************************************/

@media screen and (max-width:639px){
    
    .anchor{ position: absolute; margin-top: -60px; }



    #ContactBoxInner{
        background-color: #ffffff;
        margin: 30px 10px 30px 10px;
        overflow: hidden;
        display: table;
        table-layout: fixed;
    }

    #ContactBox-Confirm-Inner{
        display: table-cell;
    vertical-align: middle;
    width: 100%;
    margin: 0 auto;
        padding: 0 10px;
    }




    
    #ContactMessage{ margin-bottom: 35px; }
    #ContactMessage .message{ font-size: 16px; line-height: 28px; text-align: center; }
    #ContactMessage .caution{
        margin: 15px 10px 0 10px;
        font-size: 12px;
        line-height: 20px;
    }
    
    
    
    .btnSend p{
        display: block;
        margin: 10px;
        position: relative;
    }
    
    .btnSend a{
        display: block;
        padding: 10px 0;
        text-align: center;
        border: #4cb05e 3px solid;
        text-decoration: none;
        outline: none;
        background-color: #4cb05e;
        color: #ffffff;
        position: relative;
        z-index: 2;
        border-radius: 5px;
    }
    

    

    #ContactBoxFormPrivacy{
        width:99%;
        background: #ffffff;
        overflow: auto;
        height: 200px;
        border: #aaaaaa 1px solid;
        margin: 25px 0 10px 0;
    }
    
    #ContactBox-Confirm-MessageBox .ContactBox-Confirm-message{
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    
    
    #ContactBox-Confirm-MessageBox ul li:first-child{ margin-bottom: 10px; }
    


    #ContactBoxFormComplete #ContactBoxFormCompleteInner{
        display: table;
        width:100%;
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner p{
        display: table-cell;
        vertical-align: middle;
        padding: 0 20px;
        text-align: center;
        font-size: 12px;
        line-height: 20px;
    }

    #ContactBoxFormComplete #ContactBoxFormCompleteInner p span.tit{
        display: block;
        text-align: center;
        font-size: 16px;
        margin-bottom: 20px;
    }


    #ContactBoxFormComplete #ContactBoxFormCompleteInner a{
        display: block;
        width: 120px;
        padding: 7px 10px;
        margin: 30px auto 0 auto;
        border: #999999 2px solid;
      border-radius: 25px;
    }
    #ContactBoxFormComplete #ContactBoxFormCompleteInner a span{
        background: url(../images/icon/ico_form_close.svg) no-repeat 0 50%;
        background-size: 12px auto;
        display: block;
    }

    
    
    
    
}