/*以下あなたの住まいのリフォーム度チェック*/

.howto006list ul,
.howto006list ul li {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

.howto006list li {
    line-height: 18px;
    padding: 10px 0 10px 48px;
    margin: 10px 0;
    background: url("../../howto/006/checkmark.png") left center no-repeat;
}


/*以下リフォームの時期の表*/

.pg_howto_table table {
    border-top: 1px solid #4f4d47;
    border-right: 1px solid #4f4d47;
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
}

.pg_howto_table th,
.pg_howto_table td {
    border-bottom: 1px solid #4f4d47;
    border-left: 1px solid #4f4d47;
    text-align: center;
    padding: 5px;
}

.pg_howto_table th {
    background-color: #ccc;
}

@media only screen and (max-width: 640px) {
    .pg_howto_table table {
        width: 100%;
        border: none;
        padding: 10px;
    }
    .pg_howto_table thead {
        display: none;
    }
    .pg_howto_table tr {
        border-top: 1px solid #4f4d47;
        display: block;
        margin-bottom: 20px;
    }
    .pg_howto_table td {
        border-right: 1px solid #4f4d47;
        border-bottom: none;
        display: block;
        padding: 0;
    }
    /* tdのデザイン */
    .pg_howto_table td:nth-of-type(1) {
        background-color: #f23064;
        color: #fff;
        font-weight: bolder;
    }
    .pg_howto_table td:last-child {
        border-bottom: 1px solid #4f4d47;
    }
    /*td:beforeのデザイン*/
    .pg_howto_table td:before {
        background-color: #e6e6e6;
        color: #4f4d47;
        display: block;
    }
    /* contentでタイトルを追加 */
    .pg_howto_table td:nth-of-type(1):before {
        content: "塗料";
    }
    .pg_howto_table td:nth-of-type(2):before {
        content: "特徴";
    }
    .pg_howto_table td:nth-of-type(3):before {
        content: "耐久性";
    }
    .pg_howto_table td:nth-of-type(4):before {
        content: "価格";
    }
    .pg_howto_table td:nth-of-type(5):before {
        content: "詳しく見る";
    }
}


/*以下機能比較の表*/
.pg_howto_table_recommend table {
    border-top: 1px solid #4f4d47;
    border-right: 1px solid #4f4d47;
    width: 100%;
    border-spacing: 0;
    table-layout: fixed;
}

.pg_howto_table_recommend th,
.pg_howto_table_recommend td {
    border-bottom: 1px solid #4f4d47;
    border-left: 1px solid #4f4d47;
    text-align: center;
    padding: 5px;
}

.pg_howto_table_recommend th {
    background-color: #ccc;
}

@media only screen and (max-width: 640px) {
    .pg_howto_table_recommend table {
        width: 100%;
        border: none;
        padding: 10px;
    }
    .pg_howto_table_recommend thead {
        display: none;
    }
    .pg_howto_table_recommend tr {
        border-top: 1px solid #4f4d47;
        display: block;
        margin-bottom: 20px;
    }
    .pg_howto_table_recommend td {
        border-right: 1px solid #4f4d47;
        border-bottom: none;
        display: block;
        padding: 0;
    }
    /* tdのデザイン */
    .pg_howto_table_recommend td:nth-of-type(1) {
        background-color: #f23064;
        color: #fff;
        font-weight: bolder;
    }
    .pg_howto_table_recommend td:last-child {
        border-bottom: 1px solid #4f4d47;
    }
    /*td:beforeのデザイン*/
    .pg_howto_table_recommend td:before {
        background-color: #e6e6e6;
        color: #4f4d47;
        display: block;
    }
    /* contentでタイトルを追加 */
    .pg_howto_table_recommend td:nth-of-type(1):before {
        content: "塗料";
    }
    .pg_howto_table_recommend td:nth-of-type(2):before {
        content: "耐久性";
    }
    .pg_howto_table_recommend td:nth-of-type(3):before {
        content: "防水性";
    }
    .pg_howto_table_recommend td:nth-of-type(4):before {
        content: "伸縮性";
    }
    .pg_howto_table_recommend td:nth-of-type(5):before {
        content: "美観性";
    }
    .pg_howto_table_recommend td:nth-of-type(6):before {
        content: "防カビ性";
    }
    .pg_howto_table_recommend td:nth-of-type(7):before {
        content: "メリット";
    }
    .pg_howto_table_recommend td:nth-of-type(8):before {
        content: "デメリット";
    }
}


/************************index page************************/

.howto_index {
    border: 1px solid #f23064;
    max-width: 343px;
    width: 98%;
    float: left;
    margin: 1.36986301369863%;
    position: relative;
}

#howto h3 {
    border: 0;
    padding: 0;
    margin: 0;
    line-height: 2em;
    text-align: center;
    font-size: 17px;
    color: #ffffff;
    background: #f23064;
}

#howto a:link,
#howto a:visited,
#howto a:hover,
#howto a:active {
    text-decoration: none;
}

.howto_index_text {
    padding: 10px;
    overflow: hidden;
    margin-bottom: 50px;
}

.howto_index img {
    display: block;
    float: left;
    margin-right: 10px;
}

.linksub {
    display: block;
    padding: 0.5em 0;
    width: 90%;
    margin: 0 auto;
    border: 1px solid #f23064;
    text-align: center;
    margin-top: 15px;
    position: absolute;
    bottom: 10px;
}

.linksub:link,
.linksub:visited,
.linksub:hover,
.linksub:active {
    font-weight: bold;
    color: #2b2b2b;
}

.linksub:hover {
    opacity: 0.6;
}

@media screen and (max-width:730px) {
    .howto_index_text {
        max-width: 98%;
        float: left;
        margin-left: auto;
        margin-right: auto;
        height: auto!important;
        overflow: visible;
    }
    .howto_index {
        width: 98%;
        max-width: 98%;
    }
}