/* --- ベースのスタイル（他を邪魔しないように専用の箱に設定） --- */
.manual-wrapper {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  background-color: #fff;
  padding: 40px 20px;
}
.manual-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* --- ページタイトルのスタイル --- */
.manual-title {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  color: #1a2a6c !important;
  font-size: 28px !important;
  font-weight: bold !important;
  margin: 0 auto 40px auto !important;
  padding: 0 !important;
  clear: both !important;
  line-height: 1.5 !important;
}

/* --- プルダウンのスタイル --- */
.select-wrapper {
  text-align: center;
  margin-bottom: 50px;
}
.custom-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #1a2a6c;
  border-radius: 25px;
  padding: 12px 50px 12px 20px;
  font-size: 18px;
  color: #1a2a6c;
  cursor: pointer;
  width: 320px;
  max-width: 100%;
  /* 矢印を背景画像で設定 */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a2a6c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 24px;
}
.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 42, 108, 0.2);
}

/* --- カテゴリとリストのスタイル --- */
.category-section {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 30px; 
}
.category-title {
  background-color: #1a2a6c;
  color: #fff;
  font-size: 18px;
  padding: 10px 50px;
  border-radius: 25px;
  margin-bottom: 25px;
  display: inline-block;
}

.product-list {
  width: 100%;
  max-width: 600px;
}
.product-item {
  display: flex;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  scroll-margin-top: 30px; 
}
.product-item:last-child {
  border-bottom: none;
}

/* --- 画像エリアのスタイル --- */
.product-info {
  width: 180px;
  text-align: center;
  margin-right: 30px;
  flex-shrink: 0;
}
.product-info img {
  max-width: 140px;
  height: auto;
  margin-bottom: 0;
}

/* --- マニュアルのリンク文字 --- */
.manual-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.manual-links li {
  margin-bottom: 10px;
}
.manual-links li:last-child {
  margin-bottom: 0;
}
.manual-links a {
  color: #0056b3;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
}
.manual-links a::before {
  content: '・';
  color: #0056b3;
  margin-right: 4px;
}
.manual-links a:hover {
  text-decoration: underline;
}

/* --- スマホ向けの調整 --- */
@media (max-width: 500px) {
  .manual-wrapper {
    padding: 20px 10px; /* スマホ用に外枠の余白も少し調整 */
  }
  .custom-select {
    font-size: 16px;
    padding: 10px 40px 10px 20px;
    width: 280px;
  }
  .category-title {
    font-size: 16px;
    padding: 8px 40px;
  }
  .product-item {
    flex-direction: row; 
    align-items: center; 
    padding: 15px 0;
  }
  .product-info {
    width: 100px;
    margin-right: 15px; 
    margin-bottom: 0; 
    text-align: center;
  }
  .product-info img {
    max-width: 100px; 
    margin-right: 0;
  }
  .manual-links {
    flex: 1; 
  }
  .manual-links li {
    margin-bottom: 12px; 
  }
  .manual-links a {
    font-size: 14px;
    line-height: 1.4;
  }
}