/*
-----------------
calc @PC
-----------------
*/
#calc{
    width: 90%;
    max-width: 1080px;
    margin: 20px auto 0 auto;
}
option, label{
    font-size: 14px!important;
}
#calc h1{
    text-align: center;
    font-size: 24px;
    letter-spacing: 3px;
    padding: 0 0 20px 0;
    color: #000;
    position: relative;
}
#calc h1 span{
    font-size: 11px;
    color: #5dc259;
    letter-spacing: 4px;
    display: block;
}
#calc h2{
    text-align: left;
    font-size: 18px;
    margin: 60px 0 10px 0;
    padding: 0 0 0 16px;
    position: relative;
    color: #000;
}
#calc h2:before{
    content:"";
    width: 5px;
    height: 18px;
    background: #5dc259;
    position: absolute;
    left: 0;
    top: 4px;
}
.notice{
    border: 1px solid #ff0000;
    padding: 10px 20px 10px 20px;
    width: calc(100% - 40px);
    margin: 40px auto;
    font-size: 14px;
    color: #ff0000;
}
.notice p{
    color: #000;
}
.submit{
    display: block;
    border: none;
    background: #5dc259;
    font-size: 18px;
    padding: 15px;
    color: #fff;
    width: 280px;
    margin: 30px auto 0 auto;
    border-radius: 3px;
}
.calcheader{
    margin: 20px 0 0 0;
    padding: 20px;
    background: #fcfbf4;
}
.calcheader ul{
    display: flex;
    justify-content: space-between;
}
.calcheader ul li{
    width: 49%;
}
.calcheader ul li img{
    width: 100%;
}
.calcheader p{
    text-align: center;
    padding: 10px 0 0 0;
}
#calc table{
    width: 100%;
}
#calc table tr th{
    width: 45%;
    color: #000;
    text-align: left;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
    background: #fff;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
}
#calc table tr td{
    background: #f9f9f9;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
    text-align: left;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
    font-size: 14px;
}
span.okinawa{
    display: block;
    padding: 5px 0 0 0;
    color: #565656;
    font-size: 13px;
}
#calc table.cadresult tr th{
    width: 25%;
    color: #000;
    text-align: left;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
    background: #fff;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
}
#calc table.cadresult  tr td{
    width: 25%;
    background: #f9f9f9;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
    text-align: left;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
    font-size: 14px;
}

.cad_dl table tr th{
    width: 50%;
    color: #000;
    text-align: left;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: middle;
    background: #f9f9f9!important;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
}
.cad_dl table tr td{
    width: 50%;
    background: #fff!important;
    padding: 15px;
    font-size: 15px;
    letter-spacing: 0;
    vertical-align: top!important;
    text-align: left;
    line-height: 1.4em;
    border: 1px solid #dcdcdc;
    font-size: 14px;
}
.cad_dl table tr:nth-child(2) td:first-child > div{
    display: flex;
     width: 100%; 
     height: 100%; 
}
.cad_dl table tr:nth-child(2) td:first-child > div > div{
    width: 50%;
}
.cad_dl table tr:nth-child(2) td:first-child > div h3{
    font-size: 1em;
    margin: 0 auto;
    text-align: left;
}
.cad_dl table  tr td ul li{
    margin: 10px 0 10px 0;
}
.cad_dl table  tr td ul li a{
    font-weight: 500;
    font-size: 15px;
    color: #000;
    padding: 0 25px 0 0;
    background: url(../common/img/iconLink.png) 100% 5px no-repeat;
}
.cad_dl table  tr td ul li a i{
    color: #5dc259;
    font-weight: 400;
}
.cad_dl table:nth-child(3) tr th{
    border-top: 0px !important;
}
.cad_dl table:nth-child(3) tr td ul li a{
    display: inline-block;
    margin-right: 20px;
}

h3{
    font-size: 24px;
    margin: 60px 0 0 0;
    text-align: center;
}
.cad_num{
    background: #5dc259;
    color: #fff;
    display: inline-block;
    padding: 2px 10px 2px 10px;
}
.pageback{
    text-align: center;
    padding: 20px 0 0 0;
    margin: 20px 0 0 0;
}
.pageback a{
    padding: 0 0 5px 0;
    color: #5dc259;
}
.pageback a i{
    padding: 0 10px 0 0;
}
.pageback a:hover{
    border-bottom: none;
}
.error{
    font-size: 14px;
    margin: 20px auto 0;
    text-align: center;
    color: #ff0000;
}
.error li{
    list-style: none;
    color: #000;
}
.sp{
    display: none;
}
h1 .pc{
    display: inline-block;
}
.relatedSelect2 > div{
    display: inline-block;
}
.s_notice{
    color: #ff0000;
    font-size: 13px;
}
select#todofuken{
    margin-left: 10px;
}

@media only screen and (max-width: 640px){
    .pc{
        display: none !important;
    }
    .sp{
        display: block;
    }
    .calcheader p{
        text-align: left;
    }
    #calc table tr{
    }
    #calc table tr th,
    #calc table tr td{
        border-top: 0px !important;
    }
    #calc table tr:first-child{
        border-top: 1px solid #dcdcdc;
    }
    #calc table.cadresult tr th,
    #calc table.cadresult tr td,
    #calc table tr th,
    #calc table tr td{
        display: block;
        width: inherit;
        font-size: 15px;
    }
    #calc table tr th span{
        font-size: 12px;
        margin-top: 8px;
    }
    #calc table tr td > *{
        font-size: 15px;
    }
    .cad_num{
        margin-top: 20px;
    }
    .cad_dl table:nth-child(3) tr td ul li a{
        width: auto;
    }
    .cad_dl table:nth-child(3) tr td ul li span{
        display: block;
        margin-bottom: 20px;
        font-size: 14px;
    }
    .cad_dl table:nth-child(2) tr:nth-child(2) td ul{
        display: flex;
        flex-wrap: wrap;
    }
    .cad_dl table:nth-child(2) tr:nth-child(2) td ul li{
        width: 25%;
    }
    .cad_dl table:nth-child(2) tr th{
        width: 10%;
    }
    .cad_dl table tr:nth-child(2) td:first-child > div{
        display: block;
    }
    .cad_dl table tr:nth-child(2) td:first-child > div > div{
        width: 100%;
    }
    .cad_dl table tr:nth-child(2) td:first-child > div > div li{
        width: 50%;
    }
}