/* html{
    height:100%;
} */

body{
    margin: 0;
    /* width: 100%;
    height:100%;
    margin: 0 auto;
    max-width: 1500px; 
    background-color: #b0d1e7; */
}

/* トップバーおよび内部要素のマージンとパディングをリセット */
.top-bar, .top-bar * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* トップバーのスタイル */
.top-bar {
    background-color: #1d426d;
    color: white;
    padding: 4px 10px;
    display: flex;
    justify-content: flex-end;;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 998;
}

/* メニューアイテムの基本スタイル */
.tohome {
    position: relative;
    display: inline-block;
}

/* 「Menu」ボタン */
.tohome-button {
    cursor: pointer;
    color: white;
    text-decoration: none;
    padding: 10px;
}

/* メニューにマウスオーバー時 */
.tohome-button:hover {
    text-decoration: underline;
}

/* 右下の固定ボタン */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #1d426d;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* 最初は非表示 */
    z-index: 1000;
}

/* ボタンにホバーしたときのスタイル */
.scroll-to-top:hover {
    background-color: #4177b4;
}


/* body > .body-center{
    height: auto;
}

.body-center{
    height:100%;
    min-height:100%;
    padding-left: 4px;
    padding-right: 4px;
    background-color:white;
} */

/* メインコンテナ */
.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 上寄せにする */
    background-color: #b0d1e7; /* メインコンテンツの背景色と同じに設定 */
    /* min-height: calc(100vh - 30px); トップバーの高さを引いた高さ */
    padding-top: 30px; /* トップバーの高さに合わせる */
}

/* メインコンテンツ */
.main-content {
    background-color: white; /* メインコンテンツの背景色 */
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 30px); /*トップバーの高さを引いた高さ */
    max-width: 1440px; /* メインコンテンツの最大幅 */
    padding: 0px 10px 0px 10px;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
}


header{
    display: flex;
    /* justify-content: space-between; */
    justify-content: flex-start;
}

header #uibase-sysmode:nth-of-type(1){
    margin-left: auto;
}

p {
    font: 18px/1.6 sans-serif;
}

.total_container {
    display: flex;
    justify-content: center;
}

.totalbox {
    width: 550px;
}

.framebox {
    width: 750px;
}

.err_msg {
    color:#d81515;
    text-align: left;
}

.title_msg {
    text-align: center;
    font: 30px/1.6 sans-serif;

}

.form-box {
    padding: 0.5em 1em;
    margin: 0em 0;
    font-weight: bold;
    border: solid 1px #999999;
    border-radius: 10px;
    text-align: left;
}

.form-group {
    position: relative;
    width: 100%;
    margin: 15px 0 5px 0;
}

label {
    font: 16px/1.6 sans-serif;
}

.form-control-text {
    font: 16px/1.6 sans-serif;
    height: 2.4em;
    width: 96%;
    padding: 02px 0px 2px 16px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 0 2px #ccc inset;
}

.form-control:focus {
    outline: 0;
    box-shadow: 0 0 0 3px rgb(33, 150, 243) inset;
}

.form-group-check {
    margin-top:0px;
}

.form-group-button {
    text-align: center;
    margin: 10px 0 10px 0;
}

.form-control-button {
    appearance: none;
    border: 0;
    border-radius: 5px;
    background: #2168d3;
    color: #fff;
    padding: 8px 16px;
    font-size: 16px;
}

.form-control-button:hover {
    background: #0042c7;
}

.form-control-button:focus {
    background: #003fbe;
    outline: none;
    box-shadow: 0 0 0 4px #cbd6ee;
}

.form-control-link:link { color: #005FFF; }
.form-control-link:visited { color: #005FFF; }
.form-control-link:hover{
    color:#ececec;
    background-color: #005FFF;
}


.text-start {
    margin: 10px 0 0 15px;
}

.anotation_txt {
    color:darkblue;
}

.nomalMessage0{
    color:black;
}
.nomalMessage1{
    color:darkblue;
    font-weight: normal;
}
.nomalMessage2{
    color:darkblue;
    font-size: 12px;
}

.boxarea{
    border:1px solid gray;   /* 枠線 */
    border-radius:7px;         /* 角丸 */
    flex-grow: 1;
}

.boxarea2{
    border:1px solid gray;   /* 枠線 */
    border-radius:7px;         /* 角丸 */
    margin: 10px;
    display: inline-flex;
    /* flex-grow: 0; */
}

.legend {
    font-size: 1.2em;
    font-weight: bold;
}


.caption {
    padding-top: 20px;
    padding-left: 10px;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
}


.create-table{
    width: 100%; /* 親要素に合わせて幅を100%に設定 */
    table-layout: auto; /* 自動調整 */
    margin: 15px 0px 8px 0px;
}

.create-table, .create-table th, .create-table td{
    border-collapse: collapse;
    border:1px solid #333;
}

.tableCell{
    padding: 4px 13px 3px 13px;
    width: 1px; /* 他の列が自動調整されるように最小幅に設定 */
    white-space: nowrap; /* 内容が折り返されないように設定 */
}

.tableCell2{
    padding: 4px 13px 3px 13px;
    width: 1px; /* 他の列が自動調整されるように最小幅に設定 */
}

.tableCell3{
    width: 100%; /* 親要素に合わせて幅を100%に設定 */
    max-width: 0;
}

.tableCell4{
    padding: 4px 25px 3px 25px;
}

.tableCell-auto{
    padding: 4px 13px 3px 13px;
    white-space: nowrap; /* 折り返さない */
    overflow: hidden; /* はみ出た内容を非表示 */
    text-overflow: ellipsis; /* 省略記号を追加 */
    max-width: 0;
}

.tableCell-auto2{
    padding: 4px 13px 3px 13px;
    white-space: nowrap; /* 折り返さない */
    overflow: hidden; /* はみ出た内容を非表示 */
    text-overflow: ellipsis; /* 省略記号を追加 */
}

.tableCell-link{
    padding: 0px;
    white-space: nowrap; /* 内容が折り返されないように設定 */
    color: blue;
    text-decoration: underline;
    cursor: default;
}

.tableCell-link:hover{
    color: rgb(0, 0, 56);
    background-color:rgb(241, 226, 82); /* 背景色 */
}

.downloading{
    color:darkmagenta;
    /* font-size: 14px; */
    cursor: default;
    /* margin-bottom: 5px; */
    animation-name: dltextanime;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes dltextanime {
    0%{
        color:darkmagenta;
    }
    50%{
        color:burlywood;
    }
    100%{
        color:darkmagenta;
    }
}

.input-form-numbox {
    font: 16px/1.6 sans-serif;
    width: 70px;
}

.dialogButtonBox{
    display: flex;
    justify-content: center;
}

.dialogFrame {
    border: solid 2px #000000;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.35);
}

.dialogButton{
    border-radius: 4px;
    padding: 4px;
    font-size: 16px;
    margin-top: 8px;
    margin-left: 10px;
    margin-bottom: 5px;
    background-color:rgb(230, 230, 230); /* 背景色 */
}
.dialogButton:hover{
    background-color:rgb(240, 240, 240); /* 背景色 */
}

.dialog-title{
    font: 21px/1.6 sans-serif;
    font-weight: bold;
}

#systemUIboxInput{
    width: 450px;
    height: 70px;
    /* margin: 5px; */
    padding: 13px 13px 15px 15px;
    background-color:cornsilk; /* 背景色 */
    border: 3px #aaa dotted;
}

#systemUIboxUploading{
    width: 450px;
    height: 70px;
    /* margin: 5px; */
    padding: 30px 13px 5px 15px;
    background-color:cornsilk; /* 背景色 */
    border: 3px #aaa dotted;
    text-align: center;
    font-size: 1.5em;
    color: darkmagenta;
    animation-name: boxanime;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes boxanime {
    0%{
        background-color:cornsilk;
    }
    50%{
        background-color:aquamarine;
    }
    100%{
        background-color:cornsilk;
    }
}

.rightbox{
	display: block;
	text-align: right;
}


.header_container{
	display: flex;
    justify-content: space-between;
}

#platform_publickey{
    width: 100%;
    padding: 4px;
    resize: vertical;
    height: 150px;
    box-sizing: border-box;
}