:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --ink: #2f2f2c;
  --muted: #6f6c64;
  --olive: #6e7a62;
  --olive-deep: #4f5b48;
  --line: #d5cfc3;
  --line-soft: #e7e1d7;
  --warm: #eee5d2;
  --shadow: 0 12px 30px rgba(70, 64, 52, 0.07);
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 20px 22px, rgba(90,84,70,.035) 1px, transparent 1.35px), var(--bg);
  background-size: 28px 28px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(100% - 32px, 920px); margin: 0 auto; padding: 56px 0 36px; }
.site-header { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 7px; color: var(--olive); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 9px; font-size: clamp(30px, 5vw, 42px); letter-spacing: .04em; line-height: 1.2; }
h2 { margin-bottom: 0; font-size: 21px; letter-spacing: .03em; }
.intro { margin-bottom: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.demo-label { flex: none; margin-top: 3px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.focus-card { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; margin: 28px 0 40px; padding: 17px 18px; border: 1px solid #c8d0be; border-radius: 16px; background: #edf0e6; box-shadow: var(--shadow); }
.focus-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--olive); font-size: 22px; font-weight: 700; }
.focus-label { margin-bottom: 2px; color: var(--olive-deep); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.focus-copy { margin-bottom: 0; font-size: 15px; }
.focus-copy strong { font-size: 21px; }
.focus-button, .filter-notice button { border: 0; border-radius: 9px; background: var(--olive); color: var(--paper); font-size: 13px; font-weight: 800; }
.focus-button { padding: 11px 14px; }
.focus-button:hover, .focus-button:focus-visible { background: var(--olive-deep); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 16px; }
.result-count { margin-bottom: 2px; color: var(--muted); font-size: 13px; }
.filter-notice { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; padding: 10px 12px; border: 1px solid #d9d3c5; border-radius: 10px; background: var(--warm); color: #625b4d; font-size: 13px; font-weight: 700; }
.filter-notice[hidden] { display: none; }
.filter-notice button { padding: 6px 9px; background: transparent; color: var(--olive-deep); text-decoration: underline; }
.inquiry-list { display: grid; gap: 12px; }
.inquiry { display: grid; grid-template-columns: minmax(0, 1fr) 148px; gap: 20px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 5px 15px rgba(70,64,52,.035); }
.inquiry.is-callback { border: 2px solid var(--olive); background: linear-gradient(90deg, #f2f4ee, var(--paper) 36%); box-shadow: 0 8px 20px rgba(91,102,82,.12); }
.inquiry-top { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; }
.channel { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: #efeae0; color: var(--olive-deep); font-size: 11px; font-weight: 800; }
.time { color: var(--muted); font-size: 12px; }
.inquiry h3 { margin: 0 0 5px; font-size: 16px; letter-spacing: .02em; }
.summary { margin: 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.55; text-overflow: ellipsis; white-space: nowrap; }
.state-control { display: grid; gap: 7px; }
.state-control label { color: var(--muted); font-size: 11px; font-weight: 700; }
select { width: 100%; padding: 9px 27px 9px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: var(--paper); font-size: 13px; font-weight: 800; }
.is-callback select { border-color: var(--olive); color: var(--olive-deep); background: #f6f8f2; }
footer { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.65; }
button:focus-visible, select:focus-visible { outline: 3px solid rgba(110,122,98,.34); outline-offset: 2px; }

@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 920px); padding-top: 30px; }
  .site-header { flex-direction: column; gap: 12px; padding-bottom: 22px; }
  .intro { font-size: 13px; }
  .demo-label { margin-top: 0; padding: 6px 8px; font-size: 10px; }
  .focus-card { grid-template-columns: 36px 1fr; gap: 10px; margin: 20px 0 30px; padding: 14px; }
  .focus-icon { width: 34px; height: 34px; font-size: 19px; }
  .focus-copy { font-size: 13px; }
  .focus-copy strong { font-size: 18px; }
  .focus-button { grid-column: 1 / -1; padding: 10px; }
  .inquiry { grid-template-columns: 1fr; gap: 14px; padding: 15px; }
  .state-control { grid-template-columns: auto 1fr; align-items: center; }
  .state-control label { white-space: nowrap; }
  .summary { white-space: normal; }
}
