html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
label, 
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-family:'Inconsolata', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', 'sans-serif'
}
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    /*border: coral;*/
    /*border-style: solid;*/
    /*overflow-y: hidden;*/
}
/*上の部分*/
#header {
    padding: 0 0 0 10px;
    background-color: aliceblue;
    width: 100%;
    height: 180px;
}

#header .fixheader {
    width: 100%;
    height: 180px;
    position: absolute;
    background-color: aliceblue;
}
/*下にスクロールを始めるとここが有効に*/
#header.fixed .fixheader {
    position: fixed;
    top: 0px;
}
/*Javaタッチタイプゲームのタイトル*/
#title{
    width: 500px;
    float: left;
    font-family: "Rounded Mplus 1c";
    font-size: 1.8em;
    font-weight: 500;
}
select{
    margin-bottom: 20px;
}
/*会社情報*/
#company {
    width: 100%;
    float: right;
    padding: 5px 5px 0 0;
    background-color: lightblue;
}

/*情報（説明、ボタン、WPM等）を提供*/
#info{
    float: right;
    /*clear: both;*/
   /* background-color: blue;*/
}

#score{
    font-size: 1.3em;
}

#contents {
    /*width: 100%;*/
    height: auto;
    margin: 0 auto;
    padding: 0 0 0 10px;
    text-align: center;
}
/*プログラム選択の外側*/
#idCategorySelect {
    float: left;
}
/*プログラム文の外側の枠*/
#idTypingGame {
    float: left;
}
#idTypingGameDisplay{
    margin: 20px;
}

#idOutputTitle {
    font-size: 1.5em;
    font-family: "Rounded Mplus 1c";
    text-align: left;
}
/*プログラム文の表示領域*/
#idOutputText {
    margin:10px 0 0 10px;
    font-size: 1.2em;
    line-height: 1.5em;
    font-family: 'Inconsolata', monospace ;
    text-align: left;
}

/*経過時間と正解率とWPM*/
#idGameTime, #idGameRate, #idGameWPM{
    font-size: 1.2em;
    margin-right: 10px;
    color:tomato;
}
/*ボタン*/


.inline-menu {
    display: inline;
    border: 1px solid #eee;
}
.inline-menu a {
    display: inline;
    padding: 20px;
}

.nav-menu {
    font-size: 0;
}
.inline-block-menu {
    display: inline-block;
    border: 1px solid #eee;
}
.inline-block-menu a {
    display: inline-block;
    padding: 20px;
    font-size: 16px;
}
/* mod_message
-----------------------------------------*/
.mod_message{
    position: relative;
    background: #666;
    color: #FFF;
    padding: 50px;
    /* border-radius */
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
}
.mod_message button{
    margin: 0;
    position: absolute;
    top: 10px;
    right: 10px;
}

fieldset{
    border:solid 1px
}
legend {
    font-size:1em; 
    border:solid 1px;
}

#company{
    margin-top:50px;
    padding:20px;
}
#idGameReStart{
    display: none;
    text-align: right;
}

#idGameStart{
    text-align: right;
}

/*フッター用*/

#company ul{
    display: flex; 
    justify-content: space-around;
    list-style:none;
    align-items: center;
    vertical-align: middle;
    padding-top: 6px;
}

li{
    padding-right: 20px;
}

.title{
    margin-left: auto;
}

a{
    text-decoration: none;
    padding: 1;
}

a:hover{
    opacity: 0.5;
}

/*20231029 ボタンの位置を揃えるため*/
.btn {
    vertical-align: middle;  /* ボタンを垂直方向に中央揃えにする */
    margin-right: 5px;      /* ボタン間のマージンを調整する */
}

#idGameStart {
    display: inline-block; /* インライン要素としての特性を保持しつつ、ブロック要素のような特性も持たせます */
    width: 500px;         /* 適切な幅に調整してください */
    text-align: center;   /* テキストとボタンを中央揃えにします */
}

#idGameReStart{
    display: none, inline-block; /* インライン要素としての特性を保持しつつ、ブロック要素のような特性も持たせます */
    width: 500px;         /* 適切な幅に調整してください */
}