#jinja-block {
    display: none;
}

.jinja-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.jinja-title {
    text-align: center;
    flex: 1;
    margin: 0;
    padding: 0 0 0 4.5em;
}

.osaisen-button {
    margin-right: 1.0em;
    margin-top: 0.1em;
    flex-shrink: 0;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 1em;
    padding: 0 0.1em 0.1em 0.1em;
    transition: all 0.2s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.osaisen-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border-color: #ccc;
}

.osaisen-button:active {
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.osaisen-button.active {
    background-color: #eef1d4;
}

td.jinja-td1 {
    width: 50%;
    text-align: right;
}

td.jinja-td2 {
    width: 50%;
    text-align: left;
}

#osaisen-amount {
    margin-left: 1em;
    width: 100px;
    padding: 6px 10px;
    border: 2px solid #d4a373;
    border-radius: 4px;
    font-size: 16px;
    color: #5c4033;
    background-color: #fff;
    transition: all 0.3s ease;
    text-align: center;
    font-family: "Hiragino Mincho Pro", "Yu Mincho", serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#osaisen-amount:focus {
    outline: none;
    border-color: #bc6c25;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

#osaisen-amount:hover {
    border-color: #bc6c25;
}

#osaisen-amount::-webkit-inner-spin-button,
#osaisen-amount::-webkit-outer-spin-button {
    opacity: 1;
    height: 24px;
    cursor: pointer;
}

#osaisen-block {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.7rem;
}

#jinja-block.block {
    border: 0.1em solid #f0d890;
    background-color: #fdf8e8;
}


#jinja-block .inner-block {
    background-color: #fdf6e8;
    border: 1px solid #f4e4a6;
}

#jinja-block a.btn-custom01 {
    color: #000000;
}
#jinja-block .btn-custom01:before {
    background: #f4e4a6; 
}

#jinja-block .btn-custom01-front {
    background: #f0d890;
    color: #000000;
}

#jinja-block .btn-custom01-front.pressed {
    background: #e8c870;
}