﻿h2.rating {
    padding: 0.8em 0.5em; /*文字の上下 左右の余白*/
    color: #494949; /*文字色*/
    background: #f4f4f4; /*背景色*/
    border-left: solid 6px #7db4e6; /*左線*/
    /*border-right: solid 5px #7db4e6; /*左線*/
    /*border-top: solid 3px #d7d7d7; /*下線*/
    border-bottom: solid 3px #d7d7d7; /*下線*/
    font-size: 1.4em;
    display: flex;
    flex-direction: row;
    align-items: center;
}

h3.rating {
    position: relative;
    border-top: solid 2px #80c8d1;
    border-bottom: solid 2px #80c8d1;
    background: #f4f4f4;
    line-height: 1.4;
    padding: 0.6em 0.8em;
    margin: 2em 0 0.5em;
}

    h3.rating:after {
        /*タブ*/
        position: absolute;
        font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
        font-weight: 900;
        content: '\f0a7\ POINT';
        background: #80c8d1;
        color: #fff;
        left: 0px;
        bottom: 100%;
        border-radius: 5px 5px 0 0;
        padding: 5px 7px 3px;
        font-size: 0.7em;
        line-height: 1;
        letter-spacing: 0.05em;
    }

div.rating_area {
    color: #364e96; /*文字色*/
    padding: 0.5em 0; /*上下の余白*/
    border-top: solid 3px #364e96; /*上線*/
    border-bottom: solid 3px #364e96; /*下線*/
    margin: 10px 0;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: row;
}

/***　おしゃれテーブル１　パステルカラー ***/
.osare-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    border: solid 1px #9e9e9e !important;
}

    .osare-table td {
        border: solid 1px #9e9e9e !important;
        text-align: center;
        font-size: 1em;
        font-kerning: normal;
        padding: 14px 0;
    }

    /* ヘッダー */
    .osare-table th {
        border: solid 1px #9e9e9e !important;
        background:#c1c1c1;
        font-size: 1em;
        font-weight:normal;
        padding: 14px 0;
        white-space: nowrap;
        width: 30%;
        font-kerning: normal;
    }

    /* 最終行のボーダーをなくす */
    .osare-table tr:first-child th{
            border-radius: 10px 0 0 0;
    }
    .osare-table tr:first-child td {
            border-radius: 0 10px 0 0;
    }
    .osare-table tr:last-child th{
            border-radius: 0 0 0 10px;
    }
    .osare-table tr:last-child td {
            border-radius: 0 0 10px 0;
    }

div.rating_bottom {
    padding-bottom: 80px;
}

span.rating_circle {
    display: inline-block;
    background: #506f04;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 1em;
    text-align: center;
    line-height: 36px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.5);
    margin: 0 10px 0 0;
}

div.rating_tag {
    text-align: center;
    padding: 4px 10px 4px 10px;
}

/* スマホ調整 */
@media screen and (max-width:1120px) {
    h2.rating {
        /*flex-direction: column;*/
    }

    .osare-table th,
    .osare-table td {
        padding: 8px 0;
        font-size: 0.8em;
    }

    div.rating_tag {
        text-align: left;
    }

    div.rating_area {
        padding: 0; /*上下の余白*/
        margin: 0 0 10px 0;
        flex-direction: column-reverse;
    }

    div.rating_bottom {
        padding-bottom: 40px;
    }
}
