@charset "utf-8";
.rating img {
    width: 100%;
    display: block;
}
.rating {
    background: url("../img/bg.jpg") repeat left top;
    padding: 40px 0 100px;
}
.rating h1 {
    max-width: 900px;
    width: 90vw;
    margin: 0 auto 40px;
}
.rating h1 .logo_sp {
    display: none;
}
.rating article {
    background: #fff;
    max-width: 900px;
    width: 90vw;
    margin: 0 auto;
    border-radius: 10px;
    padding: 30px 25px;
}

.rating .ov table {
    margin: 0 0 15px 0;
    border-collapse: separate;
    border-spacing: 0px 15px;
}
.rating .ov table th {
    padding: 10px 5px;
    vertical-align: middle;
    text-align: center;
    overflow: visible;
    position: relative;
    font-weight: bold;
    width: 20%;
    font-size: 113%;
    color: #fff;
    text-shadow : 
        2px  2px 0px #030303,
        -2px  2px 0px #030303,
        2px -2px 0px #030303,
        -2px -2px 0px #030303,
        2px  0px 0px #030303,
        0px  2px 0px #030303,
        -2px  0px 0px #030303,
        0px -2px 0px #030303;
}
.rating .ov table th:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-width: 10px;
    margin-top: -10px;
}
.rating .ov table .ov-home th {
    background-color: #00be28;
}
.rating .ov table .ov-home th:after {
    border-left-color: #00be28;
}
.rating .ov table .ov-individual th {
    background-color: #0070be;
}
.rating .ov table .ov-individual th:after {
    border-left-color: #0070be;
}
.rating .ov table td {
    padding: 5px 0 3px 15px;
    line-height: 140%;
    letter-spacing: 0.1em;
}
.rating .ov table .ov-home td span {
    color: #009e21;
}
.rating .ov table .ov-individual td span {
    color: #0063a8;
}
.rating .ov p {
    background: #ffcaca;
    padding: 15px 10px;
    font-size: 110%;
    color: #030303;
    margin-bottom: 30px;
    text-align: center;
    line-height: 180%;
    font-weight: bold;
}
.rating .ov p span {
    font-weight: bold;
    font-size: 120%;
    color: red;
    line-height: 130%;
    text-shadow : 
        2px  2px 0px #fff,
        -2px  2px 0px #fff,
        2px -2px 0px #fff,
        -2px -2px 0px #fff,
        2px  0px 0px #fff,
        0px  2px 0px #fff,
        -2px  0px 0px #fff,
        0px -2px 0px #fff;
}
.rating h3 {
    margin: 0 0 30px 0;
    font-size: 200%;
    line-height: 150%;
    letter-spacing: 5px;
    font-weight: bold;
    text-align: center;
    color: #ffe410;
    text-shadow : 
        2px  2px 0px #030303,
        -2px  2px 0px #030303,
        2px -2px 0px #030303,
        -2px -2px 0px #030303,
        2px  0px 0px #030303,
        0px  2px 0px #030303,
        -2px  0px 0px #030303,
        0px -2px 0px #030303;
}
.rating .table-rate {
    width: 100%;
    border-collapse:separate;
    border-spacing: 0;
    margin: 0 0 5px 0;
}
.rating .table-rate tr {
    text-align: center;
}
.rating .table-rate tr th {
    background: #ec0000;
    color: #fff;
    padding: 20px;
    font-size: 150%;
    font-weight: bold;
    text-align: center;
}
.rating .table-rate tr th:first-child {
    border-radius: 20px 0 0 0;
}
.rating .table-rate tr th:last-child {
    border-radius: 0 20px 0 0;
}
.rating .table-rate tr td {
    font-weight: bold;
    padding: 20px 20px 15px 20px;
    border-bottom: 2px #030303 solid;
    width: 33%;
}
.rating .table-rate tr td .crown {
    color: red;
    font-size: 150%;
    position: relative;
    letter-spacing: 0.1em;
    left: 10px;
}
.rating .table-rate tr td .crown:before {
    content: "";
    position: absolute;
    background: url(../img/crown.png) no-repeat left center;
    display: block;
    width: 31px;
    height: 31px;
    background-size: cover;
    top: -4px;
    left: -39px;
}
.rating .table-rate tr td .per {
    display: block;
    margin-top: 12px;
    font-size: 210%;
}
.rating .table-rate tr td .same {
    font-size: 90%;
    font-weight: normal;
    margin-top: 10px;
    display: block;
}
.rating .table-rate tr td:first-child {
    border-left: 2px #030303 solid;
    border-radius: 0 0 0 20px;
}
.rating .table-rate tr td:last-child {
    border-radius: 0 0 20px 0;
    border-right: 2px #030303 solid;
}
.rating small {
    display: block;
    text-align: right;
    margin: 0 0 25px 0;
    font-size: 80%;
    line-height: 130%;
}
.rating .result {
    width: 90%;
    margin: 0 auto 60px auto;;
    line-height: 170%;
}
.rating .result span {
    font-weight: bold;
    font-size: 140%;
    background: linear-gradient(transparent 60%, #ffa286 0%);
    padding-bottom: 0;
}

.rating .calc {
    padding: 10px 15px 20px;
    display: block;
    margin: 0 0 25px 0;
}
.rating .calc aside {
    text-align: center;
    margin-bottom: 20px;
}
.rating .calc aside span {
    position: relative;
    display: inline-block;
    padding: 0 0.5em;
    font-size: 140%;
    font-weight: bold;
    width: 80%;
    line-height: 120%;
}
.rating .calc aside span:before,
.rating .calc aside span:after {
    position: absolute;
     top: 50%;
     content: '';
     width: 2em;
     height: 2px;
     background-color: black;
}
.rating .calc aside span:before{
    left:100%;
}
.rating .calc aside span:after {
    right: 100%;
}
.rating .calc img {
    padding: 0 0 30px 0;
}
.rating .calc .draw_pc {
    display: block;
}
.rating .calc .draw_sp {
    display: none;
}
.rating .calc div {
    background: #fff;
    border: 2px #030303 solid;
    position: relative;
    padding: 35px 12px 15px;
    line-height: 150%;
    width: 49%;
    float: left;
}
.rating .calc .house {
    margin: 0 1% 20px 0;
}
.rating .calc .individual {
    margin: 0 0 20px 1%;
}
.rating .calc div h2 {
    position: absolute;
    left: 50%;
    top: -20px;
    border: 2px #030303 solid;
    border-radius: 20px;
    padding: 8px 40px;
    margin: 0 auto 0 -100px;
    color: #fff;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
    letter-spacing: 3px;
    text-shadow : 
        2px  2px 0px #030303,
        -2px  2px 0px #030303,
        2px -2px 0px #030303,
        -2px -2px 0px #030303,
        2px  0px 0px #030303,
        0px  2px 0px #030303,
        -2px  0px 0px #030303,
        0px -2px 0px #030303;
}
.rating .house h2 {
    background-color: #00be28;
}
.rating .individual h2 {
    background-color: #0070be;
}
.rating .calc ul {
    font-weight: bold;
    margin: 0 0 25px 0;
}
.rating .calc ul li {
    line-height: 140%;
    text-align: center;
    background: #fff7b6;
    padding: 5px;
}
.rating .calc ul li span {
    font-size: 140%;
    font-weight: bold;
    color: red;
}
.rating .calc ul li:first-child {
    margin: 0 0 15px 0;
}
.rating .calc .more {
    clear: both;
    font-weight: bold;
    line-height: 160%;
    margin: 0 auto;
    padding: 15px 20px;
    background: #fff7b6;
    position: relative;
}

@media (max-width: 812px) {
.rating {
    font-size: 90%;
    padding-top: 20px;
}
.rating h1 {
    width: 95vw;
    margin-bottom: 20px;
}
.rating h1 .logo_pc {
    display: none;
}
.rating h1 .logo_sp {
    display: block;
}
.rating article {
    width: 95vw;
    padding: 20px 25px;
}
.rating .ov table th {
    width: 25%;
    font-size: 110%;
}
.rating .ov p {
    font-size: 110%;
    line-height: 140%;
}
.rating .ov p span {
    line-height: 140%;
}

.rating h3 {
    font-size: 4.2vw;
    margin: 0 0 20px 0;
}
.rating .table-rate tr th {
    font-size: 130%;
}
.rating .table-rate tr td .crown {
    font-size: 140%;
    left: 15px;
    letter-spacing: 0.1em;
}
.rating .table-rate tr td .crown:before {
    width: 32px;
    height: 32px;
    left: -40px;
}
.rating .table-rate tr td .per {
    margin-top: 8px;
    font-size: 190%;
}
.rating small {
    margin: 0 0 20px 0;
}
.rating .result {
    width: 100%;
    margin-bottom: 30px;
}

.rating .calc aside span {
    font-size: 2.7vw;
    width: 95%;
}
.rating .calc aside span:before, .rating .calc aside span:after {
    width: 1.5em;
}
.rating .calc {
    padding-top: 15px;
}
.rating .calc div h2 {
    padding: 6px 20px;
    font-size: 110%;
    left: 50%;
    margin-left: -80px;
    width: 160px;
}
.rating .calc .house {
    margin: 0 1% 15px 0;
}
.rating .calc .individual {
    margin: 0 0 15px 1%;
}
.rating .calc ul {
    margin: 0 0 15px 0;
}
.rating .calc .more {
    width: 100%;
}




}

@media (max-width: 480px) {
.rating {
    font-size: 90%;
    padding-top: 20px;
}
.rating h1 {
    width: 98%;
    margin-bottom: 20px;
}
.rating article {
    width: 98%;
    padding: 10px 10px;
}
.rating .ov table th {
    display: block;
    width: 100%;
    font-size: 110%;
    letter-spacing: 0.25em;
}
.rating .ov table th:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -15px;
    border: 15px solid transparent;
    margin-top: 0;
}
.rating .ov table .ov-home th:after {
    border-left-color: transparent;
    border-top: 15px solid #00be28;
}
.rating .ov table .ov-individual th:after {
    border-left-color: transparent;
    border-top: 15px solid #0070be;
}


.rating .ov table td {
    display: block;
    width: 100%;
    padding: 20px 0 3px 15px;
}
.rating .ov p {
    font-size: 100%;
}
.rating .ov p span {
    font-size: 110%;
    line-height: 150%;
}

.rating h3 {
    font-size: 130%;
    margin: 0 0 10px 0;
}
.rating h3 br {
    display: none;
}
.rating .table-rate tr th {
    padding: 20px 10px;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
}
.rating .table-rate tr td {
    padding: 16px 10px 10px 10px;
}
.rating .table-rate tr td .crown {
    font-size: 120%;
    left: 12px;
}
.rating .table-rate tr td .crown:before {
    width: 27px;
    height: 27px;
    top: -5px;
    left: -32px;
}
.rating .table-rate tr td .per {
    margin-top: 8px;
    font-size: 150%;
}
.rating small {
    font-size: 60%;
}

.rating .calc aside span {
    font-size: 4.5vw;
    width: 90%;
}
.rating .calc {
    padding: 10px 10px 20px;
}
.rating .calc div {
    float: none;
    width: 100%;
}
.rating .calc .draw_pc {
    display: none;
}
.rating .calc .draw_sp {
    display: block;
}
.rating .calc .house {
    margin: 0 0 30px 0;
}
.rating .calc .individual {
    margin: 0 0 15px 0;
}

}