:root {
  --card: #ffffff;
  --text: #1e293b;
  --muted: #212122;
  --line: #dbe3ef;
  --primary: #444444;
  --accent: #12a594;
  --danger: #b42318;
  --shadow: 0 18px 45px rgba(15, 76, 129, 0.12);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-size: 22px;
  font-family: "BIZ UD Gothic", "BIZ UDPGothic", "Yu Gothic", "Meiryo", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: linear-gradient(to right,#005b94,#0083cc)
}
a { color: var(--primary); font-weight: 700; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(18, 165, 148, .35);
  outline-offset: 2px;
}
.site-header {
  padding: 28px 24px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.brand { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.eyebrow { margin: 0 0 4px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
h1 { margin: 0; font-size: 24px; }
.container { max-width: 1040px; margin: 34px auto; padding: 0 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); margin-bottom: 28px; }
.lead { color: var(--muted); line-height: 1.7; }
.grid { display: flex; flex-direction: column;}
.grid.three {width: 100%; max-width: 180px; display: flex; flex-direction: column;}
label { display: block; font-weight: 700; margin-bottom: 12px;}
input, select {
  width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #cbd5e1; border-radius: 12px;
  font-size: 16px; background: #fff; color: var(--text);
}
input:focus, select:focus { border-color: var(--accent); }
small { display: block; margin-top: 6px; color: var(--muted); font-weight: 400; line-height: 1.6; }
.img_logo {height: 80px; width: auto;}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent {display: inline-flex; flex-direction: column;gap: 10px; margin-top: 18px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 16px; background: #f8fafc;font-size: 17px;}
.consent a {color: #005bac;}
.consent p {margin: 0; line-height: 1.1; margin-top: 1em;}
.check { display: flex; gap: 12px; align-items: center; margin: 0; }
.check input { width: 20px; height: 20px; margin: 0; flex: 0 0 auto; }
.error-box { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fff1f0; border: 1px solid #ffccc7; color: var(--danger); line-height: 1.7; }
.actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px;}
.actions.center { justify-content: center; }
button { border: 0; border-radius: 9999px; padding: 13px 24px; font-size: 16px; font-weight: 700; cursor: pointer;}
.primary { background: var(--primary); color: #fff; }
.primary:hover {opacity: 0.8;}
.primary[disabled] { background: #94a3b8; cursor: not-allowed; }
.secondary { background: #e8eef6; color: #24435f; }
.secondary:hover {opacity:0.8;}
.confirm-list { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.confirm-list dt, .confirm-list dd { margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.confirm-list dt { background: #f8fafc; color: var(--muted); font-weight: 700; }
.confirm-list dd { word-break: break-word; }
.confirm-list dt:last-of-type, .confirm-list dd:last-of-type { border-bottom: 0; }
.complete { text-align: center; }
.complete-icon { width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: #15803d; display: grid; place-items: center; font-size: 42px; margin: 0 auto 18px; }
.site-footer { text-align: center; padding: 28px; color: white; }
/*inputbox長さ調整*/
.storeCategory {width: 180px; display:block;}
.storeName {width: 100%; max-width: 600px; display: block;}
.storeAddress {width: 100%; max-width: 600px; display: block;}
.store-actions {justify-content: flex-start;}
#businessName {width: 100%; max-width: 600px; display: block;}
#contactEmail {width: 100%; max-width: 600px; display: block;}
.storePhone {width: 250px; display: block;}
.complete-message {
  max-width: 720px;
  margin: 6px auto;
  text-align: left;
  font-size: 17px;
}
/*住所変換対応*/
.storePostalCode {width: 250px; display: block;}
.storePrefecture {width: 100%; max-width: 600px; display: block;}
.storeCity {width: 100%; max-width: 600px; display: block;}
.postal-code-row {display: flex; align-items: flex-end; gap: 10px;}
.get-address-btn {white-space: nowrap; margin-top: 8px;}

/* 住所候補 */
.address-candidates {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
}

.address-candidates::before {
  content: "住所候補を選択してください";
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 16px;
}

.address-candidate-btn {
  display: block;
  width: 100%;
  margin: 6px 0;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.address-candidate-btn:hover {
  opacity: 0.8;
}
/*住所変換対応*/

@media print {
  .site-header, .site-footer, .actions { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
@media (max-width: 760px) {
  .grid, .grid.three { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  h1 { font-size: 20px; }
  .confirm-list { grid-template-columns: 1fr; }
  .confirm-list dt { border-bottom: 0; padding-bottom: 4px; }
  .confirm-list dd { padding-top: 4px; }
  .actions { flex-direction: column-reverse; flex-shrink: 0;}
  button { width: 100%; }
  .check {display: flex; align-items: center; gap: 12px;}
  .check input[type="checkbox"] {margin-top: 0px; flex-shrink: 0; width: 20px; height: 20px;}
  .check span {line-height: 1.4;}
  .postal-code-row {flex-direction: column; align-items: stretch;}
  .get-address-btn {width: 100%;}
}
