*{
    font-family: "Noto Sans", "メイリオ", sans-serif;
}

body{
    background-color: #101010;
    color: white;
    padding: 0px;
    margin: 0px;
    padding-top: 170px;
}

input[type='file']{
    background-color: transparent;
}

/* 箱の色の定義 */
.box{
    color: #FFFFFF;
    font-size: medium;
    width: 178px;
    height: calc-size(auto, size - 12px);
    padding: 5px;
    user-select: none;
    position: absolute;
    background-color: #303030;
}

.box.clicked{
    background-color: #505050;
}

.box.strconv{
    background-color: hsl(0, 30%, 15%);
}

.box.strconv.clicked{
    background-color: hsl(0, 30%, 35%);
}


.box.posconv{
    background-color: hsl(60, 30%, 15%);
}

.box.posconv.box.clicked{
    background-color: hsl(60, 30%, 35%);
}

.box.code{
    background-color: hsl(115, 30%, 15%);
}

.box.code.box.clicked{
    background-color: hsl(115, 30%, 35%);
}


.box.math{
    background-color: hsl(224, 30%, 15%);
}

.box.math.clicked{
    background-color: hsl(224, 30%, 35%);
}
.top_io_bar{
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: #313034;
    position: fixed;
    font-size: large;
    top: 0;
    left: 0;
    z-index: 100;
    /* border-bottom: 10px solid #A0A0A0; */
}

.text_box{
    background-color: #101010;
    color: white;
    width: calc(100% - px);
    height: max-content;
    resize: none;
    margin-top: 10px;
    padding: 2px;
    padding-top: 4px;
    height: 25px;
    font-size: small;
    white-space: nowrap;
    overflow:hidden;
}

.cipher_title{
    font-size: large;
}

input{
    width: auto;
    height: auto;
    background-color: #000000;
    color: white;
    user-select: none;
}

input[type='text']{
    width: 100%;
}

select{
    background-color: #FFFFFF30;
    color: white;
    width: 140px;
}

.cipher_result{
    font-size: medium;
}

.main_area{
    width: 100%;
    height: 1000px;
}

.flex{
    display: flex;
    margin: 0px;
}


html{
    padding: 0px;
}

select{
    background-color: #303030;
    color: #FFFFFF;
    font-size: medium;
}

.plus_button {
    background-color: #808080;
    width: 16px;
    height: 16px;
    border-radius: 8px;
    margin-left: calc(50% - 8px);
    margin-top: 2px;
}

.plus_button::before {
    content: '';
    display:  inline-block;
    background-color: #404040;
    height: 12px;
    width: 4px;
    position:  relative;
    left: 6px;
    top: 2px
}
.plus_button::after {
    content: '';
    display:  inline-block;
    background-color: #404040;
    height: 12px;
    width: 4px;
    position:  relative;
    transform: rotate(90deg);
    top: 2px;
    left: 2px;
}

.plus_button:hover{
    background-color: #dbe8af;
}

.div_id{
    font-size: xx-small;
    position: absolute;
    top: 2px;
    width: 20px;
    left: calc(100% - 38px);
    color: #A0A0A0;
}

textarea{
    user-select: none;
    background-color: #000000;
    font-family: Consolas, monospace;
    width: calc(100% - 40px);
    resize: vertical;
    color: white;
}

.top_id{
    padding-left: 5px;
    font-size: medium;
    color: #A0A0A0;
}

.box_sp *{
    margin-top: 5px;
    font-size: small;
}

.type_strconv{
    background-color: hsl(0, 30%, 15%);
}

.type_strswap{
    background-color: hsl(65, 30%, 15%);
}

.type_code{
    background-color: hsl(110, 30%, 15%);
}

.type_math{
    background-color: hsl(217, 30%, 15%);
}

.small{
    font-size: small;
}

input[type=radio] {
    display: none;
}

.label {
    padding: 2px;
    background-color: #404040;
    color: #D0D0D0;
}

input[type="radio"]:checked + label {
    background-color: hsl(0, 60%, 35%);
}

.del_btn{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: -3px;
    left: calc(100% - 12px);
    font-size: small;
}

.del_btn:hover{
    color: red;
}

.num_input{
    width: 48px;
}

.top_text{
    font-size: large;
}

.type_change_btn_L{
    position: absolute;
    left: 150px;
    top: 18px;
    width: 15px;
    height: 15px;
    background-color: #FFFFFF30;
    font-size: 10px;
    color: black;
    overflow: hidden;
}

.type_change_btn_R{
    position: absolute;
    left: 168px;
    top: 18px;
    width: 15px;
    height: 15px;
    background-color: #FFFFFF30;
    font-size: 10px;
    color: black;
    overflow: hidden;
}

.type_change_btn_L:hover{
    background-color: #FF000030;
}

.type_change_btn_R:hover{
    background-color: #FF000030;
}

.select_element{
    background-color: #303030;
    width: 140px;
}

.alert_icon{
    position: absolute;
    height: 10px;
    width: 10px;
    top: -3px;
    left: -3px;
    background-color: #FF0000;
    border-radius: 50%;
}

.alert_icon:hover::after{
    position: absolute;
    height: 100px;
    width: 50px;
    background-color: #FFFFFF;
}

.top_half{
    width: 50%;
    float: left;
}

.top_error{
    color: #FF0000;
}

a:link{
    color: #ffef5e;
}

a:visited{
    color: #ff7741;
}