:root {
  font-family: 'Segoe UI', 'Yu Gothic UI', Meiryo, sans-serif;
  color: #26362c;
  background: #f7f8f4;
  font-synthesis: none;
  line-height: 1.65;
  --green: #42694b;
  --line: #dce3d7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  max-width: 760px;
  margin: auto;
  padding: 32px 20px 64px;
}
h1 {
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.4;
  margin: 10px 0 22px;
}
h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
p {
  margin: 12px 0;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
}
.muted,
small {
  color: #65705f;
  font-size: 13px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  margin: 22px 0;
}
.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.row > * {
  min-width: 0;
}
.spread {
  justify-content: space-between;
}
label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin: 14px 0 7px;
}
input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #bfcab7;
  border-radius: 8px;
  padding: 10px;
  max-width: 100%;
}
input[type='time'] {
  width: 135px;
}
select,
textarea {
  width: 100%;
}
textarea {
  min-height: 76px;
  resize: vertical;
}
button {
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 11px 17px;
  background: var(--green);
  color: white;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}
button.secondary {
  background: #edf2e8;
  color: #38583f;
  border-color: #dce5d4;
}
button.danger {
  background: #fff;
  color: #a03b2b;
  border-color: #ead2ca;
}
button:disabled {
  opacity: 0.48;
  cursor: default;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #88ab78;
  outline-offset: 2px;
}
.calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
}
.calendar .weekday {
  text-align: center;
  font-weight: 600;
  font-size: 12px;
}
.calendar button {
  font-size: 12px;
  min-height: 83px;
  padding: 7px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #fafbf8;
  color: #394535;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.calendar button strong {
  font-size: 15px;
}
.calendar button.available {
  background: #eaf2e4;
}
.calendar button.prefer-off {
  background: #fff1d9;
}
.calendar button.unavailable {
  background: #f0f1ee;
  color: #6b7167;
}
.calendar button[aria-pressed='true'] {
  border: 2px solid #42694b;
  box-shadow: 0 0 0 2px #d4e4c9;
}
.calendar button .badge {
  font-size: 10px;
}
.notice {
  padding: 14px 16px;
  border-radius: 10px;
  background: #e8f0e1;
  margin: 16px 0;
}
.error {
  background: #fff0ec;
  color: #9b3726;
  overflow-wrap: anywhere;
}
.success {
  background: #e8f0e1;
  color: #385b3a;
}
.review {
  list-style: none;
  padding: 0;
}
.review li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.full {
  width: 100%;
  margin-top: 16px;
}
.window-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
}
.window-row button {
  padding: 8px;
  font-size: 12px;
}
.window-row select {
  width: 90px;
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.selection {
  font-weight: 700;
  color: var(--green);
}
.note {
  font-size: 12px;
  font-weight: 400;
}
.footer {
  font-size: 12px;
  color: #6b7465;
  margin-top: 26px;
}
.privacy-notice p {
  font-size: 13px;
}
.privacy-notice a {
  color: #365e3d;
  text-decoration: underline;
}
.privacy-confirmation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.privacy-confirmation input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  margin-top: 2px;
  accent-color: #42694b;
}
@media (max-width: 480px) {
  main {
    padding: 23px 12px 45px;
  }
  .card {
    padding: 16px 12px;
  }
  .calendar {
    gap: 4px;
  }
  .calendar button {
    min-height: 77px;
  }
  .calendar button .badge {
    font-size: 9px;
  }
  input[type='time'] {
    width: 108px;
    padding: 8px;
  }
  .window-row {
    gap: 4px;
  }
  .window-row select {
    width: 78px;
    padding: 8px;
  }
  .window-row button {
    padding: 8px 5px;
  }
  .row button {
    padding: 10px 12px;
  }
}
