﻿.pg_flow {
        counter-reset: counter;
    }
    
    #main h3.pg_flow_h,
    #main h3.pg_flow_h_free {
        clear: both;
        padding: 2%;
        margin: 2% 0;
        color: #000000;
        border: 1px solid #72462a;
        border-width: 1px 0;
        font-size: 18px;
        letter-spacing: 1px;
        border-top: 0;
        font-weight: bold;
    }
    
    #main h3.pg_flow_h:before,
    #main h3.pg_flow_h_free:before {
        counter-increment: counter;
        content: "Step" counter(counter)". ";
        color: #72462a;
        font-size: 1.2em;
    }
    
    #main h3.pg_flow_h_free:after {
        content: "無料";
        background-color: #ff7e03;
        padding: 1% 3% 0.5% 3%;
        margin: 0 2%;
        color: #fff;
        float:right;
    }
    
    @media screen and (max-width: 640px) {
         #main h3.pg_flow_h,
    #main h3.pg_flow_h_free {
            font-size: 15px;
        }
        
         #main h3.pg_flow_h:before,
    #main h3.pg_flow_h_free:before {
        display: block;
        }
    }


.pg_reform {
        counter-reset: none;
    }

    #main h3.pg_reform_h,
    #main h3.pg_reform_h_free {
        clear: both;
        padding: 2%;
        margin: 2% 0;
        color: #000000;
        border: 1px solid #72462a;
        border-width: 1px 0;
        font-size: 18px;
        letter-spacing: 1px;
        border-top: 0;
        font-weight: bold;
    }
    
    #main h3.pg_reform_h_:before,
    #main h3.pg_reform_h_free:before {
        counter-increment: counter; 
        content: "Step" counter(counter)". ";
        color: #72462a;
        font-size: 1.2em;
    }
    
    #main h3.pg_reform_h_free:after {
        content: "無料";
        background-color: #ff7e03;
        padding: 1% 3% 0.5% 3%;
        margin: 0 2%;
        color: #fff;
        float:right;
    }
    
    @media screen and (max-width: 640px) {
         #main h3.pg_reform_h_,
    #main h3.pg_reform_h_free {
            font-size: 15px;
        }
        
         #main h3.pg_reform_h_:before,
    #main h3.pg_reform_h_free:before {
        display: block;
        }
    }



@media screen and (max-width: 460px){
.pg_flow_none {display:none}
}
.pg_menu_mrgtop{margin-top:10px;}
.pg_menu_name{display: block;text-align: right;}
.pg_cnt_box_inner {max-width: 730px;padding: 0 0px;box-sizing: border-box;}
.pg_menu_1per2 li {display:block;width: 49%;}
.pg_menu_1per2 li:first-child {float: left}
.pg_menu_1per2 li:nth-child(2) {float: right}




    
    .pg_flow_list{
        padding: 2% 10px 2% 0;
    }
    
    .list_730 {
        box-sizing: border-box;
    }
    
    .list_730 li {
        float: left;
        box-sizing: border-box;
        padding: 1%;
        margin: 0 0 10px 10px;
    }
    
    @media screen and (max-width: 1024px) {
        .pg_flow_list {
            padding: 2% 2%;
        }
        .list_730 li {
            margin: 1% 0 0 1%;
        }
    }
    
    @media screen and (max-width: 640px) {
        .pg_flow_list {
            padding: 1% 2%;
        }
        .list_730 li {
            margin: 1% 0 0 1%;
        }
    }
    /* one item */
    
    .list_730 li:first-child:nth-last-child(1) {
        max-width: 10%;
    }
    /* two items */
    
    .list_730 li:first-child:nth-last-child(2),
    .list_730 li:first-child:nth-last-child(2) ~ li {
        width: 350px;
    }
    /* three items */
    
    .list_730 li:first-child:nth-last-child(3),
    .list_730 li:first-child:nth-last-child(3) ~ li {
        width: 230px;
    }
    /* four items */
    
    .list_730 li:first-child:nth-last-child(4),
    .list_730 li:first-child:nth-last-child(4) ~ li {
        width: 170px;
    }
    /* five items */
    
    .list_730 li:first-child:nth-last-child(5),
    .list_730 li:first-child:nth-last-child(5) ~ li:nth-last-child(4) {
        width: 350px;
    }
    
    .list_730 li:nth-child(3),
    .list_730 li:nth-child(4),
    .list_730 li:nth-child(5) {
        width: 230px;
    }
    /* six items */
    
    .list_730 li:first-child:nth-last-child(6),
    .list_730 li:first-child:nth-last-child(6) ~ li {
        width: 230px;
    }
    
    @media screen and (max-width: 1024px) {
        /* one item */
        .list_730 li:first-child:nth-last-child(1) {
            max-width: 10%;
        }
        /* two items */
        .list_730 li:first-child:nth-last-child(2),
        .list_730 li:first-child:nth-last-child(2) ~ li {
            width: 49%;
        }
        /* three items */
        .list_730 li:first-child:nth-last-child(3),
        .list_730 li:first-child:nth-last-child(3) ~ li {
            width: 32.3%;
        }
        /* four items */
        .list_730 li:first-child:nth-last-child(4),
        .list_730 li:first-child:nth-last-child(4) ~ li {
            width: 24%;
        }
        /* five items */
        .list_730 li:first-child:nth-last-child(5),
        .list_730 li:first-child:nth-last-child(5) ~ li:nth-last-child(4) {
            width: 49%;
        }
        .list_730 li:nth-child(3),
        .list_730 li:nth-child(4),
        .list_730 li:nth-child(5) {
            width: 32.3%;
        }
        /* six items */
        .list_730 li:first-child:nth-last-child(6),
        .list_730 li:first-child:nth-last-child(6) ~ li {
            width: 32.3%;
        }
    }
    /*バナー*/
    
    .banner {
        line-height: 1.5;
        list-style: outside none none;
        overflow: hidden;
    }
    
    .banner li {
        background: #fff; none repeat scroll 0 0;
        box-shadow: 0 0 0 1px #ff7e03 inset, 0 0 0 4px #fff inset;
        font-weight: bolder;
        text-align: center;
    }
    
    .banner li:hover {
        opacity: 0.6;
    }
    
    .banner a {
        color: #ff7e03;
        text-decoration: none;
    }
    
    .banner a span {
        height: 20px;
        display: table-cell;
        max-width: 10%;
        padding: 15px;
        vertical-align: middle;
        width: 980px;
    }
    
    @media screen and(max-width:640px) {
        .banner a span {
            padding: 10px;
        }
    }
    
    /* カテゴリー一覧に戻るリンク */
    
    .pg_qa_ichiran {
        float: right;
    }

    .pg_qa_list ul{
    display:-webkit-box;/*--- Androidブラウザ用 ---*/
    display:-ms-flexbox;/*--- IE10 ---*/
    display: -webkit-flex;/*--- safari（PC）用 ---*/
    display:flex;
    }
