body {
    font-family: "fot-tsukuardgothic-std", sans-serif;
    padding: 20px;
    color: #4c444d;
}

#currency-calculator {
    background-color: #ffffff;
    border-radius: 4px;
    box-shadow:  0 3px 6px 0 rgba(0, 0, 0, 0.16);
    width: 400px;
    margin: auto;
    padding: 3em;
}
h2{
    padding: 0 2em 20px;
    background-image: repeating-linear-gradient(-45deg,#e5c046 0px,#e5c046 2px,rgba(0 0 0/0)0%,rgba(0 0 0/0)50%);
    background-size: 8px 8px;
    background-repeat: repeat-x;
    background-position: center bottom;
    text-align: center;
}

.currency-item {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.currency-label {
    font-weight: bold;
}

.currency-input {
    /* 入力欄と金額を右詰めにする */
    display: flex;
    align-items: center;
    width: 40%;
}

#clear-all{
    background-color:#ffffff;
    border:none;
    border-bottom:1px dashed #4c444d;
    font-weight: bold;
    color: #4c444d;
    display: block;
    margin-left: auto;
    margin-top: -1em;
    
}

.quantity {
    width: 60px;
    margin-right: 10px;
}

.amount, #total-amount, #difference {
    font-weight: bold;
}

h3{
    text-align: right;
}

#calculate-difference{
    background-color: #e5c046;
    border-radius: 2px;
    border:none;
    font-weight: bold;
    color: #ffffff;
    padding: 0.5em 1.2em;
    margin-left:1em ;

}

#difference-alert {
    color: #C36363;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

input{
    background-color: #f4f4f4;
    border-radius: 2px;
    border:none;
    padding: 1em;

}