/* これは不要（画像リンクが切れていたので仕方なしに書いてます）
===================================*/
.comBtn a {
    padding: 10px 79px 9px 21px;
    color: #fff;
    font-size: 1.3rem;
    display: block;
    background: #C2986D url(./img/common/icon03.png) no-repeat right 12px center / 6px auto;
    border-radius: 5px;
}


/* ここから必要
===================================*/
.toDetailLink {
    width: 22.5%; margin: 0 1.25%;
}
@media (max-width: 896px) {
    .toDetailLink {
        width: 47%; margin: 0 1.5%;
    }
    #main .listBox {
        margin: 0;
    }   
    #main .search .submit {
        display: block;
        width: 100%;
    } 
    #main .search .submit li {
        margin: 0 8px;
        width: 100%;
        max-width: initial;
    }
    #main .search .submit li a {
        width: calc(100% - 2.5rem);
    }
    .comBtn a {
        padding: 10px 20px 9px 20px;
        width: calc(50vw - 62px);
    }
}
.numBox .flexB > div:nth-child(1) {
    width: 25%;
} 

.estBox .inner01 {
    color: #666;
    font-size: 80%;
}
.estBox .resultSUM {
    font-weight: bold;
}
.estBox th { text-align: left; }
.estBox td { text-align: right; padding-bottom:8px; }
.estBox input[type=text], .estBox input[type=number],.estBox input[type=month] {
    width: 150px;
    height: 38px;
    padding: 0 16px;
    font-size: 1.5rem;
    color: #4D4D4D;
    font-weight: 500;
    border: 1px solid #4D4D4D;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    border-radius: 10px;
}
.estBox select {
    min-width: 150px;
    height: 38px;
    padding: 0 16px;
    font-size: 1.5rem;
    color: #4D4D4D;
    font-weight: 500;
    background: #fff url(./img/form/select_bg.png) no-repeat right 15px center;
    border: 1px solid #4D4D4D;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    border-radius: 10px;
}
.estBox .resultKaisu input[type=text], .estBox .resultKaisu input[type=number],.estBox .resultKaisu input[type=month] {
    border: none;
}
.estFlexBox {
    display: flex;
    flex-wrap: wrap;
}
.spNoFlex {
    display: flex;
    flex-wrap: wrap;    
}
.estFlexBox > div:nth-child(2),.estFlexBox > div:nth-child(3) {
    width: 49%;
}
.estFlexBox > div:nth-child(1) {
    width: 48%;
    margin-right: 3%;
}
.resultKaisu .item01 {
    width: 99%;
    margin-right: 1%;
    padding-bottom: 8px;
    border-bottom: solid 3px #999;
}
.resultKaisu .item02,.resultKaisu .item03 {
    width: 49%;
    margin-right: 1%;
    padding-bottom: 8px;
}
.resultKaisu .item01,.resultKaisu .item02 {
    border-bottom: solid 3px #F1737F;
}
.resultKaisu .kaisuPrice {
    font-size: 3rem;
    font-weight: bold;
    color: #F1727F;
}
.resultKaisu .flex {
    align-items:center;
}
.resultKaisu .flex > p:nth-child(1){
    width: 30%;
}
.resultKaisu .flex > p:nth-child(2){
    width: 70%;
    text-align: right;
}
.flex-item-center { align-items: center !important; }

@media (min-width: 897px) {
    .flexB {
        justify-content: space-evenly;
    }
    .spNoFlex table.w-100 {
        width: 100% !important;
    }
    .pcNo { display:none; }
}
@media (max-width: 896px) {
    .estFlexBox > div:nth-child(1) {
        width: 100% !important;
    }
    .spNoFlex {
        display: initial;
    }
    .resultKaisu .item01,.resultKaisu .item02,.resultKaisu .item03 {
        width: 100%;
    }
    .spNo{ display:none; }
}
@media (max-width: 640px) {
    .numBox .flexB > div:nth-child(1) {
        width: 100%;
    } 
    .estFlexBox > div:nth-child(1),.estFlexBox > div:nth-child(2),.estFlexBox > div:nth-child(3) {
        width: 100% !important;
    }
    .estBox .resultKaisu th {
        background: #E2E2E2;
        padding: 5px;
        margin-bottom: 5px;
    }
    .estBox .resultKaisu th, .estBox .resultKaisu td {
        display: block;
        width: calc( 100% - 16px ) !important;
    }
    .estBox .resultKaisu input[type=text], .estBox .resultKaisu input[type=number],.estBox .resultKaisu input[type=month] {
        width: 100px;
    }
}
.w-100 {width: 100% !important;} .w-50 {width: 50% !important;}
.m-0{margin: 0 !important;} .m-1{margin: 0.25rem !important;} .m-2{margin: 0.5rem !important;} .m-3{margin: 1rem !important;} .m-4{margin: 1.5rem !important;} .m-5{margin: 3rem !important;}
.mt-0{margin-top: 0 !important;} .mt-1{margin-top: 0.25rem !important;} .mt-2{margin-top: 0.5rem !important;} .mt-3{margin-top: 1rem !important;} .mt-4{margin-top: 1.5rem !important;} .mt-5{margin-top: 3rem !important;}
.mb-0{margin-bottom: 0 !important;} .mb-1{margin-bottom: 0.25rem !important;} .mb-2{margin-bottom: 0.5rem !important;} .mb-3{margin-bottom: 1rem !important;} .mb-4{margin-bottom: 1.5rem !important;} .mb-5{margin-bottom: 3rem !important;}
.p-0{padding: 0 !important;} .p-1{padding: 0.25rem !important;} .p-2{padding: 0.5rem !important;} .p-3{padding: 1rem !important;} .p-4{padding: 1.5rem !important;} .p-5{padding: 3rem !important;}
.pt-0{padding-top: 0 !important;} .pt-1{padding-top: 0.25rem !important;} .pt-2{padding-top: 0.5rem !important;} .pt-3{padding-top: 1rem !important;} .pt-4{padding-top: 1.5rem !important;} .pt-5{padding-top: 3rem !important;}
.pb-0{padding-bottom: 0 !important;} .pb-1{padding-bottom: 0.25rem !important;} .pb-2{padding-bottom: 0.5rem !important;} .pb-3{padding-bottom: 1rem !important;} .pb-4{padding-bottom: 1.5rem !important;} .pb-5{padding-bottom: 3rem !important;}
.border{ border:solid 1px #000; }

.text-muted {color: #666;}
.text-center{text-align: center;} .text-start{text-align: left !important;} .text-end{text-align: right !important;}
.text-small {font-size: 0.75em}
.text-big {font-size: 1.5em}
.text-muted {color: #999;}
.btn { padding: 3px 8px; border: solid 1px #000; border-radius: 8px; text-align: center; font-size: .75em;}
.btn-block { display:block; font-size: 1em;}
.btn-secondary { border-color: #666; color: #666 !important;}
.btn-secondary.active { background: #666; color: #fff !important; }
.btn-secondary.disabled { background: #fff; color: #999 !important; cursor: not-allowed; pointer-events: none; }
.btn-secondary:hover { background: #666; color: #fff !important; }

.float-right {float: rihgt !important;}

@media print{
    #gHeader, .blueLink {display: none;}
    #container {padding-top: 0 !important;}
    .numBox .flexB > div:nth-child(1) {
        width: 20%;
    } 
    .numBox .flexB > div:nth-child(2),.numBox .flexB > div:nth-child(3) {
        width: 38%;
    } 
    .estFlexBox {
        display: flex;
        flex-wrap:;
    }
    .estFlexBox > div:nth-child(1), .estFlexBox > div:nth-child(2) {
        width: 48% !important;
        margin: 0 1%;
    }
    .resultKaisu .item02,.resultKaisu .item03 {
        width: 49%;
    }
    th, td, input { margin: 0; padding: 0;}
    .estBox input[type=text], .estBox input[type=number],.estBox input[type=month],.estBox select,
    .estBox .resultKaisu input[type=text], .estBox .resultKaisu input[type=number],.estBox .resultKaisu input[type=month] {
        height:20px;
    }
}
