/* SDP 簡単見積もり 抽出CSS（全ページ用・styles.cssから抽出） */
:root{--brand: #a34f4d;
  --brand-dark: #803d3c;
  --logo-gray: #999a9c;
  --ink: #2b2c2e;
  --muted: #6f7073;
  --paper: #fffdfb;
  --soft: #f5f5f4;
  --line: #e2e1df;
  --green: #707174;
  --shell: 1180px;}
.estimate-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 900;
  display: grid;
  width: min(760px, calc(100% - 40px));
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid #d9d4d1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgb(28 22 23 / 22%);
  transform: translateX(-50%);
}
.estimate-dock-item {
  display: flex;
  min-width: 0;
  min-height: 76px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 10px 18px;
  border: 0;
  border-right: 1px solid #e7e2df;
  color: #302c2e;
  background: #fff;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: color .2s, background .2s;
}
.estimate-dock-item:last-child { border-right: 0; }
.estimate-dock-item svg {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}
.estimate-dock-item span,
.estimate-dock-item small,
.estimate-dock-item strong { display: block; }
.estimate-dock-item small {
  color: #82797c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
}
.estimate-dock-item strong { margin-top: 3px; font-size: 17px; }
.estimate-dock-item:hover { color: var(--brand-dark); background: #fbf7f5; }
.estimate-dock-price {
  color: #fff;
  background: var(--brand);
}
.estimate-dock-price small { color: rgb(255 255 255 / 82%); }
.estimate-dock-price:hover { color: #fff; background: var(--brand-dark); }
.estimate-dock-mail { color: #fff; background: var(--logo-gray); }
.estimate-dock-mail small { color: rgb(255 255 255 / 82%); }
.estimate-dock-mail:hover { color: #fff; background: #858689; }
.estimate-dock-contact { color: #fff; background: #55565a; }
.estimate-dock-contact small { color: rgb(255 255 255 / 82%); }
.estimate-dock-contact:hover { color: #fff; background: #414246; }
.estimate-dock-tel { color: #fff; background: var(--brand-dark); }
.estimate-dock-tel small { color: rgb(255 255 255 / 85%); }
.estimate-dock-tel:hover { color: #fff; background: #6f3433; }
.estimate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgb(20 18 19 / 62%);
  backdrop-filter: blur(3px);
}
.estimate-overlay[hidden] { display: none; }
.estimate-open { overflow: hidden; }
.estimate-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 42px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgb(0 0 0 / 28%);
}
.estimate-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #625b5e;
  background: #fff;
  cursor: pointer;
  font-size: 26px;
}
.estimate-progress { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.estimate-progress i { width: 52px; height: 4px; border-radius: 9px; background: #e8ded9; }
.estimate-progress i.active { background: var(--brand); }
.estimate-back { padding: 0; border: 0; color: var(--brand-dark); background: none; cursor: pointer; font-weight: 800; }
.estimate-content { max-width: 760px; margin: 24px auto 0; text-align: center; }
.estimate-kicker { margin: 0; color: var(--brand-dark); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.estimate-content h2 { margin: 10px 0 8px; font-size: clamp(26px, 3vw, 38px); }
.estimate-content > p:not(.estimate-kicker) { color: var(--muted); }
.estimate-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.estimate-option {
  min-height: 64px;
  padding: 12px;
  border: 1px solid #d9c5bf;
  border-radius: 8px;
  color: #282527;
  background: #fff;
  cursor: pointer;
  font: 800 16px/1.35 inherit;
}
.estimate-option:hover { border-color: var(--brand); background: #fcf5f3; }
.estimate-selection { margin: 28px 0; border-top: 1px solid var(--line); }
.estimate-selection div { display: grid; grid-template-columns: 120px 1fr; padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.estimate-selection dt { color: var(--muted); }
.estimate-selection dd { margin: 0; font-weight: 800; }
.estimate-note { font-size: 13px; line-height: 1.8; }
.estimate-result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.estimate-result-actions a { display: grid; min-height: 58px; place-items: center; border-radius: 7px; color: #fff; background: var(--brand); font-weight: 900; }
.estimate-result-actions a:last-child { background: #486b57; }
@media (max-width: 820px){
.estimate-dock {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid #ddd7d4;
    border-radius: 0;
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 -8px 28px rgb(32 26 28 / 12%);
    transform: none;
    backdrop-filter: blur(10px);
  }
.estimate-dock-item {
    width: 92px;
    min-height: 92px;
    justify-self: center;
    flex-direction: column;
    gap: 3px;
    padding: 6px 3px;
    border: 1px solid #ddd7d4;
    border-radius: 50%;
    background: #fff;
    text-align: center;
  }
.estimate-dock-item:last-child { border: 1px solid #ddd7d4; }
.estimate-dock-item svg { width: 31px; height: 31px; }
.estimate-dock-item small { display: none; }
.estimate-dock-item strong { margin: 0; font-size: 13px; }
.estimate-dock-price {
    width: 92px;
    margin-top: 0;
    min-height: 92px;
    border-color: var(--brand);
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 7px 18px rgb(167 61 73 / 24%);
  }
.estimate-dock-mail {
    border-color: var(--logo-gray);
    color: #fff;
    background: var(--logo-gray);
  }
.estimate-dock-contact {
    border-color: #55565a;
    color: #fff;
    background: #55565a;
  }
.estimate-dock-tel {
    border-color: var(--brand-dark);
    color: #fff;
    background: var(--brand-dark);
  }
.estimate-modal { padding: 34px 18px 24px; border-radius: 12px; }
.estimate-options { grid-template-columns: 1fr 1fr; gap: 9px; }
.estimate-option { min-height: 56px; font-size: 14px; }
}
@media (max-width: 480px){
.estimate-options, .estimate-result-actions { grid-template-columns: 1fr; }
}
