@charset "UTF-8";
body {
  background-color: #fdfdfd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

#nav-header {
  border-top: 5px solid !important;
  border-bottom: 1px solid #e9ecef !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#nav-container {
  height: 3.5rem;
}

@media (max-width: 767px) {
  #nav-menu-container {
    position: absolute;
    z-index: 100;
    top: 0.4375rem;
    right: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 0.25rem;
    background-color: #fdfdfd;
  }
}

#nav-trigger:checked ~ #nav-menu {
  display: block !important;
}

#content {
  /* フォーム要素のスタイル改善 */
  /* レスポンシブ対応 */
}
#content h1, #content h2, #content h3, #content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  text-align: left;
  font-weight: 600;
}
#content blockquote {
  border-left: 4px solid #e9ecef;
  padding-left: 1rem;
  font-style: italic;
  background-color: #f8f9fa;
  border-radius: 0 0.25rem 0.25rem 0;
  padding: 1rem 1rem 1rem 2rem;
  margin: 1.5rem 0;
}
#content .footnotes {
  text-align: left;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}
#content strong {
  font-weight: bold;
  color: #a00;
}
#content .canvaswrapper {
  width: 100%;
  min-height: 650px;
  position: relative;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
#content .btn1, #content .btn2 {
  width: auto;
  min-width: 80px;
  text-align: center;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}
#content .btn1:hover, #content .btn2:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#content .btn1:active, #content .btn2:active {
  transform: translateY(1px);
}
#content .btn1 {
  background-color: #007bff;
  color: #ffffff;
}
#content .btn1:hover {
  background-color: rgb(0, 98.4, 204);
}
#content .btn2 {
  background-color: #099;
  color: #ffffff;
}
#content .btn2:hover {
  background-color: #006666;
}
#content p {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
#content em {
  font-weight: 600;
  font-style: normal;
  color: #555;
  margin-right: 0.5rem;
}
#content input[type=number] {
  padding: 0.35rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-right: 0;
  width: 100%;
  max-width: 80px;
  transition: border-color 0.15s ease-in-out;
  text-align: center;
}
#content input[type=number]:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
#content input[type=radio] {
  margin-right: 0.2rem;
  margin-left: 0.3rem;
  vertical-align: middle;
}
#content label {
  margin-right: 0.5rem;
  vertical-align: middle;
  font-weight: 500;
}
@media (max-width: 768px) {
  #content .canvaswrapper {
    padding: 1rem;
  }
  #content p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #content .btn1, #content .btn2 {
    flex: 1 0 auto;
    margin-bottom: 0.75rem;
  }
  #content em {
    width: 100%;
    display: block;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
  }
  #content input[type=number] {
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
  }
  #content .control-group {
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
    align-items: stretch;
  }
  #content .control-method-container,
  #content .reference-signal-container,
  #content .pid-container {
    width: 100%;
    min-width: 100%;
    flex: auto;
  }
  #content .pid-gains-container {
    width: 100%;
  }
  #content .control-label {
    min-width: 90px;
    margin-right: 0.5rem;
  }
}

#rss-icon {
  height: 1.5rem;
  width: 1.5rem;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='rgb(134, 142, 150)' d='M119.9,336.1c-30.8,0-55.9,25.1-55.9,55.8c0,30.8,25.1,55.6,55.9,55.6c30.9,0,55.9-24.9,55.9-55.6,C175.8,361.2,150.8,336.1,119.9,336.1z'/%3E%3Cpath fill='rgb(134, 142, 150)' d='M64,192v79.9c48,0,94.1,14.2,128,48.1c33.9,33.9,48,79.9,48,128h80C320,308.1,204,192,64,192z'/%3E%3Cpath fill='rgb(134, 142, 150)' d='M64,64v79.9c171,0,303.9,133,303.9,304.1H448C448,236.3,276,64,64,64z'/%3E%3C/svg%3E");
}

#site-footer {
  border-top: 1px solid #e9ecef;
  padding-top: 2rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #666;
}

.highlight pre {
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  background-color: #f8f9fa;
  padding: 0.75rem;
  margin-bottom: 1rem;
  white-space: pre-wrap;
  font-size: 0.9rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

img {
  margin: 1rem;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

table {
  border: 1px solid #dee2e6;
  border-collapse: collapse;
  margin: 1.5rem auto;
  width: auto;
  max-width: 100%;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
  display: block;
}

td, th {
  padding: 0.75rem;
  text-align: center;
  border: 1px solid #dee2e6;
}

th {
  background-color: #f8f9fa;
  font-weight: 600;
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

/* グラフ関連のスタイル */
.chart-container {
  position: relative;
  width: 100%;
  height: 500px;
  margin: 1rem 0;
}

#myChart {
  width: 100% !important;
  height: 100% !important;
}

/* カスタムクラス */
.gain-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
  height: 100%;
  justify-content: space-between;
}

.gain-group > div {
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
}

.control-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding: 1rem 1.2rem;
  background-color: #f0f2f5;
  border-radius: 0.5rem;
  align-items: flex-start;
}

.control-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 0;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.control-group > div {
  background-color: white;
  border-radius: 0.35rem;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-width: 120px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  flex: 1;
}

.gain-group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
}

.gain-item {
  display: flex;
  flex-direction: column;
}

.control-label {
  font-weight: 600;
  margin-right: 0.5rem;
  min-width: 100px;
  margin-bottom: 0.5rem;
  display: block;
}

.gain-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.8rem;
  background-color: white;
  border-radius: 0.35rem;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  width: 100%;
  justify-content: space-between;
  flex: 1.5;
  min-width: 250px;
}

.gain-item {
  display: flex;
  flex-direction: column;
  min-width: auto;
  flex: 1;
  text-align: center;
  margin-right: 10px;
}

.gain-item:last-child {
  margin-right: 0;
}

.gain-item input[type=number] {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.gain-item label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  text-align: center;
}

/* 制御パネルのスタイル */
.control-box {
  background-color: white;
  border-radius: 0.35rem;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.gain-box {
  flex: 1.5;
}

.gain-inputs {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: 0.8rem;
}

.gain-item {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.gain-item label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
}

.gain-item input[type=number] {
  width: 100%;
  max-width: 80px;
  box-sizing: border-box;
  text-align: center;
  margin: 0 auto;
}

/* パラメータ用スタイル */
.param-container {
  background-color: white;
  border-radius: 0.35rem;
  padding: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex: 1.5;
}

.param-inner-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
}

.param-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
}

.param-item label {
  margin-bottom: 0.3rem;
  font-weight: 500;
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
}

.param-item input[type=number] {
  width: 100%;
  max-width: 80px;
  text-align: center;
  padding: 0.35rem 0.5rem;
  box-sizing: border-box;
}

/* モバイル用特別調整 */
@media (max-width: 576px) {
  body {
    font-size: 0.95rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  h1 {
    font-size: 1.75rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  .canvaswrapper {
    padding: 0.75rem;
    min-height: 500px;
  }
  .chart-container {
    height: 300px;
  }
  table {
    font-size: 0.9rem;
  }
  .pid-gains-container, .ff-params-container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pid-gain-item, .ff-param-item {
    flex: 1;
    min-width: 80px;
  }
  .gain-container {
    flex-direction: column;
  }
  .gain-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  input[type=number] {
    width: 100%;
  }
  /* Feedforwardパラメータスタイル */
  .ff-params-container {
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 0.35rem;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    flex: 1.5;
  }
  .ff-params-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
  }
  .ff-param-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
  }
  .ff-param-item label {
    margin-bottom: 0.3rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }
  .ff-param-item input[type=number] {
    width: 100%;
    max-width: 80px;
    text-align: center;
    padding: 0.35rem 0.5rem;
    box-sizing: border-box;
  }
  .param-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
  }
  .param-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
  }
  .param-item label {
    margin-bottom: 0.3rem;
    font-weight: 500;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
  }
  .param-item input[type=number] {
    width: 100%;
    max-width: 80px;
    text-align: center;
    padding: 0.35rem 0.5rem;
    box-sizing: border-box;
  }
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

/*# sourceMappingURL=main.css.map */