/*===============================================
  画面の横幅が767pxまで
===============================================*/
@media only screen and (max-width:767px){

    img{
        max-width: 100%;
        height: auto;
        width /***/:auto;
    }

    #container{
        width:100%;
    }

    /**〜以下、画面の横幅が767pxまでの場合のスタイル記入〜**/
    /********** 全画面共通 **********/
    .WC_shopWidth{width:100% !important;}
    .WC_poweredByMessage{width:100%;}

    #WC_container{
        padding: 5px;
    }


    /* poweredByを2段に変更 */
    .WC_poweredBy{
        position: static;
        height: auto;
    }

    .WC_poweredByMessage{
        position: static;
    }

    /* テーブル関連の一括指定 */
    table.WC_tableVertType,table.WC_tableVertType th,table.WC_tableVertType td{
        border: none;
        table-layout: fixed;
    }

    .WC_tableHoriType th,.WC_tableHoriType td,.WC_tableVertType th,.WC_tableVertType td{ display: block;}
    .WC_cartTbl td{ display: block;}

    .WC_tableVertType tbody tr td:last-child{
        padding-bottom: 1em;
    }


    /*** 表示欄への指定 ***/
    #WC_cartTbl td{
        border-bottom:#CCCCCC 1px dotted;
    }

    #WC_cartTbl td:last-child{
        border-bottom:#CCCCCC 1px solid;
    }


    /* 最初のtr（見出し）は非表示にする */
    #WC_cartTbl tbody tr:first-child{
        display: none;
    }

    /* 2つ目のtrの指定 */
    #WC_cartTbl tbody tr:nth-child(2){
        width: 100%;
        max-width: 100%;
    }

    #WC_cartTbl .td1_1,#WC_cartTbl .td1_2,#WC_cartTbl .td1_3,#WC_cartTbl .td1_4{
        padding: 0;
        padding-top: 1em;
        padding-right: 1em;
        padding-bottom: 0.5em;
        padding-left: 1em;
        min-height: 2em;
        text-align: left;
            word-break: break-all;    
            word-wrap: break-word; 
    }

    .WC_tableHoriType .td1_1 p{
        padding-left: 0;
        display: inline !important;
            word-break: break-all;        
            word-wrap: break-word;     
    }

    #WC_paymentTypeInput .WC_paymentContent p{
        padding-left: 0;
        margin-bottom: 0;
    }

    #WC_cartTbl .td1_1:before{ content: "商品名　";}
    #WC_cartTbl .td1_2:before{ content: "税込単価(円)　";}
    #WC_cartTbl .td1_3:before{ content: "数量　";}
    #WC_cartTbl .td1_4:before{ content: "小計(円)　";}


    /* 価格合計欄の横幅設定 */
    #WC_cartTbl .WC_cartItemFeeSum, .WC_cartFreightFee, .WC_cartCommissionFee, #WC_cartTbl .WC_cartTotalSum {
        width: 13em;
    }

    /* 決済金額欄のボーダー */
    #WC_cartTbl tbody tr:last-child th,#WC_cartTbl tbody tr:last-child td{
        border: none;
    }

    /*** 入力欄への指定 ***/
    th.WC_mustInput > span, th.WC_noMustInput > span {
        margin-left: 11px;
        text-indent: 0px;
    }   

    /********** 完了画面 **********/
    table#WC_orderNumInput{
        border:#CCCCCC 1px solid;
    }

    table#WC_orderNumInput tr td:last-child{
        padding-bottom: 0;
    }

    .WC_LoginInput input {
        width: 100px;
    }

/* レスポンシブ対応のために調整 START
*********************************************************************/
    .WC_tableVertType {
        font-size: 18px;
        line-height: 140%;
    }

    .WC_tableVertType .WC_mustInput {
        font-size: 20px;
        font-weight: normal;
        padding: 10px 0 10px 10px;
    }

    .WC_tableVertType .WC_noMustInput {
        font-size: 20px;
        font-weight: normal;
        padding: 10px 0 10px 10px;
    }

    input[type="text"], input[type="tel"] {
        width: 97%;
        height: 36px;
        background: #ffffff;
        border: 1px solid #bebebe;
        font-size: 1em;
        text-indent: 0.7em;
    }

    input[type="text"]:focus, input[type="tel"]:focus {
        background: #edf4ff;
        border: 1px solid #4881d9;
    }

    #WC_tblPageExplainLayout, #WC_tblItemDetailLayout .WC_Explain {
        font-size: 20px;
        line-height: 140%;
    }

    .WC_headerMessage {
        /* For IE */
        min-height: auto;
        position: static;
        width: auto;
        top: auto;
        right: auto;
        text-align: left;
        /* Other Than IE */
        min-height: initial;
        position: initial;
        width: initial;
        top: initial;
        right: initial;
        text-align: initial;
    }

    h1 {
        margin-bottom: 20px;
    }

    .cartItemName {
        text-align: right;
    }

    /*
    #WC_buyerInput,#WC_addInput{
        box-sizing:border-box;
    }
    */

/* レスポンシブ対応のために調整 END
*********************************************************************/
}
