@charset "UTF-8";

.contentarea{
  padding-bottom: 80px;
}
/* ==========================================
   サイドバー全体の設定
   ========================================== */
.sidebar {
  width: 130px; /* 必要に応じて幅を調整 */
  background: linear-gradient(to right, #41964b 0%, #50a359 50%, #43984d 100%);
  min-height: 100vh;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "メイリオ", sans-serif;
  border-left: 7px solid #000000; /* 左側黒縦棒 */
}

/* 最上部：contents ロゴ領域 */
.sidebar-header {
  color: #66cdaa;
  font-size: 0.9rem;
  padding: 8px 12px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

/* メニューリスト基本設定 */
.sidebar-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各メニュー項目（白ラインの枠組み） */
.sidebar-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.sidebar-menu li a {
  display: block;
  padding: 12px 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.2s;
}

/* ホバー時の挙動 */
.sidebar-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ==========================================
   選択中のメニュー（製品紹介などの active 状態）
   ========================================== */
.sidebar-menu li.active {
  /* 明るい黄緑グラデーション＋上下枠線で立体感 */
  background: linear-gradient(to bottom, #98c855 0%, #4ea355 50%, #3e8d44 100%);
  border-top: 1px solid #c2e28f;
  border-bottom: 2px solid #29602e;
  padding: 8px 5px;
}

.sidebar-menu li.active a {
  padding: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.sidebar-menu li.active a:hover {
  background: none;
}

/* 選択中の内部テキスト装飾 */
.sidebar-menu li.active .main-title {
  display: block;
  font-size: 1.05rem;
  color: #ffd700;
  margin-bottom: 2px;
}

.sidebar-menu li.active .sub-title {
  display: block;
  font-size: 0.7rem;
  color: #ffeb3b; /* 黄色テキスト */
  line-height: 1.2;
  font-weight: normal;
}

.sidebar-menu li.active .model-name {
  display: block;
  font-size: 0.65rem;
  color: #ffffff;
  margin-top: 3px;
  font-weight: normal;
  text-align: left;
  padding-left: 8px;
}

/* 最下部：TOP リンク */
.sidebar-menu li.top-link a {
  letter-spacing: 0.3em;
  padding-top: 15px;
  padding-bottom: 15px;
}

/* ------------------------------------------
   型式一覧のリンク表示調整
   ------------------------------------------ */

/* 現在表示中の型式（文字を強調して固定） */
.sidebar-menu li.active .model-name.active-model {
  color: #ffd700; /* 金色/黄色で「現在地」を強調 */
  font-weight: bold;
}

/* リンク付き型式（通常時） */
.sidebar-menu li.active a.model-link {
  display: block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-menu li.active a.model-link .model-name {
  color: #e2e8f0; /* 少し控えめな白/淡いグレー */
}

/* リンク付き型式（ホバー時：ここを押せる感） */
.sidebar-menu li.active a.model-link:hover .model-name {
  color: #ffffff;
  text-decoration: underline; /* 下線を表示 */
  padding-left: 12px;         /* ほんの少し右にずれるアニメーション */
}

/*--------------------------------------
　サイドバーからの位置調整（上書き）
--------------------------------------*/
.blank-space{
  width: 160px;
}
