@font-face {
    font-family: KCJIS;
    src: url(/font/KikaiChokokuJIS-Md.otf);
}

* {
    font-family: sans-serif;
    scrollbar-color: #CA6A1F #354F33;
    text-align: center;
    justify-content: center;
}

::-webkit-scrollbar {
    background-color: #354F33;
}

::-webkit-scrollbar-thumb {
    background-color: #CA6A1F;
}

html {
    background-color: darkslategray;
    scrollbar-width: 5px;
}

body {
    background-color: #333;
    color: #ddc;
    margin: 0 auto;
    padding: 5px;
    border: 5px solid gray;
}

#yoko,
#mae {
    width: 500px;
    height: 150px;
    position: relative;
    overflow: hidden;
    margin: 15px auto;
    transform-origin: top center;
}

#yoko img,
#mae img {
    position: absolute;
}

#yoko_around,
#mae_around {
    top: 0;
    left: 0;
}

#maku_control {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #43625B;
    padding: 5px;
    margin: 5px;
    border: 2px solid black;
}

.tate {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background-color: #43625B;
}

.tate>div,
#maku_control>div {
    background-color: #43625B;
}

/* 7segment LED */
#maku_control>.tate>div>img {
    margin: 0;
    padding: 0;
    width: 5em;
    background-color: #43625B;
}

/* LED control button */
#maku_control>.tate>div>input {
    margin-top: 2.5px;
    margin-bottom: 5px;
    padding: 0;
    width: 3em;
    height: 1.5em;
    font-family: KCJIS;
    font-size: large;
    background-color: beige;
    color: black;
}

/* 手動幕回し */
.handle {
    width: 3em;
    height: 2em;
    color: blanchedalmond;
    font-family: KCJIS;
    font-size: large;
    margin: 8px;
}

/* 起動ボタン*/
#maku_run {
    font-family: KCJIS;
    font-size: large;
    height: 3em;
    width: 3em;
    margin: 8px;
    background-color: green;
    color: black;
}

/* ダイヤル */
#dial_box {
    user-select: none;
    width: 80px;
    height: 40px;
    position: relative;
    margin: 80px 120px;
    background-color: black;
    transform: scale(4);
}

#dial_box img {
    position: absolute;
    transition: transform 0.2s ease-in-out ;
}

#case {
    top: 0px;
    left: 0px;
}

#dial10 {
    top: 0px;
    left: 0px;
}

#dial1 {
    top: 0px;
    left: 40px;
}
