* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

header {
    width: 100%;
    padding: 30px 4% 10px;
    background-color: #eea531;
    top: 0;
    display: flex;
    align-items: center;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: 200%;
    color: darkgray;
    font-weight: bold;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

a {
    text-decoration: none;
    color:#5b5752;
}

ul {
    list-style: none;
    margin: 0;
    display: flex;
}

li {
    margin: 0 0 0 15px;
}

nav {
    margin: 0 0 0 auto;

}

.center {
    text-align: center;
    white-space: nowrap;
}

.so {
    font-family: serif;
    font-style:oblique
}

.wet_cat_pic {
    position: relative;
    left: 80px;

}

.wet_cat {
    position: absolute;
    top: 340px;
    left: 10px;
}

.nbutton  {
    color:#2a2723;
    padding: 10px;
    background-color: #ffe2b4;
    border-radius: 10px;
    transition: 0.2s ease-in-out;
}
.nbutton:hover {
    color: white;
    background-color: #eea531;
    cursor: pointer;
}

/* 電卓 */
tabele {
    width: 300px;
    height: 400px;

    border: solid 1px #dcdcdca4;
    border-right: 4px #dcdcdca4;
    border-bottom: solid 4px #dcdcdca4;
    border-radius: 10px;

    text-align: center;

    padding: 8px;
    margin: 20px;
}

input {
    width: 70px;
    height: 70px;

    font-size: x-large;

    background-color: #dcdcdca4;

    border: none;
    border-radius: 20px;

    outline: none;
}

.display {
    width: 250px;
    text-align: right;

    background: #ffffff;
    border-top: solid #dcdcdca4 5px;
    border-bottom: solid #dcdcdca4 5px;
    border-right: solid #dcdcdca4 6px;
    border-left: solid #b6b6b6 6px;
    border-radius: 5px;
}

.operator {
    background-color: #87cefa;
}

.clear {
    background-color: rgb(255, 158, 158);
}

.equal {
    background-color: #6b6b6b;
}
  

input:hover {
    background: #747373b9;
}

.display:hover {
    background: #ffffff;
}

.operator:hover {
    background: #339cdd;
}
  
.clear:hover {
    background-color: rgb(255, 83, 83);
}

input:active {
    background: #5a5a5a;
}

.operator:active {
    background: #2c80b4;
}