.wrapper .block #inputBlock .table {
    width: 100%;
    display: table;
	word-break: normal;
}

.wrapper .block #inputBlock .thead {
    display: table-header-group;
}

.wrapper .block #inputBlock .thead .tr {
    display: table-row;
}

.wrapper .block #inputBlock .thead .th {
    display: table-cell;
    color: #fff;
    background-color: #333;
    font-size: 125%;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 11px;
    padding-bottom: 11px;
    border-left: 2px solid #fff;
    border-bottom: 3px solid #fff;
}

.wrapper .block #inputBlock .tbody .td:first-child {
    border-left: none;
    width:25%;
}

.wrapper .block #inputBlock .tbody {
    display: table-row-group;
}

.wrapper .block #inputBlock .tbody .tr {
    display: table-row;
}

.wrapper .block #inputBlock .tbody .td {
    display: table-cell;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 3px solid #fff;
    vertical-align: middle;
}

.wrapper .block #inputBlock .tbody .e {
    background-color: #eee;
    font-size: 125%;
    text-align: center;
}

.wrapper .block #inputBlock .tbody .v {
    background-color: #f9f9f9;
    font-size: 117%;
}




.form_txt{
	width:100px;
}
.form_txt_l{
	width:140px;
}

.size_s {
    min-width: 86px!important;
}



.wrapper .block .table .tbody .tr-responsive .td:nth-child(3) {
    width:25%;
}

@media screen and (max-width: 480px) {
	.wrapper .block .table .tbody .tr-responsive {
		display: grid!important;
		grid-template-columns: 25% auto!important;
	}
	.wrapper .block .table .tbody .tr-responsive .td:first-child {
		width:100%!important;
	    padding-top:30px!important;
	}
	.wrapper .block .table .tbody .tr-responsive .td:nth-child(3) {
		width:100%!important;
	    padding-top:20px!important;
	}
}

.disabled {
    background-color: #DCDCDC!important;
}







#outputBlock {
}



.wrapper .block .table_panel {
    width: 100%;
    display: table;
	word-break: normal;
}

.wrapper .block .table_panel .tbody .td:first-child {
    border-left: none;
}

.wrapper .block .table_panel .tbody {
    display: table-row-group;
}

.wrapper .block .table_panel .tbody .tr {
    display: table-row;
}

.wrapper .block .table_panel .tbody .td {
    display: table-cell;
    width:25%;
    font-weight: 700;
    line-height: 1.3;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: middle;
    text-align: center;
    font-size: 117%;
    border-left: 2px solid #fff;
    border-bottom: 3px solid #fff;
    background-color: #eee;
}

@media screen and (max-width: 480px) {
	.wrapper .block .table_panel .tbody .tr-responsive {
		display: grid!important;
		grid-template-columns: 50% auto!important;
	}
	.wrapper .block .table_panel .tbody .td {
		width:100%;
	}
}

.label1 {
	font-weight: bold;
	font-size: 117%;
}
.label2 {
	font-size: 80%;
}
.value {
	font-weight: bold;
	color: #23ac38;
	font-size: 200%;
}
span.unit {
	font-size: 50%;
}

#modeLabel {
    font-weight: 700;
	font-size: 150%!important;
    text-align: center;
	padding:8px!important;
    border-bottom: 2px solid #fff;
}


.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.common-input {
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 5px;
}

.columns-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.column {
    flex: 1;
    min-width: 300px;
    padding: 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gasoline-column {
    border-top: 4px solid #f39c12;
}

.ev-column {
    border-top: 4px solid #3498db;
}


.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.input-group label {
    width: 120px;
    margin-right: 10px;
    font-weight: bold;
    font-size: 125%;
}

.input-group input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-width: 120px;
    text-align: right;
}

.unit {
    margin-left: 5px;
    color: #666;
    min-width: 40px;
    display: inline-block;
}

.note {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.results {
    margin-top: 20px;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.result-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.result-item .label {
    font-weight: bold;
    font-size: 125%;
}

.result-item .value {
    font-weight: bold;
    color: #2c3e50;
}

.comparison-result {
    margin-top: 20px;
    padding: 15px;
    background: #f0f7ff;
    border-radius: 5px;
    border-left: 4px solid #2980b9;
}

.highlight .value {
    color: #e74c3c;
    font-size: 1.1em;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .columns-container {
        flex-direction: column;
    }
    
    .column {
        min-width: auto;
    }
    
    .input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .input-group label {
        width: auto;
        margin-bottom: 5px;
    }
    
    .input-group input {
        max-width: 100%;
        width: 100%;
    }
}