.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 .td:nth-child(3) {
    border-left: none;
    width:35%;
}

.wrapper .block #inputBlock .disc{
	font-size:12px;
	line-height:1;
}
@media screen and (max-width: 480px) {
.wrapper .block #inputBlock .tbody .td:first-child {
    border-left: none;
    width:40%;
}
}
@media screen and (max-width: 480px) {
.wrapper .block #inputBlock .tbody .td:nth-child(3) {
    border-left: none;
    width:30%;
}
.wrapper .block #inputBlock .disc{
	font-size:11px;
	line-height:1;
}
}
.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 .e.sub {
    background-color: #ddd;
}

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



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

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







.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:33%;
    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;
	}
	.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%;
}
#inputBlock .value {
	font-weight: bold;
	color: #23ac38;
	font-size: 200%!Important;
	padding-left:16px!Important;
}
span.unit {
	font-size: 50%;
}


.input-active {
    border-left: 2px solid #4CAF50; /* 例: 緑色の太いボーダー */
}

.wrapper .block #inputBlock .tbody .v.input-active {
    background-color: #e8f5e9; /* 例: 薄い緑色の背景 */
}

i.contentsI {
    font-size: 120%;
    padding: 8px;
    border: 1px solid #dee2e6;
    background-color: #fff;
    border-radius: 6px;
}

#outputBlock .tr .value span span.date {
font-size:16px;
}

#outputBlock .tr .value span ul li {
font-size:16px;
    line-height: 1.2;
    padding: 4px 12px;
    color:#333!important;
    font-weight:normal;
}
#outputBlock .tr .value span ul li strong{
    font-weight:bold;
}

.log-formula {
}

.ln, .log10, .log {
    font-weight: bold; /* 太字 */
}

.sub {
    font-size: 0.6em; /* 下付き文字のサイズ調整 */
    vertical-align: super; /* 上に寄せる */
}
.sub_low {
    font-size: 0.6em; /* 下付き文字のサイズ調整 */
}
        .formula {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
            font-size: 24px;
        }
        .fraction {
            display: inline-block;
            vertical-align: middle;
            text-align: center;
        }
        .fraction > span {
            display: block;
            padding: 0;
        }
        .fraction .denominator {
            border-top: 1px solid #000;
        }
        .factorial {
            font-size: 18px;
          
        }
        
#inputBlock .check_wrap {
    width: 100%;
}

.wrapper .block #outputBlock .table {
    width: 100%;
    display: table;
}

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

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

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

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


@media screen and (max-width: 480px) {
	.wrapper .block #outputBlock .tbody .tr-responsive {
		display: grid!important;
	}
	.wrapper .block #outputBlock .tbody .td {
		width:100%;
        height: auto;
        vertical-align: middle;
	}
}

.wrapper .block #inputBlock select {
    font-size: 117%;
    font-weight: 700;
    line-height: 1.5;
    padding: 12px;
    border: 2px solid #333;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 4px;
    box-shadow: none;
    outline: none;
    appearance: none;
}


    :root {
      --primary: #4361ee;
      --primary-light: #4895ef;
      --secondary: #3f37c9;
      --danger: #f72585;
      --success: #4cc9f0;
      --warning: #f8961e;
      --light: #f8f9fa;
      --dark: #212529;
      --gray: #6c757d;
      --white: #ffffff;
    }
    
    body {
    }
    
    .container {
      max-width: 800px;
      margin: 2rem auto;
      padding: 1.5rem;
      background: var(--white);
      border-radius: 12px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }
    
    
    .card {
      background: var(--white);
      border-radius: 8px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
      border: 1px solid #e2e8f0;
    }
    
    #inputBlock .form-group {
      margin-bottom: 1.25rem;
    }
    
    #inputBlock .form-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      margin-bottom: 1rem;
      align-items: center;
    }
    
    #inputBlock .form-label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: 500;
      color: var(--dark);
      min-width: 120px;
    }
    
    #inputBlock .form-input {
      width: 100%;
      padding: 0.75rem;
      border: 1px solid #ced4da;
      border-radius: 6px;
      transition: border-color 0.15s;
    }
    
    .form-input:focus {
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
    }
    
    .input-group {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
    
    .input-group input {
      flex: 1;
    }
    
    .input-group .unit {
      color: var(--gray);
      min-width: 40px;
    }
    
    #inputBlock .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0.5rem 1rem;
      border-radius: 6px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
      border: none;
    }
    
    #inputBlock .btn-sm {
      padding: 0.375rem 0.75rem;
    }
    
    #inputBlock .btn-primary {
      background-color: var(--primary);
      color: white;
    }
    
    #inputBlock .btn-primary:hover {
      background-color: var(--secondary);
    }
    
    #inputBlock .btn-outline {
      background-color: transparent;
      border: 1px solid var(--primary);
      color: var(--primary);
    }
    
    #inputBlock .btn-outline:hover {
      background-color: rgba(67, 97, 238, 0.1);
    }
    
    .result-item {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid #e2e8f0;
    }
    
    .result-label {
      font-weight: 500;
      color: var(--gray);
      margin-bottom: 0.25rem;
      display: block;
    }
    
    .result-value {
      font-weight: 500;
    }
    
    .progress-container {
      margin: 1.5rem 0;
    }
    
    .progress-bar {
      height: 12px;
      background-color: #e9ecef;
      border-radius: 6px;
      overflow: hidden;
    }
    
    .progress {
      height: 100%;
      background-color: var(--primary);
      width: 0%;
      transition: width 0.5s ease;
    }
    
    .progress-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 0.5rem;
      color: var(--gray);
    }
    
    #inputBlock .alert {
      padding: 0.75rem;
      border-radius: 6px;
      margin-top: 1rem;
    }
    
    .alert-success {
      background-color: rgba(76, 201, 240, 0.1);
      color: var(--success);
      border: 1px solid rgba(76, 201, 240, 0.3);
    }
    
    .alert-danger {
      background-color: rgba(247, 37, 133, 0.1);
      color: var(--danger);
      border: 1px solid rgba(247, 37, 133, 0.3);
    }
    
    .chart-container {
      margin-top: 1rem;
      height: 200px;
    }
    
    .preset-controls {
      display: flex;
      gap: 0.5rem;
      margin-top: 0.5rem;
    }
    
    .preset-input {
      width: 60px !important;
    }
    
    .preset-button {
      flex: 1;
    }
    
    @media (max-width: 768px) {
      .container {
        margin: 1rem;
        padding: 1rem;
      }
      
      .form-row {
        flex-direction: column;
        align-items: flex-start;
      }
      
      .input-group {
        width: 100%;
      }
      
      .chart-container {
        height: 180px;
      }
      
      .preset-controls {
        flex-wrap: wrap;
      }
      
      .preset-input {
        width: 50px !important;
      }
    }


#outputBlock {
    font-size: 1.3rem;
}

#inputBlock {
    font-size: 1.3rem;
}
