/* ====== 設置イメージ・お見積りページ ====== */

.sign-estimate-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.sign-estimate-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.sign-estimate-intro h1 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.sign-estimate-intro p {
  color: #555;
  line-height: 1.8;
}

.step-section.is-hidden {
  display: none !important;
}

.step-section {
  background: #fff;
  border: 1px solid #dbe4ef;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.step-section.is-complete {
  border-color: #7ec1ff;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: dodgerblue;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.step-heading h2 {
  font-size: 1.15rem;
  color: #1a1a1a;
}

.drop-zone {
  border: 3px dashed #aac7e8;
  border-radius: 12px;
  background: #f8fbff;
  padding: 2.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: dodgerblue;
  background: #eef6ff;
}

.drop-zone.has-photo {
  padding: 0;
  border-style: solid;
  cursor: default;
}

.drop-zone.has-photo .drop-zone__placeholder {
  display: none;
}

.drop-zone__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.drop-zone__text {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.drop-zone__hint {
  color: #666;
  font-size: 0.9rem;
}

.file-input {
  display: none;
}

.sign-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sign-type-card {
  border: 2px solid #c9d9ea;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  background: #fff;
  min-width: 140px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.2s, background-color 0.2s;
}

.sign-type-card:hover {
  border-color: #7ec1ff;
  background: #f8fbff;
}

.sign-type-card.is-active {
  border-color: dodgerblue;
  background: #eef6ff;
}

.sign-type-card__name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sign-type-list--variants .sign-type-card {
  min-width: 200px;
  flex: 1 1 220px;
}

.wall-variant-section .sign-type-card__note {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.wall-variant-section {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid #cfe3fb;
  border-radius: 10px;
}

.wall-variant-section__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
}

.wall-variant-section__hint {
  margin: -0.35rem 0 0.85rem;
}

.wall-variant-section .standing-type-list {
  margin-bottom: 0;
}

.wall-size-section {
  margin-top: 1rem;
}

.wall-size-fields {
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.wall-size-field__input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wall-size-field__input-row input {
  flex: 1 1 auto;
}

.wall-size-field__unit {
  flex: 0 0 auto;
  font-size: 0.9rem;
  color: #555;
}

.wall-size-fields.is-disabled {
  opacity: 0.55;
}

.wall-size-fields.is-disabled input:disabled {
  cursor: not-allowed;
  background-color: #eef2f6;
}

.wall-size-section .option-list {
  margin-top: 0.25rem;
}

.estimate-panel__amount.is-inquiry {
  font-size: 1.35rem;
  color: #555;
}

.estimate-panel__multi-location-note {
  margin: 0.35rem 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  color: #2e5c8a;
}

.estimate-panel__multi-location-note[hidden] {
  display: none;
}

.size-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  align-items: end;
}

.size-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #444;
}

.size-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9d9ea;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-primary,
.btn-secondary,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.btn-primary {
  background: dodgerblue;
  color: #fff;
}

.btn-secondary {
  background: #eef3f8;
  color: #234;
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-line:hover {
  opacity: 0.88;
}

.btn-primary:disabled,
.btn-secondary:disabled,
.btn-line:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.photo-reset-actions {
  margin-top: 0.75rem;
  text-align: center;
}

.photo-reset-actions .btn-secondary {
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.canvas-area {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 560px;
  background: #ddd;
  border-radius: 10px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.canvas-area__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sign-overlay {
  position: absolute;
  border: 2px solid rgba(30, 144, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: move;
}

.sign-overlay.is-dragging {
  cursor: grabbing;
}

.sign-overlay__image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  pointer-events: none;
}

.resize-handle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid dodgerblue;
  border-radius: 50%;
  z-index: 2;
}

.resize-handle--nw { top: -8px; left: -8px; cursor: nwse-resize; }
.resize-handle--ne { top: -8px; right: -8px; cursor: nesw-resize; }
.resize-handle--sw { bottom: -8px; left: -8px; cursor: nesw-resize; }
.resize-handle--se { bottom: -8px; right: -8px; cursor: nwse-resize; }

.canvas-hint {
  margin-top: 0.75rem;
  color: #666;
  font-size: 0.9rem;
}

.canvas-hint--before-field {
  margin-bottom: 1.25rem;
}

#step1-hint {
  margin-bottom: 1.25rem;
}

#wall-replace-face-intro-text,
#wall-repair-intro-text,
#wall-removal-intro-text {
  margin-bottom: 1.25rem;
}

.estimate-panel {
  margin-top: 1rem;
  padding: 1rem;
  background: #f7fbff;
  border: 1px solid #cfe3fb;
  border-radius: 10px;
}

.estimate-panel__title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.estimate-panel__amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1565c0;
  margin-bottom: 0.75rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid #cfe3fb;
}

.estimate-panel__materials-title {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.35rem;
}

.estimate-panel__breakdown {
  padding: 0;
  margin: 0 0 0.75rem;
  color: #444;
  line-height: 1.7;
}

.estimate-breakdown-section + .estimate-breakdown-section {
  margin-top: 0.85rem;
}

.estimate-breakdown-section__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 0.25rem;
}

.estimate-breakdown-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.estimate-breakdown-section__list li {
  font-size: 0.9rem;
  color: #444;
}

.estimate-panel__note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.estimate-panel__disclaimer {
  font-size: 0.8rem;
  color: #888;
}

.size-form--overlay {
  margin-top: 1rem;
}

.sheet-only-options {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
}

.sheet-only-options__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #333;
}

.sheet-only-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.sheet-only-fieldset legend {
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 0.5rem;
}

.option-list {
  display: grid;
  gap: 0.5rem;
}

.option-list label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.option-list__text {
  display: grid;
  gap: 0.15rem;
}

.option-list__main {
  font-weight: 600;
  color: #222;
}

.option-list__sub {
  font-size: 0.85rem;
  color: #666;
}

.wall-consultation-section:not([hidden]),
.window-consultation-section:not([hidden]),
.standing-consultation-section:not([hidden]) {
  margin-top: 2rem;
}

.standing-consultation-guidance {
  margin-top: 1rem;
  margin-bottom: 0;
}

.wall-replace-face-section,
.window-replace-face-section,
.window-repair-section,
.window-removal-section {
  margin-top: 1rem;
}

.window-replace-reason-divider {
  margin: 1.25rem 0 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.window-replace-reason-unsure-note {
  margin: 0.5rem 0 0 1.75rem;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.wall-replace-wizard-steps {
  margin-top: 0.5rem;
}

.wall-replace-wizard-group-title {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.wall-replace-wizard-steps > .wall-replace-wizard-group-title:first-child {
  margin-top: 0;
}

.wall-replace-concern-list input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.2rem;
  border: 1px solid #767676;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}

.wall-replace-concern-list input[type="checkbox"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: dodgerblue;
}

.wall-replace-concern-list input[type="checkbox"]:checked {
  border-color: dodgerblue;
}

.wall-replace-concern-list input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.wall-replace-concern-list input[type="checkbox"]:focus-visible {
  outline: 2px solid dodgerblue;
  outline-offset: 2px;
}

.wall-size-section + .sheet-only-options,
.wall-variant-section + .wall-size-section {
  margin-top: 1rem;
}

.window-replace-wizard-steps {
  margin-top: 0.5rem;
}

/* WEB相談室：質問見出し（左アクセントライン・共通） */
.inquiry-question-heading,
.window-replace-wizard-step > legend,
.window-repair-wizard-step > legend,
#wall-size-section #wall-size-title,
#sheet-only-options .sheet-only-fieldset > legend,
#wall-install-site-section .sheet-only-fieldset > legend,
.wall-new-install-additional-notes-fieldset > legend {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.05rem 0 0.05rem 0.7rem;
  margin: 0 0 0.6rem;
  border-left: 1px solid #8aa8c4;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  color: #333;
}

.window-replace-wizard-step + .window-replace-wizard-step,
.window-replace-wizard-step + .consult-guidance,
.consult-guidance + .window-replace-wizard-step,
.consult-guidance + .consult-guidance {
  margin-top: 1rem;
}

.consult-guidance {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background-color: #f5f8fc;
  border: 1px solid #d8e3f0;
}

.consult-guidance__title {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2f5f8f;
}

.consult-guidance__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333;
}

.window-replace-subquestion {
  margin-top: 0.85rem;
}

.window-replace-subquestion__title {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.window-replace-notes-field {
  margin-top: 0.75rem;
}

.window-replace-notes-field label {
  display: block;
  margin-bottom: 0.35rem;
}

.window-replace-checkbox-list input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.2rem;
  border: 1px solid #767676;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}

.window-replace-checkbox-list input[type="checkbox"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: dodgerblue;
}

.window-replace-checkbox-list input[type="checkbox"]:checked {
  border-color: dodgerblue;
}

.window-replace-checkbox-list input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.window-new-install-section {
  margin-top: 1rem;
}

.window-new-interior-hint {
  margin-top: 0.75rem;
}

.wall-repair-section {
  margin-top: 1rem;
}

.wall-repair-wizard-steps {
  margin-top: 0.5rem;
}

.wall-repair-symptom-group-title {
  margin: 1rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
}

.wall-repair-wizard-steps > .window-replace-wizard-step:first-child .wall-repair-symptom-group-title:first-of-type {
  margin-top: 0.35rem;
}

.wall-repair-notes-label {
  margin: 1rem 0 0.35rem;
  font-size: 0.9rem;
  color: #444;
}

.wall-repair-safety-guidance {
  margin-top: 0.25rem;
}

.wall-repair-safety-guidance .consult-guidance__text {
  color: #8a4b00;
}

.wall-repair-symptom-list input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.2rem;
  border: 1px solid #767676;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}

.wall-repair-symptom-list input[type="checkbox"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: dodgerblue;
}

.wall-repair-symptom-list input[type="checkbox"]:checked {
  border-color: dodgerblue;
}

.wall-repair-symptom-list input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.wall-repair-symptom-list input[type="checkbox"]:focus-visible {
  outline: 2px solid dodgerblue;
  outline-offset: 2px;
}

.wall-removal-section {
  margin-top: 1rem;
}

.wall-removal-wizard-steps {
  margin-top: 0.5rem;
}

.wall-removal-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.wall-removal-wizard-steps > .window-replace-wizard-step + .consult-guidance,
.wall-removal-wizard-steps > .consult-guidance + .window-replace-wizard-step {
  margin-top: 1rem;
}

.wall-new-install-additional-notes-fieldset {
  margin-top: 1rem;
}

.wall-new-install-additional-notes {
  width: 100%;
  max-width: 32rem;
  margin-top: 0.35rem;
  min-height: 5rem;
  resize: vertical;
}

.wall-removal-site-address,
.wall-removal-additional-notes {
  width: 100%;
  max-width: 32rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #cfe3fb;
  border-radius: 6px;
  font-size: 0.95rem;
}

.wall-removal-additional-notes {
  min-height: 5rem;
  resize: vertical;
}

.wall-repair-site-address,
.wall-repair-notes-input {
  width: 100%;
  max-width: 32rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #cfe3fb;
  border-radius: 6px;
  font-size: 0.95rem;
}

.wall-repair-notes-input {
  min-height: 5rem;
  resize: vertical;
}

.option-list--checkboxes label {
  align-items: flex-start;
}

.inquiry-summary-panel__breakdown dd.is-multiline {
  white-space: pre-line;
}

.wall-replace-site-address {
  width: 100%;
  max-width: 32rem;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #cfe3fb;
  border-radius: 6px;
  font-size: 0.95rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wall-install-site-section {
  margin-top: 0.5rem;
}

.wall-install-site-section .sheet-only-fieldset:last-of-type {
  margin-bottom: 0;
}

.wall-install-site-section .consult-guidance {
  margin-top: 1rem;
}

.install-detail-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #cfe3fb;
}

.transport-distance-field {
  margin-top: 1rem;
}

.transport-distance-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #444;
}

.estimate-panel__total-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin: 1rem 0 0.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid #cfe3fb;
}

.sheet-examples {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8eef4;
}

.sheet-examples__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.5rem;
}

.sheet-examples__intro {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.sheet-examples__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  max-width: 560px;
}

.sheet-examples__figure {
  margin: 0;
}

.sheet-examples__photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  border: 1px solid #dbe4ef;
}

.sheet-examples__caption {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
}

.option-list input {
  margin-top: 0.2rem;
}

#install-option,
#transport-distance {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9d9ea;
  border-radius: 8px;
  font-size: 1rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form__textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c9d9ea;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form textarea,
.contact-form__textarea {
  min-height: 90px;
  resize: vertical;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .sign-estimate-intro h1 {
    font-size: 2rem;
  }

  .step-section {
    padding: 1.5rem;
  }
}

@media (max-width: 767px) {
  .action-buttons {
    flex-direction: column;
  }

  .sheet-examples__list {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-line {
    width: 100%;
  }
}

/* 自立看板（施工例選択型）専用 */

.standing-sign-options {
  margin-top: 1rem;
}

.standing-sign-options__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
}

.standing-type-list,
.standing-example-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.standing-type-list.has-selection {
  align-items: start;
}

.standing-example-list.has-selection {
  align-items: start;
}

.standing-type-card,
.standing-example-card {
  display: block;
  width: 100%;
  border: 2px solid #c9d9ea;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    box-shadow 0.2s,
    transform 0.25s ease,
    opacity 0.25s ease;
  transform-origin: center top;
}

.standing-type-card:hover,
.standing-example-card:hover {
  border-color: #7ec1ff;
  background: #f8fbff;
}

.standing-type-card.is-active,
.standing-example-card.is-active {
  border-color: dodgerblue;
  background: #eef6ff;
  box-shadow: 0 2px 10px rgba(30, 144, 255, 0.15);
}

.standing-type-list.has-selection .standing-type-card.is-muted {
  transform: scale(0.88);
  opacity: 0.62;
}

.standing-type-list.has-selection .standing-type-card.is-muted:hover {
  opacity: 0.82;
  transform: scale(0.9);
  border-color: #9ec9f5;
}

.standing-example-list.has-selection .standing-example-card.is-muted {
  transform: scale(0.88);
  opacity: 0.62;
}

.standing-example-list.has-selection .standing-example-card.is-muted:hover {
  opacity: 0.82;
  transform: scale(0.9);
  border-color: #9ec9f5;
}

.standing-type-card__selected-label,
.standing-example-card__selected-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: dodgerblue;
  margin-bottom: 0.3rem;
}

#standing-example-title {
  scroll-margin-top: 140px;
}

.standing-type-card--dual-photo .standing-type-card__photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.standing-type-card--dual-photo .standing-type-card__photo {
  aspect-ratio: 4 / 3;
}

.a-stand-options {
  margin-top: 1rem;
}

.sleeve-sign-options {
  margin-top: 1rem;
}

.sleeve-wizard-section {
  margin-top: 1rem;
}

.sleeve-wizard-step + .sleeve-wizard-step {
  margin-top: 1.25rem;
}

.sleeve-size-confirm {
  margin-top: 0.75rem;
  font-weight: 700;
  color: #1a5276;
}

.sleeve-other-input {
  margin-top: 0.75rem;
}

.sleeve-other-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.sleeve-other-input input[type="text"] {
  width: 100%;
  max-width: 480px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.a-stand-form-section {
  margin-top: 1rem;
}

.a-stand-summary {
  margin: 0;
}

.a-stand-summary dt {
  font-weight: 700;
  margin-top: 0.75rem;
}

.a-stand-summary dt:first-child {
  margin-top: 0;
}

.a-stand-summary dd {
  margin: 0.25rem 0 0;
}

.inquiry-summary-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.wall-new-install-inquiry-panel {
  margin-top: 1.25rem;
}

.inquiry-summary-panel__title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.inquiry-summary-panel__breakdown {
  margin-bottom: 0.75rem;
}

.inquiry-summary-panel__note {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.standing-type-card--text .standing-type-card__body {
  padding-top: 1rem;
}

.banner-options,
.magnet-options {
  margin-top: 1rem;
}

.magnet-options .size-form {
  margin-bottom: 1rem;
}

#magnet-calculator-section {
  scroll-margin-top: 120px;
}

.banner-options .size-form {
  margin-bottom: 1rem;
}

#banner-calculator-section {
  scroll-margin-top: 120px;
}

.standing-type-card__photo,
.standing-example-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.standing-example-card__photo {
  aspect-ratio: 3 / 2;
}

.standing-type-card__body,
.standing-example-card__body {
  display: block;
  padding: 0.85rem 0.9rem 1rem;
}

.standing-type-card__name,
.standing-example-card__name {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}

.standing-type-card__note,
.standing-example-card__meta {
  display: block;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
}

.standing-example-card__price {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.standing-example-detail {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8fbff;
  border: 1px solid #cfe3fb;
  border-radius: 10px;
  scroll-margin-top: 120px;
}

.standing-example-detail__figure {
  margin: 0 0 1rem;
}

.standing-example-detail__photo {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  display: block;
}

.standing-example-detail__name {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: #1a1a1a;
}

.standing-example-detail__price {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.standing-example-detail__meta,
.standing-example-detail__specs dl {
  margin: 0;
}

.standing-example-detail__meta > div,
.standing-example-detail__specs dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid #e3edf8;
}

.standing-example-detail__meta dt,
.standing-example-detail__specs dt {
  font-weight: 700;
  color: #444;
}

.standing-example-detail__meta dd,
.standing-example-detail__specs dd {
  margin: 0;
  color: #333;
}

.standing-example-detail__specs {
  margin-top: 1rem;
}

.standing-example-detail__specs-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #333;
}

.standing-example-detail__description {
  margin-top: 1rem;
  color: #444;
  line-height: 1.7;
}

.standing-example-detail__notes {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #cfe3fb;
}

.standing-example-detail__notes h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #333;
}

.standing-example-detail__notes p {
  margin: 0 0 1rem;
  color: #555;
  line-height: 1.7;
}

.standing-example-detail__cta {
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .standing-type-list,
  .standing-example-list {
    grid-template-columns: 1fr;
  }

  .standing-type-list.has-selection .standing-type-card.is-muted {
    transform: scale(0.92);
    opacity: 0.65;
  }

  .standing-example-list.has-selection .standing-example-card.is-muted {
    transform: scale(0.92);
    opacity: 0.65;
  }

  #standing-example-title {
    scroll-margin-top: 100px;
  }

  .standing-example-detail {
    scroll-margin-top: 80px;
  }

  .standing-example-detail__meta > div,
  .standing-example-detail__specs dl > div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .standing-example-detail__cta {
    width: 100%;
  }
}

/* 袖看板「新しく作りたい」シルエット比較カード */
.sleeve-silhouette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.sleeve-silhouette-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0;
  border: 2px solid #dbe4ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sleeve-silhouette-card:hover {
  border-color: #8aa8c4;
}

.sleeve-silhouette-card.is-selected {
  border-color: #2f6fad;
  box-shadow: 0 0 0 1px #2f6fad;
}

.sleeve-silhouette-card__visual {
  padding: 0.75rem 0.75rem 0.25rem;
  background: #f4f7fa;
  border-radius: 6px 6px 0 0;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.sleeve-silhouette-card__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* 袖看板「新しく作りたい」横幅・高さ（W450）イメージ（写真） */
.sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__visual,
.sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__visual {
  padding: 0;
  min-height: 0;
  background: #e8eef3;
  align-items: stretch;
  justify-content: stretch;
}

.sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__image,
.sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__body {
  padding: 0.5rem 0.55rem 0.65rem;
}

.sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__title {
  font-size: 0.92rem;
}

.sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__ref {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4a5a6a;
}

@media (max-width: 960px) {
  .sleeve-silhouette-grid--width-photo,
  .sleeve-silhouette-grid--height-photo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__desc {
    display: none;
  }

  .sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__body,
  .sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__body {
    padding: 0.5rem 0.55rem 0.6rem;
  }

  .sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__title,
  .sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__title {
    font-size: 0.88rem;
  }

  .sleeve-silhouette-grid--width-photo .sleeve-silhouette-card__ref,
  .sleeve-silhouette-grid--height-photo .sleeve-silhouette-card__ref {
    font-size: 0.75rem;
  }

  .sleeve-silhouette-grid--width-photo .sleeve-silhouette-card[data-option-id="consult"] .sleeve-silhouette-card__body,
  .sleeve-silhouette-grid--height-photo .sleeve-silhouette-card[data-option-id="consult"] .sleeve-silhouette-card__body {
    flex: 1;
    justify-content: center;
    text-align: center;
    min-height: 4.5rem;
    padding: 0.65rem 0.45rem;
  }
}

.sleeve-silhouette-scene {
  width: 100%;
  max-width: 140px;
  margin: 0 auto;
}

.sleeve-silhouette-building {
  position: relative;
  width: 100%;
  height: 88px;
}

.sleeve-silhouette-building__roof {
  position: absolute;
  top: 0;
  left: 18%;
  right: 8%;
  height: 14px;
  background: #7a8a9a;
  border-radius: 2px 2px 0 0;
}

.sleeve-silhouette-building__wall {
  position: absolute;
  top: 12px;
  left: 20%;
  right: 10%;
  bottom: 0;
  background: #c8d4de;
  border-radius: 0 2px 0 0;
}

.sleeve-silhouette-building__door {
  position: absolute;
  bottom: 0;
  left: 42%;
  width: 18%;
  height: 28px;
  background: #9aabbb;
  border-radius: 2px 2px 0 0;
}

.sleeve-silhouette-sign {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: calc(var(--sign-w, 75%) * 0.55);
  max-width: 72%;
  height: var(--sign-h, 55%);
  min-height: 18px;
  max-height: 78%;
  background: #2f6fad;
  border-radius: 2px;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
}

.sleeve-silhouette-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem 0.75rem;
}

.sleeve-silhouette-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sleeve-silhouette-card__desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #4a5a6a;
}

.sleeve-silhouette-card__ref {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #6a7a8a;
}

@media (max-width: 768px) {
  .sleeve-silhouette-grid {
    grid-template-columns: 1fr;
  }

  .sleeve-silhouette-grid--width-photo,
  .sleeve-silhouette-grid--height-photo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sleeve-silhouette-scene {
    max-width: 180px;
  }

  .sleeve-silhouette-building {
    height: 100px;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .sleeve-silhouette-grid {
    grid-template-columns: 1fr;
  }

  .sleeve-silhouette-grid--width-photo,
  .sleeve-silhouette-grid--height-photo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 袖看板「表示面を交換したい」本体症状選択 */
.sleeve-replace-body-concern-list label {
  font-size: 0.9rem;
}

.sleeve-replace-body-concern-list .option-list__main {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
}

.sleeve-replace-body-concern-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0 0.75rem;
}

.sleeve-replace-body-concern-divider::before,
.sleeve-replace-body-concern-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dbe4ef;
}

.sleeve-replace-body-concern-divider span {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #666;
}

.sleeve-replace-body-concern-list--exclusive input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1rem;
  height: 1rem;
  min-width: 1rem;
  margin-top: 0.2rem;
  border: 1px solid #767676;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-grid;
  place-content: center;
}

.sleeve-replace-body-concern-list--exclusive input[type="radio"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.1s ease-in-out;
  background-color: dodgerblue;
}

.sleeve-replace-body-concern-list--exclusive input[type="radio"]:checked {
  border-color: dodgerblue;
}

.sleeve-replace-body-concern-list--exclusive input[type="radio"]:checked::before {
  transform: scale(1);
}

/* 袖看板「修理・改修したい」「撤去したい」試作：質問グループ間の余白 */
.sleeve-repair-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.sleeve-removal-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step {
  margin-top: 1.85rem;
}

.sleeve-repair-wizard-steps > .window-replace-wizard-step > legend,
.sleeve-removal-wizard-steps > .window-replace-wizard-step > legend {
  margin-bottom: 0.35rem;
}

.sleeve-repair-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field,
.sleeve-removal-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field {
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
}

.a-stand-new-install-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.a-stand-replace-face-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.a-stand-repair-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.vehicle-sign-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step,
.banner-inquiry-wizard-steps > .window-replace-wizard-step + .window-replace-wizard-step {
  margin-top: 1.85rem;
}

.a-stand-new-install-wizard-steps > .window-replace-wizard-step > legend,
.a-stand-replace-face-wizard-steps > .window-replace-wizard-step > legend,
.a-stand-repair-wizard-steps > .window-replace-wizard-step > legend,
.vehicle-sign-wizard-steps > .window-replace-wizard-step > legend,
.banner-inquiry-wizard-steps > .window-replace-wizard-step > legend {
  margin-bottom: 0.35rem;
}

.a-stand-new-install-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field,
.a-stand-replace-face-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field,
.a-stand-repair-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field,
.vehicle-sign-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field,
.banner-inquiry-wizard-steps > .window-replace-wizard-step > .canvas-hint--before-field {
  margin-top: 0.4rem;
  margin-bottom: 0.75rem;
}

.a-stand-silhouette-scene {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10%;
  height: 100%;
  min-height: 88px;
  padding: 10px 12px 6px;
}

.a-stand-silhouette-board {
  position: relative;
  width: calc(34% * var(--board-scale, 0.85));
  height: calc(62% * var(--board-scale, 0.85));
  min-width: 28px;
  min-height: 36px;
  background: linear-gradient(135deg, #2f6fad 0%, #2f6fad 49%, #ffffff 49%, #ffffff 51%, #2f6fad 51%);
  border-radius: 2px;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  transform: perspective(120px) rotateY(-8deg);
}

.a-stand-silhouette-board::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18%;
  width: 2px;
  height: 22%;
  background: #6a7a8a;
  transform: translateX(-50%);
}

.a-stand-silhouette-person {
  display: block;
  width: 16%;
  height: 52%;
  min-width: 14px;
  min-height: 40px;
  background: #9aabbb;
  border-radius: 45% 45% 0 0;
}

/* DEBUG: LINE送信内容プレビュー（開発確認用・不要になったら削除） */
.line-message-preview-panel {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff8e6;
  border: 1px dashed #d4a017;
  border-radius: 8px;
}

.line-message-preview-panel__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.line-message-preview-panel__text {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0.75rem;
  border: 1px solid #dbe4ef;
  border-radius: 6px;
  background: #fff;
  resize: vertical;
  white-space: pre-wrap;
}
