/* 家づくり希望リスト専用CSS。既存サイトとの競合を避けるため hwl- 接頭辞を使用 */
.hwl-tool{font-size:16px;line-height:1.7;color:#222}.hwl-tool *{box-sizing:border-box}.hwl-intro h1{font-size:28px;line-height:1.4;margin:0 0 14px}.hwl-intro p{margin:0 0 14px}.hwl-privacy{background:#f6f7f8;border-left:4px solid #4d695f;padding:12px 14px;margin:14px 0 18px}.hwl-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.hwl-actions-top{margin:0 0 14px}.hwl-actions-bottom{margin:22px 0 8px}.hwl-btn{appearance:none;border:1px solid #555;background:#fff;color:#222;border-radius:4px;padding:9px 14px;min-height:42px;font:inherit;font-weight:600;cursor:pointer}.hwl-btn:hover{background:#f0f0f0}.hwl-btn-primary{background:#2f574b;color:#fff;border-color:#2f574b}.hwl-btn-primary:hover{background:#24463c}.hwl-btn-danger{border-color:#9b4040;color:#8c3030}.hwl-message{display:none;margin:10px 0;padding:10px 12px;background:#f3f6f4;border:1px solid #ccd9d3;border-radius:4px}.hwl-message.is-show{display:block}.hwl-section{border-top:1px solid #d8d8d8;padding:22px 0 6px}.hwl-section h2{font-size:20px;margin:0 0 14px;padding:0 0 7px;border-bottom:2px solid #4d695f}.hwl-help{font-size:14px;color:#555;margin:-4px 0 14px}.hwl-grid{display:grid;gap:12px}.hwl-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.hwl-span-2{grid-column:1/-1}.hwl-field{display:block;min-width:0;margin:0 0 12px}.hwl-field>span:first-child{display:block;font-weight:700;margin-bottom:4px}.hwl-field input[type=text],.hwl-field input[type=number],.hwl-field select,.hwl-field textarea,.hwl-priority-row select{width:100%;font:inherit;font-size:16px;border:1px solid #aaa;border-radius:4px;background:#fff;color:#222;padding:8px 9px;min-height:42px}.hwl-field textarea{resize:vertical;min-height:92px}.hwl-unit{display:flex;gap:6px;align-items:center;white-space:nowrap}.hwl-unit input{min-width:0}.hwl-priority-list{border:1px solid #ddd;border-radius:4px;overflow:hidden}.hwl-priority-row{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:10px;align-items:center;padding:8px 10px;border-bottom:1px solid #e5e5e5}.hwl-priority-row:last-child{border-bottom:0}.hwl-priority-row>span{font-weight:600}.hwl-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px}.hwl-check-grid label{display:flex;gap:7px;align-items:flex-start;border:1px solid #e2e2e2;border-radius:4px;padding:9px 10px}.hwl-check-grid input{margin-top:5px}.hwl-mt{margin-top:14px}.hwl-preview-wrap{margin-top:25px;border-top:3px solid #333;padding-top:18px}.hwl-preview-head{margin-bottom:14px}.hwl-preview-head h2{margin:0 0 6px;font-size:22px}.hwl-preview-head p{margin:0 0 10px}.hwl-print-area{background:#fff;color:#111;border:1px solid #ccc;padding:12mm 10mm;font-family:-apple-system,BlinkMacSystemFont,"Yu Gothic",YuGothic,"Hiragino Kaku Gothic ProN",Meiryo,sans-serif;font-size:12px;line-height:1.45}.hwl-print-title{text-align:center;border-bottom:2px solid #222;padding-bottom:5px;margin:0 0 8px;font-size:21px}.hwl-print-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid #777;margin-bottom:8px}.hwl-print-meta div{padding:4px 6px;border-right:1px solid #aaa;border-bottom:1px solid #aaa}.hwl-print-meta div:nth-child(2n){border-right:0}.hwl-print-meta div:nth-last-child(-n+2){border-bottom:0}.hwl-print-section{margin:0 0 7px;break-inside:avoid}.hwl-print-section h2{font-size:13px;background:#efefef;border-left:4px solid #444;padding:3px 6px;margin:0 0 4px}.hwl-print-table{width:100%;border-collapse:collapse;table-layout:fixed}.hwl-print-table th,.hwl-print-table td{border:1px solid #aaa;padding:3px 5px;text-align:left;vertical-align:top;word-break:break-word}.hwl-print-table th{width:29%;background:#f7f7f7}.hwl-print-list{margin:2px 0 0;padding-left:19px}.hwl-print-list li{margin:0 0 1px}.hwl-priority-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hwl-priority-box{border:1px solid #aaa;padding:4px 6px}.hwl-priority-box strong{display:block;border-bottom:1px solid #ddd;margin-bottom:2px}.hwl-print-note{font-size:10px;color:#555;text-align:right;margin-top:5px}.hwl-empty-note{color:#666;font-style:italic}

@media(max-width:720px){.hwl-tool{font-size:15px}.hwl-intro h1{font-size:23px}.hwl-grid-2,.hwl-check-grid{grid-template-columns:1fr}.hwl-span-2{grid-column:auto}.hwl-priority-row{grid-template-columns:minmax(0,1fr) 138px}.hwl-btn{flex:1 1 calc(50% - 8px)}.hwl-print-area{padding:7mm 5mm}.hwl-priority-summary{grid-template-columns:1fr}.hwl-print-meta{grid-template-columns:1fr}.hwl-print-meta div,.hwl-print-meta div:nth-child(2n){border-right:0;border-bottom:1px solid #aaa}.hwl-print-meta div:last-child{border-bottom:0}}

@page{size:A4 portrait;margin:7mm}
@media print{
  body{background:#fff!important;margin:0!important;padding:0!important}
  body>*{visibility:hidden!important}
  #hwl-preview-wrap,#hwl-preview-wrap *{visibility:visible!important}
  #hwl-preview-wrap{display:block!important;position:absolute!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:0!important;border:0!important}
  .no-print{display:none!important}
  .hwl-print-area{border:0!important;padding:0!important;margin:0!important;width:100%!important;font-size:9.5pt!important;line-height:1.35!important}
  .hwl-print-title{font-size:16pt!important;margin-bottom:4mm!important}
  .hwl-print-section{margin-bottom:2.5mm!important;break-inside:avoid;page-break-inside:avoid}
  .hwl-print-section h2{font-size:10.5pt!important;padding:1.2mm 1.8mm!important;margin-bottom:1.2mm!important}
  .hwl-print-table th,.hwl-print-table td{padding:1.2mm 1.5mm!important}
  .hwl-print-meta{margin-bottom:2.5mm!important}
  .hwl-print-meta div{padding:1.2mm 1.5mm!important}
  .hwl-priority-box{padding:1.2mm 1.5mm!important}
  .hwl-print-note{font-size:8pt!important}
}

/* ステップ入力・復元機能 */
.hwl-mode-box{border:1px solid #d4dcd8;background:#f8faf9;padding:12px 14px;margin:0 0 14px;border-radius:5px}.hwl-mode-title{font-weight:700;margin-bottom:7px}.hwl-mode-buttons{display:flex;gap:8px;flex-wrap:wrap}.hwl-mode-btn{appearance:none;border:1px solid #7a8b84;background:#fff;color:#222;border-radius:4px;padding:9px 14px;min-height:42px;font:inherit;font-weight:700;cursor:pointer}.hwl-mode-btn.is-active{background:#2f574b;color:#fff;border-color:#2f574b}.hwl-mode-box p{font-size:13px;color:#555;margin:7px 0 0}.hwl-recovery{border:2px solid #8a6a2f;background:#fff9e9;padding:12px 14px;margin:0 0 14px;border-radius:5px}.hwl-recovery>span{display:block;font-size:13px;color:#665633;margin:2px 0 9px}.hwl-wizard-nav{border-top:1px solid #d8d8d8;margin-top:18px;padding-top:14px}.hwl-wizard-progress{margin-bottom:12px}.hwl-wizard-progress-text{display:flex;justify-content:space-between;gap:10px;font-weight:700;margin-bottom:5px}.hwl-wizard-progress-track{height:7px;background:#e6e8e7;border-radius:20px;overflow:hidden}.hwl-wizard-progress-track span{display:block;height:100%;width:10%;background:#2f574b;transition:width .2s ease}.hwl-wizard-buttons{display:flex;gap:8px;justify-content:space-between}.hwl-wizard-buttons .hwl-btn{min-width:110px}.hwl-tool.hwl-mode-wizard .hwl-section{display:none}.hwl-tool.hwl-mode-wizard .hwl-section.is-wizard-current{display:block}.hwl-tool.hwl-mode-wizard .hwl-actions-bottom{display:none}.hwl-tool.hwl-mode-list .hwl-wizard-nav{display:none}.hwl-interrupt-panel{border:2px solid #4d695f;background:#f5f8f6;padding:18px;margin:16px 0;border-radius:5px}.hwl-interrupt-panel h2{font-size:20px;margin:0 0 8px}.hwl-interrupt-panel p{margin:0 0 12px}.hwl-tool.is-interrupted #hwl-form,.hwl-tool.is-interrupted .hwl-actions-top,.hwl-tool.is-interrupted .hwl-mode-box{display:none}.hwl-tool.is-interrupted .hwl-interrupt-panel{display:block!important}
@media(max-width:720px){.hwl-mode-buttons .hwl-mode-btn{flex:1 1 calc(50% - 4px)}.hwl-wizard-buttons{display:grid;grid-template-columns:1fr 1fr}.hwl-wizard-buttons #hwl-interrupt-btn{grid-column:1/-1;grid-row:2}.hwl-wizard-buttons .hwl-btn{width:100%;min-width:0}.hwl-wizard-progress-text{font-size:14px}}



