@charset "utf-8";

/* ============================================================
   trouble
============================================================ */

#main h1 {
  margin-bottom: 30px;
}
#main h1 img {
  width: 100%;
  max-width: 503px;
  height: auto;
}

#lead {
  margin-bottom: 30px;
}
#lead strong img {
  width: 100%;
  max-width: 315px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}
#lead p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #444;
}

/* ============================================================
   修理項目
============================================================ */
.tr_item {
  border: 1px solid #d4b896;
  background: #fffaf3;
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

/* 上段：画像＋見出し */
.tr_item_top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.tr_item_top .tr_thumb {
  flex-shrink: 0;
  width: 120px;
}
.tr_item_top .tr_thumb img {
  width: 100%;
  height: auto;
}
.tr_item_top .tr_head {
  flex: 1;
}
.tr_item_top .tr_head strong.midashi img {
  width: 100%;
  max-width: 631px;
  height: auto;
  display: block;
  margin-bottom: 8px;
}

/* 下段：症状＋修理内容 */
.tr_item_body {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.tr_item_body dl.d1 {
  flex: 1;
  min-width: 160px;
}
.tr_item_body dl.d1 dt img {
  width: 100%;
  max-width: 256px;
  height: auto;
  margin-bottom: 6px;
}
.tr_item_body dl.d1 > * {
  color: #3389a3;
  font-weight: bold;
}
.tr_item_body dl.d1 dd {
  font-size: 0.8rem;
  line-height: 1.7;
  font-weight: normal;
  color: #444;
}

.tr_item_body dl.d2 {
  flex: 2;
  min-width: 200px;
}
.tr_item_body dl.d2 dt img {
  width: 100%;
  max-width: 345px;
  height: auto;
  margin-bottom: 6px;
}
.tr_item_body dl.d2 dd {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #444;
}

/* ボタン */
.tr_item_btn {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}
.tr_item_btn img {
  width: 106px;
  height: auto;
}

/* ============================================================
   responsive (max 768px)
============================================================ */
@media (max-width: 768px) {

  .tr_item_top {
    flex-direction: column;
  }
  .tr_item_top .tr_thumb {
    width: 100%;
    max-width: 160px;
  }
  .tr_item_body {
    flex-direction: column;
  }
  .tr_item_body dl.d1,
  .tr_item_body dl.d2 {
    min-width: unset;
    width: 100%;
  }
}