.estimate_content{
    width: 172mm;
    /* height: 251mm; */
    margin: 0 auto 60px;
    color: #000;
    position: relative;
}

@media (max-width: 540px) {
    .estimate_content{
        width: 100%;
    }
}

.estimate_content .underline{
    border-bottom: 1px solid #000;
    position: relative;
}

.estimate_content .left_text,
.estimate_content .right_text{
    font-size: 15px;
    
}
.estimate_content .right_text{
    padding-left: 10px;
}

.estimate_content #printarea{
    background-color: #fff;
    padding: 30px 30px 0;
    height: 251mm;
}

@media (max-width: 540px) {
    .estimate_content #printarea{
        height: 280mm;
    }
}

.estimate_content .daytime{
    text-align: right;
    font-size: 12px;
}

.estimate_content h1{
    font-size: 25px;
    text-align: center;
    border-bottom: 3px solid #000;
    margin: 25px 0 35px;
    font-weight: normal;
    letter-spacing: 3px;
}

.estimate_content .estimate_content__flex{
    display: flex;
    margin-bottom: 30px;
}

.estimate_content .estimate_content__left{
    margin-right: 30px;
    width: 70%;
}

.estimate_content .estimate_content__left .company_name{
    font-size: 15px;
    margin-bottom: 30px;
    min-height: 20px;
    display: flex;
    align-items: end;
}

.estimate_content .estimate_content__left #display_company_name{
    margin: 0;
    word-break: break-all;
    font-size: 24px;
    line-height: 1;
    flex:1;
}

.estimate_content .estimate_content__left .subject{
    font-size: 15px;
    margin-bottom: 40px;
}

.estimate_content .estimate_content__left .subject p{
    font-size: 10px;

}

.estimate_content .estimate_content__left .notes_list{
    font-size: 12px;
    margin-bottom: 50px;
}
.estimate_content .estimate_content__left .notes_list div:not(:last-child){
    margin-bottom: 10px;
}

.estimate_content .estimate_content__left .total_fee{
    display: flex;
    align-items: baseline;
}

.estimate_content .estimate_content__left .total_fee p{
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    margin-bottom: 0;
    margin-left: auto;
}

.estimate_content .estimate_content__right{
    width: 30%;
}

.estimate_content .estimate_content__right p{
    font-size: 12px;
}

.estimate_content .estimate_content__right .seal_img{
    width: 80px;
}

.estimate_content .estimate_content__table {
    /* margin-bottom: 40px; */
}
.estimate_content .estimate_content__table table{
    width: 100%;
    font-size: 12px;
    table-layout: fixed;
    word-wrap: break-word;
    border: none;
    margin-bottom: 0;
}

.estimate_content .estimate_content__table table, td, th{
    border-collapse: collapse;
}

.estimate_content .estimate_content__table .item td:first-child{
    padding-left: 10px;
}
.estimate_content .estimate_content__table .item td:nth-child(2){
    text-align: center;
}
.estimate_content .estimate_content__table .item td:nth-child(3),
.estimate_content .estimate_content__table .item td:nth-child(4){
    text-align: right;
    
}

.estimate_content .estimate_content__table td, th {
	padding: 3px 10px;
	width: 30px;
	height: 25px;
    border: 1px solid #595959;
}

.estimate_content .estimate_content__table th {
	background: #c9caca;
    text-align: center;
    color: #000;
    font-size: 12px;
    border: 1px solid #595959;
}

.estimate_content .estimate_content__table th span{
    font-size: 10px;
}

.estimate_content #mw_wp_form_mw-wp-form-2378{
    position: absolute;
    left: 0;
    bottom: 40px;
}

.estimate_content .input_area{
    padding: 0 30px;
}

.estimate_content .input_area p{
    font-size: 14px;
    text-align: center;
    margin: 0 0 10px;
}

.estimate_content .input_area .input_top{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.estimate_content .input_area .input_top div:first-child{
    margin-right: 20px;
}

.estimate_content .input_area .input_top input{
    width: 100%;
    border: 2px solid #000;
    border-radius: 0;
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
}


.estimate_content .input_area .input_top #name-error-message,
.estimate_content .input_area .input_top #email-error-message {
    display: none;
    color: #B70000;
}

.estimate_content .input_area .input_bottom .estimate_submit_btn{
    width: 100%;
    background: #24b8db;
    border: none;
    color: #fff;
    font-size: 18px;
    border: 2px solid #24b8db;
}
.estimate_content .input_area .input_bottom .estimate_submit_btn:hover {
    background: #fff !important;
    color: #24b8db !important;
    opacity: 1;
}
.estimate_content .input_area .input_bottom .estimate_submit_btn.disabled{
    border: 2px solid #C9CACA;
    background: #C9CACA;
    opacity: 0.6;
    cursor: auto;
}
.estimate_content .input_area .input_bottom .estimate_submit_btn.disabled:hover {
    background: #C9CACA !important;
    color: #fff !important;
}


/* 完了画面 */
.estimate_content .estimate_complete{
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.estimate_content .estimate_complete p{
    font-size: 26px;
    margin-bottom: 30px;
}

.estimate_content .estimate_complete .backbtn{
    width: 380px ;
    background: #24b8db;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin: 0 auto;
    display: block;
    border: none;
    color: #fff;
    outline: none;
    padding: 12px;
    color: #fff;
}
.estimate_content .estimate_complete .backbtn:hover{
    opacity: .7;
    text-decoration: none;
}