@charset "utf-8";

/* Vue ロード前に生テンプレートを隠す */
[v-cloak] {
  display: none;
}

/* common */
.copy {
  margin-top: 10em;
}

.historypopup {
  /*background: pink;*/
  /*width: 250px;*/
  /*height: 50px;*/
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.fixmenutext {
  /*font-size: 2.5vmin;*/
  font-size: min(1em, 3vw);
  max-height: 150px;
  max-width: 75vw;
  /*width:100%*/
  overflow: auto;
}

.fixmenu {
  font-size: 1.1vw;
  padding: 0;
}

.fixmenutitle {
  /* font-size: 2.5vw; */
  font-size: 2vmax;
}


.input-value {
  font-size: 1.2rem;
  width: 75%;
  padding-right: .5rem;
  padding-left: .5rem;
  padding-top: .25rem;
}

.display-6 {
  font-size: 1.7rem;
}

.title-on-box span {
  margin-top: 0;
  left: 0;
  top: 0.6em;
  background-color: #fff;
  font-weight: bold;
  color: #6b6b6b;
  /* タイトル文字色 */
}

.title-on-box span {
  margin-top: 0;
  top: 0.6rem;
}

.tb-form span {
  /*display: inline-block;*/
  margin-left: 8px;
  position: relative;
}

.tb-form {
  text-align: left;
}

/* 計算式ブロック */
.calc-formula {
  background: #f0f4ff;
  border-left: 4px solid #3a7bd5;
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  margin: 10px 0;
  font-size: 0.92rem;
  color: #1a2a4a;
  line-height: 1.7;
}

/* 解説テキストブロック */
.calc-description {
  background: #f8f9fa;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
}

.calc-description p {
  margin-bottom: 6px;
}

.calc-description p:last-child {
  margin-bottom: 0;
}

/* 冒頭説明文 */
.calc-intro-text {
  font-size: 0.93rem;
  color: #333;
  line-height: 1.7;
}

/* 補足情報（Row 4） */
.calc-supplement {
  background: #f8f9fa;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.65;
}

.calc-supplement p {
  margin-bottom: 6px;
}

.calc-supplement p:last-child {
  margin-bottom: 0;
}

/* Row 2 の図 */
.card-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* リコメンドサイドバー */
.recommend-section {
  padding: 10px;
  background-color: #fcfcfc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.recommend-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #007bff;
  border-bottom: 2px solid #007bff;
  padding-bottom: 6px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.recommend-link {
  color: #555;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  line-height: 1.4;
}

.recommend-link:hover {
  color: #007bff;
  text-decoration: none;
  transform: translateX(3px);
}

.list-group-item {
  transition: background-color 0.2s ease;
}

.list-group-item:hover {
  background-color: #f0f7ff !important;
}

/* --- Buck (sync) calculator widgets --- */
.buck-metrics {
  margin: 10px 0 8px;
}

.buck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 6px 12px;
  font-size: 0.9rem;
  color: #333;
}

.buck-warn {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ffeeba;
  background: #fff3cd;
  color: #856404;
}

.buck-plots {
  margin-top: 10px;
}

.buck-plot-title {
  margin: 10px 0 6px;
  font-weight: 800;
  font-size: 0.92rem;
  color: #2b2b2b;
}

.buck-canvas {
  display: block;
  width: 100%;
  border: 1px solid #e0e4ea;
  border-radius: 8px;
  background: #fff;
}

.buck-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #555;
}
