.alert {
  border-radius: 10px;
  border-width: 2px;
  border-color: #ffc107;
  color: #856404;
  background-color: #fff3cd;
}
.alert h4 {
  color: #ffc107;
}
.alert hr {
  border-color: #856404;
}

.bg-info {
  background-color: #17a2b8 !important;
}
.page-num {
        background-color: #f0f0f0;
}

.navbar-nav li {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin: 5px;
  padding: 10px;
}


ruby {
  font-size: 1.5em;
}

rt {
  text-align: left;
}

select{
      height:25px;
}
.main-menu {
  display: flex; /* 横並びにする */
  justify-content: space-between; /* メニューとサブメニューを左右に寄せる */
  align-items: center; /* メニューとサブメニューを中央に寄せる */
}

.main-menu ul {
  display: flex; /* 横並びにする */
  list-style: none; /* 箇条書きをなくす */
  margin: 0;
  padding: 0;
}

.main-menu ul li {
  margin-right: 10px; /* メニュー間のスペースを設定 */
}

.sub-menu {
  display: flex; /* 横並びにする */
  list-style: none; /* 箇条書きをなくす */
  margin: 0;
  padding: 0;
}

.sub-menu li {
  margin-right: 30px; /* メニュー間のスペースを設定 */
}

.topmenu_box {
    position: relative;
    padding: 0.5em 0.5em;
    margin: 0.5em 0;
    border: solid 3px #ffd107;/*線*/
    border-radius: 8px;/*角の丸み*/
    color: #000000;/*文字色*/
}
.topmenu_box .topmenu_box_title{
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 10px;
    line-height: 1;
    font-size: 1.3em;/*タイトル文字サイズ*/
    background: #F8F9FA;/*タイトル文字背景色*/
    color: #ffd107;/*タイトル文字色*/
    font-weight: bold;
}
.topmenu_box p {
    margin: 0; 
    padding: 0;
}

.small-text {
	font-size: 1em;
}
.form-container {
  gap: 10px; /* 左右の間隔を調整 */
}
.form_conf {
	text-align: center;
}
.form_conf form {
	display: inline-block;
	margin: 0 10px;
}

.minute, .second, .milli{
    width: 30px; /* 幅を適当な値に設定 */
    display: inline-block;
}
.charcnt, .misscnt {
    width: 45px; /* 幅を適当な値に設定 */
    display: inline-block;
}
.wpm {
    width: 68px; /* 幅を適当な値に設定 */
    display: inline-block;
}


#txtInTime, #txtCharCnt, #txtMissCnt {
    margin-top: 0em;
}

#txtInTime label, #txtCharCnt label, #txtMissCnt label {
    margin-right: 0em;
}
#pattern1, #pattern2 {
    display: none;
}

.error-message {
    font-weight: bold;
}
.error-message.red {
    color: red;
}

#flashcardDisplay {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background: #f9f9f9;
    text-align: center;
}

#scatterChart {
  width: 100%;      /* 親要素幅に対して調整 */
  max-width: 600px; /* 最大幅を指定 */
  height: auto;     /* 高さを自動で調整 */
  max-height: 400px; /* 高さの最大値を指定 */
}

.scatter-title-container {
  text-align: center; /* タイトル中央寄せ */
  margin-bottom: 10px;
}

.scatter-chart-container {
  text-align: left; /* 左寄せ */
}

.scatter-title {
    text-align: left; /* タイトルを左寄せ */
    margin: 0;        /* 余白をリセット */
    padding: 0 180px;  /* 左側に少し余白を追加 */
}


.nav-tabs .nav-link {
  padding: 8px 15px;
  font-size: 14px;
}

.scatter-chart-container {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
}

canvas#scatterChart {
  width: 100% !important;
  max-width: 100%;
}


.filter-button {
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-all {
  background-color: #87CEFA;
}

.btn-rome {
  background-color: #FAA12E;
}

.btn-english {
  background-color: #F9ABB8;
}

.btn-kana {
  background-color: #B5DE69;
}

.btn-other {
  background-color: #D8BFD8;
}

.filter-button:hover {
  opacity: 0.8; /* ホバー時のエフェクト */
}

.addon-step {
  margin-left: 1.5rem; /* インデント用 */
}

.bug-fixed {
  text-decoration: line-through;  /* 取り消し線 */
  color: #6c757d;                 /* グレー色 */
}
.fix-note {
  color: #dc3545;
  font-weight: bold;
  display: block;        /* ブロック要素として改行 */
  margin-left: 20px;     /* 左マージンを増加 */
  margin-top: 4px;       /* 上マージン追加 */
}
.bug-item {
  margin-bottom: 8px;             /* アイテム間の余白 */
}