@charset "UTF-8";
/* ==========================================================================
   住宅設備取扱説明書ダウンロードページ 専用スタイル
   既存のNoto Sans JP / Roboto Condensed を継承
   ========================================================================== */

/* ---------- Body wrapper ---------- */
.manual-body {
  background: #f7f9fa;
  padding: 40px 20px 80px;
  max-width: 980px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ---------- STEPカード ---------- */
.manual-step {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  box-sizing: border-box;
}

.manual-step__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e6e6e6;
}

.manual-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 28px;
  padding: 0 12px;
  background: #c8a97e;
  color: #ffffff;
  font-family: 'Roboto Condensed', 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 20px;
  white-space: nowrap;
}

.manual-step__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #333333;
  line-height: 1.5;
}

.manual-step__body {
  padding-top: 4px;
}

/* ---------- コネクター線 ---------- */
.manual-connector {
  width: 2px;
  height: 50px;
  margin: 0 auto;
  background: #c8a97e;
  opacity: 0.6;
}

/* ---------- STEP1 エリアボタン ---------- */
.manual-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.manual-area-btn {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  padding: 14px 8px;
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.manual-area-btn:hover {
  border-color: #c8a97e;
  color: #8a6a40;
}

.manual-area-btn.is-selected {
  background: #c8a97e;
  color: #ffffff;
  border-color: #c8a97e;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(200, 169, 126, 0.3);
}

/* ---------- STEP2 カテゴリラベル & 設備ボタン ---------- */
.manual-category {
  margin-bottom: 22px;
}
.manual-category:last-child {
  margin-bottom: 0;
}

.manual-category__label {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #777777;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.manual-category__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: #c8a97e;
  border-radius: 2px;
}

/* ---------- ADORE エリアグループ ---------- */
.manual-area-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}
.manual-area-group__label {
  position: relative;
  padding-left: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #777777;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.manual-area-group__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 4px;
  background: #c8a97e;
  border-radius: 2px;
}

.manual-equip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manual-equip-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-block;
  padding: 10px 18px;
  background: #ffffff;
  color: #555555;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.manual-equip-btn:hover {
  border-color: #c8a97e;
  color: #8a6a40;
}

.manual-equip-btn.is-selected {
  background: #f5ede0;
  border-color: #c8a97e;
  color: #8a6a40;
  font-weight: 700;
}

/* ---------- STEP3 結果リスト ---------- */
.manual-result__meta {
  margin-bottom: 16px;
  font-size: 13px;
  color: #777777;
  text-align: right;
}

.manual-result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.manual-result__empty {
  margin: 0;
  padding: 32px 20px;
  background: #fafbfc;
  border: 1px dashed #e0e0e0;
  border-radius: 8px;
  color: #888888;
  font-size: 14px;
  text-align: center;
}

/* PDFアイテム（横並び） */
.manual-pdf-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fafbfc;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.manual-pdf-item:hover {
  border-color: #c8a97e;
  box-shadow: 0 2px 8px rgba(200, 169, 126, 0.15);
}

.manual-pdf-item__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 52px;
  background: #ffffff;
  border: 2px solid #c8a97e;
  border-radius: 4px;
  color: #c8a97e;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.manual-pdf-item__info {
  flex: 1 1 auto;
  min-width: 0;
}

.manual-pdf-item__equip {
  font-size: 14px;
  font-weight: 700;
  color: #333333;
  margin-bottom: 4px;
  line-height: 1.3;
}

.manual-pdf-item__filename {
  font-size: 12px;
  color: #777777;
  line-height: 1.4;
  word-break: break-all;
}

.manual-pdf-item__dl {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 18px;
  background: #c8a97e;
  color: #ffffff !important;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.manual-pdf-item__dl:hover {
  background: #b8986a;
  transform: translateY(-1px);
}

/* ---------- SP ---------- */
@media (max-width: 767px) {
  .manual-body {
    padding: 24px 12px 60px;
  }
  .manual-step {
    padding: 22px 18px;
    border-radius: 8px;
  }
  .manual-step__head {
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .manual-step__title {
    font-size: 15px;
  }
  .manual-step__badge {
    min-width: 58px;
    font-size: 12px;
    height: 26px;
  }

  .manual-area-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .manual-area-btn {
    padding: 13px 6px;
    font-size: 14px;
  }

  .manual-category {
    margin-bottom: 18px;
  }
  .manual-equip-list {
    gap: 8px;
  }
  .manual-equip-btn {
    padding: 9px 14px;
    font-size: 13px;
  }

  .manual-pdf-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
  }
  .manual-pdf-item__icon {
    width: 40px;
    height: 48px;
  }
  .manual-pdf-item__info {
    flex: 1 1 calc(100% - 60px);
  }
  .manual-pdf-item__dl {
    flex: 1 1 100%;
    min-width: 0;
    padding: 12px 18px;
  }
}
