@charset "utf-8";

section{
    border-bottom: none;
}
table,
th,
td{
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}
select,
input[type="text"]{
    width: 90%;
    background-color: #f4fbfb;
}
input[type="text"]{
    margin-right: 5px;
}
select.ng-dirty.ng-invalid,
input[type="text"].ng-dirty.ng-invalid{
    background: orange;
}
select.ng-pristine:-moz-ui-invalid,
input[type="text"].ng-pristine:-moz-ui-invalid{
  box-shadow:none;
}

.button ul{
    width: 100%;
}
input[type="submit"]{
    background-color: #333;
    font-size: 100%;
}
input[type="submit"]:hover{
    background-color: #000;
}

.simulation{
    background-color: #d3eeef;
    border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
}
p.attention{
    margin-bottom: 15px;
    padding-left: 1em;
    text-indent: -1em;
    font-size: 90%;
}
.simulation-box h2,
.result-box h2{
    background-color: #3D8D8B;
    background-repeat: no-repeat;
    -webkit-background-size: 25px 25px;
    -moz-background-size: 25px 25px;
    -o-background-size: 25px 25px;
    -ms-background-size: 25px 25px;
    background-size: 25px 25px;
    font-weight: bold;
    color: #FFF;
}
.simulation-box h2{
    margin-bottom: 0;
    background-image: url(/static/image/simulation/icon-setting.png);
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
}
.result-box h2{
    background-image: url(/static/image/simulation/icon-result.png);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.setting{
    position: relative;
    background: #FFF;
    border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
}
.setting:after{
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-top-color: #254745;
    border-width: 35px;
    margin-left: -35px;
}
.result{
    background: #FFF;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
.terms dt,
.terms dd{
    display: table-cell;
    vertical-align: middle;
}
.terms dt{
    padding: 2px 7px;
    background: #3D8D8B;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #FFF;
}
.terms dd{
    padding: 2px 20px 2px 7px;
}

.result .sale,
.result .rent,
.result .sublease{
    margin-bottom: 15px;
    padding-bottom: 15px;
}
.result dt{
    background-color: #f7f7f7;
    background-repeat: no-repeat;
}
.result .sale dt{background-image: url(/static/image/akiyabank/icon-sale.png);}
.result .rent dt{background-image: url(/static/image/picture/rent.png);}
.result .sublease dt{background-image: url(/static/image/picture/sublease.png);}
.result .solarpower dt{background-image: url(/static/image/picture/solarpower.png);}
.result .price{
    font-weight: bold;
    text-align: right;
    color: #f1852d;
}
.result .price span{
    margin-right: 3px;
    font-weight: bold;
}

.inq li a,.inq li a:hover,.inq li a:visited{
    color: #FFF;
    text-decoration: none;
}
.inq li a{
    display: block;
    padding: 5px 15px 5px 40px;
    background-color: #333;
    background-image: url(/static/image/icon/mail.png);
    background-repeat: no-repeat;
    -webkit-background-size: 18px 13px;
    -moz-background-size: 18px 13px;
    -o-background-size: 18px 13px;
    -ms-background-size: 18px 13px;
    background-size: 18px 13px;
    font-size: 95%;
    text-align: center;
}
.inq li a:hover{
    background-color: #000;
}

p.sub{
    float: left;
    margin: 0;
    font-size: 80%;
    color: #3D8D8B;
    text-indent: 0;
}
ul.link{
    float: right;
}
.link li{
    margin-bottom: 0;
    font-size: 80%;
    text-align: right;
}
.link li a{
    position: relative;
    padding-right: 12px;
}
.link li a:after{
    content:"";
    display: block;
    width: 7px;
    height: 7px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    right: 0;
    top: 39%;
}

.txt{
    font-size: 80%;
}
.txt dl{
    margin-bottom: 8px;
}
.txt dl:last-child{
    margin-bottom: 0;
}
.txt dt{
    font-size: 105%;
    font-weight: bold;
}
.txt dd p{
    text-indent: 0;
}

/*--Large screens--*/
@media print, screen and (min-width: 40.063em){
    .simulation{
        padding: 25px 40px 35px 40px;
    }
    .simulation-box h2,
    .result-box h2{
        padding: 7px 15px 7px 50px;
        background-position: 15px 10px;
        font-size: 120%;
    }
    .result-box h2{
        margin-bottom: 15px;
    }
    .setting{
        margin-bottom: 55px;
        padding: 25px 25px 15px;
    }
    .result{
        margin-bottom: 15px;
        padding: 30px;
    }
    .terms{
        display: table;
        margin-bottom: 15px;
    }
    .terms dl{
        display: table-cell;
    }
    .simulation-box table{
        width: 70%;
        margin: 0 auto 10px;
    }
    .simulation-box th{
        font-size: 110%;
    }
    .simulation-box th,
    .simulation-box td{
        padding-bottom: 10px;
    }
    .result .sale,
    .result .rent,
    .result .sublease{
        border-bottom: 1px dotted #CCC;    
    }
    .result dt{
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
    }
    .result dl{
        /*display: table;*/
        margin-bottom: 10px;
    }
    .result dt,
    .result dd{
        display: table-cell;
        vertical-align: middle;
    }
    .result dt{
        width: 350px;
        padding: 15px 15px 15px 70px;
        background-position: 25px center;
        -webkit-background-size: 35px 35px;
        -moz-background-size: 35px 35px;
        -o-background-size: 35px 35px;
        -ms-background-size: 35px 35px;
        background-size: 35px 35px;
        font-size: 120%;
    }
    .result .price{
        padding: 5px 15px;
    }
    .result .price span{
        font-size: 170%;
    }
    /*.inq{
        width: 30%;
        padding: 5px 0;
    }
    .inq li a{
        background-position: 20px 11px;
    }*/
}

/*--Small screens--*/
@media only screen and (max-width: 40em){
    section{
        margin-bottom: 0;
    }
    .simulation{
        padding: 15px 20px 20px;
    }
    .simulation-box h2,
    .result-box h2{
        padding: 8px 10px 8px 40px;
        background-position: 10px 10px;
        font-size: 105%;
    }
    .result-box h2{
        margin-bottom: 10px;
    }
    .setting{
        margin-bottom: 30px;
        padding: 15px;
    }
    .setting tr{
        display: block;
    }
    .setting th,.setting td{
        display: block;
        width: 100%;
    }
    .setting tr{
        padding-bottom: 0;
    }
    select,
    input[type="text"]{
        font-size: 80%;
    }
    .result{
        margin-bottom: 15px;
        padding: 15px;
    }
    .setting:after{
        border-width: 20px;
        margin-left: -20px;
    }
    .simulation-box table{
        width: 100%;
        margin: 0 auto 5px;
    }
    .simulation-box th,
    .simulation-box td{
        padding-bottom: 5px;
    }
    .terms{
        display: table;
    }
    .terms dl{
        margin-bottom: 10px;
    }
    .terms dt{
        width: 80px;
        text-align: center;
    }
    .result dt{
        min-height: 15px;
        margin: -15px -15px 0 -15px;
        padding: 8px 10px 8px 42px;
        background-position: 10px 8px;
        -webkit-background-size: 25px 25px;
        -moz-background-size: 25px 25px;
        -o-background-size: 25px 25px;
        -ms-background-size: 25px 25px;
        background-size: 25px 25px;
        font-weight: bold;
    }
    .result .price{
        padding: 3px 0;
    }
    .result .price span{
        font-size: 130%;
    }
    .inq{
        padding: 7px 15px;
    }
    .inq li a{
        background-position: 15px 8px;
        font-size: 80%;
    }
}

/*--Medium screens--*/
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    .result dt{
        font-size: 110%;
    }
    .result .price span{
        font-size: 150%;
    }
}

/*-----------------------------------
clear
-----------------------------------*/
.result .sale,
.result .rent,
.result .sublease,
.result .solarpower
{
    display: block;
    min-height: 1%;
}
.result .sale:after,
.result .rent:after,
.result .sublease:after,
.result .solarpower:after
{
    clear: both;
    content:".";
    display: block;
    height: 0;
    visibility: hidden;
}